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

How to access orientation tensor from top-level of solver?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 10, 2014, 09:28
Default How to access orientation tensor from top-level of solver?
  #1
New Member
 
Join Date: Jul 2011
Posts: 5
Rep Power: 7
clarence_carter is on a distinguished road
I have a programming query and any help provided wil be gratefully received.

I am running a dynamic mesh case using OpenFOAM 2.0.1 and would like to access the orientation tensor (sixDoFRigidBodyMotion.orientation()) for the geometry, from the top-level of the solver.

Writing Foam::sixDoFRigidBodyMotion.orientation() does not work. This is because sixFoFRigidBodyDisplacement is a boundary condition (for the pointVectorField pointDisplacement). So effectively I am trying to access a function associated with a boundary condition.

This is not trivial to do, since the name of the patch and type of boundary condition are not known/constant.

If anyone can provide any assistance, or point me in the right direction to sort this out myself, I would be very grateful.

Kind Regards,

Clarence
clarence_carter is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding layers goes wrong with SnappyHexMesh Elise OpenFOAM Native Meshers: snappyHexMesh and Others 1 April 22, 2013 02:32
Boundary layer in a pipe Clementhuon OpenFOAM Native Meshers: snappyHexMesh and Others 6 March 12, 2012 13:41
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32
CFX 5.5 Roued CFX 1 October 2, 2001 16:49
Setting a B.C using UserFortran in 4.3 tokai CFX 10 July 17, 2001 16:25


All times are GMT -4. The time now is 02:10.