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

[snappyHexMesh] Spikes in gaps after snappyHexMesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2013, 09:42
Default Spikes in gaps after snappyHexMesh
  #1
New Member
 
Jackie Chou
Join Date: Mar 2013
Posts: 12
Rep Power: 13
jackeyhust is on a distinguished road
Hi, Foamers,

Recently I meet a problem for the a model. For geometry, there is a narrow gap, in which there will be the spikes in the gap. But actually it should be smooth, otherwise it causes problems. They should not be touched in the gap. You can see it in my attachment.

I have tried my methods:
1. I have tried to make the base size lower. The base size is lower than the gap distance, and it is somehow better, the spikes become less. But not all of them. But this also causes the increase of the cell numbers. I do not want to increase the cell number any more. So do you have any other suggestions on it ?

With kind regards,


Jackie

snap1.jpg

snap2.jpg
jackeyhust is offline   Reply With Quote

Old   June 11, 2013, 14:00
Default More Information
  #2
New Member
 
Tom
Join Date: Nov 2011
Location: Atlanta, Ga
Posts: 21
Rep Power: 14
Irish09 is on a distinguished road
Hello Jackie,

While I think I have an understanding of your problem, it would help if I could get some more information such as your snappyhexmeshdict file and possibly an image of the STL file you are trying to mesh. So to clarify, the gap is small and is suppose to be there?
Irish09 is offline   Reply With Quote

Old   June 11, 2013, 15:16
Default
  #3
New Member
 
Jackie Chou
Join Date: Mar 2013
Posts: 12
Rep Power: 13
jackeyhust is on a distinguished road
yes, the gap is small, they should be there. That's difficult, I know. Do you have any suggestions?
jackeyhust is offline   Reply With Quote

Old   June 11, 2013, 15:22
Default Potentially
  #4
New Member
 
Tom
Join Date: Nov 2011
Location: Atlanta, Ga
Posts: 21
Rep Power: 14
Irish09 is on a distinguished road
Hello Jackie,

As I said before, it is difficult to say without knowing how you are setting up your snappyhexmesh case. One suggestion I could suggest is to use the surfaceFeatureExtract function, I talk about it for an internal geometry case here:

http://www.cfd-online.com/Forums/ope...-injector.html
Irish09 is offline   Reply With Quote

Old   June 11, 2013, 16:49
Default
  #5
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
im pretty sure your cells are too large, just refine them abit more and it should work.
the first step of the meshing process is to refine the cells that contains the surfaces the number of times that you have specified in the dictionary.
If you have 2 surfaces that are very close and go through the same cells it will not refine those cells further because of this.

now, for the seconds step, the snap phase,
imagine that you have a cell containing 2 surfaces and ask yourself
which surface should the face of the cell snap to.
The result is clear from your pics, it varies, depending on which is closest (or which it finds first, not sure which)

You cant expect the mesh to have the details resolved on scale smaller than the cell size.
niklas is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 07:01
[snappyHexMesh] snappyhexmesh cuts small gaps into geometry Fool OpenFOAM Meshing & Mesh Conversion 4 January 3, 2019 11:42
[snappyHexMesh] Running snappyHexMesh in parallel - optimizing peterhess OpenFOAM Meshing & Mesh Conversion 2 January 3, 2018 03:54
[snappyHexMesh] Tutorial crashes: snappyHexMesh floating point exception. jasv OpenFOAM Meshing & Mesh Conversion 4 May 10, 2016 03:55
[snappyHexMesh] stitchMesh and snappyHexMesh gdbaldw OpenFOAM Meshing & Mesh Conversion 0 December 23, 2009 03:09


All times are GMT -4. The time now is 05:59.