pyvista.EnSightReader#
- class EnSightReader(*args, **kwargs)[source]#
EnSight Reader for .case files.
Wraps vtkGenericEnSightReader.
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> from pathlib import Path >>> filename = examples.download_cylinder_crossflow(load=False) >>> Path(filename).name 'cylinder_Re35.case' >>> reader = pv.get_reader(filename) >>> mesh = reader.read() >>> mesh.plot( ... scalars='velocity', ... component=1, ... clim=[-20, 20], ... cpos='xy', ... cmap='RdBu', ... show_scalar_bar=False, ... )
Methods#
|
Set active time or iteration by index. |
|
Set the active time set by index. |
|
Set active time or iteration value. |
|
Value of time point or iteration by index. |
Attributes#
Return the index of the active time set of the reader. |
|
Active time or iteration value. |
|
Return number of time points or iterations available to read. |