MatMechLab / AsFem

Advanced Simulation kit based on Finite Element Method (AsFem)
https://matmechlab.github.io/AsFem
GNU General Public License v3.0
180 stars 53 forks source link

msh4 io dosen't work for the fine mesh case #79

Closed yangbai90 closed 1 year ago

yangbai90 commented 1 year ago

The msh4 file generated by examples/pffracture/logo.geo can not be well recognized once the mesh is extremely fine(msh file size>=15Mb), the following error can be captured:

******************************************************************************
*** Error:i=0 is out of range(256876) for your vector                  !!! ***
******************************************************************************
******************************************************************************
*** AsFem exit due to some errors                                      !!! ***
******************************************************************************

However, the same geo file can produce the working msh2 file for the simulation. Moreover, this issue can be resolved in msh4 importor when the mesh is coarse (~10k nodes). The check should be executed for:

yangbai90 commented 1 year ago

In particular for the fine mesh case, the new version of gmsh will generate more nodes than the actual one utilized in the elemental connectivity vector. Now this issue has been resolved in c3972d5d3b8d5abb53a725db44941e2af0108edb