33 namespace laminarFlameSpeedModels
58 W_(coeffDict.
lookup<scalar>(
"W")),
59 eta_(coeffDict.
lookup<scalar>(
"eta")),
60 xi_(coeffDict.
lookup<scalar>(
"xi")),
61 f_(coeffDict.
lookup<scalar>(
"f")),
62 alpha_(coeffDict.
lookup<scalar>(
"alpha")),
63 beta_(coeffDict.
lookup<scalar>(
"beta"))
75 inline Foam::scalar Foam::laminarFlameSpeedModels::Gulder::SuRef
82 return W_*
pow(Phi, eta_)*
exp(-xi_*
sqr(Phi - 1.075));
91 inline Foam::scalar Foam::laminarFlameSpeedModels::Gulder::Su0pTphi
99 static const scalar Tref = 300.0;
100 static const scalar pRef = 1.013e5;
103 SuRef(Phi)*
pow((Tu/Tref), alpha_)*
pow((
p/pRef), beta_)
104 *
max(1 - f_*Yegr, 0);
115 tmp<volScalarField> tSu0
129 Su0[celli] = Su0pTphi(
p[celli], Tu[celli], phi[celli], 0);
141 p.boundaryField()[
patchi][facei],
142 Tu.boundaryField()[
patchi][facei],
143 phi.boundaryField()[
patchi][facei],
161 tmp<volScalarField> tSu0
175 Su0[celli] = Su0pTphi(
p[celli], Tu[celli], Phi[celli], egr[celli]);
187 p.boundaryField()[
patchi][facei],
188 Tu.boundaryField()[
patchi][facei],
189 Phi.boundaryField()[
patchi][facei],
190 egr.boundaryField()[
patchi][facei]
202 if (psiuMulticomponentThermo_.containsSpecie(
"egr"))
206 psiuMulticomponentThermo_.p(),
207 psiuMulticomponentThermo_.Tu(),
208 psiuMulticomponentThermo_.Phi(),
209 psiuMulticomponentThermo_.Y(
"egr")
216 psiuMulticomponentThermo_.p(),
217 psiuMulticomponentThermo_.Tu(),
218 psiuMulticomponentThermo_.Phi()
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
GeometricBoundaryField< Type, GeoMesh, PrimitiveField > Boundary
Type of 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,.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Gulder(const dictionary &dict, const dictionary &coeffDict, const uRhoMulticomponentThermo &)
Construct from dictionary and uRhoMulticomponentThermo.
tmp< volScalarField > operator()() const
Return the laminar flame speed [m/s].
virtual ~Gulder()
Destructor.
Abstract class for laminar flame speed.
Base-class for combustion fluid thermodynamic properties based on compressibility.
A class for managing temporary objects.
addToRunTimeSelectionTable(laminarFlameSpeed, constant, dictionary)
defineTypeNameAndDebug(constant, 0)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
dimensionedScalar exp(const dimensionedScalar &ds)
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
const dimensionSet & dimVelocity
VolField< scalar > volScalarField
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh, Field > > pow(const DimensionedField< Type, GeoMesh, PrimitiveField > &df, typename powProduct< Type, r >::type)
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.