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         DimensionedField<scalar, volMesh> tk =
00014             Cmix*sqrt(turbulence->muEff()/rho/turbulence->epsilon());
00015         DimensionedField<scalar, volMesh> tc =
00016             chemistry.tc()().dimensionedInternalField();
00017 
00018         // Chalmers PaSR model
00019         kappa = (runTime.deltaT() + tc)/(runTime.deltaT() + tc + tk);
00020     }
00021     else
00022     {
00023         kappa = 1.0;
00024     }
00025 }
Copyright © 2000-2009 OpenCFD Ltd