ENH: updated coalChemistryFoam solver to use the updated source mechanism

This commit is contained in:
andy
2010-02-04 13:25:55 +00:00
parent e610a1884f
commit 713e3e6b6e
2 changed files with 13 additions and 7 deletions

View File

@ -26,8 +26,13 @@ Application
coalChemistryFoam coalChemistryFoam
Description Description
Transient solver for compressible, turbulent flow with coal and Transient solver for:
limestone parcel injections, and combustion. - compressible,
- turbulent flow,
with
- coal and limestone parcel injections,
- energy source, and
- combustion.
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -38,7 +43,7 @@ Description
#include "CoalCloud.H" #include "CoalCloud.H"
#include "psiChemistryModel.H" #include "psiChemistryModel.H"
#include "chemistrySolver.H" #include "chemistrySolver.H"
#include "timeActivatedExplicitCellSource.H" #include "timeActivatedExplicitSource.H"
#include "radiationModel.H" #include "radiationModel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -127,10 +127,11 @@
fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p) fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p)
); );
Info<< "\nConstructing explicit enthalpy cell source" << endl; Info<< "\nConstructing explicit enthalpy source" << endl;
timeActivatedExplicitCellSource enthalpySource scalarTimeActivatedExplicitSourceList enthalpySource
( (
"enthalpySource", "energy",
mesh, mesh,
h.dimensions()*phi.dimensions()/mesh.V().dimensions() dimEnergy/dimTime/dimVolume,
"h"
); );