Model Gallery

The Model Gallery features COMSOL Multiphysics model files from a wide variety of application areas including the electrical, mechanical, fluid, and chemical disciplines. You can download ready-to-use models and step-by-step instructions for building the model, and use these as a starting point for your own modeling work. Use the Quick Search to find models relevant to your area of expertise, and login or create a COMSOL Access account that is associated with a valid COMSOL license to download the model files.

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

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

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

Buoyancy Flow in Free Fluids

This model couples the Navier Stokes equations and the heat transfer equations to examine density driven flow of free fluids. Here the fluid is in a square cavity with a heated wall. The buoyancy force is a Boussinesq term added to the Navier-Stokes equations. The equation is nondimensionalized, so the material coefficients are set up using Rayleigh and Prandtl numbers. The parametric solver ...

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.

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

Parameterized Busbar Geometry

This is a template MPH-file containing the physics interfaces and the parameterized geometry for the model Electrical Heating in a Busbar.

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.

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

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

Quick Search