43 const DimensionedField<scalar, volMesh>& iF
46 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(p, iF),
55 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
56 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
59 const DimensionedField<scalar, volMesh>& iF,
60 const dictionary&
dict 63 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(p, iF, dict),
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_),
103 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::
104 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
106 const alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField& psf,
107 const DimensionedField<scalar, volMesh>& iF
110 alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(psf, iF),
112 fixedDmdt_(psf.fixedDmdt_),
119 void alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField::updateCoeffs()
126 dmdt_ = (1 - relax_)*dmdt_ + relax_*fixedDmdt_;
131 fixedValueFvPatchScalarField::updateCoeffs();
141 os.writeKeyword(
"relax") << relax_ << token::END_STATEMENT <<
nl;
142 os.writeKeyword(
"fixedDmdt") << fixedDmdt_ << token::END_STATEMENT <<
nl;
143 os.writeKeyword(
"L") << L_ << token::END_STATEMENT <<
nl;
144 dmdt_.writeEntry(
"dmdt", os);
145 writeEntry(
"value", os);
154 alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Macros for easy insertion into run-time selection tables.
fvPatchField< scalar > fvPatchScalarField
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
alphatFixedDmdtWallBoilingWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.