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

UDF Parallelization

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 22, 2020, 08:30
Default UDF Parallelization
  #1
New Member
 
Join Date: May 2020
Posts: 23
Rep Power: 5
Bibill is on a distinguished road
Dear all,

I have written a UDF in which i read a text file and store the data in a float vector to perform some computations on it. Typically, some descriptive statistics computations.

I have tested the code in a C compiler and it works well. However when i use it as a UDF in Fluent, the results differ, probably due to the parallel computation since it only does mathematics and does not access any data or information from Fluent in my UDF.

For instance, different nodes give me different values for a same variable.

Can anyone explain me how to force Fluent to treat the code like i would be treated by a simple C compiler (e.g Xcode) ?

Thanks in advance!
Bibill is offline   Reply With Quote

 

Tags
parallelization, 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
UDF for vapor pressure anuarun Fluent UDF and Scheme Programming 12 December 24, 2021 10:12
Save output of udf in another udf! JuanJoMex FLUENT 0 February 8, 2018 12:43
Replicating Scalable Wall Function with a UDF yousefaz FLUENT 0 August 4, 2017 02:30
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01


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