CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF of tube moving with pendulum motion (http://www.cfd-online.com/Forums/fluent/48695-udf-tube-moving-pendulum-motion.html)

Esther July 7, 2008 04:33

UDF of tube moving with pendulum motion
 
Hello,

I'm working on a tube which is moving with a pendulum motion around the y-axis of the coordinate system. The origin of the coordinate system is located at the top of the tube on the symmetry axis (three dimensional) with the x and y-axis pointing towards the tube border and the z-axis pointing through the tube. The equation describing the motion is simply: omega = -theta_zero *w*sin(w*t). Therefore i have to create an UDF. I tried with DEFINE_GRID_MOTION and DEFINE_CG_MOTION, but it didn't work. It would be great if somebody could help me with this problem. Thanks a lot.


All times are GMT -4. The time now is 15:43.