| 2 | 1/1 | 返回列表 |
| 查看: 1634 | 回復(fù): 1 | |||||
xhgeng12金蟲 (小有名氣)
|
[求助]
fluent空化模擬出錯
|
|
大家好,我做空化模型的例子,總是出錯,希望大家?guī)兔匆幌履睦锊粚。程序是幫助文件中的例子?br />
fluent 提示下面錯誤: chip-exec: cavitation_rate: wrong return type: float udf function expected Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: #f udf程序如下: #include "udf.h" #define MIN_VOF 1.e-5 #define MAX_VOF 0.999999 DEFINE_CAVITATION_RATE(cavitation_rate, c, t, p,rhoV, rhoL, vofV, p_v, n_b, m_dot) { real p_vapor = *p_v; real n_bubbles = *n_b; real dp, vofM, radV; dp = p_vapor - ABS_P( p[c], op_pres ); vofM = MIN(MAX(MIN_VOF, vofV[c]),MAX_VOF); radV = pow(vofM/((1.-vofM)*4./3.*M_PI*n_bubbles), 1./3.); if (dp>0.) *m_dot = (1.-vofV[c]) * n_bubbles * 4. * M_PI *radV * radV/(1.+n_bubbles*4./3.*M_PI*radV*radV*radV)*sqrt(2.*ABS(dp)/(3.*rhoL[c])); else { *m_dot = - (1.-vofV[c]) * n_bubbles * 4. *M_PI *radV*radV/(1.+n_bubbles*4./3.*M_PI*radV*radV*radV) *sqrt(2.*ABS(dp)/(3.*rhoL[c])); if (vofV[c] <= MIN_VOF) *m_dot=0.; } } |
fluent軟件學(xué)習(xí) | 空化 |
| 2 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 280求調(diào)劑 +7 | 咕嚕曉曉 2026-03-18 | 8/400 |
|
|---|---|---|---|---|
|
[考研] 材料專業(yè)求調(diào)劑 +6 | hanamiko 2026-03-18 | 6/300 |
|
|
[考研] 一志愿中海洋材料工程專碩330分求調(diào)劑 +8 | 小材化本科 2026-03-18 | 8/400 |
|
|
[考研] 一志愿南京理工大學(xué)085701資源與環(huán)境302分求調(diào)劑 +4 | 葵梓衛(wèi)隊 2026-03-18 | 6/300 |
|
|
[考研] 考研調(diào)劑求學(xué)校推薦 +3 | 伯樂29 2026-03-18 | 5/250 |
|
|
[考研] 329求調(diào)劑 +9 | 想上學(xué)吖吖 2026-03-19 | 9/450 |
|
|
[考研] 一志愿吉林大學(xué)材料學(xué)碩321求調(diào)劑 +11 | Ymlll 2026-03-18 | 15/750 |
|
|
[考研] 086500 325 求調(diào)劑 +3 | 領(lǐng)帶小熊 2026-03-19 | 3/150 |
|
|
[考研] 環(huán)境工程調(diào)劑 +9 | 大可digkids 2026-03-16 | 9/450 |
|
|
[考研] 0856調(diào)劑,是學(xué)校就去 +8 | sllhht 2026-03-19 | 9/450 |
|
|
[考研] 招收調(diào)劑碩士 +4 | lidianxing 2026-03-19 | 12/600 |
|
|
[考研] 材料與化工求調(diào)劑 +7 | 為學(xué)666 2026-03-16 | 7/350 |
|
|
[考研] 0703化學(xué)調(diào)劑 +5 | pupcoco 2026-03-17 | 8/400 |
|
|
[考研] 化學(xué)工程321分求調(diào)劑 +15 | 大米飯! 2026-03-15 | 18/900 |
|
|
[考研] 0854可跨調(diào)劑,一作一項核心論文五項專利,省、國級證書40+數(shù)一英一287 +8 | 小李0854 2026-03-16 | 8/400 |
|
|
[考研] 277調(diào)劑 +5 | 自由煎餅果子 2026-03-16 | 6/300 |
|
|
[考研] 有沒有道鐵/土木的想調(diào)劑南林,給自己招師弟中~ +3 | TqlXswl 2026-03-16 | 7/350 |
|
|
[考研] 283求調(diào)劑 +3 | 聽風(fēng)就是雨; 2026-03-16 | 3/150 |
|
|
[考研] 070300化學(xué)學(xué)碩求調(diào)劑 +6 | 太想進(jìn)步了0608 2026-03-16 | 6/300 |
|
|
[考研] 070303 總分349求調(diào)劑 +3 | LJY9966 2026-03-15 | 5/250 |
|