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