UEqn.H
Go to the documentation of this file.
1 MRF.correctBoundaryVelocity(U);
2
3 fvVectorMatrix UEqn
4 (
5 fvm::ddt(rho, U) + fvm::div(phi, U)
6 + MRF.DDt(rho, U)
7 + turbulence->divDevRhoReff(U)
8 ==
9 parcels.SU(U)
10 + fvOptions(rho, U)
11 );
12
13 UEqn.relax();
14
15 fvOptions.constrain(UEqn);
16
17 if (pimple.momentumPredictor())
18 {
19 solve
20 (
21 UEqn
22 ==
23 fvc::reconstruct
24 (
25 (
26 - ghf*fvc::snGrad(rho)
27 - fvc::snGrad(p_rgh)
28 )*mesh.magSf()
29 )
30 );
31
32 fvOptions.correct(U);
33 K = 0.5*magSqr(U);
34 }
CGAL::Exact_predicates_exact_constructions_kernel K
volScalarField & p_rgh
fv::options & fvOptions
surfaceScalarField & phi
const surfaceScalarField & ghf
IOMRFZoneList & MRF
pimpleControl & pimple
U
Definition: pEqn.H:72
fvVectorMatrix & UEqn
Definition: UEqn.H:13
dynamicFvMesh & mesh
compressible::turbulenceModel & turbulence
CEqn solve()