The Application Gallery features COMSOL Multiphysics® tutorial and demo app files pertinent to the electrical, structural, acoustics, fluid, heat, and chemical disciplines. You can use these examples as a starting point for your own simulation work by downloading the tutorial model or demo app file and its accompanying instructions.

Search for tutorials and apps relevant to your area of expertise via the Quick Search feature. To download the MPH-files, log in or create a COMSOL Access account that is associated with a valid COMSOL license. Note that many of the examples featured here can also be accessed via the Application Libraries that are built into the COMSOL Multiphysics® software and available from the File menu.


Transient Modeling of a Capacitor in a Circuit

A transient model of a capacitor is solved in combination with an external electrical circuit. The finite element model of the capacitor is combined with a circuit model of a voltage source and a resistor. A step change in voltage is applied, and the transient current through the capacitor is computed and compared to the analytic result.

Axial Field Magnetic Gear in 3D

In this model, an axial field magnetic gear with a gear ratio of 5:2 is modeled. Both the high speed and low speed rotors consist of permanent magnet and back iron. The low speed rotor consists of five pole-pairs, while the high speed rotor consists of two pole pairs, and the stationary steel consists of seven pole-pairs. The *Rotating Machinery, Magnetic* interface is used to evaluate the ...

Generator Models in 2D and 3D

These models demonstrate how to setup a sector model of rotating machinery both in 2D and 3D using *Rotating Machinery, Magnetic* interface in COMSOL Multiphysics. The stator in these permanent magnet ac generator examples consists of stator winding backed by iron core. The rotor includes the permanent magnets and iron core. The 2D and 3D model of the generator are included here. In 2D, the ...

Electromagnetic Plunger

This is a transient model of an electromagnetic plunger consisting of a magnetic core, nonmagnetic guider, multi-turn coil, and magnetic plunger attached to the spring and damper at the far end. The electromagnetic force on the plunger due to the transient current in the coil is calculated using the Maxwell stress tensor method in *Magnetic Fields* physics. The electromagnetic force is then ...

Frequency Domain Modeling of a Capacitor

A capacitor with an applied sinusoidally time-varying voltage difference is modeled. A wide frequency range is considered and the impedance of the device is computed. Solver accuracy is addressed. The relationship between the frequency domain impedance and the steady-state capacitance and resistance of the device is discussed.

Integrated Square-Shaped Spiral Inductor

This model considers a square inductor that is used for LC bandpass filters in MEMS systems. The simulation calculates the self-inductance. The first step in the modeling is to compute the currents in the inductor. These currents are the source for the magnetic flux computations, carried out in a second step.

Magnetic Brake

A magnetic brake consists of a permanent magnet, which induces currents in a rotating copper disk. The resulting eddy currents interact with the magnetic flux to produce Lorentz forces and subsequently a braking torque. This 3D problem is solved using a stationary formulation for the electromagnetic field coupled to an ordinary differential equation for the rotational rigid body dynamics. ...

Inductive Heating of Copper Cylinder

The induced currents in a copper cylinder produce heat that in turn change the electrical conductivity. This means that the field propagation has to be solved simultaneously with the heat transfer through the cylinder and surrounding system. This model shows this coupling between eddy currents and heat transfer as a tutorial example.

Computing the Resistance of a Wire

Every electrical device has some resistance. That is, when a voltage difference is applied across any two terminals of the device, there will be a directly proportional current flow. This model demonstrates how to compute the resistance of a short section of copper wire. The convergence of the solution with respect to the mesh size is also studied.

Vector Hysteresis Modeling

This tutorial is a benchmark model that reproduces the Testing Electromagnetic Analysis Method (TEAM) Problem 32, which evaluates numerical methods for the simulation of anisotropic magnetic hysteresis. A hysteretic three-limbed laminated iron core is subject to a time-varying magnetic field generated by two coils. The Jiles-Atherton material model (available in the *Magnetic Fields* interface) ...