snapEdge - failure
Hi all,
i wanna test the snapEdge tool and downloaded it from the wiki and installed it correctly. If i run snapEdge i got a error message that he can 't read the "stl" file. Code:
--> FOAM FATAL ERROR: I ve had a look at the triSurface.C file but there is just the error-report line. thanks Tobi |
Okay - prolbem solved :)
the STL has to be in the "case" dictionary. Not in the triSurface. Tobi |
Let me know how it works.
I've come up with a whole new algorithm and I'm working on a complete re-write of this tool. |
2 Attachment(s)
Hi niklas,
i ve been working on a chtMultiRegion case and got very small and big mappedWall types. Your tool is fantastic for that. without it i never get the interfaces correctly. Its simple and good. :) 1. castellated (sHM) 2. snap (sHM) 3. snapEdge (4. addLayers) thats it :) Great tool... Here an picture. Good work Tobi |
snapEdge
Hey Niklas,
im very interested in your work. You've got any further with your re-write? :) And, most important: is there a way to run your tool in parallel? decomposePar + mpirun doesn't do the job :( |
Quote:
algorithm. It works better I think. N |
Quote:
|
Try this one and if it fails I'd like to look at your stl if its possible.
(Note that its no longer necessary to link the stl to from the constant/triSurface directory) http://openfoam.nequam.se/cases/snapEdge_110225.tgz Everyting is now in a separate class to make it easier for those who want to incorporate snapEdge with snappy. N |
Hi Niklas,
does this work in parallel as well!? Best Regards! Fabian |
nope, it does not.
|
thanks for the quick response.
|
Hey Niklas,
thanks a lot, i'll give it a try and report results later! |
3 Attachment(s)
Quote:
Hello Niklas, Thank you very much for providing the tool! I have tried it with my STL .. did not really work for me Please check my STL if you have time and If you have more time please check my case under this link: http://dl.dropbox.com/u/32336583/Case.zip Thanks a lot! |
it looks like you are trying to 'snap' to a surface.
this tool only work on edges. |
Quote:
Exactly. Could you please advice? I have tried to play around with snapping parameters ... I increased snapping iterations (5000 iterations) ... I have disabled all snapping controls ... nothing is working Really appreciate your guidance! Regards, |
How do you get the Umb patch?
|
2 Attachment(s)
Does these work better?
|
Quote:
I got Umb patch from an STL file... this is what I did 1-Extracted the geometry from the STL and convert it to emesh using the command: surfaceFeatureExtract -includedAngle 150 -writeObj constant/triSurface/Umb.stl Umb 2-Duplicated edges in emesh (simply by copy-pasting) as recommended here (http://www.cfd-online.com/Forums/ope...rane-edge.html) 3-Converted this emesh file to faceZones by adding faceZone Umb; cellZone Umb; cellZoneInside inside; to snappyHexMeshDict as follows: refinementSurfaces { Umb { // Surface-wise min and max refinement level level (2 2); faceZone Umb; cellZone Umb; cellZoneInside inside; } } 4- After the SHM, I converted this faceZones into Patches using the command: createBaffles Umb '(Umb Umb)' |
1 Attachment(s)
Quote:
Thank you very muchhh!!! It is snapped very nicely! ... Is this here the secret?: [faceType boundary;] In blockMesh: Is creating one patch for all other patches as an empty patch is better for snapping?? Why?? Thanks again! |
ok, thats good. I've been trying to get the edges to actually match also, but for some reason they wont.
I dont know why. I dont have time to look into this now. If I do, ill post the solution here. N |
All times are GMT -4. The time now is 07:52. |