Temperature Profil Plate UDF
Hi There,
I try to implement a temperature profil at a wall boundary. That is what I have: #include "udf.h" DEFINE_PROFILE(t_profile,t,i) { real y[ND_ND]; /* this will hold the position vector */ real x; real z; face_t f; begin_f_loop(f,t) { F_CENTROID(y,f,t); F_PROFILE(f,t,i) = 293-100*x*z; } end_f_loop(f,t) } It does not work. Is there someone who might see the problem. In the end the profil does not matter. Just not uniform. I would like to go for linear from one side to the other. Here the plane, the wall is part of, is the y-z plane. Any help would be much appreciated. Thank you in advance |
All times are GMT -4. The time now is 20:12. |