26 #include "function1.H" 33 namespace saturationModels
45 const dictionary&
dict,
46 const phaseInterface& interface
49 saturationModel(dict, interface),
50 function_(Function1<scalar>::
New(
"function", dict))
101 tmp<volScalarField> tTsat
115 Tsat[celli] = function_->value(p[celli]);
127 Tsatp[facei] = function_->value(pp[facei]);
#define forAll(list, i)
Loop across all elements in list.
virtual tmp< volScalarField > pSatPrime(const volScalarField &T) const
Saturation pressure derivative w.r.t. temperature.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
GeometricBoundaryField< scalar, fvPatchField, volMesh > Boundary
Type of the boundary field.
function1(const dictionary &dict, const phaseInterface &interface)
Construct from a dictionary and an interface.
virtual tmp< volScalarField > Tsat(const volScalarField &p) const
Saturation temperature.
Macros for easy insertion into run-time selection tables.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual ~function1()
Destructor.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual tmp< volScalarField > pSat(const volScalarField &T) const
Saturation pressure.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Internal & ref()
Return a reference to the dimensioned internal field.
static const GeometricField< scalar, fvPatchField, volMesh > & null()
Return a null geometric field.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual tmp< volScalarField > lnPSat(const volScalarField &T) const
Natural log of the saturation pressure.
const dimensionSet dimTemperature