Fundamental concepts and terminology of Verification and Validation Verification is the process that checks whether mathematical model was implemented.

Slides:



Advertisements
Similar presentations
Formal Computational Skills
Advertisements

Molecular dynamics in different ensembles
Lecture 5 Newton-Raphson Method
Chapter 7 Statistical Data Treatment and Evaluation
Martyn Clark Short course on “Model building, inference and hypothesis testing in hydrology” May, 2012.
Modelling - Module 1 Lecture 1 Modelling - Module 1 Lecture 1 David Godfrey.
Describing Motion with Equations There are a variety of quantities associated with the motion of objects – displacement (and distance), velocity (and speed),
FTP Biostatistics II Model parameter estimations: Confronting models with measurements.
Fundamentals of Data Analysis Lecture 12 Methods of parametric estimation.
Dynamics of Articulated Robots Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013.
PHYS2020 NUMERICAL ALGORITHM NOTES ROOTS OF EQUATIONS.
458 Interlude (Optimization and other Numerical Methods) Fish 458, Lecture 8.
CVEN Computer Applications in Engineering and Construction Dr. Jun Zhang.
MECH 221 FLUID MECHANICS (Fall 06/07) Chapter 9: FLOWS IN PIPE
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 2 Mathematical Modeling and Engineering Problem Solving.
Circular Motion and Other Applications of Newton’s Laws
Molecular Dynamics Classical trajectories and exact solutions
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Mathematical Modeling and Engineering Problem solving.
Method of manufactured solutions The first stage in code verification is to test for problems for which we have analytical solutions. However, often we.
DERIVING LINEAR REGRESSION COEFFICIENTS
CHAPTER 8 APPROXIMATE SOLUTIONS THE INTEGRAL METHOD
Yay Math! By Eve, Eli, Friederike, Shirley, Jasper and Catherine „THE INTEGREATS“
Boyce/DiPrima 9th ed, Ch 8.4: Multistep Methods Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce and Richard.
CHAPTER 2 ONE-DIMENSIONAL STEADY STATE CONDUCTION
Chapter 1 Computing Tools Analytic and Algorithmic Solutions Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
MAE 3241: AERODYNAMICS AND FLIGHT MECHANICS Compressible Flow Over Airfoils: Linearized Subsonic Flow Mechanical and Aerospace Engineering Department Florida.
An Introduction to Programming and Algorithms. Course Objectives A basic understanding of engineering problem solving process. A basic understanding of.
Chanyoung Park Raphael T. Haftka Paper Helicopter Project.
1 Final Conference, 19th – 23rd January 2015 Geneva, Switzerland RP 15 Force estimation based on proprioceptive sensors for teleoperation in radioactive.
ENM 503 Lesson 1 – Methods and Models The why’s, how’s, and what’s of mathematical modeling A model is a representation in mathematical terms of some real.
Differential Equations. Definition A differential equation is an equation involving derivatives of an unknown function and possibly the function itself.
MECN 3500 Inter - Bayamon Lecture 3 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Chapter 6 Circular Motion and Other Applications of Newton’s Laws.
Chapter 6 Circular Motion and Other Applications of Newton’s Laws.
Derivatives In modern structural analysis we calculate response using fairly complex equations. We often need to solve many thousands of simultaneous equations.
Scientific Computing Numerical Solution Of Ordinary Differential Equations - Euler’s Method.
Lecture Fall 2001 Physically Based Animation Ordinary Differential Equations Particle Dynamics Rigid-Body Dynamics Collisions.
Progress in identification of damping: Energy-based method with incomplete and noisy data Marco Prandina University of Liverpool.
Part 1 Gravity and Free Fall Free Fall An object is in free fall if it is accelerating due to the force of gravity and no other forces are acting on.
1 Solution of Nonlinear Equation Dr. Asaf Varol
Chapter 1 Computing Tools Analytic and Algorithmic Solutions Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CMPS 1371 Introduction to Computing for Engineers PRINCIPLES OF PROBLEM SOLVING.
Numerical Methods for Engineering MECN 3500
Force and Motion Part II Circular Dynamics February 15, 2006.
Part 1 Chapter 1 Mathematical Modeling, Numerical Methods, and Problem Solving PowerPoints organized by Dr. Michael R. Gustafson II, Duke University and.
Part 1 Chapter 1 Mathematical Modeling, Numerical Methods, and Problem Solving PowerPoints organized by Dr. Michael R. Gustafson II, Duke University and.
ChE 452 Lecture 09 Mechanisms & Rate Equations 1.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Team  Spatially distributed deterministic models  Many hydrological phenomena vary spatially and temporally in accordance with the conservation.
Solving Ordinary Differential Equations
Fundamentals of Data Analysis Lecture 11 Methods of parametric estimation.
Introduction.
Describing Motion with Equations
ZCE 111 Assignment 11.
Introduction.
Chute Modelling Capabilities & Future Directions Paul Munzenberger
Mathematical Modeling, Numerical Methods, and Problem Solving
Introduction.
RELATIVISTIC EFFECTS.
Objective Numerical methods Finite volume.
Instructor :Dr. Aamer Iqbal Bhatti
Introduction.
Graphical design for specified laminate strain limits
Lecture # 2 MATHEMATICAL STATISTICS
CHAPTER Five: Collection & Analysis of Rate Data
Circular Motion and Other Applications of Newton’s Laws
Introduction.
Dual Induction theory for Wind Turbines
Presentation transcript:

Fundamental concepts and terminology of Verification and Validation Verification is the process that checks whether mathematical model was implemented accurately enough. Validation is the process that checks that simulation is close enough to reality. This terminology is not universally accepted figure from Oberkampf and Roy

Paper Helicopter model qualification When dropped, paper helicopter starts autorotating, which slows down its fall, like a helicopter when it loses power. Has very simple math model: Newton’s second law – F=ma F=Weight-drag Differential equation.

Verification In order to verify the computational model and its implementation (e.g. software) we need to test it against analytical solutions or special cases where the solution of the differential equations is known. For the paper helicopter we will first demonstrate with analytical solution, and then with a numerical solution..

Analytical solution of paper helicopter velocity.

Verifying the analytical solution We start by checking that at t=0 the velocity is zero at that at infinity the velocity goes to V s. Then we substitute solution into the differential equation to check that it is satisfied:

Top hat question What conditions can we apply to check if the expression for dV/dt is correct? We know its value at t=0. We know its value at t=infinity. Both. Neither.

Numerical solution Numerical solution may allow us to relax some of our assumptions, such as constant drag coefficient (may be function of speed). The simplest way to integrate a differential equation is with Euler explicit algorithm with constant time step Can get also height without the challenge of analytical integration Now need to implement in software. Will use Matlab and verify against analytical solution.

Matlab code function [v,va,h,t]=paper_copter(v0,c,g,T,n) % Calculates trajectory of paper helicopter both % analytically and by Euler explicit integration. dt=T/n; vs=sqrt(g/c); t=linspace(0,T,n+1); va=vs*(1-exp(-2*vs*c*t))./(1+exp(-2*vs*c*t)); v(1)=v0;h(1)=0; for i=1:n v(i+1)=(g-c*v(i)^2)*dt+v(i); h(i+1)=v(i)*dt+h(i); end g=32.2;c=1;T=2;v0=0.;

But… If we check Matlab code for negative (upward) initial speeds. g=32.2;c=1;T=0.5; v0=-5.7; [v,va,h,t]=paper_copter(v0,c,g,T,10); v It is flying into space! What error did I stumble on?

Code verification Includes numerical algorithm testing and software quality assurance. However, there are several errors that may create false impression that code is deficient.

Model validation Three stages according to Oberkampf and Trucano

Calibration Model often includes parameters that need to be estimated from measurements. For paper helicopter we can measure air density and area. We estimate drag coefficient from final speed measurement. We may introduce calibration parameter of fake initial condition to account for period when it falls without spinning.

Distinguishing between alternative models Consider the possibility that a model for paper helicopter where drag is proportional to speed instead of square of speed is suggested. That is, Newton’s second law is Solution

Top Hat question Which of the following is a valid difference between linear and quadratic model Linear model does not suffer from sign problem when helicopter flies up. Linear model approaches steady state faster. In linear model mass has larger effect on steady state speed.

Equivalent calibration We will assume that we measure the steady state speed, and use it for calibration. For quadratic model For linear model With errors not be easy to distinguish

Anti-optimization for model discrimination Principle: Large errors are easier on debugging than small ones. Example: Comparing finite element and finite strip calculations of buckling loads for stiffened panels I observed 0.3% difference. I knew that the difference should be at most 100 times smaller. I did not have a chance of getting any attention from software developers for this problem. I played with problem parameters until the difference grew to 100%. It became clear that finite-element solution was wrong, and it took developer one day to find the error.

Anti-optimization for composite failure criteria Van Wamelen A., Haftka, R.T., and Johnson, E.R., "Optimal Design of Laminated Specimens to Evaluate Competing Composite Failure Criteria," Proceedings American Society for Composites, 8th Technical Conference, Technomic Publishing Company, 1993, pp Designed laminate with ply angles that caused two failure criteria that usually give close results to lead to factor of 2 difference. Test validated Tsai-Wu failure criterion, against Hart-Smith criterion. However, developer of competing criterion claimed boundary failure.

Anti-optimization for drag models Maximize ratio of quadratic and linear speeds What can we do to improve experimental conditions for measuring difference What can we do to improve experimental conditions for measuring difference?