Application Gallery

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.

Micromixer - Cluster Version

This example studies a laminar static micromixer with two parallel sets of split-reshape-recombine mixing elements. The mixer works through lamination of the streams without any moving parts and the mixing is obtained through diffusion. The purpose of this model is to demonstrate how to access the cluster computing functionality in COMSOL from COMSOL Desktop and use it to submit a batch job to a ...

Thin-Film Resistance

In modeling of transport by diffusion or conduction in thin layers, we often encounter large differences in dimensions of the different domains in a model. If the modeled structure is a so-called sandwich structure, we can replace the thinnest geometrical layers with a thin layer approximation, provided that the difference in thickness is very large. This method can be used in many ...

Terminal Falling Velocity of a Sand Grain

The first stop for polluted water entering a water work is normally a large tank, where large particles are left to settle. Generally, gravity settling is an economical method of separating particles. If the fluid in the tank is moving at a controlled low velocity, the particles can be sorted in separate containers according to the time it takes for them reach the bottom. This model simulates ...

Electrical Signals in a Heart

Modeling the electrical activity in cardiac tissue is an important step in understanding the patterns of contractions and dilations in the heart. The heart produces rhythmic electrical pulses, which trigger the mechanical contractions of the muscle. A number of heart conditions involve an elevated risk of re-entry of the signals. This means that the normal steady pulse is disturbed, a severe and ...

Loaded Spring - Using Global Equations to Satisfy Constraints

Global equations are a way of adding an additional equation to a model. A global equation can be used to describe a load, constraint, material property, or anything else in the model that has a uniquely definable solution. In this example, a structural mechanics model of a spring is augmented by a global equation which solves for the load to achieve a desired spring displacement.

Thin-Layer Diffusion

This tutorial model demonstrates the use of brick and prism meshes to mesh thin 3D structures. An identity boundary condition makes sure that the concentration is the same across the interface between the two geometries. Connecting two different mesh types is a good way for saving memory in geometries with large aspect ratios. In this example, the curved geometry requires greater resolution ...

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

Effective Diffusivity in Porous Materials

Transport through porous structures is usually treated using simplified homogeneous models with effective transport properties. This is in most cases a necessity, since the typical dimensions of the pores and particles making up the porous structure are several orders of magnitude smaller than the size of the domain that is to be modeled. This model introduces the concept of effective ...

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

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.