download_naca#

download_naca(load=True)[source]#

Download NACA airfoil dataset in EnSight format.

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

DataSet or filename depending on load.

Examples

Plot the density of the air surrounding the NACA airfoil using the "jet" color map.

>>> from pyvista import examples
>>> cpos = [
...     [-0.22,  0.  ,  2.52],
...     [ 0.43,  0.  ,  0.  ],
...     [ 0.  ,  1.  ,  0.  ]
... ]
>>> dataset = examples.download_naca()
>>> dataset.plot(cpos=cpos, cmap="jet")
../../../_images/pyvista-examples-downloads-download_naca-1_00_00.png

See Load data using a Reader for an example using this dataset.