BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / applications / solvers / lagrangian / LTSReactingParcelFoam / chemistry.H
blobec92091de378b6480529702d917b682c804254ca
1 if (chemistry.chemistry())
3     Info<< "Solving chemistry" << endl;
5     // update reaction rates
6     chemistry.calculate();
8     // turbulent time scale
9     if (turbulentReaction)
10     {
11         typedef DimensionedField<scalar, volMesh> dsfType;
13         const dimensionedScalar e0("e0", sqr(dimLength)/pow3(dimTime), SMALL);
15         const dsfType tk =
16             Cmix*sqrt(turbulence->muEff()/rho/(turbulence->epsilon() + e0));
18         const dsfType tc = chemistry.tc()().dimensionedInternalField();
20         kappa = tc/(tc + tk);
21     }
22     else
23     {
24         kappa = 1.0;
25     }
27     chemistrySh = kappa*chemistry.Sh()();