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.
This example demonstrates how to model a phase change and predict its impact on a heat transfer analysis. When a material changes phase, for instance from solid to liquid, energy is added to the solid. Instead of creating a temperature rise, the energy alters the material’s molecular ... Read More
This non-conventional model of porous media flow utilizes creeping (Stokes) flow in the interstices of a porous media. The model comes from the pore-scale flow experiments conducted by Arturo Keller, Maria Auset, and Sanya Sirivithayapakorn of the University of California, Santa Barbara. ... Read More
The first model describes the simultaneous flow of two immiscible fluids in porous media - here air displaces water in a multi-step inlet pressure experiment. We solve for the pressure and the degree saturation for the air and water within a representative volume and so track saturation ... 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
This is one of the two models from the blog post about heat transfer in the subsurface: [Coupling Heat Transfer with Subsurface Porous Media Flow](/blogs/coupling-heat-transfer-subsurface-porous-media-flow/) The animated GIFs show the propagation of an isothermal cold front (295 K) for ... Read More
The Poroelasticity interface couples Darcy's law and solid mechanics to assess deformation of porous media that results from fluid withdrawals. The model builds on top of the Terzaghi Compaction example. Results from Terzaghi compaction and Biot poroelasticity analyses are compared ... Read More
This is a tutorial model of the coupling between flow of a fluid in an open channel and a porous block attached to one of the channel walls. The flow is described by the Navier-Stokes equation in the free region and a Forchheimer-corrected version of the Brinkman equations in the porous ... Read More
Density variations can initiate flow even in a still fluid. In earth systems, density variations can arise from naturally occurring salts, subsurface temperature changes, or migrating pollution. This buoyant or density-driven flow factors into fluid movement in salt-lake systems, saline ... 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 cylindrical heat sinks with a uniform heat extraction rate. The array is embedded into a layered subsurface model with groundwater flow in one ... Read More
This example models free flow through a fracture in a block of porous media, where flow in the fracture is much faster than in the matrix block. The Darcy's law physics interface is used to model the flow in the porous block The fracture flow is modeled by adding the Fracture Flow ... Read More