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

Define CG_Motion UDF Macro query

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2017, 03:33
Smile Define CG_Motion UDF Macro query
  #1
New Member
 
Nikhil Bhat
Join Date: Mar 2012
Posts: 8
Rep Power: 14
bhat_nikhil is on a distinguished road
I want to use the UDF for specifying the rotation of 2 bodies. Please see figure attached(Rotation domain.pdf). As shown in the figure there are 2 bodies, nozzle 1 and nozzle 2. Nozzle 1 rotates about the global coordinate system whereas nozzle 2 rotates about axis 2. I managed to achieve the rotation of nozzle 1 around a circle(as shown in figure) by coinciding its axis of rotation with the global coordinate axis(since in the Define_CG_motion UDF, the axis of rotation by default is global Z axis). However I not able to achieve the rotation of nozzle 2 about axis 2 which is different from the global coordinate axis( as by default the UDF will assume that nozzle 2 rotates around global z axis).
So how do I specify the rotation of nozzle 2 around axis 2 in the UDF?

Thanks in advance
Attached Files
File Type: pdf Rotation domain.pdf (95.7 KB, 9 views)
bhat_nikhil is offline   Reply With Quote

Reply

Tags
cg_motion udf, rotating bodies


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
SR_Rate UDF For a MEMs model timjm Fluent UDF and Scheme Programming 1 October 10, 2018 03:16
udf problem eb.nabizadeh Fluent UDF and Scheme Programming 2 March 1, 2013 01:28
Help: using udf to define direction Bo FLUENT 1 July 16, 2008 07:47
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24
define my own DEFINE macro? to model pithing naca calogero FLUENT 0 April 10, 2003 06:10


All times are GMT -4. The time now is 20:05.