| 查看: 1191 | 回复: 5 | ||
[求助]
fluent中udf编译没有问题,初始化时出错
|
|
请各位帮帮忙,udf编译的时候没有问题,初始化的时候总出错 udf程序是 #include "stdio.h" #include "math.h" DEFINE_PROPERTY(cell_density,cell,thread) { real mu_lam; real temp = C_T(cell,thread); if (temp>= 250&&temp<=300) { mu_lam =-7.432e-07*exp(0.06345*temp) + 0.06345*exp(-0.003747*temp); } else if (temp>=300&&temp<=320) { mu_lam = 460.6 + 224.2*cos(temp* 0.2514) + 147.8*sin(temp* 0.2514) + 60.81*cos(2*temp* 0.2514) + 27.73*sin(2*temp* 0.2514) + 25.18*cos(3*temp* 0.2514) -48.04*sin(3*temp* 0.2514) ; } else if (temp>= 320&&temp<=380) { mu_lam =1.289e+11*exp(-0.06796*temp) + 990.1*exp(-0.005242*temp); } return mu_lam; 错误是 Error: C:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0\win64\3ddp\fl1450s.exe 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: #f |
» 猜你喜欢
中国机械工业科学技术奖含金量,好获奖吗?
已经有1人回复
日内瓦国际发明展没有转化,只有论文能报吗?必须线下参加吗?
已经有0人回复
物理学I论文润色/翻译怎么收费?
已经有200人回复
想投稿的来!
已经有0人回复
2027博士申请
已经有3人回复
华中科技大学集成电路学院招2027年博士研究生
已经有0人回复
华中科技大学陈实教授招2027年博士研究生
已经有37人回复
求英文歌,谢谢您。
已经有1人回复
蔡鹏课题组招收优秀硕士/博士研究生
已经有11人回复
澳门大学 应用物理及材料工程研究院 潘晖教授课题组诚招博士后
已经有14人回复


2楼2016-08-21 15:34:13

3楼2016-08-21 20:18:37
yangcy8905
银虫 (著名写手)
- 应助: 0 (幼儿园)
- 金币: 580.7
- 散金: 2675
- 红花: 11
- 帖子: 2211
- 在线: 279.7小时
- 虫号: 3339257
- 注册: 2014-07-25
- 性别: GG
- 专业: 传热传质学
4楼2016-08-22 16:06:59
5楼2016-09-02 10:44:21
6楼2019-08-19 12:36:51









回复此楼