|
[Sponsors] |
[PyFoam] pyFoamPlotWatcher Graphics do not work |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 26, 2013, 11:53 |
pyFoamPlotWatcher Graphics do not work
|
#1 |
New Member
Join Date: Apr 2010
Posts: 16
Rep Power: 16 |
Dear OpenFOAMers,
I am trying to use pyFoamPlotWatcher on a case that was created by Thorsten Grahs. This is an external aerodynamics example of the Ahmed Body using the pisoFoam solver. When I start pyFoam withe the command pyFoamPlotWatcher piso.log, no windows appear showing a live update of the solution residuals. instead I get the text from the .log file in the window. I am running this case in OpenFoam V 2.1.1 on a 64 bit Ubuntu 12.10 virtual machine using the Parallels 8 on my Apple MAcBook Pro. It seems that i might have aprobem with gnuplot but no error messages appear and I have not yet discovered the problem,hence my post. Any help would be appreciated. |
|
February 26, 2013, 16:18 |
|
#2 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
whats the duty of plot watcher?why don't you use plotrunner command instead?
|
|
February 26, 2013, 16:42 |
|
#3 |
New Member
Join Date: Apr 2010
Posts: 16
Rep Power: 16 |
I am new to pyFoam. I thought plotWatcher allowed you to view the residuals. I wasn't aware that plotRunner incorporated any features that allowed you to monitor a solution that was underway. Does it? If so then I will try but I suspect that I have an issue of gnuplot and the graphics drivers in Ubuntu 12.10.
|
|
February 26, 2013, 17:07 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
PlotRunner is only of use for small runs were you plan to have the terminal open all the time
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
February 26, 2013, 18:33 |
|
#5 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Some other things that could be the case: - the Watcher needs at least two timesteps before he starts plotting. You've had that many yet? - To find out that a new timestep ist "there" the Watcher scans the output for the "typical" output "Time = 3.4". Some solvers say it different and the Watcher then has a hard time finding the next time (but this can be configured). Anyway. If this is an unmodified pisoFoam then this probably isn't a problem Some things you could try to make it clearer where the problem is: - does the pyFoamPlotRunner.py not plot too? - does this problem occur with tutorial cases too (Plotter and Watcher) - in gnuplot does for instance "plot sin(x)" work?
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
February 26, 2013, 18:47 |
|
#6 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
then after ending the run we can plot residuals by pyFoamPlotRunner.did i grasp it correctly?
|
|
February 27, 2013, 06:20 |
|
#7 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Then you can plot the stuff from the logfile with the watcher. Even while the case is still running on another machine (that's why its called Watcher)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Companies that lease software & hardware for cloud-based work? | Catthan | ANSYS | 0 | June 18, 2014 11:53 |
Do all CFD analysts have to do some hands-on work except PhDs? | e13drd | Main CFD Forum | 2 | March 17, 2014 15:56 |
Why do the Plant library cases don't work? | Alumna | Phoenics | 6 | June 22, 2004 13:08 |
why my In-Form doesn't work? | green | Phoenics | 2 | May 27, 2004 22:03 |
Problem: graphics display in prostar main window | Jiaying Xu | Siemens | 8 | February 14, 2002 09:08 |