33 namespace laminarFlameSpeedModels
58 W_(coeffsDict_.lookup<scalar>(
"W")),
59 eta_(coeffsDict_.lookup<scalar>(
"eta")),
60 xi_(coeffsDict_.lookup<scalar>(
"xi")),
61 f_(coeffsDict_.lookup<scalar>(
"f")),
62 alpha_(coeffsDict_.lookup<scalar>(
"alpha")),
63 beta_(coeffsDict_.lookup<scalar>(
"beta"))
75 inline Foam::scalar Foam::laminarFlameSpeedModels::Gulders::SuRef
82 return W_*
pow(phi, eta_)*
exp(-xi_*
sqr(phi - 1.075));
91 inline Foam::scalar Foam::laminarFlameSpeedModels::Gulders::Su0pTphi
99 static const scalar Tref = 300.0;
100 static const scalar
pRef = 1.013e5;
102 return SuRef(phi)*
pow((Tu/Tref), alpha_)*
pow((p/pRef), beta_)*(1 - f_*Yres);
127 Su0[celli] = Su0pTphi(p[celli], Tu[celli], phi, 0.0);
172 Su0[celli] = Su0pTphi(p[celli], Tu[celli], phi[celli], 0.0);
199 if (psiuReactionThermo_.composition().contains(
"ft"))
201 const volScalarField& ft = psiuReactionThermo_.composition().Y(
"ft");
205 psiuReactionThermo_.p(),
206 psiuReactionThermo_.Tu(),
209 "stoichiometricAirFuelMassRatio",
211 psiuReactionThermo_.properties()
212 )*ft/
max(1 - ft, small)
219 psiuReactionThermo_.p(),
220 psiuReactionThermo_.Tu(),
#define forAll(list, i)
Loop across all elements in list.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
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 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
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)
volScalarField::Internal & SuRef
tmp< volScalarField > operator()() const
Return the laminar flame speed [m/s].
Base-class for combustion fluid thermodynamic properties based on compressibility.
virtual ~Gulders()
Destructor.
const dimensionSet dimVelocity
const Mesh & mesh() const
Return mesh.
Gulders(const dictionary &, const psiuReactionThermo &)
Construct from dictionary and psiuReactionThermo.
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.
A class for managing temporary objects.
defineTypeNameAndDebug(constant, 0)