|
|
||
|
This interactive simulation demonstrates 2D Finite Element Analysis (FEA) using Linear Triangle (T3 / Constant Strain Triangle) elements in plane stress. A rectangular mesh is built from nodes and triangular elements; the global stiffness matrix is assembled from each element’s B (strain–displacement) and D (constitutive) matrices. Fixed nodes (left edge by default) are enforced with the penalty method; the governing equation K d = Fext + Fp is solved with the Conjugate Gradient method. Displacements are exaggerated for visualization; triangles are colored by Von Mises stress (blue = low, red = high). Adjust Young’s Modulus E and Poisson’s ratio ν in the sidebar. Use Apply force (drag) to drag a node and set force; use Toggle fix node to fix or free a node. Use Mesh Density to change grid size; Interpolation for None/Linear/Shape Functions; Principal Stresses, Nodal Influence, Residuals for extra visuals. The Math Monitor shows K, d, Fext, Fp; click K for assembly animation. Reset restores mesh and left-edge fix. The gray outline is the original mesh; the colored mesh is the deformed configuration (displacement scaled for visibility).
Math behind the simulation1. Goal Solve for nodal displacements d given applied forces and boundary conditions: K d = Fext + Fp, where K is the global stiffness matrix, Fext is external force, and Fp is plastic force. 2. Plane stress and D matrix For plane stress, stress and strain are related by σ = D ε. With Young’s modulus E and Poisson’s ratio ν, D = E/(1−ν²) · [1, ν, 0; ν, 1, 0; 0, 0, (1−ν)/2]. 3. Constant Strain Triangle (CST) Each triangle has linear displacement; strain is constant in the element. The B matrix (strain–displacement) depends on the node coordinates and area: ε = B ue where ue is the 6×1 vector of nodal displacements (u,v for each of 3 nodes). 4. Element stiffness and assembly Local stiffness ke = BT D B A t, where A is area and t is thickness (1 here). ke is assembled into the global K by mapping local DOFs to global node indices. Click K in the equation box to animate this assembly. 5. Boundary conditions and solver Fixed degrees of freedom are enforced with the penalty method: a large value is added to the diagonal of K for that DOF and the force is set to zero. The system is solved with the Conjugate Gradient method (iterative; scales with mesh size). 6. Von Mises stress and plasticity For each element, strain ε = B ue, stress σ = D ε. Von Mises (plane stress): σv = √(σx² + σy² − σxσy + 3τxy²). Colors map low (blue) to high (red) stress. With plasticity enabled, excess stress accumulates permanent strain and Fp is added to the right-hand side.
Usage
Parameters
Visualization
|
||