|
[Sponsors] |
August 1, 2016, 13:13 |
cfMesh - problem Layer
|
#1 |
New Member
Michael Leck
Join Date: Feb 2014
Posts: 15
Rep Power: 12 |
Hello together,
at the last few days I work with cfMesh. I find it is a good mesher and make good boundary layers. However I have at the moment a problem with the layers. I adjust layer on the wall in the meshDict, but I get overall (inlet, outlet, walls) layers. Here the meshDict: Code:
patchBoundaryLayers { walls { nLayers 5; thicknessRatio 1.2; maxFirstLayerThickness 0.0002; allowDiscontinuity 0; } } Have someone an idea where is my failure?
__________________
Best regards Michael |
|
August 4, 2016, 08:36 |
|
#2 |
New Member
Joris C.
Join Date: Jan 2013
Posts: 29
Rep Power: 13 |
Here is some code that will help you:
// settings for boundary layers boundaryLayers { nLayers 3; thicknessRatio 1.2; patchBoundaryLayers { inlet { nLayers 0; } } } |
|
August 5, 2016, 08:04 |
|
#3 |
New Member
Michael Leck
Join Date: Feb 2014
Posts: 15
Rep Power: 12 |
Hy Coris,
thank you for our reply. I try you suggestion but it didn't work. Attached you will find two pictures. At the top I used the default for layers (all boundarys). Below you see that I used default for layers at wall and I defined separate 0 layers for in- and outlet. But at the picture you see, that there are no layers. Do you can help with this problem?
__________________
Best regards Michael |
|
August 30, 2016, 05:30 |
|
#4 |
Senior Member
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 173
Rep Power: 14 |
Not sure if it helps,
but we are facing similar problems and just found out, that when you set: allowdiscontinuity = 0 and define on any patch that nlayers = 0 then he will apply the 0 to ALL patches. To (try) to define nlayers for each patch separately you seem to need an allowdiscontinuity = 1 But we are also still experimenting how to set it correctly. |
|
March 19, 2020, 22:11 |
|
#5 |
New Member
Matheus Marques
Join Date: Mar 2020
Posts: 4
Rep Power: 6 |
Michael, did it work with you when we chance allowDiscontinuity from 0 to 1?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
High aspect ratio mesh problem for flat plate boundary layer | sam1364 | OpenFOAM | 3 | May 14, 2020 11:11 |
[snappyHexMesh] Problem airfoil snappyhexmesh add layer | bye bye my blue | OpenFOAM Meshing & Mesh Conversion | 1 | May 5, 2017 05:56 |
[snappyHexMesh] snappyHexMesh problem | shengqiming | OpenFOAM Meshing & Mesh Conversion | 0 | December 15, 2016 08:35 |
[snappyHexMesh] Snapping problem, non orthogonal faces | Zephiro88 | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2015 02:56 |
[snappyHexMesh] Boundary layer in a pipe | Clementhuon | OpenFOAM Meshing & Mesh Conversion | 6 | March 12, 2012 12:41 |