On Wed, Jul 02, 2008 at 08:59:35AM -0400, Hatef Monajemi wrote: > > > On Wed, 2008-07-02 at 11:18 +0200, [EMAIL PROTECTED] wrote: > > Is it possible to import > > marked boundary nodes from gmsh ? > > > > if not is there an xml tag > > specific for that or should > > I generate by hand SubDomain > > imput ? > > The following quote from Anders Logg might help you, But if you want to > tag the boundary which is complicated then I suggest using MeshBuilder > but if it is easily defined by hand then it is better to define the > SubDomains in main.cpp. > > quote from Anders: > "The boundary is specified either by a subclass of SubDomain (which > must overload inside()) or by a MeshFunction<uint> over the facets of > the boundary. The mesh function can be created either manually (but > then using SubDomain is probably easier) or it can be created using > the graphical front-end MeshBuilder which can be obtained by" > > hg clone http://www.fenics.org/dev/meshbuilder
It is also possible to include the boundary markers in the mesh file. See the example data/meshes/aneurysm.xml.gz and the following post: http://www.fenics.org/pipermail/dolfin-dev/2008-May/008037.html There is currently no support in dolfin-convert (AFAIK) to include boundary markers in the output but this would be nice to have now that we have a file format that supports it. -- Anders
signature.asc
Description: Digital signature
_______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
