Skip to content
Snippets Groups Projects
Commit 665f5243 authored by Henry Weller's avatar Henry Weller
Browse files

reactingEulerFoam: Moved fluid.correctThermo() into energy corrector loop

to update the interfacial temperature.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2029
parent 818d5450
Branches
Tags
No related merge requests found
...@@ -33,9 +33,10 @@ for (int Ecorr=0; Ecorr<nEnergyCorrectors; Ecorr++) ...@@ -33,9 +33,10 @@ for (int Ecorr=0; Ecorr<nEnergyCorrectors; Ecorr++)
EEqn->solve(); EEqn->solve();
} }
} }
fluid.correctThermo();
} }
fluid.correctThermo();
forAll(phases, phasei) forAll(phases, phasei)
{ {
......
...@@ -47,9 +47,9 @@ for (int Ecorr=0; Ecorr<nEnergyCorrectors; Ecorr++) ...@@ -47,9 +47,9 @@ for (int Ecorr=0; Ecorr<nEnergyCorrectors; Ecorr++)
E2eqn->solve(); E2eqn->solve();
} }
} }
}
fluid.correctThermo(); fluid.correctThermo();
}
Info<< phase1.name() << " min/max T " Info<< phase1.name() << " min/max T "
<< min(phase1.thermo().T()).value() << min(phase1.thermo().T()).value()
......
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