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

UDF CG_MOTION rotation dynamic mesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Mads

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2007, 04:00
Default UDF CG_MOTION rotation dynamic mesh
  #1
Mads
Guest
 
Posts: n/a
Hi all,

I am trying to rotate a geometry using an UDF file which provides the function: DEFINE_CG_MOTION.

I have a cylinder which is rotated 15 deg about the x-axis. I want to rotate it as a solid body. The real geometry is much more complicated, and I need to use dynamic meshing, which is why I need the CG_MOTION UDF.

In the UDF I use the statement:

NV_D(cg_omega, =, omega_x, omega_y, omega_z);

If I just provide omega_z, the entire cylinder rotates about the z-axis, naturally. If I want the cylinder to rotate at any given angular frequency, omega, I multiply omega with a unit vector which points along the length of the cylinder. This doesn't work. The cylinder just rotates around its Center of Gravity point by the values given in cg_omega, and not using it as a rotational vector, with the rotation perpendicular to it.

I tried to adjust the 'Center of Gravity Orientation' in the 'Dynamic Mesh Zones' panel, but this has no effect.

Heeelp

Best regards Mads

zhaomu67 likes this.
  Reply With Quote

Old   August 1, 2010, 02:05
Default rotation about z axis
  #2
Member
 
ahmad
Join Date: Jul 2010
Posts: 57
Rep Power: 15
almostafa67 is on a distinguished road
hi dear mads...
long ago you were studying a case that contained rotating a cylinder about z axis,now i'm working on something like that,i sent you two images that both of them are kind of peristaltic pump,i want to rotate two/one small cylinder about z axis,i should write an udf but actually i dont know which command can make yhis simple movement for me,i will be thankful if you could help me out
looking forward to ur help.
Attached Images
File Type: jpg 1.JPG (68.2 KB, 163 views)
File Type: jpg 2.JPG (79.1 KB, 99 views)
almostafa67 is offline   Reply With Quote

Old   April 15, 2014, 03:30
Default
  #3
New Member
 
M MOHSIN's Avatar
 
M Mohsin Iqbal
Join Date: Jan 2014
Location: National University Sciencies & Technology, Pakistan
Posts: 17
Rep Power: 12
M MOHSIN is on a distinguished road
hi , i needed help to do a cfd of a rotating propeler . i need a udf for it. anybody plz help me out here. looking forward
M MOHSIN is offline   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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
udf -dynamic mesh MUHAMMAD FARRUKH FLUENT 0 September 15, 2005 10:15
Problem related with UDF for dynamic mesh Ryan FLUENT 6 April 29, 2004 09:29
UDF problem for dynamic mesh??? lyf FLUENT 1 April 19, 2004 06:43
Problem related with UDF for dynamic mesh Ryan FLUENT 1 April 16, 2004 06:05


All times are GMT -4. The time now is 16:41.