Thanks for sharing this execellent library
foamlib is unable to parse fvExpressionField functionObject in the controlDict :
test
{
type exprField;
libs (fieldFunctionObjects);
field pTotal;
expression "p + 0.5*(rho*magSqr(U))";
dimensions [ Pa ]; // this is the line that causes the error
}
It prints the following error message:
pyparsing.exceptions.ParseException: Expected end of text, found '{' (at char 1241), (line:58, col:1)
details:
https://www.openfoam.com/documentation/guides/latest/api/classFoam_1_1functionObjects_1_1fvExpressionField.html
Thanks for sharing this execellent library
foamlib is unable to parse fvExpressionField functionObject in the controlDict :
It prints the following error message:
pyparsing.exceptions.ParseException: Expected end of text, found '{' (at char 1241), (line:58, col:1)
details:
https://www.openfoam.com/documentation/guides/latest/api/classFoam_1_1functionObjects_1_1fvExpressionField.html