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

Get cell ids from interior face

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 9, 2015, 19:45
Default Get cell ids from interior face
  #1
New Member
 
Join Date: Aug 2015
Posts: 4
Rep Power: 11
Rutger is on a distinguished road
Hi,

I would like to get all cell ids from a face that is in the interior of my mesh.
This is my structure for the sequence of events:
- pass the desired faces via the fvSolution file to the solver:
Code:
myfaces ((0 3 7 8) (2 3 6 9));
- import them in the solver
- loop over the faces in the solver and get their global cell id, like I would do with a list of patches
Code:
label patchI = mesh.boundaryMesh().findPatchID(mypatches());
I couldn't find a way to do this, because I don't know which data type to use, labellistlist ?
I can't use patches for that, because they require a boundary condition, which my considered cells don't have.
Rutger is offline   Reply With Quote

Reply

Tags
cell id, faces, interior, labellistlist


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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
Radiation interface hinca CFX 15 January 26, 2014 18:11
domain imbalance for enrgy equation happy CFX 14 September 6, 2012 02:54
How to identify a boundary cell? pctopcool FLUENT 1 August 23, 2010 05:31
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 22:58


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