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)

Differential equations of first order
Differential equations of first orderDifferential equations of first order
Differential equations of first order
 
Forced vibrations
Forced vibrationsForced vibrations
Forced vibrations
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
 
State equations for physical systems
State equations for physical systemsState equations for physical systems
State equations for physical systems
 
Vector Calculus.
Vector Calculus.Vector Calculus.
Vector Calculus.
 
Scse 1793 Differential Equation lecture 1
Scse 1793 Differential Equation lecture 1Scse 1793 Differential Equation lecture 1
Scse 1793 Differential Equation lecture 1
 
Finite difference method
Finite difference methodFinite difference method
Finite difference method
 
Coordinate and unit vector
Coordinate and unit vectorCoordinate and unit vector
Coordinate and unit vector
 
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-I
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IEngineering Mathematics-IV_B.Tech_Semester-IV_Unit-I
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-I
 
Structures and Materials- Section 6 Axially Loaded Structural Members
Structures and Materials- Section 6 Axially Loaded Structural MembersStructures and Materials- Section 6 Axially Loaded Structural Members
Structures and Materials- Section 6 Axially Loaded Structural Members
 
Gaussian Quadrature Formula
Gaussian Quadrature FormulaGaussian Quadrature Formula
Gaussian Quadrature Formula
 
Linear differential equation
Linear differential equationLinear differential equation
Linear differential equation
 
2nd order ode applications
2nd order ode applications2nd order ode applications
2nd order ode applications
 
1 d heat equation
1 d heat equation1 d heat equation
1 d heat equation
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Runge-Kutta methods with examples
Runge-Kutta methods with examplesRunge-Kutta methods with examples
Runge-Kutta methods with examples
 
MATLAB ODE
MATLAB ODEMATLAB ODE
MATLAB ODE
 
EEE 1
EEE 1EEE 1
EEE 1
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
BENDING STRESS IN A BEAMS
BENDING STRESS IN A BEAMSBENDING STRESS IN A BEAMS
BENDING STRESS IN A BEAMS
 

Andere mochten auch

The beauty of mathematics
The beauty of mathematicsThe beauty of mathematics
The beauty of mathematicsTarun Gehlot
 
Introduction to finite element analysis
Introduction to finite element analysisIntroduction to finite element analysis
Introduction to finite element analysisTarun Gehlot
 
Constant strain triangular
Constant strain triangular Constant strain triangular
Constant strain triangular rahul183
 
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 areaTarun Gehlot
 
basic concepts of Functions
basic concepts of Functionsbasic concepts of Functions
basic concepts of FunctionsTarun Gehlot
 
Theories of change and logic models
Theories of change and logic modelsTheories of change and logic models
Theories of change and logic modelsTarun Gehlot
 
Graphing inverse functions
Graphing inverse functionsGraphing inverse functions
Graphing inverse functionsTarun Gehlot
 
Finite elements for 2‐d problems
Finite elements  for 2‐d problemsFinite elements  for 2‐d problems
Finite elements for 2‐d problemsTarun Gehlot
 
Basic concepts of curve fittings
Basic concepts of curve fittingsBasic concepts of curve fittings
Basic concepts of curve fittingsTarun Gehlot
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methodsTarun 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
 
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 SharingAlex Pinto
 
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
 
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 DetectionAlex Pinto
 
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 transformationEJDamman
 
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 SplinesMark Brandao
 
engineeringmathematics-iv_unit-ii
engineeringmathematics-iv_unit-iiengineeringmathematics-iv_unit-ii
engineeringmathematics-iv_unit-iiKundan Kumar
 
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-IIRai University
 
Computer_Graphics_circle_drawing_techniq.ppt
Computer_Graphics_circle_drawing_techniq.pptComputer_Graphics_circle_drawing_techniq.ppt
Computer_Graphics_circle_drawing_techniq.pptAliZaib71
 
Informe laboratorio n°1
Informe laboratorio n°1Informe laboratorio n°1
Informe laboratorio n°1luisescobedo38
 
Introduction to Artificial Neural Networks
Introduction to Artificial Neural NetworksIntroduction to Artificial Neural Networks
Introduction to Artificial Neural NetworksStratio
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processingaj ahmed
 
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 reportJamesMa54
 
Introduction to Algorithms
Introduction to AlgorithmsIntroduction to Algorithms
Introduction to Algorithmspppepito86
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniquesKrishna Gali
 
SL Formulabooklet
SL FormulabookletSL Formulabooklet
SL Formulabookletnayaks3
 
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 algorithmsAmol Gaikwad
 
Data structure 8.pptx
Data structure 8.pptxData structure 8.pptx
Data structure 8.pptxSajalFayyaz
 

Ä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

Materials 11-01228
Materials 11-01228Materials 11-01228
Materials 11-01228Tarun Gehlot
 
Continuity and end_behavior
Continuity and  end_behaviorContinuity and  end_behavior
Continuity and end_behaviorTarun Gehlot
 
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)Tarun Gehlot
 
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 methodTarun Gehlot
 
Error analysis statistics
Error analysis   statisticsError analysis   statistics
Error analysis statisticsTarun Gehlot
 
Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlabTarun Gehlot
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentialsTarun Gehlot
 
Local linear approximation
Local linear approximationLocal linear approximation
Local linear approximationTarun Gehlot
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functionsTarun Gehlot
 
Propeties of-triangles
Propeties of-trianglesPropeties of-triangles
Propeties of-trianglesTarun Gehlot
 
Gaussian quadratures
Gaussian quadraturesGaussian quadratures
Gaussian quadraturesTarun Gehlot
 
Basics of set theory
Basics of set theoryBasics of set theory
Basics of set theoryTarun Gehlot
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationTarun Gehlot
 
Applications of set theory
Applications of  set theoryApplications of  set theory
Applications of set theoryTarun Gehlot
 
Miscellneous functions
Miscellneous  functionsMiscellneous  functions
Miscellneous functionsTarun Gehlot
 
Dependent v. independent variables
Dependent v. independent variablesDependent v. independent variables
Dependent v. independent variablesTarun Gehlot
 
Intervals of validity
Intervals of validityIntervals of validity
Intervals of validityTarun Gehlot
 
Modelling with first order differential equations
Modelling with first order differential equationsModelling with first order differential equations
Modelling with first order differential equationsTarun 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

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
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
 
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 GraphThiyagu K
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
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
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
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
 
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
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 

Kürzlich hochgeladen (20)

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
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 ...
 
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
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
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
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
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...
 
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
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).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