|
[Sponsors] |
October 13, 2017, 08:17 |
CentreOfMass in RigidBodyMotion solver
|
#1 |
New Member
ChristianWindt
Join Date: Dec 2016
Posts: 8
Rep Power: 10 |
Hi all,
I'm currently working on a fluid-structure interaction problem considering a hinged body. As solver, I employ the 'new' rigidBodyMotion solver implemented in the OpenFOAM version v1706. Throughout the simulation I now would like to print out the centre of mass at each time step. Means that I would like to add a line to this part of the rigidBodyMotion.C Code:
Info<< "Rigid-body motion of the " << name(bodyID) << nl << " Centre of rotation: " << CofR.r() << nl << " Orientation: " << CofR.E() << nl << " Linear velocity: " << vCofR.l() << nl << " Angular Velocity: " << vCofR.w() << endl; Cheers, Christian |
|
October 2, 2018, 09:33 |
|
#2 |
New Member
Adri
Join Date: Sep 2017
Posts: 24
Rep Power: 9 |
Hi,
I have the same question. Did you have an answer ? adrià |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent Adjoint Solver? | ex10148 | FLUENT | 16 | September 28, 2018 09:11 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 10:52 |
Divergence problem | Smaras | FLUENT | 13 | February 21, 2013 06:03 |
3d vof | Smaras | FLUENT | 2 | February 19, 2013 07:58 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |