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

simulation time

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By akidess

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 17, 2013, 11:17
Arrow simulation time
  #1
Senior Member
 
James
Join Date: May 2013
Posts: 116
Rep Power: 12
Tensian is on a distinguished road
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!
Tensian is offline   Reply With Quote

Old   October 17, 2013, 11:32
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Run a representative sample, then extrapolate.
Haitham Osman CFD likes this.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   October 17, 2013, 12:06
Default
  #3
Senior Member
 
James
Join Date: May 2013
Posts: 116
Rep Power: 12
Tensian is on a distinguished road
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.
Tensian is offline   Reply With Quote

Old   October 17, 2013, 12:22
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
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.
akidess is offline   Reply With Quote

Old   October 17, 2013, 13:30
Default
  #5
Senior Member
 
James
Join Date: May 2013
Posts: 116
Rep Power: 12
Tensian is on a distinguished road
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!
Tensian 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
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


All times are GMT -4. The time now is 21:47.