Skip to content
Snippets Groups Projects
Commit f588b4f0 authored by andy's avatar andy
Browse files

BUG: sprayParcel - updated treatment of liquid core parcels - mantis #999

parent 7cfb5e5d
Branches
Tags
No related merge requests found
......@@ -68,13 +68,11 @@ void Foam::SprayParcel<ParcelType>::calc
const CompositionModel<reactingCloudType>& 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<ParcelType>::calc
}
}
// restore coupled
td.cloud().solution().coupled() = coupled;
// restore coupled forces
td.cloud().forces().setCalcCoupled(true);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment