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

pimpleDyFoam and sixDoFMotionSolver to move two patches

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 1, 2022, 22:45
Default pimpleDyFoam and sixDoFMotionSolver to move two patches
  #1
Member
 
WY
Join Date: Mar 2020
Posts: 36
Rep Power: 6
WUYing is on a distinguished road
Hi Foamers,
I have a geometry consisting of body1 and body2, they are connected with each other and move together, i.e. they can be treated as one rigid body. I use pimpleDyMFoam and sixDoFMotionSolver to study its vibration and it works well when I take body1 and body2 as one patch (BODY). And I can obtain the aerodynamic force on the BODY.
However, I'd like to know the force on body1 and body2, respectively, so my plan is to take it as two patches, so I modify dynamicMeshDict file to add the patch name.
HTML Code:
dynamicFvMesh   dynamicMotionSolverFvMesh;
motionSolverLibs ( "libsixDoFRigidBodyMotion.so" );
solver          sixDoFRigidBodyMotion;
sixDoFRigidBodyMotionCoeffs
{
...
patches   (BODY1 BODY2);    // before modification: patches   (BODY);
...
}
So that I can calculate the force on BODY1 and BODY2 respectively. And if I understand correctly, the force on BODY1 plus the force on BODY2 should equal to the force on BODY. Am I right in set up the case moving two bodies?
Or is there any other method to obtain the force contribution on each body when calculating it as one body?
Thanks!!!
WUYing is offline   Reply With Quote

Reply

Tags
multiple patches, pimpledymfoam, sixdofmotionsolver

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 16:11.