On Thu, Jun 20, 2019 at 2:23 AM 서승진 <tjtmdwls1...@gmail.com> wrote:
> Hi. > > I re-send my question (because no enter is recognized in my previous > question) > > I am currently making a code which can treat moving mesh problem. > > I used GmshIO to construct mesh object, andI made a function to move > boundary nodes in one boundary, as given amount (of growth). > > The thing what I want to do now is redistribute internal mesh to prevent > negative jacobian from twisted nodes after the intended movement. > > In here, I want to fix the position of bounday nodes, so I just want to > redistribute internal nodes only. > > I have used the MeshTools::Modification::smooth() function to redistribute > the nodes, but it seems that this use "averaged position between nodes". > > So this lead the unintended movement of boundary nodes after their > intended movement (when I used smooth function) > > Is there any possible way to solve this kind of problem? > > MeshTools::Modification::smooth(mesh, 1000, 0); Can you try calling the LaplaceMeshSmoother directly? It is not supposed to move boundary nodes. I just looked at the source code of MeshTools::Modification::smooth(), which I originally had just assumed was calling the LaplaceMeshSmoother, but it seems to be doing something else, and explicitly takes into account refinement but seems to ignore boundary nodes. -- John _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users