Added nuSmall - reconsider

This commit is contained in:
Hrvoje Jasak 2015-10-29 15:28:57 +00:00
parent 1fb9cc89eb
commit 0ab5857975

View file

@ -287,13 +287,15 @@ void coupledKEpsilon::correct()
// Turbulent kinetic energy equation // Turbulent kinetic energy equation
{ {
dimensionedScalar nutSmall("nutSmall", nut_.dimensions(), SMALL);
fvScalarMatrix kEqn fvScalarMatrix kEqn
( (
fvm::ddt(k_) fvm::ddt(k_)
+ fvm::div(phi_, k_) + fvm::div(phi_, k_)
+ fvm::SuSp(-fvc::div(phi_), k_) + fvm::SuSp(-fvc::div(phi_), k_)
- fvm::laplacian(DkEff(), k_) - fvm::laplacian(DkEff(), k_)
+ fvm::Sp(Cmu_*k_/(nut_ + nutSmall_), k_) + fvm::Sp(Cmu_*k_/(nut_ + nutSmall), k_)
- G - G
); );