Integrating ANSA
Integrating ANSA in the Optimization process.
ANSA Setup
Create Morphing-Boxes and -Parameters
| |
Set Up the Optimization TaskDefine the pre-processing sequence that will be connected to LS-OPT. This sequence of actions will be invoked in every optimization loop and every action of it will be executed in the defined order modifying the shape and parameters of the model. All these actions take place before the run of the solver. When the sequence runs the following tasks are executed:
Save the Design Variable file for example as model.txt. This file contains the Design Variable names and upper and lower bounds needed for the optimization. |
|
LS-OPT Setup
The ANSA preprocessor can be interfaced with LS-OPT allowing for shape changes to be specified.
Several files must be specified:
|
Example of the com-file:
$ $ DEFINITION OF SOLVER "1" $ SOLVER "1" uses ANSA solver dyna '1' $ prepro ANSA prepro command "/home/usr/bin/ansa.sh" prepro input file "model.txt" prepro database file "model.ansa" $ solver command "lsdyna" solver input file "ansaout" $