|
[Sponsors] |
March 4, 2016, 09:38 |
Help! injection loop has no effect
|
#1 |
New Member
Weijia Qian
Join Date: Mar 2016
Posts: 6
Rep Power: 10 |
Hi! i hope somebody could help me.
i want to loop between injections and modify them. but it seems that the loop has no effect. the udf listed below can be built, loaded and hooked. there are two injections but the results show only one. #include "udf.h" DEFINE_ADJUST(particle,d) { Injection *Ilist; Injection *I; Ilist=Get_dpm_injections(); loop(I,Ilist) { Message("Initializing Injection qwj: %s\n",I->name); } } |
|
March 5, 2016, 03:11 |
|
#2 |
New Member
Weijia Qian
Join Date: Mar 2016
Posts: 6
Rep Power: 10 |
why the "loop" has no effect?
|
|
March 8, 2016, 18:19 |
|
#3 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
Are you sure you have two injections shown in the injection list? If you're using unsteady tracking, also check that your particles are injected at the current simulation time.
|
|
March 8, 2016, 23:00 |
|
#4 | |
New Member
Weijia Qian
Join Date: Mar 2016
Posts: 6
Rep Power: 10 |
Quote:
I think UDF cannot create a particle when need in the solving process. therefore, i have to give up the Fluent approach and turn to OpenFOAM. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
injection problem | Mark New | FLUENT | 0 | August 4, 2013 02:30 |
loop over all injection streams in order to get the particles specifications | alighaffari | Fluent UDF and Scheme Programming | 0 | August 28, 2012 02:42 |
loop over all injection streams | alighaffari | Main CFD Forum | 1 | August 27, 2012 17:00 |
NACA0012 geometry/design software needed | Franny | Main CFD Forum | 13 | July 7, 2007 16:57 |