Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / solvers / compressible / rhoSimpleFoam / UEqn.H
blob21ec2646be5bb5702e0b2210335592e1fe124ec0
1     // Solve the Momentum equation
3     tmp<fvVectorMatrix> UEqn
4     (
5         fvm::div(phi, U)
6       + turbulence->divDevRhoReff(U)
7     );
9     UEqn().relax();
11     solve(UEqn() == -fvc::grad(p));