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

identify if a cell belongs to a cellSet ??

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2011, 12:36
Default identify if a cell belongs to a cellSet ??
  #1
Member
 
Ken Darcovich
Join Date: Mar 2009
Location: Ottawa, Canada
Posts: 31
Rep Power: 17
kdarc is on a distinguished road
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:

mesh.cellCells()[c_sep_left]

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??

thanks.
kdarc is offline   Reply With Quote

Reply

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
FvMatrix coefficients shrina OpenFOAM Running, Solving & CFD 10 October 3, 2013 15:38
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
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15
Warning 097- AB Siemens 6 November 15, 2004 05:41


All times are GMT -4. The time now is 13:28.