19 lines
369 B
C++
19 lines
369 B
C++
fvVectorMatrix UEqn
|
|
(
|
|
// fvm::ddt(rho, U)
|
|
pZones.ddt(rho, U)
|
|
+ fvm::div(phi, U)
|
|
+ turbulence->divDevRhoReff()
|
|
==
|
|
rho.dimensionedInternalField()*g
|
|
+ parcels.SU()
|
|
+ momentumSource.Su()
|
|
);
|
|
|
|
pZones.addResistance(UEqn);
|
|
|
|
if (piso.momentumPredictor())
|
|
{
|
|
solve(UEqn == -fvc::grad(p));
|
|
}
|
|
|