24小时热门版块排行榜    

查看: 1641  |  回复: 3
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

a602657563

新虫 (初入文坛)

[求助] Fluent导入UDF时出错,win7,64位安装ansys14.0,VC++6.0已经设置了四个环境变量

Fluent编译UDF时,add后点击build出现如下提示:

> Deleted old libudf\ntx86\2d\libudf.dll
已复制         1 个文件。
Copied C:\Users\wy\Desktop\valve.c to libudf\src
(system "copy "E:\ANSYSI~1\v140\fluent"\fluent14.0.0\src\makefile_nt.udf "libudf\ntx86\2d\makefile" "
已复制         1 个文件。
(chdir "libudf"()
(chdir "ntx86\2d"()
# Generating ud_io1.h
valve.c
E:\ANSYSI~1\v140\fluent\fluent14.0.0\cortex\src\cx.h(46) : error C2632: 'long' followed by 'long' is illegal
E:\ANSYSI~1\v140\fluent\fluent14.0.0\src\storage.h(2794) : error C2010: '.' : unexpected in macro formal parameter list
E:\ANSYSI~1\v140\fluent\fluent14.0.0\src\storage.h(2794) : error C2010: '.' : unexpected in macro formal parameter list
E:\ANSYSI~1\v140\fluent\fluent14.0.0\src\storage.h(2794) : error C2010: '.' : unexpected in macro formal parameter list
E:\ANSYSI~1\v140\fluent\fluent14.0.0\src\storage.h(2799) : error C2010: '.' : unexpected in macro formal parameter list
E:\ANSYSI~1\v140\fluent\fluent14.0.0\src\storage.h(2799) : error C2010: '.' : unexpected in macro formal parameter list
E:\ANSYSI~1\v140\fluent\fluent14.0.0\src\storage.h(2799) : error C2010: '.' : unexpected in macro formal parameter list

Done.

点击load时又出现下面的提示,不知道怎么办啊,已经反复装了3遍VC,1遍Ansys,三天过去了,快崩溃了!!!

Opening library "C:\Users\wy\C:\Users\wy\Desktop\libudf"...
Error: The UDF library you are trying to load (C:\Users\wy\Desktop\libudf) is not compiled for 2d on the curent platform (ntx86).

系统找不到指定的文件。

C:\Users\wy\C:\Users\wy\Desktop\libudf\ntx86\2d\libudf.dll
Error Object: #f

Fluent导入UDF时出错,win7,64位安装ansys14.0,VC++6.0已经设置了四个环境变量
123.jpg
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

masshair

新虫 (初入文坛)

麻烦啊,我下了2010的vs,改了环境变量,依然无法生成dll文件,何解啊!和你的报错一个样!
3楼2015-12-23 16:54:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 4 个回答

qhwj1990

金虫 (小有名气)

14.0好像要用VS2010吧。VC6.0不行。我就在用VS2010.
2楼2015-12-23 11:09:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zcihang12

新虫 (初入文坛)

4楼2015-12-23 17:03:29
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 求调剂 +7 十三加油 2026-03-21 7/350 2026-03-23 23:48 by 热情沙漠
[考研] 085600材料与化工调剂 +7 A-哆啦Z梦 2026-03-23 12/600 2026-03-23 23:16 by 星空星月
[考研] 0854 考研调剂 招生了!AI 方向 +4 pk3725069 2026-03-19 16/800 2026-03-23 23:09 by 汪!?!
[考研] 材料/农业专业,07/08开头均可,过线就行 +3 呵唔哦豁 2026-03-23 4/200 2026-03-23 22:30 by 汪!?!
[考研] 303求调剂 +4 元夕元 2026-03-20 4/200 2026-03-23 19:00 by macy2011
[考研] 333求调剂 +6 87639 2026-03-21 10/500 2026-03-23 10:41 by Iveryant
[考研] 291求调剂 +5 孅華 2026-03-22 5/250 2026-03-23 09:20 by haoshis
[考研] 307求调剂 +11 冷笙123 2026-03-17 11/550 2026-03-22 20:16 by edmund7
[考研] 材料与化工085600,总分304,本科有两篇sci参与,求调剂 +4 幸运的酱酱 2026-03-22 5/250 2026-03-22 20:15 by edmund7
[考博] 招收博士1-2人 +3 QGZDSYS 2026-03-18 4/200 2026-03-22 10:25 by QGZDSYS
[基金申请] 山东省面上项目限额评审 +4 石瑞0426 2026-03-19 4/200 2026-03-22 08:50 by Wei_ren
[考研] 280求调剂 +11 咕噜晓晓 2026-03-18 12/600 2026-03-21 22:40 by ACS Nano——
[考研] 265求调剂 +12 梁梁校校 2026-03-19 14/700 2026-03-21 13:38 by lature00
[考研] 085601调剂 358分 +3 zzzzggh 2026-03-20 4/200 2026-03-21 10:21 by luoyongfeng
[考研] 材料学硕297已过四六级求调剂推荐 +11 adaie 2026-03-19 11/550 2026-03-20 21:30 by laoshidan
[考研] 086500 325 求调剂 +3 领带小熊 2026-03-19 3/150 2026-03-20 18:38 by 尽舜尧1
[考研] 085410人工智能专硕317求调剂(0854都可以) +4 xbxudjdn 2026-03-18 4/200 2026-03-20 09:07 by 不168
[考研] 【同济软件】软件(085405)考研求调剂 +3 2026eternal 2026-03-18 3/150 2026-03-18 19:09 by 搏击518
[考研] 考研求调剂 +3 橘颂. 2026-03-17 4/200 2026-03-17 21:43 by 有只狸奴
[考研] 考研调剂 +3 淇ya_~ 2026-03-17 5/250 2026-03-17 09:25 by Winj1e
信息提示
请填处理意见