|July 26, 2013, 18:09||
udf in parallel processing
Join Date: Jul 2013
Posts: 14Rep Power: 5
i have built an udf for serial processing and it works, now i would like to make run this function also in the parallel processing but i know that there's something to do, some steps to follow to do this.
Can someone tell me what is the procedure?
Thanks a lot
|July 28, 2013, 08:13||
Join Date: Feb 2012
Location: East Lansing, Michigan
Posts: 41Rep Power: 6
You need to first read about "Parallelizing your UDF". Try Google first.
To sum up a little about what is going on, there are two terms you need to be aware of: Host and Node.
The Host is basically where the cortex (or Fluent GUI) is running and the Nodes are the processors where the calculations are occurring. There are no calculations happening on the Host. You rewrite your UDF to recognize these two new concepts and Fluent will compile two sets of your UDF (Host and Node). If you program your UDF correctly, you should be able to use the parallel UDF in serial as the compiler directives will be ignored.
You will need to keep in the back of your mind the answers to the following questions:
What part of my serial UDF do calculations? (This will be for your nodes)
Where am I defining my variables? (If defined in host, it will not be in nodes)
Do I need to pass any data in between nodes? (You will need to use macros like node_to_host)
Obviously this is just a real short description on parallelizing your UDF, but it at least introduces you to some of the vocabulary to search for.
|udf parallel processing|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Parallel processing of OpenFOAM cases on multicore processor???||g.akbari||OpenFOAM Running, Solving & CFD||28||November 2, 2015 18:34|
|Parallel INIT UDF trouble||mil3st3g||Fluent UDF and Scheme Programming||2||January 6, 2011 15:07|
|Transient pressure UDF for parallel fluent||droberts||Fluent UDF and Scheme Programming||5||October 11, 2010 04:13|
|Parallel Fluent +UDF||Jack Martinez||FLUENT||0||June 28, 2007 11:19|
|Parallel UDF Error||Andrew||FLUENT||2||March 30, 2007 11:11|