|
[Sponsors] |
May 7, 2011, 10:06 |
udf-plz help
|
#1 |
Member
m.reza
Join Date: Apr 2011
Posts: 38
Rep Power: 15 |
hi
In my udf, A is introduced such: A= T*(2*C_K(cell, thread)/3-2*nu_t*S11)*C_T_G(cell,thread)[0]+T*(-2*nu_t*S12)*C_T_G(cell,thread)[1]; (I think A is a vector) so,how can I apply gradiant of A in my program? because C_A_G(c,t,i) didn't define in user guide. thank you for your help |
|
May 19, 2011, 08:42 |
|
#2 |
Member
john
Join Date: Nov 2010
Posts: 50
Rep Power: 16 |
Hi,
Define A is vector, then i think you can use C_A_G for example define NV_V(A,=, C_T_G(cell, thread) ND_VEC(A_X=C_T_G(cell, thread)[0]*xx, A_Y=C_T_G(cell, thread)[1]*xx,A_Z=C_T_G(cell, thread)[2])*xx); where 'xx' is any quanity now you can use A as a vector so, you can use C_A_G. This what i think, Expert can give better answer. you can try it. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
LES and UDF... plz help! | mariachi | FLUENT | 2 | January 24, 2010 12:11 |
UDF and LES....... plz help out! | mariachi | Fluent UDF and Scheme Programming | 0 | January 23, 2010 13:23 |
plz help. a UDF problem. | mehrdad | FLUENT | 0 | August 13, 2007 06:19 |
udf problem!! plz | guevara | FLUENT | 6 | March 5, 2003 05:56 |