| 查看: 1219 | 回复: 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) |
» 猜你喜欢
中国机械工业科学技术奖含金量,好获奖吗?
已经有1人回复
日内瓦国际发明展没有转化,只有论文能报吗?必须线下参加吗?
已经有0人回复
物理学I论文润色/翻译怎么收费?
已经有214人回复
想投稿的来!
已经有0人回复
2027博士申请
已经有3人回复
华中科技大学集成电路学院招2027年博士研究生
已经有0人回复
华中科技大学陈实教授招2027年博士研究生
已经有37人回复
求英文歌,谢谢您。
已经有1人回复
蔡鹏课题组招收优秀硕士/博士研究生
已经有11人回复
澳门大学 应用物理及材料工程研究院 潘晖教授课题组诚招博士后
已经有14人回复
2楼2017-09-09 16:09:14
3楼2018-01-17 15:26:15
jiangfan2008
木虫 (著名写手)
- 应助: 44 (小学生)
- 金币: 13031.4
- 散金: 745
- 红花: 10
- 帖子: 2354
- 在线: 716.6小时
- 虫号: 942754
- 注册: 2010-01-15
- 专业: 微/纳机械系统
4楼2019-10-30 03:09:00









回复此楼