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

Can someone recommend a mature and robust grid reordering algorithm?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2015, 08:49
Default Can someone recommend a mature and robust grid reordering algorithm?
  #1
New Member
 
Sheldon Lee
Join Date: May 2014
Location: On the moon.
Posts: 11
Rep Power: 11
Sheldon Lee is on a distinguished road
I am developing a LU-SGS code now, and is searching for a appropriate reordering method.

Is there anybody with rich experience of grid rerodering ?


many thank!
Sheldon Lee is offline   Reply With Quote

Old   January 14, 2015, 12:41
Default
  #2
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
I've done grid re-ordering with Reverse Cuthill-McKee. Also, I've done it (along with parallel partitioning) using Hilbert Space Filling curves. The former uses only graph information, while the latter uses geometric data. And, as chance would have it, I was reading this paper last night:

http://www.jpier.org/PIERL/pierl09/04.09042305.pdf

RCM seems to be the most commonly used. The GPS scheme and variants in the paper are less robust but deliver better reduction. Space-filling curves come at the problem from a different direction, but can be quite useful, especially if you need to sort cells, faces, edges, and/or nodes to access all of them together efficiently.

EDIT. I should also note that space-filling curves may not always provide absolute minimum bandwidth. They tend to give good bandwidth reduction on most rows with a handful of outliers that could have large bandwidth. For cache optimization, it still works reasonably well...a few misses will always occur and so it is more the average cache hit rate that matters in those situations. But for schemes that do require absolute reduction (say to prevent large amounts of fill-in for direct solvers), RCM or GPS are a better choice.

Last edited by mprinkey; January 15, 2015 at 00:09.
mprinkey is offline   Reply With Quote

Old   January 20, 2015, 03:38
Default
  #3
New Member
 
Sheldon Lee
Join Date: May 2014
Location: On the moon.
Posts: 11
Rep Power: 11
Sheldon Lee is on a distinguished road
have you used the RCM method along with the lu-sgs or gmres? Is the effect obvious?

Quote:
Originally Posted by mprinkey View Post
I've done grid re-ordering with Reverse Cuthill-McKee. Also, I've done it (along with parallel partitioning) using Hilbert Space Filling curves. The former uses only graph information, while the latter uses geometric data. And, as chance would have it, I was reading this paper last night:

http://www.jpier.org/PIERL/pierl09/04.09042305.pdf

RCM seems to be the most commonly used. The GPS scheme and variants in the paper are less robust but deliver better reduction. Space-filling curves come at the problem from a different direction, but can be quite useful, especially if you need to sort cells, faces, edges, and/or nodes to access all of them together efficiently.

EDIT. I should also note that space-filling curves may not always provide absolute minimum bandwidth. They tend to give good bandwidth reduction on most rows with a handful of outliers that could have large bandwidth. For cache optimization, it still works reasonably well...a few misses will always occur and so it is more the average cache hit rate that matters in those situations. But for schemes that do require absolute reduction (say to prevent large amounts of fill-in for direct solvers), RCM or GPS are a better choice.
Sheldon Lee is offline   Reply With Quote

Old   January 20, 2015, 14:10
Default
  #4
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
Sorry, no. I've never done anything with lu-sgs. I've use GMRES for linear systems, but never with grid re-ordering.
mprinkey is offline   Reply With Quote

Reply

Tags
reordering


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



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