On Wed, Jun 22, 2011 at 11:49 AM, robert <[email protected]> wrote:
> Hi to all,
>
> I want to build a triangular mesh with TriangleInterface. Within my
> region I have different materials and starting temperatures (solving
> heat equation). I want to start with a coarse grid and refine it
> adaptively.
>
> Although I use a coarse grid at the beginning I want to define my
> starting temperatures in a relatively exact way. Thus, I thought I could
> try to add a polygon within my domain and try to tell the program, that
> the triangles are not allowed to cross these lines.
>
> Since I have no idea how to do so I tried the following: I created a
> mesh with holes in it (the holes represent different materials). Then I
> created a second mesh with the exact shape of the hole. In a third step
> I loop through the elements of my second mesh and add them to the first
> mesh.
> However, this method did not work. I think the problem is that I did not
> keep track of the nodes and, that I did not add nodes, resp.

Have you see the relatively new ex29?  It shows how you can specify
holes in the triangulation using the TriangleInterface.

-- 
John

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to