diff --git a/src/lagrangian/spray/parcels/Templates/SprayParcel/SprayParcel.C b/src/lagrangian/spray/parcels/Templates/SprayParcel/SprayParcel.C index a00cf7dd49..563a6763a2 100644 --- a/src/lagrangian/spray/parcels/Templates/SprayParcel/SprayParcel.C +++ b/src/lagrangian/spray/parcels/Templates/SprayParcel/SprayParcel.C @@ -68,13 +68,11 @@ void Foam::SprayParcel::calc const CompositionModel& composition = td.cloud().composition(); - bool coupled = td.cloud().solution().coupled(); - // check if parcel belongs to liquid core if (liquidCore() > 0.5) { - // liquid core parcels should not interact with the gas - td.cloud().solution().coupled() = false; + // liquid core parcels should not experience coupled forces + td.cloud().forces().setCalcCoupled(false); } // get old mixture composition @@ -138,8 +136,8 @@ void Foam::SprayParcel::calc } } - // restore coupled - td.cloud().solution().coupled() = coupled; + // restore coupled forces + td.cloud().forces().setCalcCoupled(true); }