Did you try to save the mesh in the 2.0 version format directly from gmsh? I 
did it and libmesh was able to read it.

Sent from my Verizon LG Smartphone

------ Original message------
From: Nikrouz
Date: Mon, Apr 15, 2019 2:37 PM
To: 
libmesh-users@lists.sourceforge.net<mailto:libmesh-users@lists.sourceforge.net>;
Cc:
Subject:[Libmesh-users] Problem in importing mesh file from gmesh


Dear All libMesh users,

Thanks for your help

I had a problem in importing *.msh file produced by gmesh which was
about gmesh version.

In order to solve it, I manually edited the msh file and change the
version from 4.1 to 2.0.

After this edit, I faced with another error which is about ntag.

I do not know how to solve this issue.

*./example-opt d 2 Corr-Mortzea-1.ms<http://Corr-Mortzea-1.ms>h **
**Warning, ntags=377738, but we currently only support reading 2 flags.**
**Element type 52414 not found!**
**Stack frames: 9**
**0: libMesh::print_trace(std::ostream&)**
**1: libMesh::MacroFunctions::report_error(char const*, int, char
const*, char const*)**
**2: libMesh::GmshIO::read_mesh(std::istream&)**
**3: libMesh::GmshIO::read(std::__cxx11::basic_string, std::allocator > 
const&)**
**4: libMesh::NameBasedIO::read(std::__cxx11::basic_string, std::allocator > 
const&)**
**5: libMesh::UnstructuredMesh::read(std::__cxx11::basic_string, std::allocator 
> const&, void*, bool, bool)**
**6: ./example-opt(+0x157c4) [0x55824fe737c4]**
**7: __libc_start_main**
**8: ./example-opt(+0x15b5a) [0x55824fe73b5a]**
**[0] ../LIBMESH/src/mesh/gmsh_io.C, line 371, compiled Mar 22 2019 at
21:22:33**
**--------------------------------------------------------------------------**
**MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD**
**with errorcode 1.**
**
**NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.**
**You may or may not see output from other processes, depending on**
**exactly when Open MPI kills them.*

I am highly thankful for your help and guidance,

Thank  users and developers of libMesh



_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net<mailto:
Libmesh-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/libmesh-users


_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to