1 verification and validation (v&v) of simulations (uncertainty analysis) validation: “doing...

30
1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) alidation: “doing the right thing” erification: “doing things right”

Upload: may-patterson

Post on 25-Dec-2015

224 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

1

Verification and Validation (V&V)

of Simulations(Uncertainty Analysis)

Validation: “doing the right thing”Verification: “doing things right”

Page 2: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

Consider the comparison between a simulation result and experimental data….

Suppose we have a simulation result. How good is it? The Verification and Validation (V&V) Process

can provide a quantitative answer to that question.

Page 3: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

3

The perspective changes when one begins to consider the uncertainties involved…

• The uncertainties determine

– the scale at which meaningful comparisons can be made

– the lowest level of validation which is possible; i.e., the “noise level”Thus, the uncertainties in the data and the

uncertainties in the simulation must be considered if meaningful conclusions are to be drawn.

Page 4: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

4

Definitions for Validation“Doing the right thing”

E

U D

U x

S + U

r

X

D

S

SIM

S value from the simulation

D data value from experiment

E comparison error

E = D - S = D - S

Page 5: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

5

Validation Comparison of Simulation Results with Experimental Results

Reality (Mother Nature)

Simulation

Experiment

Simulation Result, S US

Experimental Data, D UD

Comparison Error, E E = D - S

Page 6: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

• The error S in the simulation is composed of

– errors SN due to the simulation’s numerical solution of the

equations

– errors SPD due to the use of simulation of previous

experimental data (properties, etc.)

– errors SMA due to simulation modeling assumptions

S = SN + SPD + SMA

• Therefore, the comparison error E can be written as

E = D - S = D - S

or

E = D - SN - SPD - SMA

(A primary objective of a validation effort is to assess the

simulation modeling error SMA.)

Uncertainty (Error) Definitions

Page 7: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

7

• Consider the error equation

E = D - SN - SPD - SMA

• When we don’t know the value of an error i, we estimate an

uncertainty interval Ui that bounds i and then work with

uncertainties rather than with errors.

• The uncertainty interval UE which bounds the comparison

error E = D-S is given by (assuming no correlations among the errors)

or

(UE)2 = (UD)2 + (USN)2 + (USPD)2 + (USMA)2

2S

2D

2S

22D

22E UUU

SE

UDE

U

Page 8: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

(UE)2 = (UD)2 + (USN)2 + (USPD)2 + (USMA)2

• UD can be estimated using well-accepted experimental

uncertainty analysis techniques

• The estimation of USN is the objective of verification, typically

involves grid convergence studies, etc, and is currently an active research area.

• To estimate USPD for a case in which the simulation uses previous

(input) data di for m variables

where the Udi are the uncertainties associated with the input

data.

• However, we know of no a priori approach for estimating USMA --

in fact, a primary objective of a validation effort is to assess USMA

(or SMA) through comparison of the simulation prediction and

benchmark experimental data.

m

1i

2d

2

i

2SPD i

UdS

U

Page 9: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

(UE)2 = (UD)2 + (USN)2 + (USPD)2 + (USMA)2

• So, we define a validation uncertainty UVAL given by

(UVAL)2 = (UE)2 - (USMA)2 = (UD)2 + (USN)2 + (USPD)2

• UVAL is the key metric in this validation approach

– it is the “noise level” imposed by the experimental and numerical solution uncertainties;

– If SMA = 0, then UVAL would contain the resultant of all of the

other errors (E) 95 times out of 100

– thus, UVAL is the tightest (lowest, best) level of validation

possible (i.e., it is “the best that can be done” considering the existing uncertainties)

Page 10: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

• If |E | UVAL, then the level of validation is equal to UVAL .

• If |E | > UVAL , the level of validation is equal to |E |

• If |E | » UVAL , the level of validation is equal to |E | and one can

argue that probably SMA E since the interval UVAL should

contain the resultant of all errors except SMA

(that is, D - SN - SPD ).

• The other important metric is the required level of validation,

Ureqd, which is set by program objectives.

Page 11: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

11

Schematic of Verification and Validation of a Simulation

R e a l i t y

S i m u l a t i o n

E x p e r i m e n t

P r e v i o u s E x p e r i m e n t a l D a t a ( P r o p e r t i e s , e t c . )

A p p r o x i m a t i o n s

M o d e l i n g A s s u m p t i o n s

N u m e r i c a l S o l u t i o n o f E q u a t i o n s

S i m u l a t i o n R e s u l t , S

2SN

2SPD

2SMAS UUUU

E x p e r i m e n t a l D a t a , D

2DEXP

2DAD UUU

E x p e r i m e n t a l E r r o r s

S M A

U S M A

S P D

U S P D

S N

U S N

D E X P U D E X P

D A

U D A

V E R I F I C A T I O N

C o m p a r i s o n E r r o r : E = D - S

V a l i d a t i o n U n c e r t a i n t y :

2SN

2SPD

2DVAL UUUU

V A L I D A T I O N

Page 12: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

Types of Uncertainty Analysis

• Monte Carlo (MC)• First Order Taylor Series (FOTS)• Univariate Dimension Reduction (UDR or DR)

(an additive decomposition technique that evaluates the multidimensional integral

of a random function by solving a series of one-dimensional integrals)• Extended Generalized Lambda Distribution

(EGLD) (probability distribution function)• Random Field Uncertainty Propagation• Karhunen-Loeve Expansion of Random Field

Page 13: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

To develop and quantify uncertainty related to material heterogeneities

K.N. Solanki , M.F. Horstemeyer, W.G. Steele, Y. Hammi, J.B. Jordon, Calibration, validation, and verification including uncertainty of a physically motivated internal state variable plasticity and damage model,” International Journal of Solids and Structures, Vol. 47, 186–203, 2010.

Page 14: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

Uncertainty in engineering systems

Modeling

IntrinsicExtrinsic

Parametric Experimental setup

Sensor errors

SurroundingsConstitutive relations

Underlying physics

Surroundings

Boundary conditions

Process parameters

Experiments

Modeling/Simulations

Uncertainty Methodology

Page 15: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

Experimental Uncertainty

Uncertainty in experimentally measure quantities (force and strain) is give by

22srE UUU

where , is random uncertainty

, is systematic uncertainty rU

sU

Coleman and Steele, 1999

Page 16: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

Experimental Uncertainty

• Random uncertainty in experimentally measure quantities , (force and strain) for M different tests is give by

U r 21

M 11

M

i

r i r mean 2

ir

• Systematic uncertainty in experimentally measure quantities , (force and strain) for M different tests is give by

ir

Us ri UL2

Udaq2

Coleman and Steele, 1999

Page 17: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

Experimental Uncertainty

Measured Quantities

• Force and Strain

• Specimen Size (width and Thickness)

AccuracyLoad Cell 1%

Extensometer 1%Micrometer 0.001 in

Data Acquisition Load reading 0.25%Data Acquisition Strain reading 0.10%

Uncertainties for Measured Quantities

Page 18: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

Experimental Uncertainty

Uncertainty in true stress and true strain is given by

where F, is measured force

w, is width of specimen

t, is thickness of specimen

e, is engineering strain

F

w t1 U

F

w t

2

U 2

F

w t2

1

2

U t2

F

w2

t1

2

U w2

1

w t1

2

U F2

t ln 1 U t1

1 U

Page 19: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

Model Calibration Example Under Uncertainty

0

100

200

300

400

500

600

700

800

0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18

Effec

tive

Stre

ss (M

Pa)

Effective Strain

Tension Experiment

Tension Model

0

100

200

300

400

500

600

700

800

900

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45

Effec

tive

Stre

ss (M

Pa)

Effective Strain

Compression Experiment

Compression Model

0

100

200

300

400

500

600

700

800

900

0 0.05 0.1 0.15 0.2

Effec

tive

Stre

ss (M

Pa)

Effective Strain

Torsion Experiment

Torsion Model

±8.1%

±7.0%

±9.75%

Page 20: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

Model Validation Example Under Uncertainty

-600

-400

-200

0

200

400

600

800

-0.015 -0.01 -0.005 0 0.005 0.01 0.015

Effec

tive

Stre

ss (M

Pa)

Effective Strain

Experiment Model

-600

-400

-200

0

200

400

600

-0.015 -0.01 -0.005 0 0.005 0.01 0.015

Effec

tive

Stre

ss (M

Pa)

Effective Strain

Experiment

Model

tension followed by compression compression followed by tension

Page 21: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

SUMMARY: The V&V Process

• Preparation – Specification of validation variables, validation set points,

validation levels required, etc. (This specification determines the resource commitment that is necessary.)

– It is critical for modelers and experimentalists to work together in this phase.

• Verification – Are the equations solved correctly? (Grid convergence

studies, etc, to estimate USN.)

• Validation – Are the correct equations being solved? (Compare with

experimental data and attempt to assess SMA )

Page 22: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

Objective – Forward propagation of uncertainties from basic sources to system response, R

Uncertainty Quantification and Propagation

UR 2 bR2 sR

2

systematic standard uncertainty

random standard uncertainty

expanded uncertainty

bR2 k

2

k1

N bk

2 2 k llk1

N

k1

N1 bkl

due to elemental sources of uncertainty affecting Xk

due to correlated error in Xk and Xl

sR2 k

2

k1

N sk

2

variance of Xk

• Experimental Uncertainty Analysis: [Coleman & Steele 1999]

X = {X1, X2, …, XN}T = Vector of random variables; R = R{X} = Random response

No prior probability distribution is required in this approach.

R RXk

2

k2

k1

N

0.5

(for independent random variables)

fX1(x1)

x1

X1

X1

fX 2

fX 3

Given the probability density function (PDF) of random variables (Xk, k=1,N)

• Probabilistic Approach: [Sundararajan 1995]

Based on first-order Taylor series approximation of R

R RXk

RXl

Cov(Xk ,Xl )

l1

N

k1

N

0.5

= uncertainty in R

Page 23: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

• Given the probability density function (PDF) of each random variable, find uncertainty (st. deviation) in response R as [Sundararajan 1995]

• Dimension Reduction + Distribution Fitting (DR+EGLD):

X = {X1, X2, …, XN}T = Vector of random variables; R = R{X} = random response

Step 1: Use the Univariate Dimension Reduction approach [Rahman & Xu 2004] to estimate the lth statistical moment, ml of response R based on ml of individual random variables

Step 2: Match the approximate statistical moments of R with those of the extended generalized Lambda distribution to find the fitting parameters

=> more complete description of random uncertainty in R

Uncertainty Quantification and Propagation (cont)

R RXk

2

k2

k1

N

0.5

( for independent random variables)

fX1(x1)

x1

X1

X1

fX 2

fX 3 PDF of Xk, k=1,N

R RXk

RXl

Cov(Xk ,Xl )

l1

N

k1

N

0.5

Acar, E., Rais-Rohani, M., and Eamon, C., “Structural Reliability Analysis using Dimension Reduction and Extended Generalized Lambda Distribution,” International Journal of Reliability and Safety, Vol. 4, Nos. 2/3, 2010, pp. 166-187.

Page 24: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

Objective – Forward propagation of uncertainties from basic sources to system response, R

• Dimension Reduction + Distribution Fitting: [Acar, Rais-Rohani & Eamon 2008]

Step 1: Using the Dimension Reduction Approach [Rahman & Xu 2004], estimate the lth statistical moment, ml (e.g., mean, variance, etc.) of response R based on ml of individual random variables

=> Exact multidimensional integral approximated by multiple one-dimensional (simple) integrals

Step 2: Match the approximate statistical moments of R with those of an appropriate distribution function (e.g., EGLD - Extended Generalized Lambda Distribution) to find the fitting parameters.

=> More complete description (i.e., PDF) of stochastic uncertainty in R

Uncertainty Quantification and Propagation (Example)

Collaborative effort between Tasks 1 and 4: [Acar, Solanki, Rais-Rohani & Horstemeyer 2008]

Uncertainty in microstructure

ISV-Damage Constitutive

Model

Uncertainty in model constants

A356 Tensile Specimen

Strain

Dam

age

Uncertainty in damage

Uncertainty in damage-strain data

0 10 20 30 40 500

0.5

1

1.5

2

2.5

Variable ID #

Sensitivity

Initial radius

Nucleation coeff.

e = 0.001

0 10 20 30 40 500

0.5

1

1.5

2

2.5

Variable ID #

Sensitivity e = 0.05

Initial tempCoalescence

coeff.

Fracture toughness

Normalized damage sensitivities

e = 0.001

= 0.001/s

Ý

Example: Determine the stochastic uncertainty in the damage response

Page 25: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

• Use DR+EGLD to estimate the uncertainty in damage based on uncertainties in microstructure features (e.g., void size, particle size, etc.) found in AA356-T6 cast.

Uncertainty and Sensitivity Analysis of Damage

Acar, E., Solanki, K., Rais-Rohani, M., and Horstemeyer, M., “Stochastic Uncertainty Analysis of Damage Evolution Computed Through Microstructure-Property Relations,” Journal of Probabilistic Mechanics, Vol. 25, No. 2, 2010, pp. 198-205.

Initial temperature

Coalescence coefficient

Coalescence coefficient

Fracture toughness

Initial temperature

@ = 0.005

@ = 0.05

@ = 0.005 @ = 0.05

0.0

0.2

0.4

0.6

0.8

1.0

0.00 0.02 0.04 0.06 0.08

Strain

Dam

age

Strain, e

ISV based plasticity-damage => model

Page 26: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

Comparison of Uncertainty Analysis ResultsA356 aluminum tensile specimen, strain rate controlled test

Dimension Reduction Techniques

Based on reducing multi-dimensional integrals to a series of one-dimensional integrals (Rahman & Xu 2004)

NR

lll fyYEm dxxxX X VarY = m2 - m1

2

ilN

iN

jNjjj

l

il YNYE

i

lm

,,1,,,,,, 1

1111

0

Using binomial formula

to be calculated recursively

Standard deviation of damage

Strain level 0.001 0.02 0.05

FOTS 2.410-7 7.310-4 3.110-3

DR 2.410-7 6.910-4 3.010-3

MCS with104 sample

2.410-7 6.910-4 3.010-3

• DR more accurate than FOTS• DR much less costly than MCS

Uncertainty Estimation• First order Taylor-series (FOTS) expansion

• Needs derivatives of response, Y • Feasible for simple problems (numerical derivatives for complex problems)• May fail for mildly nonlinear probs.

N

ii

iY VarX

X

YVar

1

2

Y (X) 1

1 X14 2X2

2 5X24

An analytical example: Find standarddeviation in Y(X) based on that of X.

Uncertainty Analysis Example: Damage using DR+EGLD

Damage Probability Distribution using EGLDA356 aluminum tensile specimen, strain rate controlled test

PDF

Damage

@ Strain = 0.02

Strain

Dam

age

Page 27: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

• More meaningful to say “Structural design has a Pf = 10-4 under the extreme loading

condition,” than to say it has a factor of safety of 2 [Wirsching 1992].

• Explicit inclusion of statistical data into the design algorithm.

• Quantify the effect of each stochastic uncertainty on the final design.

• For a limit state expressed in terms of strength (resistance) R and load L

Rationale for Probabilistic (Reliability-Based) Design

g(R,L) R LLimit state function:

Failure probability:

Pf P(g 0) FR0

(x) fL (x)dx L

L

PD

F

R0

Failure Probability

fg(r,l)

g

g

FR (x)

x

fL (x)

fR (r)

fL (l)

r,l

%error 200 1 Pf NsPf For Pf = 0.001 with 20% error at 95% confidence, Ns = 100,000!

• Exact solution by integration not practical

• Estimate Pf or b using

– Simulation Techniques (e.g., Monte Carlo)

Excellent accuracy, Inefficient

– Analytical Techniques ---> Mixed accuracy, Efficient – Advanced Techniques ---> Good accuracy, Mixed efficiency

b = Reliability index

Page 28: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

• Structural Reliability Methods: – Simulation (MCS, LH, IS, AIS)– Analytical (FORM, SORM, AMV+)

– Hybrid methods under development:• Dimension Reduction + EGLD (Acar et al. 2008)

• Full Failure Sampling (Eamon & Charumas 2008)

Acar, E., Rais-Rohani, M., and Eamon, C., “Reliability Estimation using Dimension Reduction and Extended Generalized Lambda Distribution,” submitted to International Journal of Reliability and Safety, 2008.

Hybrid Uncertainty Approach Related to Structural Reliability

g(R,L) R L

LR, L

PD

F

R

L L R R

0

Failure Probability

fg(R,L)

g

g

FR (x)

x

fL (x)

L

fR (R)

fL (L)

Limit state:

Reliability index: b

u1

u2

u*

g(u) 0 (failure region)

g 0g 0 (safe region)

Most Probable Point, MPP

Page 29: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

SUMMARY: The V&V Process

• Preparation – Specification of validation variables, validation set points,

validation levels required, etc. (This specification determines the resource commitment that is necessary.)

– It is critical for modelers and experimentalists to work together in this phase.

• Verification – Are the equations solved correctly? (Grid convergence

studies, etc, to estimate USN.)

• Validation – Are the correct equations being solved? (Compare with

experimental data and attempt to assess SMA )

Page 30: 1 Verification and Validation (V&V) of Simulations (Uncertainty Analysis) Validation: “doing the right thing” Verification: “doing things right”

30

Some Selected References

• Coleman, H.W. and Stern, F., "Uncertainties in CFD Code Validation," ASME J. Fluids Eng., Vol. 119, pp. 795-803, Dec. 1997. (See also Roache, P. J, “Discussion” and Coleman and Stern, “Authors’ Closure,” ASME J. Fluids Eng., Vol. 120, pp. 635-636, Sept. 1998.)

• Roache, P. J., Verification and Validation in Computational Science and Engineering, Hermosa, 1998. (www.hermosa-pub.com)

• Guide for the Verification and Validation of Computational Fluid Dynamics Solutions, AIAA Guide G-077-1998, 1998. (www.aiaa.org)

• Stern, F., Wilson, R. V., Coleman, H.W., and Paterson, E. G., “Comprehensive Approach to Verification and Validation of CFD Simulations—Part 1: Methodology and Procedures,” ASME J. Fluids Eng., Vol. 123, pp. 793-802, Dec. 2001.

• K.N. Solanki , M.F. Horstemeyer, W.G. Steele, Y. Hammi, J.B. Jordon, Calibration, validation, and verification including uncertainty of a physically motivated internal state variable plasticity and damage model,” International Journal of Solids and Structures, Vol. 47, 186–203, 2010.