46 this->Tu().boundaryField();
52 if (isA<fixedValueFvPatchScalarField>(tbf[
patchi]))
54 hbt[
patchi] = fixedUnburntEnthalpyFvPatchScalarField::typeName;
58 isA<zeroGradientFvPatchScalarField>(tbf[patchi])
59 || isA<fixedGradientFvPatchScalarField>(tbf[patchi])
62 hbt[
patchi] = gradientUnburntEnthalpyFvPatchScalarField::typeName;
64 else if (isA<mixedFvPatchScalarField>(tbf[patchi]))
66 hbt[
patchi] = mixedUnburntEnthalpyFvPatchScalarField::typeName;
81 isA<gradientUnburntEnthalpyFvPatchScalarField>(hbf[
patchi])
84 refCast<gradientUnburntEnthalpyFvPatchScalarField>(hbf[
patchi])
85 .gradient() = hbf[
patchi].fvPatchField::snGrad();
89 isA<mixedUnburntEnthalpyFvPatchScalarField>(hbf[patchi])
92 refCast<mixedUnburntEnthalpyFvPatchScalarField>(hbf[
patchi])
93 .refGrad() = hbf[
patchi].fvPatchField::snGrad();
104 const word& phaseName
114 const word& phaseName
117 return basicThermo::New<psiuReactionThermo>(
mesh, phaseName);
#define forAll(list, i)
Loop across all elements in list.
wordList types() const
Return a list of the patch field types.
virtual ~psiuReactionThermo()
Destructor.
wordList heuBoundaryTypes()
Return the unburnt enthalpy/internal energy field boundary types.
A class for handling words, derived from string.
implementation(const fvMesh &, const word &phaseName)
Construct from mesh and phase name.
virtual ~implementation()
Destructor.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
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)
Standard selection based on fvMesh.