Main Content

# Structural Mechanics

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

In this workflow, you can only specify and store parameters belonging to structural analysis. To store all physical parameters for structural, thermal, and electromagnetic analyses, and for ease of switching between analyses types, use Unified Modeling. For help migrating your existing code to the unified finite element workflow, see Migration from Domain-Specific to Unified Workflow.

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 (Since R2019b) `solve` Solve structural analysis, heat transfer, or electromagnetic analysis problem `assembleFEMatrices` Assemble finite element matrices `reduce` Reduce structural or thermal model (Since R2019b) `reconstructSolution` Recover full-model transient solution from reduced-order model (ROM) (Since R2019b) `linearize` Linearize structural or thermal model (Since R2021b) `linearizeInput` Specify inputs to linearized model (Since R2021b) `linearizeOutput` Specify outputs of linearized model (Since R2021b)
 `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 (Since R2021a)
 `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 (Since R2022b)

## Objects

 `StructuralModel` Structural model object `ReducedStructuralModel` Reduced-order structural model results (Since R2019b) `StaticStructuralResults` Static structural solution and derived quantities `TransientStructuralResults` Transient structural solution and derived quantities `ModalStructuralResults` Modal structural solution `FrequencyStructuralResults` Frequency response structural solution and derived quantities (Since R2019b)

## Properties

 StructuralMaterialAssignment Properties Structural material property assignments StructuralDampingAssignment Properties Damping assignment for a structural analysis model StructuralSEIAssignment Properties Superelement interface assignment for structural model (Since R2019b) 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 (Since R2021a)