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 UEqn.relax();
13
14 fvOptions.constrain(UEqn);
15
16 if (pimple.momentumPredictor())
17 {
18 solve
19 (
20 UEqn
21 ==
22 fvc::reconstruct
23 (
24 (
25 mixture.surfaceTensionForce()
26 - ghf*fvc::snGrad(rho)
27 - fvc::snGrad(p_rgh)
28 ) * mesh.magSf()
29 )
30 );
31
32 fvOptions.correct(U);
33 }
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