CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   identify if a cell belongs to a cellSet ?? (

kdarc January 28, 2011 12:36

identify if a cell belongs to a cellSet ??
Ok, I have a domain that is split into sub-domains, as there are internal boundary conditions for some of the equations in my model.

In my code, I extract a cell number from a point on the interface, and seek to find its neighouring cell that belongs to the neighbouring cellSet.

with the code:


I can return a list of neighbour cells to the cell in question.

How can I check this list to see which cellSet each cell belongs to??


All times are GMT -4. The time now is 02:20.