Versions Compared

Key

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

How to perform an optimization without the Graphical User Interface is shown on the example of the Bookshelf. For the setup of this model have a look at the tutorial Generative Design - Bookshelf.

The already set up prepared optimization scenario can be exported from MSC Apex Generative Design via right klick on the Scenario and chossing the Export option.

...

For the export a job name and the export folder has have to be chosen and furthermore the export unit system has to be selected.

...

In this folder all necessary files for the optimization are saved - the stl files as geometry input and the configuration file (.GD_Engine) with all the optimization information. The configuration file contains all information necessary for the algorithm to run through the optimization and can be edited to change the optimization parameter. How Further information on the structure of the configuration file is strucutred here.

...

To start the optimization with a command line a windows powershell is needed. This powershell has to be startet started inside the folder. Therefore the keys shift+right mouse button has have to be used inside the windows folder.

...

Another option is to start the powershell and then navigate to the optimization folder.

...

After opening the power shell powershell the GD Eninge.bat-file has to be executed. Therefore, the right path to this file has to be chosen.

'C:\Program Files\MSC.Software\MSC Apex Generative Design\2020-737572\runGD_Engine.bat'

With Enter the optimization start can be submittedstart of the optimization is initialized.

...

In the following the status of the optimization is displayed in the powershell and can be tracked this way. The powershell needs to be stay open until the optimization is done. By closing the powershell the optimization is terminated.

...

In the expoted exported folder an new folder will be created (Opti_datestamp_timestamp) in which all output files will be writtenare saved in.

...

When the optimization is finished, the result files can be imported back into MSC Apex Generative Design to visualize and evaluate the results inside in the post processing. Therefore under , choose File->Import Generative Design Results and select the result folder has to be selected. Under the studies tab a new scenario with the imported files will be created. The results can be imported to a an already existing Apex project or to a new blank one.

...

After this the post process can be used as usual. More information regarding the post processing here.

...