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

parallel UDF issue in multiphase modeling

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AlexanderZ

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 28, 2022, 09:59
Default parallel UDF issue in multiphase modeling
  #1
New Member
 
Prasant
Join Date: Sep 2020
Location: India
Posts: 13
Rep Power: 5
PKP_India is on a distinguished road
Hi ...

I need to count the solid cells in the domain and assign the numbers to the solid cells. While running the UDF in series the solid cells are numbered consecutively. but while parallelising the udf to count the solid cells, the count always starts with zero for every comupter node. Due to this the solid cell count assignment stored in UDMI always begins with zero for every comupter node.

I have attached the udf for reference and the udf results. I want to assign the max_count initial value for NODE-1= max_count final value in NODE-0. But in UDF results the max_count initialises always to zero for every NODE. Please suggest me how to assign the max_value before going through every NODE to non-zero value.
Attached Images
File Type: jpg UDMI-2 data.jpg (79.7 KB, 7 views)
File Type: png printf.PNG (79.9 KB, 10 views)
File Type: jpg UDMI-0 data.jpg (67.2 KB, 10 views)
Attached Files
File Type: c UDF.c (1.3 KB, 4 views)
PKP_India is offline   Reply With Quote

 


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
Issue with UDF in parallel processing MC1 FLUENT 5 August 29, 2017 03:17
Viscous dissipation UDF for multiphase DDPM (Divergence problem) bhargavbharathan FLUENT 0 November 30, 2016 12:23
Viscous dissipation UDF for multiphase DDPM bhargavbharathan Fluent Multiphase 0 November 30, 2016 12:17
Identifying cell in parallel UDF upeksa Fluent UDF and Scheme Programming 0 July 24, 2013 11:27
Help: how to realize UDF on parallel cluster? Haoyin FLUENT 1 August 6, 2007 13:53


All times are GMT -4. The time now is 19:13.