| 查看: 1203 | 回复: 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) |
» 猜你喜欢
求助中医院临床中医中标的青年标书学习,谢谢
已经有6人回复
浙大物院表面物理课题组长期招收普博及直博学生
已经有259人回复
物理学I论文润色/翻译怎么收费?
已经有159人回复
【征稿】Springer Nature热电专题 Discover Materials / Discover Chemistry
已经有47人回复
25届硕士申请,材料计算方向
已经有2人回复
课题组招1-2名硕士
已经有1人回复
机时越来越贵之后,我把一部分 DFT 流程搬到了 AI 计算平台上
已经有0人回复
斯坦福大学与Elsevier世界前2%学者新排名查询
已经有1人回复
27申博推荐:南京航空航天大学国际前沿院光学方向招收博士生!
已经有19人回复
华南师范大学+双一流学科物理学+广东省杰青团队2027年博士招生+机器学习驱动材料设计
已经有1人回复
apl投稿状态
已经有0人回复
2楼2017-09-09 16:09:14
3楼2018-01-17 15:26:15
jiangfan2008
木虫 (著名写手)
- 应助: 44 (小学生)
- 金币: 12979.4
- 散金: 745
- 红花: 10
- 帖子: 2354
- 在线: 716.5小时
- 虫号: 942754
- 注册: 2010-01-15
- 专业: 微/纳机械系统
4楼2019-10-30 03:09:00










回复此楼