CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Find a neighborhood of Faces for a Face in PrimitivePatch

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2016, 03:45
Question Find a neighborhood of Faces for a Face in PrimitivePatch
  #1
New Member
 
Thilina Rathnayake
Join Date: Jan 2016
Posts: 3
Rep Power: 10
thilinarmtb is on a distinguished road
Hi All,

This is my first question in cfd-online. Please let me know if I am posting
in the wrong forum.

I know that I can access immediate neighbors of a face by doing something
like:
Code:
 
const labelList& srcNbrFaces = srcPatch.faceFaces()[srcFaceI];
Is there a way to find a neighborhood of faces (say, with 100 faces) around a given a face rather than recursively going through immediate neighbors?

Thank you very much in advance.

Last edited by thilinarmtb; February 10, 2016 at 03:47. Reason: Forgot to thank
thilinarmtb is offline   Reply With Quote

Reply

Tags
faces, primitivepatch

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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
createPatch Segmentation Fault (CORE DUMPED) sam.ho OpenFOAM Pre-Processing 2 April 21, 2014 02:01
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 15:08.