CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Accessing data from sixDoFRigidBodyMotionState outside sixDoFRigidBodyMotion (https://www.cfd-online.com/Forums/openfoam-programming-development/150719-accessing-data-sixdofrigidbodymotionstate-outside-sixdofrigidbodymotion.html)

Hannes_Kiel March 28, 2015 08:41

Accessing data from sixDoFRigidBodyMotionState outside sixDoFRigidBodyMotion
 
Dear All,

I'm currently trying to implement a new boundary condition that requires some data from the sixDoFRigidBodyMotion library, in particular centreOfRotation(), v() and pi(). For various reasons (mostly pre- and postprocessing) I'm calling sixDoFRigidBodyMotion via the dynamicMeshDict for a patchGroup, NOT by the old sixDoFRigidBodyDisplacement BC. Unfortunately the movingWallVelocity BC does not provide the results I'm looking for, otherwise I wouldn't have to do this.
When accessing sixDoFRigidBodyMotion in the new BC the way it is done in sixDoFRigidBodyDisplacement the code is looking for individual state date for each patch that is clearly not present.

Does anyone have an idea?

Thank You,
Hannes


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