Hi Masoud, it seems that read_abaqus() calls read_ucd() and the the latter has been not generalized for simplex meshes yet. See: https://github.com/dealii/dealii/blob/ee0a4995de1009875a4a5572ca14bde8a1979ad5/source/grid/grid_in.cc#L948-L950. I am a bit surprised that you did not get an error message. Would you be willing to generalize the function? You could take a look at read_vtk() or read_msh(), which have been generalized for arbitrary mesh types. Alternatively, you could use one of the latter two function.
Hope this helps, Peter On Saturday, 17 September 2022 at 13:38:07 UTC+2 [email protected] wrote: > Hi all, > > I import Hexahedron mesh from Abaqus *inp file into dealii by the > following lines of code: > > Triangulation<dim> mesh; > GridIn<dim> grid_in; > grid_in.attach_triangulation(mesh); > std::ifstream input_mesh("cube.inp"); > grid_in.read_abaqus(input_mesh); > > and it works fine: > [image: Screenshot 2022-09-17 at 12.34.39.png] > > But, with the same lines of code, for importing Tetrahedron mesh I get: > [image: Screenshot 2022-09-17 at 12.33.40.png] > > which obviously is not correct. What should I do here? > > Best regards, > Masoud > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/87c1b752-9149-4d1b-9d72-51c6fa74461en%40googlegroups.com.
