CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

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

Register Blogs Members List Search Today's Posts Mark Forums Read

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

Old   March 20, 2013, 04:29
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 724
Rep Power: 16
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 04:05.
vasava is offline   Reply With Quote


Thread Tools
Display Modes

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 On
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 18:59.