# a problem about DEFINE_GEOM in dynamic mesh UDF

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 16, 2005, 02:16 a problem about DEFINE_GEOM in dynamic mesh UDF #1 speedcat Guest   Posts: n/a 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 would really appreciate your help. My e-mail is sxy_hit@163.com My project is shown as follow. I will give you some file about my problem. 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,-1) and (-5,2.5). The parabola is . /************************************************** *********** * * defining parabola through points (-5,-2.5),(0,-1),(5,-2.5) * ************************************************** ***********/ #include "udf.h" DEFINE_GEOM(parabola,domain,dt,position) { /*set y=-0.06x^2-1*/ position[1]=-0.06*position[0]*position[0]-1; }

 May 16, 2005, 04:09 Re: a problem about DEFINE_GEOM in dynamic mesh UD #2 Luca Guest   Posts: n/a Hi, im not sure it will work this way...are you sure that define_geom can be uses to move nodes? I know it is used to introduce an algebric constain but not to move nodes. I would try using grid_motion and update your nodes cordinates form the rectangular to parabola edge.Luca

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 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 OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post mahzironrazak FLUENT 97 December 28, 2020 23:09 Tobard FLUENT 1 April 28, 2011 19:00 SSL FLUENT 2 January 26, 2008 12:55 Jim FLUENT 1 June 8, 2005 10:26 Ryan FLUENT 1 April 16, 2004 07:05

All times are GMT -4. The time now is 15:23.

 Contact Us - CFD Online - Privacy Statement - Top