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

pyFoamCaseReport error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 16, 2012, 09:16
Default pyFoamCaseReport error
  #1
Member
 
Pierre Castellani
Join Date: Apr 2011
Location: Paris
Posts: 34
Rep Power: 3
pcaste12 is on a distinguished road
Hi,
I get an error running CaseReport only on solver part, all the other report looks good. Any idea?
In python I am doing:
CaseReport( args = [caseDir, "--full-report", "--file=" + log] )

And I get a report and an error:
Traceback (most recent call last):
File "/home/pierre/TeoTech/workspace/VT/case/squareBend.py", line 39, in <module>
CaseReport( args = [caseDir, "--full-report", "--file=" + log] )
File "/usr/local/lib/python2.6/dist-packages/PyFoam/Applications/CaseReport.py", line 41, in __init__
interspersed=True)
File "/usr/local/lib/python2.6/dist-packages/PyFoam/Applications/PyFoamApplication.py", line 155, in __init__
result=self.run()
File "/usr/local/lib/python2.6/dist-packages/PyFoam/Applications/CaseReport.py", line 200, in run
self.doRegion(self.opts.region)
File "/usr/local/lib/python2.6/dist-packages/PyFoam/Applications/CaseReport.py", line 579, in doRegion
info["solver"]=raw[0]
File "/usr/local/lib/python2.6/dist-packages/PyFoam/Basics/DataStructures.py", line 224, in __getitem__
raise KeyError(key)
KeyError: 0

I am using openFoam 2.0.1 and pyFoam0.5.5.

Many thanks,
pierre.
pcaste12 is offline   Reply With Quote

Old   January 16, 2012, 11:37
Default
  #2
Member
 
Pierre Castellani
Join Date: Apr 2011
Location: Paris
Posts: 34
Rep Power: 3
pcaste12 is on a distinguished road
Sorry wrong position of the thread.
pcaste12 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 265 May 8, 2012 06:06
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 17:43
Saving ParaFoam views and case sail OpenFOAM Paraview & paraFoam 9 November 25, 2011 15:46
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 19:02.