TurbulenceModels/phaseCompressible: Do not call correctNut in constructor

if it depends on the availability of the physical properties of both
phases as the construction of the phase-system may not be complete.
This commit is contained in:
Henry Weller
2015-06-12 09:43:07 +01:00
parent b5edc2c9c7
commit a5aefc54a7
3 changed files with 9 additions and 3 deletions

View File

@ -96,7 +96,9 @@ NicenoKEqn<BasicTurbulenceModel>::NicenoKEqn
{
if (type == typeName)
{
correctNut();
// Cannot correct nut yet: construction of the phases is not complete
// correctNut();
this->printCoeffs(type);
}
}

View File

@ -73,7 +73,9 @@ SmagorinskyZhang<BasicTurbulenceModel>::SmagorinskyZhang
{
if (type == typeName)
{
correctNut();
// Cannot correct nut yet: construction of the phases is not complete
// correctNut();
this->printCoeffs(type);
}
}

View File

@ -106,7 +106,9 @@ LaheyKEpsilon<BasicTurbulenceModel>::LaheyKEpsilon
{
if (type == typeName)
{
correctNut();
// Cannot correct nut yet: construction of the phases is not complete
// correctNut();
this->printCoeffs(type);
}
}