February 1, 2024 at 3:11 pm
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);