|
[Sponsors] |
January 30, 2011, 07:01 |
snapEdge - failure
|
#1 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
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: Cannnot read "inlet.stl" From function triSurface::read(const fileName&, const word&, const bool) in file triSurface/triSurface.C at line 371. FOAM exiting I ve had a look at the triSurface.C file but there is just the error-report line. thanks Tobi |
|
January 31, 2011, 02:43 |
|
#3 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
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. |
|
February 16, 2011, 08:28 |
|
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
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 |
|
February 24, 2011, 05:46 |
snapEdge
|
#5 |
New Member
Hannes
Join Date: Dec 2010
Location: Oldenburg, Germany
Posts: 17
Rep Power: 15 |
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 Last edited by Hanno; February 24, 2011 at 06:48. |
|
February 24, 2011, 06:49 |
|
#6 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
||
February 24, 2011, 07:33 |
|
#7 |
New Member
Hannes
Join Date: Dec 2010
Location: Oldenburg, Germany
Posts: 17
Rep Power: 15 |
Please get me informed as soon as you have it ready to share. I try to mesh a pretty complex geometry (with only 90° angles) with SHM+SE but SE doesnt do the job so far.
|
|
February 25, 2011, 08:46 |
|
#8 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
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 |
|
February 26, 2011, 03:06 |
|
#9 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
Hi Niklas,
does this work in parallel as well!? Best Regards! Fabian |
|
February 26, 2011, 09:14 |
|
#10 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
nope, it does not.
|
|
February 26, 2011, 10:53 |
|
#11 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
thanks for the quick response.
|
|
February 28, 2011, 07:55 |
|
#12 |
New Member
Hannes
Join Date: Dec 2010
Location: Oldenburg, Germany
Posts: 17
Rep Power: 15 |
Hey Niklas,
thanks a lot, i'll give it a try and report results later! |
|
October 30, 2012, 11:09 |
|
#13 | |
Member
Join Date: Jul 2012
Posts: 66
Rep Power: 14 |
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! |
||
October 31, 2012, 03:37 |
|
#14 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
it looks like you are trying to 'snap' to a surface.
this tool only work on edges. |
|
October 31, 2012, 04:10 |
|
#15 | |
Member
Join Date: Jul 2012
Posts: 66
Rep Power: 14 |
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, |
||
October 31, 2012, 05:08 |
|
#16 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
How do you get the Umb patch?
|
|
October 31, 2012, 05:58 |
|
#17 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
Does these work better?
|
|
October 31, 2012, 06:34 |
|
#18 |
Member
Join Date: Jul 2012
Posts: 66
Rep Power: 14 |
Thanks for your quick reply
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)' |
|
October 31, 2012, 06:39 |
|
#19 |
Member
Join Date: Jul 2012
Posts: 66
Rep Power: 14 |
Wow!
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! Last edited by hfs; October 31, 2012 at 07:14. |
|
October 31, 2012, 07:23 |
|
#20 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error running openfoam in parallel | fede32 | OpenFOAM Programming & Development | 5 | October 4, 2018 17:38 |
P1 and DT Radiation Model Failure | Birnensuppe | CFX | 6 | November 13, 2017 07:06 |
The fluent stopped and errors with "Warning: License server connection lost.poll: pro | yuyuxuan | FLUENT | 4 | January 9, 2014 06:20 |
snapEdge not working | crossley90 | OpenFOAM | 4 | August 4, 2011 05:26 |
[snappyHexMesh] snapEdge compilation problems | rassilon | OpenFOAM Meshing & Mesh Conversion | 4 | February 23, 2011 22:23 |