Step 7: Creating the Second Ogrid

In this step, you will create a second Ogrid to improve the mesh quality within the main elbow pipe, and also provide a boundary layer.

Blocking > Split Block   > Ogrid Block  

  1. Ensure that both SOLID and FLUID are enabled in the display tree.

    You enabled SOLID at the end of the previous step. Unless both SOLID and FLUID are enabled, the Ogrid will also wrap the valve stem (small cylinder), which is also valid, but may require additional mesh editing to get good quality.

  2. Create the Ogrid.

    1. Click   (Select Block(s)) and select all the blocks by box selecting over the entire model.

    2. Add the faces on the inlet and outlet.

      1. Click   (Select Faces) and select all the faces on the INLET and OUTLET as shown in Figure 126: Blocks and Faces Selected for the Ogrid.

        Figure 126: Blocks and Faces Selected for the Ogrid

        Blocks and Faces Selected for the Ogrid

        There are five faces on the OUTLET part and one face on the INLET part. If you select the wrong face, deselect it by clicking again using the right–mouse button. You can also select the faces by clicking the   icon in the Select Blockingface toolbar. This toolbar appears when you click the   (Select Faces) icon. Select INLET and OUTLET in the Select Blocking parts dialog box. In addition select the center face on the OUTLET part.

      2. Click the middle-mouse button after selecting the faces.

    3. Click Apply to create the Ogrid (Figure 127: The Second Ogrid).

      Figure 127: The Second Ogrid

      The Second Ogrid

  3. Set the edge length to improve quality.

    Blocking > Move Vertex   > Set Edge Length  

    1. Click   (Select edge(s)) and select one of the edges shown in Figure 128: Resizing Edges—First Pair. Click the middle mouse button.

      You can see that the length is approximately 15. You will reduce this to improve the quality.

    2. Select the two edges shown in Figure 128: Resizing Edges—First Pair.

    3. Enter 5 for Length and click Apply (Figure 128: Resizing Edges—First Pair).

      Figure 128: Resizing Edges—First Pair

      Resizing Edges—First Pair

    4. Similarly rescale the edges shown in Figure 129: Resizing Edges—Second Pair to a value of 8.

      Figure 129: Resizing Edges—Second Pair

      Resizing Edges—Second Pair

  4. Recompute the pre-mesh.

    1. Disable SOLID.

       Parts > SOLID

    2. Enable Pre-Mesh and click Yes to recompute.

       Blocking > Pre-Mesh

    3. Update the pre-mesh parameters.

      Since the edges were computed before, they did not have the sizes set.

      Blocking > Pre-Mesh Params   > Update Sizes  

      1. Ensure Update All is selected and click Apply (Figure 130: Pre-Mesh for the Elbow).

        Figure 130: Pre-Mesh for the Elbow

        Pre-Mesh for the Elbow