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

Confusion about parallelizing a serial UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2018, 23:55
Smile Confusion about parallelizing a serial UDF
  #1
New Member
 
Yikun
Join Date: Apr 2018
Posts: 8
Rep Power: 8
Yikun is on a distinguished road
Hello, everyone.

I am working on a problem about parallelizing my serial UDF. I made some changes according to the ANSYS Help Documentation. Then I tried 2, 4 and 6 processes when parallelizing and it worked (same UDF code). But when I tried 8 processes, the initialization result was obviously wrong. I didn't figure out why it failed when I increased the processes number to eight. So, I post here for help. What's the possible reasons?

Thanks.

Last edited by Yikun; August 8, 2018 at 03:01.
Yikun is offline   Reply With Quote

Old   August 8, 2018, 01:48
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
that is unbelievable
by the way, what answer do you expect? You gave no information

best regards
AlexanderZ is offline   Reply With Quote

Old   August 8, 2018, 02:48
Default
  #3
New Member
 
Yikun
Join Date: Apr 2018
Posts: 8
Rep Power: 8
Yikun is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
that is unbelievable
by the way, what answer do you expect? You gave no information

best regards

Now, it worked. I changed the display message macro "message0" and it printed right initialization result on the console. It was all zero before I made a change. But I did not encounter this problem when I used 4 or 6 processes.

Best Regards.
Yikun is offline   Reply With Quote

Reply

Tags
fluent, parallelizing computing, udf


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
serial udf to parallel udf radioss Fluent UDF and Scheme Programming 10 January 19, 2019 08:56
Fluent UDF wrong number of cells in parallel - correct in serial dralexpe Fluent UDF and Scheme Programming 7 May 17, 2018 08:26
parallelization of serial Fluent UDF for surface reaction sri31049 FLUENT 0 September 8, 2010 14:15
Parallelizing UDF Hattori Hanzo Fluent UDF and Scheme Programming 4 July 17, 2010 14:26
parapllelizing a serial udf mahi FLUENT 1 November 13, 2008 08:32


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