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

a problem about DEFINE_GEOM in dynamic mesh UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2005, 02:16
Default 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; }

  Reply With Quote

Old   May 16, 2005, 04:09
Default 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
  Reply With Quote

Reply


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
Dynamic mesh & Negative volume in 3D mahzironrazak FLUENT 97 December 28, 2020 23:09
Dynamic mesh for rotating wall - UDF ? Tobard FLUENT 1 April 28, 2011 19:00
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Dynamic Mesh setup problem Jim FLUENT 1 June 8, 2005 10:26
Problem related with UDF for dynamic mesh Ryan FLUENT 1 April 16, 2004 07:05


All times are GMT -4. The time now is 13:46.