24小时热门版块排行榜    

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

mafeng0907

捐助贵宾 (初入文坛)

[求助] 怎样解决FLUENT received fatal signal (ACCESS_VIOLATION)的错误? 已有2人参与

大家好 我是初学者 现在希望用fluent做一个热湿迁移的问题,加载一个UDF到fluent 但是每次迭代总是报错:
Error:
FLUENT received fatal signal (ACCESS_VIOLATION)
1. Note exact events leading to error.
2. Save case/data under new name.
3. Exit program and restart to continue.
4. Report error to your distributor.
Error Object: ()
case文件和udf程序已上传,我一直找不到其中错误的原因,因为udf在另外一个模型中能够使用并且收敛,而网格是简单的结构化网格,请大家指点
回复此楼

» 本帖附件资源列表

  • 欢迎监督和反馈:小木虫仅提供交流平台,不对该内容负责。
    本内容由用户自主发布,如果其内容涉及到知识产权问题,其责任在于用户本人,如对版权有异议,请联系邮箱:xiaomuchong@tal.com
  • 附件 1 : muben100_zuizhong.cas
  • 2012-04-10 13:49:45, 457.75 K
  • 附件 2 : zuizhong.c
  • 2012-04-10 13:50:03, 13.19 K

» 本帖已获得的红花(最新10朵)

» 猜你喜欢

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

seasky71

木虫 (知名作家)

How do I resolve the following error: FLUENT received fatal signal (ACCESS_VIOLATION)?

This is the standard error caused by FLUENT trying to access data that has not been allocated.
There are several causes which we will discuss.

For example, in a UDF, you may probe the cell temperature using the macro C_T(c,t). However, if you have not turned the energy equation on, then there is NO temperature stored, and you will get an ACCESS_VIOLATION.

To check a Thread for whether a variable is stored on it, you can use the THREAD_STORAGE(t, SV_XXX) macro, where SV_XXX is the storage variable for the equation of interest. For the energy equation, you would use SV_T. This macro returns a pointer to the data. The value is NULL if the data is not available. See storage.h for a complete list of storage variables.

Another cause for the macro is that your case has a UDF hooked, but you do not have the UDF available. The solution is to make sure you have the UDF directory in the correct location relative to the case file.

The usual situation is that you udf has problems.
18楼2014-10-22 11:31:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 21 个回答

超级丐中丐

金虫 (小有名气)

【答案】应助回帖


感谢参与,应助指数 +1
xiegangmai: 金币+1, 谢谢应助! 2012-04-10 22:17:55
这个问题经常碰到,通常的办法是把计算结果存了,然后退出重新进入fluent然后读入数据就行了
2楼2012-04-10 19:34:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

mafeng0907

捐助贵宾 (初入文坛)

这个case加载udf,初始化后进行迭代,但是一步也无法计算就报这个错。这个udf源程序是没有问题的,可能是边界条件设的不合适,可是我找不到哪个条件不合适,请有条件的朋友帮忙运行一下看看 我已经在这困住半个月了
3楼2012-04-11 19:54:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

mafeng0907

捐助贵宾 (初入文坛)

这个不是迭代一段时间后才出问题的,在点迭代后一步也没有计算就报这个错误了,这个UDF源程序是没有问题的,我怀疑是边界条件有问题,但是找不到具体是哪个条件设错了 还请高手运行一下我上传的case 这个问题困扰我很久了 多谢
4楼2012-04-11 19:58:35
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见