|
[Sponsors] |
[OpenFOAM] Cavity Tutorial: ParaView starts, cannot find reader |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 26, 2010, 21:36 |
Cavity Tutorial: ParaView starts, cannot find reader
|
#1 |
New Member
Join Date: Jan 2010
Posts: 1
Rep Power: 0 |
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 created temporary 'cavity.OpenFOAM' Read float past end of buffer Read float past end of buffer Read float past end of buffer Read float past end of buffer 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' what(): basic_string::_S_create /home/mfrain/OpenFOAM/OpenFOAM-1.6/bin/paraFoam: line 109: 5730 Aborted paraview --data="$caseFile" 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. Last edited by mfrain; January 26, 2010 at 23:03. Reason: Additional note |
|
February 12, 2010, 12:00 |
|
#2 |
Member
Join Date: Jun 2009
Location: Germany
Posts: 38
Rep Power: 17 |
Hi should be the same problem like in this thread http://www.cfd-online.com/Forums/ope...tu-9-10-a.html
Good luck. |
|
August 18, 2011, 12:00 |
ParaView 3.10.1 starts, reader could not be found
|
#3 | |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
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 |
||
August 18, 2011, 12:52 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
August 18, 2011, 13:27 |
|
#5 | |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
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 |
||
June 18, 2012, 15:14 |
|
#6 |
Member
Jim Carow
Join Date: Apr 2010
Location: Michigan, USA
Posts: 41
Rep Power: 16 |
Hello Bruno,
I have a similar issue as described by Mirko: Code:
$ paraFoamcreated temporary 'cavity.OpenFOAM' Read float past end of buffer Read float past end of buffer Read float past end of buffer Read float past end of buffer 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 |
|
June 18, 2012, 15:57 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
June 18, 2012, 23:14 |
|
#8 |
Member
Jim Carow
Join Date: Apr 2010
Location: Michigan, USA
Posts: 41
Rep Power: 16 |
Bruno,
The goose was delicious....I adjusted the paths in step 5 to match my install and all is good. thanks alot, Jim |
|
Tags |
parafoam debian cavity |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Problems to install openfoam-2.4.0 on Ubuntu 16.04.01LTS | matheusmonjon | OpenFOAM Installation | 3 | February 25, 2017 15:46 |
Parafoam - FATAL ERROR: ParaView reader module libraries do not exist | Amit_Pawarpawar | OpenFOAM Installation | 1 | August 25, 2014 11:31 |
Viscositymodel tutorial, problems when changing test case to cavity | sur4j | OpenFOAM Programming & Development | 1 | December 8, 2013 10:53 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |
[OpenFOAM] HI all I cant find display button in paraview when i execute cavity tutorial there is only parameter button in the paraview | chan | ParaView | 2 | February 13, 2006 08:37 |