Formatting and comments
This commit is contained in:
parent
4da7aeee5e
commit
178705132a
1 changed files with 5 additions and 1 deletions
|
@ -35,7 +35,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Explicitly relax pressure for momentum corrector except for last corrector
|
// Explicitly relax pressure for momentum corrector
|
||||||
|
// except for last corrector
|
||||||
if (!pimple.finalIter())
|
if (!pimple.finalIter())
|
||||||
{
|
{
|
||||||
p.relax();
|
p.relax();
|
||||||
|
@ -54,5 +55,8 @@
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
+ (1 - UUrf)*U.prevIter();
|
+ (1 - UUrf)*U.prevIter();
|
||||||
|
|
||||||
|
// U.correctBoundaryConditions() must be called with relative fluxes
|
||||||
|
// because of inletOutlet BC's
|
||||||
U.correctBoundaryConditions();
|
U.correctBoundaryConditions();
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue