SlideShare a Scribd company logo
1 of 12
1
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Numerical Solution of
Boundary Value Problems
Weighted Residual Methods
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Objectives
• In this section we will be introduced to the
general classification of approximate
methods
• Special attention will be paid for the
weighted residual method
• Derivation of a system of linear equations
to approximate the solution of an ODE will
be presented using different techniques
2
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Classification of Approximate
Solutions of D.E.’s
• Discrete Coordinate Method
– Finite difference Methods
– Stepwise integration methods
• Euler method
• Runge-Kutta methods
• Etc…
• Distributed Coordinate Method
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Distributed Coordinate Methods
• Weighted Residual Methods
– Interior Residual
• Collocation
• Galrekin
• Finite Element
– Boundary Residual
• Boundary Element Method
• Stationary Functional Methods
– Reyligh-Ritz methods
– Finite Element method
3
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Basic Concepts
• A linear differential equation may be written in the form:
( )( ) ( )xgxfL =
• Where L(.) is a linear differential operator.
• An approximate solution maybe of the form:
( ) ( )∑=
=
n
i
ii xaxf
1
ψ
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Basic Concepts
• Applying the differential operator on the approximate
solution, you get:
( )( ) ( ) ( ) ( )
( )( ) ( ) 0
1
1
≠−=
−⎟
⎠
⎞
⎜
⎝
⎛
=−
∑
∑
=
=
xgxLa
xgxaLxgxfL
n
i
ii
n
i
ii
ψ
ψ
( )( ) ( ) ( )xRxgxLa
n
i
ii =−∑=1
ψ
Residue
4
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Handling the Residue
• The weighted residual methods are all
based on minimizing the value of the
residue.
• Since the residue can not be zero over the
whole domain, different techniques were
introduced.
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
General Weighted Residual
Method
5
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Objective of WRM
• As any other numerical method, the
objective is to obtain of algebraic
equations, that, when solved, produce a
result with an acceptable accuracy.
• If we are seeking the values of ai that
would reduce the Residue (R(x)) allover
the domain, we may integrate the residue
over the domain and evaluate it!
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Evaluating the Residue
( )( ) ( ) ( )xRxgxLa
n
i
ii =−∑=1
ψ
( )( ) ( )( ) ( )( ) ( ) ( )xRxgxLaxLaxLa nn =−+++ ψψψ ...2211
n unknown variables
( ) ( )( ) ( ) 0
1
=⎟
⎠
⎞
⎜
⎝
⎛
−= ∫ ∑∫ =Domain
n
i
ii
Domain
dxxgxLadxxR ψ
One equation!!!
6
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Using Weighting Functions
• If you can select n different weighting
functions, you will produce n equations!
• You will end up with n equations in n
variables.
( ) ( ) ( ) ( )( ) ( ) 0
1
=⎟
⎠
⎞
⎜
⎝
⎛
−= ∫ ∑∫ =Domain
n
i
iij
Domain
j dxxgxLaxwdxxRxw ψ
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Collocation Method
• The idea behind the collocation method is
similar to that behind the buttons of your
shirt!
• Assume a solution, then force the residue
to be zero at the collocation points
7
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Collocation Method
( ) 0=jxR
( )
( )( ) ( ) 0
1
=−
=
∑=
j
n
i
jii
j
xFxLa
xR
ψ
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Example Problem
8
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
The bar tensile problem
( )
0/
00
'
02
2
=⇒=
=⇒=
=+
∂
∂
dxdulx
ux
sBC
xF
x
u
EA
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Bar application
( ) 02
2
=+
∂
∂
xF
x
u
EA
( ) ( )∑=
=
n
i
ii xaxu
1
ψ
( ) ( ) ( )xRxF
dx
xd
aEA
n
i
i
i =+∑=1
2
2
ψ
Applying the collocation method
( ) ( ) 0
1
2
2
=+∑=
j
n
i
ji
i xF
dx
xd
aEA
ψ
9
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
In Matrix Form
( )
( )
( )⎪
⎪
⎭
⎪
⎪
⎬
⎫
⎪
⎪
⎩
⎪
⎪
⎨
⎧
−=
⎪
⎪
⎭
⎪
⎪
⎬
⎫
⎪
⎪
⎩
⎪
⎪
⎨
⎧
⎥
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎢
⎣
⎡
nnnnnn
n
n
xF
xF
xF
a
a
a
kkk
kkk
kkk
MMMOMM
2
1
2
1
21
22212
12111
...
...
...
Solve the above system for the “generalized
coordinates” ai to get the solution for u(x)
( )
jxx
i
ij
dx
xd
EAk
=
= 2
2
ψ
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Notes on the trial functions
• They should be at least twice
differentiable!
• They should satisfy all boundary
conditions!
• Those are called the “Admissibility
Conditions”.
10
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Using Admissible Functions
• For a constant forcing function, F(x)=f
• The strain at the free end of the bar should
be zero (slope of displacement is zero).
We may use:
( ) ⎟
⎠
⎞
⎜
⎝
⎛
=
l
x
Sinx
2
π
ψ
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Using the function into the DE:
• Since we only have one term in the series,
we will select one collocation point!
• The midpoint is a reasonable choice!
( )
⎟
⎠
⎞
⎜
⎝
⎛
⎟
⎠
⎞
⎜
⎝
⎛
−=
l
x
Sin
l
EA
dx
xd
EA
22
2
2
2
ππψ
{ } { }faSin
l
EA −=
⎥
⎥
⎦
⎤
⎢
⎢
⎣
⎡
⎟
⎠
⎞
⎜
⎝
⎛
⎟
⎠
⎞
⎜
⎝
⎛
− 1
2
42
ππ
11
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Solving:
• Then, the approximate
solution for this problem is:
• Which gives the maximum
displacement to be:
• And maximum strain to be:
( ) ( ) EA
fl
EA
fl
SinlEA
f
a
2
2
2
21 57.0
24
42
≈==
πππ
( ) ⎟
⎠
⎞
⎜
⎝
⎛
≈
l
x
Sin
EA
fl
xu
2
57.0
2
π
( ) ( )5.057.0
2
=≈ exact
EA
fl
lu
( ) ( )0.19.00 =≈ exact
EA
lf
ux
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Homework #11
• Solve the beam bending
problem, for beam
displacement, for a
simply supported beam
with a load placed at the
center of the beam using
– Any weighting function
– Collocation Method
• Use three term Sin series
that satisfies all BC’s
• Write a program that
produces the results for
n-term solution.
)(4
4
xF
dx
wd
=
0
)()0(
0)()0(
2
2
2
2
==
==
dx
lwd
dx
wd
lww
12
ENME 602 Spring 2007
Dr. Eng. Mohammad Tawfik
Exact Solution
12/1
10
3
15
7
412
2/10
60
13
12
)(
23
3
<<+−+−=
<<+=
x
xxx
x
xx
xw

More Related Content

What's hot

Metodos jacobi y gauss seidel
Metodos jacobi y gauss seidelMetodos jacobi y gauss seidel
Metodos jacobi y gauss seidel
Cesar Mendoza
 
Iterativos Methods
Iterativos MethodsIterativos Methods
Iterativos Methods
Jeannie
 

What's hot (19)

Gauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan methodGauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan method
 
Matrix Methods of Structural Analysis
Matrix Methods of Structural AnalysisMatrix Methods of Structural Analysis
Matrix Methods of Structural Analysis
 
A0280106
A0280106A0280106
A0280106
 
Basic calculus (ii) recap
Basic calculus (ii) recapBasic calculus (ii) recap
Basic calculus (ii) recap
 
Elements of Statistical Learning 読み会 第2章
Elements of Statistical Learning 読み会 第2章Elements of Statistical Learning 読み会 第2章
Elements of Statistical Learning 読み会 第2章
 
BSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICSBSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICS
BSC_COMPUTER _SCIENCE_UNIT-2_DISCRETE MATHEMATICS
 
Btech_II_ engineering mathematics_unit3
Btech_II_ engineering mathematics_unit3Btech_II_ engineering mathematics_unit3
Btech_II_ engineering mathematics_unit3
 
Specific topics in optimisation
Specific topics in optimisationSpecific topics in optimisation
Specific topics in optimisation
 
Metodos jacobi y gauss seidel
Metodos jacobi y gauss seidelMetodos jacobi y gauss seidel
Metodos jacobi y gauss seidel
 
NONSTATIONARY RELAXED MULTISPLITTING METHODS FOR SOLVING LINEAR COMPLEMENTARI...
NONSTATIONARY RELAXED MULTISPLITTING METHODS FOR SOLVING LINEAR COMPLEMENTARI...NONSTATIONARY RELAXED MULTISPLITTING METHODS FOR SOLVING LINEAR COMPLEMENTARI...
NONSTATIONARY RELAXED MULTISPLITTING METHODS FOR SOLVING LINEAR COMPLEMENTARI...
 
Gauss sediel
Gauss sedielGauss sediel
Gauss sediel
 
Finite Element Analysis - UNIT-5
Finite Element Analysis - UNIT-5Finite Element Analysis - UNIT-5
Finite Element Analysis - UNIT-5
 
Regression vs Neural Net
Regression vs Neural NetRegression vs Neural Net
Regression vs Neural Net
 
Derivation and Application of Multistep Methods to a Class of First-order Ord...
Derivation and Application of Multistep Methods to a Class of First-order Ord...Derivation and Application of Multistep Methods to a Class of First-order Ord...
Derivation and Application of Multistep Methods to a Class of First-order Ord...
 
Fem class notes
Fem class notesFem class notes
Fem class notes
 
doc
docdoc
doc
 
Iterativos Methods
Iterativos MethodsIterativos Methods
Iterativos Methods
 
INVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
INVERSION OF MATRIX BY GAUSS ELIMINATION METHODINVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
INVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
 
NPDE-TCA
NPDE-TCANPDE-TCA
NPDE-TCA
 

Viewers also liked

Viewers also liked (20)

Vibration Damping: Lecture Notes - UMD Spring 2001
Vibration Damping: Lecture Notes - UMD Spring 2001Vibration Damping: Lecture Notes - UMD Spring 2001
Vibration Damping: Lecture Notes - UMD Spring 2001
 
Trusses!
Trusses!Trusses!
Trusses!
 
Finite Element Analysis of the Aeroelasticity Plates Under Thermal and Aerody...
Finite Element Analysis of the Aeroelasticity Plates Under Thermal and Aerody...Finite Element Analysis of the Aeroelasticity Plates Under Thermal and Aerody...
Finite Element Analysis of the Aeroelasticity Plates Under Thermal and Aerody...
 
Airfoils and Wings: Airfoils
Airfoils and Wings: AirfoilsAirfoils and Wings: Airfoils
Airfoils and Wings: Airfoils
 
Definition of Basic Quantities
Definition of Basic QuantitiesDefinition of Basic Quantities
Definition of Basic Quantities
 
Finite Element Analysis of the Beams Under Thermal Loading
Finite Element Analysis of the Beams Under Thermal LoadingFinite Element Analysis of the Beams Under Thermal Loading
Finite Element Analysis of the Beams Under Thermal Loading
 
Piezo book
Piezo bookPiezo book
Piezo book
 
Viscoelastic Damping: Lecture Notes 140202
Viscoelastic Damping: Lecture Notes 140202Viscoelastic Damping: Lecture Notes 140202
Viscoelastic Damping: Lecture Notes 140202
 
Education: Why? How?
Education: Why? How?Education: Why? How?
Education: Why? How?
 
FEM: Introduction and Weighted Residual Methods
FEM: Introduction and Weighted Residual MethodsFEM: Introduction and Weighted Residual Methods
FEM: Introduction and Weighted Residual Methods
 
Krok 2 - 2010 Question Paper (Stomatology)
Krok 2 - 2010 Question Paper (Stomatology)Krok 2 - 2010 Question Paper (Stomatology)
Krok 2 - 2010 Question Paper (Stomatology)
 
FEM: Beams
FEM: BeamsFEM: Beams
FEM: Beams
 
FEM: Element Equations
FEM: Element EquationsFEM: Element Equations
FEM: Element Equations
 
Initial valueproblems
Initial valueproblemsInitial valueproblems
Initial valueproblems
 
Regression
RegressionRegression
Regression
 
Newmark Time Integration
Newmark Time IntegrationNewmark Time Integration
Newmark Time Integration
 
FEM: Stationary Functional Approach
FEM: Stationary Functional ApproachFEM: Stationary Functional Approach
FEM: Stationary Functional Approach
 
FEM: Nonlinear Beam Deflection Model (with Temperature)
FEM: Nonlinear Beam Deflection Model (with Temperature)FEM: Nonlinear Beam Deflection Model (with Temperature)
FEM: Nonlinear Beam Deflection Model (with Temperature)
 
Vibration Absorber
Vibration AbsorberVibration Absorber
Vibration Absorber
 
Mechanics Of Composite Materials
Mechanics Of Composite MaterialsMechanics Of Composite Materials
Mechanics Of Composite Materials
 

Similar to 13 weightedresidual

09 numerical integration
09 numerical integration09 numerical integration
09 numerical integration
Mohammad Tawfik
 
08 numerical integration 2
08 numerical integration 208 numerical integration 2
08 numerical integration 2
Mohammad Tawfik
 
11 initial value problems system
11 initial value problems   system11 initial value problems   system
11 initial value problems system
Mohammad Tawfik
 
cos323_s06_lecture03_optimization.ppt
cos323_s06_lecture03_optimization.pptcos323_s06_lecture03_optimization.ppt
cos323_s06_lecture03_optimization.ppt
devesh604174
 
Product failure analysis using Explicit dynamic
Product failure analysis using Explicit dynamicProduct failure analysis using Explicit dynamic
Product failure analysis using Explicit dynamic
naga ram
 
08 numerical integration
08 numerical integration08 numerical integration
08 numerical integration
Mohammad Tawfik
 
Euler lagrange equations of motion mit-holonomic constraints_lecture7
Euler lagrange equations of motion  mit-holonomic  constraints_lecture7Euler lagrange equations of motion  mit-holonomic  constraints_lecture7
Euler lagrange equations of motion mit-holonomic constraints_lecture7
JOHN OBIDI
 
Grds international conference on pure and applied science (6)
Grds international conference on pure and applied science (6)Grds international conference on pure and applied science (6)
Grds international conference on pure and applied science (6)
Global R & D Services
 

Similar to 13 weightedresidual (20)

03 open methods
03 open methods03 open methods
03 open methods
 
09 numerical integration
09 numerical integration09 numerical integration
09 numerical integration
 
08 numerical integration 2
08 numerical integration 208 numerical integration 2
08 numerical integration 2
 
Tokyo conference
Tokyo conferenceTokyo conference
Tokyo conference
 
Paper Study: Melding the data decision pipeline
Paper Study: Melding the data decision pipelinePaper Study: Melding the data decision pipeline
Paper Study: Melding the data decision pipeline
 
11 initial value problems system
11 initial value problems   system11 initial value problems   system
11 initial value problems system
 
Spectral methods for solving differential equations
Spectral methods for solving differential equationsSpectral methods for solving differential equations
Spectral methods for solving differential equations
 
Paper study: Attention, learn to solve routing problems!
Paper study: Attention, learn to solve routing problems!Paper study: Attention, learn to solve routing problems!
Paper study: Attention, learn to solve routing problems!
 
Hprec2 1
Hprec2 1Hprec2 1
Hprec2 1
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
cos323_s06_lecture03_optimization.ppt
cos323_s06_lecture03_optimization.pptcos323_s06_lecture03_optimization.ppt
cos323_s06_lecture03_optimization.ppt
 
Product failure analysis using Explicit dynamic
Product failure analysis using Explicit dynamicProduct failure analysis using Explicit dynamic
Product failure analysis using Explicit dynamic
 
Introduction to finite element method
Introduction to finite element methodIntroduction to finite element method
Introduction to finite element method
 
08 numerical integration
08 numerical integration08 numerical integration
08 numerical integration
 
Euler lagrange equations of motion mit-holonomic constraints_lecture7
Euler lagrange equations of motion  mit-holonomic  constraints_lecture7Euler lagrange equations of motion  mit-holonomic  constraints_lecture7
Euler lagrange equations of motion mit-holonomic constraints_lecture7
 
ODE.pdf
ODE.pdfODE.pdf
ODE.pdf
 
First Order Ordinary Differential Equation
First Order Ordinary Differential EquationFirst Order Ordinary Differential Equation
First Order Ordinary Differential Equation
 
勾配法
勾配法勾配法
勾配法
 
Grds international conference on pure and applied science (6)
Grds international conference on pure and applied science (6)Grds international conference on pure and applied science (6)
Grds international conference on pure and applied science (6)
 
Optimization Techniques.pdf
Optimization Techniques.pdfOptimization Techniques.pdf
Optimization Techniques.pdf
 

More from Mohammad Tawfik

More from Mohammad Tawfik (20)

Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073
 
Supply Chain Management 01 - Introduction
Supply Chain Management 01 - IntroductionSupply Chain Management 01 - Introduction
Supply Chain Management 01 - Introduction
 
Supply Chain Management 02 - Logistics
Supply Chain Management 02 - LogisticsSupply Chain Management 02 - Logistics
Supply Chain Management 02 - Logistics
 
Supply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory ManagementSupply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory Management
 
Creative problem solving and decision making
Creative problem solving and decision makingCreative problem solving and decision making
Creative problem solving and decision making
 
Digital content for teaching introduction
Digital content for teaching introductionDigital content for teaching introduction
Digital content for teaching introduction
 
Crisis Management Basics
Crisis Management BasicsCrisis Management Basics
Crisis Management Basics
 
DISC Personality Model
DISC Personality ModelDISC Personality Model
DISC Personality Model
 
Training of Trainers
Training of TrainersTraining of Trainers
Training of Trainers
 
Effective Delegation Skills
Effective Delegation SkillsEffective Delegation Skills
Effective Delegation Skills
 
Train The Trainer
Train The TrainerTrain The Trainer
Train The Trainer
 
Business Management - Marketing
Business Management - MarketingBusiness Management - Marketing
Business Management - Marketing
 
Stress Management
Stress ManagementStress Management
Stress Management
 
Project Management (CAPM) - Integration
Project Management (CAPM) - IntegrationProject Management (CAPM) - Integration
Project Management (CAPM) - Integration
 
Project Management (CAPM) - The Framework
Project Management (CAPM) - The FrameworkProject Management (CAPM) - The Framework
Project Management (CAPM) - The Framework
 
Project Management (CAPM) - Introduction
Project Management (CAPM) - IntroductionProject Management (CAPM) - Introduction
Project Management (CAPM) - Introduction
 
The Creative Individual
The Creative IndividualThe Creative Individual
The Creative Individual
 
Introduction to Wind Energy
Introduction to Wind EnergyIntroduction to Wind Energy
Introduction to Wind Energy
 
Finite Element for Trusses in 2-D
Finite Element for Trusses in 2-DFinite Element for Trusses in 2-D
Finite Element for Trusses in 2-D
 
Future of Drones ITW'16
Future of Drones ITW'16Future of Drones ITW'16
Future of Drones ITW'16
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 

13 weightedresidual

  • 1. 1 ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Numerical Solution of Boundary Value Problems Weighted Residual Methods ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Objectives • In this section we will be introduced to the general classification of approximate methods • Special attention will be paid for the weighted residual method • Derivation of a system of linear equations to approximate the solution of an ODE will be presented using different techniques
  • 2. 2 ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Classification of Approximate Solutions of D.E.’s • Discrete Coordinate Method – Finite difference Methods – Stepwise integration methods • Euler method • Runge-Kutta methods • Etc… • Distributed Coordinate Method ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Distributed Coordinate Methods • Weighted Residual Methods – Interior Residual • Collocation • Galrekin • Finite Element – Boundary Residual • Boundary Element Method • Stationary Functional Methods – Reyligh-Ritz methods – Finite Element method
  • 3. 3 ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Basic Concepts • A linear differential equation may be written in the form: ( )( ) ( )xgxfL = • Where L(.) is a linear differential operator. • An approximate solution maybe of the form: ( ) ( )∑= = n i ii xaxf 1 ψ ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Basic Concepts • Applying the differential operator on the approximate solution, you get: ( )( ) ( ) ( ) ( ) ( )( ) ( ) 0 1 1 ≠−= −⎟ ⎠ ⎞ ⎜ ⎝ ⎛ =− ∑ ∑ = = xgxLa xgxaLxgxfL n i ii n i ii ψ ψ ( )( ) ( ) ( )xRxgxLa n i ii =−∑=1 ψ Residue
  • 4. 4 ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Handling the Residue • The weighted residual methods are all based on minimizing the value of the residue. • Since the residue can not be zero over the whole domain, different techniques were introduced. ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik General Weighted Residual Method
  • 5. 5 ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Objective of WRM • As any other numerical method, the objective is to obtain of algebraic equations, that, when solved, produce a result with an acceptable accuracy. • If we are seeking the values of ai that would reduce the Residue (R(x)) allover the domain, we may integrate the residue over the domain and evaluate it! ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Evaluating the Residue ( )( ) ( ) ( )xRxgxLa n i ii =−∑=1 ψ ( )( ) ( )( ) ( )( ) ( ) ( )xRxgxLaxLaxLa nn =−+++ ψψψ ...2211 n unknown variables ( ) ( )( ) ( ) 0 1 =⎟ ⎠ ⎞ ⎜ ⎝ ⎛ −= ∫ ∑∫ =Domain n i ii Domain dxxgxLadxxR ψ One equation!!!
  • 6. 6 ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Using Weighting Functions • If you can select n different weighting functions, you will produce n equations! • You will end up with n equations in n variables. ( ) ( ) ( ) ( )( ) ( ) 0 1 =⎟ ⎠ ⎞ ⎜ ⎝ ⎛ −= ∫ ∑∫ =Domain n i iij Domain j dxxgxLaxwdxxRxw ψ ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Collocation Method • The idea behind the collocation method is similar to that behind the buttons of your shirt! • Assume a solution, then force the residue to be zero at the collocation points
  • 7. 7 ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Collocation Method ( ) 0=jxR ( ) ( )( ) ( ) 0 1 =− = ∑= j n i jii j xFxLa xR ψ ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Example Problem
  • 8. 8 ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik The bar tensile problem ( ) 0/ 00 ' 02 2 =⇒= =⇒= =+ ∂ ∂ dxdulx ux sBC xF x u EA ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Bar application ( ) 02 2 =+ ∂ ∂ xF x u EA ( ) ( )∑= = n i ii xaxu 1 ψ ( ) ( ) ( )xRxF dx xd aEA n i i i =+∑=1 2 2 ψ Applying the collocation method ( ) ( ) 0 1 2 2 =+∑= j n i ji i xF dx xd aEA ψ
  • 9. 9 ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik In Matrix Form ( ) ( ) ( )⎪ ⎪ ⎭ ⎪ ⎪ ⎬ ⎫ ⎪ ⎪ ⎩ ⎪ ⎪ ⎨ ⎧ −= ⎪ ⎪ ⎭ ⎪ ⎪ ⎬ ⎫ ⎪ ⎪ ⎩ ⎪ ⎪ ⎨ ⎧ ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ nnnnnn n n xF xF xF a a a kkk kkk kkk MMMOMM 2 1 2 1 21 22212 12111 ... ... ... Solve the above system for the “generalized coordinates” ai to get the solution for u(x) ( ) jxx i ij dx xd EAk = = 2 2 ψ ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Notes on the trial functions • They should be at least twice differentiable! • They should satisfy all boundary conditions! • Those are called the “Admissibility Conditions”.
  • 10. 10 ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Using Admissible Functions • For a constant forcing function, F(x)=f • The strain at the free end of the bar should be zero (slope of displacement is zero). We may use: ( ) ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ = l x Sinx 2 π ψ ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Using the function into the DE: • Since we only have one term in the series, we will select one collocation point! • The midpoint is a reasonable choice! ( ) ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ −= l x Sin l EA dx xd EA 22 2 2 2 ππψ { } { }faSin l EA −= ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎣ ⎡ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ − 1 2 42 ππ
  • 11. 11 ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Solving: • Then, the approximate solution for this problem is: • Which gives the maximum displacement to be: • And maximum strain to be: ( ) ( ) EA fl EA fl SinlEA f a 2 2 2 21 57.0 24 42 ≈== πππ ( ) ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ≈ l x Sin EA fl xu 2 57.0 2 π ( ) ( )5.057.0 2 =≈ exact EA fl lu ( ) ( )0.19.00 =≈ exact EA lf ux ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Homework #11 • Solve the beam bending problem, for beam displacement, for a simply supported beam with a load placed at the center of the beam using – Any weighting function – Collocation Method • Use three term Sin series that satisfies all BC’s • Write a program that produces the results for n-term solution. )(4 4 xF dx wd = 0 )()0( 0)()0( 2 2 2 2 == == dx lwd dx wd lww
  • 12. 12 ENME 602 Spring 2007 Dr. Eng. Mohammad Tawfik Exact Solution 12/1 10 3 15 7 412 2/10 60 13 12 )( 23 3 <<+−+−= <<+= x xxx x xx xw