I am quite new to UDF coding/C-programming. I found a UDF example for rotation as shown below but i cant tell what the value of the speed is in RPM or rad/s.

udfexample.c

DEFINE_CG_MOTION (rotation_udf_45, dt, vel, omega, time, dtime)

{

real pi = 3.141592;

real omega_constant = 100*pi/180;

omega[2] = omega_constant;

}

thanks for your help.

Similar questions and discussions