spring1eΒΆ

Purpose:

Compute element stiffness matrix for a spring element.

_images/spring1.svg
Syntax:
Ke = spring1e(ep)
Description:

spring1e provides the element stiffness matrix \(\bar{\mathbf{K}}^e\) for a spring element.

The input variable

ep\(= [k]\)

supplies the spring stiffness \(k\) or the analog quantity defined in Table Analogous quantities.

Theory:

The element stiffness matrix \(\mathbf{K}^e\), stored in Ke, is computed according to

\[\begin{split}\mathbf{K}^e = \begin{bmatrix} k & -k \\ -k & k \end{bmatrix}\end{split}\]

where \(k\) is defined by ep.