Hi Martin - Indeed, Gmsh still has trouble with parametrization of surfaces bounded by splines when the control points are not sufficiently regularly spaced. Attached is one possible solution; another would be to set more equispaced control points; yet another (but that would be a bit overkill...) would be to reparametrize the surface using a Compound.
PS: this is indeed the same problem as reported by Robert in bug#184. We are working on it...
bump3d.geo
Description: Binary data
bump_contour.geo
Description: Binary data
On 30 Oct 2013, at 13:44, Martin Vymazal <[email protected]> wrote: > Hello, > > the surface was only a part of a 3D geometry. I'm sending the whole thing. > > Best regards, > > Martin Vymazal > > > On Wednesday 30 October 2013 13:33:38 Jean-François Remacle wrote: >> could you attach the .geo file ? >> >> Le 30 oct. 2013 à 12:14, Martin Vymazal <[email protected]> a écrit : >>> Hello, >>> >>> I'm trying to generate a surface mesh of a bump given by a sine function. >>> I >>> tried >>> 1) to take the contour of the bump (defined by a spline) and extrude it >>> 2) generate two contours (front and back), then create a line loop and a >>> surface >>> >>> In both cases, I have a bad mesh at the beginning and at the end of the >>> bump. I'd prefer to have a fully unstructured mesh, but transfinite will >>> do as well. Unfortunately neither of them works (see attached pictures). >>> >>> Does anyone have an idea how to fix it? >>> >>> Thank you. >>> >>> Martin Vymazal >>> >>> <bump_ruled_surface.png><bump_transfinite_surface.png>____________________ >>> ___________________________ gmsh mailing list >>> [email protected] >>> http://www.geuz.org/mailman/listinfo/gmsh >> >> ------------------------------------------------------------------ >> Prof. Jean-Francois Remacle >> Universite catholique de Louvain (UCL) >> Ecole Polytechnique de Louvain (EPL) - Louvain School of Engineering >> Institute of Mechanics, Materials and Civil Engineering (iMMC) >> Center for Systems Engineering and Applied Mechanics (CESAME) >> Tel : +32-10-472352 -- Mobile : +32-473-909930 > <bump_contour.geo><bump3d.geo>_______________________________________________ > gmsh mailing list > [email protected] > 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
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
