Mesh model question

General discussion about Elmer
Post Reply
landersohn
Posts: 25
Joined: 20 May 2013, 18:56
Antispam: Yes

Mesh model question

Post by landersohn »

I created (I think) a 2D mesh using gmesh. When I open this mesh in Elmer and look at the mesh summary, it tells me:

FINITE ELEMENT MESH
Mesh dimension: 2
Leading element dimension: 3
Nodes: 16978
Volume elements: 0
Surface elements: 32864
Edge elements: 49840
Point elements: 0

Question: why is the Leasing element dimension 3 and should I worry about it?
akirahinoshiro
Posts: 27
Joined: 13 Aug 2013, 16:50
Antispam: Yes

Re: Mesh model question

Post by akirahinoshiro »

I do not really know the exact answer but

Code: Select all

Volume elements: 0
If it solves your problem I wouldn't worry about it.
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Mesh model question

Post by mzenker »

Hi,

you have no volume elements in your mesh file.
A common error is to declare physical surfaces and not to check "Save all (ignore physical groups)" just before saving the mesh. I assume that you have created a 3D mesh in gmsh... ;)

HTH,

Matthias
landersohn
Posts: 25
Joined: 20 May 2013, 18:56
Antispam: Yes

Re: Mesh model question

Post by landersohn »

Thanks for your reponse, I actually don't know whether I checked this box in gmsh and will double check.
Having said that, the question I posted happened when I loaded the gmsh generated .msh file directly into ElmerGUI using "Open". I subsequently ran ElmerGrid on the same .msh file from gmsh and created the Elmer mesh on the command line. When I loaded this ElmerGrid-created mesh into the GUI it was fine, the "Leading Element dimension" was 2 as expected, all other element numbers matched. Looks to me like some issue with the way ElmerGUI loads .msh files.
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Mesh model question

Post by mzenker »

Sorry, I didn't read your post carefully... :oops:
I was thinking that you expect to have a 3D mesh.
Since you have a 2D mesh, you can IMO safely ignore the "leading element dimension" and the 0 Volume elements. ElmerGUI says that your mesh has dimension 2, that it has edge elements and surface elements, so everything is fine.

Matthias
Last edited by mzenker on 21 Jan 2014, 20:02, edited 1 time in total.
landersohn
Posts: 25
Joined: 20 May 2013, 18:56
Antispam: Yes

Re: Mesh model question

Post by landersohn »

Thanks all, you help is very much appreciated
Post Reply