function1Temperature Class Reference

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...

Inheritance diagram for function1Temperature:
Collaboration diagram for function1Temperature:

Public Member Functions

 TypeName ("function1")
 Runtime type information. More...
 
 function1Temperature (const dictionary &dict)
 Construct from a dictionary and an interface. More...
 
virtual ~function1Temperature ()
 Destructor. More...
 
virtual tmp< volScalarField::InternalTsat (const volScalarField::Internal &p) const
 Saturation temperature for volScalarField::Internal. More...
 
virtual tmp< volScalarFieldTsat (const volScalarField &p) const
 Saturation temperature for volScalarField. More...
 
- Public Member Functions inherited from saturationTemperatureModel
 TypeName ("saturationTemperatureModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, saturationTemperatureModel, dictionary,(const dictionary &dict),(dict))
 Declare runtime construction. More...
 
 saturationTemperatureModel ()
 Default construct. More...
 
virtual ~saturationTemperatureModel ()
 Destructor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from saturationTemperatureModel
static autoPtr< saturationTemperatureModelNew (const dictionary &dict)
 Select with dictionary. More...
 
static autoPtr< saturationTemperatureModelNew (const word &name, const dictionary &dict)
 Select with name within a dictionary. More...
 

Detailed Description

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.

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 table;
    functionCoeffs
    {
        file                "filename.csv";
        format              csv;
        nHeaderLine         1;
        refColumn           0;
        componentColumns    (1);
        separator           ",";
        mergeSeparators     no;
        outOfBounds         clamp;
        interpolationScheme linear;
    };
Source files

Definition at line 88 of file function1Temperature.H.

Constructor & Destructor Documentation

◆ function1Temperature()

function1Temperature ( const dictionary dict)

Construct from a dictionary and an interface.

Definition at line 48 of file function1Temperature.C.

◆ ~function1Temperature()

~function1Temperature ( )
virtual

Destructor.

Definition at line 60 of file function1Temperature.C.

Member Function Documentation

◆ TypeName()

TypeName ( "function1"  )

Runtime type information.

◆ Tsat() [1/2]

Saturation temperature for volScalarField::Internal.

Implements saturationTemperatureModel.

Definition at line 67 of file function1Temperature.C.

References Foam::dimTemperature, DimensionedField< Type, GeoMesh >::field(), DimensionedField< Type, GeoMesh >::New(), p, and tmp< T >::ref().

Here is the call graph for this function:

◆ Tsat() [2/2]


The documentation for this class was generated from the following files: