ibfoamrig.io#

Readers that turn OpenFOAM output files into arrays and polars frames.

Classes

Dimensions([mass, length, time, ...])

SI base-unit exponents of an OpenFOAM dimensions entry.

FoamField(header, dimensions, values, is_uniform)

The internal field of an OpenFOAM volume field.

FoamHeader(format, field_class, object[, ...])

Metadata from the FoamFile dictionary at the top of the file.

Functions

read_field(path)

Reads the internal field of an OpenFOAM field file.

read_residuals(path)

Reads a residuals file written by the OpenFOAM residuals function object.

read_stl(path)

Reads the triangles of an STL file.

read_table(path[, columns])

Read a comma-separated post-processing table.