CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Printing probes values to terminal

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 4, 2019, 10:12
Default Printing probes values to terminal
  #1
New Member
 
Join Date: Sep 2015
Posts: 13
Rep Power: 9
ChrisHa is on a distinguished road
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
ChrisHa is offline   Reply With Quote

Old   February 6, 2019, 17:59
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,503
Rep Power: 35
olesen will become famous soon enougholesen will become famous soon enough
That's an interesting thought - just logging some location s. Could add it on https://develop.openfoam.com/Development/OpenFOAM-plus/ for discussion.
olesen is offline   Reply With Quote

Old   February 7, 2019, 02:49
Default
  #3
New Member
 
Join Date: Sep 2015
Posts: 13
Rep Power: 9
ChrisHa is on a distinguished road
Quote:
Originally Posted by olesen View Post
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)
ChrisHa is offline   Reply With Quote

Reply

Tags
probes, pyfoamplotwatcher.py

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple model not matching calculated values Nick8529 FLUENT 0 July 1, 2017 10:09
values take by probes function object zfaraday OpenFOAM Post-Processing 0 July 7, 2014 11:06
cell values vs node values reversemermaid FLUENT 0 March 13, 2014 18:06
strange node values @ solid/fluid interface - help JB FLUENT 2 November 1, 2008 12:04
printing values from udf!!! Shekhar FLUENT 2 January 13, 2004 11:49


All times are GMT -4. The time now is 06:26.