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

[OpenFOAM] ParaFoam Segmentation Fault

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2014, 14:43
Default ParaFoam Segmentation Fault
  #1
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 16
dancfd is on a distinguished road
Hello all,

I have a problem loading a case in paraFoam; when I run the paraFoam command from the case directory, paraView opens, but once I click "apply" to load the geometry (even if I de-select all of the patches and all of the fields) paraView crashes with the following error in terminal:

Code:
--> FOAM FATAL IO ERROR: 
incorrect first token, expected <int> or '(', found on line 19 the label 77680

file: /home/daniel/OpenFOAM/daniel-2.1.1/run/cases/varFS/rep_002c5_a_longer/constant/polyMesh/points at line 19.

    From function operator>>(Istream&, List<T>&)
    in file /opt/openfoam211/src/OpenFOAM/lnInclude/ListIO.C at line 149.

FOAM exiting

Segmentation fault
Strangely, I have another case with the same mesh that was just run for less time, and it loads without this error. I also generated the mesh separately and was able to load it in paraFoam without the error. I then copied the /constant/polyMesh folder from one of the working cases into the directory of the case that gives the error, but the error persists. This suggests to me the error must be caused by interaction with something other than the mesh file. ControlDict? Maybe the time files?

I would appreciate any advice anyone could offer.

Thanks!

Daniel

------

Versions:
OF 2.3.0
ParaView 4.1.0
dancfd is offline   Reply With Quote

Old   July 7, 2014, 20:38
Default
  #2
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 16
dancfd is on a distinguished road
Hello all,

It looks like the problem was with controlDict. There was an invalid link to a library, leftover from another case. The case would still run (with warnings), but paraFoam could not handle it evidently. So others can learn from my mistake, the offending line in controlDict was:

Code:
libs ("libtimeVaryingUniformInletOutlet.so");
which was rectified by commenting it out:

Code:
//libs ("libtimeVaryingUniformInletOutlet.so");
Regards,

Daniel
dancfd 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] paraview parafoam segmentation fault (core dumped) RicardoLB ParaView 3 April 28, 2020 20:07
[OpenFOAM] ParaFoam or Praview segmentation fault only when I have a lib linked in controlDict Luchini ParaView 2 August 10, 2015 12:50
Exporting Animation in Parafoam: Segmentation Fault at 195 files dancfd OpenFOAM Post-Processing 2 November 14, 2012 22:15
paraFoam, Segmentation fault Fed11 OpenFOAM Bugs 3 July 4, 2011 19:04
[OpenFOAM] Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit nanes ParaView 2 September 11, 2009 09:12


All times are GMT -4. The time now is 05:57.