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... | |
function1Temperature (const dictionary &dict) | |
Construct from a dictionary and an interface. More... | |
virtual | ~function1Temperature () |
Destructor. More... | |
virtual tmp< volScalarField::Internal > | Tsat (const volScalarField::Internal &p) const |
Saturation temperature for volScalarField::Internal. More... | |
virtual tmp< volScalarField > | Tsat (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< saturationTemperatureModel > | New (const dictionary &dict) |
Select with dictionary. More... | |
static autoPtr< saturationTemperatureModel > | New (const word &name, const dictionary &dict) |
Select with name within a dictionary. 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.
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; columns (0 1); separator ","; mergeSeparators no; outOfBounds clamp; interpolationScheme linear; };
Definition at line 87 of file function1Temperature.H.
function1Temperature | ( | const dictionary & | dict | ) |
Construct from a dictionary and an interface.
Definition at line 48 of file function1Temperature.C.
|
virtual |
Destructor.
Definition at line 63 of file function1Temperature.C.
TypeName | ( | "function1" | ) |
Runtime type information.
|
virtual |
Saturation temperature for volScalarField::Internal.
Implements saturationTemperatureModel.
Definition at line 70 of file function1Temperature.C.
References Foam::dimTemperature, DimensionedField< Type, GeoMesh >::New(), p, DimensionedField< Type, GeoMesh >::primitiveFieldRef(), and tmp< T >::ref().
|
virtual |
Saturation temperature for volScalarField.
Implements saturationTemperatureModel.
Definition at line 94 of file function1Temperature.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), Foam::dimTemperature, forAll, GeometricField< Type, PatchField, GeoMesh >::New(), p, patchi, GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), and tmp< T >::ref().