mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated frozenFlow option for interFoam and interIsoFoam
This commit is contained in:
@ -110,6 +110,11 @@ int main(int argc, char *argv[])
|
||||
|
||||
mixture.correct();
|
||||
|
||||
if (pimple.frozenFlow())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
#include "UEqn.H"
|
||||
|
||||
// --- Pressure corrector loop
|
||||
|
||||
@ -1,10 +1,2 @@
|
||||
// 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user