SlideShare a Scribd company logo
1 of 10
Method ofWeighted Residuals
Dr. Hatem R. wasmi
Ass. Prof. in Applied Mechanics
Introduction
Prior to developmentof the Finite ElementMethod,there
existed an approximationtechnique for solving differential
equationscalled the Methodof Weighted Residuals (MWR).
MWR will be presented as an introduction,beforeusing a
particularsubclassof MWR, the Galerkin Method of Weighted
Residuals can be used to derive the elementequationsfor
the finite elementmethod.
Suppose we have a linear differentialoperatorD acting on a
function u to producea function p. D(u(x)) = p(x).
We wish to approximate u by a functions , which is a
linear combinationof basis functions chosen from a linearly
independentset. Thatis.
Now, when substituted into the differentialoperator,D, the
resultof the operations is not, in general,p(x). Hence an error
or residualwill exist:
The notion in the MWR is to force the residualto zero in some
average sense over the domain.Thatis
where the number of weightfunctions Wi is exactly equalthe
number ofunknown constants ai in ˜u.
There are (at least) five MWR sub-methods,
accordingto the choices for the Wi’.
• Thesefive methods are:
1. collocation method.
2. Sub-domain method.
3. LeastSquares method.
4. Galerkin method.
5. Methodof moments.
2.1 Collocation Method
In this method,the weighting functions are taken from the
family of Dirac δ functions in the domain.
2.2 Sub-domain Method
This method doesn’tuse weighting factors explicity,so it is
not, strictly speaking,a member ofthe Weighted Residuals
family.
However,it can be considered a modification of the
collocation method.
The idea is to force the weighted residualto zero not just at
fixed points in the domain,but over varioussubsectionsof
the domain.
To accomplish this,the weight functions are setto unity, and
the integralover the entire domain is broken into a numberof
subdomainssufficientto evaluate all unknownparameters.
2.3 LeastSquares Method
• If the continuous summationof all the squaredresiduals
is minimized,the rationale behind the name can be seen.
In other words,a minimum of
In order to achievea minimum of this scalar function,the
derivatives of S with respectto all the unknown parameters
must be zero.Thatis,
Comparing with 2.2, the weightfunctions are seen to be
however,the “2” can be dropped to get the weightfunction
for least square is
2.4 Galerkin Method
This method may be viewed as a modification of the Least
Squares Method.Rather than using the derivativeof the
residualwith respectto the unknownai, the derivative ofthe
approximating function is used.
Thatis, if the function is approximated as in 2.1, then the
weightfunctions are
Note that these are then identicalto the originalbasis
functions appearing in 2.1
2.5 Method of Moments
In this method,the weight functions are chosen from the
family of polynomials.Thatis
In the eventthat the basis functions for the approximation
(the ϕi’s) were chosen as polynomial,then the method of
moments may be identical to the Galerkin method.
Example (1)
As an example,considerthe solution of the following
mathematicalproblem.Find u(x) that satisfies
Solution
Note that for this problemthe differentialoperatorD(u(x)) and
p(x) are
For reference,the exactsolution can be found and is, in
generalform,
and for the given boundary conditions the constants can be
evaluated
So the exactsolution is
Let’s solve by the Methodof Weighted Residuals using a
polynomialfunction as a basis.Thatis, let the approximating
function be
and the approximatingpolynomialwhich also satisfies the
boundaryconditions is then
To find the residualR(x), we need the secondderivative of this
function,
So the residualis
Collocation Method
The residualis forced to zero at a number ofdiscretepoints.
Since there is only one unknown (a2),only one
collocation pointis needed.
We choose(arbitrarily,but from symmetryconsiderations)the
collocation pointx = 0.5.
Thus,the equation needed to evaluate the unknown a2 is
R(0.5) = −0.5 + a2(0.25 − .5 + 2) = 0
So
a2 = +0.5/1.75 = 2/7 = 0.285714
Subdomain Method
Since we have one unknownconstant,we choosea single
“sub-domain” which coversthe entire range of x. Therefore,
the relation to evaluate the constanta2 is
Least-Squares Method
The weightfunction W1 is just the derivative ofR(x) with
respectto the unknown a2:
So the weighted residual statementbecomes
Galerkin Method
In the Galerkin Method,the weightfunction W1 is the
derivativeof the approximatingfunction with respectto
the unknowncoefficienta2:
Method ofMoments
Since we have only one unknown coefficient,the weight function
W1(x) is simply
RMS Errors
A reasonable scalarindex for the closeness of two functions
is the L2 norm,or Euclidian norm.This measure is often
called the root-mean squared (RMS)error in engineering.The
RMS errorcan be defined as
The RMS errorsfor the differentapproximations are shownin
the last line of Table2.1. Note that these RMS errors are all
similar in magnitude,and that the Galerkin method has a
slightly lower RMS error than the others.
Comparison
A table of the tabulated valuesresultingfrom the different
approximationsis shown in Table 2.1 below
Method of weighted residuals

More Related Content

What's hot

Introduction to finite element analysis
Introduction to finite element analysisIntroduction to finite element analysis
Introduction to finite element analysisTarun Gehlot
 
Finite Element Analysis - UNIT-2
Finite Element Analysis - UNIT-2Finite Element Analysis - UNIT-2
Finite Element Analysis - UNIT-2propaul
 
Finite Element Analysis Lecture Notes Anna University 2013 Regulation
Finite Element Analysis Lecture Notes Anna University 2013 Regulation Finite Element Analysis Lecture Notes Anna University 2013 Regulation
Finite Element Analysis Lecture Notes Anna University 2013 Regulation NAVEEN UTHANDI
 
Finite Element Analysis - UNIT-5
Finite Element Analysis - UNIT-5Finite Element Analysis - UNIT-5
Finite Element Analysis - UNIT-5propaul
 
Finite elements for 2‐d problems
Finite elements  for 2‐d problemsFinite elements  for 2‐d problems
Finite elements for 2‐d problemsTarun Gehlot
 
Finite element method
Finite element methodFinite element method
Finite element methodMevada Maulik
 
ME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANKME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANKASHOK KUMAR RAJENDRAN
 
Finite Element Method
Finite Element MethodFinite Element Method
Finite Element MethodSasi Kumar
 
Basics of finite element method 19.04.2018
Basics of finite element method 19.04.2018Basics of finite element method 19.04.2018
Basics of finite element method 19.04.2018Dr. Mohd Zameeruddin
 
ME6603 - FINITE ELEMENT ANALYSIS UNIT - II NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - II NOTES AND QUESTION BANKME6603 - FINITE ELEMENT ANALYSIS UNIT - II NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - II NOTES AND QUESTION BANKASHOK KUMAR RAJENDRAN
 
two degree of freddom system
two degree of freddom systemtwo degree of freddom system
two degree of freddom systemYash Patel
 
Finite Element Analysis - UNIT-3
Finite Element Analysis - UNIT-3Finite Element Analysis - UNIT-3
Finite Element Analysis - UNIT-3propaul
 
ME6603 - FINITE ELEMENT ANALYSIS UNIT - III NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - III NOTES AND QUESTION BANKME6603 - FINITE ELEMENT ANALYSIS UNIT - III NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - III NOTES AND QUESTION BANKASHOK KUMAR RAJENDRAN
 
Axisymmetric
Axisymmetric Axisymmetric
Axisymmetric Raj Kumar
 
Introduction to finite element method(fem)
Introduction to finite element method(fem)Introduction to finite element method(fem)
Introduction to finite element method(fem)Sreekanth G
 
01. steps involved, merits, demerits & limitations of fem
01. steps involved, merits, demerits & limitations of fem01. steps involved, merits, demerits & limitations of fem
01. steps involved, merits, demerits & limitations of femSura Venkata Mahesh
 
Me2353 finite-element-analysis-lecture-notes
Me2353 finite-element-analysis-lecture-notesMe2353 finite-element-analysis-lecture-notes
Me2353 finite-element-analysis-lecture-notesAmit Ghongade
 
FEM and it's applications
FEM and it's applicationsFEM and it's applications
FEM and it's applicationsChetan Mahatme
 

What's hot (20)

Introduction to finite element analysis
Introduction to finite element analysisIntroduction to finite element analysis
Introduction to finite element analysis
 
Finite Element Methods
Finite Element  MethodsFinite Element  Methods
Finite Element Methods
 
Finite Element Analysis - UNIT-2
Finite Element Analysis - UNIT-2Finite Element Analysis - UNIT-2
Finite Element Analysis - UNIT-2
 
Finite Element Analysis Lecture Notes Anna University 2013 Regulation
Finite Element Analysis Lecture Notes Anna University 2013 Regulation Finite Element Analysis Lecture Notes Anna University 2013 Regulation
Finite Element Analysis Lecture Notes Anna University 2013 Regulation
 
Finite Element Analysis - UNIT-5
Finite Element Analysis - UNIT-5Finite Element Analysis - UNIT-5
Finite Element Analysis - UNIT-5
 
Finite elements for 2‐d problems
Finite elements  for 2‐d problemsFinite elements  for 2‐d problems
Finite elements for 2‐d problems
 
Finite element method
Finite element methodFinite element method
Finite element method
 
ME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANKME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANK
 
Finite Element Method
Finite Element MethodFinite Element Method
Finite Element Method
 
Basics of finite element method 19.04.2018
Basics of finite element method 19.04.2018Basics of finite element method 19.04.2018
Basics of finite element method 19.04.2018
 
ME6603 - FINITE ELEMENT ANALYSIS UNIT - II NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - II NOTES AND QUESTION BANKME6603 - FINITE ELEMENT ANALYSIS UNIT - II NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - II NOTES AND QUESTION BANK
 
two degree of freddom system
two degree of freddom systemtwo degree of freddom system
two degree of freddom system
 
Finite Element Analysis - UNIT-3
Finite Element Analysis - UNIT-3Finite Element Analysis - UNIT-3
Finite Element Analysis - UNIT-3
 
ME6603 - FINITE ELEMENT ANALYSIS UNIT - III NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - III NOTES AND QUESTION BANKME6603 - FINITE ELEMENT ANALYSIS UNIT - III NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - III NOTES AND QUESTION BANK
 
Axisymmetric
Axisymmetric Axisymmetric
Axisymmetric
 
Introduction to finite element method(fem)
Introduction to finite element method(fem)Introduction to finite element method(fem)
Introduction to finite element method(fem)
 
01. steps involved, merits, demerits & limitations of fem
01. steps involved, merits, demerits & limitations of fem01. steps involved, merits, demerits & limitations of fem
01. steps involved, merits, demerits & limitations of fem
 
Axis symmetric
Axis symmetricAxis symmetric
Axis symmetric
 
Me2353 finite-element-analysis-lecture-notes
Me2353 finite-element-analysis-lecture-notesMe2353 finite-element-analysis-lecture-notes
Me2353 finite-element-analysis-lecture-notes
 
FEM and it's applications
FEM and it's applicationsFEM and it's applications
FEM and it's applications
 

Similar to Method of weighted residuals

Shrinkage Methods in Linear Regression
Shrinkage Methods in Linear RegressionShrinkage Methods in Linear Regression
Shrinkage Methods in Linear RegressionBennoG1
 
PRML Chapter 7
PRML Chapter 7PRML Chapter 7
PRML Chapter 7Sunwoo Kim
 
Quantum algorithm for solving linear systems of equations
 Quantum algorithm for solving linear systems of equations Quantum algorithm for solving linear systems of equations
Quantum algorithm for solving linear systems of equationsXequeMateShannon
 
Algorithms for Global Positioning
Algorithms for Global PositioningAlgorithms for Global Positioning
Algorithms for Global PositioningKevin Le
 
Choice of weighting function and expansion function in cem
Choice of weighting function and expansion function in cemChoice of weighting function and expansion function in cem
Choice of weighting function and expansion function in cemMohit Chimankar
 
Interactives Methods
Interactives MethodsInteractives Methods
Interactives MethodsUIS
 
Learning sparse Neural Networks using L0 Regularization
Learning sparse Neural Networks using L0 RegularizationLearning sparse Neural Networks using L0 Regularization
Learning sparse Neural Networks using L0 RegularizationVarun Reddy
 
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...Stephen Faucher
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodMeet Nayak
 
A Condensation-Projection Method For The Generalized Eigenvalue Problem
A Condensation-Projection Method For The Generalized Eigenvalue ProblemA Condensation-Projection Method For The Generalized Eigenvalue Problem
A Condensation-Projection Method For The Generalized Eigenvalue ProblemScott Donald
 
PRML Chapter 4
PRML Chapter 4PRML Chapter 4
PRML Chapter 4Sunwoo Kim
 
Penalty Function Method in Modern Optimization Techniques
Penalty Function Method in Modern Optimization TechniquesPenalty Function Method in Modern Optimization Techniques
Penalty Function Method in Modern Optimization TechniquesSuman Bhattacharyya
 
3. Weighted residual methods (1).pptx
3. Weighted residual methods (1).pptx3. Weighted residual methods (1).pptx
3. Weighted residual methods (1).pptxDeepu Sivakumar
 

Similar to Method of weighted residuals (20)

Klt
KltKlt
Klt
 
Ijetr021210
Ijetr021210Ijetr021210
Ijetr021210
 
Ijetr021210
Ijetr021210Ijetr021210
Ijetr021210
 
Shrinkage Methods in Linear Regression
Shrinkage Methods in Linear RegressionShrinkage Methods in Linear Regression
Shrinkage Methods in Linear Regression
 
PRML Chapter 7
PRML Chapter 7PRML Chapter 7
PRML Chapter 7
 
Quantum algorithm for solving linear systems of equations
 Quantum algorithm for solving linear systems of equations Quantum algorithm for solving linear systems of equations
Quantum algorithm for solving linear systems of equations
 
Algorithms for Global Positioning
Algorithms for Global PositioningAlgorithms for Global Positioning
Algorithms for Global Positioning
 
Ann a Algorithms notes
Ann a Algorithms notesAnn a Algorithms notes
Ann a Algorithms notes
 
Choice of weighting function and expansion function in cem
Choice of weighting function and expansion function in cemChoice of weighting function and expansion function in cem
Choice of weighting function and expansion function in cem
 
Interactives Methods
Interactives MethodsInteractives Methods
Interactives Methods
 
Learning sparse Neural Networks using L0 Regularization
Learning sparse Neural Networks using L0 RegularizationLearning sparse Neural Networks using L0 Regularization
Learning sparse Neural Networks using L0 Regularization
 
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination method
 
A Condensation-Projection Method For The Generalized Eigenvalue Problem
A Condensation-Projection Method For The Generalized Eigenvalue ProblemA Condensation-Projection Method For The Generalized Eigenvalue Problem
A Condensation-Projection Method For The Generalized Eigenvalue Problem
 
Unger
UngerUnger
Unger
 
1-11.pdf
1-11.pdf1-11.pdf
1-11.pdf
 
PRML Chapter 4
PRML Chapter 4PRML Chapter 4
PRML Chapter 4
 
Penalty Function Method in Modern Optimization Techniques
Penalty Function Method in Modern Optimization TechniquesPenalty Function Method in Modern Optimization Techniques
Penalty Function Method in Modern Optimization Techniques
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
3. Weighted residual methods (1).pptx
3. Weighted residual methods (1).pptx3. Weighted residual methods (1).pptx
3. Weighted residual methods (1).pptx
 

More from Jasim Almuhandis (17)

Mit2 72s09 lec09
Mit2 72s09 lec09Mit2 72s09 lec09
Mit2 72s09 lec09
 
Mit2 72s09 lec08
Mit2 72s09 lec08Mit2 72s09 lec08
Mit2 72s09 lec08
 
Mit2 72s09 lec08
Mit2 72s09 lec08Mit2 72s09 lec08
Mit2 72s09 lec08
 
Mit2 72s09 lec06
Mit2 72s09 lec06Mit2 72s09 lec06
Mit2 72s09 lec06
 
Mit2 72s09 lec05
Mit2 72s09 lec05Mit2 72s09 lec05
Mit2 72s09 lec05
 
Mit2 72s09 lec04
Mit2 72s09 lec04Mit2 72s09 lec04
Mit2 72s09 lec04
 
183710439 friction-from-meriam-pdf
183710439 friction-from-meriam-pdf183710439 friction-from-meriam-pdf
183710439 friction-from-meriam-pdf
 
Mit2 72s09 lec03
Mit2 72s09 lec03Mit2 72s09 lec03
Mit2 72s09 lec03
 
Mit2 72s09 lec02_shaft
Mit2 72s09 lec02_shaftMit2 72s09 lec02_shaft
Mit2 72s09 lec02_shaft
 
Mit2 72s09 lec02 (1)
Mit2 72s09 lec02 (1)Mit2 72s09 lec02 (1)
Mit2 72s09 lec02 (1)
 
Free vibrations
Free vibrationsFree vibrations
Free vibrations
 
The way which is leading toward bem
The way which is leading  toward bemThe way which is leading  toward bem
The way which is leading toward bem
 
Special integrations
Special integrationsSpecial integrations
Special integrations
 
L2d integration by parts
L2d integration by partsL2d integration by parts
L2d integration by parts
 
Deflection energy
Deflection energyDeflection energy
Deflection energy
 
Boundary element formulation
Boundary element formulationBoundary element formulation
Boundary element formulation
 
Betti
BettiBetti
Betti
 

Recently uploaded

CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 

Recently uploaded (20)

CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 

Method of weighted residuals

  • 1. Method ofWeighted Residuals Dr. Hatem R. wasmi Ass. Prof. in Applied Mechanics Introduction Prior to developmentof the Finite ElementMethod,there existed an approximationtechnique for solving differential equationscalled the Methodof Weighted Residuals (MWR). MWR will be presented as an introduction,beforeusing a particularsubclassof MWR, the Galerkin Method of Weighted Residuals can be used to derive the elementequationsfor the finite elementmethod. Suppose we have a linear differentialoperatorD acting on a function u to producea function p. D(u(x)) = p(x). We wish to approximate u by a functions , which is a linear combinationof basis functions chosen from a linearly independentset. Thatis. Now, when substituted into the differentialoperator,D, the resultof the operations is not, in general,p(x). Hence an error or residualwill exist: The notion in the MWR is to force the residualto zero in some average sense over the domain.Thatis where the number of weightfunctions Wi is exactly equalthe number ofunknown constants ai in ˜u.
  • 2. There are (at least) five MWR sub-methods, accordingto the choices for the Wi’. • Thesefive methods are: 1. collocation method. 2. Sub-domain method. 3. LeastSquares method. 4. Galerkin method. 5. Methodof moments. 2.1 Collocation Method In this method,the weighting functions are taken from the family of Dirac δ functions in the domain. 2.2 Sub-domain Method This method doesn’tuse weighting factors explicity,so it is not, strictly speaking,a member ofthe Weighted Residuals family. However,it can be considered a modification of the collocation method. The idea is to force the weighted residualto zero not just at fixed points in the domain,but over varioussubsectionsof the domain. To accomplish this,the weight functions are setto unity, and the integralover the entire domain is broken into a numberof subdomainssufficientto evaluate all unknownparameters.
  • 3. 2.3 LeastSquares Method • If the continuous summationof all the squaredresiduals is minimized,the rationale behind the name can be seen. In other words,a minimum of In order to achievea minimum of this scalar function,the derivatives of S with respectto all the unknown parameters must be zero.Thatis, Comparing with 2.2, the weightfunctions are seen to be however,the “2” can be dropped to get the weightfunction for least square is 2.4 Galerkin Method This method may be viewed as a modification of the Least Squares Method.Rather than using the derivativeof the residualwith respectto the unknownai, the derivative ofthe approximating function is used.
  • 4. Thatis, if the function is approximated as in 2.1, then the weightfunctions are Note that these are then identicalto the originalbasis functions appearing in 2.1 2.5 Method of Moments In this method,the weight functions are chosen from the family of polynomials.Thatis In the eventthat the basis functions for the approximation (the ϕi’s) were chosen as polynomial,then the method of moments may be identical to the Galerkin method. Example (1) As an example,considerthe solution of the following mathematicalproblem.Find u(x) that satisfies
  • 5. Solution Note that for this problemthe differentialoperatorD(u(x)) and p(x) are For reference,the exactsolution can be found and is, in generalform, and for the given boundary conditions the constants can be evaluated So the exactsolution is Let’s solve by the Methodof Weighted Residuals using a polynomialfunction as a basis.Thatis, let the approximating function be
  • 6. and the approximatingpolynomialwhich also satisfies the boundaryconditions is then To find the residualR(x), we need the secondderivative of this function, So the residualis Collocation Method The residualis forced to zero at a number ofdiscretepoints. Since there is only one unknown (a2),only one collocation pointis needed. We choose(arbitrarily,but from symmetryconsiderations)the collocation pointx = 0.5. Thus,the equation needed to evaluate the unknown a2 is
  • 7. R(0.5) = −0.5 + a2(0.25 − .5 + 2) = 0 So a2 = +0.5/1.75 = 2/7 = 0.285714 Subdomain Method Since we have one unknownconstant,we choosea single “sub-domain” which coversthe entire range of x. Therefore, the relation to evaluate the constanta2 is Least-Squares Method The weightfunction W1 is just the derivative ofR(x) with respectto the unknown a2: So the weighted residual statementbecomes
  • 8. Galerkin Method In the Galerkin Method,the weightfunction W1 is the derivativeof the approximatingfunction with respectto the unknowncoefficienta2: Method ofMoments Since we have only one unknown coefficient,the weight function W1(x) is simply RMS Errors A reasonable scalarindex for the closeness of two functions is the L2 norm,or Euclidian norm.This measure is often called the root-mean squared (RMS)error in engineering.The RMS errorcan be defined as
  • 9. The RMS errorsfor the differentapproximations are shownin the last line of Table2.1. Note that these RMS errors are all similar in magnitude,and that the Galerkin method has a slightly lower RMS error than the others. Comparison A table of the tabulated valuesresultingfrom the different approximationsis shown in Table 2.1 below