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

How to test openfoam benchmark ?

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

Like Tree3Likes
  • 1 Post By Taataa
  • 2 Post By Tobi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2017, 06:12
Default How to test openfoam benchmark ?
  #1
New Member
 
Zhaotianxing
Join Date: Jun 2016
Posts: 4
Rep Power: 5
jbmvictory is on a distinguished road
Please tell me how to test openfoam parallel benchmark on linux cluster? Which case is suitable to do it ? cavity of icofoam or dambreak of interfoam ? Because when i test openfoam benchmark on linux with interfoam solver , I change the cells to this :

blocks
(
hex (0 1 5 4 12 13 17 16) (92 32 2) simpleGrading (1 1 1)
hex (2 3 7 6 14 15 19 18) (76 32 2) simpleGrading (1 1 1)
hex (4 5 9 8 16 17 21 20) (92 168 2) simpleGrading (1 1 1)
hex (5 6 10 9 17 18 22 21) (16 168 2) simpleGrading (1 1 1)
hex (6 7 11 10 18 19 23 22) (76 168 2) simpleGrading (1 1 1)
);

But ,when I test with 56cores ,the test time is shortest .
When I go on increasing the cpu cores ,the test time will become longer!
I want to konw how to test openfoam benchmark with the right way so that I can obtian the test results like this :
http://www.hpcadvisorycouncil.com/pd...e_Analysis.pdf
jbmvictory is offline   Reply With Quote

Old   May 16, 2017, 00:36
Default
  #2
Senior Member
 
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 127
Rep Power: 8
Taataa is on a distinguished road
I have found a paper that explains the process with details:
http://www.dtic.mil/get-tr-doc/pdf?AD=ADA612337

You can try to setup similar cases.
jbmvictory likes this.
Taataa is offline   Reply With Quote

Old   May 16, 2017, 19:13
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Augsburg
Posts: 2,259
Blog Entries: 6
Rep Power: 39
Tobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
A benchmark of scaling should be done with a large case. Imagine you have a testcase with 20.000 cells and a normal one phase solver. There is finally not much to calculate and using 10 cores would slow down the whole simulation because each processor is waiting for the other one's information. I have in mind that you should have round about 10.000 to 30.000 per CPU. However, it also depends highly on the problem you want to solve and the corresponding model. Other impacts on the speed:
  • Matrix renumbering
  • Decomposition method (shared faces)
  • Complexity of the model which is solved
  • Speed of data transfer between the cores; if you have two computers (nodes) who has to communicate would be always worse than having everything on one machine
  • Solver used (PCG - GAMG ...)
  • ...
Keep in mind that decomposing will influence your numerical results if you have flow which has natural convection. The processor BC are somehow like walls and the flux calculation will depend on that. Personally I would make a benchmark with a case > 2.000.000 cells.
konangsh and jbmvictory like this.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   August 11, 2017, 00:32
Default
  #4
New Member
 
Zhaotianxing
Join Date: Jun 2016
Posts: 4
Rep Power: 5
jbmvictory is on a distinguished road
thanks a lot , i will read it carefully to find the solutions.
jbmvictory is offline   Reply With Quote

Old   August 11, 2017, 00:43
Default
  #5
New Member
 
Zhaotianxing
Join Date: Jun 2016
Posts: 4
Rep Power: 5
jbmvictory is on a distinguished road
Quote:
Originally Posted by Tobi View Post
A benchmark of scaling should be done with a large case. Imagine you have a testcase with 20.000 cells and a normal one phase solver. There is finally not much to calculate and using 10 cores would slow down the whole simulation because each processor is waiting for the other one's information. I have in mind that you should have round about 10.000 to 30.000 per CPU. However, it also depends highly on the problem you want to solve and the corresponding model. Other impacts on the speed:
  • Matrix renumbering
  • Decomposition method (shared faces)
  • Complexity of the model which is solved
  • Speed of data transfer between the cores; if you have two computers (nodes) who has to communicate would be always worse than having everything on one machine
  • Solver used (PCG - GAMG ...)
  • ...
Keep in mind that decomposing will influence your numerical results if you have flow which has natural convection. The processor BC are somehow like walls and the flux calculation will depend on that. Personally I would make a benchmark with a case > 2.000.000 cells.

thanks a lot ,I will find a proper sample to test benchmark of openfoam.
jbmvictory is offline   Reply With Quote

Old   August 11, 2017, 00:45
Default
  #6
New Member
 
Zhaotianxing
Join Date: Jun 2016
Posts: 4
Rep Power: 5
jbmvictory is on a distinguished road
Quote:
Originally Posted by Taataa View Post
I have found a paper that explains the process with details:
http://www.dtic.mil/get-tr-doc/pdf?AD=ADA612337

You can try to setup similar cases.
thanks a lot , i will read it carefully to find the solutions.
jbmvictory 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
Large test case for running OpenFoam in parallel fhy OpenFOAM Running, Solving & CFD 23 April 6, 2019 10:55
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 06:40
OpenFOAM Training: Programming CFD Course 12-13 and 19-20 April 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 14, 2016 11:19
OpenFOAM gcc configuration problem preacher OpenFOAM Installation 7 March 3, 2014 23:44
A new test harness for OpenFOAM mbeaudoin OpenFOAM Announcements from Other Sources 0 June 17, 2010 11:36


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