|
[Sponsors] |
June 22, 2020, 08:30 |
UDF Parallelization
|
#1 |
New Member
Join Date: May 2020
Posts: 23
Rep Power: 5 |
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! |
|
Tags |
parallelization, udf |
|
|
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 |