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.


Mechanics of a Golf Swing

How well you can strike a golf ball is not only determined by your muscle strength, but more importantly it is influenced by the mechanics of golf swing. The outcome of golf stroke is basically determined by the movement of the club head just prior to the impact with the ball. In this example, a multibody analysis of a golf swing is performed. Aim of the analysis is to maximize the club head ...

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

Energy Conservation with Thermoviscous Acoustics

This small tutorial model studies energy conservation in a small conceptual test setup. The model has an inlet and outlet and a Helmholtz resonator with a very narrow neck. The acoustics in the narrow neck are modeled with Thermoviscous Acoustic for a detailed analysis of the thermal and viscous losses. In order to study and verify energy conservation, the model compares the total dissipated ...

Viscoelastic Structural Damper

Viscoelastic dampers are frequently used to protect tall structures against vibration. The Viscoelastic Structural Damper application can perform the time-domain and frequency-domain analyses for a typical viscoelastic damper. The purpose of the app is to compute and analyze the important parameters of the damper such as the hysteresis loop and loss and storage moduli for a prescribed material ...

Linear Wave Retarder

Combinations of optical devices such as polarizers and wave retarders can be used to control the intensity and polarization of transmitted radiation. In this model, two linear polarizers with orthogonal transmission axes are used to reduce the intensity of a ray to zero. Then the intensity and polarization of the transmitted ray are analyzed when a quarter-wave or half-wave retarder is placed ...

Rotating Galaxy

This tutorial model shows how to add customized particle-particle interaction forces. In this example the gravitational force between 2500 stars in a galaxy is modeled. The galaxy initially rotates as a rigid body, then begins to change shape due to gravitational forces.

1D Isothermal Lithium-Air Battery

Rechargeable lithium-air batteries have recently attracted great interest mainly due to their high energy density. The theoretical value is about 11400 Wh/kg which is around 10 times greater than the lithium-ion batteries. In this tutorial, discharge of a lithium-air battery is simulated using the *Lithium-ion Battery* interface. The transport of oxygen (from external air) in the porous carbon ...

Doppler Shift

We have all noticed the Doppler effect when an ambulance passes by with its sirens blaring. The siren’s pitch suddenly drops the moment the ambulance starts moving away from you. Another effect you can notice is how the siren’s sound is very loud when nearby, but as soon as the ambulance has passed the sound becomes much quieter. This model simulates the acoustic Doppler effect by placing ...

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

Behavior of Power Law Fluids in a Mixer

This model shows how to use simulations to predict power numbers with Power Law fluids in a mixer. It simulates the behavior of flow in a flat bottom tank with a single four-blade pitched impeller. The flow was modeled as laminar and the frozen rotor approach was used to solve the discrete governing equations in one quarter of a baffled tank. The calculated power numbers were compared with ...