| 查看: 1153 | 回复: 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) |
» 猜你喜欢
26申博推荐:南京航空航天大学国际前沿院光学方向招收博士生!
已经有1人回复
如何从铁电相到顺电相。
已经有1人回复
物理学I论文润色/翻译怎么收费?
已经有127人回复
各位大佬,求一份最新Wien2k版本作为学习用途
已经有0人回复
南科大活性流体和软物质课题组诚招2027级博士、硕士研究生和博后
已经有40人回复
瑞典林雪平大学博士后招聘|PEC Water Splitting 方向
已经有24人回复
PRB投稿,Acknowledgment sent to author状态十天了
已经有3人回复
PVA溶解
已经有1人回复
基金申请
已经有44人回复
2楼2017-09-09 16:09:14
3楼2018-01-17 15:26:15
jiangfan2008
木虫 (著名写手)
- 应助: 44 (小学生)
- 金币: 12857.9
- 散金: 744
- 红花: 10
- 帖子: 2349
- 在线: 713.9小时
- 虫号: 942754
- 注册: 2010-01-15
- 专业: 微/纳机械系统
4楼2019-10-30 03:09:00










回复此楼
30