Layers in SHM and refineWallLayer
This argument has been discussed several times but I haven't got a clear idea so far.
What is the difference between the addlayer step in SHM and the refineWallLayer utility ?
I've never been able to add layers in complex geometries with SHM but with rWL is simple. Unluckily the meshes obtained with the utility have usually severe non-orto and skewness problems.
I already tried following the advices in this threads:
But I couldn't get a clear general procedure... I don't think it's a problem related to my geometries, more probably to my brain :o
Has someone some hint ? Thanks.
I haven't completely solved my problem yet, but I found that is more simple, with SHM, to add one layer at time.
In the enclosed picture you can see 7 layers added to a simple pipe running SHM (guess...) 7 times.
finalLayerThickness is 0.9 in this case.
I don't know why but setting nSurfaceLayers=7 results in no layer added.
I still have to try on complex geometries.
If you post your snappyHexMesh dict I could have a look and see if I can find a reason why you don't get layers at once…
The reason is because I played too much with parameters... actually I can have 7 layers in one step if I choose the right values.
Here is my SHMDict for addlayer:
Using my older values, expansionRatio=1.8 and finalLayerThickness=1, SHM is getting more than 100000 faces with zero volume and the results is no layer added.
I'll make some more tests.
|All times are GMT -4. The time now is 22:10.|