|
[Sponsors] |
Injecting Particles via UDF in Parallel FLUENT |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 5, 2011, 18:45 |
Injecting Particles via UDF in Parallel FLUENT
|
#1 |
New Member
patty
Join Date: Nov 2010
Posts: 21
Rep Power: 16 |
I know how to inject particles from a UDF in serial mode, but when I try to in parallel mode, the simulation gets stuck without any error messages. Some basic questions would be:
1) Should I inject from an RP_HOST or RP_NODE directive? 2) If the nodes are responsible for injecting, do I need to identify the node the injection will occur on ahead of time so only that node is instructed to inject? Any help will be appreciated. I don't have much to go on since I'm not getting any error messages from FLUENT. I am running from a shared memory on a local machine. I've tried using hybrid and message passing methods for parallel DPM setup. Thanks! |
|
July 7, 2011, 01:49 |
|
#2 |
New Member
zino
Join Date: Mar 2010
Posts: 23
Rep Power: 16 |
Can you guide me how particles are injcted serialy?
|
|
July 7, 2011, 06:59 |
|
#3 |
Member
Nikolopoulos Aristeidis
Join Date: Jan 2011
Location: Athens, Greece
Posts: 62
Rep Power: 15 |
Are you using
DEFINE_DPM_INJECTION_INIT? |
|
July 11, 2011, 14:43 |
|
#4 |
New Member
patty
Join Date: Nov 2010
Posts: 21
Rep Power: 16 |
The easiest way to inject particles is going to be using injection panel in FLUENT unless you have a special case where you need to use a UDF. In that case, using the DEFINE_DPM_INJECTION_INIT will be easiest, and FLUENT has documentation on that. You can also use other macros where particle or injection parameters are not passed by FLUENT when the macro is called. For example, DEFINE_EXECUTE_AT_END could be used, but then you need to define pointers particle *p and injection *I, and you also need to be able to tell FLUENT which injection you're referring to. There's a separate page where I was trying to figure this out:
http://www.cfd-online.com/Forums/flu...ands-help.html That was for unsteady injection. I also found these threads helpful along the way: http://www.cfd-online.com/Forums/flu...-particle.html http://www.cfd-online.com/Forums/flu...s-problem.html http://www.cfd-online.com/Forums/flu...injection.html It takes a while to build an understanding of this stuff since FLUENT doesn't really document it well. If you keep at it, and keep searching for threads on this forum, you should be able to get there. I'm no expert, but I'm starting to get a handle on it. Good Luck! |
|
Tags |
dpm, message passing, parallel, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent UDF on parallel computing | Andrea | Fluent UDF and Scheme Programming | 22 | August 12, 2015 08:44 |
Problem trapping Particles with UDF | J. Krick | FLUENT | 2 | November 19, 2008 03:28 |
Parallel UDF Error | Andrew | FLUENT | 2 | March 30, 2007 12:11 |
Parallel UDF data passing causes Fluent to hang | Tom | FLUENT | 2 | June 9, 2006 14:17 |
UDF of Zimont model in fluent | Z | Main CFD Forum | 0 | February 17, 2005 04:07 |