mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TurbulenceModels: Reorganized support macros to simplify the creation of additional turbulence model libraries
This commit is contained in:
@ -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()]
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user