On Wed, Jun 22, 2011 at 11:49 AM, robert <robert.bodner@...> 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
> 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
> 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.