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

Error during foamToVTK

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 16, 2014, 02:50
Default Error during foamToVTK
  #1
New Member
 
Join Date: Apr 2013
Posts: 8
Rep Power: 4
Lana is on a distinguished road
Hi!
I have faced a 'segmentation fault' during foamToVTK.
Simulation was successfully run.

Help me please

Error is as below:

Time: 4000
volScalarFields : p nut k epsilon
volVectorFields : U
Internal : "/home/cnf0550/gsc_intake_run/run1301/VTK/run1301_4000.vtk"
Original cells:418831 points:447933 Additional cells:113002 additional poi nts:17780
Patch : "/home/cnf0550/gsc_intake_run/run1301/VTK/inlet/inlet_4000.vtk"
Patch : "/home/cnf0550/gsc_intake_run/run1301/VTK/outlet/outlet_4000.vtk"
Patch : "/home/cnf0550/gsc_intake_run/run1301/VTK/defaultFaces/defaultFac es_4000.vtk"
Patch : "/home/cnf0550/gsc_intake_run/run1301/VTK/gsc_intake_gsc_air_filt er_sides/gsc_intake_gsc_air_filter_sides_4000.vtk"
Patch : "/home/cnf0550/gsc_intake_run/run1301/VTK/gsc_intake_gsc_extrude_ snorkel/gsc_intake_gsc_extrude_snorkel_4000.vtk"
Patch : "/home/cnf0550/gsc_intake_run/run1301/VTK/gsc_intake_gsc_extrude_ zip_tube/gsc_intake_gsc_extrude_zip_tube_4000.vtk"
Patch : "/home/cnf0550/gsc_intake_run/run1301/VTK/gsc_intake_gsc_inlet/gs c_intake_gsc_inlet_4000.vtk"
Patch : "/home/cnf0550/gsc_intake_run/run1301/VTK/gsc_intake_gsc_intake_l ower/gsc_intake_gsc_intake_lower_4000.vtk"
Patch : "/home/cnf0550/gsc_intake_run/run1301/VTK/gsc_intake_gsc_intake_u pper/gsc_intake_gsc_intake_upper_4000.vtk"
Patch : "/home/cnf0550/gsc_intake_run/run1301/VTK/gsc_intake_gsc_outlet/g sc_intake_gsc_outlet_4000.vtk"
Patch : "/home/cnf0550/gsc_intake_run/run1301/VTK/gsc_intake_gsc_resonato r/gsc_intake_gsc_resonator_4000.vtk"
Patch : "/home/cnf0550/gsc_intake_run/run1301/VTK/gsc_intake_gsc_snorkel/ gsc_intake_gsc_snorkel_4000.vtk"
Patch : "/home/cnf0550/gsc_intake_run/run1301/VTK/gsc_intake_gsc_zip_tube /gsc_intake_gsc_zip_tube_4000.vtk"
FaceZone : "/home/cnf0550/gsc_intake_run/run1301/VTK/skewFaces/skewFaces_400 0.vtk"
#0 Foam::error:rintStack(Foam::Ostream&) in "/usr/local/OpenFOAM/OpenFOAM-1.6. x/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/usr/local/OpenFOAM/OpenFOAM-1.6.x/lib /linux64GccDPOpt/libOpenFOAM.so"
#2 __restore_rt at sigaction.c:0
#3 Foam::List<int>:perator=(Foam::List<int> const&) in "/usr/local/OpenFOAM/Op enFOAM-1.6.x/applications/bin/linux64GccDPOpt/foamToVTK"
#4 Foam::faceZone::calcFaceZonePatch() const in "/usr/local/OpenFOAM/OpenFOAM-1. 6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#5 Foam::faceZone:perator()() const in "/usr/local/OpenFOAM/OpenFOAM-1.6.x/lib /linux64GccDPOpt/libOpenFOAM.so"
#6 main in "/usr/local/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/ foamToVTK"
#7 __libc_start_main in "/lib64/libc.so.6"
#8 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream:: versionNumber, Foam::IOstream::compressionType) const in "/usr/local/OpenFOAM/Ope nFOAM-1.6.x/applications/bin/linux64GccDPOpt/foamToVTK"
Segmentation fault
Lana is offline   Reply With Quote

Old   January 16, 2014, 03:08
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,109
Rep Power: 19
alexeym will become famous soon enoughalexeym will become famous soon enough
Hi,

as the error occurred while writing VTK file for skewFaces face zone (which is usually produced by checkMesh utility) I can suppose numbering of the mesh was changed and skewFaces indices are not valid.

Try running foamToVTK with -noFaceZones option so it will ignore that skewFaces face zone.
alexeym is offline   Reply With Quote

Old   January 16, 2014, 03:18
Default
  #3
New Member
 
Join Date: Apr 2013
Posts: 8
Rep Power: 4
Lana is on a distinguished road
Thanx so much! I have succesfully convert the result to VTK.
Lana is offline   Reply With Quote

Old   April 7, 2015, 10:04
Default
  #4
New Member
 
Juan David Rodriguez P
Join Date: Jan 2015
Posts: 18
Rep Power: 2
JuanRodriguez is on a distinguished road
Hi,

I have the same error as Lana, but mine explodes in this line and is from a lagrangian simulation:

Original cells:909600 points:934329Additional cells:0 additional points:0

Thank you,
JuanRodriguez is offline   Reply With Quote

Old   April 7, 2015, 13:08
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,109
Rep Power: 19
alexeym will become famous soon enoughalexeym will become famous soon enough
Hi,

Quote:
Happy families are all alike; every unhappy family is unhappy in its own way.
Maybe the error seems to be the same, the reason for the error can different. Please post whole error output.
alexeym is offline   Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
foamToVTK and paraFoam show different results akidess OpenFOAM Post-Processing 2 October 29, 2010 05:36
Command foamToVTK gruber OpenFOAM 0 July 26, 2010 09:44
foamToVTK sameer_kumar OpenFOAM Post-Processing 1 May 6, 2010 21:17
Visualize Mesh with foamToVTK andrewryan OpenFOAM 3 October 5, 2009 09:42
FoamTOVTK yapalparvi OpenFOAM Post-Processing 3 August 12, 2009 08:19


All times are GMT -4. The time now is 13:42.