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