Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / solvers / heatTransfer / chtMultiRegionFoam / chtMultiRegionSimpleFoam / fluid / UEqn.H
blob68b29fd0c2babc531af4fe730abd8a08c3ecf5ff
1     // Solve the Momentum equation
2     tmp<fvVectorMatrix> UEqn
3     (
4         fvm::div(phi, U)
5       + turb.divDevRhoReff(U)
6     );
8     UEqn().relax();
10     solve
11     (
12         UEqn()
13      ==
14         fvc::reconstruct
15         (
16             (
17               - ghf*fvc::snGrad(rho)
18               - fvc::snGrad(p_rgh)
19             )*mesh.magSf()
20         )
21     );