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:
@ -96,7 +96,9 @@ NicenoKEqn<BasicTurbulenceModel>::NicenoKEqn
|
|||||||
{
|
{
|
||||||
if (type == typeName)
|
if (type == typeName)
|
||||||
{
|
{
|
||||||
correctNut();
|
// Cannot correct nut yet: construction of the phases is not complete
|
||||||
|
// correctNut();
|
||||||
|
|
||||||
this->printCoeffs(type);
|
this->printCoeffs(type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -73,7 +73,9 @@ SmagorinskyZhang<BasicTurbulenceModel>::SmagorinskyZhang
|
|||||||
{
|
{
|
||||||
if (type == typeName)
|
if (type == typeName)
|
||||||
{
|
{
|
||||||
correctNut();
|
// Cannot correct nut yet: construction of the phases is not complete
|
||||||
|
// correctNut();
|
||||||
|
|
||||||
this->printCoeffs(type);
|
this->printCoeffs(type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -106,7 +106,9 @@ LaheyKEpsilon<BasicTurbulenceModel>::LaheyKEpsilon
|
|||||||
{
|
{
|
||||||
if (type == typeName)
|
if (type == typeName)
|
||||||
{
|
{
|
||||||
correctNut();
|
// Cannot correct nut yet: construction of the phases is not complete
|
||||||
|
// correctNut();
|
||||||
|
|
||||||
this->printCoeffs(type);
|
this->printCoeffs(type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user