I have generated a tetra4 mesh which is converted into a hex20 mesh using different volumes for the boundary layer region and the bulk flow. For minimum number of elements I went with auto-size generated mesh. I was wondering if there is a way to find out the 1st layer thickness of elements? I need to make sure that the y+ value is less than 1.
Edge length and thickness are two different metrics. If you are looking at thickness, I can think of several ways of doing something like this with varying accuracy. I will assume that you can select the surfaces at the y+ region.
Method 1 - Eyeball test
# Create a sample thex region
reset
brick x 10
vol 1 scheme tetmesh
mesh vol 1
thex vol 1
# Draw the hexes in the y+ surface
draw hex in node in surface 5
Now click in the graphics area to give it focus and his the ‘s’ key. This will display a scale that will let you visualize the thickness.
# given the thex region in point 1 plus the group created in point 2
create mesh geom hex in y_plus
create brick bounding box volume 2 tight
list volume 3 geometry