我想用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=5;else if(time<=0.012)cg_vel=-5;elsecg_vel=0.0;}
页:
[1]