|
[Sponsors] |
October 31, 2017, 03:33 |
Define CG_Motion UDF Macro query
|
#1 |
New Member
Nikhil Bhat
Join Date: Mar 2012
Posts: 8
Rep Power: 14 |
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 |
|
Tags |
cg_motion udf, rotating bodies |
|
|
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 |