|
[Sponsors] |
June 26, 2014, 08:41 |
Allocating user defined memory
|
#1 |
New Member
Dhananjaya
Join Date: May 2014
Posts: 7
Rep Power: 12 |
Hi,
I am using C_UDMI(c,t,i) in one of the UDF's I am writing... I have stored output of that macro to a 'real' variable . I have also used gradient term C_T_G two times in code. Now how many user defined memry location and user defined node locations should I specify? Please help... |
|
April 14, 2015, 11:52 |
Have you solved your puzzle?
|
#2 | |
New Member
Join Date: Oct 2014
Posts: 4
Rep Power: 12 |
Quote:
Have you solved your puzzle? I have the same problem to set the user defined memry location and user defined node locations. For my case, I have 8 C_UDMI(c,t,i) and no other macros. Thank you for your guidance. |
||
April 14, 2015, 11:59 |
|
#3 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
If you have 1 UDM, you can only use C_UDMI(c,t,0).
If you have 2 UDMs, you can only use C_UDMI(c,t,0) and C_UDMI(c,t,1). If you have 3 UDMs, you can only use C_UDMI(c,t,0), C_UDMI(c,t,1) and C_UDMI(c,t,2). So just look at your code. If you use C_UDMI(c,t,5), you need at least six UDMs. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trouble setting user scalar and user memory names | tstorm | FLUENT | 6 | November 23, 2022 04:58 |
Creating new user defined material | Vidya | FLUENT | 4 | August 26, 2013 10:26 |
user defined sourcen term | xck1986 | CFX | 1 | July 8, 2010 09:35 |
user defined turbulence model | manuutin | STAR-CD | 5 | October 14, 2009 06:29 |
Gradient of a User defined Variable | Ramadas | CFX | 2 | August 21, 2007 10:19 |