34 namespace compressible
43 const DimensionedField<scalar, volMesh>& iF
46 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(p, iF),
47 vaporPhaseName_(
"vapor"),
56 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
57 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
60 const DimensionedField<scalar, volMesh>& iF,
61 const dictionary&
dict 64 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(p, iF, dict),
65 vaporPhaseName_(dict.
lookup(
"vaporPhase")),
66 relax_(dict.lookupOrDefault<scalar>(
"relax", 1.0)),
67 fixedDmdt_(dict.lookupOrDefault<scalar>(
"fixedDmdt", 0.0)),
68 L_(dict.lookupOrDefault<scalar>(
"L", 0.0))
72 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
73 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
75 const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField& psf,
77 const DimensionedField<scalar, volMesh>& iF,
78 const fvPatchFieldMapper& mapper
81 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField
88 fixedDmdt_(psf.fixedDmdt_),
93 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
94 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
96 const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField& psf
99 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(psf),
101 fixedDmdt_(psf.fixedDmdt_),
106 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
107 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
109 const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField& psf,
110 const DimensionedField<scalar, volMesh>& iF
113 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(psf, iF),
115 fixedDmdt_(psf.fixedDmdt_),
122 bool alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
123 activePhasePair(
const phasePairKey& phasePair)
const 136 const scalarField& alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
137 dmdt(
const phasePairKey& phasePair)
const 139 if (activePhasePair(phasePair))
146 <<
" dmdt requested for invalid phasePair!" 154 const scalarField& alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
155 mDotL(
const phasePairKey& phasePair)
const 157 if (activePhasePair(phasePair))
164 <<
" mDotL requested for invalid phasePair!" 172 void alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::updateCoeffs()
179 dmdt_ = (1 - relax_)*dmdt_ + relax_*fixedDmdt_;
184 fixedValueFvPatchScalarField::updateCoeffs();
199 dmdt_.writeEntry(
"dmdt", os);
209 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
word group() const
Return group (extension part of name)
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
const Internal & internalField() const
Return a const-reference to the dimensioned internal field.
stressControl lookup("compactNormalStress") >> compactNormalStress
fvPatchField< scalar > fvPatchScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
errorManip< error > abort(error &err)
alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
void operator==(const tmp< GeometricField< Type, PatchField, GeoMesh >> &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)