Skip to content
Snippets Groups Projects
Commit 926c29e9 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 156b2d97
Branches
Tags
1 merge request!33Merge foundation
......@@ -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()
......
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