|
[Sponsors] |
October 16, 2013, 10:38 |
mesh refine at the boundary layer
|
#1 |
Member
chen long
Join Date: Dec 2012
Posts: 32
Rep Power: 13 |
Hi Foamers
I wanna investigate the flow near the wall. If i have a domain in rectangular shape. How can I do the local mesh refinement at the wall? and How can the inlet have log velocity profile? Thanks |
|
October 16, 2013, 22:45 |
|
#2 |
New Member
Bin Xu
Join Date: Apr 2012
Location: Singapore
Posts: 23
Rep Power: 14 |
You can use refineWallLayer to refine the mesh near the wall. See http://openfoamwiki.net/index.php/RefineWallLayer
|
|
October 17, 2013, 01:24 |
|
#3 | |
Member
chen long
Join Date: Dec 2012
Posts: 32
Rep Power: 13 |
Quote:
Thanks for your sharing. Can you explain in depth hwo to excecute the refineWallLayer utilities? |
||
October 17, 2013, 02:15 |
|
#4 |
New Member
Bin Xu
Join Date: Apr 2012
Location: Singapore
Posts: 23
Rep Power: 14 |
refineWallLayer patchname edgeweight for example you want refine layer at the wall patch then you can type refineWallLayer -overwrite wall 0.1
|
|
October 17, 2013, 03:38 |
|
#5 |
Member
chen long
Join Date: Dec 2012
Posts: 32
Rep Power: 13 |
Bin Xu
Thanks for your kind help. Normally this is done after meshing? |
|
October 17, 2013, 04:07 |
|
#6 |
New Member
Bin Xu
Join Date: Apr 2012
Location: Singapore
Posts: 23
Rep Power: 14 |
After using blockMesh, then refine it at the patch that you want
|
|
October 17, 2013, 05:09 |
|
#7 |
Member
chen long
Join Date: Dec 2012
Posts: 32
Rep Power: 13 |
Hi
Thanks. Have you ever tried "applyBoundaryLayer"? |
|
October 17, 2013, 06:28 |
|
#8 |
Member
chen long
Join Date: Dec 2012
Posts: 32
Rep Power: 13 |
When i type refineWallLayer -overwrite wall 0.1 it doesnt work. only i type refineWallLayer wall 0.1 it works. is the "overwrite' compusory?
|
|
October 18, 2013, 00:20 |
|
#9 |
New Member
Bin Xu
Join Date: Apr 2012
Location: Singapore
Posts: 23
Rep Power: 14 |
-overwrite is to overwrite the original mesh in the constant/polyMesh file. Please read the http://openfoamwiki.net/index.php/RefineWallLayer it specifies clearly
|
|
October 24, 2013, 04:04 |
|
#10 | |
Senior Member
|
Quote:
you can also divide your mesh into two meshes one near of wall with fine meshing and one away from wall with coarser mesh. also, you can change cells length near wall and away from it by adjusting fraction of cell length in blockMeshDict Hex (0 1 2 3 4 5 6 7) (20 20 20) simpleGrading (1 1 1) changing values in red colour. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 06:28 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 00:00 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 03:52 |
Grid Independence of Boundary layer | Luigi_ | Main CFD Forum | 0 | December 14, 2011 13:42 |