|
[Sponsors] |
Automatic figures/picture extraction from paraFoam. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 8, 2012, 12:37 |
Automatic figures/picture extraction from paraFoam.
|
#1 |
New Member
Rach
Join Date: Mar 2012
Posts: 1
Rep Power: 0 |
Hi All,
I am quite new to OpenFOAM- and have just about managed to install and run the examples in OpenFoam (cavity, dam..). I find it rather annoying to launch paraFoam and extract results for individual cases or timesteps. Id rather have a code, which automates this process and throws my *.pngs in my directory. Is there a way to (efficiently) do this? I tried for example, following: http://www.cfd-online.com/Forums/ope...-paraview.html but, I get some nasty exceptions as below (+ the perl script fails to execute): ====== Reading startup template case: cavity_base Clone base to new current: cavity_U0.2_init1 Make mesh: cavity_U0.2_init1 Traceback (most recent call last): File "cavUvar.py", line 62, in <module> UtilityRunner(argv=["blockMesh","-case",casefile,],silent=False).start() File "/usr/local/lib/python2.7/dist-packages/PyFoam/Execution/UtilityRunner.py", line 38, in __init__ jobId=jobId) File "/usr/local/lib/python2.7/dist-packages/PyFoam/Execution/AnalyzedRunner.py", line 33, in __init__ jobId=jobId) File "/usr/local/lib/python2.7/dist-packages/PyFoam/Execution/BasicRunner.py", line 100, in __init__ error("Solution directory",self.dir,"does not exist. No use running. Problem:",e) File "/usr/local/lib/python2.7/dist-packages/PyFoam/Error.py", line 49, in error raise FatalErrorPyFoamException(*text) PyFoam.Error.FatalErrorPyFoamException: FatalError in PyFoam: 'PyFoam FATAL ERROR on line 100 of file /usr/local/lib/python2.7/dist-packages/PyFoam/Execution/BasicRunner.py: Solution directory -case/cavity_U0.2_init1 does not exist. No use running. Problem: [Errno 2] No such file or directory: '/home/ram/OpenFOAM/ram-2.1.0/run/tutorials/incompressible/icoFoam/cavity/cavityseries/-case/cavity_U0.2_init1'' ./go.sh: 3: pvbatchprocess.pl: not found find: `cavity_U*init1/Images': No such file or directory movies created find: `cavity_U*init1/Images': No such file or directory ======= Is there an easier way to extract images and possibly even the data (in csv maybe?) without using the GUI? I m using OF2.1 and ParaView 3.12.0 64bit. Many thanks for all you time and help. regards, Rachel.M |
|
Tags |
openfoam 2.1, parafoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |
transient simulation of a rotating rectangle | icesniffer | CFX | 1 | August 8, 2009 08:25 |
No results for solid domain | Gary Holland | CFX | 10 | March 13, 2009 04:30 |
[OpenFOAM] Parafoam basic questions | qtian | ParaView | 0 | July 20, 2007 12:52 |
[OpenFOAM] ParaFoam OF 14 decomposed cases | philippose | ParaView | 4 | April 18, 2007 06:17 |