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.


Gravity and Boundary Conditions

The influence of gravity on the flow pattern is often an important issue when modeling flow in fluids with variable density. You can account for this influence in the model equations by adding, to the momentum balances, the volume force. This model shows a simple example of the implementation of boundary conditions when volumetric forces are included in the momentum balances. This can be ...

Free Surfaces with Level Set, Phase Field, and Moving Mesh: A Comparison

We present the results from a comparison of the level set, phase field, and moving mesh methods for modeling free liquid surfaces in the COMSOL Multiphysics® software. The comparison is carried out using an example problem. The example studies the formation of surface waves caused by a rectangular bar, partly immersed in the liquid, moving back and forth in a direction parallel to the liquid ...

Laminar Flow in a Baffled Stirred Mixer

This model exemplifies the use of the Rotating Machinery interface, which allows you to model moving rotating parts in, for example, stirred tanks, mixers, and pumps. The Rotating Machinery interface formulates the Navier-Stokes equations in a rotating coordinate system. Parts that are not rotated are expressed in the fixed material coordinate system. The rotating and fixed parts need to be ...

Flow of Oldroyd-B Viscoelastic Fluid

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 describing the viscoelastic behavior of dilute polymeric solutions under general flow conditions. Despite the ...

Airflow over an Ahmed Body

The Ahmed body represents a simplified, ground vehicle geometry of a bluff body type. Its shape is simple enough to allow for accurate flow simulation but retains some important practical features relevant to automobile bodies. This model describes how to calculate the turbulent flow field around a simple car-like geometry using the Turbulent Flow, k-epsilon interface. Detailed instructions ...

Bubble-induced Entrainment Between Stratified Liquid Layers

This model is a benchmark for three-phase flow commonly used in food processing, pharmaceutical industry, and chemical processing. The results are validated against data reported in the literature. A gas bubble rises through two layers of liquid, a lighter liquid resting on top of a heavier one. As the bubble travels from the heavier liquid, it entrains some of the heavier liquid in its wake ...

Pipe Erosion due to Contaminant Particles

The _Particle Tracing for Fluid Flow_ interface is used to compute the erosion of a pipe bend. The amount of material lost is computed using different erosion models.

Modeling a Sphere Falling on a Water Surface

This model shows modeling of a sphere falling on a water surface. Specifically, it models the oscillating motion of a buoyant sphere as it falls through air and interacts with the air-water interface to finally float on water. Get more details in our blog post: [Modeling a Sphere Falling on a Water Surface](https://www.comsol.com/blogs/modeling-a-sphere-falling-on-a-water-surface/)

Water Balloon Inflation

The process of filling a water balloon is a vivid example for the interaction of fluid pressure and a nonlinear structural material. This model demonstrates how straightforward a FSI simulation model is set up in COMSOL.

Particle Tracing in a Micromixer

Micromixers can either be static or dynamic depending on the required mixing time and length scale. For static mixers, the Reynolds number has to be suitable high to induce turbulence enhanced mixing. Often micromixers operate in the laminar flow regime due to their small characteristic size. The diffusivity of a solute in the flowing fluid may also be extremely small, on the order of 10-10m²/s. ...