CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Printing probes values to terminal (https://www.cfd-online.com/Forums/openfoam-post-processing/214528-printing-probes-values-terminal.html)

ChrisHa February 4, 2019 11:12

Printing probes values to terminal
 
Hi all,

Is it possible to print values defined in a probes function to the terminal?
I would like to monitor some values at certain location(s) using pyFoamPlotWatcher.py.

Thank you,
Chris

olesen February 6, 2019 18:59

That's an interesting thought - just logging some location s. Could add it on https://develop.openfoam.com/Development/OpenFOAM-plus/ for discussion.

ChrisHa February 7, 2019 03:49

Quote:

Originally Posted by olesen (Post 724007)
That's an interesting thought - just logging some location s. Could add it on https://develop.openfoam.com/Development/OpenFOAM-plus/ for discussion.

So, that means, it is not (yet) possible?

I've created a `probes` function, so I am able to monitor values at given locations. However, I have to switch with `foamMonitor` between the different probe files (which is, btw, not working properly on the U vector probes for me). I would find it very convenient, if I could just run one single command (e.g. `pyFoamPlotWatcher.py`) and monitor everything I want...

Is this possible?

Would it be an option to have a bash command running that reads every probes file and adds every new line to the job log file? Or does that mess up things, when several commands access the same file? (Sorry, I'm still new to linux/unix systems)


All times are GMT -4. The time now is 14:52.