[Gmsh] List of Questions

Christophe Geuzaine geuzaine at acm.caltech.edu
Wed Jun 2 01:00:16 CEST 2004


Joe Koski wrote:

> Many thanks. Everything works as advertised in your message, so I'm ready to
> write a simple translator and try to make a 2D finite element run.
> 
> Apparently the Version 2 data output format includes only those elements
> that are from geometric entities that are also listed as physical entities.
> Correct?  

Yes (but that's also the case in version 1).

> 
> I never could get "Recombine" to work the way I thought it should, and make
> some mesh triangles into quads. That isn't critical to this test. I'll
> resubmit that question at a later date when I have a bit more experience.

Here is an example:

Point(1) = {0,0,0,0.01};
Point(2) = {0.1,0,0,0.01};
Point(3) = {0.1,0.3,0,0.01};
Point(4) = {0,0.3,0,0.01};
Line(1) = {1,2};
Line(2) = {3,2};
Line(3) = {3,4};
Line(4) = {4,1};
Line Loop(5) = {4,1,-2,3};
Plane Surface(6) = {5};
Recombine Surface{6} = 80;

Best,

Christophe

-- 
Christophe Geuzaine
Applied and Computational Mathematics, Caltech
geuzaine at acm.caltech.edu - http://geuz.org