|
[Sponsors] |
January 20, 2013, 18:50 |
SHM not snapping
|
#1 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
snappyHexMesh is castellating (refining) but it is not snapping to the surface, no matter what I try to do.
When my own geometries didn't work, I tried the pipeBend tutorial suggested on the SwiftSnap page ( http://openfoamwiki.net/index.php/Contrib/SwiftSnap ). The result is shown in the attachment. I also tried the "cylinderCase" described on this wiki ( https://sites.google.com/site/snappy.../cylinder-case ), and the result is also attached. This has been tried in OF2.1-x and OF1.6-ext. To me, this tells me the case setups are correct, but there's something not working on my machine. Perhaps some geometric-based dependency is improperly installed or something... I am working on Linux Mint XFCE. That is my tale of woe. Does anyone have any suggestions? -Dave
__________________
~~~ Follow me on twitter @DavidGaden |
|
January 20, 2013, 19:41 |
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Hi Dave,
I have modified the cylinder case because it did not take advantage of the surface features, and changed a few settings in snappyHexMeshDict (taken from the flange tutorial). Could you please run the case with ./Allrun and see what happens, so we have a common reference? You find a screenshot of the result I obtained attached. Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
January 20, 2013, 23:06 |
|
#3 | |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Thanks Alberto,
I ran your case, and the result did snap. It looks like the image you attached. So that raises the question: what am I doing wrong? I did a diff between the two case directories, and I think my mistake is exactly what you tweeted me about: Quote:
So I will use your case as a template and report back tomorrow with the results! Thanks again! -Dave
__________________
~~~ Follow me on twitter @DavidGaden |
||
January 20, 2013, 23:19 |
|
#4 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
OK. Let me know :-)
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
January 22, 2013, 21:37 |
|
#5 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Thanks for the assistance, Alberto.
So I got your case working, but I still can't seem to get mine working. Maybe you can tell me what I'm doing wrong (if you have the time)? I've attached the case file, and the blender file is available here for the next few weeks: https://dl.dropbox.com/u/18048766/Un...Reactor2.blend The result I get is shown in the attached picture.
__________________
~~~ Follow me on twitter @DavidGaden |
|
January 23, 2013, 00:02 |
|
#6 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Hi Dave,
I attach a case that seems to work. Major changes: - added all the stl files to the eMesh creation (there were typos and not removing the log the last 4 files were not generated by the ./Allrun script) - refined blockMesh box - changed surfaceFeatureExtract angle to 150 Check the mesh quality to be safe, and in case it's not good enough, I'd refine the blockMesh box. Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
January 23, 2013, 22:03 |
|
#7 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Wow! Thanks so much, Alberto! That is an awesome mesh.
It would be embarrassing to admit how long I've been struggling with this. This also was standing in the way of my final simulation for my PhD. (All the other meshes were simple cubes, so it was easy to just use blockMesh.) As far as I can see, my mistakes were little typos with the feature extract command, and I didn't include all the eMesh files. Thank-you so much! -Dave
__________________
~~~ Follow me on twitter @DavidGaden |
|
January 23, 2013, 22:28 |
|
#8 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Welcome.
Quote:
Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SHM not snapping on simple case | slaners | OpenFOAM Meshing & Mesh Conversion | 7 | June 6, 2018 07:43 |
[snappyHexMesh] SHM not snapping on simple case | slaners | OpenFOAM Meshing & Mesh Conversion | 2 | June 5, 2018 09:59 |
[snappyHexMesh] SHM not snapping to some surfaces | Swift | OpenFOAM Meshing & Mesh Conversion | 13 | January 4, 2016 02:56 |
[snappyHexMesh] Can't couple front & back faces in cyclic BC after snapping in SHM | hakonbar | OpenFOAM Meshing & Mesh Conversion | 4 | December 8, 2013 17:50 |
[snappyHexMesh] SHM: feature edge snapping not conforming | thab | OpenFOAM Meshing & Mesh Conversion | 3 | November 26, 2012 15:04 |