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
0124a314
Commit
0124a314
authored
Jan 26, 2011
by
Mark Olesen
Browse files
COMP: avoid ambiguous construct from tmp
parent
129695a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/turbulenceModels/compressible/LES/Smagorinsky/Smagorinsky.C
View file @
0124a314
...
...
@@ -51,7 +51,7 @@ void Smagorinsky::updateSubGridScaleFields(const volTensorField& gradU)
volScalarField
b
((
2
.
0
/
3
.
0
)
*
tr
(
D
));
volScalarField
c
(
2
*
ck_
*
delta
()
*
(
dev
(
D
)
&&
D
));
volScalarField
k
=
sqr
((
-
b
+
sqrt
(
sqr
(
b
)
+
4
*
a
*
c
))
/
(
2
*
a
));
volScalarField
k
(
sqr
((
-
b
+
sqrt
(
sqr
(
b
)
+
4
*
a
*
c
))
/
(
2
*
a
))
)
;
muSgs_
=
ck_
*
rho
()
*
delta
()
*
sqrt
(
k
);
muSgs_
.
correctBoundaryConditions
();
...
...
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