Menu

#63 pyFoamClearCase.py with additional option to define a min max range for the time steps

acknowledged
None
normal
minor
havenottried
none
The Library
general
2011-05-15
2011-05-14
fabian6
No

Hi,

right now there is the option to define --after=AFTER

It would be great to haveŒ a --before and --exclude option as well!?

Best Regards
Fabian

Discussion

  • Bernhard Gschaider

    I don't see the use-case for this.

    Options that would make sense in my opinion would be:
    --keep-time=TIME to keep an arbitrary time-step (can be easily extended to more than one instance)
    and
    -- keep-interval=INTERVAL to remove intermedia time-steps (data was for instance written every 0.01s but we only want to keep every 0.07s)

    If your use-case for before was "I only want time 10" then this can be achived with two calls "pyFoamClearCase.py --after=10 ." then "pyFoamClearCase --keep-last"

     
  • fabian6

    fabian6 - 2011-05-15

    Often I need to clean up cases by selecting/deleting a range of iterations/times which are not needed anymore (I do/did not use the purge setting), then
    a option like --remove-range="(11 3002)" might be usefull.

     
  • Bernhard Gschaider

    Will have a look. But I'm afraid there won't be much happening before the workshop

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.