CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

How to determine the location of the cell center

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 11, 2009, 07:58
Default How to determine the location of the cell center
  #1
New Member
 
Zoltán Hercz
Join Date: Sep 2009
Posts: 17
Rep Power: 17
zmester is on a distinguished road
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
zmester is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 01:18.