|
[Sponsors] |
March 4, 2011, 12:51 |
Find cellID
|
#1 |
New Member
Johan Magnusson
Join Date: Oct 2010
Posts: 21
Rep Power: 16 |
Hi, just wondering how i can print out the cellIDs in the same way as the cell neighbours are printed with the following command
Info<< mesh.cellCells()[i]<< endl; |
|
March 5, 2011, 03:42 |
|
#2 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Johan,
If you'd just like a list of all cells, you could do something like Code:
forAll(mesh.C(), cellI) { Info << "cellID = " << cellI << endl; }
__________________
Regards, Gijs |
|
Tags |
cell, cellcells, cellid, cells, print |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
YPlus nowhere to be find | Daniel | CFX | 3 | May 1, 2006 17:22 |
How to find & view location of a node in CFX? | Bill | CFX | 2 | December 6, 2005 14:18 |
Can U find this Solution Report N°229 | Mohamed | FLUENT | 5 | June 19, 2003 04:28 |
a way to find out wall-neighboring cells? | Christian | FLUENT | 4 | May 10, 2002 09:30 |
Where can find airfoil data with pressure distribution or aerodynamic data | Ahlo | Main CFD Forum | 5 | January 12, 1999 23:45 |