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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2014, 10:28
Default How to access orientation tensor from top-level of solver?
  #1
New Member
 
Join Date: Jul 2011
Posts: 5
Rep Power: 15
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


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
[snappyHexMesh] Adding layers goes wrong with SnappyHexMesh Elise OpenFOAM Meshing & Mesh Conversion 1 April 22, 2013 03:32
[snappyHexMesh] Boundary layer in a pipe Clementhuon OpenFOAM Meshing & Mesh Conversion 6 March 12, 2012 13:41
compressible two phase flow in CFX4.4 youngan CFX 0 July 2, 2003 00:32
CFX 5.5 Roued CFX 1 October 2, 2001 17:49
Setting a B.C using UserFortran in 4.3 tokai CFX 10 July 17, 2001 17:25


All times are GMT -4. The time now is 04:39.