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:
parent
156b2d9791
commit
926c29e95a
2 changed files with 4 additions and 3 deletions
|
|
@ -33,9 +33,10 @@ for (int Ecorr=0; Ecorr<nEnergyCorrectors; Ecorr++)
|
|||
EEqn->solve();
|
||||
}
|
||||
}
|
||||
|
||||
fluid.correctThermo();
|
||||
}
|
||||
|
||||
fluid.correctThermo();
|
||||
|
||||
forAll(phases, phasei)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue