You are on page 1of 18

9/8/2021

Introduction to Scientific
Computing

9/8/2021 Son Dao, PhD 1

Introduction

Son Dao, PhD 2

Son Dao, PhD 1


9/8/2021

My advice
• If you don’t let a teacher know at what level
you are by asking a question, or revealing
your ignorance you will not learn or grow.
• You can’t pretend for long, for you will
eventually be found out. Admission of
ignorance is often the first step in our
education.
– Steven Covey—Seven Habits of Highly Effective People

Son Dao, PhD 3

Why use Numerical Methods?


• To solve problems that cannot be solved exactly

x u2
1 

2 e

2
du

Son Dao, PhD 2


9/8/2021

Why use Numerical Methods?


• To solve problems that are intractable!

Steps in Solving an
Engineering Problem

Son Dao, PhD

Son Dao, PhD 6

Son Dao, PhD 3


9/8/2021

How do we solve an engineering


problem?

Problem Description

Mathematical Model

Solution of Mathematical Model

Using the Solution


Son Dao, PhD 7

Example of Solving an
Engineering Problem

Son Dao, PhD 8

Son Dao, PhD 4


9/8/2021

Bascule Bridge THG

Son Dao, PhD 9

Bascule Bridge THG

Hub

Trunnion

Girder

Son Dao, PhD 10

10

Son Dao, PhD 5


9/8/2021

Trunnion-Hub-Girder
Assembly Procedure

Step1. Trunnion immersed in dry-ice/alcohol


Step2. Trunnion warm-up in hub
Step3. Trunnion-Hub immersed in
dry-ice/alcohol
Step4. Trunnion-Hub warm-up into girder

Son Dao, PhD 11

11

Problem

After Cooling, the Trunnion Got Stuck


in Hub
Son Dao, PhD 12

12

Son Dao, PhD 6


9/8/2021

Why did it get stuck?

Magnitude of contraction needed in the trunnion


was 0.015” or more. Did it contract enough?

Son Dao, PhD 13

13

Video of Assembly Process

Unplugged Version VH1 Version


Son Dao, PhD 14

14

Son Dao, PhD 7


9/8/2021

Consultant calculations

 D  D    T
D  12.363"
  6.47  106 in / in / o F
T  108  80  188 o F

D  (12.363)(6.47  106 )( 188)


 0.01504"
Son Dao, PhD 15

15

Is the formula used correct?


D  D    T T(oF) α (μin/in/oF)
-340 2.45
-300 3.07
-220 4.08
-160 4.72
D  D  T
-80 5.43
0 6.00
40 6.24
80 6.47

Son Dao, PhD 16

16

Son Dao, PhD 8


9/8/2021

The Correct Model Would Account for


Varying Thermal Expansion Coefficient

Tc

D  D   (T )dT
Ta

Son Dao, PhD 17

17

Can You Roughly Estimate the


Contraction?
Tc

D  D   (T )dT Ta=80oF; Tc=-108oF; D=12.363”


Ta

Tc

D  D   (T )dT
Ta

Son Dao, PhD 18

18

Son Dao, PhD 9


9/8/2021

Can You Find a Better Estimate for


the Contraction?
Tc

D  D   (T )dT
Ta

Ta = 80oF
Tc = -108oF
D = 12.363"

Son Dao, PhD 19

19

Estimating Contraction
Accurately
Change in diameter
(D) by cooling it in dry
ice/alcohol is given by
Tc

D  D   (T ) dT
Ta

Ta = 80oF
Tc = -108oF
D = 12.363"
  1.2278  10 5 T 2  6.1946  10 3 T  6.0150
D  0.0137"
Son Dao, PhD 20

20

Son Dao, PhD 10


9/8/2021

So what is the solution to the


problem?
One solution is to immerse the trunnion in liquid nitrogen
which has a boiling point of -321oF as opposed to the
dry-ice/alcohol temperature of -108oF.

D  0.0244"

Son Dao, PhD 21

21

Revisiting steps to solve a problem


1) Problem Statement: Trunnion got stuck in
the hub.
2) Modeling: Developed a new model
Tc

D  D   (T )dT
Ta

3) Solution: 1) Used trapezoidal rule OR b)


Used regression and integration.
4) Implementation: Cool the trunnion in liquid
nitrogen. Son Dao, PhD 22

22

Son Dao, PhD 11


9/8/2021

THE END

Son Dao, PhD 23

23

Introduction to Numerical Methods

Mathematical Procedures

Son Dao, PhD 24

24

Son Dao, PhD 12


9/8/2021

Mathematical Procedures
• Nonlinear Equations
• Differentiation
• Simultaneous Linear Equations
• Curve Fitting
– Interpolation
– Regression
• Integration
• Ordinary Differential Equations
• Other Advanced Mathematical Procedures:
– Partial Differential Equations
– Optimization
– Fast Fourier Transforms
Son Dao, PhD 25

25

Nonlinear Equations
How much of the floating ball is under water?

Diameter=0.11m
Specific Gravity=0.6

x 3  0.165 x 2  3.993  10 4  0
Son Dao, PhD 26

26

Son Dao, PhD 13


9/8/2021

Nonlinear Equations
How much of the floating ball is under the water?

f ( x )  x 3  0.165 x 2  3.993  104  0


Son Dao, PhD 27

27

Differentiation
What is the acceleration
at t=7 seconds?

 16  104  dv
v(t)  2200 ln
16  10 4
 5000t
  9.8t a
  dt
Son Dao, PhD 28

28

Son Dao, PhD 14


9/8/2021

Differentiation
What is the acceleration at t=7 seconds?
Time (s) 5 8 12
Vel (m/s) 106 177 600

dv
a
dt

Son Dao, PhD 29

29

Simultaneous Linear Equations


Find the velocity profile, given

Time (s) 5 8 12
Vel (m/s) 106 177 600

v (t )  at 2  bt  c, 5  t  12
Three simultaneous linear equations
25a  5b  c  106
64a  8b  c  177
144a  12b  c  600

Son Dao, PhD 30

30

Son Dao, PhD 15


9/8/2021

Interpolation
What is the velocity of the rocket at t=7 seconds?
Time (s) 5 8 12
Vel (m/s) 106 177 600

Son Dao, PhD 31

31

Regression
Thermal expansion coefficient data for cast steel

Son Dao, PhD 32

32

Son Dao, PhD 16


9/8/2021

Regression (cont)

Son Dao, PhD 33

33

Integration
Finding the diametric contraction in a steel shaft when
dipped in liquid nitrogen.

T fluid

D  D   dT
Troom

Son Dao, PhD 34

34

Son Dao, PhD 17


9/8/2021

Ordinary Differential Equations


How long does it take a trunnion to cool down?

d
mc  hA(   a ),  (0)   room
dt
Son Dao, PhD 35

35

Son Dao, PhD 18

You might also like