Interesting paper by @jedbrown et al.

https://doi.org/10.48550/arXiv.2401.13196

For computational mechanics/physics, if you code by just punching in the equations from the textbooks directly, the physics should work, but computationally the way you evaluate the quantities may be unstable. This paper lists some recipes to avoid these.

Mostly small strain problem, but still feels icky to leave in.

#FiniteElementMethod #FiniteElementAnalysis

#FEBio @mofem @likask #Ferrite @koehlerson

Stable numerics for finite-strain elasticity

A backward stable numerical calculation of a function with condition number $κ$ will have a relative accuracy of $κε_{\text{machine}}$. Standard formulations and software implementations of finite-strain elastic materials models make use of the deformation gradient $\boldsymbol F = I + \partial \boldsymbol u/\partial \boldsymbol X$ and Cauchy-Green tensors. These formulations are not numerically stable, leading to loss of several digits of accuracy when used in the small strain regime, and often precluding the use of single precision floating point arithmetic. We trace the source of this instability to specific points of numerical cancellation, interpretable as ill-conditioned steps. We show how to compute various strain measures in a stable way and how to transform common constitutive models to their stable representations, formulated in either initial or current configuration. The stable formulations all provide accuracy of order $ε_{\text{machine}}$. In many cases, the stable formulations have elegant representations in terms of appropriate strain measures and offer geometric intuition that is lacking in their standard representation. We show that algorithmic differentiation can stably compute stresses so long as the strain energy is expressed stably, and give principles for stable computation that can be applied to inelastic materials.

arXiv.org
GitHub - febiosoftware/FEBio.jl

Contribute to febiosoftware/FEBio.jl development by creating an account on GitHub.

GitHub

Sneak peek at my #JuliaLang wrapper for #FEBio, an advanced #FiniteElement solver for #ComputationalMechanics and #Biomechanics

More on FEBio here:
https://febio.org/
https://github.com/febiosoftware/FEBio

FEBio Software Suite

Saw a paper on a soft robotic star thing, and had to check. Yep I can confirm, it looks like it can grab things.

Paper: https://doi.org/10.1002/aisy.202200435

#opensource #FiniteElementAnalysis

Here is a link to my fully parameterized implemention with #FEBio + #GIBBON: https://www.gibboncode.org/html/DEMO_febio_0085_soft_robotic_star_01.html

Indentation with a twist.

The rigid ball pushes into the rubber-like hyperelastic cube while also spinning. Friction then transfers torsional forces to the cube as well.

#opensource #GIBBON #FEBio #FiniteElementAnalysis
https://www.gibboncode.org/html/DEMO_febio_0028_sphere_indentation_friction_twist.html

DEMO_febio_0028_sphere_indentation_friction_twist

Twisting a hyperelastic beam. Simulated using #FEBio and #GIBBON.

#opensource implementation:
https://www.gibboncode.org/html/DEMO_febio_0004_beam_twist.html

DEMO_febio_0004_beam_twist

Sphere-bar indentation and sliding modelling with #FEBio and #GIBBBON

#opensource implementation: https://www.gibboncode.org/html/DEMO_febio_0007_sphere_sliding.html

DEMO_febio_0007_sphere_sliding