CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

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

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

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

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.

Salman Arshad
saloo is offline   Reply With Quote


face numbering, neighboring cell, owner, parallel meshing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 14:51
FvMatrix coefficients shrina OpenFOAM Running, Solving & CFD 10 October 3, 2013 14:38
Face with no owner amtri OpenFOAM 2 November 9, 2012 07:39
owner - neighbour relations for processor boundaries RoE OpenFOAM 2 October 4, 2011 08:49

All times are GMT -4. The time now is 05:31.