Making a mesh

General discussion about Elmer
Post Reply
ScientistRenzo
Posts: 57
Joined: 14 Mar 2021, 21:01
Antispam: Yes

Making a mesh

Post by ScientistRenzo »

I made an object in CAD. It has 6 bodies. https://imgur.com/a/ueocWvZ

I discovered I could create volumetric meshes for FEA here. https://imgur.com/a/XNKFluH

Could you recommend the best method to create a mesh for Elmer?

Specifications:
I'd like model/mesh IMPORT to Elmer to recognize that the object has 6 bodies (for applying material properties+)
A while back I imported a similar object from COMSOL, .mphtxt, and Elmer interpreted the mesh as having 150+ bodies and unusable.

:: Include any file conversions, software, general advice you have :D

Thanks :D
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Making a mesh

Post by kevinarden »

My preference is Salome. You can create groups of elements to define bodies. You can create boundary elements and create groups of boundary elements to make boundaries. Salome exports a universal file that is translated to an Elmer mesh by Elmer. Preferably the ElmerGrid command.

Second would be gmsh, which you can also create groups to define bodies and boundaries prior to saving the mesh as a *.msh file. ElmerGrid also converts gmsh.

ElmerGUI will open either one, but I prefer ElmerGrid since you can specify options.

https://salome-platform.org/user-sectio ... e-tutorial

https://gmsh.info/

If you have 3D, creates groups of volumes to define bodies, and surface elements to define boundaries,
2D group surface elements to define bodies, and line elements to define boundaries.

Being able to control and name bodies and boundaries from the mesher is helpful.
Post Reply