Hello:

I am using transfinite algorithm to mesh many surfaces of heterogeneous size.


Right now, the transfinite algorithm is specified as:

Transfinite Line {lineid} = n_divisions ;


As lines have varied lenghts, one way to do it can be:

h_mesh = 0.1;

line_length = 2.0; // non-automatic

n_divisions = Ceil(line_lenght/h_mesh);

Transfinite Line {lineid} = n_divisions ;


Of course there should be some code (easy to implement) to be sure that the 
opposite sides of a surface have the same n_divisions.


But still there is a non-automatic part of the code which is the lenght of the 
line/curve.


Is there a command in gmsh to get the length of a line/curve?


Thanks in advance,


Ing. Héctor Espinoza, MSc, PhD

Profesor Titular

Ingeniería Mecánica

Universidad Tecnológica de Bolívar
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to