CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

incorrect grid motion

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2010, 08:43
Default incorrect grid motion
  #1
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

#include<udf.h>
#include<math.h>


#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, 05:51
Default
  #2
Senior Member
 
Herman
Join Date: Nov 2009
Posts: 122
Rep Power: 16
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

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF problem: incorrect grid motion Fil FLUENT 5 December 19, 2020 10:16
Grid motion with UDF fivos Fluent UDF and Scheme Programming 5 June 30, 2018 09:50
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
MapFields to New Grid For Extreme Grid Deformations due to Body Motion albcem OpenFOAM 0 May 5, 2009 15:17
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 06:59


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