CAPE Forum

Ansys => Fluent => Topic started by: pitney1 on February 06, 2012, 06:46:12 PM

Title: How can I remove a particle from a domain using UDF?
Post by: pitney1 on February 06, 2012, 06:46:12 PM
Hello,

I am doing multiphase simulation with particles tracked using lagrangian approach. I want to set a condition that when the particles hit a certain location in the geometry, the particles should get removed from the simulation. Its heat and mass balance along with it.

Can any one suggest me how to do this?

Thank you.
Title: Re: How can I remove a particle from a domain using UDF?
Post by: william on February 06, 2012, 06:48:13 PM
To remove a particles, you need t use the following DPM macro:

p->stream_index = -1;

This command works for all particle types.
The mass and energy of the particle also gets lost along with the particle.