Repository navigation
Replies: 8 comments 10 replies
|
|
The easiest way is looking-up the source code for the functionalities you want to replicate in Graphite source-code, and more specifically surface commands source and mesh commands |
|
Hi Dr. @BrunoLevy, following our last discussion, I have found a way to handle the input mesh cleaning operations in Vorpalite and also discovered a method to regularize a polyhedral mesh. I am so close to building a workflow for generating a polyhedral mesh (using Vorpalite) and subsequent steps, such as regularization, integration with Abaqus, and performing desired finite element analyses. However, I am still struggling with just one specific issue with the polyhedral mesh I get from vorpalite. Though we have discussed this in one of our previous discussions regarding the surface behavior of the polyhedral mesh, since Geogram clips the polyhedra against the surface mesh, I need your help and suggestions for the following situation: |
|
Hello, it is a difficult question, because there is a difference between what you ask geogram to compute (intersection between a Voronoi diagram and a solid defined as the interior of a triangulated surface) and what you want (you want a polyhedral mesh without any tiny facet that fills the interior of the same triangulated surface). In general it is not possible, because "what you ask geogram to do" has "what you don't want": there will be tiny facets. Now the question is how to get rid of the tiny facets, or deal with them anyway (there can be also this option), but it all depends on what you want to do with the mesh afterwards. Depending on the other computations that you do, you could do different things, for instance
The best way to handle this is to think about your meshing + computation as a single task and carefully consider the interactions between both. It is not as comfortable as considering them in separation, especially if your computation is done in another piece of software written by somebody else, but here I do not see any way of doing without it. |
|
Hello, if you zoom on the figures, you will see that the triangles are there (there are subtle differences of shading), there is no miracle, the ugly little triangles that you don't want are also there in this article (unfortunately...) |
|
I'm really sorry, but I won't be able to do that: I already do not have enough time to properly take care of my own students..., but it should not be too difficult to achieve for you. If C++ programming in geogram is too delicate (and it can be), another option is saving the mesh in an ASCII file, then loading it in your preferred language, and write a program that generates the new mesh in your preferred language. |





Uh oh!
There was an error while loading. Please reload this page.
Hi developers,


I am particularly interested in the polyhedral meshing capability of the example program 'vorpalite'. In my use case, I want to generate a polycrystal model to perform finite element analysis based on the polyhedral mesh created by 'vorpalite'. In the FEM model, each polyhedron serves as a 3D grain, and cohesive zones are inserted along the grain boundaries (i.e., polyhedral faces) to facilitate interfacial fracture simulations. Therefore, each polyhedron is meshed with finite elements (e.g., hex or wedge elements) in commercial FEM software like ABAQUS. I have tested the results from 'vorpalite' for different input geometries and noticed that many polyhedra (especially the internal ones) in a polyhedral mesh contain very tiny faces and edges. These polyhedra create a very complex situation, forcing to create very tiny and bad quality finite elements. Moreover, some polyhedra cannot be meshed with finite elements even in powerful software like ABAQUS.
As you can see, the highlighted polyhedra were unable to mesh with hex elements since they all have some tiny faces and edges that created the issues, as we can see in a focused view of such polyhedra below:


I tried varying different parameters, such as increasing the number of Lloyd iterations and Newton iterations, but the result did not improve. As an example, I run the following: "vorpalite.exe CuboidMeshed_cleaned.obj CuboidMeshed_poly_100.ovm profile=poly remesh:nb_pts=100 opt:nb_Lloyd_iter=100 opt:nb_Newton_iter=1000 opt:Newton_m=100 opt:nb_LpCVT_iter=100 poly:simplify=tets_voronoi_boundary poly:normal_angle_threshold=10 poly:tessellate_non_convex_facets=true post:repair=true post:isect=true". I see that the command line receives the 'opt:Newton_m=100 opt:nb_LpCVT_iter=100', but I am unsure if they are being executed since the 'main.cpp' does not implement any specific functionality for these parameters. 'vorpalite' seems an excellent program to me, and it could help me a great deal in my research. However, I am stuck with these problems and don't know how to solve them. It would be a great help if anyone could guide me on addressing these critical issues.
All reactions