Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 420
    • Issues 420
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1931
Closed
Open
Issue created Nov 22, 2020 by Ghost User@ghost

foamMonitor: Adding possibility to specify the file using process substitution

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 Nov 22, 2020 by Ghost User
Assignee
Assign to
Time tracking