|
[Sponsors] |
December 27, 2014, 05:57 |
K-Omega UDF
|
#1 |
New Member
Omar Osama Mohamed
Join Date: Nov 2014
Posts: 26
Rep Power: 12 |
Hi Dear,
It is the first time that I have to model turbulent fluid. I am supposed to use K-Omega Model. It asks me to define prandtl number for energy and wall as well. for alpha I don't know how to access it. I only find that command "rng_alpha(1., mu + mu_t, mu)" which is for K-epsilon RNG so how to get alpha that is used in K-Omega ? I want also to know if this udf is right or i have to change it Thanks in Advance Regards ======================================== #include "udf.h" // For Energy Prandtl Number // DEFINE_PRANDTL_K(user_pr_k,c,t) { real pr_k, alpha; real mu = C_MU_L(c,t); real mu_t = C_MU_T(c,t); alpha = rng_alpha(1., mu + mu_t, mu); pr_k = mu_t/((mu+mu_t)*alpha-mu); return pr_k; } //*************************// //for OMEGA DISSIPATION// DEFINE PRANDTL_O(user_pro_o,c,t) { real pro_o ; pro_o=2.00 ; return pro_o ; } //*******************// //For Wall// DEFINE PRANDTL_T_WALL(user_pr_t_wall,c,t) { real pr_t_wall; pr_t_wall=0.85; return pr_t_wall ; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
parse error while interpreting udf | Kristin | Fluent UDF and Scheme Programming | 3 | March 15, 2012 07:43 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
UDF: DEFINE_CG_MOTION for vertical jump motion of an electrode! | alban | Fluent UDF and Scheme Programming | 2 | June 8, 2010 19:54 |
dynamic mesh and udf problem | boboroo | FLUENT | 1 | January 20, 2008 22:26 |
I need UDF help. | S.Whitney | FLUENT | 0 | October 15, 2007 12:29 |