pyvista.OpenFOAMReader

class OpenFOAMReader(filename)

OpenFOAM Reader for .foam files.

Methods

OpenFOAMReader.cell_array_status(name)

Get status of cell array with name.

OpenFOAMReader.disable_all_cell_arrays()

Disable all cell arrays.

OpenFOAMReader.disable_all_point_arrays()

Disable all point arrays.

OpenFOAMReader.disable_cell_array(name)

Disable cell array with name.

OpenFOAMReader.disable_point_array(name)

Disable point array with name.

OpenFOAMReader.enable_all_cell_arrays()

Enable all cell arrays.

OpenFOAMReader.enable_all_point_arrays()

Enable all point arrays.

OpenFOAMReader.enable_cell_array(name)

Enable cell array with name.

OpenFOAMReader.enable_point_array(name)

Enable point array with name.

OpenFOAMReader.point_array_status(name)

Get status of point array with name.

OpenFOAMReader.read()

Read data in file.

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

OpenFOAMReader.active_time_value

Active time or iteration value.

OpenFOAMReader.all_cell_arrays_status

Return the status of all cell arrays.

OpenFOAMReader.all_point_arrays_status

Return the status of all point arrays.

OpenFOAMReader.cell_array_names

Return the list of all cell array names.

OpenFOAMReader.number_cell_arrays

Return the number of cell arrays.

OpenFOAMReader.number_point_arrays

Return the number of point arrays.

OpenFOAMReader.number_time_points

Return number of time points or iterations available to read.

OpenFOAMReader.point_array_names

Return the list of all point array names.

OpenFOAMReader.reader

Return the vtk Reader object.

OpenFOAMReader.time_values

All time or iteration values.