|
[Sponsors] |
Question on the differences of rigidBodyMotion and sixDoFRigidBodyMotion. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 24, 2019, 13:25 |
Question on the differences of rigidBodyMotion and sixDoFRigidBodyMotion.
|
#1 |
Senior Member
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17 |
I'm interested in the FSI and find that the floatingObject tutorial is a good starting point. However, I'm confused about this two libary, rigidBodyMotion and sixDoFRigidBodyMotion.
At a first glance, it seems that both are capable of simulation FSI, but I want to know what's the pros and cons of each one. After searching the forums and other materials, I can find that rigidBodyMotion can be used to simulate multiple articulated rigid bodies, then what is the advantage of sixDoFRigidBodyMotion? Can anyone help me clatify this question? Thanks |
|
July 10, 2020, 14:20 |
|
#2 |
Senior Member
|
Hi Lin,
This is an interesting question, and I am also wondering about the differences. The only thing I know is that sixDoFRigidBodyMotion is contained in the library of libsixDoFRigidBodyMotion.so but rigidBodyMotion is in librigidBodyMeshMotion.so. Can you share your findings? Thanks, Michael |
|
July 16, 2020, 01:09 |
|
#3 |
Member
Ran
Join Date: Aug 2016
Posts: 69
Rep Power: 10 |
The source codes are similar. The human readable information is almost
the same for both. But here's a difference: rigidBodyMotion: #+begin_src cpp // Private Member Functions //- Initialize the body-state void initialize(); #+end_src sixDoFRigidBodyMotion: #+begin_src cpp // Private Member Functions //- Calculate the rotation tensor around the body reference // frame x-axis by the given angle inline tensor rotationTensorX(scalar deltaT) const; //- Calculate the rotation tensor around the body reference // frame y-axis by the given angle inline tensor rotationTensorY(scalar deltaT) const; //- Calculate the rotation tensor around the body reference // frame z-axis by the given angle inline tensor rotationTensorZ(scalar deltaT) const; //- Apply rotation tensors to Q0 for the given torque (pi) and deltaT // and return the rotated Q and pi as a tuple #+end_src So, I just speculate that the sixDof is just a type of rigid body motion. In other word, rigidBodyMotion is more general.
__________________
Yours in CFD, Ran |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fatal error with rho in rigidBodyMotion! | monnda | OpenFOAM Running, Solving & CFD | 1 | November 3, 2023 10:39 |
OpenFOAM - Questions about rigidBodyMotion of floating object tutorial | foamF | OpenFOAM | 7 | March 18, 2021 07:40 |
Defining centre of mass/rotation in rigidBodyMotion solver | tok3rat0r | OpenFOAM Running, Solving & CFD | 1 | November 26, 2018 10:44 |
CentreOfMass in RigidBodyMotion solver | H3000 | OpenFOAM Programming & Development | 1 | October 2, 2018 09:33 |
linearAxialAngularSpring restraint in rigidBodyMotion solver | jiadongw | OpenFOAM Running, Solving & CFD | 4 | August 13, 2018 22:33 |