Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Meshing faces - A beginner's question

Please login with a confirmed email address before reporting spam

Hi everyone, apologies if this may seem trivial but I've been struggling to create a separate mesh for separate faces in my model.

The geometry is a simple I-beam of length 4m but thicknesses of 6.7mm and 11.8mm along the web and flanges respectively, created from extruding the cross section. Clearly a much finer mesh is required for the faces with comparatively smaller thicknesses than the span, however whatever I try, when selecting the domain for the mesh it just selects the entire geometry. Tried to use domain partitioning via faces and mesh control faces but this did not do the trick. This probably has a really simple answer which I'll be banging my head over but would really appreciate some help here.

Thanks!


4 Replies Last Post 03.04.2018, 07:13 GMT-4
Erik Bornhöft COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 28.03.2018, 06:04 GMT-4

Hi Nabs,

have a look at the meshing tutorials found in "File->Application Libraries->Comsol Multiphysics->Meshing Tutorials"

In your meshing sequence you can add "size" subnodes to your element type node (e.g. "Free Tetrahedral") and select "Geometric Entity: Boundary" and then define different mesh size settings for selected boundaries . That way it will mesh the domain with Tetrahedrals but will consider your mesh size settings on the selected boundaries in your "size" nodes.

For regular geometries as yours you could also consider the option "swept" as mesh type. This will create hexahedrons or prisms. The faces on both sides will have the same number of elements though.

-------------------
Best regards,
Erik

*********************
Erik Bornhöft
COMSOL Germany
Hi Nabs, have a look at the meshing tutorials found in "File->Application Libraries->Comsol Multiphysics->Meshing Tutorials" In your meshing sequence you can add "size" subnodes to your element type node (e.g. "Free Tetrahedral") and select "Geometric Entity: Boundary" and then define different mesh size settings for selected boundaries . That way it will mesh the domain with Tetrahedrals but will consider your mesh size settings on the selected boundaries in your "size" nodes. For regular geometries as yours you could also consider the option "swept" as mesh type. This will create hexahedrons or prisms. The faces on both sides will have the same number of elements though.

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 28.03.2018, 10:16 GMT-4

Hi Erik,

Thanks for the response, helped me realise that I could add a Size node to Free Tetrahedral then select individual faces to mesh. I have assigned a much finer mesh to the thin faces around the I-beam compared to a 'Normal' mesh on the remaining faces, however a warning appears stating "Domain has a region that is much thinner than the specified minimum element size." even though the minimum element size for the fine mesh is smaller than the thicknesses. Any idea what could be wrong? I'll attach the file if you feel like having a look, would be grateful!

Thanks

Hi Erik, Thanks for the response, helped me realise that I could add a Size node to Free Tetrahedral then select individual faces to mesh. I have assigned a much finer mesh to the thin faces around the I-beam compared to a 'Normal' mesh on the remaining faces, however a warning appears stating "Domain has a region that is much thinner than the specified minimum element size." even though the minimum element size for the fine mesh is smaller than the thicknesses. Any idea what could be wrong? I'll attach the file if you feel like having a look, would be grateful! Thanks


Erik Bornhöft COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 03.04.2018, 05:58 GMT-4

Maybe you set only the minimum size for surfaces but not in the size node for the domain itself? Don't worry though: the domain will still be meshed, it is only a warning message saying the actually used minimum size for the tetrahedrals had to fall below the set minimum size in the domain size node to make it work.

-------------------
Best regards,
Erik

*********************
Erik Bornhöft
COMSOL Germany
Maybe you set only the minimum size for surfaces but not in the size node for the domain itself? Don't worry though: the domain will still be meshed, it is only a warning message saying the actually used minimum size for the tetrahedrals had to fall below the set minimum size in the domain size node to make it work.

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 03.04.2018, 07:13 GMT-4

If I input custom minimum element size to the original Size node under Mesh 1 then it creates the same mesh around the entire geometry. It should be fine I think, the free tetrahedral mesh with two different sizes looks ok.

If I input custom minimum element size to the original Size node under Mesh 1 then it creates the same mesh around the entire geometry. It should be fine I think, the free tetrahedral mesh with two different sizes looks ok.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.