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

CG Motion Absolute coordinates

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

Like Tree2Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   September 22, 2012, 09:15
Exclamation importance of CG motion
  #61
Member
 
Aamer Shahzad
Join Date: Mar 2010
Posts: 58
Rep Power: 5
aamer is on a distinguished road
Quote:
Originally Posted by sheth View Post
Hey JG, I finally got it working. Thanks for all your help. The constants in equation were not the issue, even with the constants it went well. The wing just bends slightly so I think I need to set dynamic parameters so it doesn't happen.

For those who are trying here is what to follow:
1. Use Euler angles to define angles (Theta, Phi... etc in Euler Angles)
2. Orient Geometry As it shall be at time t=0.
3. In dynamic mesh, when you define dynamic zone, mention CG properly (Very IMP), In my case I wrote the Cg position x,y,z and I didn't mention the cg orientation when defining dynamic mesh zones.
4. Follow the order X, Y, and then Z, i.e. The first rotation will be about X axis, second will be about Y axis, and third will be about Z axis.
5. The UDF that JR has provided works perfectly, its in this thread itself, so many thanks to JG for that.
6. If your motion is not proper, then play with positive negative sign, I had to do this in my case also. Try changing signs of equations, and you may get proper motion.
Hello.....

hope you are doing fine. you wrote that mentioning CG position and orientation is important. Will you please tell how to give CG position and orientation correctly.
aamer is offline   Reply With Quote

Old   September 22, 2012, 10:55
Default
  #62
Senior Member
 
Join Date: Mar 2011
Posts: 379
Rep Power: 5
cfd seeker is on a distinguished road
Quote:
Will you please tell how to give CG position and orientation correctly.
I assume you are using DEFINE_CG_MOTION macro give motion to wing. In Dynamic Mesh zones when you define your wing as "Rigid Body" you also need to define CG location of wing which will be used as a reference point by the wing to perform the desired motion(as instructed to it by the UDF) say for example flapping motion around x-axis(chord axis) was desired for me I gave x and y coordinates of the CG location in CG position tab and wing used these coordinates as reference point to give desired motion, hope it helps you
cfd seeker 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 121 March 7, 2013 17:21
Specify radial mesh motion in CFX Jonas CFX 2 April 23, 2008 02:54
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09
tank motion on boat Tim FLUENT 0 May 23, 2007 11:50
large scale mesh motion sb FLUENT 1 April 27, 2007 22:23


All times are GMT -4. The time now is 01:10.