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

difference between runtime.startTime() and runtime.startTimeIndex()

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2019, 08:44
Default difference between runtime.startTime() and runtime.startTimeIndex()
  #1
New Member
 
Karl Yang
Join Date: Jul 2016
Posts: 11
Rep Power: 10
HoneyBadger is on a distinguished road
Dear foamers,



I was working with some code and ran into a few lines of code using runtime.startTime() and runtime.startTimeIndex(). It get me confused. I assume that runtime.startTime() returns the start time that I specified in controlDict, then what about startTimeIndex()? Was it the counter of how many times runtime data has been written?


Regards
Juntao
HoneyBadger 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
Simulating a flapping airfoil by Fluent which the phase difference equals to 90 ronak ANSYS 1 March 26, 2020 14:24
Difference between External and Internal flow radiation problems Kummi FLUENT 0 April 10, 2018 04:06
high-order difference in OpenFOAM rxgrch OpenFOAM Programming & Development 6 August 28, 2017 15:11
Is there a difference between Riemann solvers and characteristic based solvers? linkamp Main CFD Forum 3 February 18, 2016 10:12
[snappyHexMesh] snappyHexMesh and cyclic boundaries Ruli OpenFOAM Meshing & Mesh Conversion 2 December 9, 2013 07:51


All times are GMT -4. The time now is 00:49.