|
[Sponsors] |
basic question regarding transform in rigidBodyMotionCoeffs |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Jacques
Join Date: Jul 2019
Posts: 20
Rep Power: 7 ![]() |
I am struggling to find the .H / .C files where the "transform" is used.
Code:
FoamFile { format ascii; class dictionary; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // mover { type motionSolver; libs ("librigidBodyMeshMotion.so"); motionSolver rigidBodyMotion; rigidBodyMotionCoeffs { report on; solver { type Newmark; } accelerationRelaxation 0.7; bodies { floatingObject { type cuboid; parent root; // Cuboid dimensions L (0.1 0.1 0.1); // Density of the cuboid rho 800; // Cuboid mass mass #calc "$rho*cmptProduct($<vector>L)"; centreOfMass (0 0.08 0.08); transform (1 0 0 0 1 0 0 0 1) (0.4 0.45 0.35); I got that it corresponds to the centre of rotation (geometrical centre of the floating object), and that it enables to place the centreofmass (given in local coordinates with 0 0 0 the centre of rotation) in the global coordinates system, but I really can't find the actual files where this is done in the C++ reference guide... |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Member
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 63
Rep Power: 10 ![]() |
Quote:
Particularly in your case, within PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Basic question about iteration process | aerosayan | Main CFD Forum | 7 | December 20, 2020 21:53 |
Basic question about local timestepping | aerosayan | Main CFD Forum | 3 | December 20, 2020 08:19 |
[Other] very basic question about createPhi.H | feldy77 | OpenFOAM Meshing & Mesh Conversion | 2 | November 22, 2011 08:16 |
Basic question | forsumit | OpenFOAM | 0 | April 7, 2010 10:46 |
Basic Question | Abhi | FLUENT | 1 | August 4, 2007 08:07 |