foamMonitor: Adding possibility to specify the file using process substitution
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?