Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / applications / solvers / combustion / dieselEngineFoam / UEqn.H
blob64c190ec9cc3220987a17f920f3bb6d05a5014f0
1     fvVectorMatrix UEqn
2     (
3         fvm::ddt(rho, U)
4       + fvm::div(phi, U)
5       + turbulence->divDevRhoReff(U)
6      ==
7         rho*g
8       + dieselSpray.momentumSource()
9     );
11     UEqn.relax();
13     if (momentumPredictor)
14     {
15         solve(UEqn == -fvc::grad(p));
16     }