CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

udf in parallel processing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2013, 19:09
Default udf in parallel processing
  #1
New Member
 
Join Date: Jul 2013
Posts: 14
Rep Power: 13
zacfranki is on a distinguished road
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
zacfranki is offline   Reply With Quote

Old   July 28, 2013, 09:13
Default
  #2
Member
 
Christopher Hershey
Join Date: Feb 2012
Location: East Lansing, Michigan
Posts: 41
Rep Power: 14
Hershey is on a distinguished road
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.
Hershey is offline   Reply With Quote

Reply

Tags
udf parallel processing


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 17:49.