Commit 38b251f0 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: Updated frozenFlow option for interFoam and interIsoFoam

parent 2faf0b3d
......@@ -110,6 +110,11 @@ int main(int argc, char *argv[])
mixture.correct();
if (pimple.frozenFlow())
{
continue;
}
#include "UEqn.H"
// --- Pressure corrector loop
......
// Defining isoAdvection
isoAdvection advector(alpha1, phi, U);
bool frozenFlow = pimple.dict().lookupOrDefault<bool>("frozenFlow", false);
if (frozenFlow)
{
Info<< "Employing frozen-flow assumption: "
<< "pressure-velocity system will not be updated"
<< endl;
}
......@@ -108,7 +108,7 @@ int main(int argc, char *argv[])
mixture.correct();
if (frozenFlow)
if (pimple.frozenFlow())
{
continue;
}
......
Supports Markdown
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