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: 7
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
Location: Germany
Posts: 414
Rep Power: 11
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

Old   March 3, 2014, 08:29
Default UDF FOR AN OSCILLATING FLAT PLATE (vertical oscillation)
  #63
New Member
 
Wisdom
Join Date: Oct 2012
Posts: 2
Rep Power: 0
mcsagesse is on a distinguished road
Hi all I am trying to write UDF for a flow over an oscillating flat plate. I have very very little knowledge of C++ so I am a novice, please I will need assistance from anybody that could help. After going through the Fluent Manual I believe I will need to write DEFINE CG_MOTION udf. Please I need your help. This is my personal email mcsagesse@yahoo.com. My major concern to write the udf for the plate oscillating along the y-axis

Thanks

Wizzy
mcsagesse is offline   Reply With Quote

Old   July 10, 2015, 15:05
Default 2d moving mesh for piston movement
  #64
New Member
 
Pradeep
Join Date: Nov 2014
Posts: 8
Rep Power: 2
pradeep6890 is on a distinguished road
Kindly help me in writing the udf to move a piston profile inside a cylinder to determine the flow pattern and turbulence. Many thanks in advance..
pradeep6890 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 122 June 15, 2014 06:20
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 15: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 19:50.