CFD Online Logo CFD Online URL
Home > Forums > ANSYS

incorrect grid motion

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

LinkBack Thread Tools Display Modes
Old   June 7, 2010, 07:43
Default incorrect grid motion
New Member
Ambareesh Rishi
Join Date: May 2010
Posts: 2
Rep Power: 0
ambareesh13 is on a distinguished road
I am modelling flow around a vibrating cylinder.i have successfully compiled and hooked this UDF but i am continuously getting this error.

Warning: incorrect grid motion UDF valve::libudf on zone 6 (assuming no motion).
is something wrong with my UDF or compiler

This is my UDF


#define A4 1.25
#define F4 0.255

DEFINE_CG_MOTION(vibration, dt, cg_vel, cg_omega, time, dtime)
real st;
real va;

va = A4*2*M_PI*F4;

cg_vel[0] = 0.0;
cg_vel[1] = va*cos(2*M_PI*F4*time);
cg_vel[2] = 0.0;

NV_S(cg_omega, =, 0.0);

ambareesh13 is offline   Reply With Quote

Old   July 14, 2010, 04:51
Senior Member
Join Date: Nov 2009
Posts: 122
Rep Power: 10
enry is on a distinguished road
Hi ambareesh13,
I have the same problem, compiling a UDF written for fluent 6.3.26... I wrote an UDF that work well in fluent 6.3.26, but it doesn't work when I compile the same UDF in fluent 12. I tried also to compile an other udf finding on cfd on line, that was written for fluent 12, but the same problem appears on the screen.
Have you solved your problem? Could be a library problem?
Thanks in advance.
enry is offline   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
Grid motion with UDF fivos Fluent UDF and Scheme Programming 3 December 24, 2016 11:50
UDF problem: incorrect grid motion Fil FLUENT 4 January 3, 2015 14:14
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
MapFields to New Grid For Extreme Grid Deformations due to Body Motion albcem OpenFOAM 0 May 5, 2009 14:17
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 05:59

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