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