turbulenceModels/LES/Smagorinsky: Added support for fvOptions

This commit is contained in:
Henry Weller 2015-12-03 13:40:32 +00:00
parent e915136569
commit 211a9a377a

View file

@ -24,6 +24,7 @@ License
\*---------------------------------------------------------------------------*/
#include "Smagorinsky.H"
#include "fvOptions.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -69,6 +70,7 @@ void Smagorinsky<BasicTurbulenceModel>::correctNut()
this->nut_ = Ck_*this->delta()*sqrt(k);
this->nut_.correctBoundaryConditions();
fv::options::New(this->mesh_).correct(this->nut_);
BasicTurbulenceModel::correctNut();
}