Document Actions
Quadratic RS
This example deals with a quadratic approximation and conducts a trade-off study using the Repair feature.
Solution with LS-OPTui
Document Actions
Solution with LS-OPTui
Metamodel
Metamodel
Load the com.linear file you created in the first part or download the input file above.
Change Metamodel Order
| ![]() |
Repair Task
Repair Task
Repair Task
|
|
Run
Run
Run Panel
+ Push the Run button.
+ Push the Run button.
+ Push the Run button.
+ Push the Run button.
+ Push the Run button. |
|
Metamodel Task
Metamodel Task
Metamodel-based Optimization Task
| ![]() |
Verification
Verification
Verification Run
This step performs the optimization and the verification run of the predicted optimum point (known as Iteration 2). | ![]() |
Com-file
Com-file
The created command file may look like this:
"Optimization Problem"
$ Created on Fri Jan 4 15:46:29 2008
solvers 1
responses 5
$
$ NO HISTORIES ARE DEFINED
$
$
$ DESIGN VARIABLES
$
variables 2
Variable 'tbumper' 3
Lower bound variable 'tbumper' 1
Upper bound variable 'tbumper' 5
Variable 'thood' 1
Lower bound variable 'thood' 1
Upper bound variable 'thood' 5
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$ OPTIMIZATION METHOD
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$
Optimization Method SRSM
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$ SOLVER "1"
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$
$ DEFINITION OF SOLVER "1"
$
solver dyna960 '1'
solver command "/home/prak1/LS-DYNA/ls971_s_7600_1224_ia32_redhat90"
solver input file "/home/prak1/LS-OPT/beispiele/crash_optimization/files/quadratic2/main.k"
solver check output on
solver compress d3plot off
$ ------ Pre-processor --------
$ NO PREPROCESSOR SPECIFIED
$ ------ Metamodeling ---------
solver order quadratic
solver experiment design dopt
$ ------ Job information ------
solver concurrent jobs 1
$
$ RESPONSES FOR SOLVER "1"
$
response 'Disp2' 1 0 "BinoutResponse -res_type Nodout -cmp x_displacement -id 432 -select TIME "
response 'Disp1' 1 0 "BinoutResponse -res_type Nodout -cmp x_displacement -id 167 -select TIME "
response 'MaxAccel' 1 0 "BinoutResponse -res_type Nodout -cmp x_acceleration -id 167 -select MAX -start_time 0.0000 -filter SAE -filter_freq 60.0"
response 'MASS' 1 0 "DynaMass 2 3 4 5 MASS"
response 'HIC' 1 0 "BinoutResponse -res_type Nodout -cmp HIC15 -gravity 9810.0 -units S -id 432"
composites 1
$
$ COMPOSITE RESPONSES
$
composite 'Intrusion' type weighted
composite 'Intrusion' response 'Disp2' -1 scale 1
composite 'Intrusion' response 'Disp1' 1 scale 1
$
$ OBJECTIVE FUNCTIONS
$
objectives 1
objective 'HIC' 1
$
$ CONSTRAINT DEFINITIONS
$
constraints 1
constraint 'Intrusion'
upper bound constraint 'Intrusion' 550
$
$ JOB INFO
$
concurrent jobs 1
iterate param design 0.01
iterate param objective 0.01
iterate param stoppingtype or
iterate 1
STOP
Results
Document Actions
Results
Simulation Points
Simulation Points
View the simulation points in the design spaceOpen the LS-OPT Viewer.
| ![]() |
This can also be done in 3 dimensions.
| ![]() |
Accuracy
Accuracy
The accuracy of the response surface.
| RMS Error | R2 Indicator | |
| HIC | 28.5641 | 0.9810 |
| Disp2 | 3.806 | 0.9934 |
The results can either be found in the LS-OPT Viewer or the lsopt_output file.
Start LS-OPT Viewer
→ A small RMS error together with a R2 value ~1 indicates low noise and good fit for the response. | ![]() |
Open the lsopt_output.x filewhere x is the 'Extract Results' run from the Repair Task, e.g. x=5 Search for 'Approximation' to find the appropriate values for the root mean square error (RMS error) or the R2 indicator. | ![]() |
Linear vs. Quadratic
Linear vs. Quadratic
The improvement of the optimal design (comparison between linear and quadratic approximation).
LINEAR (final result) | QUADRATIC (final result) | |||||||||||||
| Predicted | Computed | Predicted | Computed | |||||||||||
| thood | 1.546 | 1.666 | ||||||||||||
| tbumper | 5 | 3.697 | ||||||||||||
| HIC | 38 | 126.2 | 113.3 | 169.8 | ||||||||||
| Mass | 0.6565 | 0.6564 | 0.6043 | 0.6043 | ||||||||||
| Intrusion | 550 | 550.5 | 550 | 548.9 | ||||||||||
→ As expected the quadratic approximation gives already after one iteration a better prediction for the ojective function (HIC) than the linear approximation.
Max. Constr. Violation
Max. Constr. Violation
Study the maximum constraint violation history.
Maximum Constraint Violation
→ The constraint is not violated after the first iteration. | ![]() |
Download
Download
The complete data set (input and command files) is available for download as tar.gz crash_quadratic.tar.gz or zip-file crash_quadratic.zip.









