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

unstructured mesh data structure for FVM

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By J. Kim

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2002, 22:20
Default unstructured mesh data structure for FVM
  #1
J. Kim
Guest
 
Posts: n/a
Dear all,

I am looking for an efficient way to extract cell->node connectivity from face->cell and face->node connectivities.

Cell->node connectivity has node(vertex) numbers forming each cell.

Fluent's Gambit exports mixed element mesh data with face->cell and face->node connectivities only. But my fv solver and post-processing code require cell->node connectivity.

Any comments are welcome. Thank you.

ssh123 likes this.
  Reply With Quote

Old   February 6, 2002, 22:47
Default Re: unstructured mesh data structure for FVM
  #2
Ma
Guest
 
Posts: n/a
There is a way here, but I am not sure if it's efficient enough:

(1) Looop faces: extract the face->cell information to cell->face information.

(2) Loop cells: get the cell->vertex information based on cell->face and face->vertex.

I am glad to hear some other more efficient way.

Ma
  Reply With Quote

Old   February 9, 2002, 15:45
Default Re: unstructured mesh data structure for FVM
  #3
Madhukar M. Rao
Guest
 
Posts: n/a
Invert the face->cell mapping to get the cell->face mapping. Then you can proceed to write the cell->node mapping. You may need to remove duplicate entries in the cell->node mapping. The simplest way is to use an array to carry a flag for duplicated nodes. You can also use a set if you prefer.

If your fv solver expects the nodes to be in a certain order, then the problem is a little more difficult. You will have to sort the cell->face mapping based on the way the faces are connected to each other. Once the cell topology can be inferred from the cell->face mapping, the nodes can be written out in whatever order the fv solver expects.

It should be an interesting exercise.

Good luck,

Madhukar
  Reply With Quote

Old   February 17, 2002, 03:43
Default Re: unstructured mesh data structure for FVM
  #4
Praveen Chandrashekar
Guest
 
Posts: n/a
See the recent book by Rainald Lohner Applied CFD Techniques: An Introduction based on Finite Element Method.
  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
unstructured mesh phoenics user Phoenics 26 March 22, 2012 13:17
How to control unstructure mesh data susan Siemens 3 April 7, 2008 13:13
Structure or unstructured mesh Nikos Siemens 2 November 9, 2006 19:35
Data Structure for the unstructured finite volume method Anthony Main CFD Forum 4 February 2, 1999 20:24
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 11:09


All times are GMT -4. The time now is 16:31.