47 valueFraction() = 0.0;
54 const this_bctype& ptf,
60 parent_bctype(ptf,
p, iF, mapper)
72 parent_bctype(
p, iF,
dict)
79 const this_bctype& ptf,
83 parent_bctype(ptf, iF)
96 const psiuReactionThermo&
thermo = db().lookupObject<psiuReactionThermo>
101 const label patchi =
patch().index();
104 auto& Tw = refCast<mixedFvPatchScalarField>
111 valueFraction() = Tw.valueFraction();
112 refValue() =
thermo.heu(pw, Tw.refValue(), patchi);
113 refGrad() =
thermo.
Cp(pw, Tw, patchi)*Tw.refGrad()
114 +
patch().deltaCoeffs()*
116 thermo.heu(pw, Tw, patchi)
120 this->parent_bctype::updateCoeffs();
131 mixedUnburntEnthalpyFvPatchScalarField
word dictName() const
The local dictionary name (final part of scoped name)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Macros for easy insertion into run-time selection tables.
virtual volScalarField & p()
Pressure [Pa].
psiReactionThermo & thermo
fvPatchField< scalar > fvPatchScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A FieldMapper for finite-volume patch fields.
virtual tmp< volScalarField > Cp() const =0
Heat capacity at constant pressure [J/kg/K].
mixedUnburntEnthalpyFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
static constexpr const zero Zero
Global zero (0)