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:
parent
b5edc2c9c7
commit
a5aefc54a7
3 changed files with 9 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue