SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Downloaden Sie, um offline zu lesen
Finite Elements: Basis functions
1-D elements
coordinate transformation
1-D elements
linear basis functions
quadratic basis functions
cubic basis functions

2-D elements
coordinate transformation
triangular elements
linear basis functions
quadratic basis functions

rectangular elements
linear basis functions
quadratic basis functions

Scope: Understand the origin and shape of basis functions used in classical
finite element techniques.

Finite element method – basis functions

1
1-D elements: coordinate transformation
We wish to approximate a function u(x) defined in
an interval [a,b] by some set of basis functions
n

u ( x) = ∑ ciϕ i
i =1

where i is the number of grid points (the edges of
our elements) defined at locations xi. As the basis
functions look the same in all elements (apart from
some constant) we make life easier by moving to a
local coordinate system

x − xi
ξ=
xi +1 − xi
so that the element is defined for x=[0,1].

Finite element method – basis functions

2
1-D elements – linear basis functions
There is not much choice for the shape of a
(straight) 1-D element! Notably the length can vary
across the domain.
We require that our function u(ξ) be approximated
locally by the linear function

u (ξ ) = c1 + c2ξ
Our node points are defined at ξ1,2=0,1 and we
require that

u1 = c1
u2 = c1 + c2

⇒ c1 = u1
⇒ c2 = −u1 + u2

c = Au
⎡ 1 0⎤
A= ⎢
- 1 1⎥
⎣
⎦

Finite element method – basis functions

3
1-D elements – linear basis functions
As we have expressed the coefficients ci as a
function of the function values at node points ξ1,2
we can now express the approximate function
using the node values

u (ξ ) = u1 + (−u1 + u 2 )ξ
= u1 (1 − ξ ) + u2ξ
= u1 N1 (ξ ) + N 2 (ξ )ξ

.. and N1,2(x) are the linear
basis functions for 1-D
elements.

Finite element method – basis functions

4
1-D quadratic elements
Now we require that our function u(x) be
approximated locally by the quadratic function

u (ξ ) = c1 + c2ξ + c3ξ 2
Our node points are defined at ξ1,2,3=0,1/2,1 and
we require that

u1 = c1
u2 = c1 + 0.5c2 + 0.25c3

c = Au

u3 = c1 + c2 + c3
0
0⎤
⎡1
A= ⎢− 3 4 − 1⎥
⎢
⎥
⎢ 2 −4 2 ⎥
⎣
⎦
Finite element method – basis functions

5
1-D quadratic basis functions
... again we can now express our approximated
function as a sum over our basis functions
weighted by the values at three node points

u (ξ ) = c1 + c2ξ + c3ξ 2 = u1 (1 − 3ξ + 2ξ 2 ) + u2 (4ξ − 4ξ 2 ) + u3 (−ξ + 2ξ 2 )
3

= ∑ ui N i (ξ )
i =1

... note that now we re
using three grid points
per element ...
Can we approximate a
constant function?

Finite element method – basis functions

6
1-D cubic basis functions
... using similar arguments the cubic basis
functions can be derived as

u (ξ ) = c1 + c2ξ + c3ξ 2 + c4ξ 3
N1 (ξ ) = 1 − 3ξ 2 + 2ξ 3
N 2 (ξ ) = ξ − 2ξ 2 + ξ 3
N 3 (ξ ) = 3ξ 2 − 2ξ 3
N 4 (ξ ) = −ζ 2 + ξ 3
... note that here we
need derivative
information at the
boundaries ...
How can we
approximate a constant
function?
Finite element method – basis functions

7
2-D elements: coordinate transformation
Let us now discuss the geometry and basis
functions of 2-D elements, again we want to
consider the problems in a local coordinate
system, first we look at triangles

y

η

P3

P3
P2

P1
x
before

Finite element method – basis functions

P1

P2

ξ

after

8
2-D elements: coordinate transformation
Any triangle with corners Pi(xi,yi), i=1,2,3 can be
transformed into a rectangular, equilateral triangle
with

x = x1 + ( x2 − x1 )ξ + ( x3 − x1 )η

η
P3

P1 (0,0)
P2 (1,0)
P3 (0,1)
P2

P1

ξ

y = y1 + ( y2 − y1 )ξ + ( y3 − y1 )η
using counterclockwise numbering. Note that if
η=0, then these equations are equivalent to the 1D tranformations. We seek to approximate a
function by the linear form

u (ξ ,η ) = c1 + c2ξ + c3η
we proceed in the same way as in the 1-D case

Finite element method – basis functions

9
2-D elements: coefficients
η
P3

... and we obtain

u1 = u (0,0) = c1

P1 (0,0)
P2 (1,0)
P3 (0,1)
P2

u2 = u (1,0) = c1 + c2

P1

u3 = u (0,1) = c1 + c3

ξ

... and we obtain the coefficients as a function of the
values at the grid nodes by matrix inversion

c = Au
⎡ 1 0 0⎤
A= ⎢− 1 1 0⎥
⎢
⎥
⎢− 1 0 1⎥
⎣
⎦
Finite element method – basis functions

containing the
1-D case

⎡ 1 0⎤
A= ⎢
- 1 1⎥
⎣
⎦
10
triangles: linear basis functions
from matrix A we can calculate the linear basis
functions for triangles

N1 (ξ ,η ) = 1 − ξ − η
N 2 (ξ ,η ) =
N 3 (ξ ,η ) =

Finite element method – basis functions

ξ
η

η
P3

P1 (0,0)
P2 (1,0)
P3 (0,1)
P2

P1

ξ

11
triangles: quadratic elements
Any function defined on a triangle can be approximated by the quadratic
function
2
2

u ( x, y ) = α1 + α 2 x + α 3 y + α 4 x + α 5 xy + α 6 y

and in the transformed system we obtain

u (ξ ,η ) = c1 + c2ξ + c3η + c4ξ 2 + c5ξη + c6η 2
η

P1 (0,0)
P2 (1,0)

P3

P3 (0,1)

+
P6

P1

+

+

as in the 1-D case
we need additional
points on the
element.

P4 (1/2,0)

+

+

P4

Finite element method – basis functions

P5 (1/2,1/2)

P5

P6 (0,1/2)

+

P2

ξ

12
triangles: quadratic elements
To determine the coefficients we calculate the
function u at each grid point to obtain

u1 = c1

η
P3

+

P6
+

u2 = c1 + c2 + c4
u3 = c1 + c3 + c6
u4 = c1 + 1 / 2c2 + 1 / 4c4

P1 (0,0)
P2 (1,0)
P3 (0,1)
P4 (1/2,0)
P5 (1/2,1/2)
P6 (0,1/2)

+

P+
1

+

P4

P5

P2

+

ξ

u5 = c1 + 1 / 2c2 + 1 / 2c3 + 1 / 4c4 + 1 / 4c5 + 1 / 4c6
u6 = c1 + 1 / 2c3 + 1 / 6c6
... and by matrix inversion we can calculate the coefficients as a function of
the values at Pi

c = Au

Finite element method – basis functions

13
triangles: basis functions

c = Au

0 0
0 0 0⎤
⎡1
⎢− 3 − 1 0
4 0 0⎥
⎢
⎥
⎢− 3 0 − 1 0 0 4 ⎥
A=⎢
⎥
2
2 0 −4 0 0 ⎥
⎢
⎢4
0 0 − 4 4 − 4⎥
⎢
⎥
0 2
0 0 − 4⎥
⎢2
⎣
⎦

η

P1 (0,0)
P2 (1,0)
P3 (0,1)
P4 (1/2,0)
P5 (1/2,1/2)
P6 (0,1/2)

P3

+

P6
+

+

P+
1

+

P4

P5

P2

+

ξ

... to obtain the basis functions

N1 (ξ ,η ) = (1 − ξ − η )(1 − 2ξ − 2η )
N 2 (ξ ,η ) = ξ (2ξ − 1)
N 3 (ξ ,η ) = η (2η − 1)
N 4 (ξ ,η ) = 4ξ (1 − ξ − η )
N 5 (ξ ,η ) = 4ξη
N 2 (ξ ,η ) = 4η (1 − ξ − η )
... and they look like ...
Finite element method – basis functions

14
triangles: quadratic basis functions
η
P3

+

Finite element method – basis functions

P6
+

+

P+
1

The first three quadratic basis functions ...

+
P

P5

4

P1 (0,0)
P2 (1,0)
P3 (0,1)
P4 (1/2,0)
P5 (1/2,1/2
P6 (0,1/2)
P

+2

ξ

15
triangles: quadratic basis functions
η
P3

+

Finite element method – basis functions

P6
+

+

P+
1

.. and the rest ...

+
P

P5

4

P1 (0,0)
P2 (1,0)
P3 (0,1)
P4 (1/2,0)
P5 (1/2,1/2
P6 (0,1/2)
P

+2

ξ

16
rectangles: transformation
Let us consider rectangular elements, and transform them into a local
coordinate system

y

η

P3

P4

P4

P3

P2

P1

x
before

Finite element method – basis functions

P1

P2

ξ

after

17
rectangles: linear elements
With the linear Ansatz

u (ξ ,η ) = c1 + c2ξ + c3η + c4ξη
we obtain matrix A as

⎡1 0
⎢− 1 1
A=⎢
⎢− 1 0
⎢
⎣ 1 −1

0⎤
0⎥
⎥
0 1⎥
⎥
1 − 1⎦
0
0

and the basis functions

N1 (ξ ,η ) = (1 − ξ )(1 − η )
N 2 (ξ ,η ) = ξ (1 − η )
N 3 (ξ ,η ) = ξη
N 4 (ξ ,η ) = (1 − ξ )η
Finite element method – basis functions

18
rectangles: quadratic elements
With the quadratic Ansatz

u (ξ ,η ) = c1 + c2ξ + c3η + c4ξ 2 + c5ξη + c6η 2 + c7ξ 2η + c8ξη 2
we obtain an 8x8 matrix A ... and a basis function looks
e.g. like

N1 (ξ ,η ) = (1 − ξ )(1 − η )(1 − 2ξ − 2η )
N 5 (ξ ,η ) = 4ξ (1 − ξ )(1 − η )
N1

Finite element method – basis functions

η
P4

P7

+

+
P8
P1

N2

P3

+ P6
+

P5

P2

ξ

19
1-D and 2-D elements: summary

The basis functions for finite element problems can be obtained by:
Transforming the system in to a local (to the element) system
Making a linear (quadratic, cubic) Ansatz for a function defined across
the element.
Using the interpolation condition (which states that the particular basis
functions should be one at the corresponding grid node) to obtain the
coefficients as a function of the function values at the grid nodes.
Using these coefficients to derive the n basis functions for the n node
points (or conditions).

Finite element method – basis functions

20

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Conformal mapping
Conformal mappingConformal mapping
Conformal mapping
 
Ordinary differential equation
Ordinary differential equationOrdinary differential equation
Ordinary differential equation
 
A brief introduction to finite difference method
A brief introduction to finite difference methodA brief introduction to finite difference method
A brief introduction to finite difference method
 
First Order Differential Equations
First Order Differential EquationsFirst Order Differential Equations
First Order Differential Equations
 
Complex Analysis - Differentiability and Analyticity (Team 2) - University of...
Complex Analysis - Differentiability and Analyticity (Team 2) - University of...Complex Analysis - Differentiability and Analyticity (Team 2) - University of...
Complex Analysis - Differentiability and Analyticity (Team 2) - University of...
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
 
Numerical Methods - Power Method for Eigen values
Numerical Methods - Power Method for Eigen valuesNumerical Methods - Power Method for Eigen values
Numerical Methods - Power Method for Eigen values
 
classification of second order partial differential equation
classification of second order partial differential equationclassification of second order partial differential equation
classification of second order partial differential equation
 
The wave equation
The wave equationThe wave equation
The wave equation
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
2. Fixed Point Iteration.pptx
2. Fixed Point Iteration.pptx2. Fixed Point Iteration.pptx
2. Fixed Point Iteration.pptx
 
Presentation5
Presentation5Presentation5
Presentation5
 
Jacobi iteration method
Jacobi iteration methodJacobi iteration method
Jacobi iteration method
 
Lagrange's equation with one application
Lagrange's equation with one applicationLagrange's equation with one application
Lagrange's equation with one application
 
Ordinary differential equation
Ordinary differential equationOrdinary differential equation
Ordinary differential equation
 
Chapter 17 - Multivariable Calculus
Chapter 17 - Multivariable CalculusChapter 17 - Multivariable Calculus
Chapter 17 - Multivariable Calculus
 
Langrange Interpolation Polynomials
Langrange Interpolation PolynomialsLangrange Interpolation Polynomials
Langrange Interpolation Polynomials
 
Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)
 
first order ode with its application
 first order ode with its application first order ode with its application
first order ode with its application
 
Legendre functions
Legendre functionsLegendre functions
Legendre functions
 

Andere mochten auch

Numerical conformal mapping of an irregular area
Numerical conformal mapping of an irregular areaNumerical conformal mapping of an irregular area
Numerical conformal mapping of an irregular area
Tarun Gehlot
 
Theories of change and logic models
Theories of change and logic modelsTheories of change and logic models
Theories of change and logic models
Tarun Gehlot
 
11 x1 t16 05 volumes (2013)
11 x1 t16 05 volumes (2013)11 x1 t16 05 volumes (2013)
11 x1 t16 05 volumes (2013)
Nigel Simmons
 
11 x1 t01 03 factorising (2014)
11 x1 t01 03 factorising (2014)11 x1 t01 03 factorising (2014)
11 x1 t01 03 factorising (2014)
Nigel Simmons
 
Measuring the IQ of your Threat Intelligence Feeds (#tiqtest)
Measuring the IQ of your Threat Intelligence Feeds (#tiqtest)Measuring the IQ of your Threat Intelligence Feeds (#tiqtest)
Measuring the IQ of your Threat Intelligence Feeds (#tiqtest)
Alex Pinto
 
Section 2 part 1 coordinate transformation
Section 2   part 1 coordinate transformationSection 2   part 1 coordinate transformation
Section 2 part 1 coordinate transformation
EJDamman
 
11 x1 t16 02 definite integral (2013)
11 x1 t16 02 definite integral (2013)11 x1 t16 02 definite integral (2013)
11 x1 t16 02 definite integral (2013)
Nigel Simmons
 
Numerical and experimental demonstration of a coordinate transformation-based...
Numerical and experimental demonstration of a coordinate transformation-based...Numerical and experimental demonstration of a coordinate transformation-based...
Numerical and experimental demonstration of a coordinate transformation-based...
Xinying Wu
 

Andere mochten auch (20)

The beauty of mathematics
The beauty of mathematicsThe beauty of mathematics
The beauty of mathematics
 
Introduction to finite element analysis
Introduction to finite element analysisIntroduction to finite element analysis
Introduction to finite element analysis
 
Constant strain triangular
Constant strain triangular Constant strain triangular
Constant strain triangular
 
Numerical conformal mapping of an irregular area
Numerical conformal mapping of an irregular areaNumerical conformal mapping of an irregular area
Numerical conformal mapping of an irregular area
 
basic concepts of Functions
basic concepts of Functionsbasic concepts of Functions
basic concepts of Functions
 
Theories of change and logic models
Theories of change and logic modelsTheories of change and logic models
Theories of change and logic models
 
Graphing inverse functions
Graphing inverse functionsGraphing inverse functions
Graphing inverse functions
 
Finite elements for 2‐d problems
Finite elements  for 2‐d problemsFinite elements  for 2‐d problems
Finite elements for 2‐d problems
 
Venn diagram
Venn diagramVenn diagram
Venn diagram
 
Basic concepts of curve fittings
Basic concepts of curve fittingsBasic concepts of curve fittings
Basic concepts of curve fittings
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methods
 
11 x1 t16 05 volumes (2013)
11 x1 t16 05 volumes (2013)11 x1 t16 05 volumes (2013)
11 x1 t16 05 volumes (2013)
 
Data-Driven Threat Intelligence: Metrics on Indicator Dissemination and Sharing
Data-Driven Threat Intelligence: Metrics on Indicator Dissemination and SharingData-Driven Threat Intelligence: Metrics on Indicator Dissemination and Sharing
Data-Driven Threat Intelligence: Metrics on Indicator Dissemination and Sharing
 
11 x1 t01 03 factorising (2014)
11 x1 t01 03 factorising (2014)11 x1 t01 03 factorising (2014)
11 x1 t01 03 factorising (2014)
 
Beyond Matching: Applying Data Science Techniques to IOC-based Detection
Beyond Matching: Applying Data Science Techniques to IOC-based DetectionBeyond Matching: Applying Data Science Techniques to IOC-based Detection
Beyond Matching: Applying Data Science Techniques to IOC-based Detection
 
Measuring the IQ of your Threat Intelligence Feeds (#tiqtest)
Measuring the IQ of your Threat Intelligence Feeds (#tiqtest)Measuring the IQ of your Threat Intelligence Feeds (#tiqtest)
Measuring the IQ of your Threat Intelligence Feeds (#tiqtest)
 
Section 2 part 1 coordinate transformation
Section 2   part 1 coordinate transformationSection 2   part 1 coordinate transformation
Section 2 part 1 coordinate transformation
 
11 x1 t16 02 definite integral (2013)
11 x1 t16 02 definite integral (2013)11 x1 t16 02 definite integral (2013)
11 x1 t16 02 definite integral (2013)
 
Numerical and experimental demonstration of a coordinate transformation-based...
Numerical and experimental demonstration of a coordinate transformation-based...Numerical and experimental demonstration of a coordinate transformation-based...
Numerical and experimental demonstration of a coordinate transformation-based...
 
Coordinate system & transformation
Coordinate system & transformationCoordinate system & transformation
Coordinate system & transformation
 

Ähnlich wie Finite elements : basis functions

Natural and Clamped Cubic Splines
Natural and Clamped Cubic SplinesNatural and Clamped Cubic Splines
Natural and Clamped Cubic Splines
Mark Brandao
 
engineeringmathematics-iv_unit-ii
engineeringmathematics-iv_unit-iiengineeringmathematics-iv_unit-ii
engineeringmathematics-iv_unit-ii
Kundan Kumar
 
Solving the energy problem of helium final report
Solving the energy problem of helium final reportSolving the energy problem of helium final report
Solving the energy problem of helium final report
JamesMa54
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniques
Krishna Gali
 

Ähnlich wie Finite elements : basis functions (20)

Natural and Clamped Cubic Splines
Natural and Clamped Cubic SplinesNatural and Clamped Cubic Splines
Natural and Clamped Cubic Splines
 
Nbvtalkatbzaonencryptionpuzzles
NbvtalkatbzaonencryptionpuzzlesNbvtalkatbzaonencryptionpuzzles
Nbvtalkatbzaonencryptionpuzzles
 
Nbvtalkatbzaonencryptionpuzzles
NbvtalkatbzaonencryptionpuzzlesNbvtalkatbzaonencryptionpuzzles
Nbvtalkatbzaonencryptionpuzzles
 
engineeringmathematics-iv_unit-ii
engineeringmathematics-iv_unit-iiengineeringmathematics-iv_unit-ii
engineeringmathematics-iv_unit-ii
 
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-II
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IIEngineering Mathematics-IV_B.Tech_Semester-IV_Unit-II
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-II
 
Computer_Graphics_circle_drawing_techniq.ppt
Computer_Graphics_circle_drawing_techniq.pptComputer_Graphics_circle_drawing_techniq.ppt
Computer_Graphics_circle_drawing_techniq.ppt
 
10994479.ppt
10994479.ppt10994479.ppt
10994479.ppt
 
Informe laboratorio n°1
Informe laboratorio n°1Informe laboratorio n°1
Informe laboratorio n°1
 
5.n nmodels i
5.n nmodels i5.n nmodels i
5.n nmodels i
 
Introduction to Artificial Neural Networks
Introduction to Artificial Neural NetworksIntroduction to Artificial Neural Networks
Introduction to Artificial Neural Networks
 
2018 MUMS Fall Course - Statistical Representation of Model Input (EDITED) - ...
2018 MUMS Fall Course - Statistical Representation of Model Input (EDITED) - ...2018 MUMS Fall Course - Statistical Representation of Model Input (EDITED) - ...
2018 MUMS Fall Course - Statistical Representation of Model Input (EDITED) - ...
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processing
 
AsymptoticAnalysis.ppt
AsymptoticAnalysis.pptAsymptoticAnalysis.ppt
AsymptoticAnalysis.ppt
 
Solving the energy problem of helium final report
Solving the energy problem of helium final reportSolving the energy problem of helium final report
Solving the energy problem of helium final report
 
Introduction to Algorithms
Introduction to AlgorithmsIntroduction to Algorithms
Introduction to Algorithms
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniques
 
SL Formulabooklet
SL FormulabookletSL Formulabooklet
SL Formulabooklet
 
Unit-2 raster scan graphics,line,circle and polygon algorithms
Unit-2 raster scan graphics,line,circle and polygon algorithmsUnit-2 raster scan graphics,line,circle and polygon algorithms
Unit-2 raster scan graphics,line,circle and polygon algorithms
 
2018 MUMS Fall Course - Statistical and Mathematical Techniques for Sensitivi...
2018 MUMS Fall Course - Statistical and Mathematical Techniques for Sensitivi...2018 MUMS Fall Course - Statistical and Mathematical Techniques for Sensitivi...
2018 MUMS Fall Course - Statistical and Mathematical Techniques for Sensitivi...
 
Data structure 8.pptx
Data structure 8.pptxData structure 8.pptx
Data structure 8.pptx
 

Mehr von Tarun Gehlot

Mehr von Tarun Gehlot (20)

Materials 11-01228
Materials 11-01228Materials 11-01228
Materials 11-01228
 
Binary relations
Binary relationsBinary relations
Binary relations
 
Continuity and end_behavior
Continuity and  end_behaviorContinuity and  end_behavior
Continuity and end_behavior
 
Continuity of functions by graph (exercises with detailed solutions)
Continuity of functions by graph   (exercises with detailed solutions)Continuity of functions by graph   (exercises with detailed solutions)
Continuity of functions by graph (exercises with detailed solutions)
 
Factoring by the trial and-error method
Factoring by the trial and-error methodFactoring by the trial and-error method
Factoring by the trial and-error method
 
Error analysis statistics
Error analysis   statisticsError analysis   statistics
Error analysis statistics
 
Matlab commands
Matlab commandsMatlab commands
Matlab commands
 
Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlab
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentials
 
Local linear approximation
Local linear approximationLocal linear approximation
Local linear approximation
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functions
 
Propeties of-triangles
Propeties of-trianglesPropeties of-triangles
Propeties of-triangles
 
Gaussian quadratures
Gaussian quadraturesGaussian quadratures
Gaussian quadratures
 
Basics of set theory
Basics of set theoryBasics of set theory
Basics of set theory
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Applications of set theory
Applications of  set theoryApplications of  set theory
Applications of set theory
 
Miscellneous functions
Miscellneous  functionsMiscellneous  functions
Miscellneous functions
 
Dependent v. independent variables
Dependent v. independent variablesDependent v. independent variables
Dependent v. independent variables
 
Intervals of validity
Intervals of validityIntervals of validity
Intervals of validity
 
Modelling with first order differential equations
Modelling with first order differential equationsModelling with first order differential equations
Modelling with first order differential equations
 

Kürzlich hochgeladen

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
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
 
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
SoniaTolstoy
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Kürzlich hochgeladen (20)

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
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
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...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
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
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
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
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
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
 

Finite elements : basis functions

  • 1. Finite Elements: Basis functions 1-D elements coordinate transformation 1-D elements linear basis functions quadratic basis functions cubic basis functions 2-D elements coordinate transformation triangular elements linear basis functions quadratic basis functions rectangular elements linear basis functions quadratic basis functions Scope: Understand the origin and shape of basis functions used in classical finite element techniques. Finite element method – basis functions 1
  • 2. 1-D elements: coordinate transformation We wish to approximate a function u(x) defined in an interval [a,b] by some set of basis functions n u ( x) = ∑ ciϕ i i =1 where i is the number of grid points (the edges of our elements) defined at locations xi. As the basis functions look the same in all elements (apart from some constant) we make life easier by moving to a local coordinate system x − xi ξ= xi +1 − xi so that the element is defined for x=[0,1]. Finite element method – basis functions 2
  • 3. 1-D elements – linear basis functions There is not much choice for the shape of a (straight) 1-D element! Notably the length can vary across the domain. We require that our function u(ξ) be approximated locally by the linear function u (ξ ) = c1 + c2ξ Our node points are defined at ξ1,2=0,1 and we require that u1 = c1 u2 = c1 + c2 ⇒ c1 = u1 ⇒ c2 = −u1 + u2 c = Au ⎡ 1 0⎤ A= ⎢ - 1 1⎥ ⎣ ⎦ Finite element method – basis functions 3
  • 4. 1-D elements – linear basis functions As we have expressed the coefficients ci as a function of the function values at node points ξ1,2 we can now express the approximate function using the node values u (ξ ) = u1 + (−u1 + u 2 )ξ = u1 (1 − ξ ) + u2ξ = u1 N1 (ξ ) + N 2 (ξ )ξ .. and N1,2(x) are the linear basis functions for 1-D elements. Finite element method – basis functions 4
  • 5. 1-D quadratic elements Now we require that our function u(x) be approximated locally by the quadratic function u (ξ ) = c1 + c2ξ + c3ξ 2 Our node points are defined at ξ1,2,3=0,1/2,1 and we require that u1 = c1 u2 = c1 + 0.5c2 + 0.25c3 c = Au u3 = c1 + c2 + c3 0 0⎤ ⎡1 A= ⎢− 3 4 − 1⎥ ⎢ ⎥ ⎢ 2 −4 2 ⎥ ⎣ ⎦ Finite element method – basis functions 5
  • 6. 1-D quadratic basis functions ... again we can now express our approximated function as a sum over our basis functions weighted by the values at three node points u (ξ ) = c1 + c2ξ + c3ξ 2 = u1 (1 − 3ξ + 2ξ 2 ) + u2 (4ξ − 4ξ 2 ) + u3 (−ξ + 2ξ 2 ) 3 = ∑ ui N i (ξ ) i =1 ... note that now we re using three grid points per element ... Can we approximate a constant function? Finite element method – basis functions 6
  • 7. 1-D cubic basis functions ... using similar arguments the cubic basis functions can be derived as u (ξ ) = c1 + c2ξ + c3ξ 2 + c4ξ 3 N1 (ξ ) = 1 − 3ξ 2 + 2ξ 3 N 2 (ξ ) = ξ − 2ξ 2 + ξ 3 N 3 (ξ ) = 3ξ 2 − 2ξ 3 N 4 (ξ ) = −ζ 2 + ξ 3 ... note that here we need derivative information at the boundaries ... How can we approximate a constant function? Finite element method – basis functions 7
  • 8. 2-D elements: coordinate transformation Let us now discuss the geometry and basis functions of 2-D elements, again we want to consider the problems in a local coordinate system, first we look at triangles y η P3 P3 P2 P1 x before Finite element method – basis functions P1 P2 ξ after 8
  • 9. 2-D elements: coordinate transformation Any triangle with corners Pi(xi,yi), i=1,2,3 can be transformed into a rectangular, equilateral triangle with x = x1 + ( x2 − x1 )ξ + ( x3 − x1 )η η P3 P1 (0,0) P2 (1,0) P3 (0,1) P2 P1 ξ y = y1 + ( y2 − y1 )ξ + ( y3 − y1 )η using counterclockwise numbering. Note that if η=0, then these equations are equivalent to the 1D tranformations. We seek to approximate a function by the linear form u (ξ ,η ) = c1 + c2ξ + c3η we proceed in the same way as in the 1-D case Finite element method – basis functions 9
  • 10. 2-D elements: coefficients η P3 ... and we obtain u1 = u (0,0) = c1 P1 (0,0) P2 (1,0) P3 (0,1) P2 u2 = u (1,0) = c1 + c2 P1 u3 = u (0,1) = c1 + c3 ξ ... and we obtain the coefficients as a function of the values at the grid nodes by matrix inversion c = Au ⎡ 1 0 0⎤ A= ⎢− 1 1 0⎥ ⎢ ⎥ ⎢− 1 0 1⎥ ⎣ ⎦ Finite element method – basis functions containing the 1-D case ⎡ 1 0⎤ A= ⎢ - 1 1⎥ ⎣ ⎦ 10
  • 11. triangles: linear basis functions from matrix A we can calculate the linear basis functions for triangles N1 (ξ ,η ) = 1 − ξ − η N 2 (ξ ,η ) = N 3 (ξ ,η ) = Finite element method – basis functions ξ η η P3 P1 (0,0) P2 (1,0) P3 (0,1) P2 P1 ξ 11
  • 12. triangles: quadratic elements Any function defined on a triangle can be approximated by the quadratic function 2 2 u ( x, y ) = α1 + α 2 x + α 3 y + α 4 x + α 5 xy + α 6 y and in the transformed system we obtain u (ξ ,η ) = c1 + c2ξ + c3η + c4ξ 2 + c5ξη + c6η 2 η P1 (0,0) P2 (1,0) P3 P3 (0,1) + P6 P1 + + as in the 1-D case we need additional points on the element. P4 (1/2,0) + + P4 Finite element method – basis functions P5 (1/2,1/2) P5 P6 (0,1/2) + P2 ξ 12
  • 13. triangles: quadratic elements To determine the coefficients we calculate the function u at each grid point to obtain u1 = c1 η P3 + P6 + u2 = c1 + c2 + c4 u3 = c1 + c3 + c6 u4 = c1 + 1 / 2c2 + 1 / 4c4 P1 (0,0) P2 (1,0) P3 (0,1) P4 (1/2,0) P5 (1/2,1/2) P6 (0,1/2) + P+ 1 + P4 P5 P2 + ξ u5 = c1 + 1 / 2c2 + 1 / 2c3 + 1 / 4c4 + 1 / 4c5 + 1 / 4c6 u6 = c1 + 1 / 2c3 + 1 / 6c6 ... and by matrix inversion we can calculate the coefficients as a function of the values at Pi c = Au Finite element method – basis functions 13
  • 14. triangles: basis functions c = Au 0 0 0 0 0⎤ ⎡1 ⎢− 3 − 1 0 4 0 0⎥ ⎢ ⎥ ⎢− 3 0 − 1 0 0 4 ⎥ A=⎢ ⎥ 2 2 0 −4 0 0 ⎥ ⎢ ⎢4 0 0 − 4 4 − 4⎥ ⎢ ⎥ 0 2 0 0 − 4⎥ ⎢2 ⎣ ⎦ η P1 (0,0) P2 (1,0) P3 (0,1) P4 (1/2,0) P5 (1/2,1/2) P6 (0,1/2) P3 + P6 + + P+ 1 + P4 P5 P2 + ξ ... to obtain the basis functions N1 (ξ ,η ) = (1 − ξ − η )(1 − 2ξ − 2η ) N 2 (ξ ,η ) = ξ (2ξ − 1) N 3 (ξ ,η ) = η (2η − 1) N 4 (ξ ,η ) = 4ξ (1 − ξ − η ) N 5 (ξ ,η ) = 4ξη N 2 (ξ ,η ) = 4η (1 − ξ − η ) ... and they look like ... Finite element method – basis functions 14
  • 15. triangles: quadratic basis functions η P3 + Finite element method – basis functions P6 + + P+ 1 The first three quadratic basis functions ... + P P5 4 P1 (0,0) P2 (1,0) P3 (0,1) P4 (1/2,0) P5 (1/2,1/2 P6 (0,1/2) P +2 ξ 15
  • 16. triangles: quadratic basis functions η P3 + Finite element method – basis functions P6 + + P+ 1 .. and the rest ... + P P5 4 P1 (0,0) P2 (1,0) P3 (0,1) P4 (1/2,0) P5 (1/2,1/2 P6 (0,1/2) P +2 ξ 16
  • 17. rectangles: transformation Let us consider rectangular elements, and transform them into a local coordinate system y η P3 P4 P4 P3 P2 P1 x before Finite element method – basis functions P1 P2 ξ after 17
  • 18. rectangles: linear elements With the linear Ansatz u (ξ ,η ) = c1 + c2ξ + c3η + c4ξη we obtain matrix A as ⎡1 0 ⎢− 1 1 A=⎢ ⎢− 1 0 ⎢ ⎣ 1 −1 0⎤ 0⎥ ⎥ 0 1⎥ ⎥ 1 − 1⎦ 0 0 and the basis functions N1 (ξ ,η ) = (1 − ξ )(1 − η ) N 2 (ξ ,η ) = ξ (1 − η ) N 3 (ξ ,η ) = ξη N 4 (ξ ,η ) = (1 − ξ )η Finite element method – basis functions 18
  • 19. rectangles: quadratic elements With the quadratic Ansatz u (ξ ,η ) = c1 + c2ξ + c3η + c4ξ 2 + c5ξη + c6η 2 + c7ξ 2η + c8ξη 2 we obtain an 8x8 matrix A ... and a basis function looks e.g. like N1 (ξ ,η ) = (1 − ξ )(1 − η )(1 − 2ξ − 2η ) N 5 (ξ ,η ) = 4ξ (1 − ξ )(1 − η ) N1 Finite element method – basis functions η P4 P7 + + P8 P1 N2 P3 + P6 + P5 P2 ξ 19
  • 20. 1-D and 2-D elements: summary The basis functions for finite element problems can be obtained by: Transforming the system in to a local (to the element) system Making a linear (quadratic, cubic) Ansatz for a function defined across the element. Using the interpolation condition (which states that the particular basis functions should be one at the corresponding grid node) to obtain the coefficients as a function of the function values at the grid nodes. Using these coefficients to derive the n basis functions for the n node points (or conditions). Finite element method – basis functions 20