pyvista.read_exodus#
- read_exodus(
- filename: str | Path,
- animate_mode_shapes: bool = True,
- apply_displacements: bool = True,
- displacement_magnitude: float = 1.0,
- read_point_data: bool = True,
- read_cell_data: bool = True,
- enabled_sidesets: Iterable[str | int] | None = None,
Read an ExodusII file (
'.e'
or'.exo'
).- Parameters:
- filename
str
,Path
The path to the exodus file to read.
- animate_mode_shapesbool, default:
True
When
True
then this reader will report a continuous time range [0,1] and animate the displacements in a periodic sinusoid.- apply_displacementsbool, default:
True
Geometric locations can include displacements. When
True
, the nodal positions are ‘displaced’ by the standard exodus displacement vector. If displacements are turned off, the user can explicitly add them by applying a warp filter.- displacement_magnitude
float
, default: 1.0 This is a number between 0 and 1 that is used to scale the
DisplacementMagnitude
in a sinusoidal pattern.- read_point_databool, default:
True
Read in data associated with points.
- read_cell_databool, default:
True
Read in data associated with cells.
- enabled_sidesets
Iterable
[str
|int
],optional
The name of the array that store the mapping from side set cells back to the global id of the elements they bound.
- filename
- Returns:
pyvista.DataSet
Wrapped PyVista dataset.
Examples
>>> import pyvista as pv >>> data = pv.read_exodus('mymesh.exo')