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

Aquifer Characterization

This model uses the Optimization interface to solve the inverse problem for determining the spatially variable hydraulic conductivity on a discretized quadratic grid from a number of aquifer pump tests. Because the number of observations is smaller than the number of unknown parameters, a geostatistical penalty term is used to discriminate between solutions with comparable fitness values. ...

Natural convection in a closed cavity with mass conservation

Only fully compressible flow can guarantee the mass conservation in time in a closed cavity where the temperature increases. This is a simple proof of concept using the "gravity" option available in V5.2A.

Time-Domain Modeling of Dispersive Drude-Lorentz Media (RF)

This tutorial shows how to solve the full time-dependent wave equation in dispersive media such as plasmas and semiconductors. The 2D TM in-plane wave model solves for the vector potential from the wave equation and for an auxiliary electric polarization density from an ordinary differential equation. The geometry consists of a single dispersive slab with a sub-wavelength slit in it. Periodic ...

Snap Hook

This example simulates the insertion of a snap hook in its groove. Fasteners like this are common in the automotive industry, for example, in the control panel of a car. In this case it is important to know the force that must be applied in order to place the hook in the slot and also the force needed to remove it. From a numerical point of view, this is a highly nonlinear structural analysis, ...

Dipole Antenna with a Quarter-Wave Coaxial Balun

An antenna balun blocks undesirable currents on the outside of a cable. A quarter-wave coaxial balun (1:1) is one of the easiest designs: it works as a transformer and makes the input impedance from the inner conductor to the outer conductor infinite. This model simulates an antenna prototype including a SMA Receptacle, an ABS enclosure and a quarter-wave coaxial balun. The frequency is tuned to ...

Apartment Acoustics Analyzed using the Acoustic Diffusion Equation

The sound distribution from a TV in a two-room apartment is computed. The simulation demonstrates the use of the Acoustic Diffusion Equation interface to get a quick and simple estimate of the local sound pressure level. For increased accuracy, an analytical expression for the direct sound is added in the living room.

Chemical Reactions and Soot Build-Up in a Diesel Filter

In this tutorial, a filter system for a diesel engine is modeled, including where a soot layer builds up and is oxidized. The build-up of the layer is held in check by both catalytic and non-catalytic reactions, where carbon is oxidized to carbon monoxide and carbon dioxide, which in turn passes through the membrane. A filter system's efficiency and durability is closely related to the manner ...

Convective Cooling of a Potcore Inductor

The inductor is a common component in a variety of electrical devices. Its applications include power transformation and measurements, and it can also be used together with capacitors to create oscillators. In small devices with many components, such as in laptops, heat generation can be a problem and must be accounted for in the design. This axi-symmetric model studies the heat transfer in ...

Block Verification

This model shows how to set up a uniaxial compression test on a prestressed soil sample. Due to uniaxial compression and simple initial stress values, it is possible to determine the vertical yield stress analytically. The soil sample is modeled with soil plasticity and the Mohr-Coulomb criterion.