CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   Particle Injection induced from a UDF (

Peter023 June 16, 2013 02:24

Particle Injection induced from a UDF
Hello FLUENT users,

I'm currently solving a problem about an injection of particles into domain at an arbitrary time during a steady flow simulation with unsteady particle tracking.

A well known way to inject particles is via the particle injection where the start and stop times are defined. The particles are then injected every time step within the defined time interval. If both times are 0, particles are injected only once.

However, I need to be able to inject particles at any time of the simulation at positions and velocities defined by my UDF. One way to do this I found on CDF forum is to inject more particles than I actually need and keep a part of them dormant (inactive, OFF) and activate them when needed. This is, however, a bit inefficient, since FLUENT will still include these particles into the simulation and slow it down.

Is there a better way how to force FLUENT to inject particles (defined by an injection) into simulation at any time I need from a UDF? Or is there a reasonably simple general way how to append or delete particles from an injection I* via a UDF?

Any suggestions will be highly appreciated.

Thank you.


All times are GMT -4. The time now is 03:42.