Commit 4b3c77ca authored by Henry's avatar Henry
Browse files

LESModel and RASModel: Call read for immediate base-class rather than for the turbulenceModel class

parent 732cd388
......@@ -165,7 +165,7 @@ Foam::LESModel<BasicTurbulenceModel>::New
template<class BasicTurbulenceModel>
bool Foam::LESModel<BasicTurbulenceModel>::read()
{
if (turbulenceModel::read())
if (BasicTurbulenceModel::read())
{
LESDict_ <<= this->subDict("LES");
LESDict_.lookup("turbulence") >> turbulence_;
......
......@@ -177,7 +177,7 @@ Foam::RASModel<BasicTurbulenceModel>::New
template<class BasicTurbulenceModel>
bool Foam::RASModel<BasicTurbulenceModel>::read()
{
if (turbulenceModel::read())
if (BasicTurbulenceModel::read())
{
RASDict_ <<= this->subDict("RAS");
RASDict_.lookup("turbulence") >> turbulence_;
......
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