| 1 |
/* |
| 2 |
* Advanced Simulation Library <http://asl.org.il> |
| 3 |
* |
| 4 |
* Copyright 2015 Avtech Scientific <http://avtechscientific.com> |
| 5 |
* |
| 6 |
* |
| 7 |
* This file is part of Advanced Simulation Library (ASL). |
| 8 |
* |
| 9 |
* ASL is free software: you can redistribute it and/or modify it |
| 10 |
* under the terms of the GNU Affero General Public License as |
| 11 |
* published by the Free Software Foundation, version 3 of the License. |
| 12 |
* |
| 13 |
* ASL is distributed in the hope that it will be useful, |
| 14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
* GNU Affero General Public License for more details. |
| 17 |
* |
| 18 |
* You should have received a copy of the GNU Affero General Public License |
| 19 |
* along with ASL. If not, see <http://www.gnu.org/licenses/>. |
| 20 |
* |
| 21 |
*/ |
| 22 |
|
| 23 |
|
| 24 |
/** |
| 25 |
\defgroup Elasticity Elasticity |
| 26 |
\ingroup Physics |
| 27 |
|
| 28 |
\section Theory Theory |
| 29 |
|
| 30 |
Equation of motion:\anchor eq_mothion |
| 31 |
\f[ |
| 32 |
\rho\ddot u_j =\nabla_i \sigma_{ij}, |
| 33 |
\f] |
| 34 |
|
| 35 |
where \f$ \vec u \f$ is the displacement vector, \f$ \sigma_{i,j} \f$ is the Cauchy stress |
| 36 |
tensor. The strain-displacement equation is: |
| 37 |
\f[ |
| 38 |
\varepsilon_{ij}=\frac{1}{2}\left( \nabla_i u_j + \nabla_j u_i \right) |
| 39 |
\f] |
| 40 |
strain tensor is related to the stress tensor by the following equation:\anchor eq_strain_stress |
| 41 |
\f[ |
| 42 |
\sigma_{ij}=C_{ijkl}\varepsilon_{kl}, |
| 43 |
\f] |
| 44 |
where \f$ C_{ijkl} \f$ is the stiffness tensor which has the following properties: |
| 45 |
\f[ |
| 46 |
C_{ijkl}=C_{klij}=C_{jikl}=C_{ijlk} |
| 47 |
\f] |
| 48 |
|
| 49 |
There are several different tensors used in the elasticity theory: |
| 50 |
- Deformation gradient tensor |
| 51 |
\f[ |
| 52 |
F_{ij} = \nabla_j u_i + \delta_{ij} |
| 53 |
\f] |
| 54 |
- Finite strain tensor |
| 55 |
\f[ |
| 56 |
E_{ij}=\frac{1}{2}\left( \nabla_i u_j + \nabla_j u_i + \nabla_i u_k \nabla_j u_k \right) |
| 57 |
\f] |
| 58 |
- Right Cauchy-Green deformation tensor |
| 59 |
\f[ |
| 60 |
C_{ij}= F_{ki}F_{kj}= \left( \nabla_i u_j + \nabla_j u_i + \nabla_i u_k \nabla_j u_k + \delta_{ij} \right) |
| 61 |
\f] |
| 62 |
|
| 63 |
|
| 64 |
\subsection IsotropicHomogenious Isotropic and homogeneous media |
| 65 |
|
| 66 |
In the case of isotropic homogeneous media the stiffness tensor is defined by |
| 67 |
two modules: \f$ K \f$ is the bulk modulus (or incompressibility) and \f$ \mu \f$ is the |
| 68 |
shear modulus (or rigidity). The corresponding expression is: |
| 69 |
\f[ |
| 70 |
C_{ijkl}=K \delta_{ij}\delta_{kl}+\mu\left(\delta_{ik}\delta_{jl}+ |
| 71 |
\delta_{il}\delta_{jk}- |
| 72 |
\frac{2}{3}\delta_{ij}\delta_{kl}\right) |
| 73 |
\f] |
| 74 |
\ref eq_strain_stress "Stress-strain relation" can be rewritten as follows:\anchor eq_strain_stress_isotrop |
| 75 |
\f[ |
| 76 |
\sigma_{ij}=\lambda\delta_{ij}\varepsilon_{kk}+2\mu\varepsilon_{ij}, |
| 77 |
\f] |
| 78 |
where \f$ \lambda\equiv K-2/3\mu \f$ is Lam\'e's first parameter. |
| 79 |
|
| 80 |
The media can be parametrized by \f$ v_p \f$ and \f$ v_s \f$ velocities: |
| 81 |
\f[ |
| 82 |
v_p=\sqrt{(\lambda+2\mu)/\rho},\;\; v_s=\sqrt{\mu/\rho}. |
| 83 |
\f] |
| 84 |
|
| 85 |
|
| 86 |
\ref eq_mothion "Equation of motion" can be simplified for an isotropic case: \anchor eq_mothion_isot |
| 87 |
\f[ |
| 88 |
\rho\ddot u_j =\nabla_j \lambda \nabla_k u_k+ \nabla_k \mu \nabla_k u_j+ |
| 89 |
\nabla_k \mu \nabla_j u_k, |
| 90 |
\f] |
| 91 |
|
| 92 |
In a homogeneous case it takes: \anchor eq_mothion_isot_hom |
| 93 |
\f[ |
| 94 |
\rho\ddot u_j =(\lambda+\mu)\nabla_j \nabla_k u_k+ \mu \Delta u_j |
| 95 |
\f] |
| 96 |
This equation is solved by following classes: |
| 97 |
asl::FDElasticity, asl::FDElasticity2 |
| 98 |
|
| 99 |
|
| 100 |
The potential energy density is: |
| 101 |
\f[ |
| 102 |
U=\frac{1}{2}\sigma_{ij}\varepsilon_{ij} |
| 103 |
\f] |
| 104 |
|
| 105 |
\subsection BoundarConditions Boundary Conditions |
| 106 |
|
| 107 |
Free surface BC with surface orientations \f$ \vec n \f$ is: |
| 108 |
\f[ |
| 109 |
\sigma_{ij} n_j = F_i |
| 110 |
\f] |
| 111 |
For the isotropic and inhomogeneous case substitution of the \ref eq_strain_stress_isotrop "strain-stress relation" |
| 112 |
results: |
| 113 |
\f[ |
| 114 |
\lambda n_i\nabla_k u_k+\mu n_j \left( \nabla_i u_j + \nabla_j u_i \right) = F_i, |
| 115 |
\f] |
| 116 |
|
| 117 |
\subsection Units Units |
| 118 |
|
| 119 |
\f[[\rho]=kg/m^3 \f] |
| 120 |
\f[[\sigma_{ij}]=\frac{kg}{ms^2}=Pa\f] |
| 121 |
\f[[\mu]=[K]=[\lambda]=Pa\f] |
| 122 |
\f[\left[\frac{\mu}{\rho}\right]= |
| 123 |
\left[\frac{K}{\rho}\right]= |
| 124 |
\left[\frac{\lambda}{\rho}\right]=\frac{m^2}{s^2}\f] |
| 125 |
|
| 126 |
*/ |
| 127 |
|
| 128 |
/** |
| 129 |
\class asl::FDElasticityIncompressibleStatic |
| 130 |
|
| 131 |
\f[ \rho\ddot u_j =(K+\mu/3)\nabla_j \nabla_k u_k+ \mu \Delta u_j \f] |
| 132 |
where |
| 133 |
- \f$K\f$ is the bulk modulus, |
| 134 |
- \f$\mu\f$ is the shear modulus, |
| 135 |
- \f$\vec u\f$ is a displacement vector field |
| 136 |
|
| 137 |
This implementation is aided to improve stability for incompressible materials. |
| 138 |
Let us reformulate the elasticity equation by the following way: |
| 139 |
\f[ \rho\ddot u_j =\mu (\Delta u_j - \nabla_j p), \f] |
| 140 |
\f[ p = -\frac{K+\mu/3}{\mu} \nabla_k u_k. \f] |
| 141 |
The second equation leads to an instability for low values of the Poisson ration (for nearly incompressible materials). |
| 142 |
Therefore the last equation we would like to replace by a relaxation one: |
| 143 |
\f[ \dot p = - w\left( \frac{K+\mu/3}{\mu} \nabla_k u_k + p\right), \f] |
| 144 |
where \f$ w \f$ is a relaxation parameter. |
| 145 |
*/ |
| 146 |
|