Sigsegv error when preprocessing

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
cyrillic

Sigsegv error when preprocessing

Post by cyrillic »

Hello I've made a very simple cgns mesh using ICEM, however during preprocessing a sisegv error message comes up and I can't work out why. Different cgns meshes for different cases work fine. I've remade the one I want to use in case I made a mistake the first time but it still didn't work. Could anyone enlighten me to my error?

The mesh is attached.

Cheers,
Stuart

Code: Select all


  .------------------------------.
  |                              |
  |   Code_Saturne Preprocessor  |
  |                              |
  `------------------------------'

  ECS   version 2.0.1   (Tue 10 May 2011 12:11:53 BST)

  STAR-CCM+ file format support
  CGNS 2.5.4 file format support
  Reading of compressed files ('.gz') with Zlib 1.2.5



Case configuration
------------------

  Date                : Mon 06 May 2013 20:59:46 BST
  System              : Linux 2.6.37.1-1.2-desktop
  Machine             : mace-r-mbgnjsr9
  Processor           : Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
  Memory              : 4045888
  User                : stuart (Stuart Russant)
  Directory           : /home/stuart/Documents/Saturne/IMPINGE/TRIAL/RESU

  Case name           : check_mesh
  Mesh file           : /home/stuart/Documents/Saturne/IMPINGE/MESH/ImpingeTrial.cgns



Reading mesh from file in CGNS format
----------------------
  Mesh file: /home/stuart/Documents/Saturne/IMPINGE/MESH/ImpingeTrial.cgns


  CGNS version       : 2.4
  Base name          : BASE#1
  Physical dimension : 3
  Cell dimension     : 3
  Number of zones    : 1

    Zone 1: "ImpingeTrial.uns"; type "Unstructured"

      597 vertices; 328 cells
      (cartesian coordinates, "RealDouble" precision, unit "Null")
      Section  1: "SOLID";
                   (indices 1 to 328, type "HEXA_8")
      Section  2: "WALL";
                   (indices 329 to 688, type "QUAD_4")
      Section  3: "WALL2";
                   (indices 689 to 692, type "QUAD_4")
      Section  4: "INLET";
                   (indices 693 to 696, type "QUAD_4")
      Section  5: "OUTLET";
                   (indices 697 to 792, type "QUAD_4")

  CGNS boundary condition information:

    Zone 1
      BC  1: "WALL" ("UserDefined" on "FaceCenter")
      BC  2: "WALL2" ("UserDefined" on "FaceCenter")
      BC  3: "INLET" ("UserDefined" on "FaceCenter")
      BC  4: "OUTLET" ("UserDefined" on "FaceCenter")
      BC  5: "GEOM" ("UserDefined" on "FaceCenter")

  Number of vertices                          :      597
  Number of faces                             :      464
  Number of cells                             :      328
  Group "WALL"
    Number of faces    :      360
  Group "WALL2"
    Number of faces    :        4
  Group "INLET"
    Number of faces    :        4
  Group "OUTLET"
    Number of faces    :       96
SIGSEGV signal (access to forbidden memory area) intercepted !

Call stack 
1: 0x425bd2 (cs_preprocess)
2: 0x41bfad (cs_preprocess)
3: 0x417970 (cs_preprocess)
4: 0x7f7d0f152bfd (libc.so.6)
5: 0x411c89 (cs_preprocess)
End of stack
Attachments
ImpingeTrial.zip
(10.23 KiB) Downloaded 203 times
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Sigsegv error when preprocessing

Post by Yvan Fournier »

Hello,

This seems like a familiar bug in ICEM (present in versions 13-14 at least).
ICEM exports no edges, but defines groups on edges not existing in the mesh, (which crashes the reader).

2 solutions:

- either use the cgnsview CGNS tool to edit the CGNS file and remove the offending group (relatively easy to spot).

- upgrade your version of Code_Saturne or at least its preprocessor to the latest bug-fix/portability release: newer versions of the code (ecs 2.0.3 for Code_Saturne 3.0, or Code_Saturne 3.0.x) detect this error by ICEM and work around it.

Regards,

Yvan
cyrillic

Re: Sigsegv error when preprocessing

Post by cyrillic »

This solved it thanks. I used Fluent to remake the cgns mesh.
Post Reply