|
[Sponsors] |
December 8, 2010, 09:05 |
Getting the cells next to a patch
|
#1 |
Member
O R
Join Date: Mar 2009
Posts: 50
Rep Power: 17 |
Dear Foamers,
I want to get the indexes of the cells right next to a patch. In other words, I want to access the owner index of a face that conforms a patch something like this Code:
foreach (patchList , patchI){ foreach (patchList[patchI].faces(), facesI){ mesh.C[patchList[patchI].faces[facesI].owner] =val; } } thanks !! Last edited by arkangel; December 8, 2010 at 09:20. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
cellZone not taking all the cells inside | rahulksoni | OpenFOAM Running, Solving & CFD | 6 | January 25, 2019 00:11 |
[snappyHexMesh] SHM Layer Addition Phase | dickcruz | OpenFOAM Meshing & Mesh Conversion | 4 | November 1, 2018 07:05 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 03:21 |
Problem with cyclic boundaries in Openfoam 1.5 | fs82 | OpenFOAM | 36 | January 7, 2015 00:31 |
Cyclic Boundary Condition | Luiz Eduardo Bittencourt Sampaio (Sampaio) | OpenFOAM Running, Solving & CFD | 36 | July 2, 2012 12:23 |