|
[Sponsors] |
July 26, 2013, 19:09 |
udf in parallel processing
|
#1 |
New Member
Join Date: Jul 2013
Posts: 14
Rep Power: 13 |
Hi everyone,
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 David |
|
July 28, 2013, 09:13 |
|
#2 |
Member
Christopher Hershey
Join Date: Feb 2012
Location: East Lansing, Michigan
Posts: 41
Rep Power: 14 |
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. |
|
Tags |
udf parallel processing |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel processing of OpenFOAM cases on multicore processor??? | g.akbari | OpenFOAM Running, Solving & CFD | 31 | November 1, 2017 10:25 |
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 05:13 |
Parallel Fluent +UDF | Jack Martinez | FLUENT | 0 | June 28, 2007 12:19 |
Parallel UDF Error | Andrew | FLUENT | 2 | March 30, 2007 12:11 |