Enclosed volumes in ElmerGrid

Mesh generators, CAD programs, and other tools
Post Reply
nguyent
Posts: 32
Joined: 17 Apr 2012, 21:19
Antispam: Yes

Enclosed volumes in ElmerGrid

Post by nguyent »

Is it possible to make something like this in ElmerGrid where you have one volume inside another volume, with the outer volume mesh and inner volume mesh sharing surfaces? I did it with gmsh, but I would really like to do it in ElmerGrid so I have more control over meshing parameters.
Attachments
Screenshot-ElmerGUI.png
Gmsh mesh (Volume meshes hidden so you can see inside).
(102.36 KiB) Not downloaded yet
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Enclosed volumes in ElmerGrid

Post by raback »

Hi

Sure, look at for example
http://elmerfem.svn.sourceforge.net/vie ... ptybox.grd

And modify the Extruded Structure to

Code: Select all

Extruded Structure
# 1stmat   lastmat  newmat  
  1        2       1       
  1        2       0       
End 
or something... Generally I have no aspiration to teach ElmerGrid since that just may lead to endless unfruitful questions. Therefore I would recommend it only for rather simple meshes. Unfortunately there does not seem to be proper structured mesh generators freely available so ElmerGrid native format still serves a purpose.

-Peter
nguyent
Posts: 32
Joined: 17 Apr 2012, 21:19
Antispam: Yes

Re: Enclosed volumes in ElmerGrid

Post by nguyent »

Fantastic. I am not exactly sure what the 15 does, but I extruded an extra layer and had to remove "15" to get a box inside a box. Using 0 as newmat seemed to the be trick. Thanks!
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Enclosed volumes in ElmerGrid

Post by raback »

Hi

Nice if it works. The "15" was a copy-paste error that I removed, if somebody is wondering.

-Peter
Post Reply