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.


Rising Bubble

The level set method is well suited for problems with moving boundaries in which the geometry’s topology changes with time. A bubble of oil that travels up through water and finally merges with oil at the top causes this kind of topology change. For problems where the topology is unchanged as a function of time, as in free surface movement in a tank (no splashing) and impeller stirring, it is ...

Pipe Erosion due to Contaminant Particles

The _Particle Tracing for Fluid Flow_ interface is used to compute the erosion of a pipe bend. The amount of material lost is computed using different erosion models.

Gravity and Boundary Conditions

The influence of gravity on the flow pattern is often an important issue when modeling flow in fluids with variable density. You can account for this influence in the model equations by adding, to the momentum balances, the volume force. This model shows a simple example of the implementation of boundary conditions when volumetric forces are included in the momentum balances. This can be ...

Laminar Flow in a Baffled Stirred Mixer

This model exemplifies the use of the Rotating Machinery interface, which allows you to model moving rotating parts in, for example, stirred tanks, mixers, and pumps. The Rotating Machinery interface formulates the Navier-Stokes equations in a rotating coordinate system. Parts that are not rotated are expressed in the fixed material coordinate system. The rotating and fixed parts need to be ...

Optimizing a Thermal Process

A thermal processing scenario is modeled whereby two heaters raise the temperature of a gas flowing through a channel. The Optimization Module is used to find the heater power to maximize the outflow temperature, while maintaining a constraint on the peak temperature at the heaters themselves.

Sloshing Two-Phase Flow in an Automobile Fuel Tank

Sloshing occurs in the tanks of vehicles during rapid acceleration and braking. This can be significantly reduced by inserting internal baffles into the tanks, positioned in a way so that the amplitude of the sloshing oscillation is dampened. Simulation can help to estimate effective designs for the baffles. The model investigates the two-phase flow in a realistic tank geometry, while tracking ...

Two-Phase Flow Modeling of a Dense Suspension

Liquid-solid mixtures (suspensions) are important in a variety of industrial fields, such as oil and gas refinement, paper manufacturing, food processing, slurry transport, and wastewater treatment. Several different modeling approaches have been developed by the CFD community, ranging from discrete, particle-based methods to macroscopic, semi-empirical two-phase descriptions. This model ...

Bubble-induced Entrainment Between Stratified Liquid Layers

This model is a benchmark for three-phase flow commonly used in food processing, pharmaceutical industry, and chemical processing. The results are validated against data reported in the literature. A gas bubble rises through two layers of liquid, a lighter liquid resting on top of a heavier one. As the bubble travels from the heavier liquid, it entrains some of the heavier liquid in its wake ...

Water Purification Reactor

Water treatment basins are used in industrial-scale processes in order to remove bacteria or other contaminants, such as for making water safe to drink. The Water Treatment Basin application exemplifies the use of apps for modeling turbulent flow and material balances subject to chemical reactions. You can specify the dimensions and orientation of the basin, mixing baffles, and inlet and outlet ...

Non-Newtonian Flow

This model shows the influence of shear rate dependent viscosity on the flow of a linear polystyrene solution. For this type of flow, you can use the Carreau viscosity model. Due to rotational symmetry, it is possible to reduce the model dimensions from 3D to axisymmetric 2D.