BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / applications / solvers / compressible / rhoPimpleFoam / rhoPorousMRFPimpleFoam / UEqn.H
blobf3b115d0da67ed0eae06592db8a5dbabb3828071
1 // Solve the Momentum equation
3 tmp<fvVectorMatrix> UEqn
5     //pZones.ddt(rho, U)
6     fvm::ddt(rho, U)
7   + fvm::div(phi, U)
8   + turbulence->divDevRhoReff(U)
9 );
11 UEqn().relax();
13 mrfZones.addCoriolis(rho, UEqn());
14 pZones.addResistance(UEqn());
16 volScalarField rAU(1.0/UEqn().A());
18 if (pimple.momentumPredictor())
20     solve(UEqn() == -fvc::grad(p));
22 else
24     U = rAU*(UEqn().H() - fvc::grad(p));
25     U.correctBoundaryConditions();