Skip to content
GitLab
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
95b8a978
Commit
95b8a978
authored
Nov 20, 2008
by
henry
Browse files
Correction to the PDR drag model.
parent
16e9f10e
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.C
View file @
95b8a978
...
...
@@ -117,7 +117,7 @@ Foam::tmp<Foam::volSymmTensorField> Foam::PDRDragModels::basic::Dcu() const
{
const
volScalarField
&
betav
=
U_
.
db
().
lookupObject
<
volScalarField
>
(
"betav"
);
return
rho_
*
CR_
*
mag
(
U_
)
+
(
Csu
*
I
)
*
betav
*
turbulence_
.
muEff
()
*
Aw2_
;
return
(
0
.
5
*
rho_
)
*
CR_
*
mag
(
U_
)
+
(
Csu
*
I
)
*
betav
*
turbulence_
.
muEff
()
*
Aw2_
;
}
...
...
@@ -125,8 +125,8 @@ Foam::tmp<Foam::volScalarField> Foam::PDRDragModels::basic::Gk() const
{
const
volScalarField
&
betav
=
U_
.
db
().
lookupObject
<
volScalarField
>
(
"betav"
);
return
rho_
*
mag
(
U_
)
*
(
U_
&
CT_
&
U_
)
return
(
0
.
5
*
rho_
)
*
mag
(
U_
)
*
(
U_
&
CT_
&
U_
)
+
Csk
*
betav
*
turbulence_
.
muEff
()
*
Aw2_
*
magSqr
(
U_
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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