24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 1272  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 复试调剂,一志愿南农083200食品科学与工程 +4 XQTJZ 2026-03-26 4/200 2026-03-27 01:23 by dgnhs
[考研] 349求调剂 +4 李木子啊哈哈 2026-03-25 4/200 2026-03-26 22:49 by fmesaito
[考研] 311求调剂 +5 lin0039 2026-03-26 5/250 2026-03-26 22:43 by 学员8dgXkO
[考研] 081200-11408-276学硕求调剂 +3 崔wj 2026-03-26 3/150 2026-03-26 19:57 by nihaoar
[考研] 286求调剂 +13 Faune 2026-03-21 13/650 2026-03-26 19:52 by peike
[考研] 材料调剂 +7 匹克i 2026-03-23 7/350 2026-03-26 19:00 by 不吃魚的貓
[考研] 291求调剂 +9 hhhhxn.. 2026-03-23 9/450 2026-03-26 18:59 by 不吃魚的貓
[考研] 一志愿 西北大学 总分282 英语一62 求调剂 +7 18419759900 2026-03-25 7/350 2026-03-26 16:07 by 不吃魚的貓
[考研] 材料科学与工程 317求调剂 +4 JKSOIID 2026-03-26 4/200 2026-03-26 15:58 by 不吃魚的貓
[考研] 309求调剂 +4 gajsj 2026-03-25 5/250 2026-03-26 00:27 by Dyhoer
[考研] 一志愿哈工大,085400,320,求调剂 +4 gdlf9999 2026-03-24 4/200 2026-03-25 23:01 by boxking200
[考研] 材料专硕 335 分求调剂 +4 拒绝冷暴力 2026-03-25 4/200 2026-03-25 18:45 by haxia
[考研] 各位老师您好:本人初试372分 +5 jj涌77 2026-03-25 6/300 2026-03-25 14:15 by mapenggao
[考研] 086003食品工程求调剂 +6 淼淼111 2026-03-24 6/300 2026-03-25 10:29 by 3Strings
[考研] 085404电子信息284分求调剂 +4 13659058978 2026-03-24 4/200 2026-03-24 12:15 by syl20081243
[考研] 336求调剂 +4 收到VS 2026-03-20 4/200 2026-03-23 19:02 by macy2011
[考研] 材料与化工085600,总分304,本科有两篇sci参与,求调剂 +4 幸运的酱酱 2026-03-22 5/250 2026-03-22 20:15 by edmund7
[考研] 319求调剂 +4 小力气珂珂 2026-03-20 4/200 2026-03-22 15:53 by ColorlessPI
[考研] 求调剂 +4 要好好无聊 2026-03-21 4/200 2026-03-21 18:57 by 学员8dgXkO
[考研] 0805材料320求调剂 +3 深海物语 2026-03-20 3/150 2026-03-21 15:46 by 无际的草原
信息提示
请填处理意见