| ²é¿´: 4300 | »Ø¸´: 15 | |||
| µ±Ç°Ö»ÏÔʾÂú×ãÖ¸¶¨Ìõ¼þµÄ»ØÌû£¬µã»÷ÕâÀï²é¿´±¾»°ÌâµÄËùÓлØÌû | |||
zhangxu86ͳæ (СÓÐÃûÆø)
|
[ÇóÖú]
Ò·Á¦º¯ÊýµÄµÄUDF ÒÑÓÐ2È˲ÎÓë
|
||
|
ÇëÎʸ÷λ´óÏÀ£¬ÎÒµÄÄ£ÐÍʹÓõÄÊÇÅ·ÀÄ£ÐÍ£¬ÎïÖÊÊÇɳºÍË®£¬ÇëÎÊһϣ¬±àдɳˮÁ½ÕßÖ®¼äµÄÒ·Á¦Ê±£¬ÊÇʹÓÃÒºÒº½»»»ÏµÊý»¹ÊÇʹÓÃÒºÌå-¹ÌÌå½»»»ÏµÊýÄØ£¿ÏÂÃæµÄÊÇÎÒ¿´µ½Ò»ÆªÁ÷»¯´²Á¢ÌåÉϵijÌÐò£¬²»ÖªµÀΪʲô¼ÆËãÁ½´ÎKºÍfÄØ£¿ÉÏÃæÒ»¶Î³ÌÐòʹÓõľÍÊÇSyamlal-O¡®Brien£¬ÏÂÃæÒ»¶Î¾Í²»Ã÷°×ÁË¡£¡£¡£¡£¡£ /* This is a routine for customizing default Syamlal drag law in Fluent 6. The default drag law uses 0.8 (for void<=0.85) and 2.65 (void>0.85) for bfac. This is for a min fluid vel of 25 cm/s. The current drag law has been tuned for a min fluid vel of 8 cm/s and uses 0.28 and 9.07 for these parameters. */ #include "udf.h" #include "sg_mphase.h" # define pi 4.*atan(1.) #define diam2 3.e-4 DEFINE_EXCHANGE_PROPERTY(custom_drag_syam, cell, mix_thread, s_col, f_col) { Thread *thread_g, *thread_s; real x_vel_g, x_vel_s, y_vel_g, y_vel_s, abs_v, slip_x, slip_y, rho_g, rho_s, mu_g, reyp, afac, bfac, void_g, vfac, fdrgs, taup, k_g_s; /* find the threads for the gas (primary) and solids (secondary phases). These phases appear in columns 2 and 1 in the Interphase panel respectively*/ thread_g = THREAD_SUB_THREAD(mix_thread, s_col);/*gas phase*/ thread_s = THREAD_SUB_THREAD(mix_thread, f_col);/* solid phase*/ /* find phase velocities and properties*/ x_vel_g = C_U(cell, thread_g); y_vel_g = C_V(cell, thread_g); x_vel_s = C_U(cell, thread_s); y_vel_s = C_V(cell, thread_s); slip_x = x_vel_g - x_vel_s; slip_y = y_vel_g - y_vel_s; rho_g = C_R(cell, thread_g); rho_s = C_R(cell, thread_s); mu_g = C_MU_L(cell, thread_g); /*compute slip*/ abs_v = sqrt(slip_x*slip_x + slip_y*slip_y); /*compute reynolds number*/ reyp = rho_g*abs_v*diam2/mu_g; /* compute particle relaxation time */ taup = rho_s*diam2*diam2/18./mu_g; void_g = C_VOF(cell, thread_g);/* gas vol frac*/ /*compute drag and return drag coeff, k_g_s*/ afac = pow(void_g,4.14); if(void_g<=0.85) bfac = 0.281632*pow(void_g, 1.28); else bfac = pow(void_g, 9.076960); vfac = 0.5*(afac-0.06*reyp+sqrt(0.0036*reyp*reyp+0.12*reyp*(2.*bfac- afac)+afac*afac)); fdrgs = void_g*(pow((0.63*sqrt(reyp)/vfac+4.8*sqrt(vfac)/vfac),2))/24.0; k_g_s = (1.-void_g)*rho_s*fdrgs/taup; return k_g_s; } DEFINE_EXCHANGE_PROPERTY(custom_drag_ihme, cell, mix_thread, s_col, f_col) { Thread *thread_g, *thread_s; real x_vel_g, x_vel_s, y_vel_g, y_vel_s, abs_v, slip_x, slip_y, rho_g, rho_s, mu_g, reyp, cd, eg, void_g, k_g_s; /* find the threads for the gas (primary) and solids (secondary phases). These phases appear in columns 2 and 1 in the Interphase panel respectively*/ thread_g = THREAD_SUB_THREAD(mix_thread, s_col);/*gas phase*/ thread_s = THREAD_SUB_THREAD(mix_thread, f_col);/* solid phase*/ /* find phase velocities and properties*/ x_vel_g = C_U(cell, thread_g); y_vel_g = C_V(cell, thread_g); x_vel_s = C_U(cell, thread_s); y_vel_s = C_V(cell, thread_s); slip_x = x_vel_g - x_vel_s; slip_y = y_vel_g - y_vel_s; rho_g = C_R(cell, thread_g); rho_s = C_R(cell, thread_s); mu_g = C_MU_L(cell, thread_g); /*compute slip*/ abs_v = sqrt(slip_x*slip_x + slip_y*slip_y); /*compute reynolds number*/ reyp = rho_g*abs_v*diam2/mu_g; cd = (24./(reyp+SMALL)) + 5.48*pow((reyp+SMALL),-0.573) + 0.36; void_g = C_VOF(cell, thread_g);/* gas vol frac*/ eg = pow(void_g,-2.65); k_g_s = (3./4.)*(cd*(1.-void_g)*abs_v*rho_g*eg)/diam2; return k_g_s; } |
» ÊÕ¼±¾ÌûµÄÌÔÌûר¼ÍƼö
ÎÒµÄÊÕ²Ø |
» ²ÂÄãϲ»¶
271Çóµ÷¼Á
ÒѾÓÐ37È˻ظ´
Ò»Ö¾Ô¸Öпƴó²ÄÁÏÓ뻯¹¤£¬353·Ö»¹Óе÷¼ÁѧУÂð
ÒѾÓÐ8È˻ظ´
É격×Ô¼ö
ÒѾÓÐ3È˻ظ´
300Çóµ÷¼Á
ÒѾÓÐ10È˻ظ´
26Äêµç³Ø·½Ïò²©Ê¿ÉêÇë
ÒѾÓÐ5È˻ظ´
¼±Ðèµ÷¼Á
ÒѾÓÐ6È˻ظ´
RY£ºÖйú²ú³öµÄ¿ÆÑ§À¬»øÂÛÎÄ£¬¾ø¶ÔÊýÁ¿ºÍ±ÈÀý¶¼ÊÀ½çµÚÒ»
ÒѾÓÐ18È˻ظ´
291Çóµ÷¼Á
ÒѾÓÐ8È˻ظ´
0854µ÷¼Á
ÒѾÓÐ9È˻ظ´
322Çóµ÷¼Á
ÒѾÓÐ15È˻ظ´
» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:
udf±à³Ìͨ¹ý£¬µ«ÊÇÔÚFLUENTÖÐÔËÐгö´í£¬Âé·³udf¸ßÊÖ°ïæ¿´¿´
ÒѾÓÐ4È˻ظ´
Á÷»¯´²Ò·Á¦ÏµÊýUDF
ÒѾÓÐ9È˻ظ´
udf profile update interval ÊÇʲôÒâ˼£¿
ÒѾÓÐ5È˻ظ´
ʹÓÃUDFºó£¬³õʼ»¯´íÎó
ÒѾÓÐ11È˻ظ´
ÖØ½ð£¡¹ØÓÚudfµÄÎÊÌ⣡
ÒѾÓÐ5È˻ظ´
udf ÖØÁ¦·½Ïò±ä»¯
ÒѾÓÐ17È˻ظ´
UDF ±àÒë³öÏÖ²»ÈÏʶº¯ÊýÃû³Æ£¬ÏÔʾ±äÁ¿ÎÊÌâ
ÒѾÓÐ5È˻ظ´
¡¾ÌÖÂÛ¡¿Fluent±ß½çÌõ¼þ¼°ÐéÄâÖÊÁ¿Á¦
ÒѾÓÐ6È˻ظ´
¡¾ÇóÖú¡¿ÇóUDF¸ßÊÖ°ïæ¿´¿´ÎÒµÄÎÊÌâ
ÒѾÓÐ18È˻ظ´
¡¾ÇóÖú¡¿ÃܶȺ¯ÊýµÄUDF
ÒѾÓÐ6È˻ظ´
¡¾ÇóÖú¡¿Warning: incorrect cg motion UDF value on zone 35
ÒѾÓÐ5È˻ظ´
¡¾ÌÖÂÛ¡¿ÇëÎÊ´ó¼ÒÓÃUDFµÄʱºò£¬ÓÐûÓÐÅöµ½ÈçÏ´úÂ룬ºÜÖØÒªµÄ
ÒѾÓÐ7È˻ظ´
¡¾ÇóÖú¡¿ÈçºÎ¸Ä±äFluentÖеÄÒ·Á¦Ä£ÐÍ£¨UDF£©
ÒѾÓÐ12È˻ظ´
zhangxu86
ͳæ (СÓÐÃûÆø)
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 160
- Ìû×Ó: 115
- ÔÚÏß: 33.5Сʱ
- ³æºÅ: 1279329
- ×¢²á: 2011-04-27
- ÐÔ±ð: MM
- רҵ: Ë®ÎÄ¡¢Ë®×ÊÔ´
3Â¥2011-10-26 09:12:50
47425804
ľ³æ (ÕýʽдÊÖ)
- ·ÂÕæEPI: 1
- Ó¦Öú: 24 (СѧÉú)
- ½ð±Ò: 631.1
- É¢½ð: 505
- ºì»¨: 27
- Ìû×Ó: 807
- ÔÚÏß: 181.2Сʱ
- ³æºÅ: 905802
- ×¢²á: 2009-11-18
- רҵ: »¯Ñ§·´Ó¦¹¤³Ì
¡ï
³ôË®¹µ(½ð±Ò+1): лл½»Á÷~~ 2011-10-26 10:07:31
³ôË®¹µ(½ð±Ò+1): лл½»Á÷~~ 2011-10-26 10:07:31
|
¼ÆËãÁ½´ÎKºÍf£¿ ²»Ã÷°×ʲôÒâ˼¡£ ÄĶù¼ÆËãÁ½´ÎKºÍfÁË£¿ |
2Â¥2011-10-25 22:52:01
47425804
ľ³æ (ÕýʽдÊÖ)
- ·ÂÕæEPI: 1
- Ó¦Öú: 24 (СѧÉú)
- ½ð±Ò: 631.1
- É¢½ð: 505
- ºì»¨: 27
- Ìû×Ó: 807
- ÔÚÏß: 181.2Сʱ
- ³æºÅ: 905802
- ×¢²á: 2009-11-18
- רҵ: »¯Ñ§·´Ó¦¹¤³Ì
¡¾´ð°¸¡¿Ó¦Öú»ØÌû
¡ï
³ôË®¹µ(½ð±Ò+1): лл½»Á÷~~ 2011-10-27 16:10:28
³ôË®¹µ(½ð±Ò+1): лл½»Á÷~~ 2011-10-27 16:10:28
|
ûÓмÆËãÁ½±é£¬ÕâÊÇÁ½¸öº¯Êý£¬Ò²¾ÍÊÇÁ½¸öÒ·Á¦Ä£ÐÍ£¬»¥ÏàûÓйØÏµµÄ¡£ |
4Â¥2011-10-26 10:13:08
zhangxu86
ͳæ (СÓÐÃûÆø)
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 160
- Ìû×Ó: 115
- ÔÚÏß: 33.5Сʱ
- ³æºÅ: 1279329
- ×¢²á: 2011-04-27
- ÐÔ±ð: MM
- רҵ: Ë®ÎÄ¡¢Ë®×ÊÔ´
5Â¥2011-10-26 19:30:10













»Ø¸´´ËÂ¥