local_frame#
module opensg.utils.shell
- opensg.utils.shell.local_frame(mesh)#
Compute local orthonormal frame for shell elements.
This function computes an orthonormal frame (e1, e2, e3) at each point of the mesh, where: - e1 is the first tangent vector - e2 is the second tangent vector - e3 is the normal vector
- Parameters:
mesh (dolfinx.mesh.Mesh) – Mesh object
- Returns:
tuple – Three ufl.Vector objects (e1, e2, e3) forming the local frame