Creating a mesh file for Elmer

The graphical user interface of Elmer
Post Reply
Posts: 10
Joined: 12 Dec 2011, 19:24
Antispam: Yes

Creating a mesh file for Elmer

Post by juxifeng » 16 Dec 2011, 19:21

Hello everyone,

I am a new user to Elmer, so please answer in an easy-to-understand way.
What are the steps to create a mesh file for Elmer to solve?

So far I have tried via two routes:
I have studied all the .grd files that Elmer provide as samples.
Like those angle3d.grd, beam.grd, etc. I suppose you all have seen that some time ago.
I try to interpret the language, and use text editor to produce my very own mesh geometry.
That route is difficult, I can say.

The second route is that I have downloaded freeCAD, and computer aid design software.
I can simply construct a geometry I want now.
But, however, the problem here is I don't know how to mesh the geometry and import it into Elmer.

Help me through!

Posts: 10
Joined: 20 Nov 2011, 19:45
Antispam: Yes
Location: Deutschland

Re: Creating a mesh file for Elmer

Post by Chris_DE » 16 Dec 2011, 19:51

Hello Jin,

on my side I use Gmsh to generate my geometry file (.geo format) and the mesh file (.msh)

The download link for Windows is there:

I started 2 weeks ago to learn how to use this tool, and I am now able to realise mesh files of quite advanced geometries.

FreeCad is maybe better to handle with extrusion and exclusion of geometries but I really think that Gmsh is the simple way to draw a geometry and configure a customised mesh that could be later use in Elmer. (All the steps are explained in the tutorial, see the links below)

Gmsh can open .step and .iges geometry data.

I started with this tutorial dealing with the basics of Gmsh ... h_tutorial

After that I was looking for tutorials with examples about more advanced features and I found the most responses there: ... .php#SEC63


Posts: 20
Joined: 22 Jan 2018, 01:55
Antispam: Yes

Re: Creating a mesh file for Elmer

Post by skoushik » 24 Jan 2018, 16:08

Dear chris_DE

The 1st tutorial link you had : ... h_tutorial
doesn't seem to work (page not loading).
Do you possibly have any help with this?

By the way, I recently started using gmsh + Elmer combo. Need this link to get handy with gmsh.


Posts: 1838
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Creating a mesh file for Elmer

Post by mzenker » 24 Jan 2018, 17:08


you will find a gmsh reference manual including a tutorial on their website:
There is also a mailing list where you can post questions and problems.
An alternative to gmsh is Salomé: It has more advanced CAD capabilities.



Post Reply