15.3.3. Direction Vectors

As each layer of prisms is built, the mesher needs to know the direction in which to build. There are two methods available for determining the direction vectors:

Normal Smoothing

The normal direction vectors obtained using the methods described in Direction Vectors are smoothed so that there is a gradual change in direction from one node to the next. This will reduce the chance of direction vector intersection, which causes the prism generation to fail. This step is not necessary when a uniform direction vector is used because there is no change in direction from one node to the next.

Figure 15.16: Normal Direction Vectors Before Smoothing shows normal direction vectors in the vicinity of a sharp (90 degree) corner.

Figure 15.16:  Normal Direction Vectors Before Smoothing

Normal Direction Vectors Before Smoothing

The direction vector is at an angle of 45 degree at the corner, while elsewhere it is 0 or 90 degrees. These direction vectors will intersect and prisms cannot be generated. Figure 15.17: Normal Direction Vectors After Smoothing shows the normal direction vectors near the corner after they have been smoothed. After smoothing, the normal direction changes more gradually from node to node.

Figure 15.17:  Normal Direction Vectors After Smoothing

Normal Direction Vectors After Smoothing

It is possible to create very thin prism layers using the direction vectors shown in Figure 15.16: Normal Direction Vectors Before Smoothing , as long as the last layer lies below the point where the vectors cross.


Release 18.2 - © ANSYS, Inc. All rights reserved.