Professional Documents
Culture Documents
Applications of Numerical Methods in Engineering CNS 3320
Applications of Numerical Methods in Engineering CNS 3320
CNS 3320
James T. Allison
University of Michigan
Department of Mechanical Engineering
Objectives:
BAnalysis Predicting the response of a system given a fixed system design and operating
conditions.
• 0–60 mph acceleration time of a vehicle (Mechanical Engineering)
• Power output of an electric motor (Electrical/Mechanical Engineering)
• Gain of an electromagnetic antenna (Electrical Engineering)
• Maximum load a bridge can support (Civil Engineering)
• Reaction time of a chemical process (Chemical Engineering)
• Drag force of an airplane (Aerospace Engineering)
• Expected return of a product portfolio (Industrial and Operations Engineering)
BDesign Determining an ideal system design such that a desired response is achieved.
• Maximizing a vehicle’s fuel economy while maintaining adequate performance levels
by varying vehicle design parameters.
• Minimizing the weight of a mountain bike while ensuring it will not fail structurally
by varying frame shape and thickness.
• Linearization
• Optimization
• Nonlinear equations can be much more difficult to solve than linear equations.
• Taylor’s series expansion provides a convenient way to approximate a nonlinear equation
or function with a linear equation.
• Accurate only near the expansion point a.
0 f 00(a) 2
f (x) = f (a) + f (a)(x − a) + (x − a) + . . .
2!
d2θ
= m 2 L = mθ̈L
dt
g
⇒ θ̈ − sinθ = 0
L
Linearize sinθ :
Ø dnb
beam nb
Ø dr(nb-1)
.
. rod nb-1
. .
. lr(nb-1)
.
Ø d3
beam 3
Ø dr2
rod 2 lr2
Ø d2
beam 2
Ø dr1
rod 1 lr1
Ø d1
beam 1
F1
Solve: F̂1(F3) − F1 = 0
F3 3
2 F2 r1 1 Fˆ1
a d r2 f b e g c
Solve for the value of the vector x that satisfies the given system of equations.
Linear Systems:
a11x1 + a12x2 = b1 a11 a12 x1 b1
⇒ = ⇒ Ax = b
a21x1 + a22x2 = b2 a21 a22 x2 b2
Non-Linear Systems:
f1(x) = b1
⇒ f (x) = b
f2(x) = b2
Kirchhoff’s Laws:
1. The sum of all voltage changes around any closed loop is zero:
ne
X
∆Vi = 0
i=1
Application of these two laws to an electrical circuit facilitates the formulation of a system
of n linear equations when n unknown quantities exist.
1 2
Node A
I1 I3 I2
R1 R3 R2
Loop 1 Loop 2
Node B
Matlab Implementation
vg, Tg
t
fac
T (x) = f1(L)
Thermal Structural
Analysis Analysis
L (dilated length)
Find the values of the input variables to a function such that the function is minimized
(or maximized), possibly subject to constraints.
subject to g(x) ≤ 0
h(x) = 0
Applications:
• Engineering Design
• Regression
• Equilibrium in Nature
• Minimize bicycle frame weight subject to structural failure constraints by varying frame
shape and thickness.
• Minimize vehicle cost subject to acceleration, top speed, handling, comfort, and safety
constraints by varying vehicle design variables.
n
X 2
SSE = (fi − fˆi(p))
i=1
⇒ min SSE(p)
p
Solve:
Z b
f (x)dx
a
df (x)
dx
where f (x) is an arbitrary continuous function.
1 1
2
F·dr = mdv · v = md(v · v) = md v
2 2
r2 2
v2
1 1 2
Z Z
2 2
T = F · dr = md v = m v2 − v1
r1 2
v1 2 2
d2x dẋ
a = ẍ = =
dtZ2 dt
t
ẋ = ẋ0 + ẍdt
Z0 t
x = x0 + ẋdt
0