-
Notifications
You must be signed in to change notification settings - Fork 9
Changes on the linear-elasticity problem simulation using PSYDAC. #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ArasuCandassamy
wants to merge
14
commits into
master
Choose a base branch
from
linear-elasticity-fixes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
861b858
Commit changes on the linear-elasticity problem simulation using PSYDAC.
ArasuCandassamy a991a56
clean up linear-elasticity-v2.ipynb.
ArasuCandassamy e9a970f
Correct comments in the code
ArasuCandassamy 1d0b4eb
Merge branch 'master' into linear-elasticity-fixes
yguclu ecf74b4
Bug correction on notebooks. Replace the introduction page by a Markd…
ArasuCandassamy 8e59485
Merge remote-tracking branch 'origin/linear-elasticity-fixes' into li…
ArasuCandassamy b98c4c6
Fix inline math in linear-elasticity-intro.md
yguclu 999d634
Provide a more general description of the PDE and clarify notations a…
ArasuCandassamy b3bc3a0
Cleaning notebooks
ArasuCandassamy 4362dd3
Apply suggestions from code review
yguclu 97b81f8
Apply suggestions from code review
yguclu c91f80e
Solving formatting issues
ArasuCandassamy 9b814ef
Solving formatting issues
ArasuCandassamy a4a3ab8
Cleaning notebooks
ArasuCandassamy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,137 @@ | ||
| # Linear Elasticity | ||
|
|
||
| ## The PDE problem | ||
| The governing equations for small elastic deformations of a body $\Omega$ can be expressed as: | ||
|
|
||
| $$ | ||
| \begin{aligned} | ||
| -\nabla \cdot \sigma(u) &= f & \text{in } \Omega \\ | ||
| \sigma(u) &= C : \epsilon(u) & \text{in } \Omega \\ | ||
| \end{aligned} | ||
| $$ | ||
|
|
||
| where : | ||
| - $\Omega$ is the domain of interest, | ||
| - $u$ is the displacement vector field, | ||
| - $\sigma(u)$ is a second-order symmetric tensor, called stress tensor, | ||
| - $f$ represents the load vector field (force per unit volume), | ||
| <!-- $\kappa$ and $\mu$ are Lamé's elasticity parameters for the material, $I$ denotes the identity tensor, --> | ||
| - $\epsilon(u)$ is a second-order symmetric tensor, called strain tensor and by definition $\epsilon(u) := \frac{1}{2}(\nabla u + (\nabla u)^T)$. | ||
| - $C$ is the elasticity tensor, which relates stress and strain. | ||
|
|
||
| Then, the strong formulation of linear elasticity is : | ||
| Find $u \in V$ such that | ||
|
|
||
| $$ | ||
| \begin{aligned} | ||
| -\nabla \cdot \sigma (u) &= f & \text{in } & \Omega \\ | ||
| u &= 0 & \text{on } & \partial \Omega_D \\ | ||
| \sigma(u) \cdot n &= g_T & \text{on } & \partial \Omega_T | ||
| \end{aligned} | ||
| $$ | ||
|
|
||
| where : | ||
| - $V = \{ v \in (H^1(\Omega))^3 : v = 0 \text{ on } \partial \Omega_D \}$, | ||
|
|
||
| - $g_T$ is the traction vector on the part $\partial \Omega_T$ of the boundary, | ||
|
|
||
| - $n$ is the outward normal vector on the boundary $\partial \Omega$, | ||
|
|
||
| - $\partial \Omega_D \cap \partial \Omega_T = \emptyset$ and $\partial \Omega = \partial \Omega_D \cup \partial \Omega_T$. | ||
| - $\partial \Omega_D$ is the Dirichlet boundary condition where the displacement is fixed to zero, and $\partial \Omega_T$ is the Neumann boundary condition where the traction is prescribed. | ||
|
|
||
| ## The Variational Formulation | ||
| The variational formulation of the linear elasticity equations involves forming the inner product of the PDE with a vector test function $ v \in V $ and integrating over the domain $ \Omega $. This yields: | ||
|
|
||
| $$ | ||
| \int_{\Omega} - \nabla \cdot \sigma(u) \cdot v \, \mathrm{d} x = \int_{\Omega} f \cdot v \, \mathrm{d} x | ||
| $$ | ||
|
|
||
| Integrating the term $ \nabla \cdot \sigma(u) \cdot v $ by parts, considering boundary conditions, we obtain: | ||
yguclu marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| $$ | ||
| \int_{\Omega} \sigma(u) : \nabla v \, \mathrm{d} x = \int_{\Omega} f \cdot v \, \mathrm{d} x + \int_{\partial \Omega_T} g_T \cdot v \, \mathrm{d} s | ||
| $$ | ||
|
|
||
| By using the symmetry of the stress tensor $ \sigma $ and its definition from $(2)$, we can notice that : | ||
yguclu marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| $$ | ||
| \begin{aligned} | ||
| \int_{\Omega} \sigma(u) : \nabla v \, \mathrm{d} x &= \int_{\Omega} \sigma(u) : \epsilon(v) \, \mathrm{d} x = \int_{\Omega} C : \epsilon(u) : \epsilon(v) \, \mathrm{d} x \\ &= \int_{\Omega} \epsilon(u) : C : \epsilon(v) \, \mathrm{d} x | ||
| \end{aligned} | ||
| $$ | ||
|
|
||
| This leads to the following variational formulation: | ||
|
|
||
| $$ | ||
| \boxed{ | ||
| \begin{aligned} | ||
| &\text{Find } u \in V \text{ such that:} \\ | ||
| &\qquad a(u, v) = L(v) \quad \forall v \in V | ||
| \end{aligned} | ||
| } | ||
| $$ | ||
|
|
||
| with | ||
|
|
||
| $$ | ||
| \begin{aligned} | ||
| &a : | ||
| \begin{cases} | ||
| V \times V \rightarrow \mathbb{R} \\ | ||
| (u, v) \longmapsto \int_{\Omega} \epsilon(u) : C : \epsilon(v) \, \mathrm{d} x | ||
| \end{cases} \\[0.3cm] | ||
| &L : | ||
| \begin{cases} | ||
| V \rightarrow \mathbb{R} \\ | ||
| v \longmapsto \int_{\Omega} f \cdot v \, \mathrm{d} x + \int_{\partial \Omega_T} g_T \cdot v \, \mathrm{d} s | ||
| \end{cases} | ||
| \end{aligned} | ||
| $$ | ||
|
|
||
| ## Isotropic Materials | ||
| For isotropic materials, the elasticity tensor $C$ can be expressed in terms of the Lamé parameters $\lambda$ and $\mu$ as follows: | ||
|
|
||
| $$ | ||
| C := \lambda (\nabla \cdot u) I_3 + 2\mu \epsilon(u) | ||
| $$ | ||
| Then, the stress tensor can be expressed as: | ||
| $$\sigma(u) = \lambda (\nabla \cdot u) I_3 + 2\mu \epsilon(u)$$ | ||
|
|
||
|
|
||
| This leads to the variational formulation: | ||
| $$ | ||
yguclu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| \boxed{ | ||
| \begin{aligned} | ||
| &\text{Find } u \in V \text{ such that:} | ||
| \\ | ||
| &\qquad a(u, v) = L(v) \quad \forall v \in V | ||
| \end{aligned} | ||
| } | ||
| $$ | ||
|
|
||
| with | ||
| $$ | ||
yguclu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| \begin{aligned} | ||
| &a :\begin{cases} | ||
| V \times V \rightarrow \mathbb{R} \\ | ||
| (u, v) \longmapsto \int_{\Omega} \sigma(u) : \epsilon(v) \, \mathrm{d} x | ||
| \end{cases} \\[0.3cm] | ||
| &L :\begin{cases} | ||
| V \rightarrow \mathbb{R} \\ | ||
| v \longmapsto \int_{\Omega} f \cdot v \, \mathrm{d} x + \int_{\partial \Omega_T} g_T \cdot v \, \mathrm{d} s | ||
| \end{cases} | ||
| \end{aligned} | ||
| $$ | ||
|
|
||
| With this formulation, the problem is well-posed under the assumption that the material is isotropic and the boundary conditions are properly defined. While $\frac{\lambda}{\mu}$ is not too large (typically $\frac{\lambda}{\mu} \leq 10^4$), the problem remains well-posed numerically. However, as $\frac{\lambda}{\mu}$ increases, the problem can become ill-posed, leading to numerical difficulties in finding a solution. The first notebook of this chapter illustrates the case of isotropic materials with $\frac{\lambda}{\mu} \leq 10^4$ and the second notebook is trying to illustrate the case of isotropic materials with $\frac{\lambda}{\mu} > 10^4$. | ||
|
|
||
| <p align="center"> | ||
|
|
||
| | Material | $\lambda$ (GPa) | $\mu$ (GPa) | | ||
| |-----------|:--------------:|:-----------:| | ||
| | Steel | 120 | 80 | | ||
| | Concrete | 17 | 14 | | ||
| | Rubber | 0.16 | 0.00033 | | ||
|
|
||
| </p> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.