Personal tools

Linear Response Surface with Strategy Single Stage

A first assessment of the design: Strategy "Single Stage" (one iteration) with linear response surface.

Solution with LS-OPT

Solution with LS-OPT

Strategy

Strategy

Select a Strategy for Metamodel-based Optimization

 

  1. Select the Strategy tab.strategy1.png
  2. Be sure that the radio button of the section Strategy for Metamodel-based Optimization is switched to "Single Stage"

 

 

 

 

 

 

 

 

 

 

 

Solver

Solver

Define Solver and Input File

 

  1. Select the Solvers tab.
  2. For Command specify the LS-DYNA executable ls971_R4_2 (This name can be different on your computer).
  3. For Input File browse the file main.k.
  4. Enter a name for Name of Analysis Case, e.g. 1.
  5. Push the Add button.

solver_specify1.png 

 

Variables

Variables

Define the Variables

 

  1. Select the Variables tab. The variables are already defined in the input file main.k using *PARAMETER (see below) and therefore cannot be deleted.
  2. For Type of tbumper switch the menu to Variable.
  3. Enter 1 for the Minimum of the variable.
  4. Enter 5 for the Maximum of the variable.
  5. For Type of thood switch the menu to Variable.
  6. Enter 1 for the Minimum of the variable.
  7. Enter 5 for the Maximum of the variable.

 

var_neu.png

keywordfile.png

 

Sampling

Sampling

Choose the sampling

 

  1. Select the Sampling tab.resp_sampling1.png
  2. For METAMODEL select from the list Polynomial.
  3. For Order of the Polynomial model we take Linear.
  4. Make sure that the Point Selection is set to D-Optimal, which is recommended.

 

 

 

 

 

 

 

 

 

 

 

 

Responses

Responses

Define the Responses

 

Define x-displacement of node 432

  1. Select the Responses tab.
  2. From the possible response types select: NODOUT.
  3. For Node ID enter 432.
  4. For Component select from the list Displacement.
  5. For Direction select X Component.
  6. For Response Name enter Disp2.
  7. Push the Add button.

resp_disp21.png

Define x-displacement of node 167
  1. Stay in the Responses tab.
  2. From the possible response types select: NODOUT.
  3. For Node ID enter 167.
  4. For Component select Displacement from the list.
  5. For direction select X Component.
  6. For Response Name enter Disp1.
  7. Push the Add button.

resp_disp11.png

Define x-acceleration of node 167
  1. From the possible response types select: NODOUT.
  2. For Node ID enter 167.
  3. For Component select Acceleration from the list.
  4. Select the X Component.
  5. From Select choose Maximum Value.
  6. Enter 0.0 in the From time field (this will choose the max. value of acceleration in x-direction during the crash).
  7. For Filtering choose SAE Filter.
  8. Enter 60.0 for Frequency.
  9. For Response Name enter MaxAccel.
  10. Push the Add button.

resp_maxaccel1.png

Define head injury coefficient of node 432
  1. From the possible response types select: Injury Criteria.
  2. For Node ID enter 432.
  3. For Component select from the list Head Injury Coef.
  4. For Time interval select 15ms.
  5. For Time unit select s.
  6. For Length unit select mm.
  7. For Response Name enter HIC.
  8. Push the Add button.

resp_HIC2.png

Define mass responses for structural components

  1. From the possible response types select: MASS.
  2. In the List of Parts enter 2.
  3. Push the (Add) > button.
  4. Repeat the previous steps and create this list of parts:
      List of Parts:
    2
    3
    4
    5

    Note The part ID numbers can be found in Fig. 1(b): bumper (2), hood (3), front (4) and underside (5).

  5. For Response Name enter MASS.
  6. Push the Add button.

resp_mass1.png

Define composite response intrusion of Disp1 and Disp2

  1. From the possible response types select: Composite.
  2. For Composite Components select Responses.
  3. From Response select Disp2.
  4. For Weight enter -1.0.
  5. From Response select Disp1.
  6. For Weight enter 1.0.
  7. For Composite Function Type select Weighted.
  8. For Response Name enter Intrusion.
  9. Push the Add button.

resp_comp_intru1.png

 

 

Objective

Objective

Objective

 

  1. Select the Objective tab.
  2. From Response select HIC as the objective.
  3. For Weight leave the default 1. If you have several objective functions, you may assign weight to each one according to their importance.

 

 

resp_objective1.png

 

Constraints

Constraints

Constraints

 

  1. Select the Constraints tab.
  2. From Response select Intrusion as the constraint.
  3. For Lower Bound accept the default -inf.
  4. For Upper Bound enter 550.

 

 

resp_constraint1.png

 

Run

Run

Run LS-OPT

 

  1. Select the Run tab.
  2. Push the Run button. (Save the project as com.linear.single)

 

 

run1.png

 

Com-file

Com-file

The created command file may look like this:

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Command file "com.linear.single"
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$ Generated using LS-OPT Version 4.1
$
"Optimization Problem"
$
$ Created on Wed Dec  8 10:17:55 2010
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 "ls971_R4_2"
  solver input file "main.k"
  solver check output on 
  solver compress d3plot off 
$ ------ Pre-processor --------
$   NO PREPROCESSOR SPECIFIED
$ ------ Post-processor --------
$   NO POSTPROCESSOR SPECIFIED
$ ------ Metamodeling ---------
  solver order linear
  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.0000"
 response 'HIC' 1 0 "BinoutResponse -res_type Nodout  
  -cmp HIC15  -units S -lengthunits MM -id 432"
 response 'MASS' 1 0 "DynaMass 2 3 4 5 MASS"

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
$
$ PARAMETERS FOR METAMODEL OPTIMIZATION
$
 Metamodel Optimization Strategy SINGLESTAGE
$
  iterate param design 0.01
  iterate param objective 0.01
  iterate param stoppingtype and
$
$ OPTIMIZATION ALGORITHM
$
 Optimization Algorithm hybrid simulated annealing
  Use GSA
$
$ JOB INFO
$
 iterate 0
STOP

Results

Results

Accuracy

Accuracy

What is the approximation error of the result?

The approximation error indicators (predict the metamodel accuracy of the results) can be either visualized in the LS-OPT Viewer  or found in the lsopt_output file, e.g. for the response HIC you may find:

 

LS-OPT Viewer

 

Start the LS-OPT Viewer by selecting the View tab and

  1. Select under Metamodel the item Accuracy
  2. From Entity select Responses → HIC.
  3. We can find RMS Error and R2 (R-sq) above the plot.

 

 

 

 

 

 

 

 

 

→ The coefficient of determination (R2) is high (=0.922), but the RMS Error may need further improvement, e.g. more iterations or selection of a more suitable metamodel (e.g. Feedforward Neural Network or Radial Basis Function Network). Nevertheless for a raw estimate the result may be considered as acceptable.

new_plot1.png

acc_responses_view1.png

lsopt_output File

 

  1. Open the lsopt_output file with a text editor.
  2. Search in the file for "Approximating".
  3. Find the appropriate values for root mean square error (RMS Error) and R2.
acc_responses_file1.png

 

With the same procedure you may find the RMS Error and R2 of the other responses:

 

Mean Response Value

RMS Error

R2

MASS

0.7742

0

1

Disp1

-159.3846

2.0286 (1.27%)

0.4790

Disp2

-694.5753

5.5459 (0.80%)

0.9896

HIC

275.72

76.5620 (27.77%)

0.9224

 

 

Sensitivities

Sensitivities

Which variable appears to be the most important?

The significance of a variable for a response can be illustrated with ANOVA (analysis of variance) or GSA/Sobol (global sensitivity ananlysis), e.g for the response HIC you may find:

 

LS-OPT Viewer

 

    ANOVA

  1. Restart the LS-OPT Viewer and select under Metamodel the item Sensitivity
  2. Select  Linear ANOVA in the new window.
  3. From Response select HIC.
  4. Sort the variables according to their significance for HIC

 

 

 

 

 

 

 

 

 

→ For the response HIC the variable thood is more important, while the variable tbumper is rather insignificant.

 

 

 

 

 

 

 

 

 

   

 

    GSA/Sobol

  1. Select GSA/Sobol.
  2. From Response select HIC.
  3. Sort the variables according to their significance for HIC.

 

→ We come to the same conclusion by using GSA. The influence of thood on HIC is 84.9%, larger than that of tbumper (15.1%).

menubar1.png

new_plot2.png

anova_view1.png

gsa_view1.png

lsopt_output File

 

  1. Open the lsopt_output file with a text editor.
  2. Search in the file for "Ranking".
  3. Find out the importance of each of the variables for the response.
anova_file1.png

 

Computed vs. Predicted

Computed vs. Predicted

Study the change in each of the variables/responses and the accuracy of the predicted compared to the computed result.

The accuracy of the starting point and the approximate optimum points after the first iteration can be illustrated, e.g. for the response HIC you may find:

 

LS-OPT Viewer

 

  1. Restart the LS-OPT Viewer and select under Optimization the item History.
  2. From the left side of the window select Responses → HIC.
  3. For Value to Plot select Value.
  4. If you want to see the accurate values, simply click nearby the red points. There appears a table, which states all the computed and predicted data, e.g. computed HIC vs. predicted HIC.

 

 

 

 

 

 

 

→ You can find out the appropriate values for the predicted (black) and the computed (red points) results. More iterations may lead to a better predictive capability.

 

menubar1.png

new_plot3.png

comp.vs.pred_view1.png

(Note the range of the values when assessing the accuracy)

comp.vs.pred_view2.png

lsopt_output File

 

  1. Open the lsopt_output file with a text editor.
  2. Search in the file for "Evaluating Starting Design" and scroll a bit more forward.
  3. You may find both the initial values of HIC, computed vs. predicted.
  4. Search now in the file for "F I N A L".
  5. The final values of HIC (computed and predicted) after one iteration are available.

comp.vs.pred_file1.png

comp.vs.pred_file2.png

 

With the same procedure you may find the other values of the variables and the responses:

 StartFirst Iteration
 PredictedComputedPredictedComputed
thood 1 1.548
tbumper 3 5
MASS0.41030.41030.65690.6569
Intrusion577.3575.7550550.5
HIC74.5768.0238.63126.5
Max. Constr. Violation27.2725.681.162e-40.4658

 

Download

Download

The complete data set (input and command files) is available for download:

For Linux

For Windows