17 lines
325 B
C
17 lines
325 B
C
fvVectorMatrix UEqn
|
|
(
|
|
fvm::ddt(rho, U)
|
|
+ fvm::div(phi, U)
|
|
+ turbulence->divDevRhoReff(U)
|
|
==
|
|
rho.dimensionedInternalField()*g
|
|
+ coalParcels.SU()
|
|
+ limestoneParcels.SU()
|
|
);
|
|
|
|
UEqn.relax();
|
|
|
|
if (momentumPredictor)
|
|
{
|
|
solve(UEqn == -fvc::grad(p));
|
|
}
|