|
[Sponsors] |
[snappyHexMesh] SnappyHexMesh doesn't succeed in adding several layers |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 2, 2010, 13:24 |
SnappyHexMesh doesn't succeed in adding several layers
|
#1 | |
New Member
Etienne T.
Join Date: Feb 2010
Posts: 3
Rep Power: 16 |
Hello,
I am using SnappyHexMesh with OF 1.6 to study a simple 2D wing. In order to use SnappyHexMesh, it is in fact a 3D case with a thin "wind tunnel". But SnappyHexMesh doesn't succeed in adding several layers in the boundary layer, it only creates one : I tried to reduce constraints on mesh quality but this doesn't work. Here is the addLayerControls : Quote:
|
||
May 4, 2010, 04:21 |
|
#2 |
Member
Moritz Wied
Join Date: Mar 2010
Location: suttgart, germany
Posts: 35
Rep Power: 16 |
hi,
did you try to decrease the expansionratio and the finallayerthickness? im having quite similar problems at the moment, if you find some good ideas,let us know . |
|
May 15, 2010, 09:41 |
|
#3 |
New Member
Etienne T.
Join Date: Feb 2010
Posts: 3
Rep Power: 16 |
I have found an idea, and that works quite well : firstly, I use SHM to make a thick layer, and then, I write a little bash script which uses the refineWallLayer tool to split the boundary layer. Here is the script :
Code:
for i in `seq 1 5`; do refineWallLayer -overwrite name_of_the_patch 0.7; done |
|
May 18, 2010, 11:00 |
|
#4 |
Member
Moritz Wied
Join Date: Mar 2010
Location: suttgart, germany
Posts: 35
Rep Power: 16 |
hi eti,
thanks for your idea, i tried it and it really split my layers. but is it possible that we just run over the internal quality check of snappy? if i run checkMesh after the layer refinement, it gives me some skew errors... this is the same as when i use a mesh made by star-ccm+ and convert it to openfoam. it looks nice but does not pass the quality check. eti, could you tell me which low-reynolds-model you use? i use LamBremhorst, but i have problems with high velocity on some spots, before the laminar layer can build up.. |
|
May 18, 2010, 13:05 |
|
#5 |
New Member
Etienne T.
Join Date: Feb 2010
Posts: 3
Rep Power: 16 |
Hello,
I had also this problem of mesh quality, and to avoid that, the only solution I have found is to get the mesh refined near the surface and to reduce the number of "cuttings" with refineWallLayer so that the cells look better. There is also another thing which has effects, but I don't understand why : when I put the parameter "nSmoothThickness" to 0 in the SHMDict, the mesh is more likely to pass checkMesh. For the turbulence model, up to now I have only used a k-omega SST model, and it seems to work well. |
|
April 9, 2013, 02:36 |
|
#6 |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 |
hi eti,
would you please explain your text? e.g. where should we add this text? thank you very much. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multiRegionHeater error | ordinary | OpenFOAM Running, Solving & CFD | 2 | June 9, 2020 17:43 |
[snappyHexMesh] snappyHexMesh fails adding layers | biscarri | OpenFOAM Meshing & Mesh Conversion | 13 | March 21, 2020 12:40 |
[snappyHexMesh] Avoiding wedge cells and folded cells while adding layers - snappyHexMesh | Saideep | OpenFOAM Meshing & Mesh Conversion | 2 | March 22, 2018 08:10 |
conjugateHeatFoam + interFoam | farhagim | OpenFOAM Programming & Development | 15 | July 19, 2016 07:55 |
[snappyHexMesh] Adding layers goes wrong with SnappyHexMesh | Elise | OpenFOAM Meshing & Mesh Conversion | 1 | April 22, 2013 02:32 |