CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

How do you move a object in 2D simulation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 4, 2012, 23:14
Default How do you move a object in 2D simulation
  #1
New Member
 
David Hickerson
Join Date: Aug 2009
Location: Monument, CO
Posts: 17
Rep Power: 7
dahicke is on a distinguished road
Send a message via AIM to dahicke
I am working on a thesis problem where I want to move a hull or floating box at a velocity in a 2D simulation using waveDyMFoam, a modified interDyMFoam for a wave BC. I am trying to use sixDoFRigidBodyDisplacement with fixed axis x and z with no rotation, however I am finding little or no documentation on the use of sixDoFRigidBodyDisplacement. Digging in the code is slow and not alway meaningful.

Does anyone guidance on how to set up a constraint for 2D motion with rotation on the y axis and translation on x and z?

Thanks,

Dave
dahicke is offline   Reply With Quote

Old   April 5, 2012, 04:30
Default
  #2
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 463
Rep Power: 9
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
Hi David;
have you already looked at the tutorial incompressible/pimpleDyMFoam/movingCone?
lovecraft22 is offline   Reply With Quote

Old   April 5, 2012, 09:49
Default
  #3
Senior Member
 
Join Date: Aug 2010
Location: Groningen, The Netherlands
Posts: 216
Rep Power: 9
colinB is on a distinguished road
Hi,

it is hard for me to imagine what you want
2D -Simulation or x-z translation and y rotation thats at least 3D
according to my way of thinking
(please correct me if I'm wrong)
So more information would be helpfull.

From what I understand I would keep the body/hull fixed
and specify a velocity vector for the x-z direction of the liquid

and the rotation maybe simulated with the BC moving_wall
you find in Lid driven Cavity tutorial (the first one)

This should be sufficient to use interFoam

I hope that brings you closer

regards
colinB is offline   Reply With Quote

Old   April 7, 2012, 15:48
Default
  #4
New Member
 
David Hickerson
Join Date: Aug 2009
Location: Monument, CO
Posts: 17
Rep Power: 7
dahicke is on a distinguished road
Send a message via AIM to dahicke
Hi Colin,

I am looking at wave action in response to a hull moving away from the incoming waves with z up, x right, and y forward. Waves propagating from left to right. The y direction is one cell deep.

y
z /
| /
|/________ x

The hull is floating on the surface and is rotating along the y axis, but not the x and z, and is free to translate in x and z due to wave action and motion. It is the rigid body motion that is requiring the use of interDyMFoam, plus the changes for a wave BC to make it waveDyMFoam.

I have gone over the lid cavity tutorial and have written a FDM program for it when I took a CFD course.

Dave

Quote:
Originally Posted by colinB View Post
Hi,

it is hard for me to imagine what you want
2D -Simulation or x-z translation and y rotation thats at least 3D
according to my way of thinking
(please correct me if I'm wrong)
So more information would be helpfull.

From what I understand I would keep the body/hull fixed
and specify a velocity vector for the x-z direction of the liquid

and the rotation maybe simulated with the BC moving_wall
you find in Lid driven Cavity tutorial (the first one)

This should be sufficient to use interFoam

I hope that brings you closer

regards
dahicke is offline   Reply With Quote

Reply

Tags
dynamic mesh, fixedaxis, fixedline, sixdofrigidbody

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
velocity profile export from a simulation onto another sudhirlv STAR-CCM+ 1 September 12, 2010 18:57
How to show the transient case? H.P.LIU Phoenics 7 July 13, 2010 04:31
Simulation doesn't meet reality Hans FloEFD, FloWorks & FloTHERM 1 June 9, 2010 08:59
Simulation of object in rotation Dothan FLUENT 4 March 25, 2008 04:25
strange simulation error Ralf Schmidt FLUENT 2 May 4, 2007 13:02


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