From a129dda6a75062d23d18fa5cda02a17d1f068b10 Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Thu, 14 Jun 2018 15:59:15 +0100 Subject: [PATCH] phasePair: Corrected surface tension access --- .../phaseSystems/phasePair/phasePair/phasePair.C | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phasePair/phasePair/phasePair.C b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phasePair/phasePair/phasePair.C index 1cff0aa63..77d113817 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phasePair/phasePair/phasePair.C +++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phasePair/phasePair/phasePair.C @@ -24,7 +24,7 @@ License \*---------------------------------------------------------------------------*/ #include "phasePair.H" -#include "surfaceTensionModel.H" +#include "phaseSystem.H" // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // @@ -165,15 +165,7 @@ Foam::tmp Foam::phasePair::EoH2() const Foam::tmp Foam::phasePair::sigma() const { - return - phase1().mesh().lookupObject - ( - IOobject::groupName - ( - surfaceTensionModel::typeName, - phasePair::name() - ) - ).sigma(); + return phase1().fluid().sigma(phasePair(phase1(), phase2())); }