|
[Sponsors] |
![]() |
![]() |
#1 |
Member
chen long
Join Date: Dec 2012
Posts: 32
Rep Power: 14 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#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
|
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Member
chen long
Join Date: Dec 2012
Posts: 32
Rep Power: 14 ![]() |
Quote:
Thanks for your sharing. Can you explain in depth hwo to excecute the refineWallLayer utilities? |
||
![]() |
![]() |
![]() |
![]() |
#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
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
chen long
Join Date: Dec 2012
Posts: 32
Rep Power: 14 ![]() |
Bin Xu
Thanks for your kind help. Normally this is done after meshing? |
|
![]() |
![]() |
![]() |
![]() |
#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
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
Member
chen long
Join Date: Dec 2012
Posts: 32
Rep Power: 14 ![]() |
Hi
Thanks. Have you ever tried "applyBoundaryLayer"? |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Member
chen long
Join Date: Dec 2012
Posts: 32
Rep Power: 14 ![]() |
When i type refineWallLayer -overwrite wall 0.1 it doesnt work. only i type refineWallLayer wall 0.1 it works. is the "overwrite' compusory?
|
|
![]() |
![]() |
![]() |
![]() |
#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
|
|
![]() |
![]() |
![]() |
![]() |
#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. |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
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 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
Grid Independence of Boundary layer | Luigi_ | Main CFD Forum | 0 | December 14, 2011 14:42 |