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.


Journal Bearing with Cavitation

A journal bearing is composed of an outer cylinder (bearing) wrapped around an inner rotating journal (shaft), with a lubricant separating the two. Under certain operating conditions, cavitation can occur between the bearing and the journal, leading to component damage and failure. Knowing the rate of cavitation is helpful when determining the maximum applied load. Cavitation occurs when the ...

Setting up Periodic Heat Loads for Simulation

This example exemplifies how to model applications subjected to periodic heat loads. A more detailed description of the phenomenon, and the modeling process, can be seen in the blog post "[Modeling a Periodic Heat Load](https://www.comsol.com/blogs/modeling-a-periodic-heat-load/)".

Slip Flow Benchmark

This model is a benchmark model for the Slip Flow interface. It is based on both analytic and numeric calculations. Air at atmospheric pressure flows through a conducting micro-channel connecting two reservoirs maintained at different temperatures. A flow between the two reservoirs develops as a result of thermal creep along the channel wall, which in turn produces a pressure gradient. At steady ...

Linear Magnetic Gear

In this model, a linear magnetic gear system with a gear ratio of 11:4 is modeled. The liner magnetic gear is assumed to be infinitely long with the modular structure that is repeating on either side. Only a single modular section is modeled by using the customized linear periodic boundary condition. Both the low speed and the high speed armatures (rotors) consist of permanent magnets and back ...

Thermal Bridges in Building Construction - 3D Structure Between Two Floors

This model studies the heat conduction in a building structure separating two floors from the external environment. Four materials with distinct thermal conductivities k compose the structure. The exterior and interior boundaries are facing environments respectively at 0°C and 20°C. The lowest temperatures on internal surfaces and the heat fluxes through each surface is compared with published ...

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.

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

Thermal Bridges in Building Construction - 2D Composite Structure

This example studies heat transfer in a composite two-dimensional structure. Four materials with distinct thermal conductivities k compose the structure. The top and bottom boundaries are facing environments respectively at 0°C and 20°C. The temperature distribution and the heat flux through the structure are compared with published data. This example corresponds to the case 2 described in ...

Split and Recombine Mixer Benchmark

This example models a split and recombine mixer channel in which a tracer fluid is introduced and mixed by multi-lamination. Diffusion is removed from the model using an extremely low diffusion coefficient so that any numerical diffusion can be studied in the lamination interfaces. The results compare well with Glatzel et al (Ref 1.) in both the lamination patterns and total pressure drop ...