Go to the documentation of this file.
50 vaporPhaseName_(
"vapor"),
69 relax_(
dict.getOrDefault<scalar>(
"relax", 1)),
70 fixedDmdt_(
dict.getOrDefault<scalar>(
"fixedDmdt", 0)),
71 L_(
dict.getOrDefault<scalar>(
"L", 0))
91 vaporPhaseName_(psf.vaporPhaseName_),
93 fixedDmdt_(psf.fixedDmdt_),
105 vaporPhaseName_(psf.vaporPhaseName_),
107 fixedDmdt_(psf.fixedDmdt_),
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();
197 os.writeEntry(
"vaporPhase", vaporPhaseName_);
198 os.writeEntry(
"relax", relax_);
199 os.writeEntry(
"fixedDmdt", fixedDmdt_);
200 os.writeEntry(
"L", L_);
202 writeEntry(
"value",
os);
211 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
tmp< scalarField > calcAlphat(const scalarField &prevAlphat) const
A simple alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField with a fixed volumetric phase-cha...
A class for handling words, derived from Foam::string.
virtual const scalarField & mDotL() const
constexpr const char *const group
This boundary condition provides a thermal wall function for turbulent thermal diffusivity (usuallyal...
virtual bool activePhasePair(const phasePairKey &) const
virtual void write(Ostream &) const
makePatchTypeField(fvPatchScalarField, alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField)
Generic templated field type.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
An ordered or unorder pair of phase names. Typically specified as follows.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
errorManip< error > abort(error &err)
virtual void updateCoeffs()
void writeEntry(const word &keyword, Ostream &os) const
#define FatalErrorInFunction
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Foam::fvPatchFieldMapper.
virtual const scalarField & dmdt() const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...