24小时热门版块排行榜    

查看: 1270  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 生物学学硕求调剂 +4 小羊睡着了? 2026-03-23 4/200 2026-03-23 21:42 by hyzs6688
[考研] 求调剂一志愿武汉理工大学材料工程(085601) +3 WW.' 2026-03-23 5/250 2026-03-23 17:18 by 枫翼ljj
[考研] 306求调剂 +9 chuanzhu川烛 2026-03-18 9/450 2026-03-23 13:17 by luoyongfeng
[考研] 333求调剂 +6 87639 2026-03-21 10/500 2026-03-23 10:41 by Iveryant
[考研] 一志愿东华大学化学070300,求调剂 +7 2117205181 2026-03-21 8/400 2026-03-22 22:55 by chixmc
[考研] 317求调剂 +12 申子申申 2026-03-19 18/900 2026-03-22 22:23 by luoyongfeng
[考研] 319求调剂 +4 小力气珂珂 2026-03-20 4/200 2026-03-22 15:53 by ColorlessPI
[考研] 求调剂 +7 Auroracx 2026-03-22 7/350 2026-03-22 12:38 by 素颜倾城1988
[考研] 0805 316求调剂 +3 大雪深藏 2026-03-18 3/150 2026-03-21 18:55 by 学员8dgXkO
[考研] 材料学硕333求调剂 +3 北道巷 2026-03-18 3/150 2026-03-21 18:17 by 学员8dgXkO
[考研] 0805材料320求调剂 +3 深海物语 2026-03-20 3/150 2026-03-21 15:46 by 无际的草原
[考研] 化学求调剂 +4 临泽境llllll 2026-03-17 5/250 2026-03-21 02:23 by JourneyLucky
[考研] 一志愿西南交大,求调剂 +5 材化逐梦人 2026-03-18 5/250 2026-03-21 00:26 by JourneyLucky
[考研] 288求调剂 +16 于海海海海 2026-03-19 16/800 2026-03-20 22:28 by JourneyLucky
[考研] 求调剂,一志愿:南京航空航天大学大学 ,080500材料科学与工程学硕,总分289分 +4 @taotao 2026-03-19 4/200 2026-03-20 22:14 by JourneyLucky
[考研] 353求调剂 +3 拉钩不许变 2026-03-20 3/150 2026-03-20 19:56 by JourneyLucky
[考研] 招收调剂硕士 +4 lidianxing 2026-03-19 12/600 2026-03-20 12:25 by lidianxing
[考研] 材料学硕318求调剂 +5 February_Feb 2026-03-19 5/250 2026-03-19 23:51 by 23Postgrad
[考研] 本科郑州大学物理学院,一志愿华科070200学硕,346求调剂 +4 我不是一根葱 2026-03-18 4/200 2026-03-19 09:11 by 浮云166
[考博] 26博士申请 +3 1042136743 2026-03-17 3/150 2026-03-17 23:30 by 轻松不少随
信息提示
请填处理意见