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