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] |
|
|
|
|
共 0 个关于本帖的回复 最后回复于 2013-8-14 16:23