Saturation vapour temperature in terms of the vapour pressure (in Pa). The saturation temperature in Kelvins is specified as a Foam::Function1 type, to enable use of, e.g. constant, polynomial, table values. More...
Public Member Functions | |
TypeName ("function1") | |
Runtime type information. More... | |
function1 (const dictionary &dict) | |
Construct from a dictionary. More... | |
virtual | ~function1 () |
Destructor. More... | |
virtual tmp< volScalarField > | pSat (const volScalarField &T) const |
Saturation pressure. More... | |
virtual tmp< volScalarField > | pSatPrime (const volScalarField &T) const |
Saturation pressure derivetive w.r.t. temperature. More... | |
virtual tmp< volScalarField > | lnPSat (const volScalarField &T) const |
Natural log of the saturation pressure. More... | |
virtual tmp< volScalarField > | Tsat (const volScalarField &p) const |
Saturation temperature. More... | |
![]() | |
TypeName ("saturationModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, saturationModel, dictionary,(const dictionary &dict),(dict)) | |
Declare runtime construction. More... | |
saturationModel () | |
Construct null. More... | |
virtual | ~saturationModel () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< saturationModel > | New (const dictionary &dict) |
Select null constructed. More... | |
Saturation vapour temperature in terms of the vapour pressure (in Pa). The saturation temperature in Kelvins is specified as a Foam::Function1 type, to enable use of, e.g. constant, polynomial, table values.
Currently this class only provides , the inverse function to return the vapour pressure for a given temperature are not implemented.
Examples:
type function1; function polynomial ( (308.0422 0) (0.0015096 1) (-1.61589e-8 2) (1.114106e-13 3) (-4.52216e-19 4) (1.05192e-24 5) (-1.2953e-30 6) (6.5365e-37 7) )
type function1; function csvFile; functionCoeffs { nHeaderLine 1; refColumn 0; componentColumns (1); separator ","; mergeSeparators no; file "filename.csv"; outOfBounds clamp; interpolationScheme linear; };
Definition at line 91 of file function1.H.
function1 | ( | const dictionary & | dict | ) |
Construct from a dictionary.
|
virtual |
Destructor.
TypeName | ( | "function1" | ) |
Runtime type information.
|
virtual |
Saturation pressure.
Implements saturationModel.
|
virtual |
Saturation pressure derivetive w.r.t. temperature.
Implements saturationModel.
|
virtual |
Natural log of the saturation pressure.
Implements saturationModel.
|
virtual |
Saturation temperature.
Implements saturationModel.