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

chtMultiRegionFoam on multiple cores, run-time increases?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By simrego

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2019, 07:24
Default chtMultiRegionFoam on multiple cores, run-time increases?
  #1
New Member
 
Vincent
Join Date: Aug 2019
Location: Germany
Posts: 14
Rep Power: 6
vince_cfd is on a distinguished road
Hello fellow foamers,

I am currently working on some heat transfer problems using the chtMultiRegionFoam solver. I want to speed up the solving process by running a decomposed case. To find out how much I would benefit from using multiple cores I tried to run a similar case in single core and multi-core mode. The results had the same quality (in terms of U, T and p), but the run time wasn't as I expected. Here are my results:

~20 000 cells
1 core -> 875s
2 cores -> 1022s


~225 000 cells
1 core -> 57046s
4 cores -> 58539s


Now I have some questions:
- is it possible, that I didnt use enough cells, per core? I read at about 50 000/core the time will reduce.
- is it important to decompose the case in a special way? I used the simple method.

Thank you already,
Vince.
vince_cfd is offline   Reply With Quote

Old   August 28, 2019, 08:08
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!


Try with scotch method. It will tries to decompose the case on a way that the communication between the processors is minimal.
Also a renumberMesh can help.


Based on my experiences OF is scaling pretty well.
vince_cfd likes this.
simrego is offline   Reply With Quote

Old   August 28, 2019, 08:35
Default scotch
  #3
New Member
 
Vincent
Join Date: Aug 2019
Location: Germany
Posts: 14
Rep Power: 6
vince_cfd is on a distinguished road
Thank you for your reply simrego.

I decomposed with scotch and am currently running the case. It might take some time till I can update, as I only work with OF on one day per week.

Greetings
vince_cfd is offline   Reply With Quote

Reply

Tags
chtmultiregionfoam, decomposed, multi-cores


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
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 05:28
How to run OpenFOAM using Shared Memory method on local machine with multiple cores? ronithstanly OpenFOAM Running, Solving & CFD 1 August 4, 2017 00:31
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 05:49
Transient run continues from last time (when startover is desired) bongbang CFX 2 March 22, 2015 23:05
calculation diverge after continue to run zhajingjing OpenFOAM 0 April 28, 2010 04:35


All times are GMT -4. The time now is 14:54.