CFD Online Logo CFD Online URL
Home > Forums > FLUENT

help me for dynamic mesh

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

LinkBack Thread Tools Display Modes
Old   May 17, 2005, 21:44
Default help me for dynamic mesh
Posts: n/a
Sponsored Links
Hi I'm having trouble getting the UDF DEFINE_GEOM to work properly. I would like to use the UDF to make the bottom of a rectangular duct with air blowing deform into a different shape over time. I have compiled the UDF properly and have hooked it into fluent as outlined in the UDF user's manual. However, when I view the mesh motion, the bottom does not deform.

I'm having trouble getting the UDF DEFINE_GRID_MOTION to work properly, too. I have compiled the UDF properly and have hooked it into fluent as outlined in the UDF user's manual. However, when I define the zone of the dynamic mesh, an error of ˇ°incorrect geometry udf gg on zone 6 (assuming no geometry )ˇ±. The bottom is zone whose ID is 6.

I would really appreciate your help. My e-mail is

My project is shown as follow. I will give you some file about my problem and the UDF of DEFINE_GEOM and DEFINE_GRID_MOTION.Thank you!

The bottom of the duct is from (-5,-2.5) to (-5,2.5). the new position is defined by a parabola through (-5,-2.5), (0,-2.4) and (-5,2.5). The parabola is


/************************************************** *** * * defining parabola through points (-5,-2.5), (0,-2.4),(5,-2.5) * ************************************************** ***/ #include "udf.h"



/*set y=-0.004x^2-2.4*/




/************************************************** *** * * defining parabola through points (-5,-2.5), (0,-2.4),(5,-2.5) * ************************************************** ***/ #include "udf.h"

DEFINE_GRID_MOTION(gg, domain, dt, time, dtime)


Thread *tf = DT_THREAD (dt);

face_t f;

Node *v;

int n;


begin_f_loop (f, tf)


f_node_loop (f, tf, n)


v=F_NODE (f, tf, n);








end_f_loop (f, tf);


  Reply With Quote
Sponsored Links


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
[ICEM] surface mesh merging problem everest ANSYS Meshing & Geometry 44 April 14, 2016 06:41
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
Meshing aifoil in ICEM student123a ANSYS Meshing & Geometry 13 December 8, 2010 11:40
mesh missing after export in gambit morteza08 ANSYS Meshing & Geometry 1 July 26, 2010 01:10
2d irregular grid Remy Main CFD Forum 1 December 22, 2008 05:49

Sponsored Links

All times are GMT -4. The time now is 00:34.