²é¿´: 2089  |  »Ø¸´: 4
¡¾Óн±½»Á÷¡¿»ý¼«»Ø¸´±¾Ìû×Ó£¬²ÎÓë½»Á÷£¬¾ÍÓлú»á·ÖµÃ×÷Õß rainbot µÄ 15 ¸ö½ð±Ò

rainbot

Òø³æ (СÓÐÃûÆø)

[½»Á÷] ¡¾ÇóÖú¡¿linux°æfluentʹÓÃudf²¢ÐÐÎÊÌâÇë½ÌÒÑÓÐ2È˲ÎÓë

¸ÕÂòÁËһ̨·þÎñÆ÷£¬ÊÇ8·4ºËµÄÅäÖã¬ÏµÍ³Îªlinux £¬fluent6.3.26¡£µ÷ÊÔµÄʱºò£¬½«Ô­À´ÔÚwindowsϵͳϵÄËãÀýÄùýÀ´²âÊÔ£¬½á¹û·¢ÏÖÐèÒªµ÷ÓÃudfµÄËãÀýÎÞ·¨ÔËÐС£±¾È˶ÔlinuxÁ˽â½ÏÉÙ£¬fluentÒ²ÊǸոÕÆð²½£¬Çë´ó¼Ò¶à¶àÖ¸½Ì¡£
¾ßÌå²Ù×÷²½ÖèÈçÏ£º
1. ½« windowsÏÂ×öºÃµÄcasºÍdatÎļþ£¬ÒÔ¼°udfÎļþ ÉÏ´«µ½·þÎñÆ÷¡£
2.ÔÚ shellÖÐÊäÈë "fluent 3d -t20"   Æô¶¯fluentͼÐνçÃæ¡£
3. read¡ª¡ª case &data£¬ ½«Îļþ¶ÁÈë¡£Õâʱ±¨´í ¡° error£ºchip-exex: function "liq_gas_source" not found." Õâ¸ö¿ÉÄÜÊÇÓÉÓÚ´Ówindows¿¼¹ýÀ´µÄÎļþ£¬ÀïÃæ±àÒëudfÎļþµÄ·¾¶²»Ò»ÑùËùÖ¡£
4. ÎÒÔÚdefine----£¨user-defined£©¡ª¡ª¡ªfunctions-------(interpreted)ÖÐÖØÐÂÖ¸¶¨udfλÖã¬È»ºóinterpret¡£Õâʱ¾ÍÏÔʾ    cpp -I"/public/fluent.inc/fluent6.3.26/src  

    error£º/root/Documents/udfcase/mass_evaporator.c: line 2: syntax error   
5.Õâ¸öʱºòÎÒÔÚ¿ªÊ¼µü´ú£¬Ò²¿ÉÒÔË㣬µ«Êǽá¹ûÏ൱ÓÚûÓмÓudf¡£

6.ÎÒµÄudfÒ²ºÜ¼òµ¥£¬ÄÚÈÝÈçÏÂ
#include "udf.h"

DEFINE_MASS_TRANSFER(liq_gas_source,cell,thread,from_index,
from_species_index, to_index, to_species_index)
{
   real m_lg;
   real T_SAT = 343.15;
   Thread *liq = THREAD_SUB_THREAD(thread, from_index);
   Thread *gas = THREAD_SUB_THREAD(thread, to_index);

   m_lg = 0.;
   if (C_T(cell, liq) >= T_SAT)
     {
       m_lg = 0.1*C_VOF(cell,liq)*C_R(cell,liq)*
               fabs(C_T(cell,liq)-T_SAT)/T_SAT;
     }
   if ((m_lg == 0. ) && (C_T(cell, gas) <= T_SAT))
     {
       m_lg = -0.1*C_VOF(cell,gas)*C_R(cell,gas)*
         fabs(T_SAT-C_T(cell,gas))/T_SAT;
     }
if(C_T(cell, liq)>T_SAT){
/* printf("\n m_dot_v=%g\n",m_dot_v);
  printf("\n m_dot_v=%g\n",C_T(cell, liq)-T_SAT);*/
}
   return (m_lg);
}


ÇëÎÊ£¬ ÈçºÎ²ÅÄÜÔÚÊÇudfÄÜÕý³£²¢ÐУ¿¡£ÁíÍâÕâÖֶ෷þÎñÆ÷ºÍ¶à½ÚµãclusterÔ­ÀíÒ»ÑùÂð£¿
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

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

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

tacaro

ÖÁ×ðľ³æ (ÖªÃû×÷¼Ò)

Сľ³æ´óÄÜèÆïÊ¿Ñ«ÕÂ

¡ï ¡ï
adu886886(½ð±Ò+2):ÐÁ¿àÁË 2010-07-02 17:57:26
1 ²¢ÐÐudfºÍ´®ÐÐudfÊDz»Í¬µÄ£¬udf°ïÖúÀïÓÐÒ»Õ¾ÍÊǽéÉÜÕâ¸öµÄ£¬Äã¿ÉÒÔ½è¼øÒ»ÏÂ

2. LinuxÏ»»ÐзûÄǸöλÖõÄunicodeÂëºÍ windows²»Ò»Ñù£¬ÓÐʱÐèҪת»»²ÅÄÜÔÚlinux»·¾³Ï½âÊÍ»òÕß±àÒë

ps£ºc»·¾³Ò²ÊDZز»¿ÉÉÙµÄ
2Â¥2010-07-02 17:43:11
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

rainbot

Òø³æ (СÓÐÃûÆø)

¡ï
zzuwangshilei(½ð±Ò+1):»ý¼«²ÎÓë 2010-07-02 22:00:49
ÎÒ¶ÔlinuxÁ˽â½ÏÉÙ£¬ ¿´ÄãµÄ»Ø¸´ÎÒÀí½â¾ÍÊÇ£º
1.¶à·²¢ÐÐÊÇÊôÓÚ´®ÐÐ
2.¾ÍÊÇÎÒµÄudfÖУ¬ »Ø³µ·û¿ÉÄÜÓÐÎÊÌâ¡£
3.Äã¾õµÃÎÒµÄϵͳ¿ÉÄÜûÓÐ×°c»·¾³¡£
ÒýÓûØÌû:
Originally posted by tacaro at 2010-07-02 17:43:11:
1 ²¢ÐÐudfºÍ´®ÐÐudfÊDz»Í¬µÄ£¬udf°ïÖúÀïÓÐÒ»Õ¾ÍÊǽéÉÜÕâ¸öµÄ£¬Äã¿ÉÒÔ½è¼øÒ»ÏÂ

2. LinuxÏ»»ÐзûÄǸöλÖõÄunicodeÂëºÍ windows²»Ò»Ñù£¬ÓÐʱÐèҪת»»²ÅÄÜÔÚlinux»·¾³Ï½âÊÍ»òÕß±àÒë

ps£ºc»·¾³Ò²ÊDZز»¿ÉÉÙµÄ

3Â¥2010-07-02 17:54:39
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

tacaro

ÖÁ×ðľ³æ (ÖªÃû×÷¼Ò)

Сľ³æ´óÄÜèÆïÊ¿Ñ«ÕÂ

rainbot(½ð±Ò+5):ËäÈ»ÎÊÌâûÓнâ¾ö£¬²»¹ý»¹ÊÇҪллÄ㣬ºÇºÇ 2010-07-09 17:10:57
ÒýÓûØÌû:
Originally posted by rainbot at 2010-07-02 17:54:39:
ÎÒ¶ÔlinuxÁ˽â½ÏÉÙ£¬ ¿´ÄãµÄ»Ø¸´ÎÒÀí½â¾ÍÊÇ£º
1.¶à·²¢ÐÐÊÇÊôÓÚ´®ÐÐ
2.¾ÍÊÇÎÒµÄudfÖУ¬ »Ø³µ·û¿ÉÄÜÓÐÎÊÌâ¡£
3.Äã¾õµÃÎÒµÄϵͳ¿ÉÄÜûÓÐ×°c»·¾³¡£




ÎÒÀí½âÄãÀí½âÖÐÎÒµÄÀí½âÊǶԵÄ
4Â¥2010-07-02 19:49:38
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

chengxi0_0

½ð³æ (³õÈëÎÄ̳)

¡ï
Сľ³æ: ½ð±Ò+0.5, ¸ø¸öºì°ü£¬Ð»Ð»»ØÌû
ÇëÎÊÂ¥Ö÷£¬ÎÊÌâ½â¾öÁËÂð£¬ÎÒÓöµ½ºÍÄãÒ»ÑùµÄÎÊÌ⣬ÇëÎÊÄãÊÇÔõô½â¾öµÄ
5Â¥2016-11-24 15:17:53
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
Ïà¹Ø°æ¿éÌøת ÎÒÒª¶©ÔÄÂ¥Ö÷ rainbot µÄÖ÷Ìâ¸üÐÂ
×î¾ßÈËÆøÈÈÌûÍƼö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[Ö°³¡ÈËÉú] ¹úÆó¡¢ÃñÆóÐÐÒµ²»Í¬£¬ÈçºÎ¾öÔñ£¿ +3 haihe623 2024-12-19 5/250 2024-12-21 21:42 by haihe623
[˶²©¼ÒÔ°] ËÄÏß³ÇÊй«°ì¸ßУÎÞ±àor¶þÏß³ÇÊÐÃñ°ì¸ßУ +13 joshhartford 2024-12-20 29/1450 2024-12-21 20:52 by joshhartford
[ÂÛÎÄͶ¸å] MDPIͶ¸åÁ¬Ðø¾Ü¸åÊÇʲôԭÒò£¿ÎÄÕÂÖÊÁ¿²»ºÃÂ𣿻¹ÊÇÆäËûÔ­Òò£¿ 2+8 ¶àÌý¶à¿´¶àѧ 2024-12-17 17/850 2024-12-21 18:51 by 6681981668
[ÕÒ¹¤×÷] »¯Ñ§²©Ê¿ +4 ʵÃûÐĶ¯¹úÃñÃÈÊ 2024-12-17 6/300 2024-12-21 16:43 by Marrvel
[½Ìʦ֮¼Ò] 40¶àËêµÄ½ÌʦΣ»ú¸ÐºÜÇ¿°¡ (½ð±Ò+5) +21 farmer1999 2024-12-16 28/1400 2024-12-21 16:07 by willbuilder
[¿¼²©] É격µÄ¿ÆÑмƻ®ÊéÔõôд£¿ +5 °®ºÈ·çµÄÁú¾í²è 2024-12-19 9/450 2024-12-21 09:47 by °®ºÈ·çµÄÁú¾í²è
[ÂÛÎÄͶ¸å] Required Reviews Completed +6 ¿¹þ¹þ 2024-12-20 6/300 2024-12-20 21:38 by maolC
[½Ìʦ֮¼Ò] ÄãÃǶ¼½µÐ½ÁËÂ𣿠+10 ºìÔæÆÏÌÑ¸É 2024-12-18 10/500 2024-12-20 17:32 by ¿ªÐľͺÃ56
[¿¼²©] Óг¥Æ¸Çë¼æְ˶ʿ +10 ´ó·¢²ÆÊ÷ 2024-12-19 10/500 2024-12-20 17:30 by mopsite
[ÂÛÎÄͶ¸å] ÂÛÎÄУ¸å 50+5 whale_full 2024-12-17 10/500 2024-12-20 16:39 by ±±¾©À³ÒðÈóÉ«
[˶²©¼ÒÔ°] ÈáÐÔÒý½ø˶²©È˲Š+6 ´ó·¢²ÆÊ÷ 2024-12-20 6/300 2024-12-20 15:32 by owlmac
[ÂÛÎÄͶ¸å] Ͷ¸åͶ´íÆÚ¿¯£¬Ôõô³·¸å£¿ 200+4 birrd 2024-12-17 8/400 2024-12-20 14:53 by yiran909
[ÂÛÎÄͶ¸å] sci¶þÇøµÄÉó¸åÖÜÆÚ 22+5 ·ÖÍ⺬Çç 2024-12-16 11/550 2024-12-20 13:56 by TopEdit
[Óлú½»Á÷] ÇëÎÊÒºä忪·âºóûÓÐÃܷ⣬·ÅÒ»Äê»á±äÖÊÂ𣿠+9 rommel1975 2024-12-16 9/450 2024-12-20 11:01 by 2005127239
[ÕÒ¹¤×÷] Ë®µç½âÖÆÇâ·½ÏòÇóÖ° +5 kyle1999 2024-12-19 8/400 2024-12-20 04:48 by ÅÖÅֵĴóº£
[ÂÛÎÄͶ¸å] ÇóÍƼö5·Ö¶þÇøÒÔÉÏÖ×Áö½ÓÊÜÉúÐŽáºÏʵÑéµÄÆÚ¿¯¡£¡£¡£ +3 lice_1987 2024-12-17 6/300 2024-12-19 17:01 by Andy_124
[Óлú½»Á÷] ÇóÕâ¸ö·´Ó¦µÄ·´Ó¦Ìõ¼þ +6 ½ä½¾½äÔê+ 2024-12-17 6/300 2024-12-18 11:43 by diaodeng
[½Ìʦ֮¼Ò] ÎҸоõѧÉúˮƽºÜ²î£¬ËæËæ±ã±ã¹¤×ÊÉÏÍò +19 guilin2018 2024-12-15 23/1150 2024-12-18 08:57 by zxf984
[¹«Åɳö¹ú] Òâ´óÀûÅÁ¶àÍß´óѧÕÐÊÕCSC²©Ê¿Éú--¹âµç´ß»¯²ÄÁÏÔÚÐÂÄÜÔ´¼°¿É³ÖÐøÂÌÉ«»¯Ñ§·½Ïò +3 huangyuxing2 2024-12-16 3/150 2024-12-17 18:25 by zhizhan127
[ÂÛÎÄͶ¸å] TNMCSͶ¸åÇóÖú 5+3 ½¯´ó׳hh 2024-12-15 8/400 2024-12-17 16:33 by TopEdit
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û