CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Particle Injection File or DEFINE_DPM_INJECTION_IN (https://www.cfd-online.com/Forums/fluent/47065-particle-injection-file-define_dpm_injection_in.html)

Dave January 18, 2008 13:16

Particle Injection File or DEFINE_DPM_INJECTION_IN
 
I would like to inject particles and to continuously change the location of particular injecting particles as Fluent iterates.

I have tried creating a INJ file that defines the particle characteristics. However, Fluent does not recognize changes to the file as it iterates. You must reload the file for Fluent to recognize it.

I have also tried creating a UDF: #include "udf.h" #include "dpm.h" DEFINE_DPM_INJECTION_INIT(init_inj,plat) {

Particle *p;

loop(p,plat->p)

{

P_INIT_DIAM(p) = 0.000005;

} }

None of these methods appear to change the injection as Fluent iterates. I was wondering if someone could assist me in this problem.


All times are GMT -4. The time now is 20:01.