33 namespace laminarFlameSpeedModels
48 Foam::laminarFlameSpeedModels::GuldersEGR::GuldersEGR
61 alpha_(
readScalar(coeffsDict_.lookup(
"alpha"))),
74 inline Foam::scalar Foam::laminarFlameSpeedModels::GuldersEGR::SuRef
81 return W_*
pow(phi, eta_)*
exp(-xi_*
sqr(phi - 1.075));
90 inline Foam::scalar Foam::laminarFlameSpeedModels::GuldersEGR::Su0pTphi
98 static const scalar Tref = 300.0;
99 static const scalar
pRef = 1.013e5;
101 return SuRef(phi)*
pow((Tu/Tref), alpha_)*
pow((p/pRef), beta_)*(1 - f_*Yres);
106 Foam::laminarFlameSpeedModels::GuldersEGR::Su0pTphi
135 Su0[celli] = Su0pTphi(p[celli], Tu[celli], phi, 0.0);
160 Foam::laminarFlameSpeedModels::GuldersEGR::Su0pTphi
190 Su0[celli] = Su0pTphi(p[celli], Tu[celli], phi[celli], egr[celli]);
219 psiuReactionThermo_.composition().contains(
"ft")
220 && psiuReactionThermo_.composition().contains(
"egr")
225 psiuReactionThermo_.p(),
226 psiuReactionThermo_.Tu(),
229 psiuReactionThermo_.lookup(
"stoichiometricAirFuelMassRatio")
232 scalar(1)/psiuReactionThermo_.composition().Y(
"ft")
235 psiuReactionThermo_.composition().Y(
"egr")
242 psiuReactionThermo_.p(),
243 psiuReactionThermo_.Tu(),
virtual ~GuldersEGR()
Destructor.
#define forAll(list, i)
Loop across all elements in list.
tmp< volScalarField > operator()() const
Return the laminar flame speed [m/s].
A list of keyword definitions, which are a keyword followed by any number of values (e...
const Boundary & boundaryField() const
Return const-reference to the boundary field.
T & ref() const
Return non-const reference or generate a fatal error.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
Macros for easy insertion into run-time selection tables.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
dimensionedScalar exp(const dimensionedScalar &ds)
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
addToRunTimeSelectionTable(laminarFlameSpeed, constant, dictionary)
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if successful.
Foam::psiuReactionThermo.
const Mesh & mesh() const
Return mesh.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Abstract class for laminar flame speed.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const Time & time() const
Return time.
A class for managing temporary objects.
const objectRegistry & db() const
Return the local objectRegistry.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
defineTypeNameAndDebug(constant, 0)
const dimensionSet dimVelocity