UEqn.H
Go to the documentation of this file.
1 fvVectorMatrix UEqn
2 (
3 fvm::ddt(rho, U) + fvm::div(rhoPhi, U)
4 - fvm::Sp(fvc::ddt(rho) + fvc::div(rhoPhi), U)
5 + turbulence->divDevRhoReff(rho, U)
6 ==
8 );
9
10 UEqn.relax();
11
12 fvOptions.constrain(UEqn);
13
14 if (pimple.momentumPredictor())
15 {
16 solve
17 (
18 UEqn
19 ==
20 cellMask*fvc::reconstruct
21 (
22 (
23 interface.surfaceTensionForce()
24 - ghf*fvc::snGrad(rho)
25 - fvc::snGrad(p_rgh)
26 ) * mesh.magSf()
27 )
28 );
29
30 fvOptions.correct(U);
31 }
rhoPhi
Definition: rhoEqn.H:10
volScalarField & p_rgh
fv::options & fvOptions
const surfaceScalarField & ghf
pimpleControl & pimple
U
Definition: pEqn.H:72
fvVectorMatrix & UEqn
Definition: UEqn.H:13
dynamicFvMesh & mesh
compressible::turbulenceModel & turbulence
CEqn solve()
interfaceProperties interface(alpha1, U, thermo->transportPropertiesDict())