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

Access (parallel) face number, owner and neighbour of a face?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2014, 11:10
Default Access (parallel) face number, owner and neighbour of a face?
  #1
New Member
 
Salman Arshad
Join Date: May 2014
Posts: 4
Rep Power: 12
saloo is on a distinguished road
Hello,

I am working on a solver in parallel in OpenFoam 2.1.x. I want to access the global face number (the number given to the face, before actually doing domain decoposition) for all the local faces (of each processor). Later after obtaining the global face number, I also want to know global owner and neighbour (cell numbers) of the obtained global face number.

To help understand my question better, by 'global' I mean mesh data before domain decomposition and by 'local' I mean mesh data after domain decomposition for each processor.
Just for information about what I am trying to do is to make a lookup table (containing global face number and its global owner and neighbour cell number for all the faces in whole domain) on master processor at start of simulation. To achieve this, I will gather data (global face number and its global owner and neighbour) from all processors to the master processor (using GatherList() etc.).
Any help is highly appreciated.

Regards,
Salman Arshad
saloo is offline   Reply With Quote

Reply

Tags
face numbering, neighboring cell, owner, parallel meshing


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
[blockMesh] Merging edge patches Yosmcer OpenFOAM Meshing & Mesh Conversion 11 November 16, 2014 15:51
FvMatrix coefficients shrina OpenFOAM Running, Solving & CFD 10 October 3, 2013 15:38
Face with no owner amtri OpenFOAM 2 November 9, 2012 08:39
owner - neighbour relations for processor boundaries RoE OpenFOAM 2 October 4, 2011 09:49


All times are GMT -4. The time now is 08:55.