Creating a mesh file

General discussion about Elmer
Post Reply
juxifeng
Posts: 10
Joined: 12 Dec 2011, 19:24
Antispam: Yes

Creating a mesh file

Post by juxifeng »

Hello everyone,

As you might spot from the title, I am a absolute beginner in Elmer solver.
If anyone would be kind enough to answer this question, which for me is a breakthrough.
How to create a mesh file?

Thank you,
Jin :)
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Creating a mesh file

Post by mzenker »

Hi,

there are many possible ways to create a mesh file.
First you have to create a geometry. AFAIK, this cannot be done inside Elmer. You need some kind of CAD program.
Then for the mesh, you can use Elmergrid which has somehow limited capabilities - the ElmerGrid-manual will tell you more. There are quite a few meshing tools out there - e.g. gmsh, netgen, Salomé, gid. Some have basic CAD capabilities. Each one has its strengths and weaknesses -it is mostly a question of personal taste.

HTH,

Matthias
uwe
Posts: 11
Joined: 17 Oct 2011, 11:21
Antispam: Yes

Re: Creating a mesh file

Post by uwe »

Hey Jin,

also see the documentations at http://www.csc.fi/english/pages/elmer/documentation

The ElmerGuiManual.pdf has some informations about importing meshes.
Chapter 6.2 of ElmerOverview.pdf lists some ideas for pre-processing.
The ElmerTutorials comes with some files where you can learn to import and mesh geometries.

Bye,
Uwe
juxifeng
Posts: 10
Joined: 12 Dec 2011, 19:24
Antispam: Yes

Re: Creating a mesh file

Post by juxifeng »

mzenker wrote:Hi,

there are many possible ways to create a mesh file.
First you have to create a geometry. AFAIK, this cannot be done inside Elmer. You need some kind of CAD program.
Then for the mesh, you can use Elmergrid which has somehow limited capabilities - the ElmerGrid-manual will tell you more. There are quite a few meshing tools out there - e.g. gmsh, netgen, Salomé, gid. Some have basic CAD capabilities. Each one has its strengths and weaknesses -it is mostly a question of personal taste.

HTH,

Matthias
Hi Matthias,
I used FreeCAD and created a file end with '.fcstd'
Of course, there are still many steps before I can use the ElmerGUI.
What should I then do?

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

Re: Creating a mesh file

Post by Chris_DE »

Hello jin,

please avoid asking similar questions in several topics.
You will maybe get more answers but this is not the better way to help the community!


I propose you a method with Gmsh in your first topic below:
juxifeng wrote:What are the steps to create a mesh file for Elmer to solve?
viewtopic.php?f=4&t=2026&p=6038#p6038

And a second method using Freecad and then Gmsh:
juxifeng wrote:1. How can I create mesh in freeCAD?
viewtopic.php?f=7&t=1969&start=0#p6040
juxifeng wrote:How to create a mesh file?
(present topic)

Regards,
Christophe
Post Reply