| 5 | 1/1 | 返回列表 |
| 查看: 1991 | 回復(fù): 6 | |||
| 當(dāng)前只顯示滿足指定條件的回帖,點(diǎn)擊這里查看本話題的所有回帖 | |||
X_D_T_L銀蟲 (初入文壇)
|
[求助]
fluent中UDF導(dǎo)入出錯(cuò) 本人新手,求大神指點(diǎn) 已有2人參與
|
||
|
我是新手,求大神指點(diǎn),我想設(shè)置壓強(qiáng)出口,導(dǎo)入U(xiǎn)DF是錯(cuò)誤信息如下: > 無效的命令行開關(guān) - "libudf\src\pressure.c"。 Deleted old C:\libudf\ntx86\3d\libudf.dll 已復(fù)制 1 個(gè)文件。 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 個(gè)文件。 (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) } } |
|
本帖內(nèi)容被屏蔽 |
|
先不管UDF有無錯(cuò)誤,你電腦的編譯器或系統(tǒng)環(huán)境變量設(shè)置是有錯(cuò)誤的。環(huán)境變量的設(shè)置有時(shí)極其繁雜,在下當(dāng)時(shí)搞了整整一天。建議觀看此博文: 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 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 291求調(diào)劑 +5 | 孅華 2026-03-22 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 280分求調(diào)劑 一志愿085802 +4 | PUMPT 2026-03-22 | 7/350 |
|
|
[考研] 一志愿北京化工大學(xué)070300 學(xué)碩336求調(diào)劑 +5 | vv迷 2026-03-21 | 8/400 |
|
|
[考研] 求調(diào)劑 +7 | Auroracx 2026-03-22 | 7/350 |
|
|
[考研] 生物學(xué)一志愿985,分?jǐn)?shù)349求調(diào)劑 +4 | zxts12 2026-03-21 | 7/350 |
|
|
[考研] 材料工程專碩 348分求調(diào)劑 +3 | 冬辭. 2026-03-17 | 5/250 |
|
|
[考研] 材料 271求調(diào)劑 +5 | 展信悅_ 2026-03-21 | 5/250 |
|
|
[考研] 一志愿重慶大學(xué)085700資源與環(huán)境總分308求調(diào)劑 +7 | 墨墨漠 2026-03-20 | 7/350 |
|
|
[考研] 265求調(diào)劑 +12 | 梁梁校校 2026-03-19 | 14/700 |
|
|
[考研] 346求調(diào)劑[0856] +4 | WayneLim327 2026-03-16 | 7/350 |
|
|
[考研] 一志愿天津大學(xué)化學(xué)工藝專業(yè)(081702)315分求調(diào)劑 +12 | yangfz 2026-03-17 | 12/600 |
|
|
[考研] 307求調(diào)劑 +3 | wyyyqx 2026-03-17 | 3/150 |
|
|
[考研] 求調(diào)劑 +3 | Ma_xt 2026-03-17 | 3/150 |
|
|
[考研] 材料 336 求調(diào)劑 +3 | An@. 2026-03-18 | 4/200 |
|
|
[考研] 求調(diào)劑一志愿南京航空航天大學(xué)289分 +3 | @taotao 2026-03-19 | 3/150 |
|
|
[考研] 材料學(xué)碩297已過四六級(jí)求調(diào)劑推薦 +11 | adaie 2026-03-19 | 11/550 |
|
|
[考研] 一志愿西安交通大學(xué) 學(xué)碩 354求調(diào)劑211或者雙一流 +3 | 我想要讀研究生 2026-03-20 | 3/150 |
|
|
[考研] 086500 325 求調(diào)劑 +3 | 領(lǐng)帶小熊 2026-03-19 | 3/150 |
|
|
[考研] 085600材料與化工調(diào)劑 324分 +10 | llllkkkhh 2026-03-18 | 12/600 |
|
|
[考研] 材料工程專碩調(diào)劑 +5 | 204818@lcx 2026-03-17 | 6/300 |
|