Skip to content
Snippets Groups Projects
Commit 807b9d27 authored by sergio's avatar sergio Committed by Andrew Heather
Browse files

ENH: Modification of KinematicParcel to stop source exchange in steady parcel when particle stops

parent 02cb25ae
No related merge requests found
......@@ -334,8 +334,14 @@ bool Foam::KinematicParcel<ParcelType>::move
p.stepFraction() = newStepFraction;
bool calcParcel = true;
if (!tracking && td.cloud().solution().steadyState())
{
calcParcel = false;
}
// Avoid problems with extremely small timesteps
if (dt > ROOTVSMALL)
if ((dt > ROOTVSMALL) && calcParcel)
{
// Update cell based properties
p.setCellValues(td, dt, cellI);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment