| ²é¿´: 676 | »Ø¸´: 0 | ||
xxfreedomxxгæ (³õÈëÎÄ̳)
|
[ÇóÖú]
ÇóÖú¸÷λ´óÉñ£¬ÎÒµÄwen-yuÒ·Á¦UDF²»ÄÜÊÕÁ²
|
|
ÇóÖú¸÷λ´óÉñ£¬ÈçÏÂÊÇÎÒµÄUDF£¬ÎÒ·¢ÏÖ×Ô¼ºÐ´µÄ±ðµÄÒ·Á¦¹«Ê½ºÍÕâ¸öwen-yuµÄUDFÊÇÒ»¸öÇé¿ö£¬ÎÒ×öµÄÊǹÌÒº½Á°èÌåϵ£¬500¸öʱ¼ä²½Ö®ºóµÚ¶þÏîËÙ¶ÈÔÚ10-3ÒÔÉϾÍÊÕÁ²²»ÁËÁË£¬ÂýÂýÔö´ó£¬µ÷½ÚÊÕÁ²Òò×Ó£¬Ê±¼ä²½³¤£¬ÍÄÁ÷Ä£ÐÍ£¬¶¼²»ÐУ¬µ¥´¿ÓÃ×Ô´øÄ£Ð;ÍûÓÐÎÊÌ⣬ѡÔñµÄʱºò¼ÓÈëÁËbrucatoµÄÄ£ÐͽøÐÐÐÞÕý¡£ÔÚÕâÀ│ÁËÁ½¸öÐÇÆÚÁË¡£ #include "udf.h" #define pi 4.*atan(1.) DEFINE_EXCHANGE_PROPERTY(s_l_drag_IL_sl, cell, mix_thread, s_col, f_col) { Thread *thread_l, *thread_s; real abs_v, slip_x, slip_y, slip_z; real reyp, void_s, rho_l, rho_s, mu_l, fdrag, k_l_s, void_l, diam2, Res; /* find the threads for the liquid(primary) */ /* and solids (secondary phases) */ thread_l = THREAD_SUB_THREAD(mix_thread, f_col); /* liquid phase */ thread_s = THREAD_SUB_THREAD(mix_thread, s_col); /* solid phase */ /* find phase velocities and properties*/ rho_l = C_R(cell, thread_l); mu_l = C_MU_L(cell, thread_l); rho_s = C_R(cell, thread_s); diam2 = C_PHASE_DIAMETER(cell, thread_s); slip_x = C_U(cell, thread_l) - C_U(cell, thread_s); slip_y = C_V(cell, thread_l) - C_V(cell, thread_s); slip_z = C_W(cell, thread_l) - C_W(cell, thread_s); /*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 particle relaxation time */ void_s = C_VOF(cell, thread_s);/* solid vol frac*/ void_l = C_VOF(cell, thread_l);/* liquid vol frac*/ Res=void_l*reyp; if(Res<=1000){ fdrag = 24.*(1. + 0.15*pow(Res, 0.687)/Res; } else(Res>1000){ fdrag = 0.44; } k_l_s = 0.75*void_s*void_l*mu_l*fdrag*abs_v*pow(void_l, -2.65)/diam2; return k_l_s; } ![]() |
» ²ÂÄãϲ»¶
294Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
322Çóµ÷¼Á£ºÒ»Ö¾Ô¸ºþÄÏ´óѧ ²ÄÁÏÓ뻯¹¤£¨085600£©£¬ÒѹýÁù¼¶¡£
ÒѾÓÐ14È˻ظ´
282Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
µ÷¼Á
ÒѾÓÐ9È˻ظ´
315Çóµ÷¼Á
ÒѾÓÐ13È˻ظ´
²ÄÁϵ÷¼Á
ÒѾÓÐ8È˻ظ´
070300»¯Ñ§Ñ§Ë¶311·ÖÇóµ÷¼Á
ÒѾÓÐ6È˻ظ´
Çóµ÷¼Á
ÒѾÓÐ7È˻ظ´
²ÄÁϵ÷¼Á
ÒѾÓÐ9È˻ظ´
Ò»Ö¾Ô¸211£¬»¯Ñ§Ñ§Ë¶£¬310·Ö£¬±¾¿ÆÖصãË«·Ç£¬Çóµ÷¼Á
ÒѾÓÐ9È˻ظ´















»Ø¸´´ËÂ¥