Академический Документы
Профессиональный Документы
Культура Документы
with
2
STEP 2. Integration by parts
(
)
3
Weak form
Find uH1() such that u=ud in d and
4
Piece-wise (element-by-element)
polynomial approximation
In the FEM the solution is approximated with a piece-wise
polynomial basis
Ni(x)
Advantages:
compact suport (local basis) sparse matrices
easy computation of integrals
physical meaning of coefficients ui
5
Prescribed values
The coefficients corresponding to values known by boundary
conditions are set to the prescrived value
6
Discretization of the weak form
Imposing the weak form for v=Ni(x) with iB, and replacing
the approximation uh(x)
7
1D example (with C0 linear approximation)
Approximation:
8
Replacing the approximation and v=Ni for i=1...5
or, equivalently,
9
The matrix of the system is tridiagonal (sparse in general,
with few non-null coefficients)
10
Symmetric and diagonally dominant matrix:
The matrix is symmetric and positive definite
If the bilinear form a(,) is symmetric and coercive, the
matrix is symmetric and positive definite.
The coefficient (i,j) of the matrix is non-null only if nodes i
and j belong to the same elements: sparse matrices
11
Computation of integrals: numerical
quadrature in each element
We want to compute integrals as
Mesh geometry
definition
K=
(connectivity
matrix)
(#) local numbering
K1= K=
K2= K=
K3= K=
Symmetric and semi-
positive matrix
(positiveness after
imposing boundary
conditions)
K4= K=
Computation of the elemental matrix
Shape functions
Ni(x)=?
(x3,y3) (x2,y2)
Numerical quadrature
e
(x4,y4) Reference
(x1,y1) element
Q1: bilinear, {1,x,y,xy}
Transformacin
isoparamtrica
Q2: biquadratic
Q1 element
N1 N2
N3 N4
Q2 element
N1 N2
N8 N9
Triangles:
P1
P3
Tetrahedra {1, x, y, z}
26