pyvista.examples.downloads.download_nek5000#
- download_nek5000(load=True)[source]#
Download 2D nek5000 data example.
Added in version 0.45.0.
- Parameters:
- loadbool,
optional
Load the dataset after downloading it when
True
. Set this toFalse
and only the filename will be returned. True requires vtk >= 9.3.
- loadbool,
- Returns:
pyvista.UnstructuredGrid
|str
DataSet or filename depending on
load
.
Examples
>>> from pyvista import examples >>> dataset = examples.download_nek5000() >>> dataset.plot(scalars='Velocity', cpos='xy')
See also
- Nek5000 Dataset
See this dataset in the Dataset Gallery for more info.