Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gmsh
gmsh
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 124
    • Issues 124
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 6
    • Merge Requests 6
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gmsh
  • gmshgmsh
  • Issues
  • #1201

Closed
Open
Opened Feb 13, 2021 by sahar borzooei@sahar

Boder element not in mesh

Hello,

I need to use a 3d mesh from gmsh in Freefem, but when I inport it in freefem, I see this error: read mesh ok 0Mesh3, num Tetra:= 1694, num Vertice:= 465 num boundary Triangles:= 98 Mesh3::meshS, num Triangles:= 98, num Vertice:= 67 num boundary Edges:= 96 Err Border element not in mesh 20 : -1 33 21 : -1 -1 22 : -1 -1 23 : -1 51 29 : -1 26 30 : -1 -1 31 : -1 52 48 : -1 -1 49 : -1 -1

I know the problem is;t in freefem part,and there should be sth wrong in defining my mesh in gmsh, can someone help me with this? here is my geo file script:

//+
Box(1) = {0, 0, 0, 1, 1, 1};
//+
Box(2) = {0.2, 0.2, 0, 0.6, 0.6, 1};
//+
BooleanDifference{ Volume{1}; Delete; }{ Volume{2}; Delete; }
//+
Physical Curve("inside") = {20, 23, 24, 19, 18, 16, 14, 13, 22, 21};
//+
Physical Curve("outside") = {33, 36, 35, 30, 29, 31, 25, 26, 28, 34, 32, 27};
//+
Physical Surface("walls") = {15, 16, 11, 14, 7, 13, 12};
//+

//+
Physical Volume("vol") = {1};
//+
Recombine Surface {16, 13, 15, 14, 11, 8, 12};

Regards.

Edited Feb 13, 2021 by Christophe Geuzaine
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gmsh/gmsh#1201