How can i derive interpolated value at nodal points? #1160
-
Dear user of scikit-fem! I am trying to perform solid FEA using scikit-FEM, and very thankfully, overcoming my challenges through this community!! If it is possible, could you let me know how to drive average values (like stress) at the nodes? Stress= And I would like to get the interpolated values at the nodal points, and average these to obtain nodal stress! Thanks for all the comments and help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I will describe a conceptual idea for postprocessing of the stress and later some code on how to solve it. Let In the continuous setting, the stress Let To obtain the discrete stress, we can solve the variational problem: find for every Discretizing the right hand side will involve interpolating the stress at the quadrature points. If you instead choose |
Beta Was this translation helpful? Give feedback.
I will describe a conceptual idea for postprocessing of the stress and later some code on how to solve it.
Let$V_h$ be the finite element space for the displacement $\underline{u}_h$ . This is a vector-valued finite element space,$\underline{u}_h$ .
for example,
ElementVector(ElementTriP1())
. If you have performed solid FEA you should already have the DOF vector corresponding toIn the continuous setting, the stress$\underline{\underline{S}}$ is defined by $\underline{\underline{S}}(\underline{u}) = 2 \mu \underline{\underline{E}}(\underline{u}) + \lambda \mathrm{tr} \underline{\underline{E}}(\underline{u}) \underline{\underline{I}}$ where $\underline{\underline{E}}(\underline{u}) = \fra…