User Activity

  • Posted a comment on discussion Help on Netgen Mesh Generator

    Hello, I have a similar question. If we can known to which STL triangle a mesh point belongs, is it also possible to known to which STL triangle a mesh element (Element2d) belongs? Or this info has to be completely rebuilt a posteriori? Regards Giovanni

  • Posted a comment on discussion Open Discussion on Netgen Mesh Generator

    Hello forum, I already posted a question about adding edges to an STL geometry. I think I didn't explain clearly. I would like to completely bypass the automatic - angle based - generation of edges in an stl geometry. This because, in case of complex geometries, the stl edges generated using this criterion, differ from the "topology" edges which are present in the - e.g. step file -, from which the .stl representation is generated from. In retrieving the stl mesh of a complex model using a "face...

  • Posted a comment on discussion Help on Netgen Mesh Generator

    Hello forum, the subject has been faced many times in this forum. Sorry for that, but I did not find among the previous comments a clear solution to my problem. I use nblib with OCC 7.1.0 support, on Windows10, compiled with MSVC2013 (12.0 compiler) I've a .stl file, and I exactly know the definition of the edges through sequences of points (one ordered sequence of points for each edge). After: 1) Ng_STL_Geometry *aGeo = Ng_STLNewGeometry(); 2) for(...) Ng_STL_AddTriangle(aGeo,p1,p2,p3); 3) for(...)...

  • Posted a comment on discussion Help on Netgen Mesh Generator

    Ciao Giovanni, probably you should read the code more carefully before posting unexisting problems void Ng_Generate_SeconOrder(Ng_Mesh *aMesh) generates a second order superparametric (straight sides) elements. Indeed the geometry does not appear within the list of arguments, while void Ng_OCC_GenerateSecondOrder(Ng_OCC_Geometry geometry, Ng_Mesh aMesh) "converts" mesh to second order with geometry adaption, as stated in the -h file. Regards

  • Posted a comment on discussion Help on Netgen Mesh Generator

    Hello forum, nglib (5.3.1) function Ng_Generate_SecondOrder does not put midside nodes on boundary (edges/faces): element are straight. Is this behavior unexpected or nglib is not already able to do that (I mean, programmatically). Regards Giovanni

  • Posted a comment on discussion Help on Netgen Mesh Generator

    Thank you very much Joachim, yesterday I've been successful in find the nodes on a topology edge using the following algorithm (which is essentially a workaround) Choose a body. Loop over the edges { 1) find the current edge number edgeNr in eMap 2) find the two adjacent faces using OCC TopExp::mapShapeAndAncestors now the edge edgeNr is defined by the pair (face1, face2) 3) append (face 1, face 2) to a vector } Since (face1, face2) and (face2, face1) define the same edge: eliminate the duplicates...

  • Posted a comment on discussion Help on Netgen Mesh Generator

    Hello, what is the aim of the class Edge Descriptor? It seems to be never used Regards Giovanni

  • Posted a comment on discussion Help on Netgen Mesh Generator

    Hello, same problem... did you find a solution? Regards Giovanni

View All

Personal Data

Username:
gbettega
Joined:
2017-03-07 08:09:22

Projects

  • No projects to display.

Personal Tools