refinement of mesh around a half-cylinder-using blockMesh
i would like to refine the mesh around a half cylinder, that is why i used simpleGrading to refine the area near to the surface of the half-cylinder, in order to capture the boundary layer. however it is not working ...
here is my blockMeshDict :
any idea, how to refine the mesh ?
well you do some refinement, but in the wrong block.
Be aware that the blocks are counting from 0
so you have 15 blocks but the lowest number is zero
and the highest number is 14
It is the same with the points and the patches as well.
Hint for the future: have look at the whole mesh and see what
it looks like so you can easily figure out what is wrong and do not
only focus in the part that doesn't work, like the picture you displayed.
Concerning the numbering of the blocks..you are right :) i was too lazy to edit it :D
However capturing the boundary layer is very important for me, that is why i want to refine the mesh close to surface of the geometry....
Any Idea ??
for a good resolution of the boundary layer the y+ value
gives a good indication.
so when you re done with meshing you type
in your terminal and check the values which are displayed.
(I assume you are doing a RANS calculation if you
are performing a LES calculation use yPlusLES instead)
dependant on whether you are using wall functions or not
the max values should be between 1 (no wall functions) and
300 (wall functions)
If you know your desired yPlus you can easily calculate the required
cell height with the formula mentioned here:
I hope I could contribute,
Thx for ur answer :)
I am using icoFoam, so i think using a turbulence model is not required.
Do you know how to use yPlus for laminar flow ?
icoFoam is indeed for laminar flow,
so for the boundary layer resolution you should
estimate the thickness of your boundary layer
as described e.g. here:
in a different forum post it is suggested to have 10 layers
of cells within the viscous layer (see below post #4):
this should give you a good starting point.
It is for me clear that #the mesh, close to the surface, should be fine, otherwise it will be hard to converge#.
I estimated the thickness of the boundary layer, and my question is, is there any feature to specify that the mesh should be fine near to surface ? :)
|All times are GMT -4. The time now is 00:39.|