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 Mass Spectrometer

The principle component of a quadrupole mass spectrometer is the mass filter which is used to filter ions with different charge to mass ratios. The quadrupole mass filter has been well studied over the years, Ref. 1 and the physics and optimal design are well understood. In a real quadrupole mass spectrometer, fringe fields exist at both the entrance and exit of the mass filter. These fringe ...

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

Ideal Cloak

This model demonstrates the use of optical tracing for studying optically large gradient-index structures with anisotropic optical properties. Additionally, the model introduces a smoothing technique for handling discontinuities of refractive index on curved surfaces, which are typical in conventional optical devices such as lenses.

Thermophoresis

When a temperature gradient in a gas exists, suspended particles will tend to move from regions of high temperature to low. The force which produces this effect is called the thermophoretic force. Gas molecules colliding with a particle from the hot side have a higher velocity than the cold side, which results in a net force towards cold areas. This effect can be exploited to create thermal ...

Laminar Static Particle Mixer Designer

In static mixers, a fluid is pumped through a pipe containing stationary mixing blades. This mixing technique is well suited for laminar flow mixing, because it generates only small pressure losses in this flow regime. When a fluid is pumped through the channel, the alternating directions of the cross-sectional blades mix the fluid as it passes along the length of the channel. The static mixing ...

Ion Range Benchmark

The Ion Range Benchmark model simulates the passage of energetic protons through silicon with both ionization losses and nuclear scattering. The initial energy of the protons is varied using a parametric sweep from 1 keV to 100 MeV. The average path length of the protons is compared to published values of the ion range under the continuous slowing down approximation (CSDA) as well as the ...

Ion Drift Velocity Benchmark

The drift velocity of Ar+ is calculated using a Monte Carlo simulation in which the elastic collisions of Argon ions with ambient neutrals are explicitly modeled. The model uses energy-dependent collision cross-section data from experiment. The average ion velocity values are consistent with experimental data over a wide range of reduced electric field magnitudes. This agreement suggests that ...

Rotating Galaxy

This tutorial model shows how to add customized particle-particle interaction forces. In this example the gravitational force between 2500 stars in a galaxy is modeled. The galaxy initially rotates as a rigid body, then begins to change shape due to gravitational forces.

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

Ion Funnel

An electrodynamic ion funnel provides an efficient means of transferring ions from regions of high pressure to high vacuum. The ion funnel can couple devices which generally operate at pressures of different orders of magnitude, such as ion mobility spectrometers and mass spectrometers, allowing mixtures of ionized gases to be separated and analyzed while minimizing losses. This model ...