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

How do you move a object in 2D simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By colinB

Reply
 
LinkBack Thread Tools Search this Thread 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: Parker, CO
Posts: 17
Rep Power: 16
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: 460
Rep Power: 18
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: 18
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
anandsudhi likes this.
colinB is offline   Reply With Quote

Old   April 7, 2012, 15:48
Default
  #4
New Member
 
David Hickerson
Join Date: Aug 2009
Location: Parker, CO
Posts: 17
Rep Power: 16
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

Old   December 9, 2015, 07:35
Default
  #5
New Member
 
anand sudhi
Join Date: Sep 2015
Posts: 16
Rep Power: 10
anandsudhi is on a distinguished road
Hi, I know its an old post, hope you are still following it

If you have figured it out, please help me out.
anandsudhi is offline   Reply With Quote

Old   December 9, 2015, 07:44
Default
  #6
New Member
 
anand sudhi
Join Date: Sep 2015
Posts: 16
Rep Power: 10
anandsudhi is on a distinguished road
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
I need help in specifying fixedPlane constraint in dynamicMeshDict for a 2D case in the x-y plane with pitching motion and translation in x and y

Is this entry the correct way

fixedPlaneXY
{
sixDoFRigidBodyMotionConstraint fixedPlane;

fixedPlaneCoeffs
{
refPoint $centreOfMass;
direction (0 0 1); //normal direction to plane
}
}

I am solving an overset mesh problem and use the sixDOFMotion to slide one mesh over the other. I need to constraint the motion in the x-y plane.

And using fixedAxis seems to not update my rotation as the axis vector (0 0 1) does not lie in my moving mesh.

Thank you
anandsudhi is offline   Reply With Quote

Reply

Tags
dynamic mesh, fixedaxis, fixedline, sixdofrigidbody


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
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 03:25
strange simulation error Ralf Schmidt FLUENT 2 May 4, 2007 13:02


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