| 查看: 916 | 回复: 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 |
» 猜你喜欢
反铁磁体中的磁性切换:两种不同的机制已成功可视化
已经有0人回复
求标准粉末衍射卡号 ICDD 01-076-1802
已经有0人回复
物理学I论文润色/翻译怎么收费?
已经有266人回复
新西兰Robinson研究所招收全奖PhD
已经有0人回复
石墨烯转移--二氧化硅衬底石墨烯
已经有0人回复
笼目材料中量子自旋液体基态的证据
已经有0人回复
数学教学论硕士可以读数学物理博士吗?
已经有0人回复
德国亥姆霍兹Hereon中心汉堡分部招镁合金腐蚀裂变SCC课题方向2026公派博士生
已经有4人回复
澳门大学 应用物理及材料工程研究院 潘晖教授课题组诚招博士后
已经有11人回复


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












回复此楼