220 likes | 382 Views
Computers in Civil Engineering CEE3100 Spring 2002. Lecture #2. Outline. Examples of civil engineering problems that require application of numerical methods: Flow in open channels Truss analysis Sailboat mast design Computation of work. Example 1. Flow In Open Channels
E N D
Computers in Civil EngineeringCEE3100 Spring 2002 Lecture #2
Outline • Examples of civil engineering problems that require application of numerical methods: • Flow in open channels • Truss analysis • Sailboat mast design • Computation of work
Example 1 • Flow In Open Channels • Roots of Equations
T(y)=surface width y A(y)=area P(y) = wetted perimeter Uniform Flow
Problem Formulation Find the depth y of uniform flow for a given flow rate Q and channel geometry. In other words: given Q and channel geometry, solve: f(y) = 0 Problem: Explicit solution does not exist! Solution:Numerically find root of equation (could you do it with Excel??)
Example 2 • Structural Analysis • Systems of Linear Equations
1000 kg F1 90° F3 H2 60° 30° F2 V2 V3 Truss Analysis
Problem Formulation Find the forces F1, F2, F3, and reactions, V1, V2, H2, associated with a statically determinant truss. In other words: solve the system of six linear equations with six unknowns. Solution: Solve System Using Gaussian Elimination or Gauss-Jordan Method
(Could you solve the problem using exact methods learned in Statics??)
Example 3 • Sailboat Mast Design • Curve Fitting
Definitions force in mast stress= cross-sectional area of mast extension or shortening strain= total length Hooke’s law: stress = K * strain Length Change DL = strain * length
Strain Stress Experimental Stress-Strain Data
Problem Formulation Based on the experimental data, estimate the change in lengthDLof the mast due to stress caused by wind force. Problem:Data points do not lie on a smooth, known curve Solution: Assume some relationship and fit a curve using least squares error criterion
Strain Stress Curve Fitting Quadratic (2nd order) curve Linear (1st order) curve
Example 4 • Computation of Work • Numerical Integration
F(x) F(x) (x) (x) x Variable Force and Direction
F(x) x (x) Experimental Data x
Problem Formulation Based on the experimental data of variable force and angle, estimate the total work performed to pull a block a given distance x, i.e. calculate: Problem:F(x) and q(x) are not analytical Solution: Numerical Integration