Re: [Libmesh-users] avoiding hanging nodes

2017-06-28 Thread John Peterson
On Wed, Jun 28, 2017 at 1:55 AM, Giacomo Rosilho de Souza < [email protected]> wrote: > Hi, > finally I had some time to set up a simple example where I solve an > elliptic problem using adaptivity with delaunay meshes. Here you find a > link to download it from my dropbox: > https://

Re: [Libmesh-users] avoiding hanging nodes

2017-06-28 Thread Giacomo Rosilho de Souza
Hi, finally I had some time to set up a simple example where I solve an elliptic problem using adaptivity with delaunay meshes. Here you find a link to download it from my dropbox: https://www.dropbox.com/s/7yaynr7328eb7o6/delaunay_adaptivity.tar.gz?dl=0 The zip contains the example with comme

Re: [Libmesh-users] avoiding hanging nodes

2017-04-06 Thread Giacomo Rosilho de Souza
Yes it was the version of Triangle in libmesh, I've seen that theres something similar for 3D I think, Tetgen right? At the moment I'm happy with 2D, since my research is not focused on meshes and space adaptivity, nevertheless I can't have hanging nodes. The code is quite large, theres a lot of

Re: [Libmesh-users] avoiding hanging nodes

2017-04-06 Thread Roy Stogner
On Thu, 6 Apr 2017, John Peterson wrote: The algorithm is:      - call save_mesh      - call add_remove_node      - call new_Delaunay_mesh      - call equation_systems.reinit(), which will call project_vector and project_on_new_delaunay_mesh. The most

Re: [Libmesh-users] avoiding hanging nodes

2017-04-06 Thread John Peterson
On Thu, Apr 6, 2017 at 1:18 AM, Giacomo Rosilho de Souza < [email protected]> wrote: > Hi, thanks for the hints. > At the end I did it with the Triangle library, its probably not very > performing but I'm not interested on that at the moment. The main > routines are the following >

Re: [Libmesh-users] avoiding hanging nodes

2017-04-06 Thread Giacomo Rosilho de Souza
Hi, thanks for the hints. At the end I did it with the Triangle library, its probably not very performing but I'm not interested on that at the moment. The main routines are the following - save_mesh: it saves the current mesh (using Mesh::copy_nodes_and_elements) and creates a system with

Re: [Libmesh-users] avoiding hanging nodes

2017-03-30 Thread Roy Stogner
On Thu, 30 Mar 2017, Giacomo Rosilho de Souza wrote: > I was wondering if theres an algorithm in libmesh that refines the mesh > without creating hanging nodes? Adaptively, I assume? Paul mentioned mesh redistribution, which can be surprisingly effective for adapting into layers but which is ha

Re: [Libmesh-users] avoiding hanging nodes

2017-03-30 Thread Paul T. Bauman
On Thu, Mar 30, 2017 at 7:01 AM, Giacomo Rosilho de Souza < [email protected]> wrote: > do you think that the triangle class used in > MeshTools::Generation::build_delaunay_square > could be successfully used for mesh adaptation? I was about to try that > I'm not sure I'm following.

Re: [Libmesh-users] avoiding hanging nodes

2017-03-30 Thread Paul T. Bauman
> On Mar 30, 2017, at 4:25 AM, Giacomo Rosilho de Souza > wrote: > > Hello, > I was wondering if theres an algorithm in libmesh that refines the mesh > without creating hanging nodes? If not, would it be difficult to > implement one? > Thanks You can uniformly refine: http://libmesh.github

[Libmesh-users] avoiding hanging nodes

2017-03-30 Thread Giacomo Rosilho de Souza
Hello, I was wondering if theres an algorithm in libmesh that refines the mesh without creating hanging nodes? If not, would it be difficult to implement one? Thanks -- Check out the vibrant tech community on one of the