Metamodel-based MC
Working Directory and Extraction of necessary files
- Create a working directory in the desired location to keep the LS-OPT project file and input files, as well as the LS-OPT program output, e.g. monte_carlo.
- Extract all the files required for this example from download section into the working directory.
Project Details
- Select the Working Directory of the LS-OPT project.
- Select a suitable name for the file under Filename (e.g. metamodel). The extension .lsopt is appended by LS-OPT.
- Description of the main task can e.g. be a suitable name for Problem Description ( in this case, Metamodel-based Monte Carlo Analysis, optional).
- Choose a suitable name under the Initial Sampling name (e.g. Sampling).
- Choose a suitable name under the Initial Stage name (e.g. LS_DYNA).
- Click on the Create button to initiate the formation of the input file.
- The main GUI window of LS-OPT opens.
Home Screen Process Flowchart
- Click on the Show task settings icon to select the optimization task and strategy.
The Task Selection window shall then open.
Define the Main Task
- Select Monte Carlo analysis as Metamodel-based method.
- Click on the OK button to proceed.
- After defining the main optimization task the Home Screen Process Flowchart takes its shape accordingly.
Home Screen Process Flowchart
- Double click on the LS_DYNA box to define the solver stage in the simulation process.
The Stage dialog window shall open.
Define Stage Setup
- Select the Setup tab.
- Select the solver Package Name as LS-DYNA.
- For Command enter smpR7.1.2_95028 (or the respective command available on your system). On Windows, the command has to be specified using the absolute path.
- For Input File browse the LS-DYNA keyword file tube.k. Parameters are defined in this file by using LS-DYNA keyword format *PARAMETER.
- For efficient usage of the computing power from the machine, choice on handling number of concurrent jobs can be made suitable in this section. For more details see FAQ resources.
Design Parameters
- The parameters defined in the selected Input File can be seen in the adjoining tab Parameters.
Define Histories
- Select Histories tab.
- Select NODOUT as a type of history under the standard LS-DYNA binary database list.
- Enter TOP_DISP_HIST as the Name of history.
- Select Displacement as a Component.
- Select Z Component as a Direction.
- Select node ID as a Identifier Type and enter 486 as node ID.
- Click on the OK button to end the history definition.
Define Responses
- Select the Responses tab.
- Select NODOUT as a type of history under the standard LS-DYNA binary database list.
- Enter TOP_DISP as the Name of the response.
- Select Displacement as a Component.
- Select Z Component as a Direction.
- Select node ID as a Identifier Type and enter 486 as node ID.
- Select the Minimum Value of the displacement of this node in selected z-direction.
- Click on the OK button to end the response definition.
- Click on the OK button to proceed.
Home Screen Process Flowchart
- Double click on the Setup box for the conversion of parameters to design variables of different types.
The Problem global setup dialog shall open.
Define Parameters
- Select Parameter Setup tab.
- Select the Type for both probabilistic design variables as Noise.
- Open the Distribution settings dialog to define the distribution of variable SIGY.
- Click on Add new distribution.
- Enter s1 as the Distribution Name.
- Select the distribution Type as Normal.
- Enter 1 for Mean value.
- Enter 0.05 for Standard Deviation.
- Click on the OK button to end the distribution definition for variable SIGY.
- Open the Distribution settings dialog to define the distribution of variable T1.
- Click on Add new distribution.
- Enter t1 as the Distribution Name.
- Select the distribution Type as Normal.
- Enter 1 for Mean value.
- Enter 0.05 for Standard Deviation.
- Click on the OK button to end the distribution definition for variable T1.
- Click on the OK button to proceed.
Home Screen Process Flowchart
- Double click on the Sampling box in order to define sampling settings.
A Sampling dialog shall open.
Define Metamodel Settings
- Select Metamodel Settings tab.
- Select Radial Basis Function Network as Metamodel type. All statistics will be evaluated on the metamodel, hence we need a good global metamodel.
- Select Space Filling as Pointselection method.
- Enter 10 as default for the Number of Simulation Points.
- Select Features tab.
- Enable Approximate Histories.
- Select the History Approximation Type as Radial Basis Function Network.
- Click on the OK button to proceed.
Home Screen Process Flowchart
- Double click on the Monte Carlo box.
The Optimization dialog shall open.
A Monte Carlo Analysis does not use objective functions, since no optimization is performed, but constraints.
Define Constraints
- Select Constraints tab.
- Select the response TOP_DISP to be constrained.
- Set the Lower Bound for this response to -230.
- Click on the OK button to proceed.
Home Screen Process Flowchart
Run LS-OPT
- Click on the Run button on the Control Bar.
- Click on the Normal Run.
- For every stage the user has the option to observe the progress of the program execution by selecting the LED at the corner on the Stage box. It is possible to observe the Progress and View Log for more information about the execution process.
Home Screen Process Flowchart
- Click on the Open the viewer icon in the contral bar on the Home Screen Process Flowchart window.
A New Plot window shall open.
- Choose Surface under Metamodel.
Surface Plot Settings
- Select the Setup tab.
- Select the variables SIGY, T1 and the response TOP_DISP for the x, y and z axis of the plot, respectively.
- Display the Constraints on the plot.
- Select the Points tab.
- Select Current Iteration to display.
- Display the Feasible and Infeasible points.
The accuracy of the metamodel fit for the selected response or composite is illustrated in a Predicted vs. Computed plot.
New Plot - Accuracy
- Click on the New Plot icon in the menu bar - (or click on the Open the viewer icon on the Home Screen Process Flowchart).
A New Plot window shall open.
- Select Replace current plot icon.
- Select Accuracy under Metamodel.
Accuracy Plot Settings
- Select the Response TOP_DISP to displays the accuracy of the metamodel for this response in the Setup tab.
New Plot - Statisctical Tools
- Click on the New Plot icon in the menu bar - (or click on the Open the viewer icon on the Home Screen Process Flowchart).
A New Plot window shall open.
- Select Replace current plot icon.
- Select Statistical Tools under Stochastic analysis.
Histogram
- Select Setup tab in the new opened Statictical Tools plot window.
- Select the Plot type as Histogram.
- Select the response TOP_DISP to plot its histogram.
- Select Options tab.
- Select Frequency as Y-axis scaling.
- Display Mean Value, Standard deviation and Contraints with Feasibility on the histogram.
Summary
Here, we display the standard deviation and the mean value for the response TOP_DISP with the 95% confidence interval which is shown in red.
- Select Setup tab.
- Select the Plot type as Summary.
- Select the response TOP_DISP whose standard deviation and mean value are shown.
- In this case the confidence intervals are very small, which means the results are very certain.
Probability of constraint violation
- Select Probability of constraint violation as a Plot type.
- Select the response TOP_DIPS.
- We can adjust the upper and lower bounds of the constraint by selecting the Options tab.
- The 95% confidence interval is shown in red.
Correlation
- Select the Plot type as Correlation.
- Select the response TOP_DIPS.
- The 95% confidence interval is shown in red.
New Plot - Stochastic Contribution
- Click on the New Plot icon in the menu bar - (or click on the Open the viewer icon on the Home Screen Process Flowchart).
A New Plot window shall open.
- Select Replace current plot icon.
- Select Stochastic Contribution under Stochastic analysis.
Stochastic Contribution Settings
- Select the Response TOP_DISP to display the stochastic contribution in the Setup tab.
New Plot - Histories
- Click on the New Plot icon in the menu bar - (or click on the Open the viewer icon on the Home Screen Process Flowchart).
A New Plot window shall open.
- Select Replace current plot icon.
- Select Histories under Simulations.
Plot History - Settings
- Select Setup tab.
- Select No entity (2d mode) to display history in 2D.
- Select time, the history TOP_DISP_HIST and the variable SIGY for x-, y- and c- axis, respectively.
- Select Options tab.
- Show the Feabisle and Infeasible Histories from the experiments.
- Show the Mean and Mean+-Standard deviation from Statictics which will be schown in black line and grey dashed line, respectively.
- Enable Use Metamodels and Distributions.
The statistics of the LS-DYNA results can be displayed on the FE model using DynaStats. The statistics of the LS-DYNA d3plot results and LS-OPT history data are computed by LS-OPT for viewing in LS-PREPOST.
Open DynaStats
- Click on the Tools menu of the control bar.
- Click on the DynaStats.
A new DynaStats dialog shall open.Utilize the following actions:
- Create
- Generate
- Display
- Edit
- Bifurcation
- Delete
Create Fringe Plot
- Select Fringe plot option after clicking on the Create button in the main DynaStats dialog.
Display the Statistics in LS-PrePost (D3Plot) - Mean
- Select z_displacement from the list Ndv (Nodal displacement velocity).
- Go to the Next panel.
- For what to plot select Statistic of D3Plot data.
- Choose Mean as statistic to plot.
- Build Quadratic Metamodel instead of using actual FEA results.
- Go to the Next panel.
- Give a name to this plot, e.g. z_disp-mean-quad.
- Click on the Finish button.
- Select the new created plot z_disp-mean in the DynaStats dialog and then click on the Generate option to generate the data for the plot.
- Display the previously generated plot.
- Metamodels can be used to predict the statistics of the responses. These metamodels (approximations) are computed for all the results for all nodes for all time steps.
The figure shows the mean of the z-displacement at time 0.99963s.
→ The minimum occurs at node 259 (min=-64.1072) and the maximum at node 429 (max=0.0169754).
Display the Statistics in LS-PrePost (D3Plot) - Standard deviation
- It follows the way explained above, except:
- By the second step, choose Std Dev (Standard deviation) as statistic to plot.
- Name the plot z_disp-std_dev-quad in the next panel.
The figure shows the standard deviation of the z-displacement at time 0.99978s.
→ The maximum occurs at node 694 (max = 1.32686) where the deformation is large.
Single variable Mode (Contribution Analysis)
- It follows the way of drawing a fringle plot, but:
- By the second step, select A single variable's contribution to the D3Plot data instead of Statistic of D3plot data.
- Select the variable SIGY.
- Select quadratic metamodel from FEA result as analysis method.
- In the last step, give a name to this plot, e.g. single_variable.
Metamodels can be used to predict the statistics of the responses. In this case the statistics are computed due to one variable (SIGY).
→ The minimum occurs at node 1 (min=0) and the maximum at node 694 (max=1.10725).
For Linux : metamodel.tar.gz (10.8 kB)
For Windows : metamodel.zip (10.8 kB)