CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] ParaFoam error in OpenFOAM15

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2008, 09:57
Default ParaFoam error in OpenFOAM15
  #1
Member
 
vof_user
Join Date: Mar 2009
Posts: 67
Rep Power: 17
asaha is on a distinguished road
Hello,

I get the following error when using paraFoam with icoFoam tutorial.
-------------------------------------------------
Failed to initialize TTM buffer manager. Falling back to classic.
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
/asaha/OpenFOAM/OpenFOAM-1.5/bin/paraFoam: line 83: 5624 Aborted paraview --data=$caseFile
--------------------------------------------------

I am using the binary version of the OpenFOAM-1.5 package. Pl. help to resolve this.

Thanks,

A Saha.
asaha is offline   Reply With Quote

Old   July 15, 2008, 18:19
Default Have you tried compiling the p
  #2
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Have you tried compiling the paraview and PV3FoamReader on your machine? I had to compile them myself even if my qt4 version was the proper one.
louisgag is offline   Reply With Quote

Old   July 15, 2008, 23:01
Default Hello I installed the right
  #3
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
srinath is on a distinguished road
Hello

I installed the right version of qt-4.3.2 on Ubuntu 7.10
I am using the binary version of openFoam
when i invoke paraFoam, it asks me to choose a appropriate reader from a big list.

I choose openFoam files as the type.
But i get the following error after it crashes out

terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
Aborted (core dumped)

Pls help me resolve this

Thanks
Srinath
srinath is offline   Reply With Quote

Old   July 15, 2008, 23:17
Default even with "the right version o
  #4
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
even with "the right version of qt-4.3.2 on Ubuntu 7.10 " you still have to compile the two packages I mentionned above to get rid of that error message.

To compile paraview you will need to install a library, the output of the compiler will tell you which one. That library is available under ubuntu 7.10 package manager (get the lib...-dev).

hope this helps
louisgag is offline   Reply With Quote

Old   July 16, 2008, 00:50
Default Thanks Louis I compiled par
  #5
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
srinath is on a distinguished road
Thanks Louis

I compiled paraview3.3 and PV3FoamReader. Now it doesn't crash out.
I didn't have to install any new library. Maybe i had it already.

However the menu seems different. I hope that it works ok, as i seem to get only the mesh and not the solution, even though i click on the variable that should be displayed, time instant etc

Thanks
Srinath
srinath is offline   Reply With Quote

Old   July 16, 2008, 00:52
Default Compiling the paraview and PV3
  #6
Member
 
vof_user
Join Date: Mar 2009
Posts: 67
Rep Power: 17
asaha is on a distinguished road
Compiling the paraview and PV3FoamReader in my machine has resolved the issue. But it crashes a few times. I will report specifically with details.
asaha is offline   Reply With Quote

Old   July 17, 2008, 03:44
Default Hello everyone I have a str
  #7
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
srinath is on a distinguished road
Hello everyone

I have a strange problem with paraFoam
I go into a case directory(say cavity) and invoke paraFoam.
In the object inspector i see 3 tabs,
properties, display and information.

1)I see the fields p and U in properties, along with various grid specific details, like displaying patches etc. In the information tab, i see all the time directories.

2)I select p and internal mesh in properties, and a particular time directory and choose gourad interpolation.

3)But yet all i see is the internal mesh.


No error message gets displayed in the command window.

Am i missing something trivial?
srinath is offline   Reply With Quote

Old   July 17, 2008, 08:58
Default Srinath, did you change the
  #8
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Srinath,

did you change the default "solid color" option? That might be your problem,,, The new paraview is different so you have to play around a bit to get used to it.
louisgag is offline   Reply With Quote

Old   July 17, 2008, 11:05
Default Hi Louis In the display tab
  #9
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
srinath is on a distinguished road
Hi Louis

In the display tab, i have a field which says color by

The options presented to me are
solid color(default)
or vtkCompositeIndex
Neither of which causes the solution to be displayed.

In the previous version of paraview, i think there used to be a field called volPointInterpolate, which now seems to be missing.
Any clues as to what is wrong?

Regards
Srinath
srinath is offline   Reply With Quote

Old   July 17, 2008, 13:29
Default change solid color in the top
  #10
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
change solid color in the top bar... not in the display tab.
louisgag is offline   Reply With Quote

Old   July 17, 2008, 13:50
Default I also have the crashing issue
  #11
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
I also have the crashing issues with the new paraview, my computer totally freezes at times and I have to perform a forced reboot.
louisgag is offline   Reply With Quote

Old   July 17, 2008, 22:13
Default Hi Louis You were right. I
  #12
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
srinath is on a distinguished road
Hi Louis

You were right. I am posting below the complete list of things that i did, in case someone else gets stuck here.

I did the following and now i am able to display all scalar quantities in paraview-3.3
In object inspector/properties
1)Click on region status to ensure all parts of the internal/boundary mesh are selected.
2)Click on the flow variable(p,U,T etc) that you want displayed
3)Click on apply

In object inspector/display
1)Choose under style/representation--surface

In the top left hand bar(as you correctly mentioned), choose p for eg, if u hv selected p in step 2

In the top right hand corner choose the time instant.

The new paraview does seem better.
Hopefully streamlines etc will be easy to generate.

Thanks
Srinath
srinath is offline   Reply With Quote

Old   July 18, 2008, 02:38
Default Louis, I had a similar proble
  #13
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Louis,
I had a similar problem a while ago with paraview and icewm. It would exit and then overload my cpu. It turned out to be a nasty bug in how icewm dealt with Qt4 - upgrading icewm did the trick. Maybe you have something similar.

Srinath,
The cell values (eg, U) are displayed as solid dots and the point values are displayed as small dots in the top bar.
As Louis suggested, changing it in the top bar (you might need to select solid color to have paraview notice that there a new fields). Changing in the display tab doesn't seem to work.

You might scan the paraview mantis bug list and see if this bug has been reported and/or fixed in a newer cvs version.
olesen is offline   Reply With Quote

Old   July 19, 2008, 11:59
Default Have the similar problem on as
  #14
Member
 
sradl's Avatar
 
Stefan Radl
Join Date: Mar 2009
Location: Graz, Austria
Posts: 82
Rep Power: 18
sradl is on a distinguished road
Have the similar problem on as Louis: when working with paraview 3.3.0 for some while, it freezes, black screen and then i have to reboot.

Qt4 has been installed and the application recompiled - however nothing changed. I'm using linuxMint

I'd kindly ask Mark to give some details on how to manage the problem.
sradl is offline   Reply With Quote

Old   July 21, 2008, 02:36
Default Stefan, Sorry I'm not an ex
  #15
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Stefan,

Sorry I'm not an expert for any of those things. I just happened to have had a paraview3/qt4/icewm problem in the past. I cursed a buggy paraview3, but tried a variety of other window managers before thinking about filing a bug report. Using this approach I narrowed the problem down to a particular version of icewm. Otherwise, the next step would been to run valgrind on paraview and see if anything interesting shows up. You can also try it with other linux versions to see if you can isolate the problem.

Also try paraview with some simple format (eg, stl) that doesn't use the OpenFOAM reader. If you have the same problem, it is a paraview problem with your installation and not OpenFOAM.

BTW: the problem I had encountered was with paraview3 itself, which I had compiled and installed independently of OpenFOAM. Now that I have OpenFOAM-1.5 installed, I use the bin/buildParaView3.3-cvs script which makes compiling paraview much, much, much more comfortable!
olesen is offline   Reply With Quote

Old   July 22, 2008, 16:38
Default Guys, be sure that you have
  #16
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
Guys,

be sure that you have libPV3FoamReader_SM.so, libPV3FoamReader.so and libvtkPV3Foam.so in OpenFOAM-1.5/lib/linuxXXXX/ otherwise it won't work.

Paraview load the PV3FoamReader librairies from this directory.

Regards,

PO
podallaire is offline   Reply With Quote

Old   July 25, 2008, 02:27
Default Hi foamers, after precise t
  #17
Member
 
sradl's Avatar
 
Stefan Radl
Join Date: Mar 2009
Location: Graz, Austria
Posts: 82
Rep Power: 18
sradl is on a distinguished road
Hi foamers,

after precise testing, the following status:

The only function of Paraview 3.3 that does not work is clip. When I perform a clip and want to show the surface, the monitor is getting dark. All other functions work.

So I think it is a bug in Paraview or an incompatibility with my graphic card or OS (I run on linux mint).

br
Stefan Radl
sradl is offline   Reply With Quote

Old   July 31, 2008, 23:12
Default Hi all, I upgraded to Ubunt
  #18
New Member
 
Richard Jones
Join Date: Mar 2009
Location: Adelaide, South Australia, Australia
Posts: 22
Rep Power: 17
richard is on a distinguished road
Hi all,

I upgraded to Ubuntu 8.04, and so I had to recompile paraview and pv3foamreader - I've got Qt4.3.4 and had to download libmpfr to get it to work, that's fine.

The problem is when I open a case in paraview and select the region status (all) then hit apply, nothing happens.
The display tab is still blank (just has visibility greyed out) and the window is remains black. There isn't any error file or output.

Am I missing something? Another package maybe?

Any help would be really appreciated - it's bugging the hell out of me.

Cheers
Richard
richard is offline   Reply With Quote

Old   August 14, 2008, 10:48
Default I am trying to install openfoa
  #19
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
I am trying to install openfoam-1.5 and I can successfully run the case with bloclkmesh and solver commands (like icoFoam etc)
But paraFoam command is not working well.
I have qt-4.3.5 installed by default in my FEDORA-9. I checked the GMP and MPFR installation as well.

The strange thing is .. even thought I installed the qt-4.3.5, the command :
qmake --version
is not displaying any result. what does this mean? Is this has to do anything with the error I am getting below?
The error reported is:-

[343880@w191-210 channel395]$ paraFoam
paraview: error while loading shared libraries: libQtAssistantClient.so.4: cannot open shared object file: No such file or directory

can anybody help?

regards,
Nishant
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   August 15, 2008, 07:04
Default Nishant, One possible expla
  #20
Member
 
Martin Aunskjaer
Join Date: Mar 2009
Location: Denmark
Posts: 53
Rep Power: 17
aunola is on a distinguished road
Nishant,

One possible explanantion is that qmake is not in your path. Say, for a bash shell your .bash file should have something like this in it:

PATH=$PATH:/usr/lib/qt4/bin

I believe this is where qt4 is on Fedora 9. I'm not sure though that is your problem. If your path is simply wrong the command 'qmake -v' should return 'Unknown command'. Also, you probably wouldn't have been able to rebuild paraFoam and reader if the path was wrong.

Did you do these rebuilds ?
aunola is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Unable to launch parafoam & boonhow ParaView 5 March 23, 2022 08:09
[OpenFOAM.com] paraFoam cannot open due to Qt issues - [Solved/Information] u2berggeist OpenFOAM Installation 2 July 2, 2018 17:03
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 10:46
HowTo Make paraFoam from OpenFOAM15 work on OpenSuse11 by installing Qt435 in home directory wenterodt OpenFOAM Installation 52 June 26, 2009 17:01
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 04:41


All times are GMT -4. The time now is 18:26.