sdynpy.core.sdynpy_shape

Objects and procedures to handle operations on test or model shapes

Shapes are generally defined as a set of coordinates or degrees of freedom and the respective displacements at each of those degrees of freedom.

Copyright 2022 National Technology & Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certain rights in this software.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

Functions

concatenate_dofs(shape_arrays)

Combines the degrees of freedom from multiple shapes into one set of shapes

from_exodus(exo[, x_disp, y_disp, z_disp, ...])

Reads shape data from displacements in an Exodus file

from_imat_struct(imat_shp_struct)

Constructs a ShapeArray from an imat_shp class saved to a Matlab structure

from_unv(unv_data_dict[, combine])

Load ShapeArrays from universal file data from read_unv

mac(shape_1[, shape_2, node_id_map])

Computes the modal assurance critera between two sets of shapes

overlay_shapes(geometries, shapes[, ...])

Combines several shapes and geometries for comparitive visualization

rigid_body_check(geometry, rigid_shapes[, ...])

Performs rigid body checks, both looking at the complex plane and residuals

rigid_body_error(geometry, rigid_shapes, ...)

Computes rigid shape error based on geometries

rigid_body_fix_node_orientation(geometry, ...)

Solves for the best sensor orientation in the geometry to minimize the residual

shape_alignment(shape_1, shape_2[, node_id_map])

Computes if the shapes are aligned, or if one needs to be flipped

shape_array([coordinate, shape_matrix, ...])

Creates a coordinate array that specify degrees of freedom.

shape_comparison_table(shape_1, shape_2[, ...])

Generates a shape comparison table between two sets of shapes

Classes

ShapeArray(shape, ndof[, shape_type, ...])

Shape information specifying displacements at nodes.