Specific Examples of the Resolution of the Poisson's equation with the WRM using global Shape Functions
From KratosWiki
(Difference between revisions)
(→Least Squares Method <math>(W_i(x)=A(\varphi) \quad and \quad \overline{W_i}(x)=B(\varphi))</math>) 

Line 141:  Line 141:  
<br>  <br>  
−  :[[Image:collocationWRM.jpg  +  :[[Image:collocationWRM.jpg]] 
:''To modify the parameters, edit this'' [[Matlab code Collocation Method of the Resolution of the Poisson's equation with the WRM using global Shape Functions'''Matlab code''']]  :''To modify the parameters, edit this'' [[Matlab code Collocation Method of the Resolution of the Poisson's equation with the WRM using global Shape Functions'''Matlab code''']]  
Line 216:  Line 216:  
<br>  <br>  
−  :[[Image:subdomainWRM.jpg  +  :[[Image:subdomainWRM.jpg]] 
:''To modify the parameters, edit this'' [[Matlab code Subdomain Method of the Resolution of the Poisson's equation with the WRM using global Shape Functions'''Matlab code''']]  :''To modify the parameters, edit this'' [[Matlab code Subdomain Method of the Resolution of the Poisson's equation with the WRM using global Shape Functions'''Matlab code''']]  
Line 301:  Line 301:  
<br>  <br>  
−  :[[Image:galerkinWRM.jpg  +  :[[Image:galerkinWRM.jpg]] 
:''To modify the parameters, edit this'' [[Matlab code Galerkin Method of the Resolution of the Poisson's equation with the WRM using global Shape Functions'''Matlab code''']]  :''To modify the parameters, edit this'' [[Matlab code Galerkin Method of the Resolution of the Poisson's equation with the WRM using global Shape Functions'''Matlab code''']]  
Line 336:  Line 336:  
−  :[[Image:LeastSquaresWRM.jpg  +  :[[Image:LeastSquaresWRM.jpg]] 
:''To modify the parameters, edit this'' [[Matlab code Least Squares Method of the Resolution of the Poisson's equation with the WRM using global Shape Functions'''Matlab code''']]  :''To modify the parameters, edit this'' [[Matlab code Least Squares Method of the Resolution of the Poisson's equation with the WRM using global Shape Functions'''Matlab code''']] 
Revision as of 11:12, 26 November 2008
 The matrix form of the residual formulation can be written as: with:
 For simplicity reasons, we select as basis functions the Fourier Series , that automatically accomplish the boundary conditions and . If the material is constant, we can write:
sources medium boundary conditions
shape functions  constant source
 homogeneous
 Dirichlet
 Fourier Series
 By using different weighting functions, a new range of methods can be classified:
Contents 
Collocation Method
General expression  k and Q constant, using Fourier series 



 Number of points = 1
 Number of points = 2
 Number of points = n
 To modify the parameters, edit this Matlab code
Subdomain Method
General expression  k and Q constant, using Fourier series 



 Number of points = 1
 Number of points = 2
 Number of points = n
 To modify the parameters, edit this Matlab code
Galerkin Method
General expression  k and Q constant, using Fourier series 



 Number of points = 1
 Number of points = 2
 Number of points = n
 To modify the parameters, edit this Matlab code
Least Squares Method
General expression  k and Q constant, using Fourier series 



 Note that, in this case and without generality, due to the selected basis functions, the obtained solution is the same that the obtained one using the Galerkin method scaled with a factor .
 To modify the parameters, edit this Matlab code