Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
72519e6b
Commit
72519e6b
authored
16 years ago
by
henry
Browse files
Options
Downloads
Patches
Plain Diff
Corrected the handling of alpha.
parent
1a9ec895
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/turbulenceModels/RAS/incompressible/kOmega/kOmega.C
+10
-2
10 additions, 2 deletions
src/turbulenceModels/RAS/incompressible/kOmega/kOmega.C
src/turbulenceModels/RAS/incompressible/kOmega/kOmega.H
+2
-0
2 additions, 0 deletions
src/turbulenceModels/RAS/incompressible/kOmega/kOmega.H
with
12 additions
and
2 deletions
src/turbulenceModels/RAS/incompressible/kOmega/kOmega.C
+
10
−
2
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_
)
);
...
...
This diff is collapsed.
Click to expand it.
src/turbulenceModels/RAS/incompressible/kOmega/kOmega.H
+
2
−
0
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_
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment