[Gmsh] Define 3d element layers

Mikhail Artemyev artemiev.mikhail at gmail.com
Tue Nov 18 19:11:50 CET 2014


Hi,

You mean - is there a way to do what is written in the presented .geo 
file using GUI? I'm sure there should be a way. But why?
And, please, copy the messages to the Gmsh list to let other people 
participate :)

Best regards,
Mikhail


On 11/18/2014 11:52 AM, Markus Fornoff wrote:
>
> Hi,
>
> I have to test it  but IT looks  good  :) this time I just Used  the  
> gui for mesh ing. Is there also a way  to define  the number of layers?
>
> Thanks
> Markus
>
> Am 18.11.2014 15:21 schrieb "Mikhail Artemyev" 
> <artemiev.mikhail at gmail.com <mailto:artemiev.mikhail at gmail.com>>:
>
>     Hi,
>
>     Is that what you want?
>
>     // --- ex.geo ---
>
>     cl = 0.1;
>     k = 10; // the number of layers
>
>     Point(1) = {0, 0, 0, cl};
>     Point(2) = {1, 0, 0, cl};
>     Point(3) = {1, 1, 0, cl};
>     Point(4) = {0, 1, 0, cl};
>
>     Line(1) = {1, 2};
>     Line(2) = {2, 3};
>     Line(3) = {1, 4};
>     Line(4) = {4, 3};
>
>     Line Loop(21) = {1, 2, -4, -3};
>     Plane Surface(1) = {21};
>
>     vol[] = Extrude {0, 0, 1} { Surface{1}; Layers{k}; };
>
>
>     Best,
>     Mikhail
>
>
>     On 11/18/2014 07:56 AM, Markus Fornoff wrote:
>>
>>     Hi,
>>     I Would  like  to have  a defined  number  of Element layers  (3d
>>     Elements) through  in z Direction. :)
>>
>>     Thanks
>>
>>     Am 18.11.2014 14:54 schrieb "Mikhail Artemyev"
>>     <artemiev.mikhail at gmail.com <mailto:artemiev.mikhail at gmail.com>>:
>>
>>         Hi Markus,
>>
>>         What is the tetra-layers?
>>
>>         Best,
>>         Mikhail
>>
>>             Hello,
>>
>>             I'm using your nice gmsh-tool, its very good to handle.
>>             But I've would like
>>             to know if there is a way to define a minimum number of
>>             tetra-layers?
>>
>>
>>             Thanks.
>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20141118/1cf9b3ba/attachment.html>