Generating Mesh

The Generate Mesh operation uses all defined meshing controls as input to generate a mesh. Generate Mesh operates only on active objects, meaning that if bodies or controls are suppressed, they are ignored by the meshing operation. You can generate mesh on the entire (active) model, or selectively on (active) parts and/or bodies. This includes single body parts, multibody parts, individual bodies, or multiple selected bodies across different parts or within the same part.


Note:
  • Selecting Generate Mesh generates a mesh based on the current mesh settings. It does not write the output data for any connected cells (downstream systems). Generate Mesh is useful when you are investigating the impact of different settings on the mesh but you are not ready to export the mesh files. Refer to Updating the Mesh Cell State for related information.

  • Using selective meshing, you can selectively pick bodies and mesh them incrementally. After meshing a body, you can mesh the whole part or assembly or continue meshing individual bodies. Refer to Selective Meshing for additional information.


Monitoring the Meshing Process

The Ansys Workbench Mesh Status dialog box contains a Highlight check box that you can use to control whether the topology that is currently being processed by the mesher is highlighted in the Geometry window, which may help with troubleshooting.

You can enable and disable the Highlight check box during the meshing process. Meshing performance should be similar regardless of whether topology highlighting is enabled, but it may be less distracting to disable it. If topology highlighting is enabled and you stop the meshing process, the highlighted topology is selected for you automatically.

This topology highlighting is not supported for the Patch Independent Tetra or MultiZone mesh methods is being used. For information about how to set the default for topology highlighting, refer to Meshing Options on the Options Dialog Box.

Suppressing and Unsuppressing Bodies in a Model

When there is a combination of suppressed and unsuppressed (active) bodies in a model, the Meshing application meshes only the active bodies. This is true regardless of mesh method. In addition, all influence of the suppressed bodies on neighboring bodies and their meshes is suppressed. For example, if a size control is applied to a suppressed body, the size control will not affect that body, nor will it influence neighboring bodies (in general, if a size control is assigned to a suppressed body, that control is also suppressed unless it is also attached to other active bodies). Refer to Selective Meshing for additional information.

To generate the mesh for all active bodies:

  1. Select the Mesh object or any mesh control object.

  2. Right-click to display the context menu, or choose the Mesh drop-down menu from the toolbar.

  3. Select Generate Mesh in the menu.

    All active bodies are meshed. If the model includes multiple parts, they are meshed in parallel. The Ansys Workbench Mesh Status dialog box appears, displaying the meshing progress and highlighting each entity as it is meshed.

    After the mesh has been generated, it is displayed when you select the Mesh object or the Show Mesh display option.

  4. If necessary, stop the meshing process:

    1. In the Ansys Workbench Mesh Status dialog box, click Stop.

      To see which parts have been meshed, expand the Geometry object in the Tree Outline. A green status icon ( ) indicates that the part has been meshed.

    2. To restart the meshing process, right-click the Mesh object or any mesh control object and select Update.

      The meshing process resumes and meshes only the parts that have not yet been meshed.

To generate the mesh for individual active bodies:

  1. Select the bodies by doing one of the following:

    • In the Tree Outline, select one or more Body objects.

    • Select one or more bodies in the Geometry window.

  2. Right-click to display the context menu.

  3. Select Generate Mesh in the menu.

    The bodies that you selected are meshed. If you selected multiple parts, they are meshed in parallel. The Ansys Workbench Mesh Status dialog box appears, displaying the meshing progress and highlighting each entity as it is meshed.

    After the mesh has been generated, it is displayed when you select the Mesh object or the Show Mesh display option.

  4. If necessary, stop the meshing process:

    1. In the Ansys Workbench Mesh Status dialog box, click Stop.

      To see which parts have been meshed, expand the Geometry object in the Tree Outline. A green status icon ( ) indicates that the part has been meshed.

    2. To restart the meshing process, right-click the Mesh object or any mesh control object and select Update.

      The meshing process resumes and meshes only the parts that have not yet been meshed.

To generate the mesh for individual active parts:

  1. Select the parts by doing one of the following:

    • In the Tree Outline, select one or more Part objects.

    • In the Geometry window, select one or more parts.

  2. Right-click to display the context menu.

  3. Select Generate Mesh in the menu.

    The parts that you selected are meshed. If you selected multiple parts, they are meshed in parallel. The Ansys Workbench Mesh Status dialog box appears, displaying the meshing progress and highlighting each entity as it is meshed.

    After the mesh has been generated, it is displayed when you select the Mesh object or the Show Mesh display option.

  4. If necessary, stop the meshing process:

    1. In the Ansys Workbench Mesh Status dialog box, click Stop.

      To see which parts have been meshed, expand the Geometry object in the Tree Outline. A green status icon ( ) indicates that the part has been meshed.

    2. To restart the meshing process, right-click the Mesh object or any mesh control object and select Update.

      The meshing process resumes and meshes only the parts that have not yet been meshed.

After successfully generating a mesh, you can view mesh statistics and mesh metric information that you can use to evaluate the mesh quality. For more information, see Statistics Group and Quality Group.

To re-mesh:

  1. Select the Mesh object.

  2. Right-click to display the context menu and select Clear Generated Data in the menu.

  3. Confirm that you want to clear the mesh by clicking the Yes button.

  4. Right-click the Mesh object to display the context menu again and select Generate Mesh in the menu.


Note:
  • The order of topological entities is not guaranteed during a CAD source refresh. In cases in which you mesh, refresh, and re-mesh, the mesher may not produce exactly the same mesh if the refresh caused the topological entities to be reordered. As a result of this reordering, the mesher meshes the entities in a different order as well, producing a slightly different result.

  • When selected from the Geometry object in the Tree Outline, the Generate Mesh RMB menu option behaves slightly differently than when it is selected from the Mesh object in the Tree Outline. Refer to Selective Meshing for details.

  • Refer to Meshing: Troubleshooting for tips and strategies for handling problems that may occur during meshing.