Java
FEM-Simulation
Usage
I've written this applet to understand the technique of the Finite-Element-Method. Main tasks were the geneartion of a stiffness matrix with dynamic dimension and fast calculation of it's inverse.
To test the applet you can use the default model. Just press static system or dynamic system to start a static or dynamic simulation. Then drag one end of the beam to see the deformation.
To create your own model, you have to define vertices and elements. Each vertex has two properties. On the one hand it can be free or bound. Bound means, that it's postion is fixed. You can move this vertices with the mouse while a simulation ist running. The position of the free vertices are calculated by the FEM-algorithm. You can choose this property with the Joint support radio buttons while adding new vertices. On the other hand, each vertex can be a joint or a rigid connection. A joint carrys only forces and a rigid connection carrys forces and moments. You can change this property whith a double click to the vertex.
An element has only material properties. You can choose them when adding a new element.
Controls
Mouse event |
Action |
Single left click |
Add vertex |
Double left click |
Toggle vertex between joint and rigid connection |
Single right click and drag |
Add element between two vertices |
Double right click |
Delete vertex |