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

[snappyHexMesh] SnappyHexMesh collapse at the boundaries giving negative volume cells

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2014, 21:27
Default SnappyHexMesh collapse at the boundaries giving negative volume cells
  #1
New Member
 
Clara
Join Date: Sep 2010
Location: Bruxelles
Posts: 16
Rep Power: 15
risku9 is on a distinguished road
Hi everyone,

I've been struggling for quite a long time to do a mesh with snappyHexMesh. Finally when the mesh quality was quite good for the castellated and the snap part, I had to add the layers. I can't manage to get the proper layers that I would need to run the CFD simulation, as the mesh is collapsed at the boundaries and I get negative volume cells.

In the end, only 7 cells are illegal if I set up the FeatureAngle from the layer addition to 180, but as you can see in the images, the layers get collapsed at the boundaries...

I've tried to changed the type of patch and add layers, but it didn't worked out. I also tried to add another *.stl for the boundaries but it didn't work out either.

Does anybody know how I can fix this? I have attached the snappyHexMesh file and some figures of the problem.

Thank you!!!

Clara
Attached Images
File Type: jpg domain.jpg (36.6 KB, 40 views)
File Type: jpg domainBoundaries.jpg (89.5 KB, 42 views)
File Type: jpg slice.jpg (74.1 KB, 76 views)
Attached Files
File Type: txt snappyHexMeshDict.txt (11.7 KB, 3 views)
risku9 is offline   Reply With Quote

Old   September 5, 2014, 17:26
Default
  #2
New Member
 
Mehid
Join Date: Nov 2013
Location: Tehran-Iran
Posts: 22
Rep Power: 0
Metti is on a distinguished road
Quote:
Hi everyone,

I've been struggling for quite a long time to do a mesh with snappyHexMesh. Finally when the mesh quality was quite good for the castellated and the snap part, I had to add the layers. I can't manage to get the proper layers that I would need to run the CFD simulation, as the mesh is collapsed at the boundaries and I get negative volume cells
Greetings,

Dear Clara,

this is the issue which I were struggling with for about a couple of month & finally shoot the target.
if it is possible, attach your case dictionaries like blockMesh &... with the steps you are following.
maybe me or someone else can work on it in our own way.

anyhow, you should first be sure of the "addLayer" parameters which are in a correct manner for your case or not. you should try & error all conditions for your parameters.

GoodLuck
metti.
Metti is offline   Reply With Quote

Old   September 8, 2014, 05:51
Default
  #3
New Member
 
Clara
Join Date: Sep 2010
Location: Bruxelles
Posts: 16
Rep Power: 15
risku9 is on a distinguished road
Dear Metti,

I've managed to finally add the layers, but however, I've learnt that it is really tricky and it really depends on the geometry and the other two parts of the mesh generation (castellated and snap). The key parameters that I had to play with were the expansionRatio and the finalLayerThickness, so in the end I manage to generate a maximum number of 4 layers, which for my case, I believe it is enough!

I've added the final snappyHexMesh file and the blockMesh. I hope this can help someone else in the future...

Cheers!

Clara
Attached Files
File Type: txt snappyHexMeshDict.txt (11.8 KB, 39 views)
File Type: txt blockMeshDict.txt (1.7 KB, 3 views)
risku9 is offline   Reply With Quote

Reply

Tags
add layers, collapse cells, snappyhexmesh


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
snappyhexmesh remove blockmesh geometry philipp1 OpenFOAM Running, Solving & CFD 2 December 12, 2014 10:58
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
blockMesh error ... balkrishna OpenFOAM Pre-Processing 0 August 17, 2010 02:39


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