OpenFOAM: API Guide
v2112
The open source CFD toolbox
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(
contErr
,
U
)
5
+
MRF
.DDt(
rho
,
U
)
6
+
turbulence
.divDevRhoReff(
U
)
7
==
8
fvOptions
(
rho
,
U
)
9
);
10
11
UEqn
.relax();
12
13
fvOptions
.constrain(
UEqn
);
14
15
if
(
pimple
.momentumPredictor())
16
{
17
solve
18
(
19
UEqn
20
==
21
fvc::reconstruct
22
(
23
(
24
mixture
.surfaceTensionForce()
25
-
ghf
*fvc::snGrad(
rho
)
26
- fvc::snGrad(
p_rgh
)
27
) *
mesh
.magSf()
28
)
29
);
30
31
fvOptions
.correct(
U
);
32
33
K
= 0.5*magSqr(
U
);
34
}
K
CGAL::Exact_predicates_exact_constructions_kernel K
Definition:
CGALTriangulation3DKernel.H:64
rhoPhi
rhoPhi
Definition:
rhoEqn.H:10
p_rgh
volScalarField & p_rgh
Definition:
setRegionFluidFields.H:15
fvOptions
fv::options & fvOptions
Definition:
setRegionFluidFields.H:23
ghf
const surfaceScalarField & ghf
Definition:
setRegionFluidFields.H:18
MRF
IOMRFZoneList & MRF
Definition:
setRegionFluidFields.H:22
pimple
pimpleControl & pimple
Definition:
setRegionFluidFields.H:56
U
U
Definition:
pEqn.H:72
UEqn
fvVectorMatrix & UEqn
Definition:
UEqn.H:13
contErr
volScalarField::Internal contErr((fvc::ddt(rho)+fvc::div(rhoPhi) -(fvOptions(alpha1, mixture.thermo1().rho())&rho1) -(fvOptions(alpha2, mixture.thermo2().rho())&rho2))())
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:6
turbulence
compressible::turbulenceModel & turbulence
Definition:
setRegionFluidFields.H:30
rho
rho
Definition:
readInitialConditions.H:88
solve
CEqn solve()
mixture
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture
Definition:
createFields.H:39
applications
solvers
multiphase
compressibleInterFoam
UEqn.H
Generated by
1.9.5
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.