Skip to content
Snippets Groups Projects
Closed foamMonitor: Adding possibility to specify the file using process substitution
  • View options
  • foamMonitor: Adding possibility to specify the file using process substitution

  • View options
  • Closed Issue created

    Hello,

    When running a simulation and it stops for some reason several times, one ends up with multiple time-named directories in postProcessing directory, e.g:

    postProcessing/forceCoeffs1/0
    postProcessing/forceCoeffs1/0.5
    postProcessing/forceCoeffs1/2.4
    ...etc

    IMO, one solution is to use bash process substitution to plot multiple files at once (currently foamMonitor doesn't allow that, and it doesn't support process substitution), e.g:

    cd postProcessing/foceCoeffs1/
    foamMonitor <(cat 0/forceCoeffs.dat <(tail +10 0.5/forceCoeffs.dat ) <(tail +10 2.4/forceCoeffs.dat) )
    • Is it possible to implement that in foamMonitor script, if I may ask?

    Thank you

    Edited

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading