FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

dimensionedConstants.H File Reference

Dictionary reading and supplying the dimensioned constants used within OpenFOAM particularly for thermodynamics. The values are read from the OpenFOAM controlDict and should be changed to run with a different set of units from the default SI units. More...


Detailed Description

Dictionary reading and supplying the dimensioned constants used within OpenFOAM particularly for thermodynamics. The values are read from the OpenFOAM 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.

#include "src/OpenFOAM/db/dictionary/dictionary.H"
Include dependency graph for dimensionedConstants.H:

Go to the source code of this file.

Namespaces

namespace  Foam
 

Namespace for OpenFOAM.


Functions

dictionary &  dimensionedConstants ()
 Dictionary with dimensioned constants.
template<class T >
T  dimensionedConstant (const char *switchName, const T defaultValue)
 Read a dimensioned constant from the OpenFOAM controlDict.