Udf 3d
Hey All,
My question is about a 3D rectangular channel. I have a UDF defined for a temperature profile along the length (linear). I have modified my channel to a 3D one, but I do not want a temperature variation along the z direction... Will the code below work or should I specify a different function for z ?? #include "udf.h" DEFINE_PROFILE(test2pressure,thread,position) { real y[ND_ND]; real x; face_t f; begin_f_loop(f,thread) { F_CENTROID(y,f,thread); x=y[0]; F_PROFILE(f, thread, position) = (6.3571*x)+ 291.61 ; } end_f_loop(f,thread) } |
All times are GMT -4. The time now is 08:36. |