Skip to content
Snippets Groups Projects
Commit bfa8ffc2 authored by Henry's avatar Henry
Browse files

chemFoam: Minor reorganisation for consistency with other solvers

parent 26828177
Branches
Tags
No related merge requests found
......@@ -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"
......
......@@ -9,4 +9,6 @@
{
h[0] = h0 + integratedHeat;
}
thermo.correct();
}
{
thermo.correct();
rho = thermo.rho();
if (constProp == "volume")
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment