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
115 const word& phaseName
118 return basicThermo::New<psiuMulticomponentThermo>(mesh, phaseName);
#define forAll(list, i)
Loop across all elements in list.
Generic GeometricBoundaryField class.
wordList types() const
Return a list of the patch field types.
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh data needed to do the Finite Volume discretisation.
implementation(const fvMesh &, const word &phaseName)
Construct from mesh and phase name.
virtual ~implementation()
Destructor.
Base-class for combustion fluid thermodynamic properties based on compressibility.
void heuBoundaryCorrection(volScalarField &heu)
...
wordList heuBoundaryTypes()
Return the unburnt enthalpy/internal energy field boundary types.
virtual ~psiuMulticomponentThermo()
Destructor.
virtual const volScalarField & Tu() const =0
Unburnt gas temperature [K].
static autoPtr< psiuMulticomponentThermo > New(const fvMesh &, const word &phaseName=word::null)
Standard selection based on fvMesh.
A class for handling words, derived from string.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)