|
[Sponsors] |
May 8, 2014, 14:40 |
SHM no layers added
|
#1 |
Senior Member
|
Hi all,
I'm trying to add some layer to my geometry by using SHM, but no layers are added even if meshing process come to an end with no problem. I managed to make a log file, but looking at it, I can't find any error that cause this. I'm new to SHM (I started only few days ago), but I can0t figure out what's wrong. I also upload my logfile and snappyHMDict. Can you give me some hint? Thanks a lot for any support. Regards Michele |
|
May 9, 2014, 09:24 |
|
#2 |
Senior Member
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 14 |
Hi Michele,
In lines 1223-1236 from your log, you can see that most of the layer cells do not satisfy the quality criterions. In that case, sHM delete the problematic cells, therefore removing all your layer cells from your mesh. I see in your sHMdict that you have finalLayerThickness 0.001; which makes a very small size as it is relative to the outer cell size. I'd first try to change finalLayerThickness to 0.5. If that doesn't help, try to insert 1 layer, then 2 layers,... Good luck! Eloïse |
|
May 9, 2014, 18:40 |
|
#3 |
Senior Member
|
Thank you very much Eloïs, indeed I tryed to raise finalLayerthickness and I started to see layers addition, so I think I have to make some trial & error to get to a good mesh, and read more carefully log file.
Generally speaking, I have some question about SHM in order to understand the behavior of the mesher; keep in mind I'm a beginner on this, so following could seems trivial to an experienced user. I think that every beginner start to play trial & error when he/she use SHM, but how to short learning curve? According to your geometry shape and to the problem to solve, which step do you focus most to obtain a good mesh? (geometry, castellated, snapping, layer addiction, quality) What parameters do you think have priority on a final mesh configurations? Are there some of them that affect majorly final mesh, while other are only for refinements? Some refinement option, can sometimes lead to a not good meshing process or even not obtain one? which are to be used carefully by you're experience? Thanks in advance If you (or others) want to share use-experience. Regards Michele. |
|
May 12, 2014, 07:51 |
|
#4 | ||||
Senior Member
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 14 |
Quote:
Read those slides: http://openfoamwiki.net/images/f/f0/...SlidesOFW7.pdf Understand one after another each of the sHM steps (castellation, snap, layers) by varying the parameters on some simple geometries Search this section of the forum to learn from other user's experience ... Quote:
Quote:
Quote:
I hope those answers can help you, I'm sure that other users can complement! Regards, Eloïse |
|||||
May 13, 2014, 15:44 |
|
#5 |
Senior Member
|
Very kind Eloise!
I think you gave good advice here, and useful link! I think I can summarized by writing:" keep calm and start from the beginning"..."and grow slowly: be confident with what you're doing". Yes! I agree with you; It's a question of time, but studying each timestep of the mesh generation to get to good result is the best way. Thank you again for your support. Regards. Michele |
|
May 15, 2014, 03:40 |
|
#6 |
New Member
Mehid
Join Date: Nov 2013
Location: Tehran-Iran
Posts: 22
Rep Power: 0 |
Hi Eloise and Michele,
I have the same problem as Michele's one. I have a main geometry in STL and additionally i separated the patches of this geometry in STL format to make my own boundaries. ( this is like a BOX in STL that i extracted front,back,inlet,outlet,... in STL separately) but my question is the same as Michele’s. no layer generates... Please see my SHMdict and SHM.log and recommend me out of this issue. Thanks in advance. Metti |
|
May 15, 2014, 04:16 |
|
#7 |
Senior Member
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 14 |
Hi Metti,
Your log says at line 1883 : No layers to generate ... So something must be wrong in the way you ask sHM to insert layers, because it understands that you don't want to add any layers. I'd start by looking at the name of the patch on which you want to insert layers. Is the name walls_solid correct? You can check that by running checkMesh for example and see if this patch name exists. Or you can run foamToVTK on the mesh you generated and visualise the different existing patches. I hope it helps you! Regards, Eloïse |
|
May 15, 2014, 06:51 |
|
#8 |
New Member
Mehid
Join Date: Nov 2013
Location: Tehran-Iran
Posts: 22
Rep Power: 0 |
Lots of Thanks Eloise,
you were right, something was mismatched. but the main key point was what you've said about finalLayerThickness. I'm so grateful of you that helped me with your comment & quick reply. I'm working on it these days to get the most perfect mesh of my case. If I encountered any problem, I'll be back to you. thank you my friend. Metti |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] adding layers on complex terrain surface in SHM | potac | OpenFOAM Meshing & Mesh Conversion | 1 | November 9, 2020 07:40 |
[snappyHexMesh] SHM is not extruding/adding Layers everywhere | matthiasd | OpenFOAM Meshing & Mesh Conversion | 2 | October 16, 2016 17:45 |
[snappyHexMesh] SHM addLayers problem: boundary layers collapsing on a patch | DOFuser | OpenFOAM Meshing & Mesh Conversion | 1 | October 22, 2015 09:09 |
[snappyHexMesh] Fail to create boundary layers during sHM | farahiam | OpenFOAM Meshing & Mesh Conversion | 13 | October 15, 2014 20:46 |
[snappyHexMesh] Effect of adding layers with sHM | Nucleophobe | OpenFOAM Meshing & Mesh Conversion | 4 | August 20, 2012 17:45 |