UEqn.H
Go to the documentation of this file.
1 // Solve the Momentum equation
2 MRF.correctBoundaryVelocity(U);
3
4 tmp<fvVectorMatrix> tUEqn
5 (
6 fvm::div(phi, U)
7 + MRF.DDt(rho, U)
8 + turbulence->divDevRhoReff(U)
9 ==
11 );
12 fvVectorMatrix& UEqn = tUEqn.ref();
13
14 UEqn.relax();
15
16 fvOptions.constrain(UEqn);
17
18 if (simple.momentumPredictor())
19 {
20 solve(UEqn == -cellMask*fvc::grad(p));
21 }
22
23 fvOptions.correct(U);
fv::options & fvOptions
surfaceScalarField & phi
IOMRFZoneList & MRF
U
Definition: pEqn.H:72
volScalarField & p
tmp< fvVectorMatrix > tUEqn(fvm::ddt(rho, U)+fvm::div(phi, U)+MRF.DDt(rho, U)+turbulence->divDevRhoReff(U)==fvOptions(rho, U))
fvVectorMatrix & UEqn
Definition: UEqn.H:13
compressible::turbulenceModel & turbulence
const dictionary & simple
CEqn solve()