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.


Optimization of a Tesla Microvalve

This model performs a topological optimization for a Tesla microvalve. A Tesla microvalve inhibits backwards flow using friction forces rather than moving parts. The design can be optimized by distributing a specific amount of material within the modeling domain. The goal is to maximize the ratio of the pressure drop for the forwards and backwards flow across the device.

Monopile with Dissolving Sacrificial Anodes

A monopile foundation is a large-diameter structural element that can be used to support structures like offshore wind turbines. This application exemplifies how the cathodic protection of a monopile decreases over time as the sacrificial anodes dissolve. The model can be used to evaluate secondary current distribution electrode kinetics on the protected steel structure by taking into account ...

Thermally Induced Creep

Creep is an inelastic time-dependent deformation which occurs when a material is subjected to stress at sufficiently high temperature, say 40% of the melting point or more. Experimental creep data (using constant stress and temperature) often display three different types of behavior for the creep strain rate as function of time: In the initial primary creep regime the creep strain rate ...

Cycle Counting in Fatigue Analysis - Benchmark

A benchmark model of the Rainflow counting algorithm compares results between ASTM and COMSOL fatigue module using a flat tensile test specimen. An extension is made for the cumulative damage calculation following the Palmgren-Miner model and results are compared with analytical expressions.

Truss Bridge Designer

The Truss Bridge Designer app is an example of how to design a simulation tool for a class of civil engineering structures, in this case a Pratt truss bridge. Such a bridge is characterized by the diagonal beams on each side of the bridge, which all slant down and in toward the center of the span. Because of this design, the diagonal beams are subjected only to tension, while the vertical beams, ...

Rolling Contact Fatigue in a Linear Guide

When a linear guide is loaded above the manufacturer's specification limit, one concern is whether the contact loads will introduce fatigue spalling. In this system analysis, the entire guide has been analyzed and the mostly damaging contact load has been identified to occur on a rail raceway. Since spalling is initiated by a fatigue crack on the subsurface level, a fatigue evaluation based on ...

Electric Shielding

Many applications involve simulating the electromagnetic behavior of relatively thin material in voluminous domains. To save computer memory and processing time, the thin materials can be treated differently by resolving them with 3D meshes. Here, the modeling domain is a box filled with air containing an electrode. The sides of the box are insulated while the top has a potential and the ...

Electrochemical Treatment of Tumors

This model incorporates the transport and electrolytic reaction in the treatment of tumor tissue. Oxygen evolution at the anode produces protons, which lowers the pH, while chlorine production also leads to lowered pH through the hydrolysis of chlorine. One effect of a low pH is the permanent destruction of haemoglobin in the tissue, resulting in the eradication of tumor tissue. This model ...

Stress Relaxation of a Viscoelastic Tube

This model studies the temperature effects on the viscoelastic stress relaxation in a long thick-walled cylinder. In particular, decay of the stresses under the influence of the temperature field during a period of two hours is studied. A four-term generalized Maxwell model represents the material.

Molecular Flow Through a Microcapillary

Computing molecular flows in arbitrary geometries produces complex integral equations that are very difficult to compute analytically. Analytic solutions are, therefore, only available for simple geometries. One of the earliest problems solved was that of gas flow through tubes of arbitrary length, which was first treated correctly by Clausing. Later, the integral expressions he derived were ...