47 const volScalarField::Boundary& tbf =
54 if (isA<fixedValueFvPatchScalarField>(tbf[
patchi]))
56 hbt[
patchi] = fixedUnburntEnthalpyFvPatchScalarField::typeName;
60 isA<zeroGradientFvPatchScalarField>(tbf[patchi])
61 || isA<fixedGradientFvPatchScalarField>(tbf[patchi])
64 hbt[
patchi] = gradientUnburntEnthalpyFvPatchScalarField::typeName;
66 else if (isA<mixedFvPatchScalarField>(tbf[patchi]))
68 hbt[
patchi] = mixedUnburntEnthalpyFvPatchScalarField::typeName;
83 isA<gradientUnburntEnthalpyFvPatchScalarField>(hbf[
patchi])
86 refCast<gradientUnburntEnthalpyFvPatchScalarField>(hbf[
patchi])
87 .gradient() = hbf[
patchi].fvPatchField::snGrad();
91 isA<mixedUnburntEnthalpyFvPatchScalarField>(hbf[patchi])
94 refCast<mixedUnburntEnthalpyFvPatchScalarField>(hbf[
patchi])
95 .refGrad() = hbf[
patchi].fvPatchField::snGrad();
106 const word& phaseName
118 const word& phaseName
121 return basicThermo::New<psiuReactionThermo>(
mesh, phaseName);
wordList heuBoundaryTypes()
#define forAll(list, i)
Loop across all elements in list.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
virtual ~psiuReactionThermo()
Destructor.
virtual const volScalarField & Tu() const =0
Unburnt gas temperature [K].
psiReactionThermo(const fvMesh &, const word &phaseName)
Construct from mesh and phase name.
psiuReactionThermo(const fvMesh &, const word &phaseName)
Construct from mesh and phase name.
A class for handling words, derived from string.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
virtual volScalarField & heu()=0
Unburnt gas enthalpy [J/kg].
void heuBoundaryCorrection(volScalarField &heu)
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
Mesh data needed to do the Finite Volume discretisation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< psiuReactionThermo > New(const fvMesh &, const word &phaseName=word::null)