|
|
|||||||||||||||||||
|
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. GoalSolve 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 matrixFor plane stress, stress and strain are related by the constitutive (D) matrix. With Young’s modulus E and Poisson’s ratio ν: σ = D ε, 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 (strain–displacement) matrix 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 assemblyLocal stiffness is integrated over the element (area A, thickness t = 1 here): ke = BT D B A t
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 solverFixed 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 plasticityFor each element, strain ε = B ue and stress σ = D ε. The Von Mises equivalent stress (plane stress) is: σ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. CST caveat: because strain is constant within each linear triangle, T3 elements are stiff in bending and need a fine mesh to resolve stress gradients accurately. Watch how refining Mesh Density changes the stress field.
SimulationThe interactive simulator is below. Use the controls to explore the concepts described above.
Usage
Parameters
Visualization
Limitations
|
|||||||||||||||||||