multiphaseEulerFoam: Prevented incorrect warnings
When two phases interact, neither of which can become continuous, only a general model is appropriate. A warning should not be issued regarding a general model's use for this configuration.
This commit is contained in:
@ -145,6 +145,7 @@ void Foam::BlendedInterfacialModel<ModelType>::check() const
|
||||
if
|
||||
(
|
||||
modelGeneral_.valid()
|
||||
&& (can1In2 || can2In1 || canS)
|
||||
&& (!can1In2 || model1DispersedIn2_.valid())
|
||||
&& (!can2In1 || model2DispersedIn1_.valid())
|
||||
&& (!canS || model1SegregatedWith2_.valid())
|
||||
@ -165,6 +166,7 @@ void Foam::BlendedInterfacialModel<ModelType>::check() const
|
||||
if
|
||||
(
|
||||
modelsGeneralDisplaced_.set(phasei)
|
||||
&& (can1In2 || can2In1 || canS)
|
||||
&& (!can1In2 || models1DispersedIn2Displaced_.set(phasei))
|
||||
&& (!can2In1 || models2DispersedIn1Displaced_.set(phasei))
|
||||
&& (!canS || models1SegregatedWith2Displaced_.set(phasei))
|
||||
|
||||
Reference in New Issue
Block a user