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 UDF for reinjecting particles Reply To: UDF for reinjecting particles

Rob
Forum Moderator

If you have 100 parcels you'll have the last 5 be reinjected. But... with 1000 particles you'll have 905 reinjected. So a random number function may be better. 

Now, for the actual return part. If a parcel hits the outlet does it leave the domain before the UDF triggers? If you put a surface at a few cells into the domain (porous jump are really useful for this) does behaviour change?

[bingo_chatbox]