download_naca#
- download_naca(load: bool = True) MultiBlock | str[source]#
Download NACA airfoil dataset in EnSight format.
- Parameters:
- Returns:
- output
pyvista.MultiBlock|str DataSet or filename depending on
load.
- output
Examples#
Download Python source code | Download Jupyter notebook
Plot the density of the air surrounding the NACA airfoil using the
"jet" color map.
>>> from pyvista import examples
>>> import pyvista as pv
>>> cpos = pv.CameraPosition(
... position=(-0.22, 0.0, 2.52),
... focal_point=(0.43, 0.0, 0.0),
... viewup=(0.0, 1.0, 0.0),
... )
>>> dataset = examples.download_naca()
>>> dataset.plot(cpos=cpos, cmap='jet')
See also
- Naca Dataset
See this dataset in the Dataset Gallery for more info.
- Load data using a Reader
Example using this dataset.