CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

segment fault during using paraview3120

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2012, 04:13
Question segment fault during using paraview3120
  #1
Member
 
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 14
hei@ge is on a distinguished road
Hi,everyone,i installed OpenFOAM2.1.0 and paraview3.12.0,but when i use paraview ,sometimes there occurring segment fault.who can give me some advice to overcome this error.Thanks a lot.
hei@ge is offline   Reply With Quote

Old   February 20, 2012, 05:20
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings hei@ge,

Try this:
Code:
paraFoam -builtin
I've seen the built-in reader being more stable than the official OpenFOAM reader.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 20, 2012, 05:34
Default
  #3
Member
 
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 14
hei@ge is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings hei@ge,

Try this:
Code:
paraFoam -builtin
I've seen the built-in reader being more stable than the official OpenFOAM reader.

Best regards,
Bruno
Hi,first,thank for your replying .I think that paraFoam -builtin is just a way of open case in the root of case.I use paraFoam in the root of case,then i get the fault.
hei@ge is offline   Reply With Quote

Old   February 20, 2012, 05:38
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Really? You don't believe me?? Then try this to see if I'm right or not:
Code:
paraFoam -help
__________________
wyldckat is offline   Reply With Quote

Old   February 20, 2012, 05:52
Default
  #5
Member
 
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 14
hei@ge is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Really? You don't believe me?? Then try this to see if I'm right or not:
Code:
paraFoam -help
sorry,i did not mean that.i have tryed it .but there are some problem.because my case is not decomposed.How can i use paraFoam -builtin in my case which is not decomposed?Thanks a lot.
hei@ge is offline   Reply With Quote

Old   February 20, 2012, 09:51
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi hei@ge,

Quote:
Originally Posted by hei@ge View Post
sorry,i did not mean that.i have tryed it .but there are some problem.because my case is not decomposed.How can i use paraFoam -builtin in my case which is not decomposed?Thanks a lot.
No problem! But I think you aren't seeing very well how the built-in reader works.
The built-in reader can open both kinds of cases, namely decomposed and cases that have not been decomposed!
So I don't understand what kind of problem are you getting... any chance you can post a snapshot of the problem you are getting?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 20, 2012, 21:08
Default
  #7
Member
 
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 14
hei@ge is on a distinguished road
I use paraFoam -builtin open my case,and i chose "reconstructed case".Then i get a message: p, li { white-space: pre-wrap; } line 6481
vtkOpenFOAMReaderPrivate (0x9ea1ea0): Error reading line 22 of /root/OpenFOAM/root-2.1.0/run/tutorials/incompressible/simpleFoam/wf2/0/epsilon: Expected number, string or (, found turbulentEpsilon


ERROR: In /home/opencfd/OpenFOAM/ThirdParty-2.1.0/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6481
vtkOpenFOAMReaderPrivate (0x9ea1ea0): Error reading line 21 of /root/OpenFOAM/root-2.1.0/run/tutorials/incompressible/simpleFoam/wf2/0/k: Expected number, string or (, found turbulentKE


ERROR: In /home/opencfd/OpenFOAM/ThirdParty-2.1.0/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6481
vtkOpenFOAMReaderPrivate (0x9ea1ea0): Error reading line 21 of /root/OpenFOAM/root-2.1.0/run/tutorials/incompressible/simpleFoam/wf2/0/p: Expected number, string or (, found pressure.


Can you give me some advice,Thanks very much.



hei@ge is offline   Reply With Quote

Old   February 21, 2012, 02:53
Default
  #8
New Member
 
Sam-CFD's Avatar
 
Sam Mathew
Join Date: Apr 2010
Location: India
Posts: 19
Rep Power: 15
Sam-CFD is on a distinguished road
Unfortunately, I'm also facing problems with using paraFoam. I had reinstalled OpenFOAM 2.1 and ParaView 3.12 from source build as described on OpenFOAM website.

Especially, when I tried to use Plot over Line, paraFoam is crashing on my Ubuntu 10.04, from CAELinux. The following message gets displayed

X Error: BadRequest (invalid request code or no such operation) 1
Extension: 154 (Uknown extension)
Minor opcode: 182 (Unknown request)
Resource id: 0x3e02d9d
paraview: ../../src/xcb_io.c:183: process_responses: Assertion `!(req && current_request && !(((long) (req->sequence) - (long) (current_request)) <= 0))' failed.


I tried Bruno's proposal to use paraFoam -builtin, but the problem still persists. Any suggestions will be highly valuable.

Thank you.
Sam-CFD is offline   Reply With Quote

Old   February 21, 2012, 03:08
Default
  #9
Member
 
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 14
hei@ge is on a distinguished road
The problem is still confusing me .When i solve it ,I will tell you how to do it.
hei@ge is offline   Reply With Quote

Old   February 21, 2012, 05:42
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi hei@ge and Sam-CFD,

hei@ge: OK, now we are getting somewhere. Your problem is related to a filesystem problem or locale interpretation problem. A few more questions:
  • Do you have OpenOAM installed inside a virtual machine? And if so, is the folder of your case being shared with the real machine?
  • Is your Linux installation done in your native language or in English?


Sam-CFD: The drivers for your machine's graphics card are probably not properly installed.
The other possibility is due to one of several glitches that occurs every once in a while:
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 21, 2012, 07:12
Default
  #11
New Member
 
Sam-CFD's Avatar
 
Sam Mathew
Join Date: Apr 2010
Location: India
Posts: 19
Rep Power: 15
Sam-CFD is on a distinguished road
Thanks Bruno. The Plot over Line is working for me perfectly.

My problem was fixed after rebooting. It seems after installing the Graphic drivers, I hadn't rebooted my machine yet.

Sam
Sam-CFD is offline   Reply With Quote

Old   February 21, 2012, 20:43
Default
  #12
Member
 
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 14
hei@ge is on a distinguished road
Thank you,Bruno.I install double system:my host machine is XP,and i install ubuntu10.04 in the F disk. My ubuntu10.04 's language is chinese.In my p case,there is one symbol "$",whether the symbol of $ is too new for reader to recognize it?
hei@ge is offline   Reply With Quote

Old   February 22, 2012, 04:45
Default
  #13
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi hei@ge,

Indeed, it's very possible to be a problem with locale. The usual fix is:
Code:
export LC_ALL=C
Before running the applications that need an English locale. But it seems that lately this doesn't always work.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 23, 2012, 21:36
Default
  #14
Member
 
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 14
hei@ge is on a distinguished road
Thanks a lot .I think some warnings do not always influent the process of the simulation,right?
hei@ge is offline   Reply With Quote

Old   February 24, 2012, 04:20
Default
  #15
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi hei@ge,

Quote:
Originally Posted by hei@ge View Post
Thanks a lot .I think some warnings do not always influent the process of the simulation,right?
Depends on what the warning message says

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
segment

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Segmentation fault when running dieselFoam or dieselEngineFoam in parallel francesco OpenFOAM Bugs 4 May 2, 2017 22:59
Pointwise segment file or .dat file example RuiVO Pointwise & Gridgen 5 November 23, 2015 11:46
Segmentation Fault Shawn_A OpenFOAM Running, Solving & CFD 6 October 31, 2011 15:38
Problem with segment surface and meshing Silmaril ANSYS Meshing & Geometry 1 October 13, 2011 17:42
PHI file structure Eugene Phoenics 9 November 2, 2001 23:00


All times are GMT -4. The time now is 12:16.