35 namespace laminarFlameSpeedModels
51 Foam::laminarFlameSpeedModels::Gulders::Gulders
59 coeffsDict_(
dict.optionalSubDict(typeName +
"Coeffs").subDict(fuel_)),
60 W_(coeffsDict_.
get<scalar>(
"W")),
61 eta_(coeffsDict_.
get<scalar>(
"eta")),
62 xi_(coeffsDict_.
get<scalar>(
"xi")),
63 f_(coeffsDict_.
get<scalar>(
"f")),
64 alpha_(coeffsDict_.
get<scalar>(
"alpha")),
65 beta_(coeffsDict_.
get<scalar>(
"beta"))
77 inline Foam::scalar Foam::laminarFlameSpeedModels::Gulders::SuRef
93 inline Foam::scalar Foam::laminarFlameSpeedModels::Gulders::Su0pTphi
101 static const scalar Tref = 300.0;
102 static const scalar pRef = 1.013e5;
104 return SuRef(
phi)*
pow((Tu/Tref), alpha_)*
pow((
p/pRef), beta_)*(1 - f_*Yres);
115 tmp<volScalarField> tSu0
137 Su0[celli] = Su0pTphi(
p[celli], Tu[celli],
phi, 0.0);
144 forAll(Su0Bf[patchi], facei)
146 Su0Bf[patchi][facei] =
149 p.boundaryField()[patchi][facei],
150 Tu.boundaryField()[patchi][facei],
168 tmp<volScalarField> tSu0
190 Su0[celli] = Su0pTphi(
p[celli], Tu[celli],
phi[celli], 0.0);
197 forAll(Su0Bf[patchi], facei)
199 Su0Bf[patchi][facei] =
202 p.boundaryField()[patchi][facei],
203 Tu.boundaryField()[patchi][facei],
204 phi.boundaryField()[patchi][facei],
217 if (psiuReactionThermo_.composition().contains(
"ft"))
219 const volScalarField& ft = psiuReactionThermo_.composition().Y(
"ft");
223 psiuReactionThermo_.p(),
224 psiuReactionThermo_.Tu(),
227 "stoichiometricAirFuelMassRatio",
dimless, psiuReactionThermo_
228 )*ft/
max(1 - ft, SMALL)
235 psiuReactionThermo_.p(),
236 psiuReactionThermo_.Tu(),
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
GeometricBoundaryField< scalar, fvPatchField, volMesh > Boundary
Type of boundary fields.
Ignore writing from objectRegistry::writeObject()
const dimensionSet dimless
Dimensionless.
Macros for easy insertion into run-time selection tables.
#define forAll(list, i)
Loop across all elements in list.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar exp(const dimensionedScalar &ds)
addToRunTimeSelectionTable(laminarFlameSpeed, constant, dictionary)
tmp< volScalarField > operator()() const
Return the laminar flame speed [m/s].
Foam::psiuReactionThermo.
virtual ~Gulders()
Destructor.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Abstract class for laminar flame speed.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Internal & ref(const bool updateAccessTime=true)
Same as internalFieldRef()
A class for managing temporary objects.
Do not request registration (bool: false)
defineTypeNameAndDebug(constant, 0)
static constexpr const zero Zero
Global zero (0)
const dimensionSet dimVelocity