[Gmsh] Definig a surface that combine existing surfaces.
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Mon Mar 3 19:45:00 CET 2008
Maka Mohu wrote:
> I'm looking for a surface command that can combine already existing
> surfaces.
>
> Motivation:
>
> while writing a gmsh script to generate a mesh for complex geometry, it
> is useful to separate it into functions A problem that I face now is as
> follows:
>
> Assume that you have functions F1 ... F3
> each of them generate the geometry for a complex surface S1 ... Sn by
> building each surface out of a group of small surfaces a1 ...an. What
> you would like to have is a feature that allows each function to group
> all the defined surfaces a1 ... an in one surface A that will by used by
> the rest of the program. If we do not have a way for this thin any
> modification in function F1 will have consequences on the rest of the
> program which harms the modularity of the solution. For this one needs:
>
> 1) a surface command that can combine already existing surfaces.
>
> according to my understanding: I can not use surface loops for this,
> since loops has to build a closed volume. I also can not use Physical
Store the line numbers or the line loop numbers in an array, and define
the surfaces using this array?
> surface for this since it is not accepted by Surface loop command. Thanks.
>
> Best regards,
> Maka.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine