16 lines
260 B
C
16 lines
260 B
C
fvVectorMatrix UEqn
|
|
(
|
|
fvm::ddt(U)
|
|
+ fvm::div(phi, U)
|
|
+ turbulence->divDevReff(U)
|
|
);
|
|
|
|
if (ocorr != nOuterCorr-1)
|
|
{
|
|
UEqn.relax();
|
|
}
|
|
|
|
if (momentumPredictor)
|
|
{
|
|
solve(UEqn == -fvc::grad(p));
|
|
}
|