| ²é¿´: 1979 | »Ø¸´: 3 | ||
zhanshuiqingÒø³æ (СÓÐÃûÆø)
|
[ÇóÖú]
SNÒ·Á¦Ä£ÐÍ£¨Schiller &Naumann)udfÐÞÕýµÄÇóÖú£¿£¿£¿ ÒÑÓÐ1È˲ÎÓë
|
|
ÔÚ¼ÆËãÆøÒºÁ½ÏàÁ÷Å·ÀÄ£ÐÍ£¬·¢ÏÖÆøÅÝÔ˶¯¹ý³ÌÖз¢Éú±äÐΣ¬¿¼ÂÇÆøÅÝ¿ÅÁ£³ß´çµÄ±ä»¯£¬¾õµÃfluent³£ÓõÄSNÒ·Á¦Ä£ÐͲ»Ì«ºÃ£¬¾Í×Ô±àÁËÒ»¸öÐÞÕýµÄÒ·Á¦Ä£ÐÍudf£¬¿ÉÊǼÆËãµÄʱºò£¬ÊÕÁ²¹ý³Ì·Ç³£²»Îȶ¨£¬Ð§¹ûºÜ²î£¬ÕÒ²»µ½ÔÒò£¬´ó¼Ò¸øÖ¸µãϰ¡ #include "udf.h" #include "sg.h" #include "sg_mphase.h" #include "flow.h" #include "mem.h" #include "metric.h" #define g 9.81 #define surface_t 0.132 /* surface tension coefficient*/ #define diam2 1.e-2 DEFINE_EXCHANGE_PROPERTY(custom_drag,cell,mix_thread,s_col,f_col) { Thread *thread_l, *thread_g; real x_vel_l, x_vel_g, y_vel_l, y_vel_g, z_vel_l, z_vel_g,abs_v, slip_x, slip_y,slip_z, rho_l, rho_g,delta_rho, mu_l, reyp, Eo, C_D1,C_D2,C_D,void_g,void_l, fdrgs, taup, k_g_s; /* find the threads for the liquid (primary phases) and solids (secondary phases)*/ thread_l = THREAD_SUB_THREAD(mix_thread, s_col);/* liquid phase */ thread_g = THREAD_SUB_THREAD(mix_thread, f_col);/* gas phase*/ /* find phase velocities and properties*/ x_vel_l = C_U(cell, thread_l); y_vel_l = C_V(cell, thread_l); z_vel_l = C_W(cell, thread_l); x_vel_g = C_U(cell, thread_g); y_vel_g = C_V(cell, thread_g); z_vel_g = C_W(cell, thread_g); /* slip velocity*/ slip_x = x_vel_l - x_vel_g; slip_y = y_vel_l - y_vel_g; slip_z = z_vel_l - z_vel_g; /*Parameters*/ rho_l = C_R(cell, thread_l); rho_g = C_R(cell, thread_g); delta_rho = rho_l - rho_g; mu_l = C_MU_L(cell, thread_l); /*compute slip*/ abs_v = sqrt(slip_x*slip_x + slip_y*slip_y + slip_z*slip_z); /*compute Reynold's number*/ reyp = rho_l*abs_v*diam2/mu_l; /*compute Eotvos number*/ Eo = g*delta_rho*diam2*diam2/surface_t; /*compute particle relaxtion time*/ taup = rho_g*diam2*diam2/18./mu_l; void_g = C_VOF(cell,thread_g); void_l = 1.-void_g; /*compute C_D */ C_D1 =24.*(1.+0.15*pow(reyp, 0.687))/reyp; C_D2 = 8./3.*Eo/(Eo+4.); if(C_D1 > C_D2) C_D = C_D1; else C_D = C_D2; /*compute drag and return drag coeff, k_g_s*/ fdrgs = C_D*reyp/24.0; k_g_s = void_g*void_l*rho_g*fdrgs/taup; return k_g_s; } |
» ²ÂÄãϲ»¶
278Çóµ÷¼Á
ÒѾÓÐ15È˻ظ´
284Çóµ÷¼Á
ÒѾÓÐ15È˻ظ´
293µ÷¼Á
ÒѾÓÐ16È˻ظ´
273Çóµ÷¼Á
ÒѾÓÐ45È˻ظ´
22408 266Çóµ÷¼Á
ÒѾÓÐ13È˻ظ´
266Çóµ÷¼Á
ÒѾÓÐ15È˻ظ´
Ò»Ö¾Ô¸»ª¶«Àí¹¤085601²ÄÁϹ¤³Ì303·ÖÇóµ÷¼Á
ÒѾÓÐ9È˻ظ´
ÉúÎïѧ328·ÖÇóµ÷¼Á
ÒѾÓÐ4È˻ظ´
277Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
265Çóµ÷¼Á
ÒѾÓÐ21È˻ظ´
» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:
¡¾ÇóÖú¡¿ÈçºÎ¸Ä±äFluentÖеÄÒ·Á¦Ä£ÐÍ£¨UDF£©
ÒѾÓÐ12È˻ظ´
jiangfan2008
ľ³æ (ÖøÃûдÊÖ)
- Ó¦Öú: 44 (СѧÉú)
- ½ð±Ò: 12794.9
- É¢½ð: 744
- ºì»¨: 10
- Ìû×Ó: 2349
- ÔÚÏß: 713.8Сʱ
- ³æºÅ: 942754
- ×¢²á: 2010-01-15
- רҵ: ΢/ÄÉ»úеϵͳ
2Â¥2013-05-04 01:15:16
bingyee007
½ð³æ (СÓÐÃûÆø)
- Ó¦Öú: 3 (Ó×¶ùÔ°)
- ½ð±Ò: 1289.5
- Ìû×Ó: 93
- ÔÚÏß: 103.4Сʱ
- ³æºÅ: 1384784
- ×¢²á: 2011-08-31
- ÐÔ±ð: GG
- רҵ: »¯Ñ§·´Ó¦¹¤³Ì
3Â¥2013-06-04 20:39:54
zhengquan23
гæ (³õÈëÎÄ̳)
- Ó¦Öú: 2 (Ó×¶ùÔ°)
- ½ð±Ò: 676
- ºì»¨: 1
- Ìû×Ó: 46
- ÔÚÏß: 48.2Сʱ
- ³æºÅ: 3573664
- ×¢²á: 2014-12-03
- רҵ: Á÷ÌåÁ¦Ñ§
¡¾´ð°¸¡¿Ó¦Öú»ØÌû
|
ÆøÅÝ³ß´ç¸øÄãÐÞ¸ÄÁË£¬ÄãµÄÆøÅݳߴçÌ«´ó£¬3-5mm±È½ÏºÃ°É£¿ #include "udf.h" #include "sg.h" #include "sg_mphase.h" #include "flow.h" #include "mem.h" #include "metric.h" #define g 9.81 #define surface_t 0.073 /* surface tension coefficient*/ #define diam2 4.e-3 DEFINE_EXCHANGE_PROPERTY(custom_drag,cell,mix_thread,s_col,f_col) { Thread *thread_l, *thread_g; real x_vel_l, x_vel_g, y_vel_l, y_vel_g, z_vel_l, z_vel_g,abs_v, slip_x, slip_y,slip_z, rho_l, rho_g,delta_rho, mu_l, reyp, Eo, C_D1,C_D2,C_D,void_g,void_l, fdrgs, taup, k_g_s; /* find the threads for the liquid (primary phases) and gas (secondary phases)*/ thread_l = THREAD_SUB_THREAD(mix_thread, s_col);/* liquid phase */ thread_g = THREAD_SUB_THREAD(mix_thread, f_col);/* gas phase*/ /* find phase velocities and properties*/ x_vel_l = C_U(cell, thread_l); y_vel_l = C_V(cell, thread_l); z_vel_l = C_W(cell, thread_l); x_vel_g = C_U(cell, thread_g); y_vel_g = C_V(cell, thread_g); z_vel_g = C_W(cell, thread_g); /* slip velocity*/ slip_x = x_vel_l - x_vel_g; slip_y = y_vel_l - y_vel_g; slip_z = z_vel_l - z_vel_g; /*Parameters*/ rho_l = C_R(cell, thread_l); rho_g = C_R(cell, thread_g); delta_rho = rho_l - rho_g; mu_l = C_MU_L(cell, thread_l); /*compute slip*/ abs_v = sqrt(slip_x*slip_x + slip_y*slip_y + slip_z*slip_z); /*compute Reynold's number*/ reyp = rho_l*abs_v*diam2/mu_l; /*compute Eotvos number*/ Eo = g*delta_rho*diam2*diam2/surface_t; /*compute particle relaxtion time*/ taup = rho_g*diam2*diam2/18./mu_l; void_g = C_VOF(cell,thread_g); void_l = 1.-void_g; /*compute C_D */ C_D1 =24.*(1.+0.15*pow(reyp, 0.687))/reyp; C_D2 = 8./3.*Eo/(Eo+4.); if(C_D1 > C_D2) C_D = C_D1; else C_D = C_D2; /*compute drag and return drag coeff, k_g_s*/ fdrgs = C_D*reyp/24.0; k_g_s = void_g*void_l*rho_g*fdrgs/taup; return k_g_s; } |
4Â¥2015-05-14 09:30:52














»Ø¸´´ËÂ¥