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:
Will Bainbridge
2022-07-14 09:08:24 +01:00
parent d07a8dfb7c
commit 7970715232

View File

@ -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))