|
[Sponsors] |
How to determine the location of the cell center |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 11, 2009, 07:58 |
How to determine the location of the cell center
|
#1 |
New Member
Zoltán Hercz
Join Date: Sep 2009
Posts: 17
Rep Power: 17 |
Hi
My code being developed uses .msh mesh files from gambit, Icem etc. My problem is how to determine the location of the cell grid points if all the faces are given. I think its favourable if -the grid points are in the centroid, (variable value in centroid represents better the average value within the cell) - and if face centers are on the lines connecting the neighbouring grid points. (more accurate interpolating) But how to do that in case 3d unstructured grid, or in case of a 2d triangle cell? (its easy in case of a square cell). I found that its impossible to statisfy both, or the second one. What do you suggest to determine the loc. of grid points within the cells? Should i use the centroid? if i should, how to determine where is the centroid in case of a 3d cell? (with numerical integration for each cell? Doesnt it require to much additional calculation?) thank you regards Zoli |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FvMatrix coefficients | shrina | OpenFOAM Running, Solving & CFD | 10 | October 3, 2013 15:38 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |
Determine the exact location of the vertex center? | Anna | Main CFD Forum | 3 | April 4, 2006 12:04 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |