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

Issues with pyFoamPlotRunner.py Utility

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2022, 12:27
Default Issues with pyFoamPlotRunner.py Utility
  #1
New Member
 
Alexander Perez
Join Date: Nov 2020
Posts: 3
Rep Power: 6
AlexanderPerez is on a distinguished road
Im using a docker image with pyfoam, openfoam7 and swak4Foam preinstalled, the specific image is a training container for swak and pyfoam which I got from the following link https://hub.docker.com/r/bgschaid/openfoam_by_ansible

The error shown in the code below happens after trying to run the pyFoamPlotRunner.py utility

I also have had to run all commands with sudo since I'm getting access denied. I was able to use pyFoamCloneCase.py and pyFoamPrepareCase.py, any suggestions would be great.

Code:
(OF:7-Opt) openfoam@99b0c0aa4309:/test/01baseCase$ sudo pyFoamPlotRunner.py --clear --progress --auto --hardcopy --prefix=firstRun auto
 PyFoam WARNING on line 381 of file /usr/local/lib/python3.6/dist-packages/PyFoam/Applications/PyFoamApplication.py : $WM_PROJECT_VERSION unset. PyFoam will not be able to determine the OpenFOAM-version and behave strangely
Clearing out old timesteps ....
 Warning in /usr/local/bin/pyFoamPlotRunner.py : Replacing solver 'auto' with buoyantPimpleFoam in arguments
 PyFoam WARNING on line 42 of file /usr/local/lib/python3.6/dist-packages/PyFoam/Infrastructure/ServerBase.py : No certficate file /home/dockeruser/.pyFoam/foamServerCertificate.cert exists. Therefor no SSL-connection for the FoamServer possible
 To generate a private key:
    openssl genrsa -out /home/dockeruser/.pyFoam/foamServerCertificate.key 2048
Then generate the cerificate that is valid for 3 years with
    openssl req -new -x509 -key /home/dockeruser/.pyFoam/foamServerCertificate.key -out /home/dockeruser/.pyFoam/foamServerCertificate.cert -days 1095
Killing PID 1320
 PyFoam WARNING on line 292 of file /usr/local/lib/python3.6/dist-packages/PyFoam/Execution/FoamThread.py : Process 1320 was already dead
Getting LinuxMem: [Errno 2] No such file or directory: '/proc/1320/status'
(OF:7-Opt) openfoam@99b0c0aa4309:/test/01baseCase$
gnuplot: unable to open display '172.28.130.146:0'
gnuplot: X11 aborted.

gnuplot: unable to open display '172.28.130.146:0'
gnuplot: X11 aborted.

gnuplot: unable to open display '172.28.130.146:0'
gnuplot: X11 aborted.
AlexanderPerez 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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 03:36
Noise postprocessing utility setup RFlamm OpenFOAM Post-Processing 5 July 30, 2018 11:06
wallHeatFlux Calculation wrt utility version ahmet OpenFOAM Post-Processing 1 December 18, 2016 20:45
Something doens't work with wallHeatFlux utility or externalWallHeatFluxTemperat BC!! zfaraday OpenFOAM Post-Processing 0 February 5, 2015 17:47
Multigrid Stability Issues ThomasHermann SU2 1 November 5, 2014 17:18


All times are GMT -4. The time now is 20:49.