j-avdeev |
February 22, 2015 14:59 |
Hello.
I have similar problem as mich_K. It is sunday and pyFoam does not want to plot. :)
I have installed pyFoam and gnuplot as "notroot" user to my home directory.
gnuplot works fine - after command "plot sin(x)" window appears.
But if I run pyFoamPlotRunner
Code:
]$ pyFoamPlotRunner.py potentialFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.2 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.2-9739c53ec43f
Exec : potentialFoam
Date : Feb 22 2015
Time : 22:41:38
Host : "mgt1"
PID : 21491
Case : /home/avdeev/OpenFOAM/OpenFOAM-2.2.2/tutorials/basic/potentialFoam/pitzDaily
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Reading field p
Reading field U
No finite volume options present
Calculating potential flow
DICPCG: Solving for p, Initial residual = 1, Final residual = 9.18464e-07, No Iterations 221
PyFoam WARNING on line 142 of file /home/avdeev/python27/lib/python2.7/site-packages/PyFoam/LogAnalysis/GeneralLineAnalyzer.py : Problem doing timelines could not convert string to float:
PyFoam WARNING on line 142 of file /home/avdeev/python27/lib/python2.7/site-packages/PyFoam/LogAnalysis/GeneralLineAnalyzer.py : Problem doing timelines could not convert string to float:
continuity error = 1.60712e-05
Interpolated U error = 0.000110442
ExecutionTime = 0.29 s ClockTime = 1 s
PyFoam WARNING on line 142 of file /home/avdeev/python27/lib/python2.7/site-packages/PyFoam/LogAnalysis/GeneralLineAnalyzer.py : Problem doing timelines could not convert string to float:
End
pyFoam makes files, but no plot windows
Code:
$ ls
0 Allrun pitzDaily.foam PyFoamServer.info PyFoamState.StartedAt
0.org constant PyFoamHistory PyFoamState.CurrentTime PyFoamState.TheState
Allclean Gnuplotting.analyzed PyFoamRunner.potentialFoam.logfile PyFoamState.LastOutputSeen system
And also I have no Qt installed - is it matter?
Code:
$ pyFoamVersion.py
Machine info: Linux | mgt1 | 2.6.18-398.el5 | #1 SMP Tue Aug 12 06:26:17 EDT 2014 | x86_64 | x86_64
Python version: 2.7.7 (default, Jun 27 2014, 12:11:28)
[GCC 4.5.2]
Python executable: /home/avdeev/python27/bin/python
Python 2.7 is one development platform for PyFoam (along with Python 3)
PYTHONPATH: /home/avdeev/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/Utilities/VTKPythonWrapping:/home/avdeev/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/lib/paraview-3.12:/home/avdeev/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/Utilities/VTKPythonWrapping:/home/avdeev/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/lib/paraview-3.12:/home/avdeev/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/Utilities/VTKPythonWrapping:/home/avdeev/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/lib/paraview-3.12
Location of this utility: /home/avdeev/my_python/bin/pyFoamVersion.py
PyFoam WARNING on line 192 of file /home/avdeev/python27/lib/python2.7/site-packages/PyFoam/FoamInformation.py : Basedir /home/avdeev/foam for fork extend does not exist or is not a directory
Version 2.2.2 Fork openfoam of the installed 3 versions:
openfoam-2.1.1 : /home/avdeev/OpenFOAM/OpenFOAM-2.1.1
openfoam-2.2.0 : /home/avdeev/OpenFOAM/OpenFOAM-2.2.0
openfoam-2.2.2 : /home/avdeev/OpenFOAM/OpenFOAM-2.2.2
pyFoam-Version: 0.6.4
ALERT: Reported version (0, 6, 4) is different from hardcoded version (0, 6, 4, 'development') -> probably inconsistent library installation
Path where PyFoam was found (PyFoam.__path__) is ['/home/avdeev/python27/lib/python2.7/site-packages/PyFoam']
Configuration search path: [('file', '/etc/pyFoam/pyfoamrc'), ('directory', '/etc/pyFoam/pyfoamrc.d'), ('file', '/home/avdeev/.pyFoam/pyfoamrc'), ('directory', '/home/avdeev/.pyFoam/pyfoamrc.d')]
Configuration files (used): []
Installed libraries:
cython : No Not used. Maybe will by used later to spped up parts of PyFoam
cProfile : Yes
docutils : No Not necessary. Needed for RestructuredText to HTML conversion
Gnuplot : No Not a problem. Version from ThirdParty is used
hotshot : Yes
ipdb : No Not necessary. Only makes debugging more comfortable
IPython : No Not necessary. But the interactive shell may be more comfortable
matplotlib : No Only Gnuplot-plotting possible
mercurial : No Not a problem. Used for experimental case handling
nose : No Only needed for running the unit-tests (developers only)
numpy : Yes version: 1.8.1
openpyxl : No Not a problem. Only used for exporting pandas-data to Excel-files (advanced)
pandas : No Not a problem. Only used for handling of advanced data-handling
ply : No Not a problem. Version from ThirdParty is used
profile : Yes
psyco : No Not a problem. Acceleration not possible
PyQt4 : No Only some experimental GUI-stuff relies on this
PyQt4.Qwt5 : No Only an alternate plotting back-end
scipy : No Not yet used. Possibly use signal-fitting etc
Tkinter : No Not a problem. Used for the old version of DisplayBlockmesh and some matplotlib-implementations
twisted : No Not yet used. Possibly reimplement MetaServer with it
vtk : No Not a problem. Only used for some utilities
xlwt : No Not a problem. Only used for exporting pandas-data to Excel-files
xlrd : No Not a problem. Only used for importing Excel-files to pandas-data
Library locations
cProfile : /home/avdeev/python27/lib/python2.7/cProfile.pyc
hotshot : /home/avdeev/python27/lib/python2.7/hotshot/__init__.pyc
numpy : /home/avdeev/python27/lib/python2.7/site-packages/numpy/__init__.pyc
profile : /home/avdeev/python27/lib/python2.7/profile.pyc
Checking additional envirnoment variables
Checking for PYFOAM_DIR : Location of the PyFoam-installation. Not strictly necessary
PYFOAM_DIR missing from environment
Checking for PYFOAM_SITE_DIR : Location of non-PyFoam-disctributions script. Set and used by some Foam-distributions
PYFOAM_SITE_DIR missing from environment
Thanks in advance.
|