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:
Extrusion Method: For creating straight-sided prism regions without any curvature, you can specify a uniform direction vector for all prism layers. Select Uniform in the Method list in the Direction tab of the Prisms dialog box.
Specify the uniform direction vector or click Compute in the Vector group box. This constant vector will be used for all prism layers, instead of computing a new direction for each layer (see Figure 15.14: Uniform Direction Vector for a Straight-Sided Prism Region).
Note: The Grow On Two Sided Wall option cannot be used when the Uniform method is selected.
Normal Method: For regions with curvature, the appropriate normal direction vector at each node will be determined because it may be different for each node and each layer. See Figure 15.15: Normal Direction Vectors for a Curved Prism Region. Select Normal in the Method group box in the Direct tab of the Prisms dialog box.
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.
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.
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.