Page 1 of 1

GID crashes when entering Postprocessor

Posted: Sun Jun 16, 2019 1:57 pm
by cgordo
Hi,

After successfully loading a 3D GID mesh (File->Import-> GID Mesh) in GID 14.0.2, on Windows 7 x64, when changing to the postprocessor, a "runtime error" shows up, crashing the application. The same happens for GID 11.1.8.d which I used previously.
Runtime error screen
Runtime error screen
POSTPROCESO.jpg (238.46 KiB) Viewed 9496 times

Re: GID crashes when entering Postprocessor

Posted: Mon Jun 17, 2019 11:06 am
by escolano
It happen only with this model or with all models?
Probably is a problem related with the graphic card and some OpenGL feature.
(if only happen with this model, attach it)

By the image you are using OpenGL by software (safe visualization mode)
In general, if possible, is better to use the hardware acceleration
set
Utilities->Preferences...
Graphical->System: Fast visualization mode (GiD will be restarted)

If continue crashing, you can also try resetting all your current GiD user settings:
http://www.gidhome.com/documents/faqgid ... references

Re: GID crashes when entering Postprocessor

Posted: Wed Jun 19, 2019 12:10 am
by cgordo
Thanks for your fast reply.

Unfortunately, it keeps on crashing. I tried the "hardware acceleration" both on v14 and v11.1.8.d, and the "Repair" on v14 because its unavailable in v11. This error only shows up with this model, but the previous models that I've worked with were 2D models.

I attach hereafter the GID input file.

Thank you again,

Re: GID crashes when entering Postprocessor

Posted: Wed Jun 19, 2019 6:01 pm
by escolano
The problem is the content of your file, not the graphic card.
You have attached a 'GiD postprocess mesh ASCII file' that is using too big integer ids for the nodes and elements.
MESH "Soil" dimension 3 ElemType Hexahedra Nnode 8
Coordinates
#node_number coord_x coord_y coord_z
1001001 0 0 0
...
1036021021 25 40 -25
end coordinates
and similar for element ids !!

Do you have a mesh with only 66212 nodes and 61150 hexahedra,
but the maximum node id is 1036021021 and the maximum element id is 2035020021 !!

It is possible to import it in preprocess with "Files->Import->GiD mesh ASCII"
and GiD could handle it because in preprocess the mesh is stored in a kind of 'sparse containers'
but in postprocess to be more efficiently drawn it is s stored in consecutive arrays,
then changing to postprocess it will try to allocate an array of nodes of size 1036021021 (more than 1000 millions of nodes)!!
and similar for elements with maximum id=2035020021 (more than 2000 millions of elements)!!

(In my computer I have killed the process when it expend about 20 GB of RAM and it will require more and more)

Concluding, you must renumber your ids.
In GiD preprocess could use the menu: Utilities->Renumber
(in mesh view, else the geometry will be renumbered)
then you can switch to postprocess without troubles

Re: GID crashes when entering Postprocessor

Posted: Wed Jun 19, 2019 6:49 pm
by cgordo
Thanks for your fast reply,

The renumbering option worked!

Does Gid keep track of the renumbering? Said differently, if I still load the postprocess file with the old "large numbering" scheme, does Gid know how to assign nodal values to the new node numbering?

Thank you again.

Re: GID crashes when entering Postprocessor

Posted: Thu Jun 20, 2019 11:21 am
by escolano
No, the old numeration is not tracked or stored.
If do you somehow define results on the mesh, these results must use the current id of nodes and elements.

You must try to avoid write a mesh files+results using these 'huge jumps' in numeration of nodes or elements.