|
[Sponsors] |
March 16, 2011, 14:59 |
Rotating body CG_MOTION
|
#1 |
Member
Join Date: Apr 2010
Location: Pisa / Italy
Posts: 62
Rep Power: 16 |
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 |
|
March 16, 2011, 16:03 |
|
#2 |
Member
Join Date: Apr 2010
Location: Pisa / Italy
Posts: 62
Rep Power: 16 |
Solved... I only needed to set inizial cg position in the dynamic mesh panel :P
|
|
|
|
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 |