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

[snappyHexMesh] Boundary Layer on a lower wall

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2019, 10:16
Default Boundary Layer on a lower wall
  #1
New Member
 
Federica Fregosi
Join Date: Mar 2019
Posts: 3
Rep Power: 7
fedora is on a distinguished road
Hi everyone,

I have a problem with the generation of a boundary layer on a wall. I am using the snappyHexMesh utility to define my domain around a rudder, and it works on it (it generates the layers and so on). This rudder lays on the lower wall. Now, I am trying to create layers on this lower wall, but I am not sure I am correct.
At first I did this:

relativeSizes false;
layers
{
rudder
{
nSurfaceLayers 5;
}
lowerWall
{
nSurfaceLayers 5;
}
}
expansionRatio 1.5;
thickness 0.016;
minThickness 0.0001;

But it does not cover all the lower wall (just the refined region).
So, I added a new snappyHexMesh just for the lower wall, and in this way it covers all the lower wall but…the simpleFoam does not work! (In the previous way simpleFoam works, but I am not sure it generates the correct results).
Obviously, I changed all the boundary conditions (based on the motorBike case):
- In the blockMeshDict lowerWall is type wall
- K
lowerWall
{
type kqRWallFunction;
value $internalField;
}
- nut
lowerWall
{
type nutkWallFunction;
value uniform 0;
}
- omega
lowerWall
{
type omegaWallFunction;
value $internalField;
}
- p
lowerWall
{
type zeroGradient;
}
- U
lowerWall
{
type noSlip; /*fixedValue;
value $internalField;*/
}
In the U conditions I have tried both types.

Then, I have tried to understand the motorBike case but it is not clear, for example, the wallBoundedStreamLines dictionary.

Any suggestions?
Thanks,

Best regards
fedora is offline   Reply With Quote

Reply

Tags
boundary layer, snappyhesmeshdict, wall

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
Multicomponent fluid Andrea CFX 2 October 11, 2004 06:12


All times are GMT -4. The time now is 10:22.