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.


Quadrupole Lens

Just like optical lenses focus light, electric and magnetic lenses can focus beams of charged particles. Systems of magnetic quadrupole lenses find a common use in focusing both ion and particle beams in accelerators at nuclear and particle physics centers. This model shows the path of ions going through three consecutive magnetic quadrupole lenses. The model also takes fringing fields ...

Magnetotellurics

Magnetotellurics is a method for estimating the resistivity profile of the Earth's subsurface using the natural electromagnetic source provided by the ionosphere. This model was defined by Zhdanov et al. in a study published in 1997. In this article, various scientific groups compared software performance on the same models. This is the model called COMMEMI-3D-2, which has become one of the ...

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.

Axial Homopolar Induction Bearing in 3D

This model illustrates the working principle of an axial homopolar induction bearing. An electrically conducting rotor rotating in a magnetic field produced by a permanent magnets induces eddy currents on the conducting rotor. The eddy currents, in turn, produce a magnetic field that opposes the magnetic fields by the magnets and induces a force that opposes the motion of the rotor. The axial ...

Magnetic Stiffness of an Axial Magnetic Bearing in 3D

The model illustrate the technique to calculate the magnetic stiffness in a 3D geometry of a permanent magnet axial magnetic bearing. The *Magnetic Fields* physics is used to model the bearing and compute the magnetic forces. The *Deformed Geometry* and *Sensitivity* physics are used to compute the magnetic stiffness.

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

Thin Low Permittivity Gap Comparison

The thin low permittivity gap boundary condition is meant to approximate a thin layer of material with low relative permittivity compared to its surroundings. This boundary condition is available for electrostatic field modeling. This example compares the thin low permittivity gap boundary condition to a full-fidelity model and discusses the range of applicability of this boundary condition.

Tunable MEMS Capacitor

In an electrostatically tunable parallel plate capacitor, the distance between the two plates can be modified by a spring, as the applied voltage changes. For a given voltage difference between the plates, the distance of the two plates can be computed, if the characteristics of the spring are known. Knowledge of this means that the distance between the plates can be tuned via the spring. ...

Quadrupole Mass Filter

A quadrupole mass filter (QMF) is a key component of a modern mass spectrometer. A QMF uses direct current (DC) and alternating current (AC) electric fields to analyze positive or negative ions by mass to charge ratio. A QMF consists of 4 parallel rods spaced equidistantly, the ratio of the rod radius to the radius of the inscribed circle is 1.148. Opposite pairs of rods are electrically ...

Linear Magnetic Gear

In this model, a linear magnetic gear system with a gear ratio of 11:4 is modeled. The liner magnetic gear is assumed to be infinitely long with the modular structure that is repeating on either side. Only a single modular section is modeled by using the customized linear periodic boundary condition. Both the low speed and the high speed armatures (rotors) consist of permanent magnets and back ...