OpenFOAM
6
The OpenFOAM Foundation
applications
solvers
multiphase
twoPhaseEulerFoam
pU
DDtU.H
Go to the documentation of this file.
1
{
2
DDtU1 =
3
fvc::ddt
(
U1
)
4
+
fvc::div
(
phi1
,
U1
)
5
-
fvc::div
(
phi1
)*
U1
;
6
MRF
.addAcceleration(
U1
, DDtU1);
7
8
DDtU2
=
9
fvc::ddt
(
U2
)
10
+
fvc::div
(
phi2
,
U2
)
11
-
fvc::div
(
phi2
)*
U2
;
12
MRF
.addAcceleration(
U2
,
DDtU2
);
13
}
DDtU2
DDtU2
Definition:
DDtU.H:8
phi2
surfaceScalarField & phi2
Definition:
createFieldRefs.H:12
MRF
IOMRFZoneList & MRF
Definition:
setRegionFluidFields.H:50
Foam::fvc::div
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition:
fvcDiv.C:47
phi1
surfaceScalarField & phi1
Definition:
createFieldRefs.H:8
Foam::fvc::ddt
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition:
fvcDdt.C:45
U1
volVectorField & U1
Definition:
createFieldRefs.H:7
U2
volVectorField & U2
Definition:
createFieldRefs.H:11
Generated by
1.8.13