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. 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.
This example models galvanic corrosion between two different phases in a magnesium alloy for a representative cross-sectional microstructure configuration. The Level Set interface is used here to model dissolution of a constituent phase leading to topological changes. The electrode ... Read More
An isothermal single particle model formulation for a lithium-ion battery is presented in this work. The single particle model is a simplification of the 1D formulation for a lithium-ion battery along with a few assumptions. The model is typically valid for low-medium current scenarios. ... Read More
Modeling the electrical activity in cardiac tissue is an important step in understanding the patterns of contractions and dilations in the heart. The heart produces rhythmic electrical pulses, which trigger the mechanical contractions of the muscle. A number of heart conditions involve ... Read More
Many complex fluids of interest exhibit a combination of viscous and elastic behavior under strain. Examples of such fluids are polymer solutions and melts, oil, toothpaste, and clay, among many others. The Oldroyd-B fluid presents one of the simplest constitutive models capable of ... Read More
This model simulates a 16-level, first-order, focusing Fresnel lens with 50 µm diameter and 150 µm focal length. In one simulation, the Electromagnetic Waves, Frequency Domain interface computes the electric field in the Fresnel lens and the surrounding air domain extended to the focal ... Read More
A surface mount resistor is subjected to thermal cycling. The difference in the thermal expansion of different materials will introduce stresses in the structure. The solder which connects the resistor with the printed circuit board is seen as the weakest link in the assembly. It ... Read More
This example solves the heat transfer in an isothermal box aimed at transporting refrigerated articles such as medical materials for 24 hours. In this case, the box has to keep the contents cold for a long period of time while respecting storage temperature restrictions between 2°C and 8 ... Read More
This example solves for the temperature distribution inside a vacuum flask holding hot coffee. The main purpose is to illustrate how to use MATLAB functions to define material properties and boundary conditions. Read More
The level set method is well suited for problems with moving boundaries in which the geometry’s topology changes with time. A bubble of oil that travels up through water and finally merges with oil at the top causes this kind of topology change. For problems where the topology is ... Read More
In this tutorial, the acoustics of an open-plan office space are analyzed using a wave-based approach in the time domain. An initial pulse is released and the room response is analyzed. Realistic frequency-dependent impedance conditions for the ceiling, carpet, and gypsum walls are ... Read More
