Hi Deal.ii team,
I want to import the mesh file exported by gmsh.
First,I export mymodel.geo file to vtk file in gmsh, automatically,the
first line of the vtk is “# vtk DataFile Version 2.0” , so I change it to “ #
vtk DataFile Version 3.0”. However, an error is reported as follow:
libc++abi.dylib: terminating with uncaught exception of type
dealii::StandardExceptions::ExcMessage:
--------------------------------------------------------
An error occurred in line <286> of file
</Applications/deal.II.app/Contents/Resources/spack/src/dealii-v9.1.1/source/grid/grid_in.cc>
in function
void dealii::GridIn<2, 2>::read_vtk(std::istream &) [dim = 2, spacedim
= 2]
The violated condition was:
false
Additional information:
While reading VTK file, unknown cell type encountered
--------------------------------------------------------
*Then, I find out the CELLTYPE of VERTEX is recorded, Consequently, I
deleted the point record in CELLS and CELL_TYPES. But there are still
errors.*
libc++abi.dylib: terminating with uncaught exception of type
dealii::StandardExceptions::ExcNotImplemented:
--------------------------------------------------------
An error occurred in line <257> of file
</Applications/deal.II.app/Contents/Resources/spack/src/dealii-v9.1.1/source/grid/grid_in.cc>
in function
void dealii::GridIn<2, 2>::read_vtk(std::istream &) [dim = 2, spacedim
= 2]
The violated condition was:
subcelldata.boundary_lines.size() == 0
Additional information:
You are trying to use functionality in deal.II that is currently not
implemented. In many cases, this indicates that there simply didn't appear
much of a need for it, or that the author of the original code did not have
the time to implement a particular case. If you hit this exception, it is
therefore worth the time to look into the code to find out whether you may
be able to implement the missing functionality. If you do, please consider
providing a patch to the deal.II development sources (see the deal.II
website on how to contribute).
--------------------------------------------------------
*Other format are not imported successfully, for example, the inp format
get the errors as follows:*
Exception on processing internal UCD data:
--------------------------------------------------------
An error occurred in line <857> of file
</Applications/deal.II.app/Contents/Resources/spack/src/dealii-v9.1.1/source/grid/grid_in.cc>
in function
void dealii::GridIn<2, 2>::read_ucd(std::istream &, const bool) [dim =
2, spacedim = 2]
The violated condition was:
false
Additional information:
While creating cell 0, you are referencing a vertex with index 0 but no
vertex with this index has been described in the input file.
--------------------------------------------------------
libc++abi.dylib: terminating with uncaught exception of type
dealii::StandardExceptions::ExcMessage:
--------------------------------------------------------
An error occurred in line <1064> of file
</Applications/deal.II.app/Contents/Resources/spack/src/dealii-v9.1.1/source/grid/grid_in.cc>
in function
void dealii::GridIn<2, 2>::read_abaqus(std::istream &, const bool) [dim
= 2, spacedim = 2]
The violated condition was:
false
Additional information:
Internal conversion from ABAQUS file to UCD format was unsuccessful.
More information is provided in an error message printed above. Are you
sure that your ABAQUS mesh file conforms with the requirements listed in
the documentation?
--------------------------------------------------------
*Could anyone let me known how to import mesh ?*
Thank you,
Chen
--
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/CADr3OdJU%2BEm1%2B%3DBtn%3DvWzB2nt%2B09DU-wPxv_CcpSTKxcRzuRUw%40mail.gmail.com.