dimensioned<Type>: Added support for reading the dimensions or units before or after the value

e.g. in physicalProperties

    viscosityModel  constant;

    nu              [0 2 -1 0 0 0 0] 1e-05;

or

    nu              [m^2/s] 1e-05;

or

    nu              1e-05 [0 2 -1 0 0 0 0];

or

    nu              1e-05 [m^2/s];
This commit is contained in:
Henry Weller
2024-03-16 11:54:38 +00:00
parent 7918e4d292
commit 209a375683
3 changed files with 49 additions and 18 deletions

View File

@ -16,6 +16,6 @@ FoamFile
viscosityModel constant;
nu [0 2 -1 0 0 0 0] 1e-05;
nu 1e-05 [m^2/s];
// ************************************************************************* //