We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation Fluids DDPM – remove partciles via UDF Reply To: DDPM – remove partciles via UDF

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);