# Structural Mechanics

Solve linear static, transient, modal analysis, and frequency response problems

With structural analysis, you can predict how components behave under loading, vibration, and other physical effects. This helps you design robust mechanical components by validating designs through simulation and reducing the need for physical testing.

The toolbox lets you perform linear static analysis, transient analysis, modal analysis, and frequency response analysis. A typical programmatic workflow for solving a structural problem includes these steps:

• Create a special structural analysis container for a solid (3-D), plane stress, or plane strain model.

• Define 2-D or 3-D geometry and mesh it.

• Assign structural properties of the material, such as Young's modulus, Poisson's ratio, and mass density.

• Specify a damping model and its values for a dynamic problem.

• Specify gravitational acceleration as a body load.

• Specify boundary loads and constraints.

• Specify initial displacement and velocity for a dynamic problem.

• Solve the problem and plot results, such as displacement, velocity, acceleration, stress, strain, von Mises stress, principal stress and strain.

• Approximate dynamic characteristics of a structural model by using reduced order modeling (ROM).

## Functions

expand all

 `createpde` Create model `structuralProperties` Assign structural properties of material for structural model `structuralDamping` Specify damping parameters for transient or frequency response structural model `structuralBodyLoad` Specify body load for structural model `structuralBoundaryLoad` Specify boundary loads for structural model `structuralBC` Specify boundary conditions for structural model `structuralIC` Set initial conditions for a transient structural model `structuralSEInterface` Specify structural superelement interface for component mode synthesis `solve` Solve heat transfer, structural analysis, or electromagnetic analysis problem `assembleFEMatrices` Assemble finite element matrices `reduce` Reduce structural or thermal model `reconstructSolution` Recover full-model transient solution from reduced-order model (ROM) `linearize` Linearize structural or thermal model `linearizeInput` Specify inputs to linearized model `linearizeOutput` Specify outputs of linearized model
 `evaluateStress` Evaluate stress for dynamic structural analysis problem `evaluateStrain` Evaluate strain for dynamic structural analysis problem `evaluateVonMisesStress` Evaluate von Mises stress for dynamic structural analysis problem `evaluateReaction` Evaluate reaction forces on boundary `evaluatePrincipalStress` Evaluate principal stress at nodal locations `evaluatePrincipalStrain` Evaluate principal strain at nodal locations
 `interpolateDisplacement` Interpolate displacement at arbitrary spatial locations `interpolateVelocity` Interpolate velocity at arbitrary spatial locations for all time or frequency steps for dynamic structural model `interpolateAcceleration` Interpolate acceleration at arbitrary spatial locations for all time or frequency steps for dynamic structural model `interpolateStress` Interpolate stress at arbitrary spatial locations `interpolateStrain` Interpolate strain at arbitrary spatial locations `interpolateVonMisesStress` Interpolate von Mises stress at arbitrary spatial locations
 `pdeplot` Plot solution or mesh for 2-D problem `pdeplot3D` Plot solution or surface mesh for 3-D problem `pdegplot` Plot PDE geometry `pdemesh` Plot PDE mesh `pdeviz` Create and plot PDE visualization object
 `findStructuralProperties` Find structural material properties assigned to geometric region `findStructuralDamping` Find damping model assigned to structural dynamics model `findStructuralBC` Find structural boundary conditions and boundary loads assigned to geometric region `findStructuralIC` Find initial displacement and velocity assigned to geometric region `findBodyLoad` Find body load assigned to geometric region

## Live Editor Tasks

 Visualize PDE Results Create and explore visualizations of PDE results in the Live Editor

## Objects

 `StructuralModel` Structural model object `ReducedStructuralModel` Reduced-order structural model results `StaticStructuralResults` Static structural solution and its derived quantities `TransientStructuralResults` Transient structural solution and its derived quantities `ModalStructuralResults` Structural modal analysis solution `FrequencyStructuralResults` Frequency response structural solution and its derived quantities

## Properties

 StructuralMaterialAssignment Properties Structural material property assignments StructuralDampingAssignment Properties Damping assignment for a structural analysis model StructuralSEIAssignment Properties Superelement interface assignment for structural model BodyLoadAssignment Properties Body load assignments StructuralBC Properties Boundary condition or boundary load for structural analysis model GeometricStructuralICs Properties Initial displacement and velocity over a region NodalStructuralICs Properties Initial displacement and velocity at mesh nodes PDESolverOptions Properties Algorithm options for solvers PDEVisualization Properties PDE visualization of mesh and nodal results