CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to determine the direction of cell face vectors on processor patches

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2009, 08:47
Default How to determine the direction of cell face vectors on processor patches
Sebastian Vogl
Join Date: Mar 2009
Location: Munich, Germany
Posts: 62
Rep Power: 17
sebastian_vogl is on a distinguished road
Hello Dear Foamers,

I would like to know how I can determine the direction of cell face vectors of processor patches. To put it in other words: When I have got a mesh, which is devided into processorPatches as I run the case in parallel, and a cell face which lies on such a processorPatch and therefore separates two "processorAreas", how do I know to which cell (the one of processor 1 or the neighbouring one of processor 2) does the cell face vector point?
For the internal field I can get owner cell and neighbour cell of that face, get the cell label of each cell and then I know that the cell face vector points in the direction of the cell with the larger cell label.
It is also clear with wallPatches as the vector points away from the geometry.
But what about processorPatches?

I hope you forgive me that I posted this thread twice (also in the development area of the forum, yesterday) but maybe there are more people in the "Solver/CFD-Area" who have already dealt with this problem. So I decided to also put my question here.

I would be very grateful, if you could help me on this.

I thank you in advance for your time and effort!

All the best,
Sebastian Vogl
sebastian_vogl is offline   Reply With Quote


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
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Programming & Development 1 October 11, 2016 13:17
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15

All times are GMT -4. The time now is 12:06.