[Gmsh] Transfinite Elements with API
Bruno Correia da Silva
bcs2 at cin.ufpe.br
Tue Apr 23 00:01:59 CEST 2013
Hello,
I am looking within GMSH API (2.7.0) to use transfinite lines/surfaces to
generate quadrangular mesh.
I see this link (http://www.geuz.org/pipermail/gmsh/2011/006803.html) from
Takuya OSHIMA oshima at eng.niigata-u.ac.jp and i used this .CPP until the
line of "writeMSH".
And i changed in .CPP code:
//Mesh.RecombineAll=1;
GmshSetOption("Mesh", "RecombineAll", 1.);
Now i want define with API the transfinite line/surface and the double
value.
Transfinite Line {1,3} = 3 Using Progression 1.000000;
Transfinite Line {2,4} = 3 Using Progression 1.000000;
Transfinite Surface {1} = {1,2,3,4};
In this link (http://www.geuz.org/pipermail/gmsh/2008/003276.html) from
Prof. Christophe Geuzaine cgeuzaine at ulg.ac.be his mentioned about the
function F_Transfinite() in Mesh/meshGEdge.cpp.
The method is not public and i didn't see any example in other place.
Could anyone suggest the correct way to do this declaration?
att.
Bruno Correia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130422/9c0ffdb8/attachment.html>