|
[Sponsors] |
How to find out the cell containing a arbitrary point |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 6, 2005, 01:46 |
In my code, I want to know in
|
#1 |
Member
Luckyluke
Join Date: Mar 2009
Posts: 51
Rep Power: 17 |
In my code, I want to know in which cell a arbitrary point is contained.
|
|
April 6, 2005, 04:24 |
vector position(1.0, 0.123, 8.
|
#2 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
vector position(1.0, 0.123, 8.12);
label celli = mesh.findCell(position); |
|
July 10, 2013, 12:54 |
|
#3 |
Member
Felipe Alves Portela
Join Date: Dec 2012
Location: FR
Posts: 70
Rep Power: 13 |
Hi there,
I have similar question (so I decided not open a new thread just for this). Is it possible to get a list of all cells who contain a given point? As I understand, "mesh.findCell(position);" will give me the cell whose centre is nearest to "position"; in my case, "position" will be coordinates of cells nodes, so I need to get all the cells that 'contain' that point... Cheers, Felipe |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to calculate the field value of a arbitrary point | luckyluke | OpenFOAM Running, Solving & CFD | 7 | February 28, 2014 16:14 |
Torque Calculation at Arbitrary Point | Mojtaba | CFX | 8 | March 1, 2009 01:22 |
Calculation torque on arbitrary point | Mojtaba | Main CFD Forum | 0 | February 9, 2009 01:08 |
Calculation torque on arbitrary point | Mojtaba | CFX | 0 | February 7, 2009 00:45 |
Algorithm to find cell no. in O-grid for a point | Ben | Main CFD Forum | 5 | June 22, 2007 12:23 |