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

How to access particular neighbour cell indices in OpenFOAM?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By fumiya

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2014, 07:13
Default How to access particular neighbour cell indices in OpenFOAM?
  #1
Member
 
Manjunath Reddy
Join Date: Jun 2013
Posts: 47
Rep Power: 12
manju819 is on a distinguished road
Hiiiii

To form A matrix I need neighbour cell indices. Please tell me how to access neighbour cell indices for particular cell.


Regards
Manjunath
manju819 is offline   Reply With Quote

Old   April 17, 2014, 17:14
Default
  #2
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
fumiya is on a distinguished road
Hi,

You might want to read this thread:
http://www.cfd-online.com/Forums/ope...eighbours.html

Hope this helps,
Fumiya
manju819 and yyy155klt like this.
__________________
[Personal]
fumiya is offline   Reply With Quote

Old   September 24, 2015, 12:00
Default
  #3
Member
 
Xinguang Wang
Join Date: Feb 2015
Posts: 45
Rep Power: 11
JasonWang3 is on a distinguished road
hi Manjunath

Do you find a way how to solve your problem? I meet the same thing.

Regards,
Jason
JasonWang3 is offline   Reply With Quote

Old   September 25, 2015, 00:00
Default Hi Wang,
  #4
Member
 
Manjunath Reddy
Join Date: Jun 2013
Posts: 47
Rep Power: 12
manju819 is on a distinguished road
mesh.cellCells()[cellI] gives the neighbours of cell cellI
manju819 is offline   Reply With Quote

Reply


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
openFoam cell center or node center? xiyuqiu OpenFOAM 1 January 31, 2012 02:34
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
[swak4Foam] get the value of a field in the neighbour cell of a patch face miles_davis OpenFOAM Community Contributions 7 October 5, 2011 11:57
60 million cell case loading in openFoam nikhilesh OpenFOAM Running, Solving & CFD 0 June 3, 2009 08:36
how to access each cell of a face? (user fortran) Katariina CFX 3 January 28, 2008 09:16


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