CFD Module

Simulate Fluid Flow Applications with the CFD Module

 Read more below 

Want to know more?

CFD Modelling Software for Single-Phase and Multiphase Flows

Define and solve models for studying systems containing fluid flow and fluid flow coupled to other physical phenomena with the CFD Module, an add-on product to the COMSOL Multiphysics® simulation platform.

The CFD Module provides tools for modelling the cornerstones of fluid flow analysis, including:

  • Incompressible and compressible flows
  • Laminar and turbulent flows
  • Single-phase and multiphase flows
  • Free and porous media flow and flow in open domains
  • Thin film flow

These capabilities are implemented through structured fluid flow interfaces in order to define, solve, and analyse time-dependent (transient) and steady-state flow problems in 2D, 2D axisymmetry, and 3D. In addition to the list above, the CFD Module includes tailored functionality for solving problems that include non-Newtonian fluids, rotating machinery, and high Mach number flow.

The ability to implement multiphysics in a model is important for fluid flow analyses. With the CFD Module, you can model conjugate heat transfer and reacting flows in the same software environment you use to analyse fluid flow problems — simultaneously. Additional multiphysics possibilities, such as fluid-structure interaction, are available when combined with other modules within the COMSOL® product suite.

What You Can Simulate with the CFD Module:

When you expand COMSOL Multiphysics® with the CFD Module, you have access to features for specialised CFD simulations in addition to the core functionality of the COMSOL Multiphysics® software platform. All of the features listed below are implemented through associated physics interfaces. When defining and solving these problems, the fluid is modelled as incompressible by default but can be interchanged with weakly compressible or fully compressible flow simply by choosing them from a list.

Laminar and Creeping Flow

The Laminar Flow and Creeping Flow interfaces provide you with the functionality for modelling transient and steady flows at relatively low Reynolds numbers. A fluid viscosity may be dependent on the local composition and temperature or any other field that is modelled in combination with fluid flow. For non-Newtonian fluids, you can use the predefined rheology models for viscosity, such as Power LawCarreau, and Bingham for easy model setup.

In general, density, viscosity, and momentum sources can be arbitrary functions of temperature, composition, shear rate, and any other dependent variable, as well as derivatives of dependent variables. These settings make it possible to define arbitrary models for viscoelastic flow.

Turbulent Flow

A comprehensive set of Reynolds-averaged Navier-Stokes (RANS) turbulence models, as well as large eddy simulation, are available in the corresponding fluid flow interfaces in the CFD Module. The following turbulent flow models are available for transient and steady flows:

Two-Equation Models
  • k-ε model
  • Realizable k-ε model
  • k-ω model
  • SST model
  • Low-Re k-ε model

 

Additional Transport-Equation Models
  • Spalart-Allmaras model
  • v2-f model

 

Algebraic Turbulence Models
  • Algebraic yPlus model
  • L-VEL model

 

Large Eddy Simulation (LES) Models
  • RBVM
  • RBVMWV
  • Smagorinsky

 

Wall Treatment

You can combine the turbulent flow interfaces with different types of wall treatments, according to the following list:

  • Wall functions
  • Low-Reynolds-number treatment
  • Automatic wall treatment

 

User-Defined Turbulence Models

Change or extend the model equations directly in the graphical user interface (GUI) to create turbulence models that are not yet included.

Thin Film Flow

To describe flows in thin domains, such as the thin oil films between moving mechanical parts or fractured structures, the CFD Module provides the Thin Film Flow, Shell interface. This formulation is typically used for modelling lubrication, elastohydrodynamics, or the effects of fluid damping between moving parts due to the presence of gases or liquids (for example, in MEMS).

The Thin Film Flow, Shell interface formulates and solves the Reynolds equation for flow in narrow structures and formulates the mass and momentum balances using a function for the flow averaged across the thickness of the thin structure, which implies that the thickness does not have to be meshed. This functionality helps avoid meshing problems across the gap and thereby saves computation time.

Multiphase Flow

In separated multiphase flow systems, you can use surface tracking methods to model and simulate the behavior of bubbles and droplets in detail, as well as free surfaces. For such cases, the shape of the phase boundary can be described in detail, including surface tension effects, using surface tracking techniques for separated multiphase flow.

When bubbles, droplets, or particles are small compared to the computational domain and there is a large number of them, you can use dispersed multiphase flow models. These models keep track of the mass fraction of the different phases and the influence that the dispersed bubbles, droplets, or particles have on the transfer of momentum in the fluid in an averaged sense.

The following separated and dispersed multiphase flow models are available for transient and steady flows:

Separated Multiphase Flow Models
  • Level Set method
  • Phase Field method

 

Dispersed Multiphase Flow Models
  • Bubbly flow model
  • Mixture model
  • Euler-Euler model
  • Phase transport
Porous Media Flow

The CFD Module makes it simple to simulate fluid flow in porous media using three different porous media flow models.

 
Porous Media Flow Models
  • Darcy's law
  • Brinkman equations
  • Free and porous media flow
 

High Mach Number Flow

Model transonic and supersonic flows of compressible fluids in both laminar and turbulent regimes. The laminar flow model is typically used for low-pressure systems and automatically defines the equations for the momentum, mass, and energy balances for ideal gases. High Mach number flow is available for the k-ε and Spalart-Allmaras turbulence models.

The COMSOL® software automatically formulates the energy equation coupled to the momentum and mass balance equations for ideal gases. In both cases, when meshing these models, automatic mesh refinement resolves the shock pattern by refining around the regions with very high velocity and pressure gradients.

Fluid Flow in Rotating Machinery

Rotating machines, such as mixers and pumps, are common in processes and equipment where fluid flow occurs. The CFD Module provides rotating machinery interfaces that formulate the fluid flow equations in rotating frames and are available for single-phase laminar and turbulent flow. Either define and solve problems using the full time-dependent description of the rotating system or use an averaged approach based on the frozen rotor approximation. This feature is computationally inexpensive and can be used to estimate averaged velocities, pressure changes, mixing levels, averaged temperature and concentration distributions, and more.

Generally speaking, the CFD Module can also solve fluid flow problems on any moving frame, not just rotating frames. You can use moving frames to solve a problem where a structure slides in relation to another structure with fluid flow in between, which is easy to set up and solve by employing a moving mesh.

 

Creating Real-World Multiphysics Models

In many cases, fluid flow models are coupled to other phenomena, such as heat transfer, structural mechanics, chemical reactions, or electromagnetic fields in electrokinetic flow and magnetohydrodynamics. Modelling multiple physics phenomena in COMSOL Multiphysics® is no different than a single-physics problem, as the CFD Module provides ready-made multiphysics interfaces for the common couplings.

Creating Real-World Multiphysics Models

In many cases, fluid flow models are coupled to other phenomena, such as heat transfer, structural mechanics, chemical reactions, or electromagnetic fields in electrokinetic flow and magnetohydrodynamics. Modelling multiple physics phenomena in COMSOL Multiphysics® is no different than a single-physics problem, as the CFD Module provides ready-made multiphysics interfaces for the common couplings.

Nonisothermal Flow and Conjugate Heat Transfer
Fluid-Structure Interaction
Reacting Flow
Mixers
Euler-Lagrange Multiphase Flow Using Particle Tracing
Pipe Flow and CFD

The CFD Module provides a dedicated physics interface for defining models of heat transfer in fluid and solid domains coupled to fluid flow in the fluid domain. These types of models are denoted conjugate heat transfer models, which implies that the fluid flow equations are defined and solved in the fluid domain, while the heat transfer equations are formulated and solved in both the solid and fluid domains.

For laminar flows and turbulence models using the low-Reynolds-number wall treatment, the temperature is continuous across the solid-fluid internal boundary, which is the default setting in the nonisothermal flow interfaces. To simulate turbulent conjugate heat transfer using turbulence models with wall functions, the Nonisothermal Flow interface automatically defines thermal wall functions.

The options of low-Re formulations and thermal wall functions make it very straightforward to define and solve conjugate heat transfer problems in combination with turbulent flow.

With the addition of the Structural Mechanics Module, fluid-structure interaction (FSI) problems can be defined and solved for both laminar and turbulent flow. Two FSI options are available in the CFD Module:

  1. One-way FSI coupling, in which the flow creates a load on a structure, but the deformations are small enough to neglect their influence on the flow
  2. Two-way FSI coupling, in which the flow creates loads on a structure, but the deformations are large and influence the flow by changing the shape of the fluid domain

The two-way coupling defines a moving mesh problem in the fluid domain. The displacements at the solid-fluid surfaces are determined by the balance of forces exerted by the fluid and counterforces exerted by the deforming solid structure. Steady-state and time-dependent studies are available for both one-way and two-way FSI problems for laminar and turbulent flows.

You can use the CFD Module to model reacting systems for both turbulent and laminar flows. This allows for the study and design of reactors, mixers, and any other system where chemical reactions and flow occur. The reacting flow interfaces are able to describe multicomponent transport in diluted and concentrated mixtures. The mixture-average model for multicomponent transport is used for concentrated solutions.

The full Maxwell-Stefan multicomponent transport equations are available in combination with the Chemical Reaction Engineering Module. For turbulent reacting flows, the eddy dissipation model is used to describe turbulence fluctuations in the reaction terms for both diluted and concentrated solutions. To simulate multicomponent transport in concentrated mixtures, the Stefan term is also automatically taken into account; for example, at reacting boundaries.

The multiphase flow interfaces for dispersed flow in the CFD Module treat the dispersed phase as a field where its volume fraction is a model variable. When combined with the Particle Tracing Module, you can use the CFD Module to model Euler-Lagrange multiphase flow models, where particles or droplets are modelled as rigid particles. With rigid particles modelled separately, the interaction between the fluid and the particles is bidirectional, where the particles affect the fluid flow as well. In addition, the Euler-Lagrange models are computationally inexpensive when studying a relatively small volume fraction of particles.

The Pipe Flow Module defines models for networks of pipes and channels where the fluid flow equations can be solved along lines and curves. By combining this product with the CFD Module, you can create high-fidelity simulations that include pipes and channels connecting to 2D or 3D fluid domains with incompressible, weakly compressible, nonisothermal, and reacting flows.

General Functionality Adapted for Solving CFD Problems

When you build a simulation in COMSOL Multiphysics®, you follow a consistent workflow across all add-on modules. The CFD Module offers specialised functionality for fluid flow simulations to maximise the performance and accuracy you need for a CFD analysis. Here are a few of the CFD-specific features:

Geometry

Generate flow domains, such as a bounding box, around imported CAD geometries. You can automatically or manually remove details included in a CAD representation that are not relevant for fluid flow.

 
Materials

The CFD Module includes a Material Library with the most common gases and liquids. In combination with the Chemical Reaction Engineering Module, you can also access generic descriptions for physical properties of gases (such as viscosity, density, diffusivities, and thermal conductivity).

 
Meshing

The physics-controlled mesh functionality in the CFD Module accounts for boundary conditions in fluid flow problems in order to compute accurate solutions. A boundary layer mesh is automatically generated in order to resolve the gradients in velocity that usually arise at the surfaces where wall conditions are applied.

 
Discretisation

The fluid flow physics interfaces use a Galerkin least-squares method to discretise the flow equations and generate the numerical model in space (2D, 2D axisymmetry, and 3D). The test function is designed to stabilise the hyperbolic terms and the pressure term in the transport equations. Shock-capturing techniques further reduce spurious oscillations. Additionally, discontinuous Galerkin formulations are used to conserve momentum, mass, and energy over internal and external boundaries.

 
Solvers

The flow equations are usually highly nonlinear. In order to solve the numerical model equations, the automatic solver settings select a suitable damped Newton method. For large problems, the linear iterations in the Newton method are accelerated by state-of-the-art algebraic multigrid or geometric multigrid methods specifically designed for transport problems.

For transient problems, time-stepping techniques with automatic time stepping and automatic polynomial orders are used to resolve the velocity and pressure fields with the highest possible accuracy, in combination with the aforementioned nonlinear solvers.

 

Postprocessing

The fluid flow interfaces generate a number of default plots to analyse the velocity and pressure fields. There is an extensive list of derived values and variables that can be easily accessed to extract analytical results.

Build Simulation Applications for Streamlined CFD Simulation

You can build user interfaces on top of any existing model using the Application Builder, included in COMSOL Multiphysics®. This tool enables you to create applications for very specific purposes with well-defined inputs and outputs. Applications can be used for many different purposes:

  • Automate difficult and repetitive tasks that can be linked to a single command by recording GUI operations, which can be complex parameterised sequences that may be difficult to reproduce without errors
  • Create and update reports from a large number of parameterised simulations according to specific routines to grant the best possible reproducibility and quality
  • Provide user-friendly interfaces for specific models to allow nonexperts in modelling and simulation to benefit from the accelerated understanding and optimisation capabilities
  • Increase access to models within an organisation in order to maximise the return on investment from simulation-driven development and design
  • Get a competitive edge by allowing your customers to get the best possible fit regarding the selection of your products, based on high-fidelity models embedded in user-friendly applications that you provide

Every business and every simulation need is different.

In order to fully evaluate whether or not the COMSOL Multiphysics® software will meet your requirements, you need to contact us. By talking to one of our sales representatives, you will get personalised recommendations and fully documented examples to help you get the most out of your evaluation and guide you to choose the best license option to suit your needs.

Fill in your contact details and any specific comments or questions, and submit. You will receive a response from a sales representative within one business day.

Request a Software Demonstration:

Want to know more?

(COMSOL®, COMSOL Multiphysics®, Capture the Concept, COMSOL Desktop®) are registered trademarks of COMSOL AB, LiveLink™ is an unregistered trademark of COMSOL AB, ACIS and SAT are registered trademarks of Spatial Corporation. AutoCAD, AutoCAD Inventor and Inventor are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. CATIA is a registered trademark of Dassault Systèmes or its subsidiaries in the US and/or other countries. Microsoft, Excel and Windows are registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Parasolid and Solid Edge are trademarks or registered trademarks of Siemens Product Lifecycle Management Software Inc. or its subsidiaries in the United States and in other countries. SolidWorks is a registered trademark of Dassault Systèmes SolidWorks Corporation. Creo and Pro/ENGINEER are trademarks or registered trademarks of PTC Inc. or its subsidiaries in the U.S. and in other countries. MATLAB is a registered trademark of The MathWorks, Inc. Amazon Web Services, the “Powered by Amazon Web Services” logo, Amazon EC2 and Amazon Elastic Compute Cloud are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries. Mac and Macintosh are trademarks of Apple Inc., registered in the U.S. and other countries. Linux is a registered trademark of Linus Torvalds. Red Hat is a registered trademark of Red Hat, Inc. in the U.S. and other countries. Neither COMSOL nor any COMSOL products are affiliated with, endorsed by, sponsored by, or supported by any of these other trademark owners. Other product names, brand names or logos are trademarks or registered trademarks of their respective holders.
chevron-left-circlechevron-right-circle