3 fv::convectionScheme<scalar>::New
8 mesh.divScheme(
"div(phi,ft_b_ha_hau)")
24 volScalarField c(
"c", 1.0 -
b);
28 volScalarField rhou(
thermo.rhou());
34 volVectorField
n(fvc::reconstruct(fvc::snGrad(
b)*
mesh.magSf()));
36 volScalarField mgb(
"mgb", mag(
n));
38 dimensionedScalar dMgb(
"dMgb", mgb.dimensions(), SMALL);
41 volScalarField bc(
b*c);
44 (bc*mgb)().weightedAverage(
mesh.V())
45 /(bc.weightedAverage(
mesh.V()) + SMALL);
50 surfaceVectorField Sfhat(
mesh.Sf()/
mesh.magSf());
51 surfaceVectorField nfVec(fvc::interpolate(
n));
52 nfVec += Sfhat*(fvc::snGrad(
b) - (Sfhat & nfVec));
53 nfVec /= (mag(nfVec) + dMgb);
54 surfaceScalarField nf(
"nf",
mesh.Sf() & nfVec);
61 surfaceScalarField phiSt(
"phiSt", fvc::interpolate(rhou*
StCorr*St)*nf);
74 - fvm::Sp(fvc::div(phiSt),
b)
75 - fvm::laplacian(
Db,
b)
95 Info<<
"min(b) = " << min(
b).value() << endl;
101 Info<<
"Combustion progress = "
102 << 100*(1.0 -
b)().weightedAverage(
mesh.V()*ft).value() <<
"%"
107 Info<<
"Combustion progress = "
108 << 100*(1.0 -
b)().weightedAverage(
mesh.V()).value() <<
"%"
tmp< fv::convectionScheme< scalar > > mvConvection(fv::convectionScheme< scalar >::New(mesh, fields, phi, mesh.divScheme("div(phi,ft_b_ha_hau)")))
volScalarField Db("Db", turbulence->muEff())
dimensionedScalar StCorr("StCorr", dimless, 1.0)
Calculates and outputs the mean and maximum Courant Numbers.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
basicSpecieMixture & composition
compressible::turbulenceModel & turbulence
const volScalarField & betav
autoPtr< XiModel > flameWrinkling
Create the flame-wrinkling model.
Info<< "Creating the unstrained laminar flame speed\n"<< endl;autoPtr< laminarFlameSpeed > unstrainedLaminarFlameSpeed(laminarFlameSpeed::New(thermo))
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields