CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

No speedup observed after using renumberMesh

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

Like Tree1Likes
  • 1 Post By Jonathan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2016, 11:40
Default No speedup observed after using renumberMesh
  #1
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15
Tarak is on a distinguished road
Hi,

I have been using renumberMesh to speed up my parallel calculation of pimpleDyMFoam (for 17 million cells sperad across 256 processors, having AMI interface) but didn't observe any increase in speed compared to a similar case without using renumberMesh.

I used the utility after the parallel decomposition and the bandwidth decreased significantly to 2379 from 67180 after using the utility. Can someone let me know if he/she has obtained any increase in speed using this utility?
Tarak is offline   Reply With Quote

Old   August 3, 2016, 11:54
Default
  #2
Member
 
Bruno Blais
Join Date: Sep 2013
Location: Canada
Posts: 64
Rep Power: 12
blais.bruno is on a distinguished road
I am not sure, but I believe you need to renumber before you decompose?

Also, if you have a large number of processor, the impact of renumbering will be much smaller.
blais.bruno is offline   Reply With Quote

Old   March 19, 2022, 02:14
Default
  #3
Senior Member
 
Join Date: Mar 2010
Posts: 173
Rep Power: 17
Jonathan is on a distinguished road
Quote:
Originally Posted by blais.bruno View Post
I am not sure, but I believe you need to renumber before you decompose?

Also, if you have a large number of processor, the impact of renumbering will be much smaller.
Can anyone confirm this - ie that you should run renumberMesh before you decomposePar??

Thanks in advance
Jonathan is offline   Reply With Quote

Old   March 19, 2022, 14:05
Default
  #4
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
-- Can anyone confirm this - ie that you should run renumberMesh before you decomposePar??

Yes.

Please use "renumberMesh" in serial prior to the decomposition step. But I can't recall the main reason why we should avoid "renumberMesh" in parallel (but there was a reason - if I am not wrong, it was about sampling.)

If you still want to run the "renumberMesh" in parallel, please use its "-parallel" flag.
HPE is offline   Reply With Quote

Old   March 19, 2022, 21:28
Default
  #5
Senior Member
 
Join Date: Mar 2010
Posts: 173
Rep Power: 17
Jonathan is on a distinguished road
Quote:
Originally Posted by HPE View Post
-- Can anyone confirm this - ie that you should run renumberMesh before you decomposePar??

Yes.

Please use "renumberMesh" in serial prior to the decomposition step. But I can't recall the main reason why we should avoid "renumberMesh" in parallel (but there was a reason - if I am not wrong, it was about sampling.)

If you still want to run the "renumberMesh" in parallel, please use its "-parallel" flag.
Hi there,

Thanks for your answer but the question was not whether renumberMesh should be executed in parallel or serial, but rather whether renumberMesh should be run on the undecomposed mesh or the decomposed mesh.

Since renumbering algorithms are designed to move the coefficients closer to the diagonal (reduce coefficient matrix bandwidth) then its not immediately clear whether if you did this before a decomposePar, whether the better conditioned coefficient matrix would be persist (and be optimal) after a domain decomposition.
HPE likes this.
Jonathan is offline   Reply With Quote

Old   March 21, 2022, 01:04
Default
  #6
Member
 
David GISEN
Join Date: Jul 2009
Location: Germany
Posts: 68
Rep Power: 16
David* is on a distinguished road
I tried renumberMesh several times over the years and never had a significant effect, no matter the order of execution.

In my most recent test (4.7 mio cells, 64 procs, interFoam, v2012), I observed no speedup if renumbered before decomposition and even a speed loss if renumbered after decomposition. Even though the bandwidth reported decreased strongly in both cases.
David* is offline   Reply With Quote

Old   March 21, 2022, 01:11
Default
  #7
Senior Member
 
Join Date: Mar 2010
Posts: 173
Rep Power: 17
Jonathan is on a distinguished road
Quote:
Originally Posted by David* View Post
I tried renumberMesh several times over the years and never had a significant effect, no matter the order of execution.

In my most recent test (4.7 mio cells, 64 procs, interFoam, v2012), I observed no speedup if renumbered before decomposition and even a speed loss if renumbered after decomposition. Even though the bandwidth reported decreased strongly in both cases.
Interesting, good to know, thanks David. I found some reasonanble speed ups when I used renumbering in Fluent combined with the coupled PBS, so perhaps the segregated algorithms in OF are the reason.

I had thought a stronger diagonal in the coefficient matrix might improve stability but from memory, I think thats probably more the conditioning of the matrix i.e. the ratio of the largest / smallest eigen values rather than the bandwidth / diagonal ...
Jonathan is offline   Reply With Quote

Reply

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
[mesh manipulation] Some questions on blockMesh, decomposePar and renumberMesh Leech OpenFOAM Meshing & Mesh Conversion 19 April 5, 2019 19:21
renumberMesh problems Jonathan OpenFOAM Pre-Processing 1 May 10, 2016 16:38
RenumberMesh causing divergence altair279 OpenFOAM Running, Solving & CFD 0 April 1, 2015 18:33
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
Parallel efficiency and speedup info lakeat OpenFOAM Running, Solving & CFD 2 August 31, 2009 11:05


All times are GMT -4. The time now is 10:42.