| 5 | 1/1 | 返回列表 |
| 查看: 1975 | 回復: 6 | |||
| 當前只顯示滿足指定條件的回帖,點擊這里查看本話題的所有回帖 | |||
X_D_T_L銀蟲 (初入文壇)
|
[求助]
fluent中UDF導入出錯 本人新手,求大神指點 已有2人參與
|
||
|
我是新手,求大神指點,我想設置壓強出口,導入UDF是錯誤信息如下: > 無效的命令行開關(guān) - "libudf\src\pressure.c"。 Deleted old C:\libudf\ntx86\3d\libudf.dll 已復制 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" " ![]() 已復制 1 個文件。 (chdir "C:\libudf" ()(chdir "ntx86\3d" ()'nmake' 不是內(nèi)部或外部命令,也不是可運行的程序 或批處理文件。 'nmake' 不是內(nèi)部或外部命令,也不是可運行的程序 或批處理文件。 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) } } |
銀蟲 (初入文壇)
|
我把環(huán)境變量改了后出現(xià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 |
|
先不管UDF有無錯誤,你電腦的編譯器或系統(tǒng)環(huán)境變量設置是有錯誤的。環(huán)境變量的設置有時極其繁雜,在下當時搞了整整一天。建議觀看此博文: http://blog.sina.com.cn/u/2420963464 |

銀蟲 (初入文壇)
木蟲 (著名寫手)
學生

| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 301求調(diào)劑 +10 | yy要上岸呀 2026-03-17 | 10/500 |
|
|---|---|---|---|---|
|
[考研] 303求調(diào)劑 +5 | 睿08 2026-03-17 | 7/350 |
|
|
[考研] 083200學碩321分一志愿暨南大學求調(diào)劑 +3 | innocenceF 2026-03-17 | 3/150 |
|
|
[考研] 【考研調(diào)劑】化學專業(yè) 281分,一志愿四川大學,誠心求調(diào)劑 +8 | 吃吃吃才有意義 2026-03-19 | 8/400 |
|
|
[考研] 22408 344分 求調(diào)劑 一志愿 華電計算機技術(shù) +4 | solanXXX 2026-03-20 | 4/200 |
|
|
[考研] 材料專碩英一數(shù)二306 +7 | z1z2z3879 2026-03-18 | 7/350 |
|
|
[考研] 321求調(diào)劑 +9 | 何潤采123 2026-03-18 | 11/550 |
|
|
[考研] 一志愿中海洋材料工程專碩330分求調(diào)劑 +8 | 小材化本科 2026-03-18 | 8/400 |
|
|
[考研] 324求調(diào)劑 +5 | lucky呀呀呀鴨 2026-03-20 | 5/250 |
|
|
[考研] 287求調(diào)劑 +7 | 晨昏線與星海 2026-03-19 | 8/400 |
|
|
[考研] 260求調(diào)劑 +3 | 朱芷琳 2026-03-20 | 3/150 |
|
|
[考研] 一志愿 南京航空航天大學大學 ,080500材料科學與工程學碩 +5 | @taotao 2026-03-20 | 5/250 |
|
|
[考研] 0703化學調(diào)劑 ,六級已過,有科研經(jīng)歷 +13 | 曦熙兮 2026-03-15 | 13/650 |
|
|
[考研] 求調(diào)劑 +3 | @taotao 2026-03-20 | 3/150 |
|
|
[考研] 一志愿南理工085701環(huán)境302求調(diào)劑院校 +3 | 葵梓衛(wèi)隊 2026-03-20 | 3/150 |
|
|
[考研] 環(huán)境工程調(diào)劑 +9 | 大可digkids 2026-03-16 | 9/450 |
|
|
[考研] 344求調(diào)劑 +6 | knight344 2026-03-16 | 7/350 |
|
|
[考研] 【同濟軟件】軟件(085405)考研求調(diào)劑 +3 | 2026eternal 2026-03-18 | 3/150 |
|
|
[考研] 收復試調(diào)劑生 +4 | 雨后秋荷 2026-03-18 | 4/200 |
|
|
[考博] 26博士申請 +3 | 1042136743 2026-03-17 | 3/150 |
|