|
[Sponsors] |
[snappyHexMesh] .STL: non-closed manifold surface |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#21 |
Member
phil
Join Date: Oct 2013
Posts: 36
Rep Power: 12 ![]() |
Hey,
i've got similar problems to giulio. My biggest problem is, that my stl file is not closed and i get pretty bad snapping at the edges. I tried to repair/clean my stl with Meshlab but without big efforts. Perhaps you could have a look at my stl. The geometry will be used as a pipe streaming through the big patches. kanal_original.txt Greetings |
|
![]() |
![]() |
![]() |
![]() |
#22 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings Phil,
I had a look into your file and here's what I got:
As for fixing it... in Meshlab, you can use from the menu "Filters -> Remeshing, Simplification and reconstruction -> Delaunay Triangulation". I wont be a perfect triangulation, but at least it fixes the problem ![]() Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#23 |
Member
Join Date: Dec 2012
Posts: 81
Rep Power: 13 ![]() |
Hi,
may I also ask sth regarding surfaceSubset? I have copied the surfaceSubsetDict and try to run it for my case but I get the error Istream not OK for reading dictionary Any ideas how I can fix this? Thank you very much in advance for your help!!! |
|
![]() |
![]() |
![]() |
![]() |
#24 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
I think I saw a similar thread of yours on this topic, where you then stated that you managed to fix it. But now I see that you asked this here as well. Therefore, if you've managed to solve this problem, then please indicate how you fixed it. If you haven't solved this problem, then please provide more details (namely, if you did any modifications to the dictionary file "surfaceSubsetDict"), since that error message can occur in a lot of situations. Best regards, Bruno
__________________
|
||
![]() |
![]() |
![]() |
![]() |
#25 |
Member
Join Date: Dec 2012
Posts: 81
Rep Power: 13 ![]() |
Hi Bruno,
yeah I posted it twice because in my experience you don't get much responses when you reply in old threads. Sorry for that. Yes I managed to fix it. I had to enter the command: Code:
surfaceSubset surfaceSubsetDict UCAV.stl UCAV_prob.stl |
|
![]() |
![]() |
![]() |
![]() |
#26 |
New Member
gned
Join Date: Oct 2012
Posts: 18
Rep Power: 13 ![]() |
dear wyldKat,
very quickly : i need to fix some .stl files to then use in OF. I have blender. How to just add a lower cap (as inlet) to this stl https://www.dropbox.com/s/hzgq9l0e72...perta.stl?dl=0 (which is the bottom of my object), so to have one single .stl file which passes the surfaceCheck ? Could you gently post it ? This old link you suggested here http://engits.eu/wiki/index.php/Tuto...ing_Geometries where is now? thanks a lot, have a nice day, i |
|
![]() |
![]() |
![]() |
![]() |
#27 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
And sorry, but I don't have the time needed to fix that STL file, specially because I barely know how to use Blender ![]() |
||
![]() |
![]() |
![]() |
![]() |
#28 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Quoting the PM you sent me:
Quote:
OpenFOAM itself doesn't have utilities that will solve these problems automatically. You can try and use this STL and see if snappyHexMesh can still use it, regardless of the errors. |
||
![]() |
![]() |
![]() |
![]() |
#29 |
New Member
Thazin
Join Date: Mar 2016
Posts: 8
Rep Power: 10 ![]() |
hi, I've problems using surfaceCheck. And I already used Meshlab and Admesh but it isnot completely removed that problems.
What should I do? |
|
![]() |
![]() |
![]() |
![]() |
#30 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Quick answer: http://www.cfd-online.com/Forums/ope...sh-salome.html
|
|
![]() |
![]() |
![]() |
![]() |
#31 |
New Member
gned
Join Date: Oct 2012
Posts: 18
Rep Power: 13 ![]() |
dear wildcat,
I have 2 simple .stl files representing 2 plates I need to merge together (see pic1), so I proceed doing : > surfaceAdd solid_1.stl solid_2.stl 2solids.stl Then I wanted to exploit the problemFaces given in output by > surfaceCheck 2solids.stl to eliminate them through > surfaceSubset surfaceSubsetDict 2solids.stl 2solids_after.stl in order to have no duplicated internal faces at the merging of the plates. But actually the problemFaces that OF catches result to be strangely the lateral ones to the plates (see pic) and not the internal faces as expected. So why this and how I can then obtain a unique .stl which passes the surfaceCheck ? |
|
![]() |
![]() |
![]() |
![]() |
#32 |
New Member
Joost
Join Date: Oct 2016
Location: Amsterdam, The Netherlands
Posts: 6
Rep Power: 9 ![]() |
Hello everybody,
to become familiar with OpenFOAM I am trying to run an OpenFOAM case, which is modified from the motorBike case. I tried to replace the motorBike with a sphere that has a diameter of 1 [m]. This sphere is drawn in SolidWorks and compressed to a .stl.gz file. To minimalize the chance of mistakes I have given this sphere the name motorBike.stl, I am using SHM to mesh the sphere, and the blockMesh of the original motorBike case. The SHMDict and surfaceFeatureExtractDict are attached. The problem I am facing is that the mesh around the sphere isn't visible in paraFoam, or isn't even made at all during the SHM command. I have tried to make the sphere smaller, and also tried to use RhinoCeros to draw the sphere, without any succes. I also tried to change settings in the SurfaceFeatureExtractDict, also without improvement. My question is if there is anybody that has a suggestion or have been facing a similar problem? Many thanks in advance! Best Regards, Joost |
|
![]() |
![]() |
![]() |
![]() |
#33 |
New Member
Joost
Join Date: Oct 2016
Location: Amsterdam, The Netherlands
Posts: 6
Rep Power: 9 ![]() |
Hello again,
I have found my problem.. My sphere has a diameter of 1 [m], so does my mesh have. The centre of the sphere was placed exactly on the centre of 1 mesh cell, so the sphere didn't cut through any cellborder, and for that reason the sphere wasn't visible at all. My bad! Hope this answer will help people with the same problem. Regards, Joost |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] how to fix not closed surface and unconnected parts in stl file | meithid | OpenFOAM Meshing & Mesh Conversion | 2 | August 22, 2020 21:09 |
source not closed and manifold error while performing boolean(subtract) operation | rockydongre | STAR-CCM+ | 3 | May 24, 2019 01:38 |
[snappyHexMesh] Bad/jagged mesh around intersection of two .stl bodies | MBttR | OpenFOAM Meshing & Mesh Conversion | 7 | October 14, 2016 03:57 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 02:09 |
[snappyHexMesh] Layers not closed around air foil of vertical turbine | carstenf | OpenFOAM Meshing & Mesh Conversion | 2 | March 9, 2014 20:16 |