STL FIle Import (Complex Geometry): Resolution Query
› Forums › OpenLB › General Topics › STL FIle Import (Complex Geometry): Resolution Query
- This topic has 7 replies, 3 voices, and was last updated 4 years ago by achodankar.
-
AuthorPosts
-
October 25, 2021 at 6:26 pm #6095achodankarParticipant
Hello Developers,
I am an importing a STL file with complex geometry. My query is how is the resolution and deltax value set in this case. How do I make relation with the no of triangles and no of points(resolution)? When I put N=1, I get the least no of points, but I fail to understand the relation between no of points and STL file.Also the geometry formed fails to be symmetric after imported in openlb. Moreover, the way nodes are assigned material numbers gets messed up.
Here are the images:
https://ibb.co/4JDcjB3
https://ibb.co/K221NQqI would really appreciate your feedback on this matter.
Thank you.
Yours sincerely,
Abhijeet C.
October 25, 2021 at 9:00 pm #6097achodankarParticipantHello Developers,
The problem is seen when I import a 3d geometry consisting of curves. I tried with a circular and semicircular geometry, thereby facing the same issues for these geometries. Is there any particular part of openlb I should address to fix this issue? I would really appreciate your feedback.Thank you.
Yours sincerely,
Abhijeet C.
October 26, 2021 at 9:04 pm #6105AdrianKeymasterThe resolution parameter
Nin examples is commonly w.r.t. some kind of characteristic length used during construction of theUnitConverterthat yields the delta X value. You can see this if you check the usage ofNin any of the examples.October 26, 2021 at 9:30 pm #6108achodankarParticipantHello Adrian,
I understand the usage of N in general examples wherein the geometry is created using indicators. The way we define N will determine the deltax value. However, I fail to understand how it will work when the geometry is imported using an STL file. The imported geometry has predetermined deltax value based on the triangulations. SolidWorks or FreeCAD will just spit out the STL files. How is Openlb communicating with these STL files and setting or resetting the deltax values based on a given N value?Thank you.
Yours sincerely,
Abhijeet C.
November 2, 2021 at 1:27 pm #6141AdrianKeymasterThe
STLreaderaccepts both the voxel size and the STL reference size as constructor parameters. See e.g. the doxygen documentation.November 17, 2021 at 8:35 pm #6176achodankarParticipantHello Adrian,
Thank you for your response. My apologies for the late reply.What is the use of the method parameter?
Choose indication method 0: fast, less stable 1: slow, more stable (for untight STLs)Thank you.
Yours sincerely,
Abhijeet C
November 23, 2021 at 2:01 pm #6189mathiasKeymasterTheses are different ray traying approches which are more or less robust and fast. Best Mathias
November 23, 2021 at 7:03 pm #6195achodankarParticipantHello Mathias,
Thank you. I understand it well now.Yours sincerely,
Abhijeet C.
-
AuthorPosts
- You must be logged in to reply to this topic.
