Dear Ryan, If you have normal vectors to the faces, the simplest is to use them using the 'outer_faces_with_direction' method of the interface for instance. Otherwise, you ave also the 'outer_faces_in_box' method. If the mesh is produced by gmsh, you can also import the face numbering.
Yves Le 31/01/2017 à 17:42, Walker, Ryan T. (GSFC-615.0)[UNIV OF MARYLAND] a écrit : > Hi all, > > I need to run a model on a fairly complicated domain (polygon with ~ > 50 sides), and I need to set regions to apply different boundary > conditions. > > The demos I’ve seen so far use domains where the regions can be found > by simple tests. Does anyone have an example of defining regions for a > more complicated boundary? > > Thanks, > Ryan > > > ********************************************** > Dr. Ryan T. Walker > Earth System Science Interdisciplinary Center > University of Maryland at College Park > Cryospheric Sciences Laboratory, Code 615 > NASA Goddard Space Flight Center > 8800 Greenbelt Road > Greenbelt, MD 20771 USA > > > > > > > _______________________________________________ > Getfem-users mailing list > [email protected] > https://mail.gna.org/listinfo/getfem-users -- Yves Renard ([email protected]) tel : (33) 04.72.43.87.08 Pole de Mathematiques, INSA-Lyon fax : (33) 04.72.43.85.29 20, rue Albert Einstein 69621 Villeurbanne Cedex, FRANCE http://math.univ-lyon1.fr/~renard ---------
_______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
