52 XiEqCoef_(XiEqModelCoeffs_.lookup<scalar>(
"XiEqCoef")),
53 XiEqExp_(XiEqModelCoeffs_.lookup<scalar>(
"XiEqExp")),
54 lCoef_(XiEqModelCoeffs_.lookup<scalar>(
"lCoef")),
56 uPrimeCoef_(XiEqModelCoeffs_.lookup<scalar>(
"uPrimeCoef")),
59 readBool(XiEqModelCoeffs_.lookup(
"subGridSchelkin"))
64 .subDict(
"laminarFlameSpeed"),
66 .subDict(
"laminarFlameSpeed").subDict
69 .subDict(
"laminarFlameSpeed").lookup(
"fuel")
118 if (Ma[celli] > 0.01)
121 XiEqCoef_*
pow(
K[celli]*Ma[celli], -XiEqExp_)*upBySu[celli];
136 if (Ma[facei] > 0.01)
139 XiEqCoef_*
pow(Kp[facei]*
Map[facei], -XiEqExp_)
153 XiEqModelCoeffs_.lookup(
"XiEqCoef") >> XiEqCoef_;
154 XiEqModelCoeffs_.lookup(
"XiEqExp") >> XiEqExp_;
155 XiEqModelCoeffs_.lookup(
"lCoef") >> lCoef_;
156 XiEqModelCoeffs_.lookup(
"uPrimeCoef") >> uPrimeCoef_;
157 XiEqModelCoeffs_.lookup(
"subGridSchelkin") >> subGridSchelkin_;
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Generic GeometricBoundaryField class.
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Internal::FieldType & primitiveFieldRef()
Return a reference to the primitive field.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > New(const word &name, const Internal &, const PtrList< Patch > &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A HashTable to objects of type <T> with a label key.
Base class for equilibrium flame wrinkling XiEq models.
bool read(const dictionary &XiProperties)
Update properties from the given XiProperties dictionary.
Simple SCOPEXiEq model for XiEq based on SCOPEXiEqs correlation with a linear correction function to ...
virtual bool read(const dictionary &XiEqProperties)
Update properties from given dictionary.
virtual tmp< volScalarField > XiEq() const
Return the flame-wrinkling XiEq.
SCOPEXiEq(const dictionary &XiEqProperties, const psiuMulticomponentThermo &thermo, const compressible::RASModel &turbulence, const volScalarField &Su)
Construct from components.
virtual ~SCOPEXiEq()
Destructor.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Base-class for combustion fluid thermodynamic properties based on compressibility.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
defineTypeNameAndDebug(constant, 0)
addToRunTimeSelectionTable(XiEqModel, constant, dictionary)
RASModel< momentumTransportModel > RASModel
Typedefs for turbulence, RAS and LES models for compressible flow based on the standard laminar trans...
tmp< VolField< Type > > average(const SurfaceField< Type > &ssf)
Area-weighted average a surfaceField creating a volField.
tmp< VolField< Type > > Su(const VolField< Type > &su, const VolField< Type > &vf)
const dimensionSet dimless
void pow(LagrangianPatchField< typename powProduct< Type, r >::type > &f, const LagrangianPatchField< Type > &f1)
void sqrt(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
autoPtr< incompressible::momentumTransportModel > turbulence(incompressible::momentumTransportModel::New(U, phi, viscosity))
fluidMulticomponentThermo & thermo