From ed5341f7f2bfd4c548eca3f5cc217329e2620c2d Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Thu, 15 Apr 2021 11:57:25 +0100 Subject: [PATCH] multiphaseEulerFoam: InterfaceCompositionPhaseChangePhaseSystem: Fixed sign Resolves bug report https://bugs.openfoam.org/view.php?id=3664 --- .../InterfaceCompositionPhaseChangePhaseSystem.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/PhaseSystems/InterfaceCompositionPhaseChangePhaseSystem/InterfaceCompositionPhaseChangePhaseSystem.C b/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/PhaseSystems/InterfaceCompositionPhaseChangePhaseSystem/InterfaceCompositionPhaseChangePhaseSystem.C index 71cb1a6943..7efafe28d9 100644 --- a/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/PhaseSystems/InterfaceCompositionPhaseChangePhaseSystem/InterfaceCompositionPhaseChangePhaseSystem.C +++ b/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/PhaseSystems/InterfaceCompositionPhaseChangePhaseSystem/InterfaceCompositionPhaseChangePhaseSystem.C @@ -403,7 +403,7 @@ Foam::InterfaceCompositionPhaseChangePhaseSystem::dmdtf Pair::compare(pair, key) *( *(*dmidtfSus_[pair])[specie] - - *(*dmidtfSps_[pair])[specie]*phase.Y(specie) + + *(*dmidtfSps_[pair])[specie]*phase.Y(specie) ); } }