Do you want to generate a fully structured grid? Then the easiest is to directly extrude the mesh - see the attached file: |
bottle.geo
Description: Binary data
Note that there is a small trick to get a fully extruded mesh in your case, as we can currently only extrude meshes on OpenCASCADE geometries by rotation angles (strictly) smaller than 2*pi. I thus had to rotate in 2 steps. However this would lead to duplicate vertices on the seam - because if we apply "Coherence" (or "BooleanFragments") the geometrical entities will change... which will prevent the mesh extrusion to work. So the trick is: - extrude in 2 parts - mesh - remove the duplicate vertices "by hand" with the "Coherence Mesh" command. This is a bit ugly, but at least it works ;-) Christophe
— 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
