34 namespace compressible
43 const DimensionedField<scalar, volMesh>& iF
46 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(p, iF),
47 vaporPhaseName_(
"vapor"),
54 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
55 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
58 const DimensionedField<scalar, volMesh>& iF,
59 const dictionary&
dict 62 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(p, iF, dict),
63 vaporPhaseName_(dict.
lookup(
"vaporPhase")),
64 relax_(dict.lookupOrDefault<scalar>(
"relax", 1.0)),
65 fixedDmdt_(dict.lookupOrDefault<scalar>(
"fixedDmdt", 0.0)),
66 L_(dict.lookupOrDefault<scalar>(
"L", 0.0))
70 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
71 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
73 const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField& psf,
75 const DimensionedField<scalar, volMesh>& iF,
76 const fvPatchFieldMapper& mapper
79 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField
86 fixedDmdt_(psf.fixedDmdt_),
91 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
92 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
94 const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField& psf
97 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(psf),
99 fixedDmdt_(psf.fixedDmdt_),
104 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
105 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
107 const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField& psf,
108 const DimensionedField<scalar, volMesh>& iF
111 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(psf, iF),
113 fixedDmdt_(psf.fixedDmdt_),
120 bool alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
121 activePhasePair(
const phasePairKey& phasePair)
const 134 const scalarField& alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
135 dmdt(
const phasePairKey& phasePair)
const 137 if (activePhasePair(phasePair))
144 <<
" dmdt requested for invalid phasePair!" 152 const scalarField& alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
153 mDotL(
const phasePairKey& phasePair)
const 155 if (activePhasePair(phasePair))
162 <<
" mDotL requested for invalid phasePair!" 170 void alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::updateCoeffs()
177 dmdt_ = (1 - relax_)*dmdt_ + relax_*fixedDmdt_;
182 fixedValueFvPatchScalarField::updateCoeffs();
192 writeEntry(os,
"vaporPhase", vaporPhaseName_);
206 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
void operator==(const tmp< GeometricField< Type, PatchField, GeoMesh >> &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)