SlideShare une entreprise Scribd logo
1  sur  14
Télécharger pour lire hors ligne
Solving ODE-BVP through Galerkin’s Method
FEM: Introduction
Suddhasheel Ghosh, PhD
Department of Civil Engineering
Jawaharlal Nehru Engineering College
N-6 CIDCO, 431003
Series on Advanced Numerical Methods
shudh (JNEC) Concepts MEStru2k1617 1 / 14
DiffEq1
Introduction to terminology
Given a differential equation
Ψ
d2
y
dx2
,
dy
dx
,y,x = 0, (1)
and the initial conditions,
F1
dy
dx
,y,x = a = 0 F2
dy
dx
,y,x = b = 0
So, given the points a and b, it is desired to find the solution of the
differential equation using the Galerkin’s Method.
shudh (JNEC) Concepts MEStru2k1617 2 / 14
DiffEq1
A second-order Boundary Value Problem
A boundary value problem is given as follows:
d2
y
dx2
+ P(x)
dx
dy
+ Q(x)y = R(x)
along with the conditions
y(x = a) = A, y(x = b) = B
shudh (JNEC) Concepts MEStru2k1617 3 / 14
GM
Concept of Linear Independence
In Vector Algebra, n vectors, namely v1,v2,...,vn are linearly independent,
when
n
i=1
aivi = 0 ⇐⇒ ai = 0,∀i = 1,...,n
Linear independence means that no vector can be expressed as a linear
combination of other vectors.
This concept of linear independence is not only limited to vectors, but has
also been extended to the area of functions and various algebraic
polynomials.
shudh (JNEC) Concepts MEStru2k1617 4 / 14
GM
Galerkin’s method I
Formulation
The Galerkin’s Method is a “weighted-residual” method. We will try to
solve the following differential equation:
d2
y
dx2
+ P(x)
dy
dx
+ Q(x)y = R(x)
with the following boundary conditions y(x = a) = A and y(x = b) = B.
Let us assume that the solution is in the form
y = α0 + α1x + α2x2
+ ··· + αnxn
=
n
i=0
αixi
shudh (JNEC) Concepts MEStru2k1617 5 / 14
GM
Galerkin’s method II
Formulation
Differentiating the above form, with respect to x, we have:
dy
dx
=
n
i=0
iαixi−1
(2)
d2
y
dx2
=
n
i=0
i(i − 1)αixi−2
(3)
Substituting, these into the differential equation we have:
n
i=0
αi i(i − 1)xi−2
+ iP(x)xi−1
+ Q(x)xi
= R(x) (4)
shudh (JNEC) Concepts MEStru2k1617 6 / 14
GM
Galerkin’s method III
Formulation
From the boundary conditions, we have
n
i=0
αiai
= A, (5)
n
i=0
αibi
= B (6)
We work out the residual function as follows:
(x) =
n
i=0
αi i(i − 1)xi−2
+ iP(x)xi−1
+ Q(x)xi
− R(x) (7)
If there are n − 1 unknowns, then there should be n − 1 linearly
independent polynomials chosen to be multiplied as weights to the
shudh (JNEC) Concepts MEStru2k1617 7 / 14
GM
Galerkin’s method IV
Formulation
residual function. Therefore, for each j = 1,...,n − 1, we should have
n − 1 equations
b
a
Nj(x) (x)dx = 0 (8)
where Nj(x) denotes the jth polynomial.
These equations are solved using linear algebra to obtain the values of
αi, i = 0,...,n
shudh (JNEC) Concepts MEStru2k1617 8 / 14
GM
Example I
Galerkin’s Method
Problem: Use the Galerkin’s method to solve the following differential
equation:
d2
y
dx2
− y = x
Use the boundary conditions y(x = 0) = 0 and y(x = 1) = 0. (Desai, Eldho,
Shah)
Solution: Let us assume that the solution to the given differential
equation is in the following form, where there are four unknowns:
y = α0 + α1x + α2x2
+ α3x3
shudh (JNEC) Concepts MEStru2k1617 9 / 14
GM
Example II
Galerkin’s Method
From the boundary conditions given, we have
α0 + α1(0) + α2(02
) + α3(03
) = 0 =⇒ α0 = 0
α0 + α1(1) + α2(12
) + α3(13
) = 0 =⇒ α1 + α2 + α3 = 0(or)α3 = −(α1 + α2
We calculate the derivatives as follows:
dy
dx
= α1 + 2α2x + 3α3x2
d2
y
dx2
= 2α2 + 6α3x
Substituting these into the differential equation, we have the following:
α1x + α2(2 − x2
) + α3(6x − x3
) = x
shudh (JNEC) Concepts MEStru2k1617 10 / 14
GM
Example III
Galerkin’s Method
Since α3 = −(α1 + α2), we will have
−α1x + α2(2 − x2
) + (α1 + α2)(x3
− 6x) = x
=⇒ α1(x3
− 7x) + α2(x3
− x2
− 6x + 2) = x (9)
We can therefore formulate
(x) = α1(x3
− 7x) + α2(x3
− x2
− 6x + 2) − x (10)
shudh (JNEC) Concepts MEStru2k1617 11 / 14
GM
Example IV
Galerkin’s Method
Since there are two unknown parameters here, we will consider two
functions N1(x) = x − x2
, and N2(x) = x2
− x3
, as weighting functions.
Therefore,
1
0
N1(x) (x)dx = 0 =⇒ −0.5500α1 − 0.1833α2 = 0.0833
1
0
N2(x) (x)dx = 0 =⇒ −0.3262α1 − 0.1429α2 = 0.0500
We will have this system
−0.5500 −0.1833
−03262 −0.1429
α1
α2
=
0.0833
0.0500
(11)
shudh (JNEC) Concepts MEStru2k1617 12 / 14
GM
Example V
Galerkin’s Method
Using this, the relations α3 = −(α1 + α2), and α0 = 0, we have
α0 = 0,α1 = −0.1456,α2 = −0.01743,α3 = 0.1631
Therefore, we can say that for our differential equation, we have the
following solution:
y = −0.1456x − 0.01743x2
+ 0.1631x3
shudh (JNEC) Concepts MEStru2k1617 13 / 14
GM
Thank you!
shudh (JNEC) Concepts MEStru2k1617 14 / 14

Contenu connexe

Tendances

Finite difference method
Finite difference methodFinite difference method
Finite difference methodDivyansh Verma
 
First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equationNofal Umair
 
Differential equations of first order
Differential equations of first orderDifferential equations of first order
Differential equations of first ordervishalgohel12195
 
application of first order ordinary Differential equations
application of first order ordinary Differential equationsapplication of first order ordinary Differential equations
application of first order ordinary Differential equationsEmdadul Haque Milon
 
Dobule and triple integral
Dobule and triple integralDobule and triple integral
Dobule and triple integralsonendra Gupta
 
Gaussian quadratures
Gaussian quadraturesGaussian quadratures
Gaussian quadraturesTarun Gehlot
 
Higher Differential Equation
Higher Differential Equation Higher Differential Equation
Higher Differential Equation Abdul Hannan
 
Deriving the composition of functions
Deriving the composition of functionsDeriving the composition of functions
Deriving the composition of functionsAlona Hall
 
least squares approach in finite element method
least squares approach in finite element methodleast squares approach in finite element method
least squares approach in finite element methodsabiha khathun
 
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATIONSERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATIONKavin Raval
 
Runge-Kutta methods with examples
Runge-Kutta methods with examplesRunge-Kutta methods with examples
Runge-Kutta methods with examplesSajjad Hossain
 
02 first order differential equations
02 first order differential equations02 first order differential equations
02 first order differential equationsvansi007
 
First Order Differential Equations
First Order Differential EquationsFirst Order Differential Equations
First Order Differential EquationsItishree Dash
 
Partial differential equation & its application.
Partial differential equation & its application.Partial differential equation & its application.
Partial differential equation & its application.isratzerin6
 

Tendances (20)

Legendre Function
Legendre FunctionLegendre Function
Legendre Function
 
Legendre functions
Legendre functionsLegendre functions
Legendre functions
 
Linear differential equation of second order
Linear differential equation of second orderLinear differential equation of second order
Linear differential equation of second order
 
Finite difference method
Finite difference methodFinite difference method
Finite difference method
 
First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
 
Differential equations of first order
Differential equations of first orderDifferential equations of first order
Differential equations of first order
 
application of first order ordinary Differential equations
application of first order ordinary Differential equationsapplication of first order ordinary Differential equations
application of first order ordinary Differential equations
 
Dobule and triple integral
Dobule and triple integralDobule and triple integral
Dobule and triple integral
 
Runge Kutta Method
Runge Kutta MethodRunge Kutta Method
Runge Kutta Method
 
Gaussian quadratures
Gaussian quadraturesGaussian quadratures
Gaussian quadratures
 
Higher Differential Equation
Higher Differential Equation Higher Differential Equation
Higher Differential Equation
 
Galerkin method
Galerkin methodGalerkin method
Galerkin method
 
Deriving the composition of functions
Deriving the composition of functionsDeriving the composition of functions
Deriving the composition of functions
 
least squares approach in finite element method
least squares approach in finite element methodleast squares approach in finite element method
least squares approach in finite element method
 
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATIONSERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
 
Runge-Kutta methods with examples
Runge-Kutta methods with examplesRunge-Kutta methods with examples
Runge-Kutta methods with examples
 
02 first order differential equations
02 first order differential equations02 first order differential equations
02 first order differential equations
 
Fem 1
Fem 1Fem 1
Fem 1
 
First Order Differential Equations
First Order Differential EquationsFirst Order Differential Equations
First Order Differential Equations
 
Partial differential equation & its application.
Partial differential equation & its application.Partial differential equation & its application.
Partial differential equation & its application.
 

Similaire à FEM Introduction: Solving ODE-BVP using the Galerkin's Method

Numerical solution of the Schr¨odinger equation
Numerical solution of the Schr¨odinger equationNumerical solution of the Schr¨odinger equation
Numerical solution of the Schr¨odinger equationMohamed Ramadan
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniquesKrishna Gali
 
Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010akabaka12
 
1.1_The_Definite_Integral.pdf odjoqwddoio
1.1_The_Definite_Integral.pdf odjoqwddoio1.1_The_Definite_Integral.pdf odjoqwddoio
1.1_The_Definite_Integral.pdf odjoqwddoioNoorYassinHJamel
 
01. Differentiation-Theory & solved example Module-3.pdf
01. Differentiation-Theory & solved example Module-3.pdf01. Differentiation-Theory & solved example Module-3.pdf
01. Differentiation-Theory & solved example Module-3.pdfRajuSingh806014
 
Solved exercises double integration
Solved exercises double integrationSolved exercises double integration
Solved exercises double integrationKamel Attar
 
differentiol equation.pptx
differentiol equation.pptxdifferentiol equation.pptx
differentiol equation.pptxPlanningHCEGC
 
Solution to schrodinger equation with dirac comb potential
Solution to schrodinger equation with dirac comb potential Solution to schrodinger equation with dirac comb potential
Solution to schrodinger equation with dirac comb potential slides
 
Presentaion 1 Calculus.pptx
Presentaion 1 Calculus.pptxPresentaion 1 Calculus.pptx
Presentaion 1 Calculus.pptxMunawarAhmad22
 
Advanced Engineering Mathematics Solutions Manual.pdf
Advanced Engineering Mathematics Solutions Manual.pdfAdvanced Engineering Mathematics Solutions Manual.pdf
Advanced Engineering Mathematics Solutions Manual.pdfWhitney Anderson
 
Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010akabaka12
 

Similaire à FEM Introduction: Solving ODE-BVP using the Galerkin's Method (20)

Numerical solution of the Schr¨odinger equation
Numerical solution of the Schr¨odinger equationNumerical solution of the Schr¨odinger equation
Numerical solution of the Schr¨odinger equation
 
Bayes gauss
Bayes gaussBayes gauss
Bayes gauss
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniques
 
MA8353 TPDE
MA8353 TPDEMA8353 TPDE
MA8353 TPDE
 
Sect5 1
Sect5 1Sect5 1
Sect5 1
 
Gr 11 equations
Gr 11   equationsGr 11   equations
Gr 11 equations
 
Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010
 
Ch02 6
Ch02 6Ch02 6
Ch02 6
 
1.1_The_Definite_Integral.pdf odjoqwddoio
1.1_The_Definite_Integral.pdf odjoqwddoio1.1_The_Definite_Integral.pdf odjoqwddoio
1.1_The_Definite_Integral.pdf odjoqwddoio
 
01. Differentiation-Theory & solved example Module-3.pdf
01. Differentiation-Theory & solved example Module-3.pdf01. Differentiation-Theory & solved example Module-3.pdf
01. Differentiation-Theory & solved example Module-3.pdf
 
Solved exercises double integration
Solved exercises double integrationSolved exercises double integration
Solved exercises double integration
 
differentiol equation.pptx
differentiol equation.pptxdifferentiol equation.pptx
differentiol equation.pptx
 
Solution to schrodinger equation with dirac comb potential
Solution to schrodinger equation with dirac comb potential Solution to schrodinger equation with dirac comb potential
Solution to schrodinger equation with dirac comb potential
 
Presentaion 1 Calculus.pptx
Presentaion 1 Calculus.pptxPresentaion 1 Calculus.pptx
Presentaion 1 Calculus.pptx
 
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
 
Advanced Engineering Mathematics Solutions Manual.pdf
Advanced Engineering Mathematics Solutions Manual.pdfAdvanced Engineering Mathematics Solutions Manual.pdf
Advanced Engineering Mathematics Solutions Manual.pdf
 
Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010
 
02 basics i-handout
02 basics i-handout02 basics i-handout
02 basics i-handout
 
Improper integral
Improper integralImproper integral
Improper integral
 

Plus de Suddhasheel GHOSH, PhD

Making presentations with LaTeX: Workshop Day 4
Making presentations with LaTeX: Workshop Day 4Making presentations with LaTeX: Workshop Day 4
Making presentations with LaTeX: Workshop Day 4Suddhasheel GHOSH, PhD
 
Typesetting Theses / Reports with LaTeX : Workshop Day 3
Typesetting Theses / Reports with LaTeX : Workshop Day 3Typesetting Theses / Reports with LaTeX : Workshop Day 3
Typesetting Theses / Reports with LaTeX : Workshop Day 3Suddhasheel GHOSH, PhD
 
Typesetting Mathematics with LaTeX - Day 2
Typesetting Mathematics with LaTeX - Day 2Typesetting Mathematics with LaTeX - Day 2
Typesetting Mathematics with LaTeX - Day 2Suddhasheel GHOSH, PhD
 
Introduction to LaTeX - Workshop Day 1
Introduction to LaTeX - Workshop Day 1Introduction to LaTeX - Workshop Day 1
Introduction to LaTeX - Workshop Day 1Suddhasheel GHOSH, PhD
 
The LaTeX Workshop: Document design in LaTeX: Invocation
The LaTeX Workshop: Document design in LaTeX: InvocationThe LaTeX Workshop: Document design in LaTeX: Invocation
The LaTeX Workshop: Document design in LaTeX: InvocationSuddhasheel GHOSH, PhD
 
The LaTeX Workshop: Typesetting Mathematics with LaTeX
The LaTeX Workshop: Typesetting Mathematics with LaTeXThe LaTeX Workshop: Typesetting Mathematics with LaTeX
The LaTeX Workshop: Typesetting Mathematics with LaTeXSuddhasheel GHOSH, PhD
 
Research Prospects with Geoinformatics
Research Prospects with GeoinformaticsResearch Prospects with Geoinformatics
Research Prospects with GeoinformaticsSuddhasheel GHOSH, PhD
 
Expert Lecture on GPS at UIET, CSJM, Kanpur
Expert Lecture on GPS at UIET, CSJM, KanpurExpert Lecture on GPS at UIET, CSJM, Kanpur
Expert Lecture on GPS at UIET, CSJM, KanpurSuddhasheel GHOSH, PhD
 

Plus de Suddhasheel GHOSH, PhD (12)

Making presentations with LaTeX: Workshop Day 4
Making presentations with LaTeX: Workshop Day 4Making presentations with LaTeX: Workshop Day 4
Making presentations with LaTeX: Workshop Day 4
 
Typesetting Theses / Reports with LaTeX : Workshop Day 3
Typesetting Theses / Reports with LaTeX : Workshop Day 3Typesetting Theses / Reports with LaTeX : Workshop Day 3
Typesetting Theses / Reports with LaTeX : Workshop Day 3
 
Typesetting Mathematics with LaTeX - Day 2
Typesetting Mathematics with LaTeX - Day 2Typesetting Mathematics with LaTeX - Day 2
Typesetting Mathematics with LaTeX - Day 2
 
Introduction to LaTeX - Workshop Day 1
Introduction to LaTeX - Workshop Day 1Introduction to LaTeX - Workshop Day 1
Introduction to LaTeX - Workshop Day 1
 
Map Calculaton using GRASS
Map Calculaton using GRASSMap Calculaton using GRASS
Map Calculaton using GRASS
 
Watershed Analysis with GRASS
Watershed Analysis with GRASSWatershed Analysis with GRASS
Watershed Analysis with GRASS
 
The LaTeX Workshop: Document design in LaTeX: Invocation
The LaTeX Workshop: Document design in LaTeX: InvocationThe LaTeX Workshop: Document design in LaTeX: Invocation
The LaTeX Workshop: Document design in LaTeX: Invocation
 
The LaTeX Workshop: Typesetting Mathematics with LaTeX
The LaTeX Workshop: Typesetting Mathematics with LaTeXThe LaTeX Workshop: Typesetting Mathematics with LaTeX
The LaTeX Workshop: Typesetting Mathematics with LaTeX
 
Research Prospects with Geoinformatics
Research Prospects with GeoinformaticsResearch Prospects with Geoinformatics
Research Prospects with Geoinformatics
 
Prepare your literature review
Prepare your literature reviewPrepare your literature review
Prepare your literature review
 
Expert Lecture on GPS at UIET, CSJM, Kanpur
Expert Lecture on GPS at UIET, CSJM, KanpurExpert Lecture on GPS at UIET, CSJM, Kanpur
Expert Lecture on GPS at UIET, CSJM, Kanpur
 
45324291 a-good-ph d-student
45324291 a-good-ph d-student45324291 a-good-ph d-student
45324291 a-good-ph d-student
 

Dernier

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 

Dernier (20)

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 

FEM Introduction: Solving ODE-BVP using the Galerkin's Method

  • 1. Solving ODE-BVP through Galerkin’s Method FEM: Introduction Suddhasheel Ghosh, PhD Department of Civil Engineering Jawaharlal Nehru Engineering College N-6 CIDCO, 431003 Series on Advanced Numerical Methods shudh (JNEC) Concepts MEStru2k1617 1 / 14
  • 2. DiffEq1 Introduction to terminology Given a differential equation Ψ d2 y dx2 , dy dx ,y,x = 0, (1) and the initial conditions, F1 dy dx ,y,x = a = 0 F2 dy dx ,y,x = b = 0 So, given the points a and b, it is desired to find the solution of the differential equation using the Galerkin’s Method. shudh (JNEC) Concepts MEStru2k1617 2 / 14
  • 3. DiffEq1 A second-order Boundary Value Problem A boundary value problem is given as follows: d2 y dx2 + P(x) dx dy + Q(x)y = R(x) along with the conditions y(x = a) = A, y(x = b) = B shudh (JNEC) Concepts MEStru2k1617 3 / 14
  • 4. GM Concept of Linear Independence In Vector Algebra, n vectors, namely v1,v2,...,vn are linearly independent, when n i=1 aivi = 0 ⇐⇒ ai = 0,∀i = 1,...,n Linear independence means that no vector can be expressed as a linear combination of other vectors. This concept of linear independence is not only limited to vectors, but has also been extended to the area of functions and various algebraic polynomials. shudh (JNEC) Concepts MEStru2k1617 4 / 14
  • 5. GM Galerkin’s method I Formulation The Galerkin’s Method is a “weighted-residual” method. We will try to solve the following differential equation: d2 y dx2 + P(x) dy dx + Q(x)y = R(x) with the following boundary conditions y(x = a) = A and y(x = b) = B. Let us assume that the solution is in the form y = α0 + α1x + α2x2 + ··· + αnxn = n i=0 αixi shudh (JNEC) Concepts MEStru2k1617 5 / 14
  • 6. GM Galerkin’s method II Formulation Differentiating the above form, with respect to x, we have: dy dx = n i=0 iαixi−1 (2) d2 y dx2 = n i=0 i(i − 1)αixi−2 (3) Substituting, these into the differential equation we have: n i=0 αi i(i − 1)xi−2 + iP(x)xi−1 + Q(x)xi = R(x) (4) shudh (JNEC) Concepts MEStru2k1617 6 / 14
  • 7. GM Galerkin’s method III Formulation From the boundary conditions, we have n i=0 αiai = A, (5) n i=0 αibi = B (6) We work out the residual function as follows: (x) = n i=0 αi i(i − 1)xi−2 + iP(x)xi−1 + Q(x)xi − R(x) (7) If there are n − 1 unknowns, then there should be n − 1 linearly independent polynomials chosen to be multiplied as weights to the shudh (JNEC) Concepts MEStru2k1617 7 / 14
  • 8. GM Galerkin’s method IV Formulation residual function. Therefore, for each j = 1,...,n − 1, we should have n − 1 equations b a Nj(x) (x)dx = 0 (8) where Nj(x) denotes the jth polynomial. These equations are solved using linear algebra to obtain the values of αi, i = 0,...,n shudh (JNEC) Concepts MEStru2k1617 8 / 14
  • 9. GM Example I Galerkin’s Method Problem: Use the Galerkin’s method to solve the following differential equation: d2 y dx2 − y = x Use the boundary conditions y(x = 0) = 0 and y(x = 1) = 0. (Desai, Eldho, Shah) Solution: Let us assume that the solution to the given differential equation is in the following form, where there are four unknowns: y = α0 + α1x + α2x2 + α3x3 shudh (JNEC) Concepts MEStru2k1617 9 / 14
  • 10. GM Example II Galerkin’s Method From the boundary conditions given, we have α0 + α1(0) + α2(02 ) + α3(03 ) = 0 =⇒ α0 = 0 α0 + α1(1) + α2(12 ) + α3(13 ) = 0 =⇒ α1 + α2 + α3 = 0(or)α3 = −(α1 + α2 We calculate the derivatives as follows: dy dx = α1 + 2α2x + 3α3x2 d2 y dx2 = 2α2 + 6α3x Substituting these into the differential equation, we have the following: α1x + α2(2 − x2 ) + α3(6x − x3 ) = x shudh (JNEC) Concepts MEStru2k1617 10 / 14
  • 11. GM Example III Galerkin’s Method Since α3 = −(α1 + α2), we will have −α1x + α2(2 − x2 ) + (α1 + α2)(x3 − 6x) = x =⇒ α1(x3 − 7x) + α2(x3 − x2 − 6x + 2) = x (9) We can therefore formulate (x) = α1(x3 − 7x) + α2(x3 − x2 − 6x + 2) − x (10) shudh (JNEC) Concepts MEStru2k1617 11 / 14
  • 12. GM Example IV Galerkin’s Method Since there are two unknown parameters here, we will consider two functions N1(x) = x − x2 , and N2(x) = x2 − x3 , as weighting functions. Therefore, 1 0 N1(x) (x)dx = 0 =⇒ −0.5500α1 − 0.1833α2 = 0.0833 1 0 N2(x) (x)dx = 0 =⇒ −0.3262α1 − 0.1429α2 = 0.0500 We will have this system −0.5500 −0.1833 −03262 −0.1429 α1 α2 = 0.0833 0.0500 (11) shudh (JNEC) Concepts MEStru2k1617 12 / 14
  • 13. GM Example V Galerkin’s Method Using this, the relations α3 = −(α1 + α2), and α0 = 0, we have α0 = 0,α1 = −0.1456,α2 = −0.01743,α3 = 0.1631 Therefore, we can say that for our differential equation, we have the following solution: y = −0.1456x − 0.01743x2 + 0.1631x3 shudh (JNEC) Concepts MEStru2k1617 13 / 14
  • 14. GM Thank you! shudh (JNEC) Concepts MEStru2k1617 14 / 14