mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
chemFoam: Minor reorganisation for consistency with other solvers
This commit is contained in:
@ -69,14 +69,9 @@ int main(int argc, char *argv[])
|
|||||||
Info<< "Time = " << runTime.timeName() << nl << endl;
|
Info<< "Time = " << runTime.timeName() << nl << endl;
|
||||||
|
|
||||||
#include "solveChemistry.H"
|
#include "solveChemistry.H"
|
||||||
|
|
||||||
{
|
|
||||||
#include "YEqn.H"
|
#include "YEqn.H"
|
||||||
|
|
||||||
#include "hEqn.H"
|
#include "hEqn.H"
|
||||||
|
|
||||||
#include "pEqn.H"
|
#include "pEqn.H"
|
||||||
}
|
|
||||||
|
|
||||||
#include "output.H"
|
#include "output.H"
|
||||||
|
|
||||||
|
|||||||
@ -9,4 +9,6 @@
|
|||||||
{
|
{
|
||||||
h[0] = h0 + integratedHeat;
|
h[0] = h0 + integratedHeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
thermo.correct();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
thermo.correct();
|
|
||||||
rho = thermo.rho();
|
rho = thermo.rho();
|
||||||
if (constProp == "volume")
|
if (constProp == "volume")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user