Go to the documentation of this file.
50 vaporPhaseName_(
"vapor"),
68 vaporPhaseName_(
dict.lookup(
"vaporPhase")),
69 relax_(
dict.getOrDefault<scalar>(
"relax", 1)),
70 fixedDmdt_(
dict.getOrDefault<scalar>(
"fixedDmdt", 0)),
71 L_(
dict.getOrDefault<scalar>(
"L", 0))
91 fixedDmdt_(psf.fixedDmdt_),
104 fixedDmdt_(psf.fixedDmdt_),
118 fixedDmdt_(psf.fixedDmdt_),
149 <<
" dmdt requested for invalid phasePair!"
167 <<
" mDotL requested for invalid phasePair!"
182 dmdt_ = (1 - relax_)*
dmdt_ + relax_*fixedDmdt_;
187 fixedValueFvPatchScalarField::updateCoeffs();
202 writeEntry(
"value", os);
virtual void write(Ostream &) const
Write.
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
Update turbulent thermal diffusivity.
A simple alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField with a fixed volumetric phase-cha...
virtual const scalarField & mDotL() const
Return the enthalpy source due to phase-change.
constexpr const char *const group
Group name for atomic constants.
This boundary condition provides a thermal wall function for turbulent thermal diffusivity (usuallyal...
virtual bool activePhasePair(const phasePairKey &) const
Is there phase change mass transfer for this phasePair.
scalarField dmdt_
Rate of phase-change.
virtual void write(Ostream &) const
Write.
makePatchTypeField(fvPatchScalarField, alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
errorManip< error > abort(error &err)
scalarField mDotL_
Latent heat of the phase-change.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Foam::fvPatchFieldMapper.
virtual const scalarField & dmdt() const
Return the rate of phase-change.
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...