pyvista.examples.downloads.download_nek5000

pyvista.examples.downloads.download_nek5000#

download_nek5000(load=True)[ソース]#

Download 2D nek5000 data example.

Added in version 0.45.0.

パラメータ:
loadbool, optional

Load the dataset after downloading it when True. Set this to False and only the filename will be returned. True requires vtk >= 9.3.

戻り値:
pyvista.UnstructuredGrid | str

load に応じて,データセットまたはファイル名を指定します.

>>> from pyvista import examples
>>> dataset = examples.download_nek5000()
>>> dataset.plot(scalars='Velocity', cpos='xy')
../../../_images/pyvista-examples-downloads-download_nek5000-1_00_00.png

参考

Nek5000 Dataset

詳細はデータセットギャラリーのこのデータセットをご覧ください。