pyvista.OpenFOAMReader#
- class OpenFOAMReader(*args, **kwargs)[source]#
OpenFOAM Reader for .foam files.
By default, pyvista enables all patch arrays. This is a deviation from the vtk default.
Methods
Disable reading of all patch arrays.
Disable reading of patch array.
Enable reading of all patch arrays.
Enable reading of patch array.
Return status of reading patch array.
OpenFOAMReader.set_active_time_point
(time_point)Set active time or iteration by index.
OpenFOAMReader.set_active_time_value
(time_value)Set active time or iteration value.
OpenFOAMReader.time_point_value
(time_point)Value of time point or iteration by index.
Attributes
Active time or iteration value.
Status of reading all patch arrays.
Whether cell data is translated to point data when read.
Whether polyhedra are to be decomposed when read.
Return number of patch arrays in dataset.
Return number of time points or iterations available to read.
Names of patch arrays in a list.
Indicate whether or not to ignore the '/0' time directory.