# UDF CG_MOTION rotation dynamic mesh

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

 January 16, 2007, 05:00 UDF CG_MOTION rotation dynamic mesh #1 Mads Guest   Posts: n/a Sponsored Links 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.

August 1, 2010, 02:05
#2
Member

Join Date: Jul 2010
Posts: 57
Rep Power: 9
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
 1.JPG (68.2 KB, 125 views) 2.JPG (79.1 KB, 78 views)

 April 15, 2014, 03:30 #3 New Member     M Mohsin Iqbal Join Date: Jan 2014 Location: National University Sciencies & Technology, Pakistan Posts: 15 Rep Power: 5 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

 Thread Tools 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 On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20 MUHAMMAD FARRUKH FLUENT 0 September 15, 2005 10:15 Ryan FLUENT 6 April 29, 2004 09:29 lyf FLUENT 1 April 19, 2004 06:43 Ryan FLUENT 1 April 16, 2004 06:05