找回密码
 注册
查看: 5986|回复: 3

[求助]fatal signal (SEGMENTATION VIOLATION).

[复制链接]
发表于 2008-3-23 15:59:20 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
我用Compiled UDFs时,只要一点“Add”,鼠标就会变成一个红色的禁止符号,然后Fluent提示:
[color=#DC143C]Error: FLUENT received a fatal signal (SEGMENTATION VIOLATION).
[color=#DC143C]Error Object: ()

然后只能用任务管理器关闭Fluent,求问是为什么啊?
我试了很多种方法,重装VC6等等,都不行,愁死了.。。。
我的Fluent版本是6.3.26,而且用Interpreted UDFs没问题。
急切期待解决方法,谢谢
 楼主| 发表于 2008-4-9 16:28:47 | 显示全部楼层

[求助]fatal signal (SEGMENTATION VIOLATION).

我看是没人遇到过这么奇怪的问题了。。
最后我按照Fluent Help 里的说明,手动建立了以下路径和文件↓
├─ntx86
│  ├─2d
│  │      user_nt.udf
│  │      makefile
│  │      udf_names.c
│  └─2ddp
│          user_nt.udf
│          makefile
│          udf_names.c
└─src
        rotor.c
然后用Dos进入2d(或2ddp)文件夹下,使用nmake命令终于成功了,o(∩_∩)o...
显示如下↓
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
        cl /c /Za /DUDF_EXPORTING -Id:\fluent.inc\fluent6.3.26\ntx86\2d  -Id:\fl
uent.inc\fluent6.3.26\src  -Id:\fluent.inc\fluent6.3.26\cortex\src  -Id:\fluent.
inc\fluent6.3.26\client\src  -Id:\fluent.inc\fluent6.3.26\tgrid\src  -Id:\fluent
.inc\fluent6.3.26\multiport\src  ..\..\src\rotor.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
rotor.c
# Generating udf_names.c because of rotor.obj
        cl /c /Za /DUDF_EXPORTING -Id:\fluent.inc\fluent6.3.26\ntx86\2d  -Id:\fl
uent.inc\fluent6.3.26\src  -Id:\fluent.inc\fluent6.3.26\cortex\src  -Id:\fluent.
inc\fluent6.3.26\client\src  -Id:\fluent.inc\fluent6.3.26\tgrid\src  -Id:\fluent
.inc\fluent6.3.26\multiport\src  udf_names.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
udf_names.c
# Linking libudf.dll because of makefile user_nt.udf udf_names.obj rotor.obj
        link  /Libpath:d:\fluent.inc\fluent6.3.26\ntx86\2d /dll   /out:libudf.dl
l  udf_names.obj rotor.obj   fl6326s.lib
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
   Creating library libudf.lib and object libudf.exp

然后直接进入fluent [color=#FF4500]load就可以了
发表于 2009-6-12 20:47:28 | 显示全部楼层

回复 2# jinruibin 的帖子

我也出现了那样的问题 我是学习fluent的新手 不知道什么原因呢 期待您的回答 关键是上述的方法我不懂
发表于 2009-6-12 23:12:52 | 显示全部楼层

回复 3# qqlimiaoqian 的帖子

我接触了很多用fluent的都没碰到过这问题,是不是你系统环境的问题??
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表