Quick Search

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.


Crevice Corrosion of Nickel with Electrode Deformation

This model exemplifies the basic principles of crevice corrosion and how a time-dependent study can be used to simulate the electrode deformation. The model is in 2D and the polarization data for the corrosion reaction is taken from a paper by Absulsalam and others. The model and the results are similar to a 1D model by Brackman and others. This model does not account for mass transport ...

Orange Battery

This tutorial example models the currents and the concentration of dissolved metal ions in a battery (corrosion cell) made from an orange and two metal nails. This type of battery is commonly used in chemistry lessons. Instead of an orange, lemons or potatoes can also be used.

Crevice Corrosion of Iron in an Acetic Acid/Sodium Acetate Solution

Mass transport limitations within thin crevices can often result in the local electrochemistry to differ significantly between the crevice opening (mouth) and end (tip), and as a result of the differences in local chemistry, corrosion may occur. This example models crevice corrosion of iron in an acetic acid/sodium acetate solution. The model reproduces the results of Walton.

Galvanic Corrosion of a Magnesium Alloy in Contact with Steel

Magnesium alloys are attractive alternatives as lightweight materials in various fields of engineering. Magnesium is however relatively non-noble and may suffer considerable galvanic corrosion when being used in conjunction with other metals, for instance when mounting an Mg alloy component using steel fasteners. This model example simulates a galvanic corrosion couple consisting of a magnesium ...

Galvanized Nail

This tutorial example serves as an introduction to the Corrosion Module and models the metal oxidation and oxygen reduction current densities on the surface of a galvanized nail, surrounded by a piece of wet wood, which acts as electrolyte. The protecting zinc layer on the nail is not fully covering, so that at the tip of the nail the underlaying iron surface is exposed. First the electrolyte ...

Buoyancy–driven μPCR for DNA Amplification

Polymerase chain reaction (PCR) is one of the most effective methods in molecular biology, medical diagnostics, and biochemical engineering in amplifying a specific sequence of DNA. There has been a great interest in developing portable PCR-based lab-on-a-chip systems for point-of-care applications and one strategy that seems very promising is natural convection-based PCR. This model studies ...

Isolator Thickness Effect

The use of Aluminum (Al) isolator is a commonly employed mitigation strategy for galvanic corrosion between magnesium alloy (Mg) and mild steel (MS). The present model demonstrates the effect of Al isolator thickness on galvanic corrosion severity using a parametric study. The electrode kinetics is implemented here using the experimental polarization data available in literature.

Carbon Dioxide Corrosion in Steel Pipes

Carbon dioxide in aqueous solution is highly corrosive and can cause significant damage to steel designs. Such conditions arise in pipes used in a variety of applications, especially within the petrochemical industry. In this tutorial example, turbulent flows consisting of carbon dioxide and water corrode the steel surface of pipes. The corrosion is influenced by the temperature and pH. This ...

Anode Film Resistance Effect on Cathodic Protection

This model exemplifies how the rate of steel corrosion in an oil platform increases over time due to build-up of a resistive film on the sacrificial anodes, formed by reaction products. The model also includes secondary current distribution electrode kinetics on the protected steel structure, defining simultaneous metal dissolution and oxygen reduction (mixed potential).

Corrosion Protection of Multiple Oil Platforms

This example extends the corrosion protection system analysis of the single oil platform example by modeling the influence of multiple oil platforms placed in an array. The use of the Current Distribution on Edges, BEM interface significantly reduces the problem size and computational time by modeling all electrodes as cylinders along the edges of a wireframe geometry.