## Extruded objects

### Extruded objects

Hello together,

I am new at this forum and also a beginner in using elmer. I am sorry, if this question has been asked already before by someone else, but with the search function I could not find a matching topic. I try to simulate the heat transfer from an LED to a cool body and then finally to the outer air. For the cool body I changed the existing example in elmer a little bit and "placed" a LED on top of the cool body. The LED should represent body 2 and the cooler body 1. Unfortunetly because of this body 2 is now set as a small area around the cooler and LED at the position of the LED as one can see in the attached picture, which seems to be a general problem with extruded objects. Is there any possibility to avoid this and shrink body 2 only to the LED. I also attached my code in this topic.

Thank you very much in advance!

Kind regards!

led_cooler.png (141.97 KiB) Viewed 328 times

Code: Select all
`***** ElmerGrid input file for structured grid generation *****Version = 210903Coordinate System = Cartesian 3DSubcell Divisions in 3D = 11 3 17 Subcell Sizes 1 = 0.15 0.2 0.15 0.2 0.05 0.05 0.05 0.2 0.15 0.2 0.15Subcell Sizes 2 = 0.025 0.3 0.7Subcell Sizes 3 = 0.1 0.2 0.1 0.2 0.1 0.2 0.1 0.2 0.025 0.05 0.025 0.2 0.1 0.2 0.1 0.2 0.1 0.2 0.1Material Structure in 2D  2 0 2 0 2 2 2 0 2 0 2  1 1 1 1 1 1 1 1 1 1 1  0 0 0 0 0 3 0 0 0 0 0End!Geometry Mappings! mode  line  limits(2)   Np  params(Np)!  -1    1     0.15   0.2   4   0.3 0.0 1.0 -0.1!  -1    3     0.15   0.2   4   0.3 0.0 1.0 -0.1!  -1    5     0.15   0.2   4   0.3 0.0 1.0 -0.1!  -1    7     0.15   0.2   4   0.3 0.0 1.0 -0.1!  -1    9     0.15   0.2   4   0.3 0.0 1.0 -0.1!  -1    11    0.15   0.2   4   0.3 0.0 1.0 -0.1!EndMaterials Interval = 1 4Extruded Structure! 1stmat   lastmat  newmat    1        2       1        1        1       1         1        2       1         1        1       1         1        2       1         1        1       1         1        2       1         1        1       1  1        2       1  1        3       2     1        2       1    1        1       1         1        2       1         1        1       1         1        2       1         1        1       1         1        2       1         1        1       1         1        2       1       EndBoundary Definitions! type     out      int       double of the boundaries       1        -1        1        1         2        -3        1        1  2        -2        1        1  2        -4        1        1  3        0         2        1         4        1         2        1   5        -1        3        1  5        -2        3        1  5        -3        3        1  5        -4        3        1EndNumbering = HorizontalElement Degree = 1Element Innernodes = FalseSurface Elements = 2000Minimum Element Divisions = 2 2 2 `
supermeisi

Posts: 2
Joined: 13 Aug 2012, 11:35

### Re: Extruded objects

Hi,

I don't know how to solve your problem with ElmerGrid (there is an Elmergrid Manual in the documentation), but in general it is preferrable not to use Elmergrid to generate geometries and meshes. gmsh (www.geuz.org/gmsh), for example, is a mesh generator with basic CAD funcionality which can be used for many purposes.

HTH,

Matthias
mzenker

Posts: 689
Joined: 07 Dec 2009, 11:49

### Re: Extruded objects

Hi Matthias,

thank you very much for your suggestion! I will try this program.

Kind regards!
Mustafa
supermeisi

Posts: 2
Joined: 13 Aug 2012, 11:35