42alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
43alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
50 vaporPhaseName_(
"vapor"),
59alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
60alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
68 vaporPhaseName_(
dict.get<
word>(
"vaporPhase")),
69 relax_(
dict.getOrDefault<scalar>(
"relax", 1)),
70 fixedDmdt_(
dict.getOrDefault<scalar>(
"fixedDmdt", 0)),
71 L_(
dict.getOrDefault<scalar>(
"L", 0))
75alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
76alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
91 vaporPhaseName_(psf.vaporPhaseName_),
93 fixedDmdt_(psf.fixedDmdt_),
98alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
99alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
105 vaporPhaseName_(psf.vaporPhaseName_),
107 fixedDmdt_(psf.fixedDmdt_),
112alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
113alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
120 vaporPhaseName_(psf.vaporPhaseName_),
122 fixedDmdt_(psf.fixedDmdt_),
150 <<
" dmdt requested for invalid phasePair!"
166 <<
" mDotL requested for invalid phasePair!"
180 dmdt_ *= (scalar(1) - relax_);
181 dmdt_ += relax_*fixedDmdt_;
187 fixedValueFvPatchScalarField::updateCoeffs();
202 writeEntry(
"value",
os);
Macros for easy insertion into run-time selection tables.
tmp< volScalarField > dmdt() const
Return the blended mass transfer rate.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
A simple alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField with a fixed volumetric phase-cha...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual bool activePhasePair(const phasePairKey &) const
Is there phase change mass transfer for this phasePair.
This boundary condition provides a thermal wall function for turbulent thermal diffusivity (usuallyal...
tmp< scalarField > calcAlphat(const scalarField &prevAlphat) const
Update turbulent thermal diffusivity.
void checkType()
Check the type of the patch.
scalarField dmdt_
Rate of phase-change.
scalarField mDotL_
Latent heat of the phase-change.
virtual const scalarField & mDotL() const
Return the enthalpy source due to phase-change.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
An ordered or unorder pair of phase names. Typically specified as follows.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
errorManip< error > abort(error &err)