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 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
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 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
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 shows how to set up a glacier flow model in principle, containing several important aspects of glacier modeling: The creation of the 2D geometry, the modeling of non-Newtonian flow, and the implementation of basal sliding. In this example, two different glacier types, a cold ... Read More
Porous materials are frequently represented through periodically arranged microstructures. To compute porous media flow, the macroscale permeability and porosity is used which can be calculated from the creeping flow results through the microscale unit cell. In this application, various ... 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 to ... Read More
Aldicarb is a commercial pesticide, used on a variety of crops, including cotton, fruits, potatoes, and beans. This arises in the possibility that the general population may be exposed to aldicarb through the ingestion of contaminated water and foods. This example looks at the ... 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
