Finding out y+ for the 1st layer of cells

Hello,

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.

Thank you

Nilay

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.

image

Measure between nodes - Eyeball test with a little more accuracy

# given the thex region above put the hexes in a group and add the nodes
group 'y_plus' add Hex in node in surf 5 
draw node in hex in group 2 add

Select two nodes that look far apart and use the context menu to select Measure. The results are displayed in the Command window.

image

Create a bounding box of y+ layer. Most accurate

# 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