14 lines
224 B
C
14 lines
224 B
C
|
fvVectorMatrix UEqn
|
||
|
(
|
||
|
fvm::ddt(rho, U)
|
||
|
+ fvm::div(phi, U)
|
||
|
+ turbulence->divDevRhoReff(U)
|
||
|
==
|
||
|
rho*g
|
||
|
);
|
||
|
|
||
|
if (momentumPredictor)
|
||
|
{
|
||
|
solve(UEqn == -fvc::grad(p));
|
||
|
}
|