![]() > 5) Exporting the mesh to Abaqus/LS-Dyna (whatever software) > 3) Create a volume using a surface loop on both surfaces > 2) Create a 2 discrete surfaces giving the node coordinates and the connectivity of the triangles > 1) Read point clouds and triangulate using Delaunay (scipy.spatial) > My final goal is to create a volume mesh enclosed by two discrete STL surfaces (given by a point cloud). > first of all, thank you for sharing the software with us! I'm a postdoc working (mostly) in optics and I need to reconstruct some free-shape surfaces. > Dear Dr Geuzaine, Dr Remacle, and the Gmsh community, ![]() > Can you send the 2 STLs (I don't see them in the zip)? > On, at 16:19, Christophe Geuzaine wrote: > I've added a small example in demos/api showing how I would solve this problem: > Enclosed a zip folder with the updated script > Info : Creating geometry of discrete surfaces. > Info : Done creating geometry of discrete curves (2e-06 s) > Info : Creating geometry of discrete curves. > Info : Done classifying surfaces (0.163405 s) > Info : Classifying surfaces (angle: 30). > Info : Done removing duplicate mesh vertices > Info : Removed 255 duplicate mesh vertices > Info : Removing duplicate mesh vertices. > Info : 15045 facets in solid 0 Created by Gmsh In the meantime, in your particular case you can simply replace `classifySurfaces` by `createTopology` as explained in the comments, i.e. Indeed, we will investigate why the surface classification crashes in this case. Now, it raises a "segmentation fault" error but it recognizes the nodes in the boundary and removes the duplicates. > I tried to adapt the previous python script to cope with the geometrical tolerance and the re-meshing. ![]() > I didn't check this example before sending the previous one.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |