| 7 | 1/1 | 返回列表 |
| 查看: 1967 | 回復(fù): 6 | ||
X_D_T_L銀蟲 (初入文壇)
|
[求助]
fluent中UDF導(dǎo)入出錯 本人新手,求大神指點 已有2人參與
|
|
我是新手,求大神指點,我想設(shè)置壓強出口,導(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)部或外部命令,也不是可運行的程序 或批處理文件。 '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) } } |
|
先不管UDF有無錯誤,你電腦的編譯器或系統(tǒng)環(huán)境變量設(shè)置是有錯誤的。環(huán)境變量的設(shè)置有時極其繁雜,在下當(dāng)時搞了整整一天。建議觀看此博文: http://blog.sina.com.cn/u/2420963464 |

銀蟲 (初入文壇)
銀蟲 (初入文壇)
|
我把環(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 |
木蟲 (著名寫手)
學(xué)生

新蟲 (初入文壇)

|
本帖內(nèi)容被屏蔽 |
| 7 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 311求調(diào)劑 +11 | 冬十三 2026-03-15 | 12/600 |
|
|---|---|---|---|---|
|
[考研]
|
.6lL 2026-03-18 | 3/150 |
|
|
[考研] 298-一志愿中國農(nóng)業(yè)大學(xué)-求調(diào)劑 +7 | 手機用戶 2026-03-17 | 7/350 |
|
|
[考研] 0817 化學(xué)工程 299分求調(diào)劑 有科研經(jīng)歷 有二區(qū)文章 +7 | rare12345 2026-03-18 | 7/350 |
|
|
[考研] 材料專碩306英一數(shù)二 +10 | z1z2z3879 2026-03-16 | 13/650 |
|
|
[考研] 一志愿天津大學(xué)化學(xué)工藝專業(yè)(081702)315分求調(diào)劑 +9 | yangfz 2026-03-17 | 9/450 |
|
|
[考研] 268求調(diào)劑 +8 | 一定有學(xué)上- 2026-03-14 | 9/450 |
|
|
[考研] 332求調(diào)劑 +6 | Zz版 2026-03-13 | 6/300 |
|
|
[考研] 26考研求調(diào)劑 +6 | 丶宏Sir 2026-03-13 | 6/300 |
|
|
[考研] 材料工程專碩274一志愿211求調(diào)劑 +6 | 薛云鵬 2026-03-15 | 6/300 |
|
|
[考研] 274求調(diào)劑 +5 | 時間點 2026-03-13 | 5/250 |
|
|
[考研] 復(fù)試調(diào)劑 +4 | z1z2z3879 2026-03-14 | 5/250 |
|
|
[考研] 一志愿哈工大材料324分求調(diào)劑 +5 | 閆旭東 2026-03-14 | 5/250 |
|
|
[考研] 材料與化工(0856)304求B區(qū)調(diào)劑 +6 | 邱gl 2026-03-12 | 7/350 |
|
|
[考研] 26調(diào)劑/材料/英一數(shù)二/總分289/已過A區(qū)線 +6 | 步川酷紫123 2026-03-13 | 6/300 |
|
|
[考研] 304求調(diào)劑 +7 | 7712b 2026-03-13 | 7/350 |
|
|
[考研] 材料專碩350 求調(diào)劑 +4 | 王金科 2026-03-12 | 4/200 |
|
|
[考研] 290求調(diào)劑 +7 | ADT 2026-03-12 | 7/350 |
|
|
[考研] 085600材料與化工 309分請求調(diào)劑 +7 | dtdxzxx 2026-03-12 | 8/400 |
|
|
[考研] 一志愿山大07化學(xué) 332分 四六級已過 本科山東雙非 求調(diào)劑! +3 | 不想理你 2026-03-12 | 3/150 |
|