|
[Sponsors] |
June 13, 2013, 10:12 |
F_udsi
|
#1 |
New Member
neda rahimi
Join Date: May 2013
Posts: 13
Rep Power: 13 |
Hi,
When I write " NV_V(v1,=,F_UDSI(f,t,0));" in my UDF and compile it, I get this error in Fluent "error C2109: subscript requires array or pointer type" please help me how can I solve this problem. Thank you. |
|
June 13, 2013, 22:21 |
|
#2 | |
Senior Member
Join Date: Feb 2010
Posts: 164
Rep Power: 17 |
Quote:
NV_V(v1,=,C_UDSI_G(c,t,0)); |
||
June 14, 2013, 14:27 |
Thanks
|
#3 |
New Member
neda rahimi
Join Date: May 2013
Posts: 13
Rep Power: 13 |
||
June 18, 2013, 03:32 |
|
#4 |
Senior Member
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17 |
Hi Nikki
NV_V is the vector component assignment. In this, both terms before and after '=' sign, should be vector or array. eg. real a[ND_ND], b[ND_ND]; ... NV_V(a,=,b); This will result in; a[1] = b[1] and so on. Best wishes Mvee |
|
Tags |
fluent, f_udsi |
|
|