找回密码
 注册
查看: 1366|回复: 3

a problem about dynamic mesh

[复制链接]
发表于 2005-5-16 14:12:10 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
Hi
I';m having trouble getting the UDF DEFINE_GEOM to work properly. I would like to use the UDF to make the bottom of a rectangular duct with air blowing deform into a different shape over time. I have compiled the UDF properly and have hooked it into fluent as outlined in the UDF user';s manual. However, when I view the mesh motion, the bottom does not deform.
I would really appreciate your help. My e-mail is sxy_hit@163.com
My project is shown as follow.  I will give you some file about my problem. Thank you!

                           
The bottom of the duct is from (-5,-2.5) to (-5,2.5). the new position is defined by a parabola through (-5,-2.5), (0,-1) and (-5,2.5). The parabola is  .
/*************************************************************
*
*   defining parabola through points (-5,-2.5),(0,-1),(5,-2.5)
*
*************************************************************/
#include "udf.h"
DEFINE_GEOM(parabola,domain,dt,position)
{
/*set y=-0.06x^2-1*/
position[1]=-0.06*position[0]*position[0]-1;
}

 楼主| 发表于 2005-5-16 14:12:59 | 显示全部楼层

a problem about dynamic mesh

DEFINE_GEOM
 楼主| 发表于 2005-5-16 14:18:44 | 显示全部楼层

a problem about dynamic mesh

相关文件
发表于 2005-5-29 10:35:39 | 显示全部楼层

a problem about dynamic mesh

guanzhu
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表