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

Moment calculation for 6DoFs motion object

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2023, 04:56
Default Moment calculation for 6DoFs motion object
  #1
Member
 
YS
Join Date: Jan 2010
Posts: 96
Rep Power: 16
Ya_Squall2010 is on a distinguished road
Hi Foamers,

We know that there're two different libs in OF to calculate the 6DoFs motions of a floating object. The ways they calculate the moment of the object using the functionObject::force lib are however different:

in rigidBodyMeshMotion::solve() we have:
forcesDict.add("CofR", vector::zero);

but in sixDoFRigidBodyMotionSolver::solve() we have:
forcesDict.add("CofR", motion_.centreOfRotation());

the latter make more sence to me. Just wonder how does the former lib corrently calculate the moment without passing the latest CofR to force lib? Or is this a bug?

Thanks and please correct me if I'm wrong.
Ya_Squall2010 is offline   Reply With Quote

Old   August 20, 2023, 23:25
Default
  #2
Member
 
YS
Join Date: Jan 2010
Posts: 96
Rep Power: 16
Ya_Squall2010 is on a distinguished road
It turns out that in the rigidBodyDynamic lib, the Articulated-Body Algorithm is implemented, and wherein, the Zero'th body in the linkage tree is fixed no matter how the rest of the "linked" bodies move. This implies that the CoR of entire linked system is always at the ZERO location.
Ya_Squall2010 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
Calculation of drag force and yaw moment of catamaran hull CenterRime OpenFOAM Running, Solving & CFD 0 April 10, 2023 00:41
Script for calculation of drag force and yaw moment of the hull CenterRime OpenFOAM Post-Processing 0 April 10, 2023 00:26
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 05:55
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36
2D analysis and moment calculation carno FLUENT 2 November 28, 2006 02:08


All times are GMT -4. The time now is 04:52.