How to perform an optimization without the Graphical User Interface is shown on the example of the Bookshelf.
The already set up optimization scenario can be exported from MSC Apex Generative Design.
For the export a job name and the export folder has 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 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 inside the folder. Therefore the keys shift+right mouse button has to be used inside the windows folder.
After opening the power shell 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 submitted.
In the following the status of the optimization is displayed. The powershell needs to be open until the optimization is done.
In the expoted folder an new folder will be created (Opti_datestamp_timestamp) in which all output files will be written.
When the optimization is finished, the result files can be imported back into MSC Apex Generative Design to evaluate the results inside the post processing. Therefore under File->Import Generative Design Results 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 already existing Apex project or to a new blank one.
After this the post process can be used as usual.
0 Comments