How can I define lateral axis as axis of rotation in Ansys UDF?
Hello Everyone ,
I am giving sinusoidal oscillatory motion to a 3D airfoil about longitudinal axis (lateral oscillations ) . How can I define "X-axis" as axis of rotation . As you know that by default Z-axis is axis of rotation . My Code is as follow ; # include "udf.h" DEFINE_ZONE_MOTION(sinusoidal,omega,axis,origin,ve locity,time,dtime) { real w = 2.0*M_PI*0.5; real wt = w*time; real axis[1]; real th, thd; th = -0.017453*sin(wt); thd = -0.017453*w*cos(wt); *omega = thd; } |
|
All times are GMT -4. The time now is 05:00. |