[Gmsh] apply background mesh to non-planar surface
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Wed Jun 7 09:42:37 CEST 2017
> On 4 Jun 2017, at 20:06, Jin Yao <jinyao at outlook.com> wrote:
>
> Hi experts,
>
> Is it feasible to generate background mesh to non-planar surface, such as the surface of a sphere?
>
> For planar surface, it is easy to generate a background mesh, which consists of scalar triangles. But for non-planar surface, the inner points of triangles are not on the surface even when the vertices of scalar triangles lie on the surface.
>
> Could anyone suggest a workaround if there's no direct solution? Thanks
>
Put your background field on a 3 grid that covers your surface: Gmsh will happily interpolate the volume data on the non-planar surface.
> Yao
> Sent from my phone
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
Free software: http://gmsh.info | http://getdp.info | http://onelab.info
More information about the gmsh
mailing list