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.


Tubular Permanent Magnet Generator

This tutorial 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 multiturn windings and an 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 of the ...

Magnetic Prospecting of Ore Deposits

Magnetic prospecting is a geological exploration method that is applicable to certain types of iron ore deposits, in particular those made up of magnetite and hematite. The method consists of measuring the magnetic anomalies (changes in the earth's magnetic field) due to the presence of magnetic ores. The Magnetic Prospecting app simulates the effect of a deposit of magnetic ore on the earth's ...

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

Topology Optimization of a Magnetic Circuit

This model presents an example of topology optimization of the magnetic circuit of a loudspeaker driver. Using topology optimization, we are able to find the shape of a nonlinear iron yoke in order to maximize its performance and, at the same time, minimize the weight such that it is smaller than the original design.

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. This model is featured and explained in much greater detail in the following ...

Electron Beam Diverging Due to Self Potential

When modeling the propagation of charged particle beams at high currents, the space charge force generated by the beam significantly affects the trajectories of the charged particles. Perturbations to these trajectories, in turn, affect the space charge distribution. The Charged Particle Tracing interface can use an iterative procedure to efficiently compute the strongly coupled particle ...

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.

Electric Shielding Comparison

The electric shielding boundary condition is meant to approximate a thin layer of highly conductive material that provides an additional current path tangential to a boundary. This example compares the electric shielding boundary condition to a full-fidelity model and discusses the range of applicability of this boundary condition.

Small-Signal Analysis of an Inductor

If an inductor's magnetic material is nonlinear, then the inductance depends on the current passing through it. This model consists of an inductor with a nonlinear magnetic core, where the small-signal inductance is simulated as a function of current. The model also investigates how the small-signal inductance depends on the DC current.

Iron Sphere in a 13.56 MHz Magnetic Field

An iron sphere is exposed to a spatially uniform, sinusoidally time-varying, background magnetic field. The frequency of the field is so high that the skin depth in the sphere is much smaller than the radius. At such high frequencies it is possible to model only the fields and induced currents on the surface of the sphere, thus avoiding the need for solving for the fields within the volume of ...