Linear Response Surface with Strategy Single Stage (original) (raw)

Working Directory and Extraction of necessary files

Project Details

  1. Select the Working Directory of the LS-OPT project.
  2. Select a suitable name for the file under Filename (e.g. linear.single). The extension .lsopt is appended by LS-OPT.
  3. Description of the main task can e.g. be a suitable name for Problem Description ( in this case, Small car crash optimization: LINEAR , optional) .
  4. Input the name of the Author (optional).
  5. Choose a suitable name under the Initial Sampling name (e.g. crash).
  6. Choose a suitable name under the Initial Stage name (e.g. crash).
  7. Press the Create button to initiate the formation of the input file.

Startup_page

mainscreen GUI

Home Screen Process Flowchart

  1. Select the Task icon.

A window Task selection shall open.

mainscreen task

Define the Main Task

  1. Select theradio button Optimization for the selection of the task
  2. The selection of the strategy for the metamodel is made to Single Iteration.
  3. To study Global Sensitivities for the input parameters remember to select the tick-box.
  4. The user has a choice to Do verification run by selecting the option. This will run an additional simulation using the optimal parameter values found on the metamodel to check the quality of the result.
  5. Click on the OK button to proceed.

task selection

Home Screen Process Flowchart

  1. Double click on the crash box.

A window Stage crash shall open.

mainscreen stage setup

Define Input File Name and Command

  1. Select the Setup tab.
  2. For Command specify the LS-DYNA executable ls-dyna (This name can be different on your computer). On Windows, the command has to be specified using the absolute path.
  3. For Input File browse the parameterized file main.k. Parameters in LS-DYNA input files can be defined using *PARAMETER or the LS-OPT parameter format <<>>.
  4. For efficient usage of the computing power from the machine, choice on handling number of concurrent jobs can be made suitably in this section. (E.g., if the machine has 4CPUs, and to run each job on a single CPU : Units per job = 1, Global limit = 4).

The parameters located in the selected Input File can be visualized in the adjoining tab Parameters.

setup_opt

Design Parameters.

  1. Select the Parameters tab.
  2. The first design parameter located in the input file main.k is displayed (In this case the thickness of the bumper, denoted as tbumper ).
  3. The second design parameter located in the input file main.k is displayed (In this case the thickness of the hood, denoted as thood ).

parameters stage

*KEYWORD *PARAMETER rtbumper,3.0,rthood,1.0 *INCLUDE ../../car5.k *END

Responses for Optimization

vehicle_crash1.pngvehicle_des_var2.png

Fig. 1(a): Deformed vehicle after 50 msFig. 1(b): Design variables with part numbers

Add First Response

  1. Click on the Responses tab.
  2. Select the suitable response type from the various option available from the list under Add new.
  3. For the first response select the option NODOUT , which represents an interface to LS-DYNA nodout results. Note that LS-OPT reads the results from the binout database.

A separate window emerges named**; Edit response**. This enables the user to define the response in suitable steps.

add response main

Define x-displacement of node 432

  1. For Response name enter Disp2.
  2. For Component select from the list Displacement.
  3. For Direction select X Component.
  4. For node ID enter 432.
  5. Click on the OK button to add the response.

Add Second Response

Define x-displacement of node 167

Disp2

Add Third Response

Define x-acceleration of node 167

  1. For Response name enter MaxAccel.
  2. For Component select from the list Acceleration.
  3. For Direction select X Component.
  4. For node ID enter 167.
  5. Select the Maximum Value option under Select. This will choose the max. value of acceleration in x-direction during the crash.
  6. For Filtering choose SAE Filter.
  7. Enter 60.0 for Frequency.
  8. Click on the OK button to add the response.

MaxAccel

Add Fourth Response

Define head injury coefficient of node 432

  1. For Response name enter HIC.
  2. For Time unit select s.
  3. For Length unit select mm.
  4. For Node ID enter 432.
  5. For Component select from the list Head Injury Criterion (HIC).
  6. For Time interval select 15 ms.
  7. Click on the OK button to add the response.

HIC

Add Fifth Response

Define mass responses for structural components

  1. For Response name enter Mass.
  2. For Parts to be included select List of parts.
  3. In the empty box underneathenter 2. Push the add button (denoted as +) to add the various parts 3, 4 and 5.
  1. Click on the OK button to add the response.

Mass

Responses Review

  1. The defined responses can be reviewed in the tab of the Response s under the Response definition. Necessary changes can be made by selecting the choice.
  2. To delete a Response definition click on the cross button (denoted as X).
  3. Additional responses can be added from the choice available under the Add new list as earlier.
  4. Click on the OK button to proceed.

view_response

Home Screen Process Flowchart

  1. Double click on the Setup box.

A window Problem global setup shall open.

mainscreen parameter

Define the Parameters.

  1. Select the Parameter Setup tab. Variables defined in Stages are automatically displayed here.
  2. For Type of tbumper switch the menu to Continuous.
  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 Continuous.
  6. Enter 1 for the Minimum of the variable.
  7. Enter 5 for the Maximum of the variable.

Parameter setup_nw

Stage Matrix Select the Stage Matrix tab. You find a matrix of parameters vs. stages, and symbols that visualize if parameters are found in input files. Stage Matrix
Sampling Matrix Select the Sampling Matrix tab.If you don't want to use a parameter as variable for a respective sampling, the variables can be switched off here. The parameters are treated as constants then. Click on the OK button to proceed_._ Sampling Matrix

Home Screen Process Flowchart

  1. Double click on the Sampling crash box.

A window Sampling crash shall open.

mainscreen sampling

mainscreen build_metamodel

Define Metamodel Settings

  1. Select the Sampling Metamodel Settings tab.
  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.
  5. Click on the OK button to proceed.

Sampling settings

Build Metamodels

  1. To review the Metamodel properties for optimization, select the Build Metamodels box.

A window Sampling crash shall open which is the same as in the Sampling box. It's displayed twice in the main GUI to visualize the flowchart of the optimization process.

Home Screen Process Flowchart

  1. Click on the Add (denoted as +) located in the control bar.
  2. Select the option Add Composite from the list.

A window Composites shall open.

add a composite

Composite Definition

  1. Select the option Standard Composite for the type of composite under the list for Add new.

A separate window named as Composites shall open.

add composite type

Add Composite

  1. Enter the Name for composite as Intrusions.
  2. Add Disp2 as the first component.
  3. Add Disp1 as the second component.

composite_names

Define composite intrusion

  1. For Multiplier for Disp2 enter -1.
  2. Check for the Divisor for Disp2 at 1 (default).
  3. Check for the Multiplier for Disp1 at 1 (default).
  4. Check for the Divisor for Disp1 at 1 (default).
  5. Click on the OK button to proceed.

The composite is calculated as a weighted sum of the defined components, in this case

Intrusion = -Disp2+Disp1

composite_defination01

Composites Review

  1. The defined composite can be reviewed in the main page of the Composites under the Composite definition. Necessary changes can be made by selecting the choice.
  2. To delete a Composite definition click on the cross button (denoted as X).
  3. Additional Composite can be added from the choice available under the Add new list as earlier.
  4. Click on the OK button to proceed.

compostite review01

Home Screen Process Flowchart

  1. Double click on the Optimization box.

A window Algorithms shall open.

mainscreen_1

Add Objective

  1. Select the Objectives tab.
  2. From Response select HIC as the objective.

obj_1

Define Objective

  1. For Weight leave the default 1. If you have several objective functions, you may assign weight to each one according to their importance.

obj_2

Add Constraints.

  1. Select the Constraints tab.
  2. From Composites select Intrusion s as the Optimization constraints.

const_3

Set bounds for Constraints.

  1. Select Set Upper Bound and enter 550.

const_4

Optimization Algorithm.

  1. Select the Algorithms tab. Here, the algorithm used for the optimization on the metamodel can be selected.
  2. Make sure that the radio button for Adaptive Simulated Annealing (ASA) is selected and Switch to LFOP is checked. These are the default settings.
  3. Click on the OK button to proceed.

alg

Run LS-Opt

  1. Click on the Run button from the Control Bar.
  2. Select Normal Run for execution.
  3. The user can get information on the current iteration during execution.
  4. At every stage the user has an option to view the progress of the program execution by selecting the LED on the crash tab.

run_mainscreen

Progress

progress_run

View Log

  1. Select the simulaiton point for which the log file is desired.
  2. Click on the View log button.
  3. A new window open containg the solver output, in this case the LS-DYNA output.
  4. Click on the Dismiss button to close the window and proceed.

Progress_view log

After completion of the program execution the user can view the results.

run_status

We can plot the response surface of the metamodel we've built. For example, we want to see the effect of the constraint on the optimization solution with respect to the variables thood and tbumper, do it as following:

Home Screen Process Flowchart

LS-OPT Viewer

  1. Select under Metamodel the item Surface.

main view taskbar

mainscreen_surface

Constraints

  1. Select the Setup tab.
  2. Set the plot coordinates,
    • Composites, Intrusions : z-coordinate
    • Variables, tbumper : x-coordinate
    • Variables,thood : y-coordinate.
  3. Pick Constraints to visualize feasible and infeasible regions on the metamodel, respectively.
    • green : feasible region
    • red : infeasible region.
  4. Choose Predicted value, a cross (+) appears on the surface.
  5. Click Center on Opt. to locate the cross at the optimal point.
  6. Select the Points tab.
  7. Pick Predicted Optimum and Computed Optimum.
  8. To view the optimization constraints, we take a 2-D plot of Intrusions vs tbumber (variable).

surface_1

Plot

intrusion plot_1

Objective - HIC Plot

surface_HIC01

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:

New Plot

LS-OPT Viewer

  1. Select under Optimization the item History.
  2. From the left side of the window select ResponsesHIC.
  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.

→ A quality analysis is expected when the predicted (black line) and the computed (red points) are in close proximity.

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

comp2

Predicted results compared to the computed result.

The user can select the respective points and compare the predicted values to the computed results for every iteration :

Start ( 0.Opt ) First Iteration ( 1.Opt )
Predicted Computed Predicted Computed
thood 1 1.549
tbumper 3 5
MASS 0.4103 0.4103 0.657 0.6571
Intrusion 577.3 575.7 550 550.4
HIC 74.64 68.02 37.78 126.7
Max. Constr. Violation 27.28 25.69 9.919e-5 0.3957

What is the approximation error of the result?

The approximation error indicators (predict the metamodel accuracy of the results) can be visualized in the LS-OPT Viewer.

New Plot

LS-OPT Viewer

  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.

new viewer

mainscreen_acc

→ Despite the coefficient of determination (R2) being high (=0.922), 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.

→ It is important to note that the metamodel performs poor in cross-validation test using the SPRESS method. A relatively high SPRESS value (=91.4%) justifies a low confidence and a low predictive capability of the fitted metamodel.

HIC_acc

| | Mean Response Value | RMS Error | R2 | SPRESS Residual | | | ---------------------- | ---------- | ---------------- | --------------- | --------------- | | MASS | 0.7742 | 0 | 1 | 0 (0%) | | Disp1 | -159.3827 | 2.0309 (1.27%) | 0.4783 | 6.68 (4.19%) | | Disp2 | -694.5841 | 5.5486 (0.80%) | 0.9896 | 18.2 (2.62%) | | HIC | 275.726 | 76.5620 (27.74%) | 0.9225 | 252.11 (91.43%) |

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 analysis), e.g for the response HIC you may find:

New Plot

LS-OPT Viewer

ANOVA

  1. Select under Metamodel select 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.

new viewer

mainscreen_sensitivity

→ In this case the confidence intervals for both variables thood and tbumber are so wide (especially for tbumber) that one cannot end up with a conclusion about their linear significancies for the response HIC

sen_1

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%).

GSA is a non-linear sensitivity measure, but evaluated on the metamodel, which is linear here. Hence it should lead to the same ranking than ANOVA.

sen_2