Casting - Triple Clamp

Step 1: Start MSC Apex Generative Design

The program starts and you can directly create your optimization model

Step 2: Model generation

You can either create the geometry directly in MSC Apex Generative Design or import already existing files. You can import for example .xb, .xt, .step, and .sldprt files into the program.

  • Import/create the Design Space including the Interfaces (Non-Design Spaces) in MSC Apex Generative Design as one solid.

  • Open the Optimization Tools to select the imported Geometry as the Design Space.

  • Choose the material AlSi10Mg in the Materials editor and assign it to the Design Space. In this case the material behavior is Isotropic.

  • The Tension Strength is the maximum allowable stress for the material and is set to 460 MPa.

Step 3: Definition of boundary conditions

Creation of local coordinate systems to apply forces

Go to the Loads & Boundary Condition Tool to enter the loads and fixations. Displacements, Forces, Moments, Gravity and Pressure Loads can be applied using different selection options.

To apply the forces the Force Tool from the Loads & Boundary Condition Tools is needed.

Loads & Boundary Condition for Event 1

For the first Event two remote loads are created (Force 1 & Force 2) on the shown surfaces with the given values in the tables.

Force 1 is applied on the left, big cylindrical surface:

 

Name

 

Force/Moment/Pressure/Gravity

 

Direction

 

Scale Factor

 

Value in N/Nmm

 

Force 1

Force on faces - Point of Application: Marked center of the cylindrical surface

z

1

-3000

 

Force 2 is applied on the other big cylindrical surface:

 

Name

 

Force/Moment/Pressure/Gravity

 

Direction (depending on local coordinate system)

 

Scale Factor

 

Value in N/Nmm

 

Force 2

Force on faces - Point of Application: Marked center of the cylindrical surface

z

1

-3000

For the first Event one Displacement constraints at the middle cylinder is created:

Name

 

Direction

 

Constraint 1

x, y, z (=0)

Under Displacement Constraints a “clamped” constraint can be chosen, which locks translations in all three directions. On the left side of the Tool the relevant geometry choice can be selected. In this case the surface of the middle cylinder is selected to attach the constraints as shown in the picture below.

Loads & Boundary Condition for Event 2

For Event 2 four loads and one displacement constraint on each side are needed.

Name

 

Force/Moment/Pressure/Gravity

 

Direction (depending on local coordinate system)

 

Scale Factor

 

Value in N/Nmm

 

Force 3

Force on faces - Point of Application: Marked center of the cylindrical surface

y

1

-200

Force 4

Force on faces - Point of Application: Marked center of the cylindrical surface

y

1

-200

Force 5

Force on faces - Point of Application: Marked center of the cylindrical surface

y

1

200

Force 6

Force on faces - Point of Application: Marked center of the cylindrical surface

y

1

200

And the same clamping loads (Load 7, 8, 9, 10) are also applied on the other side.

On both outer bigger cylinders clamped displacement constraints are applied:

Name

 

Direction

 

Constraint 2

x, y, z (=0)

Constraint 3

x, y, z (=0)

Step 4: Interface Creation

Interfaces have to be created for every functional surface - so every surface where a boundary condition is applied to. With this Tool an offset to the inside with the input “Non-Design Space Thickness” and an offset to the outside with the input “Machining Allowance” is created. The Offset Distance is expanding the Interface to the set value to create material on front faces.

All surfaces on which a boundary condition is applied can be selected directly as an interface with the “Select Faces from Loads and Boundary Conditions” button. The Boundary Condition surfaces will be highlighted and can be selected/deselected. With “Apply” the Non-Design Space Thickness, Machining Allowance and if available Offset Distance values will be applied to the selected surfaces.

  • In this case for the outer, bigger cylinders and the middle cylinder inclusive the front faces are manually selected. A Non-Design Space Thickness of 3 mm and a Machining Allowance of 1 mm is entered.

  • Note: the Interface Offset (usually displayed in red) is not visualized due to a limitation. The correct value will be considered in the optimization.

  • On the smaller outer cylinders a Non-Design Space Thickness of 1mm and a Machining Allowance of 0.5 mm is applied. For these cylinders the “automatically create interface” option can be used by selecting the corresponding boundary conditions on these surfaces.

Step 5: Definition of load cases

The next steps are defined in the Studies area.

All boundary conditions must be assigned to the specific load cases, which are defined as Events. The number of Events can be changed by adding/deleting Events to the GD Scenario. The assignment of the boundary conditions to the Events can be made in the Loads & Constrains Window. The already created loads and constraints that concern the Design Space are listed in this window and can be activated for each Event individually.

  • Event 1: Force 1, Force 2, Constraint 1

  • Event 2: Force 3, Force 4, Force 5, Force 6, Force 7, Force 8, Force 9, Force 10, Constraint 2, Constraint 3

Step 6: Definition of optimization parameters and Generative Design Settings

The optimization parameters are selected in the Studies Area as well.

  • Manufacturing Method: Generic AM

  • Failure Criteria: Von Mises

  • Safety Factor: 20

  • Strut Density: Medium

  • Shape Quality: Balanced

  • Complexity Setting: 10

Step 7: Casting Design Rules via the Advanced User Settings

To change the Manufacturing Method to Casting the Advanced User Settings have to be used.

The following commands are added to the scenario:

configuration.strategy=Casting

tool.tool0.draft=5
tool.tool0.direction.x=0
tool.tool0.direction.y=0
tool.tool0.direction.z=1

tool.tool1.draft=5
tool.tool1.direction.x=0
tool.tool1.direction.y=0
tool.tool1.direction.z=-1

With the first command the optimization strategy is set to Casting. The following commands defining tools. Each tool is one draw direction for the manufacturing process. The actual draw direction is set as a vector. For each draw direction a draft angle can be set. The draft angle (specified in degrees) is the tapering angle for walls/ribs regarding the draw directions.

In this case two draw directions are defined in positive and negative z-direction and a tapering angle of 5°.

Step 8: Starting the optimization and visualize the results

If all data is correct, the optimization can be started and tracked in the Post Processing. The Analysis Readiness function checks if all information is provided and the optimization can start.

All result iterations are displayed as soon as they are available. Furthermore, you are able to stop the optimization in this selection area. However, a Restart is not directly possible.

The optimization is finished after 64 iterations (Shape Quality: Balanced).

You can check the status of the optimization in the GD Status and get more information on Warning and Error messages. This can be done directly in the Post-Processing as well as in the Studies tab for an optimization that has already run.

Casting Regions

Step 1: Open existing casting project

Open the already set up casting project of the Triple Clamp.

Step 2: Define Casting Regions

To define Casting Regions additional volumes have to be defined and exported. In this case we want to create one Casting Region on the left-hand side and another on the right-hand side.

Therefore, a new Part is created in the model tree with a copy of the Design Space solid (Transform tool, movement with 0mm) and a surface to split the Design Space into several Casting Regions. The Split Tool is used to perform this action.

Two solids are created which are renamed to Solid 1 & Solid 2:

Step 3: Add Advanced User Settings - Casting Regions settings

The already defined settings for the previous casting optimization are kept. These define the Casting optimization as well as two draw directions with a tapering angle of 5°. This time positive Z-direction and negative Y-direction are defined as Draw directions.

configuration.strategy=Casting

tool.tool0.draft=5
tool.tool0.direction.x=0
tool.tool0.direction.y=0
tool.tool0.direction.z=1

tool.tool1.draft=5
tool.tool1.direction.x=0
tool.tool1.direction.y=-1
tool.tool1.direction.z=0

Additionally, the both casting regions are added and linked to the draw directions.

toolRegion.region0.geometryName= toolRegion0

toolRegion.region0.tools.tool0

toolRegion.region1.geometryName= toolRegion1

toolRegion.region1.tools.tool1

 

geometry.toolRegion0.path = Solid 1.stl

geometry.toolRegion1.path = Solid 2.stl

There is no limitation in the number of draw directions (tools) and Casting Regions (toolRegions). Several draw directions can be linked to one Casting Region.

Step 4: Export of the optimization scenario & casting regions

The optimization scenario is exported to a freely selectable folder.

Into the same folder the created Casting Regions are exported as a .stl file. (Attention: The unit system has to be in meters!)

Step 5: Command line optimization start

Now, inside the exported folder the optimization input (configuration file & geometry files) as well as the manual created Casting Regions can be found:

A PowerShell or command line has to be opened in this folder. Inside the MSC Apex installation folder the runGD_Engine.bat has to be executed to start the optimization. As an argument the name of the configuration file has to be added.

& 'C:\Program Files\MSC.Software\MSC Apex\2024-011290\runGD_Engine.bat' -c .\GD_Scenario_1.json

After pressing enter the optimization starts in the command line.

Step 6: Quick modification of the optimization set-up

By opening the configuration file (.json) the optimization parameters and the casting set-up can be modified easily.

In the tool section additional tools can be added and linked to the toolRegion. Each tool can be one draw direction with a specified tapering angle.

Step 7: Post Processing & Visualization of the results

The optimization results are saved in an additional subfolder with a timestamp.

image-20240514-112544.png

These results can be imported back to MSC Apex GD (File → Import → Import GD Results).

image-20240514-140910.png

You can go back to the model setup by clicking the Exit button in the right bottom corner.