cven302-502 computer applications in engineering and construction

15
CVEN302-502 Computer Applications in Engineering and Construction

Upload: christine-gallagher

Post on 19-Jan-2018

217 views

Category:

Documents


0 download

DESCRIPTION

Example: Falling Parachutist F=ma =F down +F up =mg-cv(gravity minus air resistance) Where does mg come from? Observations. Where does -cv come from? More observations!

TRANSCRIPT

Page 1: CVEN302-502 Computer Applications in Engineering and Construction

CVEN302-502Computer Applications in

Engineering and Construction

Page 2: CVEN302-502 Computer Applications in Engineering and Construction

Modeling is the development of a mathematicalrepresentation of a physical/biological/chemical/economic/etc. system

Putting our understanding of a system/problem into math

Numerical methods are one means by whichmathematical models are solved

Page 3: CVEN302-502 Computer Applications in Engineering and Construction

Example:

Falling ParachutistF=ma =Fdown +Fup

=mg-cv (gravity minus air resistance)Where does mg come from?

Observations.Where does -cv come from?

More observations!

Page 4: CVEN302-502 Computer Applications in Engineering and Construction

Now we have fundamental physical laws, so we combine those with observations to modelsystem.

A lot of what you will do is “canned” but needto know how to make use of observations.How have computers changed problem solving in engineering?

Allow us to focus more on the correct description of the problem at hand, rather than worry about how to solve it.

Page 5: CVEN302-502 Computer Applications in Engineering and Construction

Example: Finite elements and structural analysisSimple truss - force balance Complex truss

Instead of limiting our analysis to simple cases, numerics allows us to work on realistic cases.

Page 6: CVEN302-502 Computer Applications in Engineering and Construction

What are the fundamental laws we use in modeling?

Conservation of mass - i.e. traffic flow estimation

Conservation of momentum -i.e. force balance in structures

Conservation of energy - i.e. redox chemistry in water treatment plant

Page 7: CVEN302-502 Computer Applications in Engineering and Construction

Issues to be considered in modeling and numeric methods

1.Nonlinear vs. Linear2.Large vs. Small systems3.Nonideal vs. Ideal4.Sensitivity analysis5.Design

Page 8: CVEN302-502 Computer Applications in Engineering and Construction

Back to our example: the falling parachutist

F=ma=mg-cv

mcvmg

dtdv

cvmgdtdvm

Analytic solution (from calculus)

tmcecgmtv /1

Page 9: CVEN302-502 Computer Applications in Engineering and Construction

Numerical solution

discretize original equation

iiiii

iii

ii

ii

ii

tttvmcgtvtv

tvmcg

tttvtv

tttvtv

tv

dtdv

11

1

1

1

1

Page 10: CVEN302-502 Computer Applications in Engineering and Construction

Finally, combining analytical and numerical techniques

Catenary cable (power lines)From force balances, displacement can be modeled by a differential equation

2

2

2

1

dxdy

Tw

dxyd

a

Page 11: CVEN302-502 Computer Applications in Engineering and Construction

0

2

4

6

8

10

12

-6 -4 -2 0 2 4 6 8 10 12

Ta

W=ws

Tb

Forces acting on catenary

Page 12: CVEN302-502 Computer Applications in Engineering and Construction

Can solve by integration

wTyx

Tw

wTy a

a

a

0cosh

Where

xx eex 21cosh

This equation is not analytically solvable for w or Ta

Page 13: CVEN302-502 Computer Applications in Engineering and Construction

Say we are given w, y0 and the value of y at an x. Can solve for Ta using numerical methods

wTyx

Tw

wTy a

a

a

0cosh

Becomes

Try different values of Ta until lhs is 0

0cosh 0a a

a

T Tw x y y xw T w

Page 14: CVEN302-502 Computer Applications in Engineering and Construction

14

We will use Matlab as the computer language of choice for this course

• Anything you can do in Fortran or C you can do in Matlab

• Easier debugging system

• Built-in graphics

• Many, many functions already exist

• Excellent help capabilities

Matlab Truss example – nice animation

Page 15: CVEN302-502 Computer Applications in Engineering and Construction

In short, you will use numeric methods throughout your career

- even if you don’t write programs

- even if you go into management

If we didn’t have numerical methods, we might as well be...