| 5 | 1/1 | 返回列表 |
| 查看: 1993 | 回復(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) } } |
木蟲 (著名寫手)
學(xué)生

|
先不管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ā)表 | |
|---|---|---|---|---|
|
[考研] 本科新能源科學(xué)與工程,一志愿華理能動(dòng)285求調(diào)劑 +3 | AZMK 2026-03-27 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 求調(diào)劑 +3 | QiMing7 2026-03-25 | 4/200 |
|
|
[考研] 求化學(xué)調(diào)劑 +4 | wulanna 2026-03-28 | 4/200 |
|
|
[考研] 070300求調(diào)劑306分 +4 | 26要上岸 2026-03-27 | 4/200 |
|
|
[考研] 086000調(diào)劑 +3 | 7901117076 2026-03-26 | 3/150 |
|
|
[考研] 274求調(diào)劑 +17 | 顧九笙要謙虛 2026-03-24 | 23/1150 |
|
|
[考研] 305求調(diào)劑 +5 | 哇盧卡庫 2026-03-26 | 5/250 |
|
|
[考研] 314求調(diào)劑 +3 | 溪云珂 2026-03-26 | 3/150 |
|
|
[考研] 359求調(diào)劑 +4 | 王了個(gè)楠 2026-03-25 | 4/200 |
|
|
[考研] 調(diào)劑求收留 +7 | 果然有我 2026-03-26 | 7/350 |
|
|
[考研] 294分080500材料科學(xué)與工程求調(diào)劑 +4 | 柳溪邊 2026-03-26 | 4/200 |
|
|
[考研] 086000生物與醫(yī)藥292求調(diào)劑 +6 | 小小陳小小 2026-03-22 | 9/450 |
|
|
[考研] 303求調(diào)劑 +6 | 藍(lán)山月 2026-03-25 | 6/300 |
|
|
[考研] 一志愿南航 335分 | 0856材料化工 | GPA 4.07 | 有科研經(jīng)歷 +6 | cccchenso 2026-03-23 | 6/300 |
|
|
[考研] 求調(diào)劑 +3 | 李李不服輸 2026-03-25 | 3/150 |
|
|
[考研] 318求調(diào)劑 +5 | plum李子 2026-03-21 | 8/400 |
|
|
[考研] 求調(diào)劑 +6 | 研研,接電話 2026-03-24 | 7/350 |
|
|
[考研] 求調(diào)劑一志愿武漢理工大學(xué)材料工程(085601) +5 | WW.' 2026-03-23 | 7/350 |
|
|
[考研] 一志愿重慶大學(xué)085700資源與環(huán)境,總分308求調(diào)劑 +7 | 墨墨漠 2026-03-23 | 8/400 |
|
|
[考研] 280分求調(diào)劑 一志愿085802 +4 | PUMPT 2026-03-22 | 7/350 |
|