300 likes | 344 Views
Generalized Finite Element Methods. Approximate solution techniques: Rayleigh-Ritz and Galerkin Methods. Suvranu De. Last class. Strong formulation (BVP) Minimization statement Weak formulation (VBVP). This class. Approximate solution techniques: Rayleigh Ritz Method Galerkin Method
E N D
Generalized Finite Element Methods Approximate solution techniques: Rayleigh-Ritz and Galerkin Methods Suvranu De
Last class Strong formulation (BVP) Minimization statement Weak formulation (VBVP)
This class Approximate solution techniques: Rayleigh Ritz Method Galerkin Method Other techniques Equivalence
The Poisson equation Dirichlet problem The strong formulation (BVP) Domain: for given f(x)
Minimization Principle The Dirichlet problem Statement... Find where X = and
Weak formulation (VBVP) The Dirichlet problem Restatement... Let a SPD bilinear form and a linear form
Weak formulation (VBVP) The Dirichlet problem Restatement... Minimization Principle: Weak Statement (VBVP): Find
Strong form The Dirichlet problem in 2D Findu(x,y)such that W G where and Wis a domain in R2with boundaryG
Weak formulation The Dirichlet problem in 2D Restatement
XhX Approximation Basis Define a finite dimensional subspace Xh of X spanned by linearly independent functions “basis functions” i.e., any function whXh may be written as dim(ension)(Xh) = N
XhX Approximation Basis • These functions can be • Lagrange polynomials • Least squares • Moving least squares functions • PU functions • Wavelets • …..
Minimization Principle The Rayleigh-Ritz Method General approach Start with the minimization principle and pose it in the subspace Xh(APPROXIMATION)
Minimization Principle The Rayleigh-Ritz Method General approach Approximate solution in the subspace Xh is
Minimization Principle The Rayleigh-Ritz Method Geometric interpretation
Minimization Principle The Rayleigh-Ritz Method J|Xh... Claim: For problems of type minimization of the functional in the subspace Xh is equivalent to the following problem Find such that
Minimization Principle The Rayleigh-Ritz Method J|Xh... Using the property of bilinearity
Minimization Principle The Rayleigh-Ritz Method J|Xh... Using the property of linearity Hence
Minimization Principle The Rayleigh-Ritz Method J|Xh... For our Dirichlet problem Notice that Ah is SPD
Minimization Principle The Rayleigh-Ritz Method J|Xh...
Minimization Principle The Rayleigh-Ritz Method J|Xh...
Minimization Principle The Rayleigh-Ritz Method J|Xh... Since Ah is symmetric Similarly
Minimization Principle The Rayleigh-Ritz Method J|Xh... • Different bases will generate different Ah - with different bandedness, sparsity and conditioning - and hence different solution. • Since Ah is SPD for the Dirichlet problem, the solution always exists and is unique.
VBVP The Galerkin Method • Takes the weak form (VBVP) as the starting point. • Very general. Works for problems that does not have a minimization principle. • For problems that do have a minimization principle, the Galerkin method and the the Rayleigh-Ritz methods produce exactly the same set of discrete equations.
VBVP The Galerkin Method Approximation Pose the weak form: Find such that in the subspace Xh(APPROXIMATION) Find such that
VBVP The Galerkin Method Using the property of bilinearity and linearity as before Using symmetricity of Ah
VBVP The Galerkin Method Discrete equations The discrete problem Find such that Choose First row
VBVP The Galerkin Method Discrete equations The discrete problem Find such that Choose Second row and so on....
VBVP The Galerkin Method Discretized set of equations The discrete problem Find such that is equivalent to Find such that
VBVP The Galerkin Method Example Numerical solution Analytical solution
Summary • The Rayleigh-Ritz Method takes the Minimization principle as its starting point • The Galerkin Method takes the Weak form as its starting point • The Galerkin Method is much more general than the Rayleigh-Ritz Method. • For problems that permit a minimization principle, both the methods give rise to the same set of equations in the same finite dimensional subspace.