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);
131 Su0[celli] = Su0pTPhi(
p[celli], Tu[celli], Phi[celli], 0);
143 p.boundaryField()[
patchi][facei],
177 Su0[celli] = Su0pTPhi(
p[celli], Tu[celli], Phi[celli], egr[celli]);
189 p.boundaryField()[
patchi][facei],
#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.
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,.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Laminar flame speed obtained from Gulder's correlation.
Gulder(const dictionary &dict, const dictionary &coeffDict, const uRhoMulticomponentThermo &)
Construct from dictionary and uRhoMulticomponentThermo.
virtual ~Gulder()
Destructor.
Abstract class for laminar flame speed.
virtual tmp< volScalarField > Su() const
Return the laminar flame speed [m/s].
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
Base-class for combustion fluid thermodynamic properties based on compressibility.
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
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)