Hi, all!
Is it possible to
Hi, all!
Is it possible to to find all cells adjacent to given one (by label) or just check if cell is adjacent to given one? It seems for me that it should be possible, but I failed to find it in documentation. Hopefuly someone can shed me some light on this problem! Best regards, Efimenko Evgeny |
Easy: mesh.cellCells() gives y
Easy: mesh.cellCells()[yourCellID] gives you the list of cells sharing a face with your cell. For more complex addressing (ALL of it is there), have a look at the PrimitiveMesh class.
Enjoy, Hrv |
Thanks!
Eugene
Thanks!
Eugene |
In line with the previous post
In line with the previous post, Is it possible to find the cells sharing a point (vertex) with this cell? I think this can be done by using the info from pointCells() and cellPoints() in the same way as in "calcCellCells" (looping over the list and discard nonunique ones), but I want to make sure this information has not already been calculated by Foam.
Could any body tell me whether this information exist somewhere? Thanks very much! Heng |
All times are GMT -4. The time now is 22:58. |