CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Getting the patch adjacent to a boundary cells (https://www.cfd-online.com/Forums/openfoam-programming-development/244200-getting-patch-adjacent-boundary-cells.html)

behnamEll July 27, 2022 06:12

Getting the patch adjacent to a boundary cells
 
Dear FOAMers,


I want to know the name (or the id) of an specific patch which is adjacent to a boundary or corner cell.


for example, I have an ID of boundary/corner cell, and I want the nearest patch name/names (patch ID/IDs).


Any help is greatly appreciated!


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