2016-02-26 1:57 GMT+11:00 Stephan Gekle <[email protected]>:
> I need to mesh a 2D surface which has been created by extrusion (see code
> below). However, I need all surfaces to be meshed with triangles since I am
> using it with a self-made program which only handles triangles.
> How can I make the extruded be meshed with unstructured triangles and not
> with a structured mesh as is done when I run the code below?

Just delete the Recombine command from the Extrude Surface line.

> Extrude Surface { 2, {1,0,0}, {0,0,0}, Pi}  {
>    Layers{20}; Recombine;
> };

Extrude Surface { 2, {1,0,0}, {0,0,0}, Pi}  {
   Layers{20};
};

See http://gmsh.info/doc/texinfo/gmsh.html#Structured-grids .

_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to