History MSE
In this example time history curves are used to calibrate directly experiment vs. simulation curves.
Solution with LS-OPTui
Solution with LS-OPTui
Strategy
Strategy
Open LS-OPTui
- Select the Strategy panel.

- Switch the radio button of the section “Strategy for Metamodel-based Optimization” to "Sequential with Domain Reduction (SRSM)".
- Select a tolerance of 1% to be satisfied by both the design and objective changes.
Solvers
Solvers
Solvers Panel
| ![]() |
Variables
Variables
Define the Variables
| ![]() |
| ![]() |
Histories
Histories
Define Response Histories
Define z-displacement of node 296
|
|
Define z-slave-force on interface 1
| ![]() |
Define crossplot for -Disp1 and Force1
| ![]() |
Define a history through a text file
| ![]() |
Responses
Responses
Define the Responses
| ![]() |
Objective
Objective
Objective
| ![]() |
Run
Run
Run the Optimization
| ![]() |
Com-file
Com-file
The created command file may look like this:
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Command file "com.mse_history"
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$ Generated using LS-OPT Version 4.1
$
"Optimization Problem"
$
$ Created on Fri Jan 21 14:10:59 2011
solvers 1
$
$ WARNING -- NO RESPONSES ARE DEFINED
$
histories 4
$
$ DESIGN VARIABLES
$
variables 2
Variable 'YMod' 7.e5
Lower bound variable 'YMod' 5.e5
Upper bound variable 'YMod' 2.e6
Variable 'Yield' 1500.
Lower bound variable 'Yield' 500.
Upper bound variable 'Yield' 2.e3
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$ OPTIMIZATION METHOD
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$
Optimization Method SRSM
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$ SOLVER "Case1"
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$
$ DEFINITION OF SOLVER "Case1"
$
solver dyna960 'Case1'
solver command "ls971_R4_2"
solver input file "foam1.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
solver approximate history linear
$ ------ Job information ------
$
$ WARNING - NO RESPONSES DEFINED FOR SOLVER "Case1"
$
$
$ HISTORIES FOR SOLVER "Case1"
$
history 'Disp1' "BinoutHistory -res_type nodout -cmp z_displacement -id 296"
history 'Force1' "BinoutHistory -res_type RCForc -cmp z_force -id 1 -side SLAVE"
$
$ HISTORY EXPRESSIONS FOR SOLVER "Case1"
$
history 'F_vs_d' expression {Crossplot("-Disp1","Force1")}
$
$ HISTORIES FROM FILES
$
history 'FILE1' file "Test1.txt"
composites 1
$
$ COMPOSITE EXPRESSIONS
$
composite 'MSE' {MeanSqErr(FILE1,F_vs_d)}
$
$ OBJECTIVE FUNCTIONS
$
objectives 1
objective 'MSE' 1
$
$ THERE ARE NO CONSTRAINTS!!!
$
constraints 0
$
$ PARAMETERS FOR METAMODEL OPTIMIZATION
$
Metamodel Optimization Strategy DOMAINREDUCTION
$
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 3
STOP
Results
Results
Histories
Histories
Start the LS-OPT Viewer by selecting the View tab and
|
|
Set up the panel
| |
→ The green curve shows the predicted crossplot of Force1 and -Disp1. The crosses mark out the "experiamental" result stored in FILE1 in order to compare themself with the predicted result. We can see, they are well-matched. |
|
Confidence Intervals
Confidence Intervals
The Confidence Intervals can be found in the lsopt_report file.
The Confidence Intervals are located at the end of the file. | ![]() |
Alternatively, we can directly open the lsopt_report file from the main directory with an editor and scroll to the end to find the Confidence Intervals of YMod and Yield.
→ YMod is rather insignificant and Yield is significant. | ![]() |
Download
Download
The complete data set (input and command files) is available for download:
For Linux
For Windows















