43 mixedFvPatchScalarField(
p, iF)
47 valueFraction() = 0.0;
60 mixedFvPatchScalarField(ptf,
p, iF, mapper)
72 mixedFvPatchScalarField(
p, iF,
dict)
82 mixedFvPatchScalarField(tppsf)
93 mixedFvPatchScalarField(tppsf, iF)
106 const psiuReactionThermo&
thermo = db().lookupObject<psiuReactionThermo>
111 const label patchi =
patch().index();
114 mixedFvPatchScalarField& Tw = refCast<mixedFvPatchScalarField>
121 valueFraction() = Tw.valueFraction();
122 refValue() =
thermo.heu(pw, Tw.refValue(), patchi);
123 refGrad() =
thermo.
Cp(pw, Tw, patchi)*Tw.refGrad()
124 +
patch().deltaCoeffs()*
126 thermo.heu(pw, Tw, patchi)
130 mixedFvPatchScalarField::updateCoeffs();
141 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
Mixed boundary condition for unburnt.
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)