This example verifies\
\ the computed stress and the computed work using a simple spherical shell geometry\
\ and time-varying Neumann boundary condition applied on the inner boundary. To\
\ verify the computed stress, we use the law of Laplace, see<a href=\"#fn1\" class=\"\
footnote-ref\" id=\"fnref1\" role=\"doc-noteref\">1, to estimate\
\ the wall stress and compare it against the mean computed stress. For the work\
\ varification, we compute the external work analytically and compare it against\
\ the computed internal work.
To verify the stress, we use the law of Laplace\
\ to estimate the wall stress (wall tension).The <a href=\"https://en.wikipedia.org/wiki/Young%E2%80%93Laplace_equation\"\
law of Laplace can be used to describe the wall stress of a spherical shell\
\ in terms of the surface pressure applied on the inner boundary, see Figure <code\
\ class=\"interpreted-text\" role=\"numref\">fig-lol-setup. To estimate the\
\ wall tension, we consider the geometry at time <span class=\"math inline\">\\
(t = T\) with pressure <span class=\"math inline\">\(p(t=T) = p\)\
\ and radii <span class=\"math inline\">\(r(t=T) = r, R(t=T) = R\).
\n\
<div id=\"fig-lol-setup\">\n\n<img src=\"02_laplace/lawoflaplace_setup.png\"\
\ class=\"align-center\" style=\"width:6.94444in\" alt=\"\" />Deformation\
\ at time step <span class=\"math inline\">\(t=0\) and <span class=\"math\
\ inline\">\(t=T\).\n\n\n<h2 id=\"derivation-of-laplaces-law\"\
Derivation Of Laplace's Law\n
To derive Laplace's law we want to\
\ use the balance of forces. We assume that the center of the spherical shell is\
\ the origin and we denote the inner radius of the deformed geometry by <span class=\"\
math inline\">\(r\) and the outer radius by <span class=\"math inline\"\
\(R\) with <span class=\"math inline\">\(R > r\), see figure\
\ <code class=\"interpreted-text\" role=\"numref\">fig-lol-geometry.
By <span class=\"math inline\">\\
(h\) we denote the wall thickness which is given by <span class=\"math inline\"\
\(h = R - r\). Next, we clip the geometry using the x-y-plane as a clipping\
\ plane and obtain two equally sized shells, see figure <code class=\"interpreted-text\"\
\ role=\"numref\">fig-lol-forces.
The\
\ force vector acting on the inner surface is given in <a href=\"https://en.wikipedia.org/wiki/Spherical_coordinate_system\"\
spherical coordinates by
with <span class=\"\
math inline\">\(\theta \in [0, \pi]\) and <span class=\"math inline\"\
\(\varphi \in [0, 2 \pi]\). The components of the total force vector\
\ <span class=\"math inline\">\(\mathbf{F}^{tot}\) are
with\
\ <span class=\"math inline\">\(\theta \in (0, \frac{\pi}{2})\) since\
\ we only integrate over one half of the shell.
\n
For the derivation of Laplace's\
\ law we approximate the wall stress <span class=\"math inline\">\(\sigma\)\
\ by its mean value <span class=\"math inline\">\(\bar{\sigma}\), see\
\ figure <code class=\"interpreted-text\" role=\"numref\">fig-lol-forces.\
\ Since the geometry and the acting forces are symmetric, the tangential stress\
\ in any direction must be the same and there will be zero shear stress. Due to\
\ the assumption, the mean wall stress at the cut face just acts just in z-direction,\
\ thus we have <span class=\"math inline\">\(\bar{\sigma} \cdot \mathbf{e}_x\
\ = 0\) and <span class=\"math inline\">\(\bar{\sigma} \cdot \mathbf{e}_y\
\ = 0\). The components of the total wall stress vector <span class=\"math\
\ inline\">\(\bar{\sigma}^{tot}\) are
with <span class=\"math inline\">\(\sigma_W := \bar{\sigma}\
\ \cdot \mathbf{e}_z\). From equations <code class=\"interpreted-text\"\
\ role=\"eq\">equ-lol-totforcevec and <code class=\"interpreted-text\" role=\"\
eq\">equ-lol-totstensionvec we have