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

Alternative to pyFoamPlotWatcher?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By floquation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2017, 10:24
Default Alternative to pyFoamPlotWatcher?
  #1
Member
 
Matt Ridzon
Join Date: Jun 2014
Posts: 91
Rep Power: 12
m_ridzon is on a distinguished road
I recently got pyFoamPlotWatcher working. It was brought to my attention in another posting (https://www.cfd-online.com/Forums/openfoam/190035-gnuplot-doesnt-zoom-pyfoamplotwatcher.html#post655804) that gnuplot zoom functions may not work properly with pyFoamPlotWatcher. As shown in the attachments, residual plots can look very busy and blurry. So having the option to zoom would be quite useful. Therefore, does anyone know of an alternative tool, aside from pyFoamPlotWatcher, that could be used to view the residuals in real-time during the solution?

Note that I'm using OpenFoam 2.4.0, on OpenSuse 13.2, Gnome 3.14.1.

Thanks in advance,
M Ridzon
Attached Images
File Type: png Residuals_1.png (11.2 KB, 21 views)
File Type: png Residuals_2.png (15.5 KB, 19 views)
m_ridzon is offline   Reply With Quote

Old   July 4, 2017, 11:55
Default
  #2
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21
floquation will become famous soon enough
Rather than looking an alternative, won't this do the trick?

Code:
$ pyFoamPlotWatcher.py --help

(...)

Limits
------
Where the plots should start and end

--start=START           Start time starting from which the data should be
                        plotted. If undefined the initial time is used
--end=END               End time until which the data should be plotted. If
                        undefined it is plotted till the end

(...)
m_ridzon likes this.
floquation is offline   Reply With Quote

Old   July 5, 2017, 04:31
Default
  #3
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
Use the residuals function object to write the residuals to a file in the postProcessing folder. Then, you can use any tool (gnuplot, octave, ...) you prefer to watch the residuals
GerhardHolzinger is offline   Reply With Quote

Old   July 8, 2017, 09:05
Default
  #4
Member
 
Matt Ridzon
Join Date: Jun 2014
Posts: 91
Rep Power: 12
m_ridzon is on a distinguished road
Quote:
Originally Posted by floquation View Post
Rather than looking an alternative, won't this do the trick?

Code:
$ pyFoamPlotWatcher.py --help

(...)

Limits
------
Where the plots should start and end

--start=START           Start time starting from which the data should be
                        plotted. If undefined the initial time is used
--end=END               End time until which the data should be plotted. If
                        undefined it is plotted till the end

(...)
Dynamic zoom in the plot window would have been golden. Since it seems that feature isn't available though, this alternative seems like it should do almost as good.

Thanks!!
M Ridzon
m_ridzon is offline   Reply With Quote

Reply


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
[PyFoam] GNUPLOT Doesn't Zoom With pyFoamPlotWatcher m_ridzon OpenFOAM Community Contributions 2 July 4, 2017 10:12
questions to the plot of pyFoamPlotWatcher tH3f0rC3 OpenFOAM Post-Processing 6 March 5, 2015 09:25
Alternative boundary treatment on cell-centered scheme dokeun Main CFD Forum 2 July 11, 2013 10:59
[PyFoam] pyFoamPlotWatcher Graphics do not work sda OpenFOAM Community Contributions 6 February 27, 2013 06:20


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