CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[cfMesh] cfMesh - problem Layer

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By monkey1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2016, 13:13
Default cfMesh - problem Layer
  #1
New Member
 
Michael Leck
Join Date: Feb 2014
Posts: 15
Rep Power: 12
Micha69822 is on a distinguished road
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;
        }
}
The mesh is shown in the appendix.

Have someone an idea where is my failure?
Attached Images
File Type: jpg MeshWithLayers.JPG (90.0 KB, 191 views)
__________________
Best regards
Michael
Micha69822 is offline   Reply With Quote

Old   August 4, 2016, 08:36
Default
  #2
New Member
 
Joris C.
Join Date: Jan 2013
Posts: 29
Rep Power: 13
Coris is on a distinguished road
Here is some code that will help you:

// settings for boundary layers
boundaryLayers
{
nLayers 3;
thicknessRatio 1.2;

patchBoundaryLayers
{
inlet
{
nLayers 0;
}
}
}
Coris is offline   Reply With Quote

Old   August 5, 2016, 08:04
Default
  #3
New Member
 
Michael Leck
Join Date: Feb 2014
Posts: 15
Rep Power: 12
Micha69822 is on a distinguished road
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?
Attached Files
File Type: pdf cfMEsh_a.pdf (71.1 KB, 103 views)
__________________
Best regards
Michael
Micha69822 is offline   Reply With Quote

Old   August 30, 2016, 05:30
Default
  #4
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 173
Rep Power: 14
monkey1 is on a distinguished road
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.
Micha69822 likes this.
monkey1 is offline   Reply With Quote

Old   March 19, 2020, 22:11
Default
  #5
New Member
 
Matheus Marques
Join Date: Mar 2020
Posts: 4
Rep Power: 6
Matheus Marques is on a distinguished road
Michael, did it work with you when we chance allowDiscontinuity from 0 to 1?
Matheus Marques is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 03:41.