Problem with gambit .neu file

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

Problem with gambit .neu file

Post by Norbert Modlinski »

Dear users and support,

I've tried to read a simple mesh generated in gambit (.neu extension) but I receive the following error:
 
Building mesh structure:
SIGSEGV signal (access to forbidden memory area)  intercepted !
Call stack
   1: 0x427810     ?                                (?)
   2: 0x40ec90     ?                                (?)
   3: 0x40a250     ?                                (?)
   4: 0x7fe85789babd <__libc_start_main+0xfd>         (libc.so.6)
   5: 0x404519     ?                                (?) End of stack
 
Does anyone know what can be the reason of this? I generate the mesh file in windows xp and than copy it - can that be an issue?
 
Best regards

Norbert
Yvan Fournier

Re: Problem with gambit .neu file

Post by Yvan Fournier »

Hello,
Are you using version 1.3, 1.4, or 2.0-rc ?
Things should be handled automatically in some mesh readers, but to be save, run the "dos2unix" or "fromdos" command on text files (such as Gambit neutral files) generated on Windows and copied to Linux or Unix. These commands may be in "dosutils" or "tofromdos" packages under Linux distributions.
Best regards,
  Yvan
Norbert Modlinski

Re: Problem with gambit .neu file

Post by Norbert Modlinski »

Hi,
I use 2.0 rc. After running dos2unix on .neu files I still get the same error. When trying to check on .cgns mesh file exported from fluent (windows as well) I get the following error:
 

p, li { white-space: pre-wrap; }

Error in ECS execution
======================
ecs_pre_cgns.c:389: Fatal error.
CGNS error:
CGNS file 0 is not open
Call stack
1: 0x7f52c493e162 (libbft.so.1)
2: 0x41871f ? (?)
3: 0x40ec4d ? (?)
4: 0x40a250 ? (?)
5: 0x7f52c3754abd (libc.so.6)
6: 0x404519 ? (?)
End of stack

Any help would be appreciated.
Best regards
Norbert
Alexandre Douce

Re: Problem with gambit .neu file

Post by Alexandre Douce »

hum :| could you attache little meshes with which we reproduce these errors?
Norbert Modlinski

Re: Problem with gambit .neu file

Post by Norbert Modlinski »

Thank you for your help. I have solved the problem. The issue was with the improper boundary conditions assignment.
David Monfort

Re: Problem with gambit .neu file

Post by David Monfort »

Hello Norbert,
Can you please give us some details on the "improper boundary conditions assignment" problem you had and how you've solved it ? I think this could be very useful for other people ;)
Thanks in advance.
David
Post Reply