Foam::saturationModels Namespace Reference

Namespace containing common functionality for saturationPressureModel and saturationTemperatureModel. More...

Classes

class  Antoine
 Antoine equation for the vapour pressure. More...
 
class  AntoineExtended
 Extended Antoine equation for the vapour pressure. More...
 
class  ArdenBuck
 ArdenBuck equation for the vapour pressure of moist air. More...
 
class  constantPressure
 Constant saturation pressure model. More...
 
class  constantTemperature
 Constant saturation temperature model. More...
 
class  function1Temperature
 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...
 
class  polynomialTemperature
 Polynomial equation for the saturation vapour temperature in terms of the vapour pressure (in Pa). More...
 
struct  coefficient
 Structure to store a dimensioned coefficient of the saturation model. More...
 

Functions

 defineTypeNameAndDebug (Antoine, 0)
 
 addToRunTimeSelectionTable (saturationPressureModel, Antoine, dictionary)
 
 addToRunTimeSelectionTable (saturationTemperatureModel, Antoine, dictionary)
 
 defineTypeNameAndDebug (AntoineExtended, 0)
 
 addToRunTimeSelectionTable (saturationPressureModel, AntoineExtended, dictionary)
 
 defineTypeNameAndDebug (ArdenBuck, 0)
 
 addToRunTimeSelectionTable (saturationPressureModel, ArdenBuck, dictionary)
 
 defineTypeNameAndDebug (constantPressure, 0)
 
 addToRunTimeSelectionTable (saturationPressureModel, constantPressure, dictionary)
 
static const dimensionedScalar zeroPbyT (dimPressure/dimTemperature, 0)
 
 defineTypeNameAndDebug (constantTemperature, 0)
 
 addToRunTimeSelectionTable (saturationTemperatureModel, constantTemperature, dictionary)
 
static const dimensionedScalar zeroTbyP (dimTemperature/dimPressure, 0)
 
 defineTypeNameAndDebug (function1Temperature, 0)
 
 addToRunTimeSelectionTable (saturationTemperatureModel, function1Temperature, dictionary)
 
 defineTypeNameAndDebug (polynomialTemperature, 0)
 
 addToRunTimeSelectionTable (saturationTemperatureModel, polynomialTemperature, dictionary)
 
tmp< scalarFieldevaluate (const scalarField &argument, const word &name, const dimensionedScalar &value)
 Construct a scalar field from a uniform value. More...
 
template<class FieldType >
tmp< FieldType > evaluate (const FieldType &argument, const word &name, const dimensionedScalar &value)
 Construct a volScalarField::Internal or a volScalarField field from a. More...
 
template<class Model >
tmp< volScalarField::Internalevaluate (const volScalarField::Internal &p, const word &name, const dimensionSet &dimensions, const Model &model, tmp< scalarField >(Model::*method)(const scalarField &) const)
 Use a model's scalarField method to construct a volScalarField::Internal. More...
 
template<class Model >
tmp< volScalarFieldevaluate (const volScalarField &p, const word &name, const dimensionSet &dimensions, const Model &model, tmp< scalarField >(Model::*method)(const scalarField &) const)
 Use a model's scalarField method to construct a volScalarField. More...
 

Variables

static const coefficient oneP (dimPressure, 1)
 
static const coefficient oneT (dimTemperature, 1)
 
static const coefficient zeroC ("zeroC", dimTemperature, 273.15)
 
static const coefficient A ("A", dimPressure, 611.21)
 
static const coefficient B ("B", dimless, 18.678)
 
static const coefficient C ("C", dimTemperature, 234.5)
 
static const coefficient D ("D", dimTemperature, 257.14)
 
static const dimensionedScalar oneP (dimPressure, 1)
 

Detailed Description

Namespace containing common functionality for saturationPressureModel and saturationTemperatureModel.

Function Documentation

◆ defineTypeNameAndDebug() [1/7]

Foam::saturationModels::defineTypeNameAndDebug ( Antoine  ,
 
)

◆ addToRunTimeSelectionTable() [1/8]

Foam::saturationModels::addToRunTimeSelectionTable ( saturationPressureModel  ,
Antoine  ,
dictionary   
)

◆ addToRunTimeSelectionTable() [2/8]

Foam::saturationModels::addToRunTimeSelectionTable ( saturationTemperatureModel  ,
Antoine  ,
dictionary   
)

◆ defineTypeNameAndDebug() [2/7]

Foam::saturationModels::defineTypeNameAndDebug ( AntoineExtended  ,
 
)

◆ addToRunTimeSelectionTable() [3/8]

Foam::saturationModels::addToRunTimeSelectionTable ( saturationPressureModel  ,
AntoineExtended  ,
dictionary   
)

◆ defineTypeNameAndDebug() [3/7]

Foam::saturationModels::defineTypeNameAndDebug ( ArdenBuck  ,
 
)

◆ addToRunTimeSelectionTable() [4/8]

Foam::saturationModels::addToRunTimeSelectionTable ( saturationPressureModel  ,
ArdenBuck  ,
dictionary   
)

◆ defineTypeNameAndDebug() [4/7]

Foam::saturationModels::defineTypeNameAndDebug ( constantPressure  ,
 
)

◆ addToRunTimeSelectionTable() [5/8]

Foam::saturationModels::addToRunTimeSelectionTable ( saturationPressureModel  ,
constantPressure  ,
dictionary   
)

◆ zeroPbyT()

static const dimensionedScalar Foam::saturationModels::zeroPbyT ( dimPressure dimTemperature,
 
)
static

Referenced by constantPressure::pSatPrime().

Here is the caller graph for this function:

◆ defineTypeNameAndDebug() [5/7]

Foam::saturationModels::defineTypeNameAndDebug ( constantTemperature  ,
 
)

◆ addToRunTimeSelectionTable() [6/8]

Foam::saturationModels::addToRunTimeSelectionTable ( saturationTemperatureModel  ,
constantTemperature  ,
dictionary   
)

◆ zeroTbyP()

static const dimensionedScalar Foam::saturationModels::zeroTbyP ( dimTemperature dimPressure,
 
)
static

Referenced by constantTemperature::TsatPrime().

Here is the caller graph for this function:

◆ defineTypeNameAndDebug() [6/7]

Foam::saturationModels::defineTypeNameAndDebug ( function1Temperature  ,
 
)

◆ addToRunTimeSelectionTable() [7/8]

Foam::saturationModels::addToRunTimeSelectionTable ( saturationTemperatureModel  ,
function1Temperature  ,
dictionary   
)

◆ defineTypeNameAndDebug() [7/7]

Foam::saturationModels::defineTypeNameAndDebug ( polynomialTemperature  ,
 
)

◆ addToRunTimeSelectionTable() [8/8]

Foam::saturationModels::addToRunTimeSelectionTable ( saturationTemperatureModel  ,
polynomialTemperature  ,
dictionary   
)

◆ evaluate() [1/4]

tmp<scalarField> Foam::saturationModels::evaluate ( const scalarField argument,
const word name,
const dimensionedScalar value 
)
inline

◆ evaluate() [2/4]

tmp<FieldType> Foam::saturationModels::evaluate ( const FieldType &  argument,
const word name,
const dimensionedScalar value 
)
inline

Construct a volScalarField::Internal or a volScalarField field from a.

uniform value

Definition at line 76 of file saturationModels.H.

References Foam::name(), and Foam::compressible::New().

Here is the call graph for this function:

◆ evaluate() [3/4]

tmp<volScalarField::Internal> Foam::saturationModels::evaluate ( const volScalarField::Internal p,
const word name,
const dimensionSet dimensions,
const Model &  model,
tmp< scalarField >(Model::*)(const scalarField &) const  method 
)
inline

Use a model's scalarField method to construct a volScalarField::Internal.

Definition at line 88 of file saturationModels.H.

References Foam::dimensions(), Foam::name(), DimensionedField< Type, GeoMesh, PrimitiveField >::New(), p, DimensionedField< Type, GeoMesh, PrimitiveField >::primitiveFieldRef(), and tmp< T >::ref().

Here is the call graph for this function:

◆ evaluate() [4/4]

tmp<volScalarField> Foam::saturationModels::evaluate ( const volScalarField p,
const word name,
const dimensionSet dimensions,
const Model &  model,
tmp< scalarField >(Model::*)(const scalarField &) const  method 
)
inline

Variable Documentation

◆ oneP [1/2]

◆ oneT

const coefficient oneT(dimTemperature, 1) ( dimTemperature  ,
 
)
static

Referenced by AntoineExtended::lnPSat().

◆ zeroC

const coefficient zeroC("zeroC", dimTemperature, 273.15) ( "zeroC"  ,
dimTemperature  ,
273.  15 
)
static

◆ A

const coefficient A("A", dimPressure, 611.21) ( "A"  ,
dimPressure  ,
611.  21 
)
static

Referenced by Barycentric< Cmpt >::a(), Barycentric2D< Cmpt >::a(), ISAT::add(), solidThermalEquilibrium::addSup(), Barycentric< Cmpt >::Barycentric(), Barycentric2D< Cmpt >::Barycentric2D(), PlessisMasliyahDragForce< CloudType >::calcCoupled(), COxidationHurtMitchell< CloudType >::calculate(), LiquidEvaporationBoil< CloudType >::calculate(), SyamlalOBrien::CdRe(), ODESystem::check(), chemPointISAT::checkSolution(), twoDPointCorrector::correctDisplacement(), twoDPointCorrector::correctPoints(), PengRobinsonGas< Specie >::Cp(), PengRobinsonGas< Specie >::CpMCv(), cyclicTransform::cyclicTransform(), Foam::diff(), eigendecomposition::eigendecomposition(), Foam::eigenVector(), binaryTree::insertNewLeaf(), twoPhaseMixture::interfaceFraction(), lduMatrix::lduMatrix(), ArdenBuck::lnPSat(), Saito::mDotcvAlphal(), Saito::mDotcvP(), Foam::tracking::movingTetReverseTransform(), Foam::multiply(), Foam::operator+(), lduMatrix::operator+=(), LduMatrix< Type, DType, LUType >::operator+=(), Foam::operator-(), lduMatrix::operator-=(), LduMatrix< Type, DType, LUType >::operator-=(), lduMatrix::operator=(), LduMatrix< Type, DType, LUType >::operator=(), BSpline::position(), CatmullRomSpline::position(), ArdenBuck::pSat(), ArdenBuck::pSatPrime(), EFA< ThermoType >::reduceMechanism(), PFA< ThermoType >::reduceMechanism(), ConeInjection< CloudType >::setProperties(), Foam::triIntersect::solveProjectionGivenT(), Foam::triIntersect::srcEdgeTgtEdgeIntersection(), Foam::triIntersect::srcEdgeTgtPointOffset(), Foam::triIntersect::srcPointTgtEdgeOffset(), Foam::triIntersect::srcPointTgtTriIntersection(), Foam::triIntersect::srcTriTgtPointIntersection(), Foam::tracking::stationaryTetReverseTransform(), SVD::SVD(), Foam::SVDinv(), Matrix< Form, Type >::T(), solitary::velocity(), and PengRobinsonGas< Specie >::Z().

◆ B

◆ C

◆ D

◆ oneP [2/2]

const dimensionedScalar oneP(dimPressure, 1) ( dimPressure  ,
 
)
static