kEpsilon: Minor update of the lookup of fvOptions

This commit is contained in:
Henry Weller
2015-12-02 20:33:00 +00:00
parent 633e2b1255
commit 642690db30

View File

@ -41,9 +41,7 @@ void kEpsilon<BasicTurbulenceModel>::correctNut()
{ {
this->nut_ = Cmu_*sqr(k_)/epsilon_; this->nut_ = Cmu_*sqr(k_)/epsilon_;
this->nut_.correctBoundaryConditions(); this->nut_.correctBoundaryConditions();
fv::options::New(this->mesh_).correct(this->nut_);
fv::options& fvOptions(fv::options::New(this->mesh_));
fvOptions.correct(this->nut_);
BasicTurbulenceModel::correctNut(); BasicTurbulenceModel::correctNut();
} }