研发埠
标题:
我想用FLUENT做一个运动模拟:图1是划分的网格,wall_l和wall_r均是deforming类型
[打印本页]
作者:
花子
时间:
2013-8-14 16:23
标题:
我想用FLUENT做一个运动模拟:图1是划分的网格,wall_l和wall_r均是deforming类型
Domain Extents: x-coordinate: min (m) = 0.000000e+000, max (m) = 3.000000e+001 y-coordinate: min (m) = 0.000000e+000, max (m) = 4.000000e+001Volume statistics: minimum volume (m3): 4.995137e-002 maximum volume (m3): 1.362352e-001 total volume (m3): 2.625000e+002UDF定义的wall_b(rigid类型)的运动#include <stdio.h>#include &quot;udf.h&quot;DEFINE_CG_MOTION(jump,dt,cg_vel,cg_omega,time,dtime){if(time<=0.006) cg_vel[1]=5;else if(time<=0.012) cg_vel[1]=-5;else cg_vel[1]=0.0;}[img][/img][img][/img]
欢迎光临 研发埠 (http://bbs.yanfabu.com/)
Powered by Discuz! X3.2