ibfoamrig.io.read_residuals#
- ibfoamrig.io.read_residuals(path)[source]#
Reads a residuals file written by the OpenFOAM residuals function object.
- Parameters:
path (StrPath) – Path to the
residuals.datfile.- Returns:
A frame with a
Timecolumn followed by one column per residual, all of typeFloat64.- Raises:
FileNotFoundError – If the file does not exist.
FoamParseError – If the header is missing, or a row is longer than the header or holds a value that is not a number.
- Return type: