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 an oil reservoir with two horizontal wells. The reservoir contains two phases, water and oil. Oil is recovered by injecting water through the bottom well, so the oil production rate and the water-oil production ratio over time are computed. Read More
This example models flow in a microchannel heat exchanger by coupling a Laminar Flow interface in 3D to a Pipe Flow interface. By the use of the Pipe Flow interface to model the flow in the microchannels the problem size is significantly reduced. This model showcases the Pipe Connection ... Read More
This example treats the modeling of sub-surface flow where free convection in porous media is analyzed. The results are compared with published literature in the field. The model couples the momentum balance to an energy balance through an equation, dependent on temperature, being ... Read More
Thermoelectric elements are often used to cool or heat electronic components to a desired temperature. In such simulations, you are typically not interested in the behavior of the thermoelectric element itself but want to use its performance characteristics to model the overall response ... Read More
This tutorial shows how to couple three physics interfaces to model evaporative cooling. The effects that need to be taken into account are heat transfer, transport of water vapor, and fluid flow. The Wet Surface feature is used to implement the source term for the water vapor and to ... Read More
Double-pipe heat exchangers, with their typical U-turn shape, are one of the simplest and cheapest type of heat exchangers used in the chemical process industry. This example studies the cooling of hot oil (130°C) by a cool oil (60°C) entering in counter-current. As the oils flow ... Read More
This tutorial model uses a heat sink geometry from the Part Library. The tutorial shows different approaches to heat transfer modeling when studying the cooling of an electronic chip. In the first part, only the solid parts are modeled, while the convective airflow is modeled using ... Read More
This model shows how to set up a simulation of flow through a fractured reservoir. The reservoir includes a discrete fracture network (DFN), where the fractures have a randomized distribution of position, size, orientation and aperture. The model uses the Discrete Fracture Network Add ... Read More
This example demonstrates how to model phase transition by a moving boundary interface according to the Stefan problem. A square cavity containing both solid and liquid tin is submitted to a temperature difference between left and right boundaries. Fluid and solid parts are solved in ... Read More
This model shows how to compute an array of borehole heat exchangers (BHEs) for shallow geothermal energy production. The BHEs are simplified as line heat sinks with a uniform heat extraction rate. The array is embedded into a layered subsurface model with groundwater flow in one of the ... Read More
