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
1f1ed81a
Commit
1f1ed81a
authored
Jun 19, 2008
by
h.weller@opencfd.co.uk
Committed by
graham
Jun 19, 2008
Browse files
Bug fix:
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/8089
parent
4a07840b
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C
View file @
1f1ed81a
...
...
@@ -123,13 +123,13 @@ Foam::tmp<Foam::volScalarField> Foam::SchaefferFrictionalStress::muf
)
);
volScalarField
&
muf
_
=
tmuf
();
volScalarField
&
muf
f
=
tmuf
();
forAll
(
D
,
celli
)
{
if
(
alpha
[
celli
]
>
alphaMax
.
value
()
-
5e-2
)
{
muf
_
[
celli
]
=
muf
f
[
celli
]
=
0
.
5
*
pf
[
celli
]
*
sin
(
phi
.
value
())
/
(
sqrt
(
1
.
0
/
6
.
0
*
(
sqr
(
D
[
celli
].
xx
()
-
D
[
celli
].
yy
())
...
...
@@ -141,7 +141,7 @@ Foam::tmp<Foam::volScalarField> Foam::SchaefferFrictionalStress::muf
}
}
return
muf
_
;
return
t
muf
;
}
...
...
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