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.


Diffraction Patterns

This example resembles the well-known 2-slit interference experiment often demonstrated in schools with water waves or sound. This model mimics the plane-wave excitation with two thin waveguides leading to slits in a screen, and it computes the diffraction pattern on the screen’s other side. This diffraction pattern is clearly visible. The main effect of quantization is that the numerical ...

An Integro-Partial Differential Equation

The heat distribution in a hollow pipe, whose ends are held at two different temperatures, is studied. The outside surface is assumed to be thermally isolated and the inner surfaces have radiation boundary conditions. The role of convection in the heat transfer is taken to be negligible. The temperature is assumed to be constant along the thickness of the pipe and rotational symmetry is also ...

Implementing a Point Source

This model solves the Poisson equation on a unit disk with a point source in the origin. The easiest way to describe a point source in COMSOL Multiphysics is by using an extra weak term. To obtain the weak formulation of the general Poisson equation, we multiply it with a test function u_test and integrate over the domain. The mesh density is dense, close to the origin, so as to resolve the ...

Rock Fracture Flow

A potential flow model of fluid flow in a rock fracture uses the so-called Reynolds equation. It shows how to use experimental data interpolated to a function used in the equation.

Lorenz Attractor

A Lorenz attractor can be described by a system of ordinary differential equations: the Lorenz system. In the early 1960s, Lorenz discovered the chaotic behavior of this system for certain parameter values and initial conditions. The solution, when plotted as a phase space, resembles the figure eight. This example uses the Dormand-Prince explicit method for solving the ODEs and a Point ...

Electric Sensor

This is a model from electric impedance tomography, a method of imaging the interior permittivity distribution of a body by measuring current and voltage at the surface. This model demonstrates how the shape and placement of figures with different material properties inside a closed box can be determined with this non-invasive technique. Applying a potential difference on the boundaries of ...

The KdV Equation and Solitons

The Korteweg-de Vries (KdV) equation models water waves. It contrasts sharply to the Burgers equation, because it introduces no dissipation and the waves travel seemingly forever. Solitons have their primary practical application in optical fibers. Specifically, a fiber’s linear dispersion properties level out a wave while the nonlinear properties give a focusing effect. The result is a very ...

Process Control Using a PID Controller

This model shows how a flow model can be coupled to a process control mechanism. Controlling application parameters according to other application parameters is important within process engineering. Most control mechanisms use the data at a wall or an outlet to control inlet parameters. More accurate control can occur if you can control inlet parameters due to data found within a component ...

Marangoni Convection

Marangoni convection occurs when the surface tension of an interface (generally liquid-air) depends on the concentration of a species or on the temperature distribution. In the case of temperature dependence, the Marangoni effect is also called thermo-capillary convection. The Marangoni effect is of primary importance in the fields of welding, crystal growth and electron beam melting of ...

Eigenvalue Analysis of a Crankshaft

This model describes a modal analysis of a crankshaft. The pistons’ reciprocating movement is transferred to the crankshaft through connecting rods by means of crankshaft throws. The forces, torques, and bending moments, which are highly variable both in time and space, subject the crankshaft to very high and complex loading. The crankshaft design must therefore incorporate careful and ...