dimensionedConstants.H File Reference

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

Include dependency graph for dimensionedConstants.H:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

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.

Source files

Definition in file dimensionedConstants.H.

Macro Definition Documentation

◆ defineDimensionedConstant

#define defineDimensionedConstant (   Group,
  Switch,
  Tag,
  Name 
)

Defined dimensioned constant , lookup as Name.

Definition at line 93 of file dimensionedConstants.H.

◆ defineDimensionedConstantWithDefault

#define defineDimensionedConstantWithDefault (   Group,
  Switch,
  DefaultExpr,
  Tag,
  Name 
)

Defined dimensioned constant with default , lookup as Name.

Definition at line 140 of file dimensionedConstants.H.