[Gmsh] gmsh Digest, Vol 157, Issue 28

Mikhail Artemyev artemiev.mikhail at gmail.com
Fri Feb 19 22:05:40 CET 2016


Hi Alejandro,
Does this geo file work for you?

cl_corner = 0.1;
cl_center = 0.001;
Point(1) = { 0, 0, 0, cl_corner };
Point(2) = { 1, 0, 0, cl_corner };
Point(3) = { 1, 1, 0, cl_corner };
Point(4) = { 0, 1, 0, cl_corner };
Line(1) = { 1, 2 };
Line(2) = { 2, 3 };
Line(3) = { 3, 4 };
Line(4) = { 4, 1 };
Line Loop(5) = { 1, 2, 3, 4 };
Plane Surface(1) = { 5 };
Point(5) = { 0.5, 0.5, 0, cl_center };
Point{5} In Surface{1};

Best,
Mikhail



On 02/19/2016 02:54 PM, gmsh-request at ace20.montefiore.ulg.ac.be wrote:
> Hi everyone,
>
> I?m trying to create a mesh that is very fine in the center and it gets coarser as you go away. This mesh has to be completely unstructured. I was wondering if there?s a way to do this without having to create 4 plane surfaces that meet at the center. I tried to add a point at 0,0 but it?s ignored while meshing.
> Best regards,
>
> ? Alejandro M. Arag?n




More information about the gmsh mailing list