|May 7, 2011, 09:06||
Join Date: Apr 2011
Posts: 18Rep Power: 7
In my udf, A is introduced such:
A= T*(2*C_K(cell, thread)/3-2*nu_t*S11)*C_T_G(cell,thread)+T*(-2*nu_t*S12)*C_T_G(cell,thread);
(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, 07:42||
Join Date: Nov 2010
Posts: 50Rep Power: 8
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)*xx, A_Y=C_T_G(cell, thread)*xx,A_Z=C_T_G(cell, thread))*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.
|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 05:19|
|udf problem!! plz||guevara||FLUENT||6||March 5, 2003 05:56|