Znn3bq.jpeg
²é¿´: 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;

}
»Ø¸´´ËÂ¥

» ÊÕ¼±¾ÌûµÄÌÔÌûר¼­ÍƼö

ÎÒµÄÊÕ²Ø

» ²ÂÄãϲ»¶

» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:

ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

zhangxu86

Í­³æ (СÓÐÃûÆø)

ÒýÓûØÌû:
2Â¥: Originally posted by 47425804 at 2011-10-25 22:52:01:
¼ÆËãÁ½´ÎKºÍf£¿
²»Ã÷°×ʲôÒâ˼¡£
ÄĶù¼ÆËãÁ½´ÎKºÍfÁË£¿

k_g_s = (1.-void_g)*rho_s*fdrgs/taup;

k_g_s = (3./4.)*(cd*(1.-void_g)*abs_v*rho_g*eg)/diam2;
ÊÇÁ½´Î¼ÆËã½»»»ÏµÊýKÖµ£¬²»ÖªµÀÏÂÃæµÄKÖµÊǸÉʲôÓõÄÄØ£¿
3Â¥2011-10-26 09:12:50
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
²é¿´È«²¿ 16 ¸ö»Ø´ð

47425804

ľ³æ (ÕýʽдÊÖ)


¡ï
³ôË®¹µ(½ð±Ò+1): лл½»Á÷~~ 2011-10-26 10:07:31
¼ÆËãÁ½´ÎKºÍf£¿
²»Ã÷°×ʲôÒâ˼¡£
ÄĶù¼ÆËãÁ½´ÎKºÍfÁË£¿
2Â¥2011-10-25 22:52:01
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

47425804

ľ³æ (ÕýʽдÊÖ)


¡¾´ð°¸¡¿Ó¦Öú»ØÌû

¡ï
³ôË®¹µ(½ð±Ò+1): лл½»Á÷~~ 2011-10-27 16:10:28
ÒýÓûØÌû:
3Â¥: Originally posted by zhangxu86 at 2011-10-26 09:12:50:
k_g_s = (1.-void_g)*rho_s*fdrgs/taup;

k_g_s = (3./4.)*(cd*(1.-void_g)*abs_v*rho_g*eg)/diam2;
ÊÇÁ½´Î¼ÆËã½»»»ÏµÊýKÖµ£¬²»ÖªµÀÏÂÃæµÄKÖµÊǸÉʲôÓõÄÄØ£¿

ûÓмÆËãÁ½±é£¬ÕâÊÇÁ½¸öº¯Êý£¬Ò²¾ÍÊÇÁ½¸öÒ·Á¦Ä£ÐÍ£¬»¥ÏàûÓйØÏµµÄ¡£
4Â¥2011-10-26 10:13:08
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

zhangxu86

Í­³æ (СÓÐÃûÆø)

ÒýÓûØÌû:
4Â¥: Originally posted by 47425804 at 2011-10-26 10:13:08:
ûÓмÆËãÁ½±é£¬ÕâÊÇÁ½¸öº¯Êý£¬Ò²¾ÍÊÇÁ½¸öÒ·Á¦Ä£ÐÍ£¬»¥ÏàûÓйØÏµµÄ¡£

²»ÊÇÒ»¸öÒ·Á¦¾Í¿ÉÒÔÁËÂð£¬Ò»¸öÄ£ÐÍÔõô¿ÉÒÔÑ¡ÔñÁ½¸öÒ·Á¦Ä£ÐÍÄØ£¿Õâ¸öÒ»¸öÁ÷»¯´²µÄ°¸Àý£¬ÎÒ¾õµÃÖ»ÒªÒ»¸ö¾Í¿ÉÒÔÁ˰¡
5Â¥2011-10-26 19:30:10
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 307ÖÐÒ½¿¼Ñе÷¼Á +5 ÓÚÒÔ²ÉÞÀ 2026-04-14 5/250 2026-04-16 10:40 by dick_runner
[¿¼ÑÐ] 273Çóµ÷¼Á +6 °×¾Ó²»Ò×. 2026-04-09 8/400 2026-04-15 22:02 by wooluyong
[¿¼ÑÐ] 291 Çóµ÷¼Á +40 »¯¹¤2026½ì±ÏÒµÉ 2026-04-09 41/2050 2026-04-15 21:54 by noqvsozv
[¿¼ÑÐ] 297£¬¹¤¿Æµ÷¼Á? +10 ºÓÄÏũҵ´óѧ-ÄÜ 2026-04-14 10/500 2026-04-15 21:50 by noqvsozv
[¿¼ÑÐ] 071000ÉúÎïѧµ÷¼ÁÇóÖú +18 zzzzwww 2026-04-09 21/1050 2026-04-14 15:39 by zs92450
[¿¼ÑÐ] ¿¼ÑÐÇóµ÷¼Á +6 ban°àСÆß 2026-04-11 6/300 2026-04-14 14:06 by ¶ßÀ²AÃÎÖ»ÊǸöÃÎ
[¿¼ÑÐ] 305Çóµ÷¼Á +8 Â꿨°Í¿¨boom 2026-04-11 8/400 2026-04-14 09:04 by pengliang8036
[¿¼ÑÐ] 0854µ÷¼Á +10 ³¤¹­°Á 2026-04-11 11/550 2026-04-13 10:38 by wp06
[¿¼ÑÐ] 0831Ò»ÂÖµ÷¼Áʧ°ÜÇóÖú +10 СÐÜî£î£_s 2026-04-11 10/500 2026-04-12 22:43 by ³¤¹­°Á
[½Ìʦ֮¼Ò] ɽ¶«Ë«·ÇԺУ¿¼ºË³¬¼¶ÎÞµ×Ïߣ¬Áìµ¼ÐÒÔÖÀÖ»ö£¬½ÌʦÔâÑê¿Ö +3 qut2026 2026-04-11 7/350 2026-04-12 20:24 by qut2026
[¿¼ÑÐ] 2±¾£¬³õÊÔ303£¬0860Çóµ÷¼Á +6 floriea 2026-04-12 8/400 2026-04-12 18:13 by zhouxiaoyu
[¿¼ÑÐ] 085410 273Çóµ÷¼Á +10 X1999 2026-04-09 10/500 2026-04-12 09:24 by ÄæË®³Ë·ç
[¿¼ÑÐ] µ÷¼Á +6 ÇàµÆ²»¸º 2026-04-09 6/300 2026-04-11 20:35 by dongdian1
[¿¼ÑÐ] µ÷¼Á +5 ÎĵÀÐÇ̨ 2026-04-11 5/250 2026-04-11 15:01 by ¿­¿­Òª±ä˧
[¿¼ÑÐ] 346£¬¹¤¿ÆÇóµ÷¼Á +3 moser233 2026-04-09 3/150 2026-04-11 10:04 by zhq0425
[¿¼ÑÐ] 282£¬Çóµ÷¼Á +12 jggshjkkm 2026-04-09 14/700 2026-04-11 09:39 by Öí»á·É
[¿¼ÑÐ] 368Çóµ÷¼Á +3 17385968172 2026-04-10 3/150 2026-04-10 20:12 by µç×Ӱµ±ë
[¿¼ÑÐ] Ò»Ö¾Ô¸¾©Çø985£¬085401£¬Óë±¾¿Æ×¨ÒµÒ»Ö£¬µç×ÓÐÅÏ¢¹¤³Ì£¬ +4 Ñô¹â¿ªÀʵÄÄк¢ 2026-04-10 4/200 2026-04-10 18:27 by shenrf
[¿¼ÑÐ] Çóµ÷¼Á ²ÄÁÏÓ빤³Ì 324·Ö ר˶ +19 ôæôæÒ»ÊéÉú 2026-04-10 21/1050 2026-04-10 11:41 by wp06
[¿¼ÑÐ] ±¾¿ÆÎ÷¹¤´ó 0856 324Çóµ÷¼Á +10 wysyjs25 2026-04-09 11/550 2026-04-10 08:37 by 5268321
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û