I tried to use the smoother after reading your email, and it seems that the LaplaceMeshSmoother is quitely similar with smooth function in MeshTools::Modification namespace.
After trying this, I found a new problem. As you said, boundary nodes are not moved. However, internal nodes escape from its domain, and as you said, it seems that they ingnore the boundary nodes... My object is changed from; (smoothing mesh without moving boundary node --> smooth without escaping of internal nodes) Thanks for your answer Seungjin Seo 2019년 6월 21일 (금) 오후 10:21, John Peterson <jwpeter...@gmail.com>님이 작성: > > > 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