chemFoam: Minor reorganisation for consistency with other solvers

This commit is contained in:
Henry
2012-11-01 12:23:15 +00:00
parent 2682817789
commit bfa8ffc25e
3 changed files with 5 additions and 9 deletions

View File

@ -69,14 +69,9 @@ int main(int argc, char *argv[])
Info<< "Time = " << runTime.timeName() << nl << endl;
#include "solveChemistry.H"
{
#include "YEqn.H"
#include "hEqn.H"
#include "pEqn.H"
}
#include "YEqn.H"
#include "hEqn.H"
#include "pEqn.H"
#include "output.H"

View File

@ -9,4 +9,6 @@
{
h[0] = h0 + integratedHeat;
}
thermo.correct();
}

View File

@ -1,5 +1,4 @@
{
thermo.correct();
rho = thermo.rho();
if (constProp == "volume")
{