How to implement free surface bc indirectly
Hi all, can somebody please tell me how to implement free surface boundary condition indirectly, using UDF (like DEFINE_PROFILE) in FLUENT? We can specify this bc directly by giving zero values to X and Y component of shear stress. But I want to know how to do this using UDF! Thanks & Regards Vishal
|
Re: How to implement free surface bc indirectly
Dear Vishal, I am not so sure but there exists a UDF in FLUENT UDFS list where you can compile and play safe. It is few lines of code and requires careful reading as it is well commented. Personally I hae no ideas nor I have used but it may help you. Let me know if that helps. also you can look in vivek ranades book there als he discusses few mwthods to implement free BC in FLUENT. Good Luck ! KP
|
Re: How to implement free surface bc indirectly
Hi KP, Thanks for the help. I found out how to specify the shear stress using UDF. Program is as follows, /* Free surface boundary condition using UDF */ #include "udf.h" DEFINE_PROFILE(freesur_profile, t, i) {
face_t f; begin_f_loop(f,t) { F_PROFILE(f,t,i) =0; } end_f_loop(f,t) } Thank you, once again. Vishal |
All times are GMT -4. The time now is 06:19. |