Commit c205857f authored by Henry's avatar Henry
Browse files

interPhaseChangeFoam: Improve consistency with current interFoam

parent b0a68b77
......@@ -63,7 +63,6 @@ int main(int argc, char *argv[])
#include "CourantNo.H"
#include "setInitialDeltaT.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Info<< "\nStarting time loop\n" << endl;
......
......@@ -81,14 +81,10 @@ int main(int argc, char *argv[])
Info<< "Time = " << runTime.timeName() << nl << endl;
#include "alphaEqnSubCycle.H"
if (pimple.nCorrPIMPLE() == 1)
{
interface.correct();
}
twoPhaseProperties->correct();
turbulence->correct();
#include "alphaEqnSubCycle.H"
interface.correct();
// --- Pressure-velocity PIMPLE corrector loop
while (pimple.loop())
......@@ -100,9 +96,12 @@ int main(int argc, char *argv[])
{
#include "pEqn.H"
}
}
twoPhaseProperties->correct();
if (pimple.turbCorr())
{
turbulence->correct();
}
}
runTime.write();
......
Markdown is supported
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