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(rhoPhi, U)
6 + MRF.DDt(rho, U)
7 + turbulence->divDevRhoReff(rho, U)
8 ==
10 );
11
12 #include "UEqnAddPorosity.H"
13
14 UEqn.relax();
15
16 fvOptions.constrain(UEqn);
17
18 if (pimple.momentumPredictor())
19 {
20 solve
21 (
22 UEqn
23 ==
24 fvc::reconstruct
25 (
26 (
27 mixture.surfaceTensionForce()
28 - ghf*fvc::snGrad(rho)
29 - fvc::snGrad(p_rgh)
30 ) * mesh.magSf()
31 )
32 );
33
34 fvOptions.correct(U);
35 }
rhoPhi
Definition: rhoEqn.H:10
volScalarField & p_rgh
fv::options & fvOptions
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()
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture
Definition: createFields.H:39