A Course in Scientific Simulation Mike O’Leary Shiva Azadegan Towson University Supported by the National Science Foundation under grant DUE 9952625.

Slides:



Advertisements
Similar presentations
Oscillations and Simple Harmonic Motion:
Advertisements

Introduction to Projectile Motion
Periodic motion Frequency Period. Periodic motion – Any motion that repeats itself.
The Asymptotic Ray Theory
Lect.3 Modeling in The Time Domain Basil Hamed
PLANAR KINETICS OF A RIGID BODY: CONSERVATION OF ENERGY
Transfer FAS UAS SAINT-PETERSBURG STATE UNIVERSITY COMPUTATIONAL PHYSICS Introduction Physical basis Molecular dynamics Temperature and thermostat Numerical.
Developing Computer Simulations Using Object Oriented Programming. The Three Body Problem: A Case Study Mike O’Leary & Shiva Azadegan Towson University.
 Dynamics – Atwood Machines / SBA urses/honors/dynamics/Atwood.html.
Mechanics of Machines Dr. Mohammad Kilani
MAT 594CM S10Fundamentals of Spatial ComputingAngus Forbes Week 2 : Dynamics & Numerical Methods Goal : To write a simple physics simulation Topics: Intro.
Course Outline 1.MATLAB tutorial 2.Motion of systems that can be idealized as particles Description of motion; Newton’s laws; Calculating forces required.
Mechanical Vibrations
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Mathematical Modeling and Engineering Problem solving.
Lecture 24 Introduction to state variable modeling Overall idea Example Simulating system response using MATLAB Related educational modules: –Section 2.6.1,
The Finite Element Method
Introduction Information in science, business, and mathematics is often organized into rows and columns to form rectangular arrays called “matrices” (plural.
Motion of a mass at the end of a spring Differential equation for simple harmonic oscillation Amplitude, period, frequency and angular frequency Energetics.
Developing Simulations and Demonstrations Using Microsoft Visual C++ Mike O’Leary Shiva Azadegan Towson University Supported by the National Science Foundation.
Lecture 35 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall Slide 5- 1.
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
ES 128 Computational Solid and Structural Mechanics
Lecture Objectives: -Define turbulence –Solve turbulent flow example –Define average and instantaneous velocities -Define Reynolds Averaged Navier Stokes.
Chapter 9 Numerical Integration Flow Charts, Loop Structures Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
BsysE595 Lecture Basic modeling approaches for engineering systems – Summary and Review Shulin Chen January 10, 2013.
Chapter 1 Computing Tools Analytic and Algorithmic Solutions Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 19 MECHANICAL VIBRATIONS
CISE301_Topic11 CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4:
Mechanics of Machines Dr. Mohammad Kilani Class 3 Position Analysis.
4 - 1 Kinematics of Particles Kinematics is the study of motion without reference to the force which produced the motion. First, we will study the kinematics.
CHAPTER 5 MESB 374 System Modeling and Analysis Thermal Systems
Progress in identification of damping: Energy-based method with incomplete and noisy data Marco Prandina University of Liverpool.
Signals and Systems 1 Lecture 8 Dr. Ali. A. Jalali September 6, 2002.
Chapter 17 PLANE MOTION OF RIGID BODIES: ENERGY AND MOMENTUM METHODS
When a weight is added to a spring and stretched, the released spring will follow a back and forth motion.
Chapter 1 Computing Tools Analytic and Algorithmic Solutions Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Double Pendulum by Franziska von Herrath & Scott Mandell.
Computational fluid dynamics Authors: A. Ghavrish, Ass. Prof. of NMU, M. Packer, President of LDI inc.
Silesian University of Technology in Gliwice Inverse approach for identification of the shrinkage gap thermal resistance in continuous casting of metals.
1 Chapter 5: Harmonic Analysis in Frequency and Time Domains Contributors: A. Medina, N. R. Watson, P. Ribeiro, and C. Hatziadoniu Organized by Task Force.
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
Kinematics of a Rubber Bouncy Ball A Simulation of a Rubber Bouncy Ball Yun Chung Lu Physics 210 Final Project Presentation Affiliation: University of.
LATHE VIBRATIONS ANALYSIS ON SURFACE ROUHHNESS OF MACHINED DETAILS LATHE VIBRATIONS ANALYSIS ON SURFACE ROUHHNESS OF MACHINED DETAILS * Gennady Aryassov,
When a weight is added to a spring and stretched, the released spring will follow a back and forth motion.
ME – VII SEM Course Name- Mechanical Vibrations Manav Rachna College of Engg.
Ch 1.1: Basic Mathematical Models; Direction Fields Differential equations are equations containing derivatives. The following are examples of physical.
MECE 102 Engineering Mechanics Lab A First Year Course in Newtonian Mechanics, Experimentation, and Computer Tools Created by the Faculty of the Mechanical.
Lecture Objectives: Define 1) Reynolds stresses and
Part 1 Chapter 1 Mathematical Modeling, Numerical Methods, and Problem Solving PowerPoints organized by Dr. Michael R. Gustafson II, Duke University and.
ME 440 Intermediate Vibrations Tu, Feb. 3, 2009 Sections , © Dan Negrut, 2009 ME440, UW-Madison.
The Mechanical Simulation Engine library An Introduction and a Tutorial G. Cella.
Lecture Objectives: - Numerics. Finite Volume Method - Conservation of  for the finite volume w e w e l h n s P E W xx xx xx - Finite volume.
Computational Physics (Lecture 11) PHY4061. Variation quantum Monte Carlo the approximate solution of the Hamiltonian Time Independent many-body Schrodinger’s.
1 10. Harmonic oscillator Simple harmonic motion Harmonic oscillator is an example of periodic motion, where the displacement of a particle from.
PHY 151: Lecture Motion of an Object attached to a Spring 12.2 Particle in Simple Harmonic Motion 12.3 Energy of the Simple Harmonic Oscillator.
PRIOR READING: Main 1.1, 2.1 Taylor 5.1, 5.2 SIMPLE HARMONIC MOTION: NEWTON’S LAW
Announcements Topics: -sections 6.4 (l’Hopital’s rule), 7.1 (differential equations), and 7.2 (antiderivatives) * Read these sections and study solved.
Ordinary Differential Equations (ODEs). Objectives of Topic  Solve Ordinary Differential Equations (ODEs).  Appreciate the importance of numerical methods.
1 Variational and Weighted Residual Methods. 2 Introduction The Finite Element method can be used to solve various problems, including: Steady-state field.
When a weight is added to a spring and stretched, the released spring will follow a back and forth motion.
10. Harmonic oscillator Simple harmonic motion
A PRESENTATION ON VIBRATION
FEA Introduction.
Autonomous Cyber-Physical Systems: Dynamical Systems
Mathematical Modeling, Numerical Methods, and Problem Solving
Analytical Tools in ME Course Objectives
Devil physics The baddest class on campus IB Physics
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
10.7 Parametric Equations parametric equations: a pair of equations, one for x and one for y, relating both to a third variable t.
Presentation transcript:

A Course in Scientific Simulation Mike O’Leary Shiva Azadegan Towson University Supported by the National Science Foundation under grant DUE

What is the Course? This is a one-semester interdisciplinary course straddling the boundaries between mathematical modeling, numerical methods, and modern object-oriented computer programming. Our course is project-driven. Given a realistic problem, we  Create a model,  discuss appropriate numerical methods, and then  create a simulation of the problem using Microsoft Visual C++ that takes full advantage of our computer's graphical capabilities. Prerequisites: Calculus 1,2; Introduction to Programming 1.

How does the Course Proceed? The course is driven by the projects. The modeling, numerical methods, and computer programming are introduced as needed for the solution of a particular problem. Course can be split into four large portions  Introduction  First project  Second project  Third project

What are the Projects? Each project takes students 2-4 weeks to complete. Students complete a written project report  pages  Describes in detail the model, the numerical methods, and the program used to solve the problem.  Gives a complete answer to the assigned project questions. Students programs are also graded.

What have we developed? Lecture notes for the entire course CD that contains source code for the examples. These are available here, and online at

Motion of a baseball under air resistance What is the optimal angle to hit a baseball so that it travels the farthest? Does this angle change with the velocity of the ball? Students write a program that gives the total distance the ball will travel. This project does not require a graphical component, but one can be incorporated.

The double spring Describe the motion of a mass attached to two springs in the plane. Project questions include:  Given initial conditions, determine the location of the mass after a period of time, and estimate the accuracy of the answer.  Are there solutions that remain above the line connecting the two fixed points for all time?  Analyze the stability properties of the system. Does it display sensitive dependence on initial conditions?  Prove that the sum of the kinetic energy and the energy stored in the springs is conserved.

The resonant filter Create a model of an LRC resonant filter. Project questions:  Given an unknown input signal known to be the sum of sinusoids, find the frequency of the unknown signal. This requires an analysis of the preferred frequency of the solutions to a constant coefficient second order differential equation. Programming notes  The interface is best built with slider controls.  Because this requires displaying a graph of a function, some more complex graphical programming is needed.  Almost requires the use of dynamically created arrays.

Dynamics of HIV Create a simple one-compartment model for HIV infection of CD4+ T-cells. Obtain three equations in three variables. Investigate the effect of an RT-inhibitor. Though they do not kill HIV, they prevent HIV cells from infecting healthy cells. Project questions  Show that that the system tends to a steady state.  Show that, if the RT inhibitor is sufficiently effective, then HIV will be entirely removed from the body.  Show that, there is a lower threshold for effectiveness of the RT inhibitor which, though it would not eliminate the virus, it would prevent the onset of AIDS.  Compare the numerical results with their analytic counterparts.

The double pendulum Create a model for a jointed pendulum. Best technique requires variational methods. Project questions  Does the double pendulum display sensitive dependence on initial conditions?

Diffusion Create a model for diffusion processes. Three different methods to create the model-  System of ordinary differential equations  Directly, as a partial differential equation  Probabilistic methods. Introduce finite difference methods for solving partial differential equations  Discuss consistency, stability and convergence. Project question:  Simulate the temperature of a solid bar. Programming note: the best way to enter the initial data is to use the mouse.