Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / solvers / combustion / dieselEngineFoam / UEqn.H
blobc6caf5989c765318cae79507c8c44845f05e1fc4
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     if (pimple.momentumPredictor())
12     {
13         solve(UEqn == -fvc::grad(p));
14     }