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.


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

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

Stress Corrosion

Steel pipelines are often subjected to complex stress/strain conditions in the oil and gas industry. Additionally, pipes are subjected to significant longitudinal strain due to soil movement. For the elastoplastic stress simulation, the _Solid Mechanics_ interface is used with the small-strain plasticity model. The _Secondary Current Distribution_ interface is used to model electrochemical ...

Atmospheric Corrosion

This model simulates atmospheric galvanic corrosion of an aluminum alloy in contact with steel. The electrolyte film thickness depends on the relative humidity of the surrounding air and the salt load density of NaCl crystals on the metal surface. Empirical expressions for the oxygen diffusivity and solubility are also included in the model in order to derive an expression for the limiting ...

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

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.

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

Stray Current Pipeline Corrosion

The impressed current cathodic protection (ICCP) system is often employed to mitigate corrosion of buried pipelines in the oil and gas industry. Metallic objects such as buried pipelines, which are present within the current flow of the ICCP system, may suffer from the stray current interactions leading to accelerated corrosion. This tutorial model demonstrates stray current corrosion of a ...

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.