I'm using the lagrangien module of Code_Saturne for studying the dispersion of particles. What I would like to do is to define an inlet boundary condition for particles which is discontinued : at a certain time T0 (that comes after a restart) the particles are entering the domain with a certain velocity during a duration DT then the inlet of particles is stopped. The dispersion is then calculated based on the flow field.
So the BC for particles is only an inlet between T0 and (T0+DT).
Could you help me with that? Which is the subroutine that I need to modifiy with a test like :
Code: Select all
if ((ttcabs . GT. T0) .and. (ttcabs .LT. (T0+DT))) then ..
Thanks in advance for any help.
Jérémie