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

Rotating body CG_MOTION

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2011, 14:59
Exclamation Rotating body CG_MOTION
  #1
Member
 
Join Date: Apr 2010
Location: Pisa / Italy
Posts: 62
Rep Power: 16
Atze is on a distinguished road
Hi,

I've to analyze a body that is traslating and rotating at the same time (2d case). My problem is that the omega i set is always refered to the absolute z axis, while i want it refered to the axis paralel to z but passing through the CG of the body. Here my udf


#include "udf.h"

DEFINE_CG_MOTION(spin,dt,vel,omega,time,dtime)
{

omega[2]=76.34;

}

What can i do?

thanks
Atze is offline   Reply With Quote

Old   March 16, 2011, 16:03
Default
  #2
Member
 
Join Date: Apr 2010
Location: Pisa / Italy
Posts: 62
Rep Power: 16
Atze is on a distinguished road
Solved... I only needed to set inizial cg position in the dynamic mesh panel :P
Atze 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
Monitoring Torque on rotating body in MRFSimpleFoam mahendra OpenFOAM Running, Solving & CFD 41 March 18, 2019 21:08
UDF for defining a body force in Singel ROtating Reference Frame teymourj Fluent UDF and Scheme Programming 9 August 18, 2016 15:33
A body in a rotating frame sangrar STAR-CCM+ 5 August 12, 2012 23:03
dynamic mesh for rotating body Sumit FLUENT 0 September 14, 2008 06:07
CHT with radiation and body is rotating harish kumar CFX 0 February 1, 2008 12:00


All times are GMT -4. The time now is 00:07.