Finite Element Solids
The finite element module solves deformable solids in double precision for two audiences: engineering analysis (deflection, stress, reactions and natural frequencies) and VFX (soft bodies that deform under load and push rigid bodies back).
Methods
- Elements: Tet4, Tet10 and Hex8 with incompatible modes (which does not lock in bending).
- Materials: linear, co-rotated, St Venant–Kirchhoff, Neo-Hookean, stable Neo-Hookean and Mooney–Rivlin, with Rayleigh damping.
- Analyses: linear and nonlinear statics with load stepping; implicit dynamics (Newmark, HHT-α, backward Euler); explicit dynamics for impacts; modal analysis.
- Solvers: Newton with a block incomplete-Cholesky preconditioned conjugate gradient, or a direct profile Cholesky.
- Contact with rigid bodies: each touching rigid body's six degrees of freedom join the Newton solve (an implicit two-body contact), so a ball rebounds off a board and a block rests on it with the right reaction.
- Output: stress recovery (von Mises and components) and VTK files for ParaView.
In Divooka
Planned. The next slice is meant to bring FEM solids into a scene description with stress fields as mesh colours, for the "deformation under stress" use case, sampled per frame like cloth.
Validation
| Test | Result |
|---|---|
| Cantilever tip deflection, Tet10 20 × 2 × 2 | −0.34 % against Euler–Bernoulli |
| Cantilever first bending frequency, Tet10 | −0.07 % |
| Neo-Hookean uniaxial stretch to 1.6 | stresses equal the analytic values to 7 digits |
| Patch test on a distorted mesh | exact to round-off for every element |
| Newmark, large-amplitude Neo-Hookean cantilever, 2 periods | energy drift 0.084 % |
| Soft block resting on a rigid plane | reaction equals the weight to 0.000 % |
| Thin board under self-weight, Tet10 or Hex8 with incompatible modes | 0.97 of the beam deflection (Tet4 locks: 0.08–0.24) |
| Against Project Chrono's FEA on identical meshes | identical deflections; Continuum's direct solve 2–17× faster |
| 1, 2 and 3 threads | bit-identical |
Cost
An implicit cantilever of 6 000 degrees of freedom costs about 0.3 s per step on one core; 21 000 degrees of freedom about 1.5 s. The catalog's springboard runs at about 68 ms per frame at preview quality.
Limits
- Isotropic hyperelastic materials only: no plasticity, viscoelasticity, fibres or damage yet.
- Contact is between FEM solids and rigid bodies only; no FEM–FEM or self contact.
- Impacts are resolved to first order in the step: coarse steps are dissipative, and bouncy impacts need small steps.
- Linear tetrahedra lock in bending; use Tet10 or Hex8.
- No shells or beams yet for thin structures.
Sample scenes
fem-cantilever, fem-materials.