CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] SHM no layers added

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Eloise

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 8, 2014, 14:40
Default SHM no layers added
  #1
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 17
student666 is on a distinguished road
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
Attached Files
File Type: txt logSnappy.txt (46.4 KB, 156 views)
File Type: txt snappyHexMeshDict.txt (13.5 KB, 84 views)
student666 is offline   Reply With Quote

Old   May 9, 2014, 09:24
Default
  #2
Senior Member
 
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 14
Eloise is on a distinguished road
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
Eloise is offline   Reply With Quote

Old   May 9, 2014, 18:40
Default
  #3
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 17
student666 is on a distinguished road
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.
student666 is offline   Reply With Quote

Old   May 12, 2014, 07:51
Default
  #4
Senior Member
 
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 14
Eloise is on a distinguished road
Quote:
Originally Posted by student666 View Post
I think that every beginner start to play trial & error when he/she use SHM, but how to short learning curve?
Start from some simple tutorial and go with increasing complexity.
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:
Originally Posted by student666 View Post
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)
I consider each step as being important to obtain a final mesh of good quality. I use not to go for step i+1 as long as step i does not satisfy me.
Quote:
Originally Posted by student666 View Post
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?
I'm not sure I understand your question, but I'd say that the appropriate level of refinement must be used on each part of the geometry, that's an important start point.
Quote:
Originally Posted by student666 View Post
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?
By experience, each geometry/problem are different and you need to spend time to see what it is most sensitive to. I'm sorry not to be more specific here, but I might mislead you if I try

I hope those answers can help you, I'm sure that other users can complement!
Regards,
Eloïse
Tobi likes this.
Eloise is offline   Reply With Quote

Old   May 13, 2014, 15:44
Default
  #5
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 17
student666 is on a distinguished road
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
student666 is offline   Reply With Quote

Old   May 15, 2014, 03:40
Post
  #6
New Member
 
Mehid
Join Date: Nov 2013
Location: Tehran-Iran
Posts: 22
Rep Power: 0
Metti is on a distinguished road
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
Attached Files
File Type: txt SHMlog.txt (70.0 KB, 21 views)
File Type: txt snappyHexMeshDict.txt (13.6 KB, 21 views)
Metti is offline   Reply With Quote

Old   May 15, 2014, 04:16
Default
  #7
Senior Member
 
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 14
Eloise is on a distinguished road
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
Eloise is offline   Reply With Quote

Old   May 15, 2014, 06:51
Default
  #8
New Member
 
Mehid
Join Date: Nov 2013
Location: Tehran-Iran
Posts: 22
Rep Power: 0
Metti is on a distinguished road
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
Metti is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 14:02.