# Resolution of the 1D Poisson's equation using local Shape Functions

From KratosWiki

(Difference between revisions)

Line 363: | Line 363: | ||

:Come back to the [[Poisson's_Equation#Domain_Discretisation:_.22local.22_Shape_Functions|Resolution of the Poisson's equation using local Shape Functions]] | :Come back to the [[Poisson's_Equation#Domain_Discretisation:_.22local.22_Shape_Functions|Resolution of the Poisson's equation using local Shape Functions]] | ||

− | [[Category: | + | [[Category:Poisson's Equation]] |

## Latest revision as of 09:07, 4 November 2009

- The problem to solve is:

- with the following
**analytical solution**:

- The weak form of the integral equation is:

- and the approach solution is written by using the shape functions as:

## Resolution using 1 element with two nodes

- One single element means to cover the entire domain with the local functions.

- By using the Galerkin method (, it can be obtained:

- for i=1:

- because and

- for i=2:

- because and

- in matricial form:

- with:

- To be more practical, this system of equations can be particularised for some specific polynomial shape functions:

- Therefore:

- is the same value which it has been obtained with the analytical solution. Nevertheless, the global solution is clearly different:

- To obtain the
**reaction**to the fixed value, the first equation of the matricial system of equations can be used:

## Resolution using two elements with two nodes

- Two elements with two nodes each means the use of three global nodes:

- Locally, it is equivalent to:

- for i=1:

- for i=2:

- for i=3:

- in matricial form:

- with:

- In this case:

- If

- and again

- Come back to the Resolution of the Poisson's equation using local Shape Functions