Commit 2b571ff
authored
Fix stress_tensor formulation (#175)
* Fix stress_tensor quadrature
Fixes bug where all of quadrature points were not summed over properly for each basis function during the element-wise integration of the stress tensor. Also adds multiplication by relevant quadrature weights and the determinant of the jacobian.
* Fixing stress_tensor kernel formuation
Updated the stress tensor kernel to allign with Hooke's law for homogenous isotropic materials.
* Add volume correction in stress_tensor.jl1 parent a50f52a commit 2b571ff
1 file changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | | - | |
70 | | - | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
85 | | - | |
86 | | - | |
| 87 | + | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| |||
0 commit comments