Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
5ebba3f8
Commit
5ebba3f8
authored
Feb 11, 2015
by
Henry
Browse files
driftFluxFoam: Name ghf correctly
Avoids problem of duplicate registration
parent
573829b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/solvers/multiphase/driftFluxFoam/createFields.H
View file @
5ebba3f8
...
...
@@ -29,7 +29,7 @@
#include "createPhi.H"
Info
<<
"Reading
transportProperties
\n
"
<<
endl
;
Info
<<
"Reading
incompressibleTwoPhaseInteractingMixture
\n
"
<<
endl
;
incompressibleTwoPhaseInteractingMixture
mixture
(
U
,
phi
);
volScalarField
&
alpha1
(
mixture
.
alpha1
());
...
...
@@ -38,18 +38,6 @@
const
dimensionedScalar
&
rho1
=
mixture
.
rhod
();
const
dimensionedScalar
&
rho2
=
mixture
.
rhoc
();
IOdictionary
transportProperties
(
IOobject
(
"transportProperties"
,
runTime
.
constant
(),
mesh
,
IOobject
::
MUST_READ_IF_MODIFIED
,
IOobject
::
NO_WRITE
)
);
// Mixture density
volScalarField
rho
(
...
...
@@ -84,7 +72,7 @@
(
relativeVelocityModel
::
New
(
transportProperties
,
mixture
,
mixture
)
);
...
...
@@ -104,7 +92,7 @@
Info
<<
"Calculating field (g.h)f
\n
"
<<
endl
;
volScalarField
gh
(
"gh"
,
g
&
mesh
.
C
());
surfaceScalarField
ghf
(
"gh"
,
g
&
mesh
.
Cf
());
surfaceScalarField
ghf
(
"gh
f
"
,
g
&
mesh
.
Cf
());
volScalarField
p
(
...
...
Write
Preview
Markdown
is supported
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