Introduction To Scientific Computing
Introduction To Scientific Computing
(ENGR 4453)
𝑥
1 𝑢2
−
න𝑒 2 𝑑𝑢
2𝜋
−∞
Mathematical Model
We use Physics to build the Mathematical Model. The solution is obtained using Numerical Methods.
Example of Solving an Engineering Problem
This is the
hinge
Lifting or bascule bridges use a hinge in order to move and allow the ships to pass.
Bascule Bridge THG
Trunnion
(Spanish=Muñon)
Hub
(Spanish=Centro)
Girder
(Spanish=Viga)
THG unions are formed by three parts. These parts are assembled mechanically.
Trunnion-Hub-Girder Assembly Procedure
THG unions are formed by three parts. These parts are assembled mechanically.
Problem: It got stuck
This diameter
need to be 0.015”
smaller than the
diameter of the
hub.
Magnitude of contraction needed in the trunnion was 0.015” or more. Did it contract enough?
Calculations:
Δ𝐷 = 𝐷 × 𝛼 × Δ𝑇
𝐷 = 12.363"
−6 𝑜
𝛼 = 6.47 × 10 𝑖𝑛/𝑖𝑛/ 𝐹
𝑜
Δ𝑇 = 𝑇𝑐 − 𝑇𝑎 = −108 − 80 = −188 𝐹
−6
Δ𝐷 = (12.363)(6.47 × 10 )(−188)
= −0.01504"
It seems to be almost the contraction required, but there is an error. Do you think 𝛼 is constant with
temperature?
𝛼 as a function of temperature
If you want to get the correct answer you need to use 𝛼 (the coefficient of thermal expansion) as a
function of temperature
Correct Model
𝑇𝑐
Δ𝐷 = 𝐷 න 𝛼 (𝑇)𝑑𝑇
𝑇𝑎
The Correct Model Would Account for Varying Thermal Expansion Coefficient
Estimating Contraction Accurately
Change in diameter (D) by cooling it in dry
ice/alcohol is given by:
𝑇𝑐
𝑇𝑎 = 80℉
Δ𝐷 = 𝐷 න 𝛼 (𝑇)𝑑𝑇 𝑇𝐶 = −108℉
𝑇𝑎 𝐷 = 12.363"
Δ𝐷 = −0.0137"
Δ𝐷 = −0.0244"
So, the problem was that an incorrect cooling liquid was used.
Steps to solve a problem
1. Problem Description: Trunnion got stuck in the hub.
2. Mathematical model (based on Physics):
𝑇𝑐
Δ𝐷 = 𝐷 න 𝛼 (𝑇)𝑑𝑇
𝑇𝑎
Diameter=0.11m
Specific Gravity=0.6
Time (s) 5 8 12
Vel (m/s) 106 177 600
If you do not have data between the lectures, what would you do?
Regression
Thermal expansion coefficient data for cast steel
16 × 104
𝑣(𝑡) = 2200 ln − 9.8𝑡
16 × 104 − 5000𝑡
𝑑𝑣
𝑎= =?
𝑑𝑡
𝑇𝑓𝑙𝑢𝑖𝑑
Δ𝐷 = 𝐷 න 𝛼 𝑑𝑇
𝑇𝑟𝑜𝑜𝑚
How would you do the integration if you only have data and there is no function.
Linear Systems of Equations
Find the velocity profile, given:
Time (s) 5 8 12
Vel (m/s) 106 177 600
𝑣(𝑡) = 𝑎𝑡 2 + 𝑏𝑡 + 𝑐, 5 ≤ 𝑡 ≤ 12
64𝑎 + 8𝑏 + 𝑐 = 177
In order to get the equation you need to solve a system of linear equations.
Ordinary Differential Equations
𝑑𝜃
𝑚𝑐 = −ℎ𝐴(𝜃 − 𝜃𝑎 ),
𝑑𝑡
𝜃(0) = 𝜃𝑟𝑜𝑜𝑚