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

Is possible to define an array like UDM in parallel udf?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2013, 10:09
Default Arrays in parallel udf
  #1
New Member
 
Join Date: Apr 2012
Posts: 4
Rep Power: 13
supliu is on a distinguished road
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 07:32.
supliu is offline   Reply With Quote

Old   March 20, 2013, 03:29
Default
  #2
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
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 03:05.
vasava is offline   Reply With Quote

Reply


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
using define mass transfer udf for cavitation Komon Fluent UDF and Scheme Programming 14 June 21, 2016 02:50
udf explaination Ijaz Fluent UDF and Scheme Programming 4 May 8, 2012 04:24
UDF problem libia87 Fluent UDF and Scheme Programming 1 May 4, 2012 21:49
UDF carbon conversion papteo Fluent UDF and Scheme Programming 1 August 18, 2011 07:32
Problem in Parallel UDF Giacomo de Renzi FLUENT 12 June 18, 2008 12:19


All times are GMT -4. The time now is 03:58.