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

What is meaning of centreOfMass, transform

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2020, 02:28
Default What is meaning of centreOfMass, transform
  #1
New Member
 
PikaBoo
Join Date: Jan 2020
Posts: 2
Rep Power: 0
kind9111 is on a distinguished road
I'm solving tutorial DTCHull (interDyMFoam) in OF41.

But I don`t know "centreOfMass", "transfoam" in constant/dynamicMeshDict

Does anyone know what this means?
kind9111 is offline   Reply With Quote

Old   October 16, 2020, 06:03
Default
  #2
Senior Member
 
Join Date: Oct 2017
Posts: 133
Rep Power: 9
Krapf is on a distinguished road
centreOfMass is the center of mass of the body in relation to the global coordinate system.

I can't help you with transform, but I found this post: User guide for dynamicMeshDict
Krapf is offline   Reply With Quote

Old   October 16, 2020, 06:35
Default
  #3
New Member
 
PikaBoo
Join Date: Jan 2020
Posts: 2
Rep Power: 0
kind9111 is on a distinguished road
The contents of my dynamicMeshDict file are as follows.



dynamicFvMesh dynamicMotionSolverFvMesh;

motionSolverLibs ("librigidBodyMeshMotion.so");

solver rigidBodyMotion;

rigidBodyMotionCoeffs
{
report on;

solver
{
type Newmark;
}

accelerationRelaxation 0.4;

bodies
{
KVLCC2
{
type rigidBody;
parent root;

centreOfMass (0 0 0);
mass 155.929757471;
inertia (8.392763266119104 0 0 99.79504478144 0 99.79504478144);
transform (1 0 0 0 1 0 0 0 1) (0 0 -0.022);

joint
{
type composite;
joints
(
{
type Pz;
}
{
type Ry;
}
);
}

patches (KVLCC2);
innerDistance 0.3;
outerDistance 1;
}
}

restraints
{
translationDamper
{
type linearDamper;
body KVLCC2;
coeff 8596;
}

rotationDamper
{
type sphericalAngularDamper;
body KVLCC2;
coeff 11586;
}
}
}



My ship is KVLCC2 (scale 1:100). Lpp=3.2m, center of mass=(0, 0, -0.022)


I think the transform value and the centre of rotation value are the same.

But when written as above, the result value is wrong.

anyone knows what's wrong?
kind9111 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
transform in the new motion library rigidBodyMeshMotion jiadongw OpenFOAM Running, Solving & CFD 18 November 15, 2024 12:26
What's the meaning of 'w' in 'wmake'? random_ran OpenFOAM Programming & Development 1 February 11, 2019 17:53
6DOF Rigid Body Motion Solver - Defining both centreOfMass and centreOfRotation Verse OpenFOAM Programming & Development 0 October 13, 2016 15:52
Solving euler eq on unstructured grid: how do i transform the flux back...? csnemes Main CFD Forum 0 February 15, 2012 07:07
Question on Hilbert Transform Wen Long Main CFD Forum 1 April 29, 2004 06:58


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