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
This commit is contained in:
Henry Weller
2016-03-17 08:05:08 +00:00
parent 818d5450f8
commit 665f5243b1
2 changed files with 4 additions and 3 deletions

View File

@ -33,9 +33,10 @@ for (int Ecorr=0; Ecorr<nEnergyCorrectors; Ecorr++)
EEqn->solve();
}
}
fluid.correctThermo();
}
fluid.correctThermo();
forAll(phases, phasei)
{

View File

@ -47,9 +47,9 @@ for (int Ecorr=0; Ecorr<nEnergyCorrectors; Ecorr++)
E2eqn->solve();
}
}
}
fluid.correctThermo();
fluid.correctThermo();
}
Info<< phase1.name() << " min/max T "
<< min(phase1.thermo().T()).value()