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
186bf33d
Commit
186bf33d
authored
Feb 07, 2013
by
Henry
Browse files
compressibleInterFoam: renamed twoPhaseThermo -> twoPhaseMixtureThermo
parent
11f638c6
Changes
12
Hide whitespace changes
Inline
Side-by-side
applications/solvers/multiphase/compressibleInterFoam/Allwclean
View file @
186bf33d
...
...
@@ -2,7 +2,7 @@
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wclean libso twoPhaseThermo
wclean libso twoPhase
Mixture
Thermo
wclean
wclean compressibleInterDyMFoam
...
...
applications/solvers/multiphase/compressibleInterFoam/Allwmake
View file @
186bf33d
...
...
@@ -2,7 +2,7 @@
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wmake libso twoPhaseThermo
wmake libso twoPhase
Mixture
Thermo
wmake
wmake compressibleInterDyMFoam
...
...
applications/solvers/multiphase/compressibleInterFoam/Make/options
View file @
186bf33d
EXE_INC = \
-ItwoPhaseThermo \
-ItwoPhase
Mixture
Thermo \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/transportModels/twoPhaseProperties/lnInclude \
-I$(LIB_SRC)/transportModels/interfaceProperties/lnInclude \
...
...
@@ -7,7 +7,7 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude
EXE_LIBS = \
-ltwoPhaseThermo \
-ltwoPhase
Mixture
Thermo \
-lfluidThermophysicalModels \
-lspecie \
-ltwoPhaseProperties \
...
...
applications/solvers/multiphase/compressibleInterFoam/compressibleInterDyMFoam/Make/options
View file @
186bf33d
EXE_INC = \
-I.. \
-I../twoPhaseThermo \
-I../twoPhase
Mixture
Thermo \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/transportModels/twoPhaseProperties/lnInclude \
-I$(LIB_SRC)/transportModels/interfaceProperties/lnInclude \
...
...
@@ -11,7 +11,7 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude
EXE_LIBS = \
-ltwoPhaseThermo \
-ltwoPhase
Mixture
Thermo \
-lfluidThermophysicalModels \
-lspecie \
-ltwoPhaseProperties \
...
...
applications/solvers/multiphase/compressibleInterFoam/compressibleInterDyMFoam/compressibleInterDyMFoam.C
View file @
186bf33d
...
...
@@ -43,7 +43,7 @@ Description
#include
"subCycle.H"
#include
"interfaceProperties.H"
#include
"twoPhaseMixture.H"
#include
"twoPhaseThermo.H"
#include
"twoPhase
Mixture
Thermo.H"
#include
"turbulenceModel.H"
#include
"pimpleControl.H"
...
...
applications/solvers/multiphase/compressibleInterFoam/compressibleInterFoam.C
View file @
186bf33d
...
...
@@ -41,7 +41,7 @@ Description
#include
"rhoThermo.H"
#include
"interfaceProperties.H"
#include
"twoPhaseMixture.H"
#include
"twoPhaseThermo.H"
#include
"twoPhase
Mixture
Thermo.H"
#include
"turbulenceModel.H"
#include
"pimpleControl.H"
...
...
applications/solvers/multiphase/compressibleInterFoam/createFields.H
View file @
186bf33d
...
...
@@ -28,8 +28,8 @@
#include
"createPhi.H"
Info
<<
"Constructing twoPhaseThermo
\n
"
<<
endl
;
twoPhaseThermo
twoPhaseProperties
(
mesh
);
Info
<<
"Constructing twoPhase
Mixture
Thermo
\n
"
<<
endl
;
twoPhase
Mixture
Thermo
twoPhaseProperties
(
mesh
);
volScalarField
&
alpha1
(
twoPhaseProperties
.
alpha1
());
volScalarField
&
alpha2
(
twoPhaseProperties
.
alpha2
());
...
...
applications/solvers/multiphase/compressibleInterFoam/twoPhaseMixtureThermo/Make/files
0 → 100644
View file @
186bf33d
twoPhaseMixtureThermo.C
LIB = $(FOAM_LIBBIN)/libtwoPhaseMixtureThermo
applications/solvers/multiphase/compressibleInterFoam/twoPhaseThermo/Make/options
→
applications/solvers/multiphase/compressibleInterFoam/twoPhase
Mixture
Thermo/Make/options
View file @
186bf33d
File moved
applications/solvers/multiphase/compressibleInterFoam/twoPhaseThermo/twoPhaseThermo.C
→
applications/solvers/multiphase/compressibleInterFoam/twoPhase
Mixture
Thermo/twoPhase
Mixture
Thermo.C
View file @
186bf33d
...
...
@@ -23,7 +23,7 @@ License
\*---------------------------------------------------------------------------*/
#include
"twoPhaseThermo.H"
#include
"twoPhase
Mixture
Thermo.H"
#include
"gradientEnergyFvPatchScalarField.H"
#include
"mixedEnergyFvPatchScalarField.H"
...
...
@@ -32,12 +32,12 @@ License
namespace
Foam
{
defineTypeNameAndDebug
(
twoPhaseThermo
,
0
);
defineTypeNameAndDebug
(
twoPhase
Mixture
Thermo
,
0
);
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam
::
twoPhaseThermo
::
twoPhaseThermo
Foam
::
twoPhase
Mixture
Thermo
::
twoPhase
Mixture
Thermo
(
const
fvMesh
&
mesh
)
...
...
@@ -56,13 +56,13 @@ Foam::twoPhaseThermo::twoPhaseThermo
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam
::
twoPhaseThermo
::~
twoPhaseThermo
()
Foam
::
twoPhase
Mixture
Thermo
::~
twoPhase
Mixture
Thermo
()
{}
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
void
Foam
::
twoPhaseThermo
::
correct
()
void
Foam
::
twoPhase
Mixture
Thermo
::
correct
()
{
thermo1_
->
he
()
=
thermo1_
->
he
(
p_
,
T_
);
thermo1_
->
correct
();
...
...
@@ -76,19 +76,19 @@ void Foam::twoPhaseThermo::correct()
}
bool
Foam
::
twoPhaseThermo
::
incompressible
()
const
bool
Foam
::
twoPhase
Mixture
Thermo
::
incompressible
()
const
{
return
thermo1_
->
incompressible
()
&&
thermo2_
->
incompressible
();
}
bool
Foam
::
twoPhaseThermo
::
isochoric
()
const
bool
Foam
::
twoPhase
Mixture
Thermo
::
isochoric
()
const
{
return
thermo1_
->
isochoric
()
&&
thermo2_
->
isochoric
();
}
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhaseThermo
::
he
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
he
(
const
volScalarField
&
p
,
const
volScalarField
&
T
...
...
@@ -98,7 +98,7 @@ Foam::tmp<Foam::volScalarField> Foam::twoPhaseThermo::he
}
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhaseThermo
::
he
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
he
(
const
scalarField
&
p
,
const
scalarField
&
T
,
...
...
@@ -111,7 +111,7 @@ Foam::tmp<Foam::scalarField> Foam::twoPhaseThermo::he
}
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhaseThermo
::
he
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
he
(
const
scalarField
&
p
,
const
scalarField
&
T
,
...
...
@@ -124,13 +124,13 @@ Foam::tmp<Foam::scalarField> Foam::twoPhaseThermo::he
}
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhaseThermo
::
hc
()
const
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
hc
()
const
{
return
alpha1
()
*
thermo1_
->
hc
()
+
alpha2
()
*
thermo2_
->
hc
();
}
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhaseThermo
::
THE
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
THE
(
const
scalarField
&
h
,
const
scalarField
&
p
,
...
...
@@ -138,12 +138,12 @@ Foam::tmp<Foam::scalarField> Foam::twoPhaseThermo::THE
const
labelList
&
cells
)
const
{
notImplemented
(
"twoPhaseThermo::THE(...)"
);
notImplemented
(
"twoPhase
Mixture
Thermo::THE(...)"
);
return
T0
;
}
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhaseThermo
::
THE
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
THE
(
const
scalarField
&
h
,
const
scalarField
&
p
,
...
...
@@ -151,18 +151,18 @@ Foam::tmp<Foam::scalarField> Foam::twoPhaseThermo::THE
const
label
patchi
)
const
{
notImplemented
(
"twoPhaseThermo::THE(...)"
);
notImplemented
(
"twoPhase
Mixture
Thermo::THE(...)"
);
return
T0
;
}
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhaseThermo
::
Cp
()
const
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
Cp
()
const
{
return
alpha1
()
*
thermo1_
->
Cp
()
+
alpha2
()
*
thermo2_
->
Cp
();
}
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhaseThermo
::
Cp
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
Cp
(
const
scalarField
&
p
,
const
scalarField
&
T
,
...
...
@@ -175,13 +175,13 @@ Foam::tmp<Foam::scalarField> Foam::twoPhaseThermo::Cp
}
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhaseThermo
::
Cv
()
const
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
Cv
()
const
{
return
alpha1
()
*
thermo1_
->
Cv
()
+
alpha2
()
*
thermo2_
->
Cv
();
}
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhaseThermo
::
Cv
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
Cv
(
const
scalarField
&
p
,
const
scalarField
&
T
,
...
...
@@ -194,13 +194,13 @@ Foam::tmp<Foam::scalarField> Foam::twoPhaseThermo::Cv
}
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhaseThermo
::
gamma
()
const
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
gamma
()
const
{
return
alpha1
()
*
thermo1_
->
gamma
()
+
alpha2
()
*
thermo2_
->
gamma
();
}
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhaseThermo
::
gamma
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
gamma
(
const
scalarField
&
p
,
const
scalarField
&
T
,
...
...
@@ -213,13 +213,13 @@ Foam::tmp<Foam::scalarField> Foam::twoPhaseThermo::gamma
}
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhaseThermo
::
Cpv
()
const
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
Cpv
()
const
{
return
alpha1
()
*
thermo1_
->
Cpv
()
+
alpha2
()
*
thermo2_
->
Cpv
();
}
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhaseThermo
::
Cpv
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
Cpv
(
const
scalarField
&
p
,
const
scalarField
&
T
,
...
...
@@ -232,7 +232,7 @@ Foam::tmp<Foam::scalarField> Foam::twoPhaseThermo::Cpv
}
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhaseThermo
::
CpByCpv
()
const
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
CpByCpv
()
const
{
return
alpha1
()
*
thermo1_
->
CpByCpv
()
...
...
@@ -240,7 +240,7 @@ Foam::tmp<Foam::volScalarField> Foam::twoPhaseThermo::CpByCpv() const
}
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhaseThermo
::
CpByCpv
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
CpByCpv
(
const
scalarField
&
p
,
const
scalarField
&
T
,
...
...
@@ -253,13 +253,13 @@ Foam::tmp<Foam::scalarField> Foam::twoPhaseThermo::CpByCpv
}
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhaseThermo
::
kappa
()
const
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
kappa
()
const
{
return
alpha1
()
*
thermo1_
->
kappa
()
+
alpha2
()
*
thermo2_
->
kappa
();
}
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhaseThermo
::
kappa
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
kappa
(
const
label
patchi
)
const
...
...
@@ -270,7 +270,7 @@ Foam::tmp<Foam::scalarField> Foam::twoPhaseThermo::kappa
}
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhaseThermo
::
kappaEff
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
kappaEff
(
const
volScalarField
&
alphat
)
const
...
...
@@ -281,7 +281,7 @@ Foam::tmp<Foam::volScalarField> Foam::twoPhaseThermo::kappaEff
}
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhaseThermo
::
kappaEff
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
kappaEff
(
const
scalarField
&
alphat
,
const
label
patchi
...
...
@@ -294,7 +294,7 @@ Foam::tmp<Foam::scalarField> Foam::twoPhaseThermo::kappaEff
}
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhaseThermo
::
alphaEff
Foam
::
tmp
<
Foam
::
volScalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
alphaEff
(
const
volScalarField
&
alphat
)
const
...
...
@@ -305,7 +305,7 @@ Foam::tmp<Foam::volScalarField> Foam::twoPhaseThermo::alphaEff
}
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhaseThermo
::
alphaEff
Foam
::
tmp
<
Foam
::
scalarField
>
Foam
::
twoPhase
Mixture
Thermo
::
alphaEff
(
const
scalarField
&
alphat
,
const
label
patchi
...
...
applications/solvers/multiphase/compressibleInterFoam/twoPhaseThermo/twoPhaseThermo.H
→
applications/solvers/multiphase/compressibleInterFoam/twoPhase
Mixture
Thermo/twoPhase
Mixture
Thermo.H
View file @
186bf33d
...
...
@@ -22,19 +22,19 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Class
Foam::twoPhaseThermo
Foam::twoPhase
Mixture
Thermo
Description
SourceFiles
twoPhaseThermoI.H
twoPhaseThermo.C
twoPhaseThermoIO.C
twoPhase
Mixture
ThermoI.H
twoPhase
Mixture
Thermo.C
twoPhase
Mixture
ThermoIO.C
\*---------------------------------------------------------------------------*/
#ifndef twoPhaseThermo_H
#define twoPhaseThermo_H
#ifndef twoPhase
Mixture
Thermo_H
#define twoPhase
Mixture
Thermo_H
#include
"rhoThermo.H"
#include
"psiThermo.H"
...
...
@@ -46,10 +46,10 @@ namespace Foam
{
/*---------------------------------------------------------------------------*\
Class twoPhaseThermo Declaration
Class twoPhase
Mixture
Thermo Declaration
\*---------------------------------------------------------------------------*/
class
twoPhaseThermo
class
twoPhase
Mixture
Thermo
:
public
psiThermo
,
public
twoPhaseMixture
...
...
@@ -66,20 +66,20 @@ class twoPhaseThermo
public:
//- Runtime type information
TypeName
(
"twoPhaseThermo"
);
TypeName
(
"twoPhase
Mixture
Thermo"
);
// Constructors
//- Construct from mesh
twoPhaseThermo
twoPhase
Mixture
Thermo
(
const
fvMesh
&
mesh
);
//- Destructor
virtual
~
twoPhaseThermo
();
virtual
~
twoPhase
Mixture
Thermo
();
// Member Functions
...
...
@@ -112,14 +112,14 @@ public:
// Non-const access allowed for transport equations
virtual
volScalarField
&
he
()
{
notImplemented
(
"twoPhaseThermo::he()"
);
notImplemented
(
"twoPhase
Mixture
Thermo::he()"
);
return
thermo1_
->
he
();
}
//- Enthalpy/Internal energy [J/kg]
virtual
const
volScalarField
&
he
()
const
{
notImplemented
(
"twoPhaseThermo::he() const"
);
notImplemented
(
"twoPhase
Mixture
Thermo::he() const"
);
return
thermo1_
->
he
();
}
...
...
applications/solvers/multiphase/compressibleInterFoam/twoPhaseThermo/Make/files
deleted
100644 → 0
View file @
11f638c6
twoPhaseThermo.C
LIB = $(FOAM_LIBBIN)/libtwoPhaseThermo
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