|
[Sponsors] |
September 23, 2009, 16:27 |
Paraview crash after opening OF case
|
#1 |
Member
Join Date: May 2009
Posts: 54
Rep Power: 17 |
Hello,
I just installed OF1.6.x using Mads' script (http://hvirvel.com/installOF), followed by paraview installation using the makeParaView script inside the ThirdParty folder. The installation seems to be successful as paraview runs fine until I attempt to use paraFoam to open a OF case, such as /run/cavity. When I run paraFoam, a dialog pops up asking to select a reader for "cavity.OpenFOAM" as one could not be found. I select "OpenFOAM files" from the list of readers, and paraview crashes. Here is the terminal output: Code:
greg@greg-laptop:~/OpenFOAM/greg-1.6.x/run/cavity$ 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 terminate called after throwing an instance of 'std::length_error' what(): basic_string::_S_create Aborted Thanks, -Greg |
|
September 23, 2009, 18:11 |
|
#2 |
Member
Join Date: May 2009
Posts: 54
Rep Power: 17 |
I found the solution to my problem.
Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader ./Allwclean ./Allwmake -Greg |
|
October 6, 2009, 00:43 |
|
#3 | |
Member
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 17 |
Quote:
Hmmm. I am getting this exact same problem on my new install - I have tried building the PV3 module a couple of times, but Paraview still hangs with the error message you describe. Is there anything else that I need to do to to get Paraview to utilise the reader? R |
||
October 6, 2009, 09:44 |
|
#4 | |
Member
Join Date: May 2009
Posts: 54
Rep Power: 17 |
Unfortunately I do not know what could be the causing the problem for you.
From what I have been reading, paraview seems very sensitive to the version of Qt you have installed. I also found this information which basically reiterates my solution but goes into a little more depth. Quote:
From: http://openfoamwiki.net/index.php/Installation Hope that helps, and good luck. -Greg |
||
October 14, 2009, 15:46 |
Paraview crash-- reader not found
|
#5 |
New Member
Nisha
Join Date: Sep 2009
Location: Massachusetts
Posts: 18
Rep Power: 17 |
Hi,
this post might help you for the solving paraview crash, or reader not found error. The problem lies with the Qt Assistant...!! as openFOAM insists to use correct version. Although you may be thinking that you have installed Qt4 latest version and its libraries from synaptic manager, or elsewhere, do a check this way: nisha@newton:~$ qmake --version it gave me this: Qmake version: 1.07a (Qt 3.3.8b) Qmake is free software from Trolltech ASA. As you can see, my Qt is 3.3.8b. but paraview requires Qt-4.3.5 ..!!! Solution to the problem is to install Qt-4.3.5 and make paraview find it.. Follow the steps as below: (source: http://www.cfd-online.com/cgi-bin/Op...8466#POST28466) 1. Download qt-x11-opensource-src-4.3.5.tar.gz (approx. 40MB) from ftp://ftp.trolltech.com/qt/source/qt...c-4.3.5.tar.gz and unpack it in your /tmp folder. There now should be a folder called /tmp/qt-x11-opensource-src-4.3.5 on your system 2. Go to that folder cd /tmp/qt-x11-opensource-src-4.3.5 set the path you want to install Qt-4.3.5 in, e.g. ./configure -prefix ~/OpenFOAM/ThirdParty/Qt-4.3.5 you may have to accept the GNU-license. Now compile (takes some time...) make and install make install 3. add the following lines to your ~/OpenFOAM/OpenFOAM-1.5/etc/bashrc at the very end # set QT related variables Now paraFoam should run smoothly... If not, maybe you have to recompile the PV3FoamReader as cd $WM_THIRD_PARTY_DIR rm -rf paraview-3.6.1/platforms makeParaView hope this helps....!!!!!! Update: seems compiling makeParaView is returning error..! "command not found" :-( someone help me..! Last edited by nisha; October 15, 2009 at 03:39. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Xwindows crash with paraview save | srinath | ParaView | 1 | October 15, 2008 10:37 |
[OpenFOAM] ParaView crash | srinath | ParaView | 2 | June 1, 2008 20:03 |
Help setting up pressure function across opening | Jenny | CFX | 3 | October 18, 2007 01:16 |
[OpenFOAM] Both paraview and paraFoam crash on Redhat Linux WS v4 64bit | sek | ParaView | 4 | August 17, 2006 17:26 |
Turbulent Flat Plate Validation Case | Jonas Larsson | Main CFD Forum | 0 | April 2, 2004 11:25 |