Nonlinear Finite Element Analysis / Nonlinear structural dynamics
Energy diagnostics and time-step comparisons
Separate iteration error, time discretisation and physical dissipation. Check linear limits, nonlinear energy discrepancy and time-step refinement.
Lesson review: expert verification remains open
This lesson has received a full-context editorial review and a check of its technical explanations. Selected arithmetic has been checked separately. This is not independent engineering sign-off.
Checks needed for project use
- Assembled nonlinear dynamics, impact/contact, algorithmic energy, damping calibration and general integration stability. Only a smooth single-degree-of-freedom cubic oscillator is implemented.
- Actual browser zoom, screen-reader/additional-browser use and native-fullscreen raster quality remain unqualified.
These are educational models and exercises. Check their assumptions before using the results. The full technical content and every diagram have not yet been independently verified.
Concrete and steel calculations retain their stated first-generation Eurocode teaching basis. Use the standards and amendments specified for your project; do not mix generations without an appropriate design basis.
Read the lesson register and outstanding review notesWhat you should already know
- Read implicit time stepping and the effective tangent first.
Worked example
Build the first free-vibration corrector
Given
- m=1,000 kg; k=1 MN/m; a=10¹⁰ N/m³; c=0
- u0=0.02 m; v0=0; Δt=0.005 s
Find
Initial acceleration, predictors and the effective tangent at the predictor.
Free oscillator: m = 1,000 kg, k = 1 MN/m, force ku + au³. Initial movement 20 mm, initial velocity zero, duration 0.5 s. Average-acceleration Newmark uses Newton equilibrium at every accepted step. Dashed reference: independent RK4 with 6,400 steps.
Horizontal: time (s). Vertical: displacement (mm).
- Fine RK4 reference
- Newmark solution
- Integration status
- All steps accepted
- Time step (s)
- 0.005
- Initial energy (J)
- 600
- Final mechanical energy (J)
- 600.354
- Integrated viscous loss (J)
- 0
- Energy balance discrepancy (J)
- 0.353836
- Sampled displacement difference (mm)
- 3.27795
- Largest accepted force residual (N)
- < 10⁻⁵
The energy discrepancy includes integration and viscous-quadrature errors. It is not material dissipation. Coarse steps can satisfy force equilibrium while giving a poor phase history. The reference is a converged numerical comparison, not an exact nonlinear solution.
Use energy as a separate diagnostic
Mechanical energy is m v²/2+V(u). In the undamped continuous problem it is constant. With viscous damping, its reduction equals the integral of c v² over time. The laboratory reports mechanical energy, an accumulated trapezoidal estimate of viscous loss and the discrepancy from the initial energy.
For the undamped linear oscillator, average-acceleration Newmark preserves the quadratic mechanical energy up to solve tolerance and round-off. This property does not imply exact phase. For the cubic oscillator, the method generally does not conserve the nonlinear potential exactly. A non-zero discrepancy is numerical error, not material dissipation.
At the default nonlinear parameters, 100 steps over 0.5 s give final movement about 18.411187 mm and an energy discrepancy about 0.353836 J. Using 200 steps gives about 19.393462 mm and 0.016424 J. The difference in movement shows why equilibrium convergence alone cannot qualify the time history.
Compare independent integrations at matching times
The reference uses classical fourth-order Runge–Kutta on the first-order displacement/velocity system with 6,400 steps over the same duration. A further refinement to 12,800 steps is checked in the numerical tests. It is an independently integrated numerical reference, not an analytical nonlinear solution.
The displayed comparison evaluates reference movement at the Newmark sample times using linear interpolation between the fine reference samples. Maximum sampled displacement difference is reported. The drawing may omit fine reference points for visual efficiency, but the calculation uses the full reference array.
Time-step refinement tests compare the entire history, rather than only the final point. A final displacement can accidentally agree after different phase errors. The tests vary cubic stiffness and damping, halve time steps and verify reduction of the maximum sampled history error.
Extend the method with appropriate checks
For the linear undamped limit a=0, compare u=u0 cos(√(k/m)t) and the initial energy ku0²/2. Also check zero initial movement, damping and failed-corrector behaviour. Test residuals at accepted states using the physical equation, not merely the predictor formulas.
General nonlinear dynamics adds changing material state, constraints, contact and possibly nonsmooth impacts. Average-acceleration formulas alone do not establish stability or energy control for all those problems. Keep committed constitutive histories separate from time-step trials and review algorithmic energy behaviour for the selected physical model.
If damping is introduced mainly to aid convergence, report its energy and sensitivity. Avoid interpreting the resulting decay as measured structural damping without calibration. Applied force histories, base acceleration, mass distribution and units also need independent checks in a complete FE model.
Sources and specialist review
OpenSees Newmark documentation was inspected for the update relations and effective tangent. The residual sign and oscillator derivation are stated independently here. General nonlinear stability, energy-momentum methods, impact integration, damping calibration and multidegree-of-freedom validation remain open for specialist review. The reduced models and worked examples are original. Independent human specialist review remains open. Download the application routines and their mechanics dependency into the same folder to reproduce the calculations. These bounded checks do not qualify a model for design use.