OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

chemistry.H

Go to the documentation of this file.
00001 {
00002     Info << "Solving chemistry" << endl;
00003 
00004     chemistry.solve
00005     (
00006         runTime.value() - runTime.deltaT().value(),
00007         runTime.deltaT().value()
00008     );
00009 
00010     // turbulent time scale
00011     if (turbulentReaction)
00012     {
00013         volScalarField tk =
00014                 Cmix*sqrt(turbulence->muEff()/rho/turbulence->epsilon());
00015         volScalarField tc = chemistry.tc();
00016 
00017         // Chalmers PaSR model
00018         kappa = (runTime.deltaT() + tc)/(runTime.deltaT() + tc + tk);
00019     }
00020     else
00021     {
00022         kappa = 1.0;
00023     }
00024 }
Copyright © 2000-2009 OpenCFD Ltd