mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: updated coalChemistryFoam solver to use the updated source mechanism
This commit is contained in:
@ -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"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -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"
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user