How at add multiple udf in fluent?
Hey guys,
I have been trying to add multiple udf in FLUENT but I couln,t do it. Can you please help me out? I have my xvelocity and y velocity which are functon of y. I was able to write only fir one of them. here is my code for x velocity. I would like to have amost the same profile for y velocity. #include "udf.h" DEFINE_PROFILE(xvelocity,t,i) { face_t f; real y; real x[ND_ND]; begin_f_loop(f,t) { F_CENTROID(x,f,t); y=x[1]; F_PROFILE(f,t,i)=(0.707/0.141 )*sqrt(y-0.035); } end_f_loop(f,t) } |
If you are writing them separately then try to write both of the them in one file, use different names for both functions
|
All times are GMT -4. The time now is 18:27. |