function1Pressure Class Reference

Saturation vapour pressure in terms of temperature in Kelvins. The saturation pressure in Pa is specified as a Foam::Function1 type, to enable use of, e.g. constant, polynomial, table values. More...

Inheritance diagram for function1Pressure:
Collaboration diagram for function1Pressure:

Public Member Functions

 TypeName ("function1")
 Runtime type information. More...
 
 function1Pressure (const dictionary &dict)
 Construct from a dictionary and an interface. More...
 
virtual ~function1Pressure ()
 Destructor. More...
 
virtual tmp< scalarFieldpSat (const scalarField &T) const
 Saturation pressure for scalarField. More...
 
virtual tmp< scalarFieldpSatPrime (const scalarField &T) const
 Saturation pressure derivative w.r.t. temperature for scalarField. More...
 
virtual tmp< scalarFieldlnPSat (const scalarField &T) const
 Natural log of the saturation pressure for scalarField. More...
 
- Public Member Functions inherited from saturationPressureModel
 TypeName ("saturationPressureModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, saturationPressureModel, dictionary,(const dictionary &dict),(dict))
 Declare runtime construction from dictionary. More...
 
 declareRunTimeSelectionTable (autoPtr, saturationPressureModel,,(),())
 Declare runtime default construction. More...
 
 saturationPressureModel ()
 Default construct. More...
 
virtual ~saturationPressureModel ()
 Destructor. More...
 
virtual tmp< volScalarField::InternalpSat (const volScalarField::Internal &T) const
 Saturation pressure for volScalarField::Internal. More...
 
virtual tmp< volScalarField::InternalpSatPrime (const volScalarField::Internal &T) const
 
virtual tmp< volScalarField::InternallnPSat (const volScalarField::Internal &T) const
 
virtual tmp< volScalarFieldpSat (const volScalarField &T) const
 Saturation pressure for volScalarField. More...
 
virtual tmp< volScalarFieldpSatPrime (const volScalarField &T) const
 
virtual tmp< volScalarFieldlnPSat (const volScalarField &T) const
 
template<class FieldType >
Foam::tmp< FieldType > pSat (const FieldType &T) const
 
template<class FieldType >
Foam::tmp< FieldType > pSatPrime (const FieldType &T) const
 
template<class FieldType >
Foam::tmp< FieldType > lnPSat (const FieldType &T) const
 

Additional Inherited Members

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

Detailed Description

Saturation vapour pressure in terms of temperature in Kelvins. The saturation pressure in Pa is specified as a Foam::Function1 type, to enable use of, e.g. constant, polynomial, table values.

Examples:

    type function1;
    function
    {
        type                table;
        file                "filename.csv";
        format              csv;
        nHeaderLine         1;
        columns             (0 1);
        separator           ",";
        mergeSeparators     no;
        outOfBounds         clamp;
        interpolationScheme linear;
    }
Source files

Definition at line 71 of file function1Pressure.H.

Constructor & Destructor Documentation

◆ function1Pressure()

function1Pressure ( const dictionary dict)

Construct from a dictionary and an interface.

Definition at line 48 of file function1Pressure.C.

◆ ~function1Pressure()

~function1Pressure ( )
virtual

Destructor.

Definition at line 63 of file function1Pressure.C.

Member Function Documentation

◆ TypeName()

TypeName ( "function1"  )

Runtime type information.

◆ pSat()

Foam::tmp< Foam::scalarField > pSat ( const scalarField T) const
virtual

Saturation pressure for scalarField.

Implements saturationPressureModel.

Definition at line 70 of file function1Pressure.C.

References Foam::T().

Here is the call graph for this function:

◆ pSatPrime()

Foam::tmp< Foam::scalarField > pSatPrime ( const scalarField T) const
virtual

Saturation pressure derivative w.r.t. temperature for scalarField.

Implements saturationPressureModel.

Definition at line 80 of file function1Pressure.C.

References Foam::T().

Here is the call graph for this function:

◆ lnPSat()

Foam::tmp< Foam::scalarField > lnPSat ( const scalarField T) const
virtual

Natural log of the saturation pressure for scalarField.

Implements saturationPressureModel.

Definition at line 96 of file function1Pressure.C.

References Foam::log(), and Foam::T().

Here is the call graph for this function:

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