Page 1 of 1

Problem with gambit .neu file

Posted: Thu Jun 24, 2010 12:19 am
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

Re: Problem with gambit .neu file

Posted: Thu Jun 24, 2010 3:42 am
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

Re: Problem with gambit .neu file

Posted: Thu Jun 24, 2010 11:37 am
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

Re: Problem with gambit .neu file

Posted: Thu Jul 01, 2010 9:02 pm
by Alexandre Douce
hum :| could you attache little meshes with which we reproduce these errors?

Re: Problem with gambit .neu file

Posted: Fri Jul 02, 2010 10:05 pm
by Norbert Modlinski
Thank you for your help. I have solved the problem. The issue was with the improper boundary conditions assignment.

Re: Problem with gambit .neu file

Posted: Fri Jul 02, 2010 11:35 pm
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