<br><font size=2 face="sans-serif">OK, I'm stuck. I unset my PV_INTERFACE_FILE
environment variable so that (as I understand things) it'd use the built-in
OpenFoam reader, rather than the one I built from source in the OpenFOAM
release. Then I ran</font>
<br>
<br><font size=2 face="sans-serif">paraFoam {root} {case}</font>
<br>
<br><font size=2 face="sans-serif">and got:</font>
<br>
<br><font size=2 face="Courier">ErrorMessage</font>
<br><font size=2 face="Courier"># Error or warning: There was a VTK Error
in file: /dcv/gabra/local/src/ParaView-2.6.1/GUI/Client/vtkPVWindow.cxx
(2572)</font>
<br><font size=2 face="Courier"> vtkPVWindow (0x4b96b00): Cannot read
file information when no reader is specified. This probably means that
the reader for the file with name: ./hotRoom.foam cannot be found</font>
<br><font size=2 face="Courier">ErrorMessage end </font>
<br><font size=2 face="Courier">ErrorMessage</font>
<br><font size=2 face="Courier"># Error or warning: There was a VTK Error
in file: /dcv/gabra/local/src/ParaView-2.6.1/GUI/Widgets/vtkKWApplication.cxx
(1701)</font>
<br><font size=2 face="Courier"> vtkPVApplication (0x47f9960):</font>
<br><font size=2 face="Courier"> Script: </font>
<br><font size=2 face="Courier">paraFoam.pvs</font>
<br><font size=2 face="Courier"> Returned Error on line 11:</font>
<br><font size=2 face="Courier"> invalid command name
""</font>
<br><font size=2 face="Courier">ErrorMessage end</font>
<br>
<br><font size=2 face="sans-serif">So I look at the paraFoam script. It
creates a paraFoam.pvs file and touches {case}.foam, then runs </font>
<br>
<br><font size=2 face="sans-serif">paraview paraFoam.pvs</font>
<br>
<br><font size=2 face="sans-serif">So I touch {case}.foam and then just
run PV. I do File->Open Data, and sure enough, there in the Files
of type: list is OpenFoam Files (*.foam). so it knows *something*
about OpenFOAM files. So I try to load the {case}.foam file, and
get:</font>
<br>
<br><font size=2 face="Courier New">ErrorMessage</font>
<br><font size=2 face="Courier New"># Error or warning: There was a VTK
Error in file: /dcv/gabra/local/src/ParaView-2.6.1/GUI/Client/vtkPVWindow.cxx
(2572)</font>
<br><font size=2 face="Courier New"> vtkPVWindow (0x4b96b00): Cannot
read file information when no reader is specified. This probably means
that the reader for the file with name: ./hotRoom.foam cannot be found</font>
<br><font size=2 face="Courier New">ErrorMessage end</font>
<br><font size=2 face="Courier New">ErrorMessage</font>
<br><font size=2 face="Courier New"># Error or warning: There was a VTK
Error in file: /dcv/gabra/local/src/ParaView-2.6.1/GUI/Widgets/vtkKWApplication.cxx
(1701)</font>
<br><font size=2 face="Courier New"> vtkPVApplication (0x47f9960):</font>
<br><font size=2 face="Courier New"> Script:</font>
<br><font size=2 face="Courier New">paraFoam.pvs</font>
<br><font size=2 face="Courier New"> Returned Error on line
11:</font>
<br><font size=2 face="Courier New"> invalid command
name ""</font>
<br><font size=2 face="Courier New">ErrorMessage end</font>
<br>
<br><font size=2 face="sans-serif">So, mimicking the paraFoam.pvs file,
I open the tcl window and:</font>
<br>
<br><font size=2 face="sans-serif">set a [$Application GetMainWindow]</font>
<br><font size=2 face="sans-serif">set b [$a InitializeCustomReader "FoamReader"
"hotFoam.foam"]</font>
<br><font size=2 face="sans-serif">$a ReadFileInformation $b "hotRoom.foam"</font>
<br>
<br><font size=2 face="sans-serif">and get the first part of that last
error:</font>
<br>
<br><font size=2 face="Courier New">ErrorMessage</font>
<br><font size=2 face="Courier New"># Error or warning: There was a VTK
Error in file: /dcv/gabra/local/src/ParaView-2.6.1/GUI/Client/vtkPVWindow.cxx
(2572)</font>
<br><font size=2 face="Courier New"> vtkPVWindow (0x4b96b00): Cannot
read file information when no reader is specified. This probably means
that the reader for the file with name: ./hotRoom.foam cannot be found</font>
<br><font size=2 face="Courier New">ErrorMessage end</font>
<br>
<br><font size=2 face="sans-serif">What am I doing wrong? </font>
<br>
<br><font size=2 face="sans-serif">Greg</font>
<br>