Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Force/Moment/Pressure/Gravity

Direction

Value in N/Nmm

Force 2

Force on faces

x

1

Force 3

Force on faces

x

1

...

Info

In Step 6 the dummy loads will be modified to displacement constraints with a RBE2 tie and unconstraint rotational degrees of freedom.

Step 4: Interface Creation

...

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 a Non-Design Space Thickness of 3 mm and , a Machining Allowance of 1 mm and an Offset Distance of 3 mm is entered. Via “Automatically create interfaces from Loads and Boundary conditions” the interfaces are created automatically for all 3 cylinders.

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

...

  • 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

...

All boundary conditions must be assigned to the specific load cases, which are defined as Events. The number of Eventscan be changed by adding/deleting Eventsto the GD Scenario. The assignment of the boundary conditions to the Eventscan 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 Eventindividually.

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

...

Step 6:

...

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 optimisation 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°.

...

Modifying the dummy loads to displacement constraints (with RBE2 ties)

With the Advanced User Settings the dummy loads (Load 2, Load 3) are modified to displacement constraints.

Dummy load Force 2 is changed to a RBE2 discrete tie. Furthermore, the translational degrees of freedom in all 3 directions and the rotational degrees of freedom around the y- and z-axis are constraint. The rotation around the x-axis is free.

The same is done for the second dummy load. For this the translational displacement in x-direction is free as well.

boundaryCondition.ModelLoadEvent_Force_2_Force.tyingMode=RBE2
boundaryCondition.ModelLoadEvent_Force_2_Force.displacement.x=0
boundaryCondition.ModelLoadEvent_Force_2_Force.displacement.y=0
boundaryCondition.ModelLoadEvent_Force_2_Force.displacement.z=0
boundaryCondition.ModelLoadEvent_Force_2_Force.displacement.ry=0
boundaryCondition.ModelLoadEvent_Force_2_Force.displacement.rz=0

boundaryCondition.ModelLoadEvent_Force_3_Force.tyingMode=RBE2
boundaryCondition.ModelLoadEvent_Force_3_Force.displacement.x=0
boundaryCondition.ModelLoadEvent_Force_3_Force.displacement.z=0
boundaryCondition.ModelLoadEvent_Force_3_Force.displacement.ry=0
boundaryCondition.ModelLoadEvent_Force_3_Force.displacement.rz=0

...

Step 7: Definition of optimisation parameters and Generative Design Settings

...

...

Step 8: Starting the optimisation in the command line and visualize the results

If all data is correctBecause the graphical user interface does not support the displacement constraints with rotational degrees of freedom yet, the optimisation can be started and tracked in the Post Processing. The Analysis Readiness function checks if all information is provided and the optimisation can start.

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

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

You can check the status of the optimisation 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 optimisation that has already run.

...

has to be executed in the command line.

Therefore, the optimisation scenario is exported to a freely selectable folder.

...

Inside the exported folder where all geometry information and the input configuration file for the optimisation lays a PowerShell or command line has to be opened.

Inside the installation folder of MSC Apex the “runGD_Engine-bat” has to be executed with the additional command (-c) for the configuration file.

& 'C:\Program Files\MSC.Software\MSC Apex\2023-009544\runGD_Engine.bat' -c .\RotationalDoF.json

...

The optimisation starts and all optimisation results will be saved in a subfolder.

Step 8: Importing the results back & visualisation

The optimisation results can be imported back into the graphical user interface. Therefore, the Import Generative Design Results option is used. The post processing can be accessed over the new imported scenario.

...

  • Inside the Post-Processing the von Mises stress and the displacements are visible for all iterations and for every Event

  • The Scale can be influenced individually

...

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

  • In the picture below the displacement in z-direction is displayed

...

With the Mission Switch the optimised result can be analysed with MSC Apex / Nastran. The following gif shows the rotation in the created displacement constraints.

...

The whole MSC Apex Generative Design project with all results can be downloaded here:

...

You might also be interested in these tutorials:

...