Lec 02 A
Lec 02 A
Abrham E.
May 2024
Content
Matrices & Graphs in Scilab
Elasticity
Variational Methods
Steps in FEA Process
or Ax = y
’A’ is a matrix with m rows and n
columns, aij being its components
Matrix cont.
Real and complex matrices
Square matrix; main & cross diagonal
Null, identity and diagonal matrices
Equality, addition and subtraction
Symmetric matrix ==> aij = aji
Anti-symmetric (skew) matrix ==> aij = -aji
(diagonal must be zero)
Matrix cont.
Scalar multiplication, matrix product
Power of square matrices
Transpose, determinant
Inverse of a matrix
Solution of simultaneous equations
Cramer's Rule and others
Partitioning
Differentiation
Integration
Plotting Graphs – Scilab
Label the axes and add a title.
→ x = 0:%pi/100:2*%pi;
→ y = sin(x);
→ plot(x,y)
Label the axes and add a title.
→ xlabel('x = 0:2\pi')
→ ylabel('Sine of x')
→ title('Plot of the Sine Function','FontSize',12)
Multiple graphs
→ y2 = sin(x-0.25); plot(x,y,x,y2)
→ legend('sin(x)','sin(x-.25)');
Numerical Methods
Several approaches can be used to transform
the physical formulation of the problem to its
finite element discrete analogue.
Galerkin method – the physical formulation of
the problem is known as a differential
equation.
Variational formulation – the physical problem
can be formulated as minimization of a
functional.
Variational Method cont.