Shell Cell Values
Main types
FerriteShells.ShellCellValues — Type
ShellCellValues(geom_interpol::Interpolation, func_interpol::Interpolation, quad_rule::AbstractQuadratureRule)A ShellCellValues object stores precomputed shape function data and reference geometry for a shell element. Works with Vec{3} node coordinates — no manual 2D projection required.
Shape function data (N, dNdξ, d2Ndξ2) are computed once at construction time from ip_shape and qr. The reference coordinates in the physical space then computed on the fly using the geometric interpolation ip_geo $x(\xi) = \sum N_{i}^\text{geo}(\xi) x_{i}$ and the solution field are interpolated via the shape functions ip_shape $u(\xi) = \sum N_{i}^\text{shape}(\xi) u_{i}$.
Arguments:
geom_interpol: an instance of anInterpolationwhich is used to interpolate the geometry. By default linear Lagrange interpolation is used.func_interpol: an instance of anInterpolationused to interpolate the approximated functionquad_rule: an instance of aAbstractQuadratureRule
Keyword arguments: The following keyword arguments are experimental and may change in future minor releases
mitc: an instant ofMITCto specify the shear treatment used in the element (defaultNoMITC)
Common methods:
reinit!computes the reference geometry ($A_1$, $A_2$, $G_3$, $B$, $\cdots$) by differentiating the coordinate map usingip_geo.
Applicable functions
The following functions are applicable ShellCellValues
Ferrite.reinit! — Function
reinit!(scv::ShellCellValues, x::AbstractVector, nf::NodeFrames)
reinit!(scv::ShellCellValues, cc::CellCache, nf::NodeFrames)
reinit!(scv::ShellCellValues, cell::AbstractCell, nf::NodeFrames)Update the ShellCellValues object for a cell with cell coordinates x and a NodeFrames object.
The reference surface measures such as the covariant basis are obtained from the NodeFrames object pre-computed initially from nf = NodeFrames(grid, ip_geo).
Note: For ShellCellValues where a shear treatment has been specified, the MITC data is also reinit!.
Ferrite.function_value — Method
function_value(scv, qp, u_e)Interpolate the displacement field at quadrature point qp from a flat DOF vector u_e. Works for both KL (3 DOFs/node: $[u_1,u_2,u_3,\cdots]$) and RM (5 DOFs/node: $[u_1,u_2,u_3,\varphi_1,\varphi_2,\cdots]$). The DOF stride is inferred from length(u_e) ÷ n_nodes; only the first 3 DOFs of each node (the displacement components) are used.