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

UDF CG_MOTION rotation dynamic mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 16, 2007, 05: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

  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: 6
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, 90 views)
File Type: jpg 2.JPG (79.1 KB, 55 views)
almostafa67 is offline   Reply With Quote

Old   April 15, 2014, 03:30
Default
  #3
New Member
 
Mohsin
Join Date: Jan 2014
Location: NUST
Posts: 11
Rep Power: 3
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

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
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 14:45.