Theory and conventions¶
This page is the mathematical entry point for the public AgentFEM workflow. It states the conventions that affect model meaning and points to the detailed material, procedure, output, and API references. Equations describe implemented or explicitly identified formulations; they are not a catalogue of every finite-element method.
Notation and configuration¶
Unless a guide states otherwise, \(\Omega\) is the reference domain, \(\Gamma\) its boundary, \(\mathbf{u}\) displacement, \(T\) temperature, \(\boldsymbol{\sigma}\) Cauchy stress, and \(\mathbf{v}\) an admissible test function. Material parameters and loads must use one consistent unit system; AgentFEM records unit roles but does not rescale arbitrary numerical input silently.
Small-strain analyses use the infinitesimal strain tensor
Finite-strain analyses use total-Lagrangian kinematics
The local condition \(J>0\) is required for an orientation-preserving deformation. It is checked at quadrature points in supported finite-strain workflows; a positive global volume does not replace this local condition.
Static equilibrium¶
For a small-strain solid, the strong form is
The corresponding weak equilibrium statement is
Linearization and discretization give \(\mathbf{K}\mathbf{u}=\mathbf{F}\). Nonlinear statics instead solves an incremental residual equation \(\mathbf{R}(\mathbf{u})=\mathbf{0}\) using a consistent or explicitly identified tangent \(\mathbf{K}_t=\partial\mathbf{R}/\partial\mathbf{u}\).
Linear isotropic elasticity¶
The implemented small-strain isotropic relation is
For a two-dimensional solid, the Study must state one of the following:
| Assumption | Meaning in the present formulation |
|---|---|
| Plane strain | Out-of-plane strain is constrained to zero; the three-dimensional Lamé constants are retained. |
| Plane stress | Out-of-plane stress is zero; the in-plane volumetric coefficient is \(\lambda_{ps}=E\nu/(1-\nu^2)\). |
Axisymmetric elasticity requires radial kinematics and weighted integration and is not currently implied by either two-dimensional assumption.
Thermal balance and thermoelastic strain¶
The transient heat equation used by the thermal workflow is
Steady heat transfer omits the capacity term. The current implicit transient route uses backward Euler unless the procedure documentation states otherwise. For sequential thermal stress, isotropic free thermal strain is
and the mechanical stress is evaluated from \(\boldsymbol{\varepsilon}-\boldsymbol{\varepsilon}_{\mathrm{th}}\) with the selected plane-stress, plane-strain, or three-dimensional constitutive relation.
Structural dynamics¶
The semi-discrete second-order system is
AgentFEM keeps the physical Study separate from the SolutionProcedure:
| Procedure family | Current route | Numerical character |
|---|---|---|
| Standard | Newmark or generalized-\(\alpha\) | Global implicit solve at each accepted time increment |
| Explicit | Central difference with lumped mass | No global stiffness solve at each time increment; stability restricts \(\Delta t\) |
Step, increment, nonlinear iteration, failed attempt, and output frame are distinct concepts throughout progress, checkpoint, and result records.
The same resolved SolutionProcedure is carried by the Step request used for
capability inspection and provider lowering. Passing
model.step(procedure=...) can therefore select Standard or Explicit
behavior; it cannot disagree with a simultaneous method= choice or with the
equation order declared by the Study.
Compressible Neo-Hookean finite strain¶
For the implemented compressible Neo-Hookean material, the strain-energy density is
where \(d\) is the spatial dimension. The two-dimensional form is a plane-strain restriction with unit out-of-plane stretch; it is not a finite- strain plane-stress model. Nearly incompressible behavior should use the documented displacement-pressure formulation rather than treating an imported hybrid element name as a complete numerical formulation.
Mooney--Rivlin finite strain¶
AgentFEM also exposes a two-parameter Mooney--Rivlin family. The compressible three-dimensional form uses the decoupled energy
For incompressible thin sheets, mooney_rivlin_plane_stress(...) implements
the reduced energy reported as Eq. (17) by Wang, Fineberg, and Needleman,
where (I=\operatorname{tr}(\mathbf F\mathbf F^T)), (J=\det\mathbf F), and the out-of-plane stretch is (J^{-1}). The same energy supplies the first Piola stress, material tangent, finite-strain Explicit residual, recoverable energy, and prestrained acoustic tensor. The cited paper uses this relation to characterize/convert the measured material response; its reported numerical finite-element procedure is separately described as plane-stress hypoelastic. AgentFEM therefore records those roles separately instead of claiming that Eq. (17) was the paper's finite-element constitutive update.
J2 plasticity and creep state¶
The supported global J2 route is three-dimensional, small-strain, associative Mises plasticity with linear isotropic hardening. Its trial yield function and closed-form plastic multiplier are
The supported global creep route is three-dimensional, small-strain Mises power-law creep. It may be isothermal or consume a positive scalar/field temperature through a normalized Arrhenius coefficient. Backward Euler solves
For the temperature-dependent route, (A) is evaluated at every creep quadrature point from the prescribed absolute temperature (T).
For both routes, quadrature state remains trial state during global Newton iterations. Stress, plastic/creep strain, equivalent inelastic strain, and the next-increment state are committed atomically only after the full increment is accepted. Rejected attempts roll back the transaction before cutback.
Detailed assumptions, parameters, consistent tangents, output fields, tests, and benchmarks are listed in the scientific function reference.
Result locations and recovery¶
Result meaning includes both the variable and its location:
| Location | Typical quantities | Interpretation |
|---|---|---|
| Nodal / point data | U, T, selected recovered presentation fields |
Values associated with finite-element interpolation nodes |
| Cell data | S, E, MISES, SENER for standard projected output |
One explicitly projected or averaged value per cell |
| Integration points | S, PE, PEEQ, CE, CEEQ, constitutive state |
Primary nonlinear material evidence before nodal smoothing |
| History | Reactions, energies, probes, resultants, iteration and time records | Scalar or small-vector evolution with an explicit abscissa |
Weighted cell recovery of an integration-point field is
This operation does not extrapolate to nodes, smooth across neighboring elements, or average across material boundaries. Presentation fields must not silently overwrite the constitutive evidence from which they were derived. See output variables and field semantics for the complete naming and processing contract.
Where detailed theory belongs¶
Every mature analysis procedure or material page should answer the same questions:
- What governing equation or constitutive relation is implemented?
- Which kinematic, dimensional, and material assumptions apply?
- Which integration and global-solution algorithm consumes it?
- Which state and output variables are available, and at what locations?
- Which combinations are supported or rejected?
- Which tests, benchmarks, and references support the implementation?
This structure keeps beginner examples concise while making the mathematical definition available when an engineer needs to inspect or cite it.