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