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

RP_Set_Real("variable-name", variable name)

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By max

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2009, 15:07
Default RP_Set_Real("variable-name", variable name)
  #1
bohis
Guest
 
Posts: n/a
Hi there,

I have the following problem. I have a compiled UDF (DEFINE_ON_DEMAND) with macro RP_Set_Real("variable-name", variable name) included. In serial process it works normaly, however, when running in parallel it doesnt set new value of "variable name". Does anybody know where the problem is??? thanks in advance!!!!

  Reply With Quote

Old   March 9, 2009, 08:44
Default Re: RP_Set_Real("variable-name", variable name)
  #2
max
Guest
 
Posts: n/a
Hello Bohis,

in parallel mode, only your host process but no compute nodes can communicate directly with fluent cortex which manages all scheme variables. Thus, when your DEFINE_ON_DEMAND is executed, the host actually manipulates your rp-variable, but your compute-nodes do not recognize the changes at all. The workaround is to use fluents host_to_node macros, have a look at the udf-guide section 7.5.2.

cheers max

sadjad.s and wc34071209 like this.
  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
My own variable Maurice CFX 1 June 12, 2007 04:48
a udf for new variable Asghari FLUENT 2 July 14, 2006 02:15
value of variable!! Thiyagarajandhayalan FLUENT 2 May 23, 2006 06:13
inner variable Sas Main CFD Forum 0 February 22, 2006 00:55
variable dahuilang Phoenics 1 September 24, 2001 04:22


All times are GMT -4. The time now is 00:51.