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.
Wraps vtkOpenFOAMReader.
Used In#
Docstring Examples
BaseReader.hide_progress(1 use)BaseReader.show_progress(1 use)OpenFOAMReader.all_patch_arrays_status(1 use)OpenFOAMReader.cell_to_point_creation(1 use)OpenFOAMReader.disable_all_patch_arrays(1 use)7 more
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. |
Inherited Attributes#
Return the status of all cell arrays. |
|
Return the status of all point arrays. |
|
Return the list of all cell array names. |
|
Return mapping from regex pattern matching associated with this class. |
|
Return the file extensions associated with this class. |
|
Return the number of cell arrays. |
|
Return the number of point arrays. |
|
Return or set the filename or directory of the reader. |
|
Return the list of all point array names. |
|
Return the vtk Reader object. |
|
All time or iteration values. |
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. |
|
|
Set active time or iteration by index. |
|
Set active time or iteration value. |
|
Value of time point or iteration by index. |
Inherited Methods#
Get status of cell array with name. |
|
Disable all cell arrays. |
|
Disable all point arrays. |
|
Disable cell array with name. |
|
Disable point array with name. |
|
Enable all cell arrays. |
|
Enable all point arrays. |
|
Enable cell array with name. |
|
Enable point array with name. |
|
Hide the progress bar when loading the file. |
|
Get status of point array with name. |
|
Read data in file. |
|
Show a progress bar when loading the file. |