Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

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

[bingo_chatbox]