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

Methods of improving efficiency

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2020, 06:35
Default Methods of improving efficiency
  #1
Member
 
Sam
Join Date: May 2019
Posts: 64
Rep Power: 6
saj216 is on a distinguished road
Hello guys,

Are there methods for determining what affects the code of the solver which results in slow execution time. It is a transient solver, modified interThermalPhaseChangeFoam.
saj216 is offline   Reply With Quote

Old   June 6, 2020, 20:32
Default
  #2
New Member
 
Sen Wang
Join Date: Jul 2018
Location: Singapore / Notre Dame, U.S.
Posts: 19
Blog Entries: 1
Rep Power: 7
wangsen992 is on a distinguished road
Use a profiler
wangsen992 is offline   Reply With Quote

Old   June 7, 2020, 05:18
Default
  #3
Member
 
Sam
Join Date: May 2019
Posts: 64
Rep Power: 6
saj216 is on a distinguished road
Hello wangsen,

Thanks for the reply. Can you expand on how to achieve this. Information seems to be limited to this

https://openfoamwiki.net/index.php/HowTo_Profiling
saj216 is offline   Reply With Quote

Old   June 7, 2020, 21:17
Default
  #4
New Member
 
Sen Wang
Join Date: Jul 2018
Location: Singapore / Notre Dame, U.S.
Posts: 19
Blog Entries: 1
Rep Power: 7
wangsen992 is on a distinguished road
Hi Sam,

Profiling is kind of a general programming issue. Basically, you want to first have a C/C++ profiler that works on your operating system (depends on whether you use windows, mac or linux). Note here that if you run with single-thread, then a general profiler works. But if you want to profile the performance while running parallel cases, you should use a profiler supporting MPI, which from my experience only has proprietary ones.

Cheers,
Sen
wangsen992 is offline   Reply With Quote

Old   June 12, 2020, 16:11
Default
  #5
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 250
Rep Power: 22
klausb will become famous soon enough
Maybe SCORE-P works for you:


Internet: https://www.vi-hps.org/projects/score-p


OpenFOAM setup: https://trac.version.fz-juelich.de/v.../config_ScoreP


Klaus
klausb is offline   Reply With Quote

Old   June 12, 2020, 16:13
Default
  #6
Member
 
Sam
Join Date: May 2019
Posts: 64
Rep Power: 6
saj216 is on a distinguished road
Thanks Klaus,

I'll try it out.

Sam
saj216 is offline   Reply With Quote

Reply


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
CAMWA special issue on open-source numerical solver feixu2019 OpenFOAM Announcements from Other Sources 0 October 1, 2018 11:21
CAMWA special issue on open-source numerical solver feixu2019 SU2 News & Announcements 0 October 1, 2018 11:19
Efficiency of centrifugal compressor - Adiabatic walls vs CHT Burken CFX 0 May 11, 2018 12:53
comments on FDM, FEM, FVM, SM, SEM, DSEM, BEM kenn Main CFD Forum 2 July 18, 2004 18:28
Spectral methods efficiency Radu Bondar Main CFD Forum 1 December 4, 2001 13:25


All times are GMT -4. The time now is 11:44.