Personal tools

Solution with LS-OPTui

File

File

Open the File

  1. From the main menu bar select File → Open and the command file com.monte_carlo.start.
open_com-monte-carlo1.png

Task

Task

Monte Carlo Analysis Task

  1. From the main menu bar select Task → Direct Simulation → Monte Carlo Analysis.
task_monte-carlo3.png

Solvers

Solvers

Define the solverssolvers1.png

  1. Select the Solvers panel.
  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 tube.k.
  4. Enter a name for Name of Analysis Case, e.g. SOLVER_1
  5. Push the Add button.

 

 

 

 

 

 

 

Distribution

Distribution

Add the Distributions

  1. Select the Dist panel.
  2. For the distribution Type choose Normal from the category chooser.
  3. For Mean enter 1.
  4. For Standard Deviation enter 0.05.
  5. Enter a Distribution Name, e.g. t1.
  6. Push the Add button to create the distribution.

 

dist_t11.png
  1. For the distribution Type choose Normal from the category chooser.
  2. For Mean enter 1.
  3. For Standard Deviation enter 0.05.
  4. Enter a Distribution Name, e.g. s1.
  5. Push the Add button to create the distribution.
dist_s11.png

Variables

Variables

Change the Variables

  1. Select the Variables panel.
  2. Switch the Type of the variable T1 from Constant to Noise Var.
  3. Choose t1 as the Distribution for this variable.
  4. Switch the Type of the variable SIGY from Constant to Noise Var.
  5. Choose s1 as the Distribution for this variable.

 

noise_varianble1.png

Sampling

Sampling

Latin Hypercube Sample

  1. Select the Sampling panel.
  2. For POINT SELECTION choose Latin Hypercube.
  3. Use 10 as Total Number of Simulation Points (to allow the simulation to finish in reasonable time).
sampling_latin-hypercube1.png

Constraint

Constraint

Set the Constraint

  1. Select the Constraints panel.
  2. Choose the Response TOP_DISP as the constraint.
  3. Enter -230 as the Lower Bound.
constraint_top-disp1.png

Run

Run

Run the Monte Carlo Analysis

  1. Select the Run panel.
  2. Push the Run button to start the Monte Carlo analysis.
run1.png

Com-file

Com-file

The created command file may look like this:

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Command file "com.monte_carlo.start"
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$ Generated using LS-OPT Version 4.1
$
"Tube Crush Monte Carlo "
$
$ Created on Fri Mar  4 14:24:21 2011
solvers 1
responses 1
histories 1
$
$ PROBABILISTIC DISTRIBUTIONS
$
distribution 2
 distribution 't1' NORMAL  1  0.05  
 distribution 's1' NORMAL  1  0.05  
$
$ DESIGN VARIABLES
$
variables 2
 Noise variable 'T1' distribution 't1'
 Noise variable 'SIGY' distribution 's1'

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$      SOLVER "SOLVER_1"
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$
$ DEFINITION OF SOLVER "SOLVER_1"
$
 solver dyna960 'SOLVER_1'
  solver command "ls971_R4_2"
  solver input file "tube.k"
  solver check output on 
  solver compress d3plot off 
$ ------ Pre-processor --------
$   NO PREPROCESSOR SPECIFIED
$ ------ Post-processor --------
$   NO POSTPROCESSOR SPECIFIED
$ ------ Metamodeling ---------
  solver experiment design lhd_generalized
  solver number experiments 10
$ ------ Job information ------
  solver concurrent jobs 1
$
$ RESPONSES FOR SOLVER "SOLVER_1"
$
 response 'TOP_DISP' 1 0 "BinoutResponse -res_type nodout -cmp z_displacement -id 486  -select MIN "
$
$ HISTORIES FOR SOLVER "SOLVER_1"
$
 history 'TOP_DISP_HIST' "BinoutHistory -res_type nodout  -cmp z_displacement -id 486"

$
$ NO OBJECTIVES DEFINED
$
 objectives 0
$
$ CONSTRAINT DEFINITIONS
$
 constraints 1
 constraint 'TOP_DISP'
  lower bound constraint 'TOP_DISP' -230
$
$ JOB INFO
$
analyze monte carlo
STOP