Selective Meshing

Using selective meshing, you can selectively pick bodies and mesh them incrementally. After meshing a body, you can mesh the entire part or assembly or continue meshing individual bodies. To generate the rest of the mesh in the model, use the Generate Mesh feature.

The following mesh methods are supported:

Remember the following information when using selective meshing:

Disabling Selective Meshing

Set the Allow Selective Meshing option to No to disable selective meshing. The Meshing application behaves as follows when selective meshing is disabled:


Note:  In some cases, the mesh may be generated in a selective fashion (i.e., body by body) even if selective meshing is currently disabled. For example, if you use selective meshing to mesh some of the bodies in a part, then disable selective meshing, and then generate the mesh and the mesh process does not invalidate any bodies, the mesh is generated using selective meshing processes. To avoid this behavior, you can use the Clear Generated Data feature or force a change of the mesh state on the part. Non-selective meshing will be used for all subsequent meshing.


Using the Mesh Worksheet to Create a Selective Meshing History

When you perform selective meshing, you control the sequence in which bodies are meshed. You can use the Mesh worksheet to create a selective meshing history, so that your meshing steps can be repeated in the desired sequence for any geometry update or re-mesh operation. Figure 192: Mesh Worksheet shows a sample Mesh worksheet. Each row in the worksheet corresponds to a step in the meshing sequence. When you generate the mesh, the software processes the steps one by one. For each step, the software selects the bodies identified by the specified Named Selection and meshes those bodies using the meshing controls that are applied to them.


Note:  The Mesh worksheet is a helpful meshing tool, but it does not manage mesh state. State management is handled at the prototype (i.e., Body object) and mesh levels. Mesh state is visible in the Tree Outline in the Geometry folder and in the Mesh folder. See Understanding States for more information.


Figure 192:  Mesh Worksheet

Mesh Worksheet

There are two ways to create a selective meshing history:

To create a selective meshing history by recording your steps:

  1. Click the Mesh object in the Tree Outline.

  2. Do one of the following:

    Right-click the Mesh object and select Start Recording from the context menu. As a result, the worksheet opens in recording mode automatically.
    -or-
    Click the Worksheet button on the toolbar and click the Start Recording button on the worksheet.
  3. Move the worksheet to the desired location to dock it. The location will persist whenever the Mesh object or one of its child objects is highlighted in the Tree Outline. For example, you may want to dock the worksheet alongside the Geometry window, allowing you to view both at once.


    Note:  The worksheet is not dockable on Linux platforms. On Linux, you can drag the worksheet off the Meshing application interface, and it will then appear in its own separate window.


  4. Do one of the following:

    Select one or more bodies or parts in the Geometry window, right-click, and select Generate Mesh on Selected Bodies. If you did not dock the worksheet, you may need to click the Worksheet button on the toolbar or the Graphics tab at the bottom of the worksheet to return to the Geometry window first.
    -or-
    Select one or more bodies or parts in the Tree Outline, right-click, and select Generate Mesh.

    As a result, a Named Selection for the selected set is generated (named Meshing_1, Meshing_2, Meshing_3, and so on) and is added to the worksheet automatically.

    During recording, other steps in the worksheet are ignored while the mesh for the selected set is being generated. See below for additional notes on recording and playback behaviors.

  5. Repeat step 4 for each meshing step in the desired sequence.

  6. When you are done meshing bodies/parts, do one of the following:

    Right-click the Mesh object and select Stop Recording from the context menu.
    -or-
    Click the Stop Recording button on the worksheet.

    Note:  You do not have to record the meshing for all bodies, only those for which you want to record the meshing order. See Mesh Worksheet Recording and Playback Behaviors for details.


To create a selective meshing history manually:

  1. Click the Mesh object in the Tree Outline.

  2. Click the Worksheet button on the toolbar.

  3. Move the worksheet to the desired location to dock it. The location will persist whenever the Mesh object or one of its child objects is highlighted in the Tree Outline. For example, you may want to dock the worksheet alongside the Geometry window, allowing you to view both at once.


    Note:  The worksheet is not dockable on Linux platforms. On Linux, you can drag the worksheet off the Meshing application interface, and it will then appear in its own separate window.


  4. Add a row to the worksheet by right-clicking on the table and selecting Add from the context menu.

  5. In the new row, click on the Named Selection column and select a Named Selection from the Named Selection drop-down.

  6. Repeat steps 4 and 5 for each meshing step in the desired sequence.

Mesh Worksheet Recording and Playback Behaviors

Remember the following information regarding recording and playback behaviors:

Mesh Worksheet Named Selection Behaviors

Remember the following information regarding Named Selection behaviors:

Miscellaneous Points to Remember


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