BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / applications / solvers / incompressible / pimpleFoam / pimpleDyMFoam / UEqn.H
blobe43a40b94b2c958e9f4de3fcd7bf0ab7a0730c1c
1 // Solve the Momentum equation
3 tmp<fvVectorMatrix> UEqn
5     fvm::ddt(U)
6   + fvm::div(phi, U)
7   + turbulence->divDevReff(U)
8 );
10 UEqn().relax();
12 rAU = 1.0/UEqn().A();
14 if (pimple.momentumPredictor())
16     solve(UEqn() == -fvc::grad(p));
18 else
20     U = rAU*(UEqn().H() - fvc::grad(p));
21     U.correctBoundaryConditions();