Angular velocity in fluent UDF
Hello everyone,I'm using fluent UDF to define angular velocity for dynamic grid simulation, and the angular velocity was set 5ras/s,but the result of fluent calculation is different from what I defined.
for example,the angular velocity was 5ras/s,the time to calculate one circle should be 2*pi/5=1.25s.But I calculated for a long time (such as 20s) and didn't reach a circle(2*pi). the code is below: DEFINE_CG_MOTION(side2,dt,vel,omega,time,dtime) { real flow_time = CURRENT_TIME; if(flow_time >=0) omega[2]=-5; } does anyone can help me? Thank you in advance |
what about
Code:
DEFINE_CG_MOTION(side2,dt,vel,omega,time,dtime) |
Quote:
the omega[2] represents rotation around the Z axis, with a size of 5 radians / s. thank you . |
check if it works or not
|
All times are GMT -4. The time now is 13:03. |