The Application Gallery features COMSOL Multiphysics tutorial and demo app files pertinent to the electrical, mechanical, fluid, and chemical disciplines. You can download ready-to-use tutorial models and demo apps with step-by-step instructions for how to create them yourself. The examples in the gallery serve as a great starting point for your own simulation work.

Use the Quick Search to find tutorials and apps relevant to your area of expertise. Log in or create a COMSOL Access account that is associated with a valid COMSOL license to download the MPH-files.


Inductance of a Power Inductor

Power inductors are a central part of many low-frequency power applications. They are, for example, used in the switched power supply for the motherboard and all other components in a computer. Computer simulations are necessary in the design of such inductors. This model calculates the inductance from specified material parameters.

Busbar, AC Analysis

This is a busbar configuration with an AC analysis. The configuration is similar to the introductory tutorial in the book Introduction to COMSOL Multiphysics. However, two conductors are added to represent a more realistic case of magnetic fields surrounding the busbar. The results include Lorentz forces, induced currents, magnetic flux, and temperature.

Tubular Permanent Magnet Generator

This tutorial example shows how to model the tubular permanent magnet generator in 2D-axisymmetry. The generator consists of a modular stationary stator and moving/oscillating slider. The stator is made of three-phase multi-turn windings and iron core. The slider is made of permanent magnets and iron spacers. The open circuit voltage in the three-phase stator windings due to the periodic motion ...

Computing the Effect of Fringing Fields on Capacitance

A typical capacitor is composed of two conductive objects with a dielectric in between them. A voltage difference applied between these objects results in an electric field between them. This electric field exists not just directly between the conductive objects, but extends some distance away, this is known as a fringing field. To accurately predict the capacitance of a capacitor, the domain ...

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 ...

Touchscreen Simulator

Intended as a tool for early proof of concept in capacitive touchscreen device development, the Touchscreen Simulator app evaluates a simulated capacitance matrix as well as the electric field norm. The app computes the capacitance matrix of a touchscreen in the presence of a human finger phantom, where the position and orientation of the finger are controlled via input parameters. This ...

Comparison of Effective HB/BH Curve with Linear and Nonlinear Material Models

This example illustrates how to setup the Effective HB/BH Curve material model, introduced in COMSOL 5.2, for modeling the magnetic materials in frequency domain. The model also compares the results from Effective HB/BH Curve model with the linear and nonlinear HB/BH Curve material model in 2D.

External Material, AC/DC Module, General HB/BH relation

The AC/DC magnetic interfaces now support material models defined in external C code. A new way to specify user-defined material models is included in COMSOL Multiphysics version 5.2. You can now access external material functions, written in C code, which have been compiled into a shared library. By writing a wrapper function in C code, you can also use material functions written in another ...

Relativistic Diverging Electron Beam

When modeling the propagation of charged particle beams at high currents and relativistic speeds, the space charge and beam current create significant electric and magnetic forces that tend to expand and focus the beam, respectively. The *Charged Particle Tracing* interface uses an iterative procedure, in this example, to efficiently compute the strongly coupled particle trajectories and ...

Electromagnetic Force Calculation Using Virtual Work and Maxwell Stress Tensor

The model compare the electromagnetic force calculated by *virtual work* and *maxwell stress tensor* methods on the axial magntic bearing. The forces is evaluated by studying the effect of a small displacement on the electromagnetic energy of the system. This is done by using the *Magnetic Fields*, *Deformed Geometry* and *Sensitivity* physics interfaces.