CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   cg_motion (https://www.cfd-online.com/Forums/fluent/48198-cg_motion.html)

Geri May 11, 2008 09:48

cg_motion
 
Helo!

I use a very simple udf to define rigid body motion as follows:

#include "udf.h"

DEFINE_CG_MOTION(flutter, dt, vel, omega, time, dtime); { omega[2] = 0.1*cos(time); }

It works, the body moves as desired, but if i use "omega[2] = 0.1*cos(10*time);" or i multiply the "time" with anything, the Fluent rotates the body not with the defined aplitude, something goes wrong...

Can anybody help me?

Thanks


All times are GMT -4. The time now is 01:30.