pyvista.read_exodus#

read_exodus(
filename,
animate_mode_shapes=True,
apply_displacements=True,
displacement_magnitude=1.0,
read_point_data=True,
read_cell_data=True,
enabled_sidesets=None,
)[source]#

Read an ExodusII file ('.e' or '.exo').

Parameters:
filenamestr, 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_magnitudebool, 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_sidesetsstr | 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.

Returns:
pyvista.DataSet

Wrapped PyVista dataset.

Examples

>>> import pyvista as pv
>>> data = pv.read_exodus('mymesh.exo')