57 if (isA<fixedValueFvPatchScalarField>(tbf[
patchi]))
59 hbt[
patchi] = fixedUnburntEnthalpyFvPatchScalarField::typeName;
63 isA<zeroGradientFvPatchScalarField>(tbf[
patchi])
64 || isA<fixedGradientFvPatchScalarField>(tbf[
patchi])
67 hbt[
patchi] = gradientUnburntEnthalpyFvPatchScalarField::typeName;
69 else if (isA<mixedFvPatchScalarField>(tbf[
patchi]))
71 hbt[
patchi] = mixedUnburntEnthalpyFvPatchScalarField::typeName;
86 isA<gradientUnburntEnthalpyFvPatchScalarField>(hbf[
patchi])
89 refCast<gradientUnburntEnthalpyFvPatchScalarField>(hbf[
patchi])
90 .gradient() = hbf[
patchi].fvPatchField::snGrad();
94 isA<mixedUnburntEnthalpyFvPatchScalarField>(hbf[
patchi])
97 refCast<mixedUnburntEnthalpyFvPatchScalarField>(hbf[
patchi])
98 .refGrad() = hbf[
patchi].fvPatchField::snGrad();
111 const word& phaseName
114 species_(specieNames),
148 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.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static word groupName(Name name, const word &group)
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual const fvMesh & mesh() const =0
Return const access to the mesh.
virtual const word & phaseName() const =0
Phase name.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const word & name() const
Return const reference to name.
virtual const volScalarField & p() const =0
Pressure [Pa].
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
A wordList with hashed indices for faster lookup by name.
virtual const speciesTable & species() const
The table of species.
implementation(const dictionary &, const wordList &, const fvMesh &, const word &)
Construct from dictionary, specie names, mesh and phase name.
virtual ~implementation()
Destructor.
speciesTable species_
Table of specie names.
virtual PtrList< volScalarField > & Y()
Access the mass-fraction fields.
PtrList< volScalarField > Y_
Species mass fractions.
Base-class for combustion fluid thermodynamic properties based on compressibility.
tmp< volScalarField > rhob() const
Burnt gas density [kg/m^3].
static const word derivedThermoName
The derived name.
void heuBoundaryCorrection(volScalarField &heu)
...
wordList heuBoundaryTypes()
Return the unburnt enthalpy/internal energy field boundary types.
virtual ~psiuMulticomponentThermo()
Destructor.
virtual tmp< volScalarField > psib() const =0
Burnt gas compressibility [s^2/m^2].
virtual const volScalarField & Tu() const =0
Unburnt gas temperature [K].
virtual tmp< volScalarField > psiu() const =0
Unburnt gas compressibility [s^2/m^2].
tmp< volScalarField > rhou() const
Unburnt gas density [kg/m^3].
static autoPtr< psiuMulticomponentThermo > New(const fvMesh &, const word &phaseName=word::null)
Standard selection based on fvMesh.
A class for managing temporary objects.
A class for handling words, derived from string.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)