24小时热门版块排行榜    

查看: 1271  |  回复: 0

王猫猫040

新虫 (初入文坛)

[求助] FLUENT 并行计算时编译出错!!

我用的是ANSYS14.5的FLUENT、visual sdudio2010,进行3维模型流体绕流的并行计算。先完成了定常计算,之后将定常计算后的case和data导入FLUENT,然后UDF编译时报错如下:

Copied D:\last\60fxj\w/D:\last\60fxj\w\para_udfondemand.c to D:\last\60fxj\w\libudf\src
Creating user_nt.udf file for 3d_host ...
(system "copy "C:\PROGRA~1\ANSYSI~1\v145\fluent"\fluent14.5.0\src\makefile_nt.udf "D:\last\60fxj\w\libudf\win64\3d_host\makefile" "
已复制         1 个文件。
(chdir "D:\last\60fxj\w\libudf"()
(chdir "win64\3d_host"()
# Generating ud_io1.h
para_udfondemand.c
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\cortex\src\cx.h(45) : error C2632: 'long' followed by 'long' is illegal
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\src\storage.h(2887) : error C2010: '.' : unexpected in macro formal parameter list
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\src\storage.h(2887) : error C2010: '.' : unexpected in macro formal parameter list
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\src\storage.h(2887) : error C2010: '.' : unexpected in macro formal parameter list
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\src\storage.h(2892) : error C2010: '.' : unexpected in macro formal parameter list
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\src\storage.h(2892) : error C2010: '.' : unexpected in macro formal parameter list
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\src\storage.h(2892) : error C2010: '.' : unexpected in macro formal parameter list
Creating user_nt.udf file for 3d_node ...
(system "copy "C:\PROGRA~1\ANSYSI~1\v145\fluent"\fluent14.5.0\src\makefile_nt.udf "D:\last\60fxj\w\libudf\win64\3d_node\makefile" "
已复制         1 个文件。
(chdir "D:\last\60fxj\w\libudf"()
(chdir "win64\3d_node"()
# Generating ud_io1.h
para_udfondemand.c
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\cortex\src\cx.h(45) : error C2632: 'long' followed by 'long' is illegal
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\src\storage.h(2887) : error C2010: '.' : unexpected in macro formal parameter list
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\src\storage.h(2887) : error C2010: '.' : unexpected in macro formal parameter list
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\src\storage.h(2887) : error C2010: '.' : unexpected in macro formal parameter list
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\src\storage.h(2892) : error C2010: '.' : unexpected in macro formal parameter list
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\src\storage.h(2892) : error C2010: '.' : unexpected in macro formal parameter list
C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\src\storage.h(2892) : error C2010: '.' : unexpected in macro formal parameter list

Done.

整了好几天了,希望有知道的高手指导我以下,谢谢!!!
回复此楼

» 猜你喜欢

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

智能机器人

Robot (super robot)

我们都爱小木虫

相关版块跳转 我要订阅楼主 王猫猫040 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 284求调剂 +10 Zhao anqi 2026-03-22 10/500 2026-03-24 00:08 by Equinoxhua
[考研] 求材料,环境专业调剂 +3 18567500178 2026-03-18 3/150 2026-03-23 23:50 by 热情沙漠
[考研] 306求0703调剂一志愿华中师范 +7 纸鱼ly 2026-03-21 8/400 2026-03-23 23:31 by chixmc
[考研] 材料专硕英一数二306 +8 z1z2z3879 2026-03-18 8/400 2026-03-23 20:49 by baobaoye
[考研] 336化工调剂 +4 王大坦1 2026-03-23 5/250 2026-03-23 18:32 by allen-yin
[考研] 接收2026硕士调剂(学硕+专硕) +4 allen-yin 2026-03-23 6/300 2026-03-23 15:04 by 汪!?!
[考研] 328求调剂 +4 LHHL66 2026-03-23 4/200 2026-03-23 14:55 by lbsjt
[考研] 276求调剂。有半年电池和半年高分子实习经历 +8 材料学257求调剂 2026-03-23 9/450 2026-03-23 13:01 by ztnimte
[考研] 08工科 320总分 求调剂 +11 梨花珞晚风 2026-03-17 11/550 2026-03-22 17:42 by luoyongfeng
[考研] 一志愿北京化工大学070300 学硕336求调剂 +5 vv迷 2026-03-21 8/400 2026-03-22 14:20 by ColorlessPI
[考研] 286分人工智能专业请求调剂愿意跨考! +4 lemonzzn 2026-03-17 8/400 2026-03-21 22:49 by lemonzzn
[考研] 一志愿东华大学控制学硕320求调剂 +3 Grand777 2026-03-21 3/150 2026-03-21 19:23 by 简之-
[考研] 南昌大学材料专硕311分求调剂 +6 77chaselx 2026-03-20 6/300 2026-03-21 07:24 by JourneyLucky
[考研] 307求调剂 +3 wyyyqx 2026-03-17 3/150 2026-03-21 03:20 by JourneyLucky
[考研] 二本跨考郑大材料306英一数二 +3 z1z2z3879 2026-03-17 3/150 2026-03-21 02:29 by JourneyLucky
[考研] 一志愿 西北大学 ,070300化学学硕,总分287,双非一本,求调剂。 +3 晨昏线与星海 2026-03-18 3/150 2026-03-21 00:46 by JourneyLucky
[考研] 中南大学化学学硕337求调剂 +3 niko- 2026-03-19 6/300 2026-03-20 21:58 by luoyongfeng
[考研] 261求B区调剂,科研经历丰富 +3 牛奶很忙 2026-03-20 4/200 2026-03-20 19:34 by JourneyLucky
[考研] 求调剂 +3 eation27 2026-03-20 3/150 2026-03-20 19:32 by JourneyLucky
[考研] 288求调剂,一志愿华南理工大学071005 +5 ioodiiij 2026-03-17 5/250 2026-03-19 18:22 by zcl123
信息提示
请填处理意见