download_cgns_structured#

download_cgns_structured(load=True)[source]#

Download the structured CGNS dataset mesh.

Originally downloaded from CFD General Notation System Example Files

Parameters
loadbool, optional

Load the dataset after downloading it when True. Set this to False and only the filename will be returned.

Returns
pyvista.MultiBlock or str

Structured, 12 block, 3-D constricting channel, with example use of Family_t for BCs (ADF type). If load is False, then the path of the example CGNS file is returned.

Examples

Plot the example CGNS dataset.

>>> from pyvista import examples
>>> import pyvista
>>> dataset = examples.download_cgns_structured()
>>> dataset[0].plot(scalars='Density')
../../../_images/pyvista-examples-downloads-download_cgns_structured-1_00_00.png