|
[Sponsors] |
May 5, 2015, 16:21 |
Time Profiling the Parts of the Solver
|
#1 |
Senior Member
Robert
Join Date: Sep 2010
Posts: 158
Rep Power: 15 |
Hello everyone,
I implemented a custom pimpleDyMFoam solver that simply keeps track of time spent in each part, such as mesh update, flux computation, U eqn, p eqn, and so on. For the default 'propeller' case included in the tutorials, I found the time profile to be interesting (here are the major components): Total Time (s): 165.791 Main Loop Time (%): 93.9977 Breaking down Main Loop Time (add up to ~94%): Mesh Update Time (%): 15.9722 PIMPLE Time (%): 77.7616 Breaking down PIMPLE Time (add up to ~77.8%): U Equation Time (%): 29.3238 p Equation Time (%): 38.0198 Turbulence Model Equation Time (%): 10.4093 A video of the details can be found here: [url]https://www.youtube.com/watch?v=FhQiv7HV_bg[\url] From 'Main Loop Time', we see that the 'while(runTime.run())' condition takes about 6% of total run time! It was surprising. Of course, if you decrease fvSolution tolerances you will skew the percentages toward the PIMPLE time. Just thought you guys would want to know! The code can be found here: [url]https://github.com/lordvon/OpenFOAM_Tutorials/tree/master/TimeProfiling[\url] |
|
May 8, 2017, 03:51 |
|
#2 |
New Member
vin
Join Date: Nov 2010
Posts: 9
Rep Power: 15 |
Can U please let me know which version of OpenFOAM U are using.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Elastic or Plastic Deformations in OpenFOAM | NickolasPl | OpenFOAM Pre-Processing | 36 | September 23, 2023 08:22 |
Multiple floating objects | CKH | OpenFOAM Running, Solving & CFD | 14 | February 20, 2019 09:08 |
Sudden jump in Courant number | NJG | OpenFOAM Running, Solving & CFD | 7 | May 15, 2014 13:52 |
time step directories naming issue | Andrea_85 | OpenFOAM | 3 | April 3, 2014 08:38 |
calculation diverge after continue to run | zhajingjing | OpenFOAM | 0 | April 28, 2010 04:35 |