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

Question on the differences of rigidBodyMotion and sixDoFRigidBodyMotion.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By lin

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2019, 13:25
Default Question on the differences of rigidBodyMotion and sixDoFRigidBodyMotion.
  #1
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
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
vnkanang likes this.
lin is offline   Reply With Quote

Old   July 10, 2020, 14:20
Default
  #2
Senior Member
 
Join Date: Jan 2019
Posts: 125
Blog Entries: 1
Rep Power: 0
Michael@UW is on a distinguished road
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
Michael@UW is offline   Reply With Quote

Old   July 16, 2020, 01:09
Default
  #3
Member
 
Ran
Join Date: Aug 2016
Posts: 69
Rep Power: 10
random_ran is on a distinguished road
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
random_ran is offline   Reply With Quote

Reply


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
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


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