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

Access to face neighbours

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 25, 2007, 05:54
Default Hello, I am sure this shoul
  #1
New Member
 
David Mulholland
Join Date: Mar 2009
Posts: 11
Rep Power: 17
irishdave is on a distinguished road
Hello,

I am sure this should be elementary but I'm really struggling with finding a straightforward way to take a cell and find its neighbours?

I have set up the mesh in my script and I've been looking through the documentation for the fvMesh, polyMesh and primitiveMesh yet I am unable to find something that seems to be what I need.

What I want to be able to do is take a for loop running through each cell in the mesh (which I can create no problem) and then obtain the cells neighbouring it (either by function or obtaining it from a list initialized outside the loop) and also obtain the face between them.

Thanks
David
irishdave is offline   Reply With Quote

 


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
[Technical] How to identify cell neighbours booz OpenFOAM Meshing & Mesh Conversion 59 November 20, 2017 00:40
neighbours of a cell Asghari FLUENT 17 October 7, 2010 17:41
how to access each cell of a face? (user fortran) Katariina CFX 3 January 28, 2008 09:16
can't access face variables ... bart weisser FLUENT 2 September 28, 2007 14:09
neighbours of a cell Asghari FLUENT 0 July 9, 2006 13:28


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