Force Function

kip := 1000lb

⎛⎜ 0 ⎞
⎜ 5 ⎟
⎜ 8.6602 ⎟
⎜ 10 ⎟
m := 0.2533


⎜ 8.6602 ⎟
⎜ 5 ⎟
k := 10
x := ⎜

⎜ 0 ⎟
⎜ 0 ⎟
c := 0.1592
⎜ 0 ⎟


⎜ 0 ⎟
⎜ 0 ⎟
⎜ 0

i := 0 .. 10
∆t := 0.1

10

8

6
xi
4

2

0

0

0.2

0.4

0.6
i⋅ ∆t

0.8

1

Newmark's Beta Method:Linear Systems:

uuu ( β , γ , m , c , k , ∆t , x ) :=

γ

kbar ← k +
1

a←

β ⋅ ∆t
1

b←

2⋅ β

β ⋅ ∆t

β ⋅ ∆t

γ

⋅m +

1

⋅c +

β

2

⋅m

⋅c

⎡ ⎛ γ − 1⎞⎤ ⋅ c

⎣ ⎝ 2⋅ β
⎠⎦

⋅ m + ⎢∆t⋅ ⎜

u ←0
0

udot ← 0
0

x − c⋅ udot − k ⋅ u
0

udotdot ←

0

0

0

m

for i ∈ 0 .. 10

(

∆Pi ← x

i+ 1

−x

)

i

∆Pbari ← ∆Pi + a⋅ udot + b ⋅ udotdot
i

∆u i ←

∆Pbari
kbar

∆udoti ←

⎡ γ ⋅ ∆u −

i
⎣ β ⋅ ∆t

∆udotdoti ←

1
β ⋅ ∆t

u

i+ 1

1
4

γ :=

1
2

⋅ ∆u i −

udot

← udot + ∆udoti

udotdot

i+ 1

umax ← u

β :=

2

⎛ γ ⋅ udot ⎞ + ∆t⋅ ⎛ 1 − γ ⎞ ⋅ udotdot ⎤


i
i⎥
2⋅ β ⎠
⎝β



1
β ⋅ ∆t

⋅ udot −

← u + ∆u i
i

i+ 1

i

i

← udotdot + ∆udotdoti
i

i

1
2⋅ β

⋅ udotdot

i

disp := uuu ( β , γ , m , c , k , ∆t , x )
0
0

0

1

0.044

2

0.233

3

0.612

4

1.083

disp = 5

1.431

6

1.423

7

0.962

8

0.191

9

-0.604

10 -1.144
11 -1.254

2

1
( disp) i

0

1

2

0

0.2

0.4

0.6
i⋅ ∆t

0.8

1

Sign up to vote on this title
UsefulNot useful