|
[Sponsors] |
November 7, 2019, 11:38 |
cell connection by vertex
|
#1 |
Senior Member
krishna kant
Join Date: Feb 2016
Location: Hyderabad, India
Posts: 133
Rep Power: 10 |
Hello Foamers,
First of all I would like to thanks some Foamers whose suggestions and ideas has has helped me greatly in my work. I would like to thank Mark Olesen, Martin and Fabien Robaux. I am in trouble again. I want to access the neighbors of the cell from the vertex list. Since meshcellcells() gives neighbor of the cell connected through faces. I want something which can directly give me neighbor of the cell connected through vertex. So In 2D I could get all 9 point stencil. I guess it is a very common objective so there must be some way to do it in OpenFoam. |
|
November 12, 2019, 05:22 |
|
#2 |
Member
|
Hi,
If I got it right you need node to cell connectivity. For this you can use mesh.pointCells(). See my blog for details.
__________________
Jibran Haider |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Internal walls of zero thickness | anger | OpenFOAM Meshing & Mesh Conversion | 23 | February 6, 2020 19:25 |
[blockMesh] blockMesh running error | Thenryfang | OpenFOAM Meshing & Mesh Conversion | 4 | October 31, 2018 06:53 |
[mesh manipulation] Mesh Refinement | Luiz Eduardo Bittencourt Sampaio (Sampaio) | OpenFOAM Meshing & Mesh Conversion | 42 | January 8, 2017 13:55 |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 09:54 |
setFields zone to cell:solver crashes | Ananthakrishnan | OpenFOAM Pre-Processing | 4 | April 12, 2016 02:11 |