不知火舞的被虐|伊人天伊人天天综合网|博洛尼亚天气|任你懆这里只有精品4|久久美日韩精品久久|掌中之物漫画免费阅读观看|0丨d老妇

fluent空化udf,結果對不上

瀏覽:2711

我編寫了fluent內置Schnerr and Sauer空化模型的udf文件,但是導入udf的結果和使用fluent內置Schnerr and Sauer空化模型的結果不一樣,希望各位大佬幫我看看到底有什么問題。

模型公式:

1.png

2.png

fluent空化udf,結果對不上的圖3

#include "udf.h"

#include "sg_mphase.h" 

#define P_v 30000


DEFINE_MASS_TRANSFER(water_to_vapor,cell,thread,from_index,from_species_index,to_index,to_species_index)

{

   real  m_dot;

  Thread *gas, *liq;

  liq = THREAD_SUB_THREAD(thread, from_index);

  gas = THREAD_SUB_THREAD(thread, to_index);

  m_dot=0.0;

  if(C_P(cell, thread)<=P_v)

     m_dot=3108.725549*C_R(cell,liq)*C_R(cell,gas)/C_R(cell,thread)*sqrt(2.0/3.0*(P_v-C_P(cell,thread))/C_R(cell,liq));

  else

     m_dot=-621.74511*C_R(cell,liq)*C_R(cell,gas)/C_R(cell,thread)*sqrt(2.0/3.0*(C_P(cell,thread)-P_v)/C_R(cell,liq));

  return( m_dot);

}

還有

3.png

可以用c_v += 1.0*(1.0+0.1/20*fabs(0.5*(C_DUDX(cell,thread)+C_DUDY(cell,thread)+C_DVDX(cell,thread)+C_DVDY(cell,thread))))表示嗎

fluent空化udf,結果對不上的圖5

邀請回答 我來回答

當前暫無回答

回答可獲贈 200金幣

沒解決?試試專家一對一服務

換一批
    App下載
    技術鄰APP
    工程師必備
    • 項目客服
    • 培訓客服
    • 平臺客服

    TOP