Replacing a Part in a Parts-Based Volume Mesh
Simcenter STAR-CCM+ provides a Replace Part operation that allows you to repeat the meshing pipeline with one or more different parts. When the replacement part is defined by a file input from a global parameter, you can use Design Manager to supply the list of filenames during a design study.
- In Simcenter STAR-CCM+, right-click and select .
- Select the [file parameter] node and set File to the geometry file that contains the first replacement part.
You can replace a target part with an existing part from the
node or with a part stored in an external file. For an external file, you can either pick a file directly, or you can reference a file-based global parameter that contains the file path.When replacing a part in parts-based meshing, you require a placeholder part that holds the geometry of the replacement part. This placeholder part becomes the target part in the replace part operation. The placeholder part can be an individual part or a composite part/assembly (a collection of parts grouped together). When replacing a composite part, both the target and source parts must be similar (for example, the source part must be an assembly if the target is an assembly).
- Leaf-level CAD part
- Leaf-level mesh part
- Detached mesh operation part
- Composite part
- 3D-CAD part
- Simple shape part
- Solid Model part
- Mesh operation part
When importing from an external file, you can only import a discrete mesh file to replace a discrete leaf-level mesh part. You can only replace a CAD part with another CAD part. You can replace a discrete part with another discrete part, or a CAD part. When choosing a CAD file as a source part for a discrete mesh target part, an additional Tessellation Options node appears under the replace part operation node. Here, you can define the tessellation parameters. See Tessellation Density and Show Detailed Tessellation Parameters.
To replace a part within the meshing pipeline:
- Right-click on a supported part that you want to replace and select Duplicate. This step creates a leaf-level placeholder part that contains the replacement part in subsequent steps.
- Right-click the node and select .
- In the Replace Part dialog: When replacing a composite part, the operation works through the source assembly and finds the equivalent part in the target assembly. The mesh is then replaced on the target parts if they match a source part. The operation also matches parts at the same hierarchy using part names. The name at the top level of the assembly (the name of the source part and target part) are not matched.When replacing a part using an existing part, there may be situations where the source assembly does not have an equivalent part in the target assembly. In such cases — for example, if one of the parts has some part surfaces which are named — after executing the replace part operation, a new part is created and all named part surfaces are assigned to the Default part surface. If you want to maintain the named part surfaces, activate the Create Equivalent Part Entities option in the Match Part Entities node. See Replace Part Operation Properties: Match Part Entities Properties.
- In all subsequent mesh operations that reference the replaced part, use the placeholder part from step 1 instead of the original part.