CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

unstructured mesh data structure for FVM

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By J. Kim

LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2002, 21:20
Default unstructured mesh data structure for FVM
J. Kim
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, 21:47
Default Re: unstructured mesh data structure for FVM
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.

  Reply With Quote

Old   February 9, 2002, 14:45
Default Re: unstructured mesh data structure for FVM
Madhukar M. Rao
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,

  Reply With Quote

Old   February 17, 2002, 02:43
Default Re: unstructured mesh data structure for FVM
Praveen Chandrashekar
Posts: n/a
See the recent book by Rainald Lohner Applied CFD Techniques: An Introduction based on Finite Element Method.
  Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 12:17
How to control unstructure mesh data susan Siemens 3 April 7, 2008 12:13
Structure or unstructured mesh Nikos Siemens 2 November 9, 2006 18:35
Data Structure for the unstructured finite volume method Anthony Main CFD Forum 4 February 2, 1999 19:24
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 10:09

All times are GMT -4. The time now is 09:51.