|
[Sponsors] |
Access parameter value from within DEFINE_PROFILE ??? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 14, 2010, 18:21 |
Access parameter value from within DEFINE_PROFILE ???
|
#1 |
Member
Tim Diller
Join Date: Mar 2010
Location: Austin, TX
Posts: 32
Rep Power: 16 |
I'm working on a problem where I want to set the heat flux at a boundary based on the temperature at a specific point. I'm trying to simulate thermostatic control of a heater.
I generated a point surface using Surface>Point... It shows up as a surface group with an id and name, but this is not a ZONE_ID. I can create an output parameter (area averaged temperature) with Define>Parameters... but when I tried to access this with a Scheme macro (RP_Get_Value("parameter_name")) in the UDF, it failed. How can I look up this temperature from within the UDF??? I would really appreciate any help anyone can give on this. Thanks! |
|
May 17, 2010, 13:00 |
|
#2 |
Member
Francesco Capuano
Join Date: May 2010
Posts: 81
Rep Power: 16 |
Try to use:
RP_Get_Real("variable-name") |
|
May 17, 2010, 16:07 |
|
#3 |
Member
Join Date: Apr 2009
Posts: 46
Rep Power: 17 |
Define>Parameters???
What is your fluent version? |
|
May 17, 2010, 16:10 |
|
#4 |
Member
Tim Diller
Join Date: Mar 2010
Location: Austin, TX
Posts: 32
Rep Power: 16 |
I'm using v12.1
|
|
Tags |
define_profile, scheme, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
compile errors of boundary condition "expDirectionMixed" | liying02ts | OpenFOAM Bugs | 2 | February 1, 2010 21:11 |
MAxium residual...confusion with expert parameter | KK | CFX | 3 | February 8, 2008 11:47 |
UDF Data Access Macro | Woo Meng Wai | FLUENT | 0 | November 6, 2007 21:23 |
Error: access: unbound variable,HELP | sudhakar | FLUENT | 0 | January 16, 2007 00:21 |
Expert Parameter for compressible transient | ioannis | CFX | 0 | November 2, 2005 20:28 |