|
[Sponsors] |
November 1, 2016, 21:34 |
SnappyhexMesh does not snap
|
#1 |
New Member
Pieter Van Driessche
Join Date: May 2016
Posts: 4
Rep Power: 9 |
I'm new to snappyhexmesh and have problem. It looks like shm is not snapping around the surface. I'm trying to mesh a simple elbow.
I have a attached a snapshot of what it looks like. snap.jpg I've also attached my stl, blockmesh, surface extract and shm dict as well of.zip Is there anybody who can help me with this? KR |
|
November 1, 2016, 22:57 |
|
#2 | |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 15 |
Hi,
There are a couple of errors in your snappyHexMeshDict. 1. Under the geometry section, yours reads: Quote:
2. You have not defined a refinement region in the geometry section and yet you are calling one in the refinementRegions section. The STL cannot double up as the volume where the mesh needs to be refined. You will need to specify a different region name and its type/extents before you can use the volumetric refinement. 3. Your syntax for the refinementRegions needs to be modified. You need to specify "levels" instead of "level" and the "mode" as well. Refer to the user guide for more details. Hope this helps. Cheers, Antimony |
||
November 2, 2016, 03:00 |
|
#4 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 15 |
Hi,
Maybe I didn't phrase it in the right way. But that is what I have observed, and what was confirmed when I tested this same case with: Run A: name flange; => does not give a mesh Run B: name pipe; => able to generate the mesh sHM gives out warning messages saying that the geometry of the pipe can't be found for run A and just stops halfway. Cheers, Antimony |
|
November 2, 2016, 03:14 |
|
#5 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
If you change the name to "flange", you also need to modify the according entry in the refinement surfaces. Did you do that?
As an example, you can have a look at: tutorials/multiphase/interDyMFoam/ras/DTCHull/system/snappyHexMeshDict
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
November 2, 2016, 03:32 |
|
#6 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 15 |
Hi,
I wasn't aware that what was needed was for the <xyz> in "name <xyz>" was the critical one. Always thought it was the file name and consequently made it consistent in the "geometry" and "refinementSurfaces" fields. Thanks for this heads up! Cheers, Antimony |
|
November 2, 2016, 20:55 |
|
#7 |
New Member
Pieter Van Driessche
Join Date: May 2016
Posts: 4
Rep Power: 9 |
It worked thanks for the replies!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Run snappyHexMesh steps (castellated, snap, addlayer) separately | Glc | OpenFOAM Meshing & Mesh Conversion | 6 | October 8, 2021 02:50 |
[snappyHexMesh] snappyHexMesh doesnt snap | staustrahltriebwerk | OpenFOAM Meshing & Mesh Conversion | 47 | March 18, 2018 14:19 |
[snappyHexMesh] only snap edges of specific region with snappyHexMesh | mike.franky | OpenFOAM Meshing & Mesh Conversion | 0 | July 19, 2017 06:56 |
[snappyHexMesh] SnappyHexMesh refine but does not snap | malaboss | OpenFOAM Meshing & Mesh Conversion | 6 | December 10, 2014 05:31 |
[snappyHexMesh] snappyHexMesh failure to snap to geometry | Yadasol | OpenFOAM Meshing & Mesh Conversion | 1 | November 17, 2014 05:00 |