# Unified Modeling

The unified finite element model workflow lets you solve structural,
thermal, and electromagnetic problems and switch between the types of
problems. This workflow uses an `femodel`

object and its
properties to define the type of problem and all its parameters. This model
enables you to specify physical parameters for all three types of analyses,
and uses the parameters appropriate for the current analysis type.

A typical unified modeling workflow includes these steps:

Create an

`femodel`

container while specifying the analysis type and the geometry for a model.Mesh the geometry.

Specify physical parameters of the problem using familiar domain-specific terms.

Solve the problem to obtain results at nodal locations.

Optionally, interpolate results at arbitrary spatial locations.

Visualize results by using the

**Visualize PDE Results**Live Editor task or the plotting functions available in Partial Differential Equation Toolbox™.Switch the analysis type as needed to solve the new problem.

## Functions

## Live Editor Tasks

Visualize PDE Results | Create and explore visualizations of PDE results in the Live Editor (Since R2022b) |

## Objects

## Properties

PDESolverOptions Properties | Algorithm options for solvers |

PDEVisualization Properties | PDE visualization of mesh and nodal results (Since R2021a) |

## Topics

### Unified Workflow Basics

**Migration from Domain-Specific to Unified Workflow**

Migrate existing code for structural, thermal, and electromagnetic problems to a unified workflow.**Nonconstant Parameters of Finite Element Model**

Specify nonconstant parameters of a finite element model by using a function handle.**Rectangular, Triangular, Trapezoidal, and Harmonic Loads**

Use helper functions to model harmonic and step loads for a finite element model.

### Structural Mechanics

**Deflection Analysis of Bracket**

Analyze a bracket under an applied load and determine the maximal deflection by using the unified workflow.**Structural Dynamics of Tuning Fork**

Perform modal and transient analysis of a tuning fork.**Stress Concentration in Plate with Circular Hole**

Perform a 2-D plane-stress elasticity analysis.**Dynamics of Damped Cantilever Beam**

Include damping in the transient analysis of a simple cantilever beam.**Modal Superposition Method for Structural Dynamics Problem**

Use modal analysis results to compute the transient response of a thin 3-D plate under a harmonic load at the center.**Thermal Deflection of Bimetallic Beam**

Solve a coupled thermo-elasticity problem.**Vibration of Square Plate**

Calculate the vibration modes and frequencies of a 3-D simply supported, square, elastic plate.**Reduced-Order Modeling Technique for Beam with Point Load**

Eliminate degrees of freedom that are not on the boundaries of interest by using the Craig-Bampton ROM technique.**Modal and Frequency Response Analysis for Single Part of Kinova Gen3 Robotic Arm**

Analyze shoulder link of Kinova® Gen3 Ultra lightweight robot arm for deformations under applied pressure.

### Heat Transfer

**Heat Transfer in Block with Cavity**

Find the heat distribution in a block with a cavity by using the unified workflow.**Temperature Distribution in Heat Sink**

Perform a 3-D transient heat transfer analysis of a heat sink.**Heat Distribution in Circular Cylindrical Rod**

Analyze a 3-D axisymmetric model by using a 2-D model.**Heat Conduction in Multidomain Geometry with Nonuniform Heat Flux**

Perform a 3-D transient heat conduction analysis of a hollow sphere made of three different layers of material, subject to a nonuniform external heat flux.**Inhomogeneous Heat Equation on Square Domain**

Solve the heat equation with a source term.**Heat Transfer Problem with Temperature-Dependent Properties**

Solve the heat equation with a temperature-dependent thermal conductivity.**Heat Transfer in Orthotropic Material Plate due to Laser Beam**

Compute temperature distribution on a square plate made of orthotropic material with a heat flux generated by a laser beam.**Radiation Heat Transfer in Spherical Cavity**

This example shows the effect of surface-to-surface radiation in thermal analysis of nested annular spheres.

### Electromagnetics

**Electrostatic Potential in Air-Filled Frame**

Find the electrostatic potential in an air-filled annular quadrilateral frame by using the unified workflow.**Electrostatic Analysis of Transformer Bushing Insulator**

Compute an electric field intensity in a bushing insulator.**Magnetic Flux Density in Electromagnet**

Compute a magnetic flux density in a solenoid with an iron core using a 3-D model and a 2-D axisymmetric model.**Magnetic Flux Density in H-Shaped Magnet**

Compute a magnetic flux density in a ferromagnetic frame.**Magnetic Flux Density in H-Shaped Magnet with Nonlinear Relative Permeability**

Solve a 2-D nonlinear magnetostatic problem of a ferromagnetic frame with an H-shaped cavity by using the unified workflow.**Current Density Between Two Metallic Conductors**

Find the electric potential and the components of the current density between two circular metallic conductors.**Magnetic Field in Two-Pole Electric Motor**

Find the static magnetic field induced by the stator windings in a two-pole electric motor.**Scattering Problem**

Compute reflected waves from an object illuminated by incident waves.