mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user