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
a86b1ce4
Commit
a86b1ce4
authored
Jul 10, 2008
by
henry
Browse files
Corrected for SP.
parent
8f63c498
Changes
3
Hide whitespace changes
Inline
Side-by-side
applications/solvers/multiphase/compressibleLesInterFoam/alphaEqns.H
View file @
a86b1ce4
...
...
@@ -28,7 +28,7 @@
),
// Divergence term is handled explicitly to be
// consistent with the explicit transport solution
divU
*
min
(
alpha1
,
1
.
0
)
divU
*
min
(
alpha1
,
scalar
(
1
)
)
);
forAll
(
dgdt
,
celli
)
...
...
applications/solvers/multiphase/compressibleLesInterFoam/createFields.H
View file @
a86b1ce4
...
...
@@ -140,7 +140,7 @@
);
volScalarField
dgdt
=
pos
(
alpha2
)
*
fvc
::
div
(
phi
)
/
max
(
alpha2
,
0
.
0001
);
pos
(
alpha2
)
*
fvc
::
div
(
phi
)
/
max
(
alpha2
,
scalar
(
0
.
0001
)
)
;
// Construct interface from alpha1 distribution
interfaceProperties
interface
(
alpha1
,
U
,
twoPhaseProperties
);
...
...
applications/solvers/multiphase/compressibleLesInterFoam/pEqn.H
View file @
a86b1ce4
...
...
@@ -40,7 +40,10 @@
solve
(
(
max
(
alpha1
,
0
.
0
)
*
(
psi1
/
rho1
)
+
max
(
alpha2
,
0
.
0
)
*
(
psi2
/
rho2
))
(
max
(
alpha1
,
scalar
(
0
))
*
(
psi1
/
rho1
)
+
max
(
alpha2
,
scalar
(
0
))
*
(
psi2
/
rho2
)
)
*
pdEqnComp
()
+
pdEqnIncomp
);
...
...
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