UEqn.H
Go to the documentation of this file.
1// Solve the Momentum equation
2
3MRF.correctBoundaryVelocity(U);
4
5tmp<fvVectorMatrix> tUEqn
6(
7 fvm::ddt(U) + fvm::div(phi, U)
8 + MRF.DDt(U)
9 + turbulence->divDevReff(U)
10 ==
12);
13fvVectorMatrix& UEqn = tUEqn.ref();
14
15UEqn.relax();
16
17fvOptions.constrain(UEqn);
18
19if (pimple.momentumPredictor())
20{
21 solve(UEqn == -cellMask*fvc::grad(p));
22
23 fvOptions.correct(U);
24}
fv::options & fvOptions
surfaceScalarField & phi
IOMRFZoneList & MRF
pimpleControl & pimple
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
CEqn solve()