Commit c5c622e1 authored by Andrew Heather's avatar Andrew Heather
Browse files

adding pFinal

parent 95966771
{ {
if (nOuterCorr == 1) if (nOuterCorr == 1)
{ {
p = p =
( (
rho rho
- (1.0 - gamma)*rhol0 - (1.0 - gamma)*rhol0
...@@ -37,7 +37,14 @@ ...@@ -37,7 +37,14 @@
- fvm::laplacian(rUAf, p) - fvm::laplacian(rUAf, p)
); );
pEqn.solve(); if (corr == nCorr-1 && nonOrth == nNonOrthCorr)
{
pEqn.solve(mesh.solver(p.name() + "Final"));
}
else
{
pEqn.solve(mesh.solver(p.name()));
}
if (nonOrth == nNonOrthCorr) if (nonOrth == nNonOrthCorr)
{ {
......
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