TurbulenceModels: Reorganized support macros to simplify the creation of additional turbulence model libraries

This commit is contained in:
Henry Weller
2016-07-29 15:59:09 +01:00
parent 04f73903b4
commit 46ba7267de
12 changed files with 220 additions and 61 deletions

View File

@ -135,17 +135,19 @@ Foam::MultiComponentPhaseModel<BasePhaseModel>::YiEqn
(
(inertIndex_ != -1)
&& (
Yi.name()
== IOobject::groupName
(
this->thermo_->composition().species()[inertIndex_],
this->name()
Yi.name()
== IOobject::groupName
(
this->thermo_->composition().species()[inertIndex_],
this->name()
)
)
)
|| (
!this->thermo_->composition().active
(
this->thermo_->composition().species()[Yi.member()]
|| (
!this->thermo_->composition().active
(
this->thermo_->composition().species()[Yi.member()]
)
)
)
)