CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Injecting Particles via UDF in Parallel FLUENT

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By TedBrogan

LinkBack Thread Tools Display Modes
Old   July 5, 2011, 17:45
Default Injecting Particles via UDF in Parallel FLUENT
New Member
Join Date: Nov 2010
Posts: 21
Rep Power: 7
TedBrogan is on a distinguished road
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.

TedBrogan is offline   Reply With Quote

Old   July 7, 2011, 00:49
New Member
Join Date: Mar 2010
Posts: 23
Rep Power: 7
zino is on a distinguished road
Can you guide me how particles are injcted serialy?
zino is offline   Reply With Quote

Old   July 7, 2011, 05:59
Nikolopoulos Aristeidis
Join Date: Jan 2011
Location: Athens, Greece
Posts: 62
Rep Power: 6
Nikolopoulos is on a distinguished road
Are you using
Nikolopoulos is offline   Reply With Quote

Old   July 11, 2011, 13:43
New Member
Join Date: Nov 2010
Posts: 21
Rep Power: 7
TedBrogan is on a distinguished road
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:

accessing dpm data commands, help!!!

That was for unsteady injection. I also found these threads helpful along the way:

creating and following a single particle

DPM mass problem

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!
rsaha likes this.
TedBrogan is offline   Reply With Quote


dpm, message passing, parallel, udf

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent UDF on parallel computing Andrea Fluent UDF and Scheme Programming 22 August 12, 2015 07:44
Problem trapping Particles with UDF J. Krick FLUENT 2 November 19, 2008 03:28
Parallel UDF Error Andrew FLUENT 2 March 30, 2007 11:11
Parallel UDF data passing causes Fluent to hang Tom FLUENT 2 June 9, 2006 13:17
UDF of Zimont model in fluent Z Main CFD Forum 0 February 17, 2005 04:07

All times are GMT -4. The time now is 13:14.