CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

Parallelize discrete phase model UDF

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

LinkBack Thread Tools Display Modes
Old   June 4, 2014, 14:06
Question Parallelize discrete phase model UDF
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:
Fluent UDF on parallel computing

and also the according User Guide chapters:

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, 11:59
Default Update: UDF not the problem
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,

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


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
Discrete phase or two phase model in Fluent? andrea panizza FLUENT 14 September 6, 2015 16:18
discrete phase model venu FLUENT 4 December 28, 2011 07:52
Discrete phase model cfdkhashayar FLUENT 4 November 1, 2011 02:29
Discrete Phase Model Ritesh Chhabra FLUENT 1 September 24, 2004 02:41

All times are GMT -4. The time now is 15:05.