Removed unnecessary return statement
[foam-extend-3.2.git] / applications / solvers / incompressible / simpleFoam / UEqn.H
blobeb40b7665b59fcae08ca41ed2d1a4e905cebd706
1     // Solve the Momentum equation
3     tmp<fvVectorMatrix> UEqn
4     (
5         fvm::div(phi, U)
6       + turbulence->divDevReff(U)
7     );
9     UEqn().relax();
11     eqnResidual = solve
12     (
13         UEqn() == -fvc::grad(p)
14     ).initialResidual();
16     maxResidual = max(eqnResidual, maxResidual);