| 查看: 1024 | 回复: 3 | ||
[求助]
udf加载出错 已有1人参与
|
|
#include "udf.h" #include "sg_mphase.h" #include "sg_vof.h" #include "sg.h" #include "mem.h" #define VISCOSITY 0.001 #define SURF_TENS 0.0728 #define MYTRUE 1 #define index_source 2 /* This Code computes the normals of the VOF function*/ DEFINE_ADJUST(store_gradient, domain) { Thread *t; Thread **pt; Thread *phaset; cell_t c; int phase_domain_index = 1; /* Secondary Domain */ Domain *pDomain = DOMAIN_SUB_DOMAIN(domain,phase_domain_index); void calc_source(); Alloc_Storage_Vars(pDomain,SV_VOF_RG,SV_VOF_G,SV_NULL); Scalar_Reconstruction(pDomain,SV_VOF,-1,SV_VOF_RG,NULL); /* 出错行 */ Scalar_Derivatives(pDomain,SV_VOF,-1,SV_VOF_G,SV_VOF_RG,Vof_Deriv_Accumulate); ... ... ... } 加载udf的时候出错 line 23: Scalar_Reconstruction: argument 5 type mismatch (int instead of pointer to function returning void) |
» 猜你喜欢
反铁磁体中的磁性切换:两种不同的机制已成功可视化
已经有0人回复
求标准粉末衍射卡号 ICDD 01-076-1802
已经有0人回复
物理学I论文润色/翻译怎么收费?
已经有255人回复
新西兰Robinson研究所招收全奖PhD
已经有0人回复
石墨烯转移--二氧化硅衬底石墨烯
已经有0人回复
笼目材料中量子自旋液体基态的证据
已经有0人回复
数学教学论硕士可以读数学物理博士吗?
已经有0人回复
德国亥姆霍兹Hereon中心汉堡分部招镁合金腐蚀裂变SCC课题方向2026公派博士生
已经有4人回复
澳门大学 应用物理及材料工程研究院 潘晖教授课题组诚招博士后
已经有11人回复
2楼2017-09-09 16:09:14
3楼2018-01-17 15:26:15
jiangfan2008
木虫 (著名写手)
- 应助: 44 (小学生)
- 金币: 12417.3
- 散金: 744
- 红花: 10
- 帖子: 2348
- 在线: 712.3小时
- 虫号: 942754
- 注册: 2010-01-15
- 专业: 微/纳机械系统
4楼2019-10-30 03:09:00












回复此楼