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
c8f89b17
Commit
c8f89b17
authored
Jul 10, 2008
by
Andrew Heather
Browse files
kappa and E now need read as scalars instead of dimensionedScalars
parent
2dce1522
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/turbulenceModels/LES/compressible/wallFunc/muSgsWallFunction/muSgsWallFunctionFvPatchScalarField.C
View file @
c8f89b17
...
...
@@ -114,12 +114,9 @@ void muSgsWallFunctionFvPatchScalarField::evaluate
const
LESModel
&
sgsModel
=
db
().
lookupObject
<
LESModel
>
(
"LESProperties"
);
scalar
kappa
=
dimensione
dScalar
(
sgsModel
.
lookup
(
"kappa"
))
.
value
()
;
scalar
kappa
=
rea
dScalar
(
sgsModel
.
lookup
(
"kappa"
));
scalar
E
=
dimensionedScalar
(
sgsModel
.
subDict
(
"wallFunctionCoeffs"
).
lookup
(
"E"
)
).
value
();
scalar
E
=
readScalar
(
sgsModel
.
subDict
(
"wallFunctionCoeffs"
));
const
scalarField
&
ry
=
patch
().
deltaCoeffs
();
...
...
src/turbulenceModels/LES/incompressible/wallFunc/nuSgsWallFunction/nuSgsWallFunctionFvPatchScalarField.C
View file @
c8f89b17
...
...
@@ -103,12 +103,9 @@ void nuSgsWallFunctionFvPatchScalarField::evaluate
const
LESModel
&
sgsModel
=
db
().
lookupObject
<
LESModel
>
(
"LESProperties"
);
scalar
kappa
=
dimensione
dScalar
(
sgsModel
.
lookup
(
"kappa"
))
.
value
()
;
scalar
kappa
=
rea
dScalar
(
sgsModel
.
lookup
(
"kappa"
));
scalar
E
=
dimensionedScalar
(
sgsModel
.
subDict
(
"wallFunctionCoeffs"
).
lookup
(
"E"
)
).
value
();
scalar
E
=
readScalar
(
sgsModel
.
subDict
(
"wallFunctionCoeffs"
).
lookup
(
"E"
));
const
scalarField
&
ry
=
patch
().
deltaCoeffs
();
...
...
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