saturationPressureModel.H File Reference
Include dependency graph for saturationPressureModel.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  saturationPressureModel
 Model to describe the dependence of saturation pressure on temperature, and vice versa. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define DEFINE_PSAT(FieldType, Modifier)
 
#define IMPLEMENT_PSAT(ModelType, FieldType)
 

Detailed Description

Original source file saturationPressureModel.H

Definition in file saturationPressureModel.H.

Macro Definition Documentation

◆ DEFINE_PSAT

#define DEFINE_PSAT (   FieldType,
  Modifier 
)
Value:
\
virtual tmp<FieldType> pSat(const FieldType& T) const Modifier; \
\
virtual tmp<FieldType> pSatPrime(const FieldType& T) const Modifier; \
\
virtual tmp<FieldType> lnPSat(const FieldType& T) const Modifier;
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)

Definition at line 45 of file saturationPressureModel.H.

◆ IMPLEMENT_PSAT

#define IMPLEMENT_PSAT (   ModelType,
  FieldType 
)
Value:
\
Foam::tmp<Foam::FieldType> \
Foam::saturationModels::ModelType::pSat(const FieldType& T) const \
{ \
return pSat<FieldType>(T); \
} \
\
Foam::tmp<Foam::FieldType> \
Foam::saturationModels::ModelType::pSatPrime(const FieldType& T) const \
{ \
return pSatPrime<FieldType>(T); \
} \
\
Foam::tmp<Foam::FieldType> \
Foam::saturationModels::ModelType::lnPSat(const FieldType& T) const \
{ \
return lnPSat<FieldType>(T); \
}

Definition at line 54 of file saturationPressureModel.H.