How do you move a object in 2D simulation
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?
have you already looked at the tutorial incompressible/pimpleDyMFoam/movingCone?
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
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.
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.
|All times are GMT -4. The time now is 14:55.|