jorgensd / dolfinx-tutorial

A reimplementation of the Springer book: https://github.com/hplgit/fenics-tutorial/, covering new topics as well as transitioning from dolfin to dolfinx
https://jorgensd.github.io/dolfinx-tutorial/
114 stars 64 forks source link

Issue on page /chapter2/hyperelasticity.html #223

Open 127rifat opened 1 month ago

127rifat commented 1 month ago

It would helpful to include the functional form and weak form derivation for the hyperelastic beam problem example.

jorgensd commented 1 month ago

I would probably refer to: http://jsdokken.com/FEniCS23-tutorial/src/ufl_formulation.html#functionals-and-derivatives which goes through the functional version of linear elasticity.

127rifat commented 1 month ago

I was actually referring to the nonlinear hyperelasticity problem for deformation of a beam

jorgensd commented 1 month ago

I get that you want that included in this demo. However, the functional principle is the same for both linear and the non-linear problem:

  1. Formulate an energy functional
  2. Take it's first and second variation.