19 (
b*c*mgb)().weightedAverage(
mesh.V())
20 /((
b*c)().weightedAverage(
mesh.V()) + SMALL)
28 nfVec /= (
mag(nfVec) + dMgb);
41 mesh.surfaceInterpolation::deltaCoeffs()
43 ).value()*runTime.deltaTValue();
45 Info<<
"Max St-Courant Number = " << StCoNum <<
endl;
123 )*(Xi + scalar(1))/(2*Xi)
136 if (SuModel ==
"unstrained")
140 else if (SuModel ==
"equilibrium")
144 else if (SuModel ==
"transport")
151 (sigmas*SuInf*(Su0 - SuInf) +
sqr(SuMin)*sigmaExt)
152 /(
sqr(Su0 - SuInf) +
sqr(SuMin))
190 if (XiModel ==
"fixed")
194 else if (XiModel ==
"algebraic")
200 (scalar(1) + (2*XiShapeCoef)*(scalar(0.5) -
b))
201 *XiCoef*
sqrt(up/(
Su + SuMin))*Reta;
203 else if (XiModel ==
"transport")
212 scalar(1.001) + XiCoef*
sqrt(up/(
Su + SuMin))*Reta
221 *(scalar(0.5) -
min(
max(
b, scalar(0)), scalar(1)))
222 )*(XiEqStar - scalar(1.001))
265 Info<<
"max(XiEq) = " <<
max(XiEq).value() <<
endl;
274 Info<<
"Combustion progress = " 275 << 100*(scalar(1) -
b)().weightedAverage(
mesh.V()).value() <<
"%" dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
dimensioned< scalar > mag(const dimensioned< Type > &)
#define R(A, B, C, D, E, F, K, M)
tmp< GeometricField< Type, fvPatchField, volMesh > > Sp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< surfaceScalarField > interpolate(const RhoType &rho)
autoPtr< compressible::turbulenceModel > turbulence
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
tmp< GeometricField< Type, fvPatchField, volMesh > > Su(const GeometricField< Type, fvPatchField, volMesh > &su, const GeometricField< Type, fvPatchField, volMesh > &vf)
fv::IOoptionList & fvOptions
fvMatrix< scalar > fvScalarMatrix
Ostream & endl(Ostream &os)
Add newline and flush stream.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionedScalar e
Elementary charge.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Info<< "Creating field dpdt\n"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar("dpdt", p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\n"<< endl;volScalarField K("K", 0.5 *magSqr(U));Info<< "Creating the unstrained laminar flame speed\n"<< endl;autoPtr< laminarFlameSpeed > unstrainedLaminarFlameSpeed(laminarFlameSpeed::New(thermo))
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< GeometricField< Type, fvPatchField, volMesh > > SuSp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
errorManip< error > abort(error &err)
const word & executable() const
Name of executable without the path.
GeometricField< vector, fvPatchField, volMesh > volVectorField
Foam::argList args(argc, argv)
const dimensionedScalar c
Speed of light in a vacuum.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
psiReactionThermo & thermo
GeometricField< vector, fvsPatchField, surfaceMesh > surfaceVectorField
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedScalar StCorr("StCorr", dimless, 1.0)
tmp< fv::convectionScheme< scalar > > mvConvection(fv::convectionScheme< scalar >::New( mesh, fields, phi, mesh.divScheme("div(phi,ft_b_ha_hau)") ))
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionedScalar G
Newtonian constant of gravitation.