Error with mesh created with gmsh: "ERROR: Expected boundary element of dimension 2 but.." #25160
-
I am trying to run a problem with the heat conduction module, and I got an error from MOOSE:
The error message unfortunately doesn't reference anything in my input file, so I don't know exactly where to look. To describe the mesh, I have two blocks (volumes) stacked on top of each other, with an interface between them. I defined each block in gmsh as a volume, labeled the outer surfaces of the mesh, and also labeled the interface between them. I also have a sphere on top which is just for refining an area of interest. Here is the gmsh .geo script that produced my mesh:
Also, when exporting the mesh, I exported it as an inp file and selected both options (for those familiar with gmsh: "save all elements" and "save all groups of nodes"). If I uncheck either, MOOSE could not find the blocks mentioned in the code. I also have "construct_side_list_from_node_list=true", it doesn't affect the error. What could be the issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Files saved with the |
Beta Was this translation helpful? Give feedback.
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.