UEqn: Removed "Sp" term from the momentum equation of the steady-state solvers.
[OpenFOAM-1.6.x.git] / applications / solvers / compressible / rhoSimpleFoam / UEqn.H
blob401e1203d2617de63e107506389ac1beaea3f4ec
1     // Solve the Momentum equation
3     tmp<fvVectorMatrix> UEqn
4     (
5         fvm::div(phi, U)
6       + turbulence->divDevRhoReff(U)
7     );
9     UEqn().relax();
11     eqnResidual = solve
12     (
13         UEqn() == -fvc::grad(p)
14     ).initialResidual();
16     maxResidual = max(eqnResidual, maxResidual);