[Gmsh] Mesh smoothing function
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Thu Feb 7 14:18:56 CET 2008
SJ Lai wrote:
> Hello Christophe,
>
> Thanks for the quick email last time, it really helped me.
>
> My question this time is about the mesh smoothing function. There might be
> some posts in the archives, but I have not yet been able to find it.
>
> I was wondering if you can localise the mesh smoothing function over a
> certain block rather than the whole mesh?
>
> I've attached the geo file for my mesh, and as you can see, around the
> aerofoil is a C Block which needs to be smooth as possible. But between
> volumes 1,2 and 3, the mesh needs to be as straight as possible. By
> applying the Mesh Smoothing function, I've noticed that the C block gets
> smoothed very well, but between volumes 1 2 and 3, you get sharp points at
> where the mesh connects.
>
> So could I apply the mesh smoothing only on the C block and not between
> volumes 1,2, and 3 ?
We've added the following command, which should do what you want:
Mesh.Smoothing = 0; // don't smooth anything except...
Smoother Surface{4} = 40; // ...apply 40 smoothing steps on surface 4
This will be in tomorrow's nightly snapshot.
>
> Thanks very much
>
> Jake
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine