|
[Sponsors] |
Is possible to define an array like UDM in parallel udf? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 10, 2013, 11:09 |
Arrays in parallel udf
|
#1 |
New Member
Join Date: Apr 2012
Posts: 4
Rep Power: 14 |
hello,
I have a doubt about arrays defined in parallel udf, plz help me. Below is some of my opinion, but i don't know if that is right or not. If I defined an array in a parallel udf without using compiling directives such as #if RP_NODE, the host and all the other compute nodes would have an independent copy of the array with the same name. If a node modified some elements of the array, the other nodes would not automatically see the modification. Am i right? Last edited by supliu; March 14, 2013 at 08:32. |
|
March 20, 2013, 04:29 |
|
#2 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
In my opinion unless you use RP_NODE or RP_HOST the changes in array would not be communicated between nodes and host.
Last edited by vasava; March 22, 2013 at 04:05. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
using define mass transfer udf for cavitation | Komon | Fluent UDF and Scheme Programming | 14 | June 21, 2016 03:50 |
udf explaination | Ijaz | Fluent UDF and Scheme Programming | 4 | May 8, 2012 05:24 |
UDF problem | libia87 | Fluent UDF and Scheme Programming | 1 | May 4, 2012 22:49 |
UDF carbon conversion | papteo | Fluent UDF and Scheme Programming | 1 | August 18, 2011 08:32 |
Problem in Parallel UDF | Giacomo de Renzi | FLUENT | 12 | June 18, 2008 13:19 |