|
[Sponsors] |
March 27, 2007, 11:50 |
cell in 2D
|
#1 |
Guest
Posts: n/a
|
I want to know the number of cells, area of each cell and the length of each cell(if quad mesh) in 2D geometry. Is there any macro or any other way to get the above. Please let me know.
Thanks in advance. |
|
March 28, 2007, 15:11 |
Re: cell in 2D
|
#2 |
Guest
Posts: n/a
|
when u chek the grid, i guess u can find all the abouve parameters, ryt? if u need to write a udf, then i guess F_AREA(face,face_thread) macro givs u area of each face.
but finding length of each cell, i hope this is cumbersome even using udf's. as u need to 1. loop through each cell thread, 2. then through each cell then loop through nodes and 3. find the coordinates of each node 4. then try to find the distance between them (analytical geom relationship) or finding the position vector w.r.t 1 cell nodes to others then find the maginitude of such a postion vector. hope this helps Regards Rizwan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to determine the direction of cell face vectors on processor patches | sebastian_vogl | OpenFOAM Programming & Development | 1 | October 11, 2016 13:17 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 21:58 |
How to determine the direction of cell face vectors on processor patches | sebastian_vogl | OpenFOAM Running, Solving & CFD | 0 | October 27, 2009 08:47 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 04:15 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |