ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git] / applications / solvers / heatTransfer / buoyantBoussinesqPimpleFoam / UEqn.H
blob07f46ec99825398ced8de01a55db2f2b9240ea9a
1     // Solve the momentum equation
3     fvVectorMatrix UEqn
4     (
5         fvm::ddt(U)
6       + fvm::div(phi, U)
7       + turbulence->divDevReff(U)
8     );
10     UEqn.relax();
12     if (pimple.momentumPredictor())
13     {
14         solve
15         (
16             UEqn
17          ==
18             fvc::reconstruct
19             (
20                 (
21                   - ghf*fvc::snGrad(rhok)
22                   - fvc::snGrad(p_rgh)
23                 )*mesh.magSf()
24             )
25         );
26     }