> On 4 Jun 2017, at 20:06, Jin Yao <[email protected]> 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 > [email protected] > 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 _______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
