Basically three places are relevant in my opinion. First picture is the boundary condition, where I set "reinject" and specify the injection to reinject the particles. All particles moving through the boundary should be treated that way if I understand correctly. Second picture is the initial injection that creates the particles in the domain. The it is linked to the phase "phase-2". Third picture is the injection to reinject the particles, which only specifies the new position and velocity.


So you're saying if I use a UDF I should use "DEFINE_DPM_INJECTION_INIT" instead of "DEFINE_DPM_BC"? I was thinking using the latter and doing it similar to example 5 in the UDF guide-