[Gmsh] unstructured mesh
jeremy theler
jeremy at talador.com.ar
Sat Nov 29 16:35:43 CET 2014
what about taking a look at projects/small_fem/tests/poisson/square.geo ?
jeremy at tom:~$ cat
/home/jeremy/codigos/3ros/build/gmsh/projects/small_fem/tests/poisson/square.geo
cl = 0.5;
l = 1;
Point(1) = {+l, -l, 0, cl};
Point(2) = {+l, +l, 0, cl};
Point(3) = {-l, +l, 0, cl};
Point(4) = {-l, -l, 0, cl};
Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};
Line Loop(1) = {1, 2, 3, 4};
Plane Surface(1) = {1};
//Recombine Surface {1};
Physical Line(5) = {3};
Physical Line(6) = {1};
Physical Surface(7) = {1};
jeremy at tom:~$
--
jeremy
On Thursday 27 November 2014 15:13:53 Ruihan Guo wrote:
> Dear Madam/Sir,
> I could get uniform mesh on a square domain, but I wonder to know
> how to generate a very unstructured mesh on a square domain? Thank you
> in advance.
> BestRegards