CFD Online Logo CFD Online URL
Home > Forums > FLUENT


Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 7, 2009, 08:08
Posts: n/a
Hi guys,

I'm doing about vibration disk oscillating under water and here is my udf for cg-motion can someone please help me check. I've tried to run it but it said incorrect cg-motion on zone......assume no motion. Does it mean I set the boundary wrong or my udf is wrong?

Thank you very much....

#include "udf.h" real loc, vel;

DEFINE_CG_MOTION (disk, dt, cg_vel, cg_omega, time, dtime) { # if 1

FILE *fp; # endif

/* reset velocities */

NV_S(cg_vel,=, 0.0);

NV_S(cg_omega,=, 0.0);

if (!Data_Valid_P())


loc = 0.000003*sin(2*M_PI*1460000*time);

vel = 0.000003*M_PI*1460000*cos(2*M_PI*1460000*time);

cg_vel[1] = vel;
  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF CG_MOTION rotation dynamic mesh Mads FLUENT 2 April 15, 2014 03:30
cg_motion Geri FLUENT 0 May 11, 2008 09:48
CG_MOTION : CG_orientation angle : theta_Z ???? calogero FLUENT 0 April 15, 2003 02:29

All times are GMT -4. The time now is 05:13.