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
72519e6b
Commit
72519e6b
authored
Sep 09, 2008
by
henry
Browse files
Corrected the handling of alpha.
parent
1a9ec895
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/turbulenceModels/RAS/incompressible/kOmega/kOmega.C
View file @
72519e6b
...
...
@@ -44,7 +44,6 @@ addToRunTimeSelectionTable(RASModel, kOmega, dictionary);
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
// Construct from components
kOmega
::
kOmega
(
const
volVectorField
&
U
,
...
...
@@ -72,6 +71,15 @@ kOmega::kOmega
0
.
072
)
),
alpha_
(
dimensioned
<
scalar
>::
lookupOrAddToDict
(
"alpha"
,
coeffDict_
,
0
.
52
)
),
alphaK_
(
dimensioned
<
scalar
>::
lookupOrAddToDict
...
...
@@ -222,7 +230,7 @@ void kOmega::correct()
-
fvm
::
Sp
(
fvc
::
div
(
phi_
),
omega_
)
-
fvm
::
laplacian
(
DomegaEff
(),
omega_
)
==
G
*
omega_
/
k_
alpha_
*
G
*
omega_
/
k_
-
fvm
::
Sp
(
beta_
*
omega_
,
omega_
)
);
...
...
src/turbulenceModels/RAS/incompressible/kOmega/kOmega.H
View file @
72519e6b
...
...
@@ -42,6 +42,7 @@ Description
kOmegaCoeffs
{
Cmu 0.09; // Equivalent to betaStar
alpha 0.52;
beta 0.072;
alphak 0.5;
alphaOmega 0.5;
...
...
@@ -81,6 +82,7 @@ class kOmega
dimensionedScalar
Cmu_
;
dimensionedScalar
beta_
;
dimensionedScalar
alpha_
;
dimensionedScalar
alphaK_
;
dimensionedScalar
alphaOmega_
;
...
...
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