Replacing the Wing and Executing the Pipeline

An advantage of parts-based meshing is that when you have defined the series of mesh operations, you can repeat them on different initial geometries.

In this tutorial, you replace the rear wing component and run the meshing pipeline to generate a new volume mesh. With local surface meshing active, STAR-CCM+ only remeshes surfaces in predefined areas of the fluid domain and uses the existing mesh elsewhere. Local surface remeshing can significantly reduce the amount of time required for remeshing geometries.

Create a part shape that encloses the rear wing component:

  1. Right-click the Geometry > Parts node and select New Shape Part > Block.
  2. In the Create/Edit Block Part dialog, enter the following properties:
    Property Setting
    Corner 1 [3.71, -1.05, 0.30] m
    Corner 2 [4.33, 0.03, 1.06] m


  3. Click Create then Close.
    A new block part, Block, is added to the Parts node. Every surface that is contained within this volume is remeshed locally. All surfaces outside this volume remain unchanged.
  4. Rename the Block part to Local Meshing.
Activate local meshing and select the volume extent to define the volume that is meshed locally:
  1. Select the Geometry > Operations > Automated Mesh node and activate Perform Local Meshing.
    The Local Extents node is added to the Automated Mesh node.
  2. Right-click the Local Extents node and select New > Volume Extent.
  3. Select the Local Extents > Volume Extent node and set the following properties:
    Property Setting
    Parts Local Meshing
    Inflation Distance 0.01 m

    The inflation distance provides a transition zone that allows the mesh to change outside the specified part.

Swap the rear wing for a different design and remesh the geometry:
  1. Expand the Geometry > Parts > Vehicle Assembly node.
  2. Right-click the Wing node and select Replace Part.
  3. In the Open dialog, navigate to the [INSTALL_DIR]/doc/startutorialsdata/mesh/data directory, select pbm_wing2.x_b, and click Open.
    Operations that require an update are marked with a yellow warning triangle.
  4. Right-click the Geometry > Operations node and select Execute All.
    When complete, the Graphics window displays the updated volume mesh.
  5. Save the simulation.