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

Error in ND_VEC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2015, 03:21
Default Error in ND_VEC
  #1
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 16
mvee is on a distinguished road
Hi

I am using following syntex to define gradient of temp to UDMI.
ND_VEC(C_UDMI(c,ct,0),C_UDMI(c,ct,1),C_UDMI(c,ct,2 ),=,C_TMP0_G(c,ct));

I got following warning.

warning C4002: too many actual parameters for macro 'ND_VEC'

I tried following four options which did not work.
"
(1) NV_D(TEMP_GRAD,=,C_UDMI(c,ct,0),C_UDMI(c,ct,1),C_U DMI(c,ct,2));
ND_VEC(TEMP_GRAD,C_TMP0_G(c,ct));

(2) ND_SET(C_UDMI(c,ct,0),C_UDMI(c,ct,1),C_UDMI(c,ct,2 ),C_TMP0_G(c,ct)[0],C_TMP0_G(c,ct)[1],C_TMP0_G(c,ct)[2]);

(3) ND_V(C_UDMI(c,ct,0),C_UDMI(c,ct,1),C_UDMI(c,ct,2), =,C_TMP0_G(c,ct)[0],C_TMP0_G(c,ct)[1],C_TMP0_G(c,ct)[2]);

(4) C_UDMI(c,ct,0)=C_TMP0_G(c,ct)[0];
C_UDMI(c,ct,1)=C_TMP0_G(c,ct)[1];
C_UDMI(c,ct,2)=C_TMP0_G(c,ct)[2];
"

Can anybody suggest where is the source of error?

Any response is welcome.

Thank you
Mvee
mvee is offline   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



All times are GMT -4. The time now is 07:48.