Customize and Inspect the Mesh

Specify the default mesh type and the maximum mesh element size, and then inspect the mesh.

A mesh divides a fluid region into many mesh elements. You can modify the default size of all mesh elements throughout a mesh, and you can modify the size of mesh elements in specific regions of interest. This approach can help you balance the accuracy of the simulation's results against the simulation's run time.

In this example, you refine the default mesh to improve the accuracy of the simulation's results. Then, you generate the mesh and inspect it.

This task shows you how to:

Specify the Default Mesh Type and Maximum Element Size

  1. From the Specify Mesh section of the Assistant, click Mesh Specification .
  2. From the Mesh type options, select Manual - Convergent Volume Mesh.
  3. Enter 1 mm for the Maximum mesh size.
  4. From the Mesh Density options, select Medium.
  5. Click OK.

Generate and Inspect the Mesh

  1. Generate the mesh.
    1. From the Specify Mesh section of the Assistant, click Generate Mesh .
      The Generate Mesh dialog box opens.
    2. Click OK.
      The app generates the mesh and displays updates on its progress in the Mesh Generation Status dialog box.
    3. After the mesh is complete, navigate to the Mesh Data tab.

      In this tab, you can observe how many mesh elements the solver creates and how long mesh creation takes.

    4. Click Close.
  2. Display the mesh.
    1. From the Assistant, click Explore Results.
      The Physics Results Explorer app opens.
    2. In the 3D area, drag your pointer across the entire arterial model.
    3. In the shortcut toolbar, click Plot options .
      The Contour Plot window opens.
    4. Click the Rendering tab.
    5. From the Visible edges options, select Mesh.
    6. Click OK.
      The app displays the mesh in the 3D area.

  3. From the Explore Results section of the Assistant, click Plot Sectioning .
    A triad appears in the middle of the assembly, using the X-Y plane as the default cutting plane.
  4. In the shortcut toolbar, click Set cut normal as Y axis .
  5. Drag the cutting plane to move it in the direction of the selected axis.
  6. In the shortcut toolbar, click OK .
    You can now view a cross section of the fluid mesh inside of the artery. The mesh is relatively coarse along the walls, while the mesh is finer farther inside.

  7. From the Explore Results section of the Assistant, click Plot Sectioning .
  8. In the shortcut toolbar, click Deactivate cut and close .
    The app disables the cutting plane.
  9. Save your work.