47 const volScalarField::GeometricBoundaryField& 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;
77 volScalarField::GeometricBoundaryField& hbf = heu.
boundaryField();
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);
Mesh data needed to do the Finite Volume discretisation.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
static autoPtr< psiuReactionThermo > New(const fvMesh &, const word &phaseName=word::null)
A class for handling words, derived from string.
virtual ~psiuReactionThermo()
Destructor.
void heuBoundaryCorrection(volScalarField &heu)
psiuReactionThermo(const fvMesh &, const word &phaseName)
Construct from mesh and phase name.
psiReactionThermo(const fvMesh &, const word &phaseName)
Construct from mesh and phase name.
wordList heuBoundaryTypes()
virtual const volScalarField & Tu() const =0
Unburnt gas temperature [K].
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
virtual volScalarField & heu()=0
Unburnt gas enthalpy [J/kg].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
defineTypeNameAndDebug(combustionModel, 0)