OpenFOAM: API Guide
v2112
The open source CFD toolbox
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(
phi
,
U
)
6
+
MRF
.DDt(
rho
,
U
)
7
+
turbulence
->divDevRhoReff(
U
)
8
==
9
fvOptions
(
rho
,
U
)
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
-
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
}
K
CGAL::Exact_predicates_exact_constructions_kernel K
Definition:
CGALTriangulation3DKernel.H:64
p_rgh
volScalarField & p_rgh
Definition:
setRegionFluidFields.H:15
fvOptions
fv::options & fvOptions
Definition:
setRegionFluidFields.H:23
phi
surfaceScalarField & phi
Definition:
setRegionFluidFields.H:8
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
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:6
turbulence
compressible::turbulenceModel & turbulence
Definition:
setRegionFluidFields.H:30
rho
rho
Definition:
readInitialConditions.H:88
solve
CEqn solve()
applications
solvers
combustion
reactingFoam
rhoReactingBuoyantFoam
UEqn.H
Generated by
1.9.5
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.