Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
85da9e6a
Commit
85da9e6a
authored
Apr 29, 2014
by
Henry
Committed by
Andrew Heather
Apr 29, 2014
Browse files
twoPhaseEulerFoam: Now in fully-conservative form
parent
2bfa9c18
Changes
278
Hide whitespace changes
Inline
Side-by-side
applications/solvers/multiphase/twoPhaseEulerFoam/Allwclean
View file @
85da9e6a
...
...
@@ -4,7 +4,7 @@ set -x
wclean libso twoPhaseSystem
wclean libso interfacialModels
wclean libso phase
Inc
ompressibleTurbulenceModels
wclean libso phase
C
ompressibleTurbulenceModels
wclean
# ----------------------------------------------------------------- end-of-file
applications/solvers/multiphase/twoPhaseEulerFoam/Allwmake
View file @
85da9e6a
...
...
@@ -5,7 +5,7 @@ set -x
wmakeLnInclude interfacialModels
wmake libso twoPhaseSystem
wmake libso interfacialModels
wmake libso phase
Inc
ompressibleTurbulenceModels
wmake libso phase
C
ompressibleTurbulenceModels
wmake
# ----------------------------------------------------------------- end-of-file
applications/solvers/multiphase/twoPhaseEulerFoam/EEqns.H
View file @
85da9e6a
...
...
@@ -9,48 +9,58 @@
fvScalarMatrix
he1Eqn
(
fvm
::
ddt
(
alpha1
,
he1
)
+
fvm
::
div
(
alphaPhi1
,
he1
)
+
fvc
::
ddt
(
alpha1
,
K
1
)
+
fvc
::
div
(
alphaPhi1
,
K
1
)
fvm
::
ddt
(
alpha1
,
rho1
,
he1
)
+
fvm
::
div
(
alpha
Rho
Phi1
,
he1
)
-
fvm
::
Sp
(
fvc
::
ddt
(
alpha1
,
rho
1
)
+
fvc
::
div
(
alpha
Rho
Phi1
)
,
he
1
)
// Compressibity correction
-
fvm
::
Sp
(
fvc
::
ddt
(
alpha1
)
+
fvc
::
div
(
alphaPhi1
),
he1
)
-
(
fvc
::
ddt
(
alpha1
)
+
fvc
::
div
(
alphaPhi1
))
*
K1
+
fvc
::
ddt
(
alpha1
,
rho1
,
K1
)
+
fvc
::
div
(
alphaRhoPhi1
,
K1
)
-
(
fvc
::
ddt
(
alpha1
,
rho1
)
+
fvc
::
div
(
alphaRhoPhi1
))
*
K1
+
(
he1
.
name
()
==
thermo1
.
phasePropertyName
(
"e"
)
?
fvc
::
ddt
(
alpha1
)
*
p
+
fvc
::
div
(
alphaPhi1
,
p
)
:
-
alpha1
*
dpdt
)
/
rho1
)
-
fvm
::
laplacian
(
fvc
::
interpolate
(
alpha1
)
*
fvc
::
interpolate
(
thermo1
.
alphaEff
(
phase1
.
turbulence
().
mut
())),
he1
)
//***HGW- fvm::laplacian(alpha1*turbulence1->alphaEff(), he1)
-
fvm
::
laplacian
(
alpha1
*
phase1
.
turbulence
().
nuEff
(),
he1
)
==
heatTransferCoeff
*
(
thermo2
.
T
()
-
thermo1
.
T
())
/
rho1
+
heatTransferCoeff
*
he1
/
Cpv1
/
rho1
-
fvm
::
Sp
(
heatTransferCoeff
/
Cpv1
/
rho1
,
he1
)
heatTransferCoeff
*
(
thermo2
.
T
()
-
thermo1
.
T
())
+
heatTransferCoeff
*
he1
/
Cpv1
-
fvm
::
Sp
(
heatTransferCoeff
/
Cpv1
,
he1
)
);
fvScalarMatrix
he2Eqn
(
fvm
::
ddt
(
alpha2
,
he2
)
+
fvm
::
div
(
alphaPhi2
,
he2
)
+
fvc
::
ddt
(
alpha2
,
K
2
)
+
fvc
::
div
(
alphaPhi2
,
K
2
)
fvm
::
ddt
(
alpha2
,
rho2
,
he2
)
+
fvm
::
div
(
alpha
Rho
Phi2
,
he2
)
-
fvm
::
Sp
(
fvc
::
ddt
(
alpha2
,
rho
2
)
+
fvc
::
div
(
alpha
Rho
Phi2
)
,
he
2
)
// Compressibity correction
-
fvm
::
Sp
(
fvc
::
ddt
(
alpha2
)
+
fvc
::
div
(
alphaPhi2
),
he2
)
-
(
fvc
::
ddt
(
alpha2
)
+
fvc
::
div
(
alphaPhi2
))
*
K2
+
fvc
::
ddt
(
alpha2
,
rho2
,
K2
)
+
fvc
::
div
(
alphaRhoPhi2
,
K2
)
-
(
fvc
::
ddt
(
alpha2
,
rho2
)
+
fvc
::
div
(
alphaRhoPhi2
))
*
K2
+
(
he2
.
name
()
==
thermo2
.
phasePropertyName
(
"e"
)
?
fvc
::
ddt
(
alpha2
)
*
p
+
fvc
::
div
(
alphaPhi2
,
p
)
:
-
alpha2
*
dpdt
)
/
rho2
)
-
fvm
::
laplacian
(
fvc
::
interpolate
(
alpha2
)
*
fvc
::
interpolate
(
thermo2
.
alphaEff
(
phase2
.
turbulence
().
mut
())),
he2
)
//***HGW- fvm::laplacian(alpha2*turbulence2->alphaEff(), he2)
-
fvm
::
laplacian
(
alpha2
*
phase2
.
turbulence
().
nuEff
(),
he2
)
==
heatTransferCoeff
*
(
thermo1
.
T
()
-
thermo2
.
T
())
/
rho2
+
heatTransferCoeff
*
he2
/
Cpv2
/
rho2
-
fvm
::
Sp
(
heatTransferCoeff
/
Cpv2
/
rho2
,
he2
)
heatTransferCoeff
*
(
thermo1
.
T
()
-
thermo2
.
T
())
+
heatTransferCoeff
*
he2
/
Cpv2
-
fvm
::
Sp
(
heatTransferCoeff
/
Cpv2
,
he2
)
);
he1Eqn
.
relax
();
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/Make/options
View file @
85da9e6a
EXE_INC = \
-I$(LIB_SRC)/transportModels/compressible/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/transportModels/incompressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/
in
compressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/phase
Inc
ompressible/lnInclude \
-Iphase
Inc
ompressibleTurbulenceModels/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/phase
C
ompressible/lnInclude \
-Iphase
C
ompressibleTurbulenceModels/lnInclude \
-IinterfacialModels/lnInclude \
-ItwoPhaseSystem/lnInclude \
-Iaveraging
...
...
@@ -14,8 +15,8 @@ EXE_LIBS = \
-lfluidThermophysicalModels \
-lspecie \
-lturbulenceModels \
-l
in
compressibleTurbulenceModels \
-lphase
Inc
ompressibleTurbulenceModels \
-lcompressibleTurbulenceModels \
-lphase
C
ompressibleTurbulenceModels \
-lincompressibleTransportModels \
-lcompressibleTwoPhaseSystem \
-lcompressibleEulerianInterfacialModels \
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/UEqns.H
View file @
85da9e6a
...
...
@@ -2,8 +2,8 @@ mrfZones.correctBoundaryVelocity(U1);
mrfZones
.
correctBoundaryVelocity
(
U2
);
mrfZones
.
correctBoundaryVelocity
(
U
);
fvVectorMatrix
U1Eqn
(
U1
,
U1
.
dimensions
()
*
dimVol
/
dimTime
);
fvVectorMatrix
U2Eqn
(
U2
,
U2
.
dimensions
()
*
dimVol
/
dimTime
);
fvVectorMatrix
U1Eqn
(
U1
,
rho1
.
dimensions
()
*
U1
.
dimensions
()
*
dimVol
/
dimTime
);
fvVectorMatrix
U2Eqn
(
U2
,
rho2
.
dimensions
()
*
U2
.
dimensions
()
*
dimVol
/
dimTime
);
volScalarField
dragCoeff
(
fluid
.
dragCoeff
());
...
...
@@ -17,18 +17,18 @@ volScalarField dragCoeff(fluid.dragCoeff());
{
U1Eqn
=
(
fvm
::
ddt
(
alpha1
,
U1
)
+
fvm
::
div
(
alphaPhi1
,
U1
)
-
fvm
::
Sp
(
fvc
::
ddt
(
alpha1
)
+
fvc
::
div
(
alphaPhi1
),
U1
)
+
phase1
.
turbulence
().
divDevReff
(
U1
)
fvm
::
ddt
(
alpha1
,
rho1
,
U1
)
+
fvm
::
div
(
alpha
Rho
Phi1
,
U1
)
-
fvm
::
Sp
(
fvc
::
ddt
(
alpha1
,
rho1
)
+
fvc
::
div
(
alpha
Rho
Phi1
),
U1
)
+
phase1
.
turbulence
().
divDevR
hoR
eff
(
U1
)
==
-
fvm
::
Sp
(
dragCoeff
/
rho1
,
U1
)
-
fvm
::
Sp
(
dragCoeff
,
U1
)
-
(
liftForce
+
wallLubricationForce
+
turbulentDispersionForce
)
/
rho1
-
virtualMassCoeff
/
rho1
)
-
virtualMassCoeff
*
(
fvm
::
ddt
(
U1
)
+
fvm
::
div
(
phi1
,
U1
)
...
...
@@ -36,25 +36,25 @@ volScalarField dragCoeff(fluid.dragCoeff());
-
DDtU2
)
);
mrfZones
.
addCoriolis
(
alpha1
+
virtualMassCoeff
/
rho1
,
U1Eqn
);
mrfZones
.
addCoriolis
(
alpha1
*
rho1
+
virtualMassCoeff
,
U1Eqn
);
U1Eqn
.
relax
();
}
{
U2Eqn
=
(
fvm
::
ddt
(
alpha2
,
U2
)
+
fvm
::
div
(
alphaPhi2
,
U2
)
-
fvm
::
Sp
(
fvc
::
ddt
(
alpha2
)
+
fvc
::
div
(
alphaPhi2
),
U2
)
+
phase2
.
turbulence
().
divDevReff
(
U2
)
fvm
::
ddt
(
alpha2
,
rho2
,
U2
)
+
fvm
::
div
(
alpha
Rho
Phi2
,
U2
)
-
fvm
::
Sp
(
fvc
::
ddt
(
alpha2
,
rho2
)
+
fvc
::
div
(
alpha
Rho
Phi2
),
U2
)
+
phase2
.
turbulence
().
divDevR
hoR
eff
(
U2
)
==
-
fvm
::
Sp
(
dragCoeff
/
rho2
,
U2
)
-
fvm
::
Sp
(
dragCoeff
,
U2
)
+
(
liftForce
+
wallLubricationForce
+
turbulentDispersionForce
)
/
rho2
-
virtualMassCoeff
/
rho2
)
-
virtualMassCoeff
*
(
fvm
::
ddt
(
U2
)
+
fvm
::
div
(
phi2
,
U2
)
...
...
@@ -62,7 +62,7 @@ volScalarField dragCoeff(fluid.dragCoeff());
-
DDtU1
)
);
mrfZones
.
addCoriolis
(
alpha2
+
virtualMassCoeff
/
rho2
,
U2Eqn
);
mrfZones
.
addCoriolis
(
alpha2
*
rho2
+
virtualMassCoeff
,
U2Eqn
);
U2Eqn
.
relax
();
}
}
applications/solvers/multiphase/twoPhaseEulerFoam/createFields.H
View file @
85da9e6a
...
...
@@ -10,11 +10,13 @@
volVectorField
&
U1
=
phase1
.
U
();
surfaceScalarField
&
phi1
=
phase1
.
phi
();
surfaceScalarField
&
alphaPhi1
=
phase1
.
phiAlpha
();
surfaceScalarField
&
alphaPhi1
=
phase1
.
alphaPhi
();
surfaceScalarField
&
alphaRhoPhi1
=
phase1
.
alphaRhoPhi
();
volVectorField
&
U2
=
phase2
.
U
();
surfaceScalarField
&
phi2
=
phase2
.
phi
();
surfaceScalarField
&
alphaPhi2
=
phase2
.
phiAlpha
();
surfaceScalarField
&
alphaPhi2
=
phase2
.
alphaPhi
();
surfaceScalarField
&
alphaRhoPhi2
=
phase2
.
alphaRhoPhi
();
surfaceScalarField
&
phi
=
fluid
.
phi
();
...
...
@@ -49,19 +51,6 @@
fluid
.
U
()
);
volScalarField
rho
(
IOobject
(
"rho"
,
runTime
.
timeName
(),
mesh
,
IOobject
::
NO_READ
,
IOobject
::
AUTO_WRITE
),
fluid
.
rho
()
);
Info
<<
"Calculating field DDtU1 and DDtU2
\n
"
<<
endl
;
volVectorField
DDtU1
...
...
@@ -91,7 +80,7 @@
IOobject
::
NO_WRITE
),
mesh
,
dimensionedScalar
(
"zero"
,
dimensionSet
(
0
,
0
,
1
,
0
,
0
),
0
.
0
)
dimensionedScalar
(
"zero"
,
dimensionSet
(
-
1
,
3
,
1
,
0
,
0
),
0
.
0
)
);
volScalarField
rAU2
...
...
@@ -105,7 +94,7 @@
IOobject
::
NO_WRITE
),
mesh
,
dimensionedScalar
(
"zero"
,
dimensionSet
(
0
,
0
,
1
,
0
,
0
),
0
.
0
)
dimensionedScalar
(
"zero"
,
dimensionSet
(
-
1
,
3
,
1
,
0
,
0
),
0
.
0
)
);
label
pRefCell
=
0
;
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/Make/options
View file @
85da9e6a
EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/transportModels/compressible/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/transportModels/incompressible/transportModel \
-I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/
in
compressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/phase
Inc
ompressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/phase
C
ompressible/lnInclude \
-I../twoPhaseSystem/lnInclude
LIB_LIBS = \
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/turbulentDispersionModels/Burns/Burns.C
View file @
85da9e6a
...
...
@@ -26,7 +26,7 @@ License
#include
"Burns.H"
#include
"phasePair.H"
#include
"fvc.H"
#include
"Phase
Inc
ompressibleTurbulenceModel.H"
#include
"Phase
C
ompressibleTurbulenceModel.H"
#include
"addToRunTimeSelectionTable.H"
#include
"dragModel.H"
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/turbulentDispersionModels/Gosman/Gosman.C
View file @
85da9e6a
...
...
@@ -26,7 +26,7 @@ License
#include
"Gosman.H"
#include
"phasePair.H"
#include
"fvc.H"
#include
"Phase
Inc
ompressibleTurbulenceModel.H"
#include
"Phase
C
ompressibleTurbulenceModel.H"
#include
"addToRunTimeSelectionTable.H"
#include
"dragModel.H"
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/turbulentDispersionModels/constantTurbulentDispersionCoefficient/constantTurbulentDispersionCoefficient.C
View file @
85da9e6a
...
...
@@ -26,7 +26,7 @@ License
#include
"constantTurbulentDispersionCoefficient.H"
#include
"phasePair.H"
#include
"fvc.H"
#include
"Phase
Inc
ompressibleTurbulenceModel.H"
#include
"Phase
C
ompressibleTurbulenceModel.H"
#include
"addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
...
...
@@ -73,7 +73,7 @@ Foam::tmp<Foam::volVectorField>
Foam
::
turbulentDispersionModels
::
constantTurbulentDispersionCoefficient
::
F
()
const
{
return
return
-
Ctd_
*
pair_
.
dispersed
()
*
pair_
.
continuous
().
rho
()
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/pEqn.H
View file @
85da9e6a
...
...
@@ -5,8 +5,8 @@
rAU1
=
1
.
0
/
U1Eqn
.
A
();
rAU2
=
1
.
0
/
U2Eqn
.
A
();
surfaceScalarField
rAlphaAU1f
(
fvc
::
interpolate
(
alpha1
*
rAU1
));
surfaceScalarField
rAlphaAU2f
(
fvc
::
interpolate
(
alpha2
*
rAU2
));
surfaceScalarField
rAlphaAU1f
(
fvc
::
interpolate
(
alpha1
*
rho1
*
rAU1
));
surfaceScalarField
rAlphaAU2f
(
fvc
::
interpolate
(
alpha2
*
rho2
*
rAU2
));
volVectorField
HbyA1
(
...
...
@@ -31,7 +31,7 @@
surfaceScalarField
phiP1
(
"phiP1"
,
fvc
::
interpolate
(
(
1
.
0
/
rho1
)
*
rAU1
*
phase1
.
turbulence
().
pPrime
())
fvc
::
interpolate
(
rAU1
*
phase1
.
turbulence
().
pPrime
())
*
fvc
::
snGrad
(
alpha1
)
*
mesh
.
magSf
()
);
phiP1
.
boundaryField
()
==
0
;
...
...
@@ -40,7 +40,7 @@
surfaceScalarField
phiP2
(
"phiP2"
,
fvc
::
interpolate
(
(
1
.
0
/
rho2
)
*
rAU2
*
phase2
.
turbulence
().
pPrime
())
fvc
::
interpolate
(
rAU2
*
phase2
.
turbulence
().
pPrime
())
*
fvc
::
snGrad
(
alpha2
)
*
mesh
.
magSf
()
);
phiP2
.
boundaryField
()
==
0
;
...
...
@@ -61,14 +61,14 @@
phiHbyA1
+=
(
fvc
::
interpolate
(
(
1
.
0
/
rho1
)
*
rAU1
*
dragCoeff
)
*
phi2
fvc
::
interpolate
(
rAU1
*
dragCoeff
)
*
phi2
-
phiP1
+
rAlphaAU1f
*
(
g
&
mesh
.
Sf
())
);
phiHbyA2
+=
(
fvc
::
interpolate
(
(
1
.
0
/
rho2
)
*
rAU2
*
dragCoeff
)
*
phi1
fvc
::
interpolate
(
rAU2
*
dragCoeff
)
*
phi1
-
phiP2
+
rAlphaAU2f
*
(
g
&
mesh
.
Sf
())
);
...
...
@@ -82,8 +82,8 @@
surfaceScalarField
phiHbyA
(
"phiHbyA"
,
alpha1f
*
phiHbyA1
+
alpha2f
*
phiHbyA2
);
HbyA1
+=
(
1
.
0
/
rho1
)
*
rAU1
*
dragCoeff
*
U2
;
HbyA2
+=
(
1
.
0
/
rho2
)
*
rAU2
*
dragCoeff
*
U1
;
HbyA1
+=
rAU1
*
dragCoeff
*
U2
;
HbyA2
+=
rAU2
*
dragCoeff
*
U1
;
surfaceScalarField
rAUf
(
...
...
@@ -129,7 +129,7 @@
pEqnComp1
=
(
fvc
::
ddt
(
alpha1
,
rho1
)
+
fvc
::
div
(
alphaPhi
1
,
rho
1
)
fvc
::
ddt
(
alpha1
,
rho1
)
+
fvc
::
div
(
alpha
Rho
Phi1
)
-
fvc
::
Sp
(
fvc
::
ddt
(
alpha1
)
+
fvc
::
div
(
alphaPhi1
),
rho1
)
)
/
rho1
+
(
alpha1
/
rho1
)
*
correction
...
...
@@ -142,7 +142,7 @@
pEqnComp2
=
(
fvc
::
ddt
(
alpha2
,
rho2
)
+
fvc
::
div
(
alphaPhi
2
,
rho
2
)
fvc
::
ddt
(
alpha2
,
rho2
)
+
fvc
::
div
(
alpha
Rho
Phi2
)
-
fvc
::
Sp
(
fvc
::
ddt
(
alpha2
)
+
fvc
::
div
(
alphaPhi2
),
rho2
)
)
/
rho2
+
(
alpha2
/
rho2
)
*
correction
...
...
@@ -157,14 +157,14 @@
{
pEqnComp1
=
(
fvc
::
ddt
(
alpha1
,
rho1
)
+
fvc
::
div
(
alphaPhi
1
,
rho
1
)
fvc
::
ddt
(
alpha1
,
rho1
)
+
fvc
::
div
(
alpha
Rho
Phi1
)
-
fvc
::
Sp
(
fvc
::
ddt
(
alpha1
)
+
fvc
::
div
(
alphaPhi1
),
rho1
)
)
/
rho1
+
(
alpha1
*
psi1
/
rho1
)
*
correction
(
fvm
::
ddt
(
p
));
pEqnComp2
=
(
fvc
::
ddt
(
alpha2
,
rho2
)
+
fvc
::
div
(
alphaPhi
2
,
rho
2
)
fvc
::
ddt
(
alpha2
,
rho2
)
+
fvc
::
div
(
alpha
Rho
Phi2
)
-
fvc
::
Sp
(
fvc
::
ddt
(
alpha2
)
+
fvc
::
div
(
alphaPhi2
),
rho2
)
)
/
rho2
+
(
alpha2
*
psi2
/
rho2
)
*
correction
(
fvm
::
ddt
(
p
));
...
...
@@ -209,8 +209,8 @@
fluid
.
dgdt
()
=
(
pos
(
alpha
2
)
*
(
pEqnComp2
&
p
)
/
max
(
alpha2
,
scalar
(
1e-3
))
-
pos
(
alpha
1
)
*
(
pEqnComp1
&
p
)
/
max
(
alpha1
,
scalar
(
1e-3
))
alpha
1
*
(
pEqnComp2
&
p
)
-
alpha
2
*
(
pEqnComp1
&
p
)
);
p
.
relax
();
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/phase
Inc
ompressibleTurbulenceModels/Make/files
→
applications/solvers/multiphase/twoPhaseEulerFoam/phase
C
ompressibleTurbulenceModels/Make/files
View file @
85da9e6a
phase
Inc
ompressibleTurbulenceModels.C
phase
C
ompressibleTurbulenceModels.C
phasePressureModel/phasePressureModel.C
kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.C
...
...
@@ -35,4 +35,4 @@ kineticTheoryModels/frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C
kineticTheoryModels/derivedFvPatchFields/JohnsonJacksonParticleTheta/JohnsonJacksonParticleThetaFvPatchScalarField.C
kineticTheoryModels/derivedFvPatchFields/JohnsonJacksonParticleSlip/JohnsonJacksonParticleSlipFvPatchVectorField.C
LIB = $(FOAM_LIBBIN)/libphase
Inc
ompressibleTurbulenceModels
LIB = $(FOAM_LIBBIN)/libphase
C
ompressibleTurbulenceModels
applications/solvers/multiphase/twoPhaseEulerFoam/phase
Inc
ompressibleTurbulenceModels/Make/options
→
applications/solvers/multiphase/twoPhaseEulerFoam/phase
C
ompressibleTurbulenceModels/Make/options
View file @
85da9e6a
EXE_INC = \
-I$(LIB_SRC)/foam/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/transportModels/compressible/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/transportModels/incompressible/transportModel \
-I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/
in
compressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/phase
Inc
ompressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/phase
C
ompressible/lnInclude \
-I../twoPhaseSystem/lnInclude \
-I../interfacialModels/lnInclude
applications/solvers/multiphase/twoPhaseEulerFoam/phase
Inc
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/Gidaspow/GidaspowConductivity.C
→
applications/solvers/multiphase/twoPhaseEulerFoam/phase
C
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/Gidaspow/GidaspowConductivity.C
View file @
85da9e6a
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
4
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -80,7 +80,7 @@ Foam::kineticTheoryModels::conductivityModels::Gidaspow::kappa
{
const
scalar
sqrtPi
=
sqrt
(
constant
::
mathematical
::
pi
);
return
da
*
sqrt
(
Theta
)
*
return
rho1
*
da
*
sqrt
(
Theta
)
*
(
2
.
0
*
sqr
(
alpha1
)
*
g0
*
(
1
.
0
+
e
)
/
sqrtPi
+
(
9
.
0
/
8
.
0
)
*
sqrtPi
*
g0
*
0
.
5
*
(
1
.
0
+
e
)
*
sqr
(
alpha1
)
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/phase
Inc
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/Gidaspow/GidaspowConductivity.H
→
applications/solvers/multiphase/twoPhaseEulerFoam/phase
C
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/Gidaspow/GidaspowConductivity.H
View file @
85da9e6a
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
4
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/phase
Inc
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/HrenyaSinclair/HrenyaSinclairConductivity.C
→
applications/solvers/multiphase/twoPhaseEulerFoam/phase
C
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/HrenyaSinclair/HrenyaSinclairConductivity.C
View file @
85da9e6a
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
4
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -88,7 +88,7 @@ Foam::kineticTheoryModels::conductivityModels::HrenyaSinclair::kappa
scalar
(
1
)
+
da
/
(
6
.
0
*
sqrt
(
2
.
0
)
*
(
alpha1
+
scalar
(
1.0e-5
)))
/
L_
);
return
da
*
sqrt
(
Theta
)
*
return
rho1
*
da
*
sqrt
(
Theta
)
*
(
2
.
0
*
sqr
(
alpha1
)
*
g0
*
(
1
.
0
+
e
)
/
sqrtPi
+
(
9
.
0
/
8
.
0
)
*
sqrtPi
*
g0
*
0
.
25
*
sqr
(
1
.
0
+
e
)
*
(
2
.
0
*
e
-
1
.
0
)
*
sqr
(
alpha1
)
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/phase
Inc
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/HrenyaSinclair/HrenyaSinclairConductivity.H
→
applications/solvers/multiphase/twoPhaseEulerFoam/phase
C
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/HrenyaSinclair/HrenyaSinclairConductivity.H
View file @
85da9e6a
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
4
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/phase
Inc
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/Syamlal/SyamlalConductivity.C
→
applications/solvers/multiphase/twoPhaseEulerFoam/phase
C
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/Syamlal/SyamlalConductivity.C
View file @
85da9e6a
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
4
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -80,7 +80,7 @@ Foam::kineticTheoryModels::conductivityModels::Syamlal::kappa
{
const
scalar
sqrtPi
=
sqrt
(
constant
::
mathematical
::
pi
);
return
da
*
sqrt
(
Theta
)
*
return
rho1
*
da
*
sqrt
(
Theta
)
*
(
2
.
0
*
sqr
(
alpha1
)
*
g0
*
(
1
.
0
+
e
)
/
sqrtPi
+
(
9
.
0
/
8
.
0
)
*
sqrtPi
*
g0
*
0
.
25
*
sqr
(
1
.
0
+
e
)
*
(
2
.
0
*
e
-
1
.
0
)
*
sqr
(
alpha1
)
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/phase
Inc
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/Syamlal/SyamlalConductivity.H
→
applications/solvers/multiphase/twoPhaseEulerFoam/phase
C
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/Syamlal/SyamlalConductivity.H
View file @
85da9e6a
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
4
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
applications/solvers/multiphase/twoPhaseEulerFoam/phase
Inc
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/conductivityModel/conductivityModel.C
→
applications/solvers/multiphase/twoPhaseEulerFoam/phase
C
ompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/conductivityModel/conductivityModel.C
View file @
85da9e6a
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
4
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
Prev
1
2
3
4
5
…
14
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment