Commit 72519e6b authored by henry's avatar henry
Browse files

Corrected the handling of alpha.

parent 1a9ec895
......@@ -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_)
);
......
......@@ -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_;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment