pyvista.Nek5000Reader#
- class Nek5000Reader(*args, **kwargs)[ソース]#
Class for reading .nek5000 files produced by Nek5000 and NekRS.
Added in version 0.45.0.
This reader requires vtk version >=9.3.0.
例
>>> import pyvista as pv >>> from pyvista import examples >>> filename = examples.download_nek5000(load=False) >>> reader = pv.get_reader(filename) >>> mesh = reader.read() >>> mesh.plot(scalars='Velocity', cpos='xy')
メソッド
名前付きのセル配列の状態を返します.
すべてのポイント配列を無効にします.
名前付きのセル配列を無効にします.
Disable merging coincident GLL points from different spectral elements on read.
Disable spectral element IDs to be shown as cell data.
すべてのポイント配列を有効にします.
名前付きのセル配列を有効にします.
Enable merging coincident GLL points from different spectral elements on read.
Enable spectral element IDs to be shown as cell data.
Nek5000Reader.set_active_time_point
(time_point)アクティブ時間やイテレーションをインデックスで設定します.
Nek5000Reader.set_active_time_value
(time_value)アクティブ時刻またはイテレーション値を設定します.
Nek5000Reader.time_point_value
(time_point)インデックスによるタイムポイントまたはイテレーションの値.
アトリビュート
Active time point.
アクティブタイムまたはイテレーション値.
すべてのセル配列名のリストを返します.
セル配列の数を返します.
読み取り可能なタイムポイントまたはイタレーションの数を返します.
全タイムまたはイテレーション値.