CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Problem with using DEFINE_GRID_MOTION

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

LinkBack Thread Tools Display Modes
Old   December 27, 2011, 17:01
Default Problem with using DEFINE_GRID_MOTION
New Member
Join Date: Nov 2011
Posts: 13
Rep Power: 8
raghu mohan is on a distinguished road
I am using this UDF on a wall but I don't see any motion in the zone(wall):

#include "udf.h"

Thread *tf = DT_THREAD(dt);
face_t f;
Node *v;
real NV_VEC(axis);
real disp;
int n;

/* set deforming flag on adjacent cell zone */

Message ("time = %f", time);

disp = dtime + time;
NV_D(axis, =, 0.0, 1.0, 0.0);

v = F_NODE(f,tf,n);

/* update node if x position is greater than 0.02
and that the current node has not been previously
visited when looping through previous faces */

/* indicate that node position has been update
so that it's not updated more than once */

NV_VS(NODE_COORD(v), +=, axis, *, disp);

Actually I am using layering method of dyn meshing technique. compiled and loaded this UDF. Attached this UDF to a wall through user-defined Type in dynamic zones panel. And gave time step as .01 and no.of steps as 500 in Zone motion panel but there is no motion in zone.

Can you please let me know what the mistake I am doing.
If you need any other information about what steps I am following please let me know.

Thank You,
raghu mohan 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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52

All times are GMT -4. The time now is 12:29.