33 namespace saturationModels
48 Function1<scalar>::
New(
"function", dict)
100 tmp<volScalarField> tTsat
107 p.mesh().time().timeName(),
121 Tsat[celli] = function_->value(p[celli]);
124 volScalarField::Boundary& TsatBf = Tsat.boundaryFieldRef();
133 Tsatp[facei] = function_->value(pp[facei]);
function1(const dictionary &dict)
Construct from a dictionary.
#define forAll(list, i)
Loop across all elements in list.
virtual tmp< volScalarField > pSatPrime(const volScalarField &T) const
Saturation pressure derivetive w.r.t. temperature.
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.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
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.