Prashanth
Ansys Employee

I think you are just removing the particles. You would need remove the particles well and dump/transfer the mass/sources when the logic is satisfied.

Instead of:

tp->stream_index = -1

Try:

TP_MASS(tp)=0.0;

TP_DIAM(tp)=0.0; 

 MARK_TP(tp,P_FL_REMOVED);