Page 1 of 1

import .msh file crash gid program

Posted: Mon Oct 01, 2018 3:33 am
by jinsu421
hello, i have about a 520000 nodes original instructure model. (it makes another file extension)

And when converting from this file to msh file maybe success,

but Importing Gid Mesh is crash gid program(suddenly shut down gid).

Deleting 4 Elements(Quad elements) was successful import.

But i do not want.

Let me know what's wrong.

If possible test this file and could you please keep me update of the proceedings?

thanks for your time.

Re: import .msh file crash gid program

Posted: Mon Oct 01, 2018 3:37 am
by jinsu421
jinsu421 wrote:hello, i have about a 520000 nodes original instructure model. (it makes another file extension)

And when converting from this file to msh file maybe success,

but Importing Gid Mesh is crash gid program(suddenly shut down gid).

Deleting 4 Elements(Quad elements) was successful import.

But i do not want.

Let me know what's wrong.

If possible test this file and could you please keep me update of the proceedings?

thanks for your time.
Gid Version:13.0.4 and OS: win10

Re: import .msh file crash gid program

Posted: Mon Oct 01, 2018 5:25 am
by jinsu421
jinsu421 wrote:
jinsu421 wrote:hello, i have about a 520000 nodes original instructure model. (it makes another file extension)

And when converting from this file to msh file maybe success,

but Importing Gid Mesh is crash gid program(suddenly shut down gid).

Deleting 4 Elements(Quad elements) was successful import.

But i do not want.

Let me know what's wrong.

If possible test this file and could you please keep me update of the proceedings?

thanks for your time.
Gid Version:13.0.4 and OS: win10
here is another model using same code.

And Deleteing 8 Elements (hexa elements) also occured same probelm.

Re: import .msh file crash gid program

Posted: Mon Oct 01, 2018 5:26 am
by jinsu421
jinsu421 wrote:
jinsu421 wrote:
jinsu421 wrote:hello, i have about a 520000 nodes original instructure model. (it makes another file extension)

And when converting from this file to msh file maybe success,

but Importing Gid Mesh is crash gid program(suddenly shut down gid).

Deleting 4 Elements(Quad elements) was successful import.

But i do not want.

Let me know what's wrong.

If possible test this file and could you please keep me update of the proceedings?

thanks for your time.
Gid Version:13.0.4 and OS: win10
here is another model using same code.

And Deleteing 8 Elements (hexa elements) also occured same probelm.

Re: import .msh file crash gid program

Posted: Mon Oct 01, 2018 11:59 am
by escolano
The attached file 'ssississsi.msh' has wrong content (to be a valid 'GiD mesh ASCII'),
after some apparently right meshes has unexpected text like this: (text line 1.051.360)

==========================GiD KIESSI DATA V0.1====================================
$i10$STRUCTURE SOIL STRUCTURE MODEL
0 2.5000000E+01
*origin


and the same for the attached file 'e09_304.msh that has some extra text (that looks like NASTRAN input format)

==========================GiD KIESSI DATA V0.1====================================
$i10$P3/PATRAN Neutral File from: D:\SSSI_report\ 10\problem08_smart\kiessi
0 0.0000000E+00
*ORIGIN
0.0000000d0 0.0000000d0 0.0000000d0
*MATERIAL 12
1 1 1.5000000E+02 3.4700000E-01 1.6400000E+00 5.0000001E-02

Re: import .msh file crash gid program

Posted: Tue Oct 02, 2018 3:07 am
by jinsu421
escolano wrote:The attached file 'ssississsi.msh' has wrong content (to be a valid 'GiD mesh ASCII'),
after some apparently right meshes has unexpected text like this: (text line 1.051.360)

==========================GiD KIESSI DATA V0.1====================================
$i10$STRUCTURE SOIL STRUCTURE MODEL
0 2.5000000E+01
*origin


and the same for the attached file 'e09_304.msh that has some extra text (that looks like NASTRAN input format)

==========================GiD KIESSI DATA V0.1====================================
$i10$P3/PATRAN Neutral File from: D:\SSSI_report\ 10\problem08_smart\kiessi
0 0.0000000E+00
*ORIGIN
0.0000000d0 0.0000000d0 0.0000000d0
*MATERIAL 12
1 1 1.5000000E+02 3.4700000E-01 1.6400000E+00 5.0000001E-02
==============================================================================================================

We need these extra data in our Problemtypes(plugin) for post processing and calculating.

What should i do ?

When you think of it simply, make another data file about these extra data and read.

Please tell me if you have a better idea.

Thanks.

Re: import .msh file crash gid program

Posted: Wed Oct 03, 2018 11:38 am
by escolano
A GiD mesh ASCII file must contain only what it is expected:
https://www.gidhome.com/documents/refer ... GiD%20mesh
otherwise is not a 'GiD mesh ASCII file' and GiD won't we able to import it (and must crash trying to read it)

If do you need other extra data, you can write it in other file, but this file will be in your own 'calculation format' and off course cannot be imported by GiD.
If do you want to import the 'mesh part' of your 'input calculation files' you can write two files, one with the mesh as 'GiD mesh ASCII file' (that can be re-imported if necessary by GiD), and other file that could have line to 'include the mesh file' and the rest of the calculation input file.