Deepika:
when running with the current deal.II version, the error message I get is this (which I think explains the issue):

--------------------------------------------------------
An error occurred in line <2643> of file </home/fac/g/bangerth/p/deal.II/1/dealii/source/grid/grid_in.cc> in function void dealii::GridIn<dim, spacedim>::read_msh(std::istream&) [with int dim = 2; int spacedim = 2; std::istream = std::basic_istream<char>]
The violated condition was:
    cells.size() > 0
Additional information:
    While reading a gmsh file, the reader function did not find any cells.
    This sometimes happens if the file only contains a surface mesh, but
    not a volume mesh.

    The reader function did find 456 lines and 0 facets (surface triangles
    or quadrilaterals).


Best
 W.


On 2/6/23 01:00, Deepika Kushwah wrote:
*** Caution: EXTERNAL Sender ***

Hello Everyone,

I am trying to read mesh using Gmsh for the geometry attached.
 I have already checked step 49, and in the same way, I want to read the mesh for my geometry. Still, in my case, I cannot specify the manifold id correctly, and without specifying anything about the material id and manifold id, I am getting the following error. I am also attaching the .geo and .msh files and the piece of code for reference.
image.png
image.png

Please help me to rectify this error.


Thanks & Regards,
Deepika

**************************************************************************
This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
************************************************************************************************

--
The deal.II project is located at http://www.dealii.org/ <https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dealii.org%2F&data=05%7C01%7CWolfgang.Bangerth%40colostate.edu%7Cd8eb82933c2249ed14c108db081853df%7Cafb58802ff7a4bb1ab21367ff2ecfc8b%7C0%7C0%7C638112674141435862%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QppMSJl4SKchjhUkFjkPFUQkka26a6EieILU0pfhLKc%3D&reserved=0> For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en <https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fforum%2Fdealii%3Fhl%3Den&data=05%7C01%7CWolfgang.Bangerth%40colostate.edu%7Cd8eb82933c2249ed14c108db081853df%7Cafb58802ff7a4bb1ab21367ff2ecfc8b%7C0%7C0%7C638112674141435862%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=U0n39BwNXOEirj3yrmN1Iz4vJAskzLdm5Tbe8Q0osbs%3D&reserved=0>
---
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 dealii+unsubscr...@googlegroups.com <mailto:dealii+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CAKTdrpqikDwVDQF--up_%2B9oe9vnY_2%2BqyZXGLuDBLHYGcmK3Ag%40mail.gmail.com <https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fdealii%2FCAKTdrpqikDwVDQF--up_%252B9oe9vnY_2%252BqyZXGLuDBLHYGcmK3Ag%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=05%7C01%7CWolfgang.Bangerth%40colostate.edu%7Cd8eb82933c2249ed14c108db081853df%7Cafb58802ff7a4bb1ab21367ff2ecfc8b%7C0%7C0%7C638112674141435862%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CEY0zwDDdhP1wef9eNjZUB55X61EVHn8R9p9n4ZZT7A%3D&reserved=0>.


--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

--
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/98ad1d1e-5ae3-7bc4-16c0-35f3d3a01eeb%40colostate.edu.

Reply via email to