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
ac20f63c
Commit
ac20f63c
authored
Dec 22, 2017
by
Andrew Heather
Browse files
BUG: - continuation of commit
3b70a82b
parent
d1c80c59
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C
View file @
ac20f63c
...
...
@@ -229,9 +229,6 @@ void Foam::epsilonWallFunctionFvPatchScalarField::calculate
const
scalarField
magGradUw
(
mag
(
Uw
.
snGrad
()));
typedef
DimensionedField
<
scalar
,
volMesh
>
FieldType
;
const
FieldType
&
G
=
db
().
lookupObject
<
FieldType
>
(
turbModel
.
GName
());
// Set epsilon and G
forAll
(
nutw
,
facei
)
{
...
...
@@ -255,8 +252,6 @@ void Foam::epsilonWallFunctionFvPatchScalarField::calculate
else
{
epsilon0
[
celli
]
+=
w
*
2
.
0
*
k
[
celli
]
*
nuw
[
facei
]
/
sqr
(
y
[
facei
]);
G0
[
celli
]
+=
w
*
G
[
celli
];
}
}
}
...
...
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