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