| 7 | 1/1 | 返回列表 |
| 查看: 1965 | 回復(fù): 6 | ||
X_D_T_L銀蟲 (初入文壇)
|
[求助]
fluent中UDF導(dǎo)入出錯 本人新手,求大神指點(diǎn) 已有2人參與
|
|
我是新手,求大神指點(diǎn),我想設(shè)置壓強(qiáng)出口,導(dǎo)入UDF是錯誤信息如下: > 無效的命令行開關(guān) - "libudf\src\pressure.c"。 Deleted old C:\libudf\ntx86\3d\libudf.dll 已復(fù)制 1 個文件。 Copied C:\Documents and Settings\Administrator\pressure.c to C:\libudf\src (system "copy "C:\PROGRA~1\ANSYSI~1\v140\fluent"\fluent14.0.0\src\makefile_nt.udf "C:\libudf\ntx86\3d\makefile" " ![]() 已復(fù)制 1 個文件。 (chdir "C:\libudf" ()(chdir "ntx86\3d" ()'nmake' 不是內(nèi)部或外部命令,也不是可運(yùn)行的程序 或批處理文件。 'nmake' 不是內(nèi)部或外部命令,也不是可運(yùn)行的程序 或批處理文件。 Done. Opening library "C:\Documents and Settings\Administrator\C:\libudf"... Error: The UDF library you are trying to load (C:\libudf) is not compiled for 3d on the curent platform (ntx86). 系統(tǒng)找不到指定的文件。 C:\Documents and Settings\Administrator\C:\libudf\ntx86\3d\libudf.dll Error Object: #f 程序如下: #include"udf.h" #define p 998.2 #define g 9.81 DEFINE_PROFILE(pressure_profile,thread,position) { real x[ND_ND]; face_t f; real y; begin_f_loop(f,thread)/*loops over all faces in the thread passed in the DEFINE macro argument */ { F_CENTROID(x,f,thread); y=x[1]; if(y>=2) {F_PROFILE(f,thread,position)=0.0;} else {F_PROFILE(f,thread,position)=p*g*(2-y);} end_f_loop(f,thread) } } |
|
先不管UDF有無錯誤,你電腦的編譯器或系統(tǒng)環(huán)境變量設(shè)置是有錯誤的。環(huán)境變量的設(shè)置有時極其繁雜,在下當(dāng)時搞了整整一天。建議觀看此博文: http://blog.sina.com.cn/u/2420963464 |

銀蟲 (初入文壇)
銀蟲 (初入文壇)
|
我把環(huán)境變量改了后出現(xiàn)下面這種情況 求指點(diǎn) Opening library "C:\Documents and Settings\Administrator\libudf"... Error: The UDF library you are trying to load (libudf) is not compiled for 3d on the curent platform (ntx86). 系統(tǒng)找不到指定的文件。 C:\Documents and Settings\Administrator\libudf\ntx86\3d\libudf.dll Error Object: #f |
木蟲 (著名寫手)
學(xué)生

新蟲 (初入文壇)

|
本帖內(nèi)容被屏蔽 |
| 7 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 281求調(diào)劑(0805) +3 | 煙汐憶海 2026-03-16 | 8/400 |
|
|---|---|---|---|---|
|
[考博] 環(huán)境領(lǐng)域全國重點(diǎn)實(shí)驗(yàn)室招收博士1-2名 +3 | QGZDSYS 2026-03-13 | 3/150 |
|
|
[考研] 考研求調(diào)劑 +3 | 橘頌. 2026-03-17 | 4/200 |
|
|
[考研] 299求調(diào)劑 +4 | △小透明* 2026-03-17 | 4/200 |
|
|
[考研] 268求調(diào)劑 +8 | 一定有學(xué)上- 2026-03-14 | 9/450 |
|
|
[考研] 304求調(diào)劑 +8 | 小熊joy 2026-03-14 | 8/400 |
|
|
[考研] 【0856】化學(xué)工程(085602)313 分,本科學(xué)科評估A類院;瘜W(xué)工程與工藝,誠求調(diào)劑 +7 | 小劉快快上岸 2026-03-11 | 8/400 |
|
|
[考研] 085600材料與化工求調(diào)劑 +5 | 緒幸與子 2026-03-17 | 5/250 |
|
|
[考研] 26考研求調(diào)劑 +6 | 丶宏Sir 2026-03-13 | 6/300 |
|
|
[考研] 梁成偉老師課題組歡迎你的加入 +8 | 一鴨鴨喲 2026-03-14 | 10/500 |
|
|
[考研] 304求調(diào)劑 +5 | 素年祭語 2026-03-15 | 5/250 |
|
|
[考研] 321求調(diào)劑 +5 | 大米飯! 2026-03-15 | 5/250 |
|
|
[考研] 285求調(diào)劑 +6 | ytter 2026-03-12 | 6/300 |
|
|
[考研] 070303 總分349求調(diào)劑 +3 | LJY9966 2026-03-15 | 5/250 |
|
|
[考研] 297求調(diào)劑 +4 | 學(xué)海漂泊 2026-03-13 | 4/200 |
|
|
[考研] 308求調(diào)劑 +5 | 是Lupa啊 2026-03-11 | 5/250 |
|
|
[碩博家園] 085600 260分求調(diào)劑 +3 | 天空還下雨么 2026-03-13 | 5/250 |
|
|
[考研] 274求調(diào)劑 +3 | S.H1 2026-03-12 | 3/150 |
|
|
[考研] 土木第一志愿276求調(diào)劑,科研和技能十分豐富,求新興方向的導(dǎo)師收留 +3 | 土木小天才 2026-03-12 | 3/150 |
|
|
[考研] 一志愿山大07化學(xué) 332分 四六級已過 本科山東雙非 求調(diào)劑! +3 | 不想理你 2026-03-12 | 3/150 |
|