Dictionary reading and supplying the dimensioned constants used within OpenFOAM, particularly for thermodynamics. More...


Go to the source code of this file.
Namespaces | |
| Foam | |
| Namespace for OpenFOAM. | |
Macros | |
| #define | defineDimensionedConstant(Group, Switch, Tag, Name) |
| Defined dimensioned constant , lookup as Name. More... | |
| #define | defineDimensionedConstantWithDefault(Group, Switch, DefaultExpr, Tag, Name) |
| Defined dimensioned constant with default , lookup as Name. More... | |
Functions | |
| dictionary & | dimensionedConstants () |
| dimensionedScalar | dimensionedConstant (const word &group, const word &varName) |
| template<class T > | |
| T | dimensionedConstant (const word &group, const word &varName, const T &defaultValue) |
Dictionary reading and supplying the dimensioned constants used within OpenFOAM, particularly for thermodynamics.
Original source file dimensionedConstants.H
The values are read from the OpenFOAM etc/controlDict and should be changed to run with a different set of units from the default SI units.
Definition in file dimensionedConstants.H.
| #define defineDimensionedConstant | ( | Group, | |
| Switch, | |||
| Tag, | |||
| Name | |||
| ) |
Defined dimensioned constant , lookup as Name.
Definition at line 93 of file dimensionedConstants.H.
| #define defineDimensionedConstantWithDefault | ( | Group, | |
| Switch, | |||
| DefaultExpr, | |||
| Tag, | |||
| Name | |||
| ) |
Defined dimensioned constant with default , lookup as Name.
Definition at line 140 of file dimensionedConstants.H.
1.8.11