Cavity Tutorial: ParaView starts, cannot find reader
Hello,
I am troubleshooting an installation of OpenFOAM 1.6 on Debian GNU/Linux 5.0. I am working through the instructions at http://www.openfoam.com/docs/README.php. The installation test script ran without errors and I have just run the cavity tutorial with the blockMesh and icoFoam scripts. However, when I run paraFoam, I get the following messages in the console: Code:
$ paraFoam If I select the logical 'OpenFOAM Files' reader, ParaView crashes with the following additional messages to the console: Code:
terminate called after throwing an instance of 'std::length_error' I am guessing that ParaView is having difficulty seeing and/or interpreting the OpenFOAM files. Any guidance would be greatly appreciated. EDIT: Additional note: Building the PV3FoamReader per the OpenFOAM README does not change this behavior. |
Hi should be the same problem like in this thread http://www.cfd-online.com/Forums/ope...tu-9-10-a.html
Good luck. |
ParaView 3.10.1 starts, reader could not be found
Quote:
I installed CentOS OF2.0.x and friends, including ParaView 3.10.1 paraFoam will launch ParaView, but ParaView cannot figure out which viewer to use and offers me a list of readers. When I select the OpenFOAM reader, ParaView proceeds normally. I looked at the ParaView command line switches and the paraFoam script, and I don't see anything obvious. Any thoughts? Thanks, Mirko |
Hi Mirko,
Since it's OF 2.0 + PV 3.10.1, try run it like this: Code:
paraFoam -builtin As for the ".OpenFOAM" reader, it will depend on:
Best regards, Bruno |
Quote:
I downloaded all the files from the sourceforge site. They were updated on 8/3. I will contact the CentFoam folks about the paraview build. Mirko |
Hello Bruno,
I have a similar issue as described by Mirko: Code:
OF 1.7.1 and Paraview 3.8 works OF 2.1.1 and Paraview 3.12.1 works I tried to change .bashrc to allow use of OF 1.7.1 and Paraview 3.12.1 and that's when ParaView cannot figure out which viewer to use and offers me a list of readers. If I select the OpenFOAM reader, ParaView proceeds normally. My challenge is that I am writing Python code to automate things and manually selecting a reader isn't so great! thanks for any suggestions, Jim |
Greetings Jim,
Mmmm... If I understand you correctly, you're trying to use ParaView 3.12.0 with OpenFOAM 1.7.1. And according to your description, I suppose you can't have two separate terminal windows/tabs, one for each OpenFOAM, is that correct? Another question: is the OpenFOAM 1.7.1 your own build as well? Basically the solution should be, by doing the following steps on your OpenFOAM 1.7.1 installation:
On the other hand, if you simply want the internal reader, then you can hack the paraFoam script and change all references of ".OpenFOAM" to ".foam". To know where paraFoam is, run: Code:
which paraFoam Bruno |
Bruno,
The goose was delicious....I adjusted the paths in step 5 to match my install and all is good. thanks alot, Jim |
All times are GMT -4. The time now is 11:20. |