33 namespace laminarFlameSpeedModels
57 coeffsDict_(
dict.optionalSubDict(typeName +
"Coeffs").subDict(fuel_)),
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);
113 tmp<volScalarField> tSu0
127 Su0[celli] = Su0pTphi(
p[celli], Tu[celli], phi, 0.0);
139 p.boundaryField()[
patchi][facei],
140 Tu.boundaryField()[
patchi][facei],
158 tmp<volScalarField> tSu0
172 Su0[celli] = Su0pTphi(
p[celli], Tu[celli], phi[celli], 0.0);
184 p.boundaryField()[
patchi][facei],
185 Tu.boundaryField()[
patchi][facei],
186 phi.boundaryField()[
patchi][facei],
199 if (psiuMulticomponentThermo_.containsSpecie(
"ft"))
205 psiuMulticomponentThermo_.p(),
206 psiuMulticomponentThermo_.Tu(),
209 "stoichiometricAirFuelMassRatio",
211 psiuMulticomponentThermo_.properties()
212 )*ft/
max(1 - ft, small)
219 psiuMulticomponentThermo_.p(),
220 psiuMulticomponentThermo_.Tu(),
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
GeometricBoundaryField< Type, PatchField, GeoMesh > Boundary
Type of the boundary field.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Laminar flame speed obtained from Gulder's correlation.
virtual ~Gulders()
Destructor.
Gulders(const dictionary &, const psiuMulticomponentThermo &)
Construct from dictionary and psiuMulticomponentThermo.
tmp< volScalarField > operator()() const
Return the laminar flame speed [m/s].
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)
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionSet dimless
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
VolField< scalar > volScalarField
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
const dimensionSet dimVelocity
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.