|
[Sponsors] |
May 8, 2009, 13:49 |
How to find cells within a distance
|
#1 |
Senior Member
|
Hi Foamers,
I need to find, given a cell in the mesh, the labels of the cells within a given distance. Now I do it sweeping for all cells all the other cells and saving the ones that are nearer than a certain length in a labelListList, but this procedure is clearly heavy. Is there anything in OF that could help me to do it in a faster way? I was managing to do it with mesh.cellCells(), but I can't find a way... Thanks!!! Ivan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Level set & distance functions | Renato. | Main CFD Forum | 7 | February 7, 2006 07:46 |
Ignore cells on partition boundary | Karl | FLUENT | 7 | May 11, 2002 23:12 |
Looping over cells | Karl | FLUENT | 4 | March 26, 2002 22:18 |
UDF: neighbour cells, upwind cells | Dmitriy Makarov | FLUENT | 0 | February 18, 2001 14:53 |
Dead cells created on edges when a grid file is generated in GAMBIT and imported into FLUENT4 | Isaac Manohar Ch. | FLUENT | 1 | June 2, 2000 05:58 |