|
[Sponsors] |
October 17, 2013, 11:17 |
simulation time
|
#1 |
Senior Member
James
Join Date: May 2013
Posts: 116
Rep Power: 12 |
Hi everyone,
Anybody knows how can compute the simulation time in OpenFOAM? I mean the time (hours) that the simulation is running. I want to know how much time does it takes for different mesh resolution. Thanks in advance! |
|
October 17, 2013, 11:32 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
Run a representative sample, then extrapolate.
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
October 17, 2013, 12:06 |
|
#3 |
Senior Member
James
Join Date: May 2013
Posts: 116
Rep Power: 12 |
Thanks for your answer, but I guess that there will be some commands in OF or even Linux (Ubuntu in my case) which register when the simulation starts (for example start=19:05) and ends (10:33), so I can compute how long the simulation takes.
|
|
October 17, 2013, 12:22 |
|
#4 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
Typically OpenFOAM solvers print clock time and CPU time. Linux has a "time" command: http://man7.org/linux/man-pages/man7/time.7.html
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
October 17, 2013, 13:30 |
|
#5 |
Senior Member
James
Join Date: May 2013
Posts: 116
Rep Power: 12 |
Oh thanks Anton,
I realized that at the end of every iteration in the log file itīs detailed execution time and clock time! Sorry for that stupid question and thanks for being patient! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 07:56 |
Total time for simulation | Meerkat | Main CFD Forum | 1 | September 5, 2011 07:17 |
Time step in transient simulation | shib | FLUENT | 0 | June 17, 2010 13:07 |