27 #include "phaseModel.H" 45 const dictionary&
dict,
46 const phaseInterface& interface
51 interface.modelCast<interfaceCompositionModel, sidedPhaseInterface>()
53 species_(dict.
lookup(
"species")),
55 thermo_(
refCast<const rhoReactionThermo>(interface_.phase().
thermo())),
56 otherThermo_(interface_.otherPhase().
thermo())
70 const word& speciesName,
82 const word& speciesName,
86 return YfPrime(speciesName, Tf);
92 const word& speciesName
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
fluidReactionThermo & thermo
tmp< volScalarField > D(const word &speciesName) const
Mass diffusivity.
virtual scalar kappa(const label speciei, const scalar p, const scalar T) const =0
Thermal conductivity [W/m/K].
To & refCast(From &r)
Reference type cast template function.
tmp< volScalarField > dYfPrime(const word &speciesName, const volScalarField &Tf) const
Mass fraction difference between the interface and the field.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
const dimensionSet dimless
virtual scalar rho(const label speciei, const scalar p, const scalar T) const =0
Density [kg/m^3].
virtual tmp< volScalarField > Yf(const word &speciesName, const volScalarField &Tf) const
The interface species fraction.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
stressControl lookup("compactNormalStress") >> compactNormalStress
virtual scalar Cp(const label speciei, const scalar p, const scalar T) const =0
Heat capacity at constant pressure [J/kg/K].
interfaceCompositionModel(const dictionary &dict, const phaseInterface &interface)
Construct from a dictionary and an interface.
static word groupName(Name name, const word &group)
virtual ~interfaceCompositionModel()
Destructor.
#define defineSidedInterfacialModelTypeNameAndDebug(ModelType, DebugSwitch)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const basicSpecieMixture & composition() const
Return the composition.
virtual tmp< volScalarField > YfPrime(const word &speciesName, const volScalarField &Tf) const
The interface species fraction derivative w.r.t. temperature.
A class for managing temporary objects.
PtrList< volScalarField > & Y()
Return the mass-fraction fields.
tmp< volScalarField > dY(const word &speciesName, const volScalarField &Tf) const
Mass fraction difference between the interface and the field.
const speciesTable & species() const
Return the table of species.