|
[Sponsors] |
December 13, 2005, 00:25 |
Dear all,
I am a new learne
|
#1 |
Senior Member
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17 |
Dear all,
I am a new learner in openfoam. Could you please tell the calcilation of cell expression. Each cell is described by 6 elements. But I am not clear how to calculate these 6 elements. Could you please give some advice? Thanks a lot. Xiang |
|
February 17, 2006, 18:32 |
Hi,
I am interested in obta
|
#2 |
New Member
Jeff Allen
Join Date: Mar 2009
Posts: 11
Rep Power: 17 |
Hi,
I am interested in obtaining the x,y,z max min coordinate boundaries for a given cell. I know for example that mesh.bounds() is good for this type of thing for the entire domain extent. Can you assist me with this. Thanks Jeff |
|
February 18, 2006, 14:25 |
- get the vertices of cellI:
|
#3 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
- get the vertices of cellI:
mesh.cellPoints()[cellI] - get the coordinate of vertex: mesh.points()[pointI] so to get the bounding box of a cell just loop over the cellPoints and get the min and max. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to identify boundary cell and internal cell | dbxmcf | OpenFOAM Running, Solving & CFD | 2 | November 6, 2016 10:11 |
cell velocity U and its cell face area | Chinayu | Siemens | 0 | May 6, 2006 23:44 |
unsturcture cell & cylinder cell Difference~ | lenson | Siemens | 1 | January 9, 2006 06:32 |
Cell vertex FV vs Cell centered FV | peter.zhao | Main CFD Forum | 1 | September 15, 2004 10:26 |
Cell-vertex and cell-centered finite volume method | Praveen | Main CFD Forum | 4 | September 9, 2003 00:58 |