Merge branch 'master' of github.com:OpenCFD/OpenFOAM-1.7.x
[OpenFOAM-1.7.x.git] / applications / solvers / combustion / rhoReactingFoam / UEqn.H
blob9697c6e1ed2d0753f9c0803081cc6929050ef446
1     fvVectorMatrix UEqn
2     (
3         fvm::ddt(rho, U)
4       + fvm::div(phi, U)
5       + turbulence->divDevRhoReff(U)
6      ==
7         rho*g
8     );
10     UEqn.relax();
12     if (momentumPredictor)
13     {
14         solve(UEqn == -fvc::grad(p));
15     }