Commit 9bc50312 authored by Henry Weller's avatar Henry Weller
Browse files

simpleFoam, SRFSimpleFoam: Added momentumPredictor option

parent db675599
......@@ -14,6 +14,9 @@
fvOptions.constrain(UrelEqn);
solve(UrelEqn == -fvc::grad(p));
if (simple.momentumPredictor())
{
solve(UrelEqn == -fvc::grad(p));
fvOptions.correct(Urel);
fvOptions.correct(Urel);
}
......@@ -16,6 +16,9 @@
fvOptions.constrain(UEqn);
solve(UEqn == -fvc::grad(p));
if (simple.momentumPredictor())
{
solve(UEqn == -fvc::grad(p));
fvOptions.correct(U);
fvOptions.correct(U);
}
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