[Gmsh] mesh with gmsh
Ruth V. Sabariego
r.sabariego at ulg.ac.be
Wed Apr 13 11:51:08 CEST 2011
On 13/04/11 11:29, panourg at mech.upatras.gr wrote:
> I have some quastions for gmsh:
>
> 1. How can i set the first length of node when i mesh a line. In
> transfinite doesnt give any choice.
When you use transfinite for meshing a line, the characteristic length
is ignored.
It will be taken into account for the surrounding elements of the geometry.
For instance:
lc = 0.1 ;
Point(1) = {0,0,0, lc};
Point(2) = {0,1,0,lc};
Line(1) = {1,2} ;
Transfinite Line(1) = 20 ;
The line is divided in 20 elements and not in 10 as it would be the case
with the lc.
> 2. How can i create boundary layers with qads or hex's? (for example near
> wall which require orthogonal mesh lines).
Using the extrude command.
See the attached example.
Ruth
> By now these equaetions...:)
>
> K.P
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
--
Dr. Ir. Ruth V. Sabariego
University of Liege, Dept. of Electrical Engineering& Computer Science,
Applied& Computational Electromagnetics (ACE),
phone: +32-4-3663737 - fax: +32-4-3662910 - http://ace.montefiore.ulg.ac.be/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sphere_boundarylayers.geo
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20110413/5b3dc0df/attachment.geo>