Skip to content

Error with mesh created with gmsh: "ERROR: Expected boundary element of dimension 2 but.." #25160

Discussion options

You must be logged in to vote

If I click the mesh 3D button, I get a 3D mesh and a lot of warnings because of the bad aspect ratio of the small cube. But it meshes 3D.

You have to explicitly embed the lines/surfaces in the volume to have a conforming mesh. There is a command for doing it.
Otherwise you create two unconnected meshes.
Gmsh just outputs parts of any mesh which are assigned to a physical volume.

Please see the Gmsh tutorial how to do so.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@richmondodufisan
Comment options

@1runer
Comment options

@richmondodufisan
Comment options

@1runer
Comment options

Answer selected by richmondodufisan
@richmondodufisan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants