Difference between revisions of "Tip Advanced Time Selection Options"
From OpenFOAMWiki
(Advanced -time option) |
|||
Line 1: | Line 1: | ||
− | {{VersionInfo}}{{Version1.5}} | + | {{VersionInfo}}{{Version1.5}}{{Version1.6}}{{Version1.7}} |
Starting with Version 1.5 most OF-utilies use the <tt>timeSelector</tt> to make it possible to specify more than one time-step with the <tt>-time</tt> option. | Starting with Version 1.5 most OF-utilies use the <tt>timeSelector</tt> to make it possible to specify more than one time-step with the <tt>-time</tt> option. |
Latest revision as of 11:43, 28 September 2010
Starting with Version 1.5 most OF-utilies use the timeSelector to make it possible to specify more than one time-step with the -time option.
The old (and still working) usage of -time is to select the time 1200 for reconstruction:
reconstructPar -time 1200
If we wanted to reconstruct timestep 1300 as well we would have to retype
reconstructPar -time 1300
With the new -time we specify that we want to reconstruct from 1200 to 1300
reconstructPar -time 1200:1300
It is also possible to specify to reconstruct the timesteps up to 500
reconstructPar -time :500
or starting with 3000 until the end
reconstructPar -time 3000:
or we can do all of them at once (using the comma to seperate the options):
reconstructPar -time :500,1200:1300,3000: