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

Parallelize discrete phase model UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 4, 2014, 15:06
Question Parallelize discrete phase model UDF
  #1
New Member
 
Join Date: Apr 2014
Posts: 2
Rep Power: 0
volume808 is on a distinguished road
Hi there

I'm doing a spray simulation using ANSYS Fluent 12.1.4 on Windows 7 and a UDF to handle some material properties and droplet evaporation. The code works as it should and simulations converge good.

The simulation runs on a multi core pc but the DPM iterations use only one core. This slows down the whole process tremendously and I wonder if it was possible to use all (8) cores for the DPM/UDF iteration aswell.

I read some threads:
http://www.cfd-online.com/Forums/flu...computing.html
http://www.cfd-online.com/Forums/flu...nt-pc-udf.html

and also the according User Guide chapters:
http://aerojet.engr.ucdavis.edu/flue....htm#DPMDEFINE
http://aerojet.engr.ucdavis.edu/flue...df/node204.htm
http://aerojet.engr.ucdavis.edu/flue...df/node207.htm
http://www.arc.vt.edu/ansys_help/flu...elize_dpm.html

Unfortunately, I wasn't able to figure out whether the UDF or the DPM itself allows only one core at a time.

Thanks for your help!
volume808 is offline   Reply With Quote

Old   June 6, 2014, 12:59
Default Update: UDF not the problem
  #2
New Member
 
Join Date: Apr 2014
Posts: 2
Rep Power: 0
volume808 is on a distinguished road
Hi there

It turns out the UDF has no influence on my problem. Even when removing the code, DPM iterations only run on a single core.

I don't understand how to properly set up parallel DPM options. First I used "message passing", with the above stated result. When changing to "shared memory", I wanted to select 4 threads for the workpile algorithm but after running an iteration, fluent automatically resets this value to 1 (I'm running fluent parallel on 4 cores!).

Has anyone had similar issues?

Thanks again,
volume808

Last edited by volume808; June 6, 2014 at 14:12.
volume808 is offline   Reply With Quote

Reply


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
Discrete phase or two phase model in Fluent? andrea panizza FLUENT 14 September 6, 2015 17:18
discrete phase model venu FLUENT 4 December 28, 2011 07:52
Discrete phase model cfdkhashayar FLUENT 4 November 1, 2011 02:29
Help for INJECTION OR DISCRETE PHASE MODEL MANOJKUMAR FLUENT 0 December 27, 2005 05:05
Discrete Phase Model Ritesh Chhabra FLUENT 1 September 24, 2004 03:41


All times are GMT -4. The time now is 20:22.