CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Sample time ranges

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2013, 01:10
Default Sample time ranges
  #1
Pj.
Member
 
Luca
Join Date: Mar 2013
Posts: 68
Rep Power: 13
Pj. is on a distinguished road
A very quick question. I want to use sample on my simulation only for time 30+.

The help says
Code:
-time <ranges>    comma-separated time ranges - eg, ':10,20,40-70,1000:'
I tried
Code:
sample -time 30-60
Code:
sample -time '30-60'
Code:
sample -time :30-60:
Code:
sample -time ':30-60:'
but i always get

Code:
Create time

rejected ill-formed or empty range: ERROR--> FOAM Warning : 
    From function Ostream& operator<<(Ostream&, const token&)
    in file db/IOstreams/token/tokenIO.C at line 95
    Error token



--> FOAM FATAL ERROR: 
No times selected

    From function sample
    in file db/Time/timeSelector.C at line 257.

FOAM exiting
Which is the correct syntax?
Pj. is offline   Reply With Quote

Old   July 10, 2013, 06:41
Default
  #2
New Member
 
Join Date: Jun 2013
Posts: 1
Rep Power: 0
Hella is on a distinguished road
Probably you found out by yourself, but to complete the Thread:

Code:
sample -time '30:60'
should work.

How do you get the detailed help? Using
Code:
 sample -help
(in OF 2.2) I only get

Code:
Usage: sample [-latestTime] [-time ranges] [-parallel] [-constant] [-noZero] [-case dir] [-region name]  [-help] [-doc] [-srcDoc]
Best regards,
Hella
Hella 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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 32 June 16, 2021 06:55
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34
Computational time sunnysun OpenFOAM Running, Solving & CFD 5 March 16, 2009 03:32
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 00:36


All times are GMT -4. The time now is 11:46.