Fuel Cell & Electrolyzer User Guide
Fuel Cell & Electrolyzer User Guide
Electrolyzer Module
User’s Guide
Fuel Cell & Electrolyzer Module User’s Guide
© 1998–2024 COMSOL
Protected by patents listed on [Link]/patents, or see Help > About COMSOL Multiphysics on
the File menu in the COMSOL Desktop for less detailed lists of U.S. Patents that may apply. Patents
pending.
This Documentation and the Programs described herein are furnished under the COMSOL Software License
Agreement ([Link]/sla) and may be used or copied only under the terms of the license
agreement.
COMSOL, the COMSOL logo, COMSOL Multiphysics, COMSOL Desktop, COMSOL Compiler,
COMSOL Server, and LiveLink are either registered trademarks or trademarks of COMSOL AB. All other
trademarks are the property of their respective owners, and COMSOL AB and its subsidiaries and products
are not affiliated with, endorsed by, sponsored by, or supported by those trademark owners. For a list of such
trademark owners, see [Link]/trademarks.
Version: COMSOL 6.3
Contact Information
Visit the Contact COMSOL page at [Link]/contact to submit general inquiries
or search for an address and phone number. You can also visit the Worldwide Sales Offices
page at [Link]/contact/offices for address and contact information.
If you need to contact Support, an online request form is located on the COMSOL Access
page at [Link]/support/case. Useful links:
Chapter 1: Introduction
CONTENTS |3
Chapter 3: Fuel Cell and Electrolyzer Interfaces
4 | CONTENTS
Water Absorption-Desorption . . . . . . . . . . . . . . . . . 94
Water Flux . . . . . . . . . . . . . . . . . . . . . . . . . 95
Water Chemical Potential . . . . . . . . . . . . . . . . . . . 95
Thin Gas Diffusion Electrode . . . . . . . . . . . . . . . . . . 95
Electrode Surface. . . . . . . . . . . . . . . . . . . . . . . 96
Internal Electrode Surface . . . . . . . . . . . . . . . . . . . 96
Thin Gas Diffusion Electrode Reaction. . . . . . . . . . . . . . . 96
Electrode Reaction . . . . . . . . . . . . . . . . . . . . . . 97
Periodic Condition . . . . . . . . . . . . . . . . . . . . . . 97
CONTENTS |5
Electrode Point Current Source . . . . . . . . . . . . . . . . 125
Electrolyte Point Current Source. . . . . . . . . . . . . . . . 125
Electrode Current . . . . . . . . . . . . . . . . . . . . . 126
6 | CONTENTS
Electric Potential . . . . . . . . . . . . . . . . . . . . . . 158
Electrode Current Density . . . . . . . . . . . . . . . . . . 158
Electrode Current . . . . . . . . . . . . . . . . . . . . . 158
Electrode Power . . . . . . . . . . . . . . . . . . . . . . 159
Harmonic Perturbation . . . . . . . . . . . . . . . . . . . 160
Electrode Potential . . . . . . . . . . . . . . . . . . . . . 160
External Short . . . . . . . . . . . . . . . . . . . . . . . 161
Initial Values for Adsorbing–Desorbing Species . . . . . . . . . . 161
Initial Values for Dissolving–Depositing Species . . . . . . . . . . 161
Nonfaradaic Reactions . . . . . . . . . . . . . . . . . . . . 162
Reference Electrode . . . . . . . . . . . . . . . . . . . . 162
Electric Reference Potential . . . . . . . . . . . . . . . . . . 162
Circuit Terminal . . . . . . . . . . . . . . . . . . . . . . 163
CONTENTS |7
Electric Potential . . . . . . . . . . . . . . . . . . . . . . 175
8 | CONTENTS
Theory for the Electrode, Shell Interface 215
Governing Equations . . . . . . . . . . . . . . . . . . . . 215
Coupling to Other Physics Interfaces . . . . . . . . . . . . . . 215
CONTENTS |9
Flux Discontinuity . . . . . . . . . . . . . . . . . . . . . 246
Partition Condition . . . . . . . . . . . . . . . . . . . . . 246
Periodic Condition . . . . . . . . . . . . . . . . . . . . . 247
Line Mass Source . . . . . . . . . . . . . . . . . . . . . . 249
Point Mass Source . . . . . . . . . . . . . . . . . . . . . 249
Open Boundary . . . . . . . . . . . . . . . . . . . . . . 250
Thin Diffusion Barrier . . . . . . . . . . . . . . . . . . . . 250
Thin Impermeable Barrier . . . . . . . . . . . . . . . . . . 251
Equilibrium Reaction . . . . . . . . . . . . . . . . . . . . 251
Surface Reactions . . . . . . . . . . . . . . . . . . . . . 252
Surface Equilibrium Reaction . . . . . . . . . . . . . . . . . 252
Fast Irreversible Surface Reaction . . . . . . . . . . . . . . . 253
Porous Electrode Coupling . . . . . . . . . . . . . . . . . . 253
Reaction Coefficients . . . . . . . . . . . . . . . . . . . . 254
Electrode Surface Coupling . . . . . . . . . . . . . . . . . . 254
Porous Medium . . . . . . . . . . . . . . . . . . . . . . 255
Fluid (Porous Medium) . . . . . . . . . . . . . . . . . . . 255
Porous Matrix . . . . . . . . . . . . . . . . . . . . . . . 257
Dispersion . . . . . . . . . . . . . . . . . . . . . . . . 258
Unsaturated Porous Medium . . . . . . . . . . . . . . . . . 258
Liquid . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Gas . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Adsorption . . . . . . . . . . . . . . . . . . . . . . . . 262
Volatilization . . . . . . . . . . . . . . . . . . . . . . . 264
Species Source. . . . . . . . . . . . . . . . . . . . . . . 264
Hygroscopic Swelling . . . . . . . . . . . . . . . . . . . . 265
Out-of-Plane Flux . . . . . . . . . . . . . . . . . . . . . 266
Fracture . . . . . . . . . . . . . . . . . . . . . . . . . 268
Fluid (Fracture) . . . . . . . . . . . . . . . . . . . . . . 268
Fracture Material . . . . . . . . . . . . . . . . . . . . . . 269
10 | C O N T E N T S
Inflow . . . . . . . . . . . . . . . . . . . . . . . . . . 276
No Flux . . . . . . . . . . . . . . . . . . . . . . . . . 277
Outflow . . . . . . . . . . . . . . . . . . . . . . . . . 277
Reactions. . . . . . . . . . . . . . . . . . . . . . . . . 277
Species Source. . . . . . . . . . . . . . . . . . . . . . . 278
CONTENTS | 11
Reversible Reaction Group . . . . . . . . . . . . . . . . . . 328
Equilibrium Reaction Group. . . . . . . . . . . . . . . . . . 330
Species Group . . . . . . . . . . . . . . . . . . . . . . . 331
Reaction Thermodynamics . . . . . . . . . . . . . . . . . . 331
Species Activity . . . . . . . . . . . . . . . . . . . . . . 331
Species Thermodynamics. . . . . . . . . . . . . . . . . . . 332
12 | C O N T E N T S
The Surface Reactions Interface 348
Boundary, Edge, Point, and Pair Nodes for the Surface Reactions
Interface. . . . . . . . . . . . . . . . . . . . . . . . 349
Surface Properties . . . . . . . . . . . . . . . . . . . . . 350
Initial Values . . . . . . . . . . . . . . . . . . . . . . . 351
Reactions. . . . . . . . . . . . . . . . . . . . . . . . . 351
Surface Concentration . . . . . . . . . . . . . . . . . . . . 352
CONTENTS | 13
Supporting Electrolytes . . . . . . . . . . . . . . . . . . . 379
Crosswind Diffusion . . . . . . . . . . . . . . . . . . . . 380
Danckwerts Inflow Boundary Condition . . . . . . . . . . . . . 381
Mass Balance Equation for Transport of Diluted Species in Porous
Media . . . . . . . . . . . . . . . . . . . . . . . . . 382
Convection in Porous Media . . . . . . . . . . . . . . . . . 383
Diffusion in Porous Media . . . . . . . . . . . . . . . . . . 385
Dispersion . . . . . . . . . . . . . . . . . . . . . . . . 386
Adsorption . . . . . . . . . . . . . . . . . . . . . . . . 388
Reactions. . . . . . . . . . . . . . . . . . . . . . . . . 390
Mass Transport in Fractures . . . . . . . . . . . . . . . . . 391
References . . . . . . . . . . . . . . . . . . . . . . . . 392
14 | C O N T E N T S
Theory for the Reacting Flow Interface 420
Pseudo Time Stepping for Mass Transport . . . . . . . . . . . . 420
The Stefan Velocity . . . . . . . . . . . . . . . . . . . . . 420
The Chemical Reaction Rate . . . . . . . . . . . . . . . . . 422
Nonisothermal Reacting Flow . . . . . . . . . . . . . . . . . 423
References for the Reacting Flow Interfaces . . . . . . . . . . . 426
CONTENTS | 15
Unsaturated Porous Medium . . . . . . . . . . . . . . . . . 469
Dual Porosity Medium . . . . . . . . . . . . . . . . . . . . 471
Dual Permeability Medium . . . . . . . . . . . . . . . . . . 473
Unsaturated Dual Permeability Medium . . . . . . . . . . . . . 474
Macropores . . . . . . . . . . . . . . . . . . . . . . . . 476
Micropores . . . . . . . . . . . . . . . . . . . . . . . . 478
Mass Source . . . . . . . . . . . . . . . . . . . . . . . 480
Contributing Velocity . . . . . . . . . . . . . . . . . . . . 481
Initial Values . . . . . . . . . . . . . . . . . . . . . . . 482
Gravity . . . . . . . . . . . . . . . . . . . . . . . . . 483
Cross Section . . . . . . . . . . . . . . . . . . . . . . . 484
Thickness. . . . . . . . . . . . . . . . . . . . . . . . . 485
Porous Electrode Coupling . . . . . . . . . . . . . . . . . . 485
Electrode Surface Coupling . . . . . . . . . . . . . . . . . . 486
Pressure . . . . . . . . . . . . . . . . . . . . . . . . . 487
Mass Flux. . . . . . . . . . . . . . . . . . . . . . . . . 488
Line Mass Source . . . . . . . . . . . . . . . . . . . . . . 489
Point Mass Source . . . . . . . . . . . . . . . . . . . . . 490
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . . 490
Symmetry . . . . . . . . . . . . . . . . . . . . . . . . 492
No Flow . . . . . . . . . . . . . . . . . . . . . . . . . 492
Flux Discontinuity . . . . . . . . . . . . . . . . . . . . . 493
Outlet . . . . . . . . . . . . . . . . . . . . . . . . . . 494
Precipitation . . . . . . . . . . . . . . . . . . . . . . . 495
Interior Wall . . . . . . . . . . . . . . . . . . . . . . . 495
Thin Barrier. . . . . . . . . . . . . . . . . . . . . . . . 496
Pressure Head . . . . . . . . . . . . . . . . . . . . . . . 496
Hydraulic Head . . . . . . . . . . . . . . . . . . . . . . 497
Atmosphere/Gauge . . . . . . . . . . . . . . . . . . . . . 497
Pervious Layer . . . . . . . . . . . . . . . . . . . . . . . 498
Well . . . . . . . . . . . . . . . . . . . . . . . . . . 500
Fracture . . . . . . . . . . . . . . . . . . . . . . . . . 500
Fluid (Fracture) . . . . . . . . . . . . . . . . . . . . . . 503
Fracture Material . . . . . . . . . . . . . . . . . . . . . . 504
16 | C O N T E N T S
Fluid Properties . . . . . . . . . . . . . . . . . . . . . . 510
Porous Medium . . . . . . . . . . . . . . . . . . . . . . 511
Fluid . . . . . . . . . . . . . . . . . . . . . . . . . . 512
Porous Matrix . . . . . . . . . . . . . . . . . . . . . . . 513
Mass Source . . . . . . . . . . . . . . . . . . . . . . . 514
Volume Force . . . . . . . . . . . . . . . . . . . . . . . 514
Porous Electrode Coupling . . . . . . . . . . . . . . . . . . 515
Initial Values . . . . . . . . . . . . . . . . . . . . . . . 515
Gravity . . . . . . . . . . . . . . . . . . . . . . . . . 515
Electrode-Electrolyte Interface Coupling . . . . . . . . . . . . . 516
Wall . . . . . . . . . . . . . . . . . . . . . . . . . . 516
CONTENTS | 17
Fluid Properties . . . . . . . . . . . . . . . . . . . . . . 549
Mass Transfer . . . . . . . . . . . . . . . . . . . . . . . 552
Gravity . . . . . . . . . . . . . . . . . . . . . . . . . 553
Initial Values . . . . . . . . . . . . . . . . . . . . . . . 554
Wall . . . . . . . . . . . . . . . . . . . . . . . . . . 554
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . . 556
Outlet . . . . . . . . . . . . . . . . . . . . . . . . . . 558
Symmetry . . . . . . . . . . . . . . . . . . . . . . . . 559
Periodic Flow Condition . . . . . . . . . . . . . . . . . . . 559
Interior Wall . . . . . . . . . . . . . . . . . . . . . . . 560
Flow Continuity . . . . . . . . . . . . . . . . . . . . . . 562
Gas Boundary Condition Equations . . . . . . . . . . . . . . . 562
18 | C O N T E N T S
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . . 596
Outlet . . . . . . . . . . . . . . . . . . . . . . . . . . 597
Interior Wall . . . . . . . . . . . . . . . . . . . . . . . 598
Flow Continuity . . . . . . . . . . . . . . . . . . . . . . 599
Theory for the Laminar Flow and Creeping Flow Interfaces 601
General Single-Phase Flow Theory . . . . . . . . . . . . . . . 602
Compressible Flow . . . . . . . . . . . . . . . . . . . . . 604
Weakly Compressible Flow . . . . . . . . . . . . . . . . . . 604
The Mach Number Limit . . . . . . . . . . . . . . . . . . . 604
Incompressible Flow . . . . . . . . . . . . . . . . . . . . 605
The Reynolds Number. . . . . . . . . . . . . . . . . . . . 606
Gravity . . . . . . . . . . . . . . . . . . . . . . . . . 607
Theory for the Wall Boundary Condition . . . . . . . . . . . . 608
Prescribing Inlet and Outlet Conditions . . . . . . . . . . . . . 612
Mass Flow . . . . . . . . . . . . . . . . . . . . . . . . 614
Fully Developed Flow (Inlet) . . . . . . . . . . . . . . . . . 616
Fully Developed Flow (Outlet). . . . . . . . . . . . . . . . . 617
No Viscous Stress . . . . . . . . . . . . . . . . . . . . . 618
Normal Stress Boundary Condition . . . . . . . . . . . . . . . 619
Pressure Boundary Condition . . . . . . . . . . . . . . . . . 619
Porous Interface . . . . . . . . . . . . . . . . . . . . . . 622
Mass Sources for Fluid Flow . . . . . . . . . . . . . . . . . 625
Numerical Stability — Stabilization Techniques for Fluid Flow . . . . . 627
Solvers for Laminar Flow . . . . . . . . . . . . . . . . . . . 629
Pseudo Time Stepping for Laminar Flow Models . . . . . . . . . . 631
Nitsche Constraints. . . . . . . . . . . . . . . . . . . . . 633
Particle Tracing in Fluid Flow . . . . . . . . . . . . . . . . . 633
References for the Single-Phase Flow, Laminar Flow Interfaces . . . . 634
CONTENTS | 19
Theory for the Free and Porous Media Flow, Brinkman
Interface 644
Reference for the Free and Porous Media Flow, Brinkman Interface . . 644
Theory for the Free and Porous Media Flow, Darcy Interface
645
References . . . . . . . . . . . . . . . . . . . . . . . . 647
20 | C O N T E N T S
Theory for the Coupling of Fluid Flow to Electrochemical
Reactions 690
Momentum Sources and Sinks . . . . . . . . . . . . . . . . . . 690
Chapter 8: Thermodynamics
CONTENTS | 21
Surface Tension . . . . . . . . . . . . . . . . . . . . . . 795
References . . . . . . . . . . . . . . . . . . . . . . . . 795
Index 813
22 | C O N T E N T S
1
Introduction
This guide describes the Fuel Cell & Electrolyzer Module, an optional add-on
package for COMSOL Multiphysics® designed to assist you in building detailed
models of the various reactions and transport processes in fuel cells and
electrolyzers.
This chapter introduces you to the capabilities of the module. A summary of the
physics interfaces and where you can find documentation and model examples is
also included. The last section is a brief overview with links to each chapter in this
guide.
23
About the Fuel Cell & Electrolyzer
Module
In this section:
The core functionality of the module are the electrochemistry interfaces. Generic
electrochemistry interfaces for various types (primary, secondary, and tertiary) current
distributions are available, which may be used for modeling both solid nonporous as
well as for porous electrodes. In addition to these generic electrochemistry interfaces,
the module also contains dedicated Hydrogen Fuel Cell and Water Electrolyzer
interfaces.
The tailored physics interfaces mentioned above are also complemented with extended
functionality in other physics interfaces for chemical species transport, heat transfer,
24 | CHAPTER 1: INTRODUCTION
and fluid flow. In particular, the fluid flow interfaces are extended to also include
functionality to model two-phase flow.
A selection of suitable materials are also available in the Fuel Cell and
Electrolyzer Material Library. For more detailed information about
materials, see Materials in the COMSOL Multiphysics Reference
Manual.
Finally, the Fuel Cell & Electrolyzer Application Library includes a number of tutorials
(model examples) for various types of fuel cell and electrolyzers.
See Where Do I Access the Documentation and Application Libraries? to locate and
use these examples and tutorials as a starting point to your own investigations.
26 | CHAPTER 1: INTRODUCTION
PHYSICS INTERFACE ICON TAG SPACE AVAILABLE STUDY TYPE
DIMENSION
Fluid Flow
Multiphase Flow
Bubbly Flow
28 | CHAPTER 1: INTRODUCTION
PHYSICS INTERFACE ICON TAG SPACE AVAILABLE STUDY TYPE
DIMENSION
30 | CHAPTER 1: INTRODUCTION
displays information about that feature (or click a node in the Model Builder followed
by the Help button ( ). This is called topic-based (or context) help.
• Press Ctrl+F1.
• From the File menu, select Help>Documentation ( ).
Once the Application Libraries window is opened, you can search by name or browse
under a module folder name. Click to view a summary of the model or application and
its properties, including options to open it or its associated PDF document.
To include the latest versions of model examples, from the File>Help menu
select ( ) Update COMSOL Application Libraries.
To include the latest versions of model examples, from the Help menu
select ( ) Update COMSOL Application Libraries.
32 | CHAPTER 1: INTRODUCTION
COMSOL ONLINE RESOURCES
34 | CHAPTER 1: INTRODUCTION
Flow branch, as well as the Bubbly Flow, Mixture Model and Euler-Euler interface,
included under the Multiphase Flow branch.
The Laminar Flow interface is also available and is described in the COMSOL
Multiphysics Reference Manual.
THERMODYNAMICS
This chapter describes the functionality of the Thermodynamics node to define
thermo-physical and transport properties.
In this chapter:
• Introduction to Electrochemistry Modeling
37
Introduction to Electrochemistry
Modeling
In this section:
• What Is Electrochemistry?
• Electrochemical Applications
• Fundamentals of Electrochemistry Modeling
• Current Distribution Cases and Choosing the Right Interface to Model an
Electrochemical Cell
• Understanding the Different Approximations for Conservation of Charge in
Electrolytes
• Modeling Electrochemical Reactions
• Double Layer Capacitance
• Porous Electrodes
• Boundary Conditions for Running and Controlling Electrochemical Cells
• Modeling Cyclic Voltammetry
• Common Simplifications When Modeling Electrochemical Cells
• Before You Start Building Your Model
• Meshing Advice
• Solving Electrochemical Models
• Postprocessing Your Solution
What Is Electrochemistry?
An electrochemical process is one that either converts electric energy to chemical
energy or converts chemical energy to electric energy.
Electrochemical systems can also be classified into systems that output energy or
systems that consume energy. Batteries and fuel cells are energy extraction devices —
an electrochemical reaction is used to convert the energy in chemical system into a
voltage. Such cells are also called galvanic cells. By contrast, in electrolysis, the system
consumes energy to promote an electrochemical reaction for synthesis. Similar
electrochemical systems needing energy input include manufacturing processes such as
electroplating. Electrochemical reactions may also be driven for electroanalysis, to
quantify or otherwise explore the chemical constituents or reactivity of a system.
Electrolysis occurs when a chemical species in the electrolyte exchanges one or more
electrons with the electrode. Capacitive charging occurs when the potential of an
electrode is changing, so that ions in the electrolyte are either attracted or repelled
from the surface, drawing a current.
Batteries and fuel cells can also involve porous electrodes, in which an electrode
material has a micro- or nanostructure that is permeable to an electrolyte solution. The
advantage of such a material is the great increase in the area of the electrode-electrolyte
interface.
Note that all current must move in circuits. An isolated electrode-electrolyte interface
cannot draw a net current, but a system with two such interfaces can. An
electrochemical system with two or more electrodes in contact with electrolyte is called
an electrochemical cell.
Conventional electric current is the flow of positive charge, which is then from anode
to cathode through the electrolyte. A closed circuit, conserving overall system charge,
is formed by the flow of electric current in the electrode domains (and any electrical
circuitry) from cathode to anode, and by the transport of ions through the electrolyte
domains from anode to cathode.
• Potential Variables
• Current Variables and Calculating the Total Cell Current
Under the assumption of a linear relation of current density to electric field, Ohm’s law
is obeyed for the electrolyte current. This is the assumption of primary current
distribution, where one also assumes infinitely fast electrodes kinetics, resulting in
negligible potential drops over the electrode-electrolyte interfaces. If the electrode
reaction kinetics proceed at a finite rate, then the system has a secondary current
distribution. In cases where more advanced nonlinear charge conservation equations
and concentration-dependent electrode polarization are required, the system is
described as obeying tertiary current distribution.
The electric displacement field in a medium is related to the local charge density
according to Gauss’s law, one of Maxwell’s equations:
D = v
In electrolytes, we can normally assume that the electric permittivity is constant and
equal to a bulk value:
D = 0 s E = – 0 s V
Hence
2 v
V + ---------
- = 0
0 s
In an electrolyte with ionic charge carriers, the charge density can be written as:
v = F zi ci
i
Hence
F
0 s
2
V + ---------- zi ci = 0
i
This is the Poisson equation relating the electrolyte potential to the distribution of
charge carriers within the electrolyte. In its derivation we assumed that the only charge
carriers are ions, and that the solvated ions and electric field do not alter the
permittivity of the medium.
The mass transport of the charge carriers in aqueous systems is normally given by the
Nernst–Planck equations. These equations neglect ion-ion interactions, and so they
are only exact for infinitely dilute solutions:
N i = – D i c i – z i u m i Fc i l + c i u
Note that concentrated electrolyte systems, such as those in many batteries, use an
extended concentrated species flux definition, based on the Maxwell–Stefan set of
equations. This will result in a different set of equations to solve for, but the general
principles and conclusion in this section will be the same.
Substituting the Nernst–Einstein relation for the electrical mobility of an ion we get:
ziF
N i = – D i c i + -------- c i l + c i u
RT
The above expressions for the n species i, together with the Poisson equation, give a
set of n1 equations in n1 unknowns. These are the Nernst–Planck–Poisson
equations. They can be defined in COMSOL Multiphysics by coupling Transport of
Diluted Species with Electrostatics, or by using the Tertiary Current Distribution,
Nernst-Planck interface with Charge conservation model: Poisson, but they are highly
nonlinear and difficult to converge. Most often, further approximations can simplify
the problem without compromising accuracy.
RT 0 s
xD = ------------------
-
2
F I
This is the length across which electric fields are screened. It is called the Debye length.
This is a very short length in electrolyte solutions: for a typical ionic strength, it is of
the order of 1 nm. Electroneutrality holds at distances much larger than 1 nm from a
charged surface:
zi ci = 0
il = F zi Ni
From substitution of the Nernst–Planck expressions for Ni, the laws of conservation
of mass and charge combine to automatically satisfy conservation of current.
We can simplify the system further by considering the arising expression for il in more
detail:
2
F
zi zi ci
2
il = – F D i z i c i – -------- l Di ci + u
RT
Clearly, the rightmost term is zero: that is, convection of an electroneutral solution
does not cause current flow. The leftmost term (diffusion current) also vanishes due to
electroneutrality if the gradients of the charge carrying species are zero.
Even if this is not the case, however, this term is often much smaller than the central
term (migration current), so long as the concentrations of the current-carrying ions do
not vary markedly through the solution. Under conditions where the composition of
the electrolyte can be considered nearly constant and current-carrying ions are not
significantly depleted, the diffusion current can be assumed to contribute negligibly.
i l = – l l
This expression for current density is used in the Secondary Current Distribution
interface, and also the Primary Current Distribution interface. The difference between
these interfaces lies in the treatment of the electrode-electrolyte interfaces (see Kinetics
of Electrochemical Reactions below). From the above, the conductivity of the
electrolyte l is given as:
2
F
zi
2
l = -------- Di ci
RT
So long as this quantity does not vary markedly through the solution, the
approximation of zero diffusion current is good. If the diffusivities and concentrations
can be taken as constant, we can approximate that:
2
2F ID mean
l -----------------------------
RT
The advantage of the ohmic expression for current density is that it is a linear relation
of current density to electrolyte potential. It is only weakly nonlinear if l is allowed to
depend on a concentration solved for in a species transport interface. By comparison,
the Nernst–Planck equations with electroneutrality can be highly nonlinear.
The approximations used to derive the secondary current distribution expression place
tighter constraints on the allowed system configurations, however. The ionic strength
of the solution must remain near-constant for the constant conductivity approximation
to be valid. Usually this is only the case for relatively high conductivity solutions.
When the conductivity is large with respect to the current drawn, the electric field
becomes negligible in solution. For negligible electric fields, a diffusion-only
approximation may be used, where E0. This converts the Nernst–Planck equations
into Fick’s laws, with a term for convective transport where necessary. Fick’s laws with
convection and electrochemical boundary conditions are solved for in the
Electroanalysis interface.
Even if you think a problem will involve the full Nernst–Planck equations,
it is best to set the model up in Secondary Current Distribution first, in order
to identify any other possible complications in the system while using a
simpler electrochemical model.
+ -
Ag (aq)+e Ag(s)
The Gibbs energy change is related to the equilibrium potential difference from the
electrode to the electrolyte according to:
G m
E eq m = – ------------
-
nm F
where Eeq,m is the potential difference on some external reference scale for which the
reaction is at equilibrium (G0). This is called the equilibrium potential or
reduction potential (or in corrosion, corrosion potential) of the electrochemical
reaction, and its absolute value depends on the choice of reference electrode.
G = – RT ln K
it follows that
RT
E – E eq = -------- ln K
nF
Assuming that the species are ideal and that activity effects can be treated as constant,
then for the conversion between unimolecular reduced and oxidized species:
The quantity
m = s – l – E eq m
There are two important expressions describing the current density due to an
electrochemical reaction as a function of the overpotential and the concentrations of
reactant and product. It should be noted that the validity of these expressions is not
general and can never replace experimental kinetic data if such is available.
log ---- = A
i
i 0
The constant A is the Tafel slope and has units 1/V. It is usually close to a half-integer
multiple of F/RT and is less than or equal to nF/RT. Note that a reference exchange
current density i0 must be specified for the reaction. This is by definition the current
density drawn at zero overpotential.
The Tafel law assumes that a reaction is irreversible. If the reverse reaction
might occur in practice, Tafel kinetics will not be correct.
a F – c F
i = i 0 exp --------------- – exp -----------------
RT RT
• i0 is an empirical quantity.
• It agrees with the Nernst equation when i = 0, so for a very fast reaction (i0)
then the Butler–Volmer equation gives the same potential difference as the Nernst
equation. This is equally true under high resistance conditions.
• It agrees with the Tafel equation when either the anodic or cathodic term
dominates. For highly irreversible reactions (very low i0), appreciable current is only
drawn for large overpotential, so this is typically the case.
For a reversible reaction at very low overpotential ( of order RTF ~ 25 mV), the
exponentials in the Butler–Volmer equation can be linearized:
a + c F
i loc = i 0 ----------------------------
RT
Using a linearized Butler–Volmer reaction can be advantageous when
investigating convergence issues of a model.
The coupling of chemical flux to electric current density is automated in some of the
Electrochemistry interfaces by defining the reaction stoichiometry in the Electrode
Reaction and Porous Electrode Reaction nodes. In the Chemical species transport
interfaces the coupling however needs to be set up manually by the Electrode Surface
Couplingnodes. When modeling porous electrodes, the corresponding coupling node
to create a source/sink in a domain is the Porous Electrode Coupling node.
jm i m
N j = – ---------------
-
nm F
This means that the flux Nj of chemical species j into the surface is proportional to the
current density im due to reaction m drawn at an electrode-electrolyte interface. The
constant of proportionality is the stoichiometric number for the species divided by nm,
the number of electrons transferred in reaction m, in a reductive direction and F the
Faraday constant (96,485 C/mol, the absolute charge on a mole of electrons).
-
Ox + ne Red (2-1)
i loc a FE c FE
- = k fwd c R exp --------------- – k rwd c O exp – --------------
r = ------- - (2-2)
nF RT RT
where kfwd and krwd are reaction rate constants and cO and cR are the activities of the
oxidized and reduced species of the redox couple, respectively. The potential E is here
defined as
E = s – l (2-3)
and the transfer coefficients are equal the sum of electrons in the charge transfer
reaction according to
a + c = n (2-4)
cR c n cO a n
i 0 = i 0 ref ------------- -------------- (2-6)
c R ref c O ref
where i0, ref is the exchange current density at some chosen reference conditions, and
the overpotential is defined as
= E – E eq (2-7)
RT c R c R ref
E eq = E eq ref – -------- ln -----------------------
- (2-8)
nF c O c O ref
and Eeq, ref is the equilibrium potential at the same reference conditions.
Note that in Equation 2-5 both i0 and Eeq are concentration dependent. This has some
numerical drawbacks when modeling electrochemical cells including mass transport,
since for low concentrations of the participating species (that is, when cO0 or
cR0), the factor lncRcO may become undefined during the solution process. An
expression of the form of Equation 2-2 is more desirable since this expressions contains
a simple linear dependence on the species activities.
cR a F ref cO c F ref
i loc = i 0 ref ------------- exp -------------------- – -------------- exp – ------------------- (2-9)
c R ref RT c O ref RT
where
The layer of charge on the electrode and layer of opposite charge in the adjacent
electrolyte is called the double layer and can be thought of as behaving like a parallel
plate capacitor, since the absolute amount of charge it separates varies with the charge
density on the electrode, and hence with its voltage. The physics of double layer
structure and formation are highly complex and are not yet well understood. One of
the simplest empirical methods to account for the observed influence of capacitance
on polarization curves is to introduce a constant ideal capacitance across the
electrode-electrolyte interface.
This effect can be added to via the Double Layer Capacitance condition. The capacitor
stores a surface charge density QCdsl, and contributes a dynamic charging
current density (nonfaradaic current) equal to iNFdQ/dt. The total current
recorded in a real experiment equals:
i tot = i Far + i NF
Porous Electrodes
A porous electrode is one in which the three-dimensional structure of the electrode is
permeable to electrolyte. The electrode-electrolyte interface then extends over a much
larger surface area. This specific surface area (“SSA”, area per unit volume, units 1/m)
is a key property of a porous electrode. Additionally, such an electrode can conduct
electric current independently through its electrode and electrolyte domains.
Mathematically, a Total Current or Average Current Density condition implies setting the
potential of a boundary to be equal to an additional extra global potential degree of
freedom (floating potential) to comply with the specified current condition. For this
reason, solving for galvanic control is numerically slightly more complex.
Note that many galvanic corrosion situations are practically equivalent to a short circuit
of two electrodes consisting of different metals. In such models, the two metals are set
to the same potential. Usually this potential is chosen to be zero (ground).
• Electrode Potential
• Reference Electrode
The built-in Cyclic Voltammetry study step in the Electroanalysis interface can be used
to automatically set up the voltage sweep in a time-dependent study.
Common Simplifications When Modeling Electrochemical Cells
Electrode Surface
However, when modeling porous and gas diffusion electrodes the metal phase
potential is need typically to be included since the conductivity of the metal phase
potential can be much lower in this type of electrodes. This is done in the Porous
Electrode nodes.
HALF-CELL MODELS
Often, an investigator is only interested in the chemistry taking place at one electrode
in a cell. A model of one electrode is called a “half-cell model”.
One usually ignores the kinetics of the counter electrode in a model; commonly it is
represented by a constant potential boundary condition. Such a model is only valid if
the counter electrode can draw arbitrarily large amounts of current compared to the
working electrode, so that it never limits the current flow in the electrochemical cell.
One important example is the catalyst layer in a fuel cell. Since this layer is only
nanometers in size, transport across it is very fast compared to other parts of the
system. Hence, it is not necessary to resolve a distribution of concentrations or
potentials through the layer.
Another example is the passivation layer on an oxidized electrode surface, for which
the “Thin Film Resistance” setting can be used. Because the layer is much thinner than
its surroundings, the electric field through it is almost constant. Therefore, an ohmic
expression can be substituted to create a boundary condition with a potential drop.
This is much more efficient than meshing a geometrically narrow layer.
Film Resistance
It is better to use a layer of Infinite Elements around the finite simulation space to
project the simulation space to infinity, eliminating any error from artificially limiting
the simulation space. This is a typical approximation when the electrolyte domain is a
few orders of magnitude larger than the electrode: for example, a microelectrode in a
cm-scale reaction vessel.
• Start thinking about your cell in the lowest possible dimension. Starting with a 1D
model helps to understand the influence of different reactions in an electrochemical
system, and gives a good first estimate of current-voltage behavior. Go from 1D to
2D, then from 2D to 3D.
• Every electrode reaction adds numerical nonlinearities to your model. If you have
multiple electrode reactions, add them one at a time.
• Start with a simple description of the electrolyte current, such as Secondary Current
Distribution. Analyze the results to ensure that the electrochemical model is
consistent. Switch only to more complex electrolyte models, or add extra physics
such as mass transfer, heat transfer or flow, only if deemed necessary and when
satisfied with the results from a simpler case.
• If you are including flow in your model, solve for the flow field first before coupling
flow and electrochemistry together.
MODELING CHECKLIST
• Identify which domains are electrode and electrolyte. How will their conductivity
be assessed?
• What is happening on the electrode-electrolyte interfaces? Do both the anode and
the cathode need to be modeled? Do either need to be modeled as domains, or can
they be treated as boundaries?
• What electrochemical reactions take place at the electrode surfaces to cause charge
transfer? Can you parameterize their thermodynamics? Do you know the
Meshing Advice
The default triangular (2D) or tetrahedral (3D) mesh is normally suitable for solving
the equations describing conservation of charge and mass for a general electrochemical
problem.
Electrochemical models involving mass transport generally benefit from a finer mesh
at the electrode surfaces, and at singularities such as the boundary between an
electrode surface and an insulating surface. This may be accomplished by adding
additional Size mesh nodes for these boundaries only. Also, consider refining the
“element growth rate”, and/or using boundary layer meshing in 3D.
For fluid domains, the default physics-controlled mesh should be used, with boundary
layers as required.
For some problems with a stationary flow velocity field and time-dependent
convection of electrochemically reacting species, it may improve convergence to set up
a refined mesh without boundary layers for the species transport study step.
• Make sure that the potential levels are “boot-strapped” somewhere in the model,
preferably by grounding one electrode. If there is no potential level defined
anywhere in the model, your model may have infinitely many solutions, and the
model will not converge.
• Consider using a Stationary with Initialization or a Time Dependent with Initialization
study. Both these studies will use a Current Distribution Initialization study step as a
first step to solve for the potentials only. If you run into problems solving for the
second step in this study you may have to change the “Current distribution type”
setting to Secondary on the Current Distribution Initialization study step node, and
also review the Initial Values as described in the next bullet.
• Review the Initial Values, especially the potentials. Suitable initial potential values can
usually be derived making a “potential walk” through the geometry, starting at the
grounded boundary. Compute electric and electrolyte potentials in other domains
by assuming equilibrium potential differences between electrode and electrolyte for
the main electrode reactions.
• Switch to Linearized Butler-Volmer kinetics (or a Primary current distribution) while
troubleshooting. This can be useful to help achieve a solution for a model that does
not solve with nonlinear kinetics, thereby indicating suitable initial values for the
nonlinear problem.
• If your model contains porous electrodes, try refining the mesh resolution in these
domains, especially toward the electrolyte boundaries.
• Electrochemistry Interfaces
• Specifying Initial Values and Inspecting and Troubleshooting Meshes
in the COMSOL Multiphysics Reference Manual
• Review the Initial Values for the concentration values. Zero initial concentration
values can be unsuitable for tertiary current distribution problems and battery
simulations, since they could imply that no charge carriers or no reacting material is
present.
• If steep concentration gradients are expected close to electrode surfaces, use
boundary layer meshing or finer mesh Size settings at these boundaries.
• When setting up user-defined kinetics expressions, avoid evaluating negative
concentrations by using expressions such as max(c, eps^2), where eps is the
machine epsilon (a very small but finite number).
• Try to solve for low currents and low overpotentials first, then increase the cell load
(for stationary problems this can be done using an auxiliary sweep with
continuation).
• If a problem involving mass transport is hard to solve for high currents, but solves
for low currents, it might be due to mass transport limitations. In this case, review
the transport parameter values and check that the current magnitudes are
reasonable. If the current densities are unreasonably high, review the electrode
reaction settings.
• For time-dependent problems that run into convergence problems after a certain
time, review the solution at the last time-step. If the solution of a reactant reaches
zero or a maximum value (for insertion electrodes in batteries) when the
convergence issues occur, the current load of the model is too high in relation to
your initial concentrations or mass transport properties.
• Electrochemistry Interfaces
In the COMSOL Multiphysics Reference Manual:
• Solve certain physics interfaces in a sequence. This can in many cases reduce
computational time and improve convergence. Analyzing the results when solving a
physics interface separately can also help when troubleshooting a nonconverging
model.
• A good strategy is often to solve for the potentials only (that is, disable mass
transport and flow interfaces), using a stationary study step, before solving the full
model in the study sequence. In this way the stationary solution is used as initial
values for the following steps. This can be manually by modifying the settings of the
study node, or in an automated way by using the Stationary with Initialization or Time
Dependent with Initialization study sequences, as described above.
• In many models the flow profile is only slightly (or not at all) affected by changes in
current density. Therefore it can be a good strategy to solve separately for the flow
early in the study sequence, and then solve for the other physics interfaces in the
subsequent steps. (If the flow is not affected at all by the current distribution,
solving for the flow can be disabled entirely in consecutive steps.)
• Electrochemistry Interfaces
In the COMSOL Multiphysics Reference Manual:
• Double-Layer Capacitance
In the COMSOL Multiphysics Reference Manual:
SOLVER SETTINGS
Try adjusting the solver settings.
POTENTIAL VARIABLES
Several different potential variables are available for postprocessing and during
computation. The most common ones are described in Table 2-1.
TABLE 2-1: COMMON POTENTIAL VARIABLES.
xxx denotes the tag of the physics interface. For instance cd for the Secondary Current Distribution inter-
face.
yy denotes the tag of the (Porous) Electrode Reaction node, For instance er1 for an Electrode Reaction
node.
You can also define your own total current variable by using an Integration nonlocal
coupling across the electroactive boundaries. This variable can also be used during the
computation. In 1D axisymmetric and 2D axisymmetric components, make sure to
select the Compute integral in revolved geometry checkbox.
This chapter describes the physics interfaces found under the Electrochemistry >
Hydrogen Fuel Cells ( ) and > Water Electrolyzers ( ) branches.
In this chapter:
67
The Hydrogen Fuel Cell and Water
Electrolyzer Interfaces
The Hydrogen Fuel Cell (fc) and Water Electrolyzer (we) physics interfaces are used to
model the different electron and ion-conducting layers of various types of hydrogen
fuel cells, or water electrolyzer cells. Optionally, gas phase transport and Darcy’s law
for convection in porous media and flow channels may be enabled and also solved for
by the interfaces.
The interface supports simulation in 1D, 2D, and 3D as well as for axisymmetric
components in 1D and 2D.
Note that once added to a model, the Hydrogen Fuel Cell (fc) and the Water
Electrolyzer (we) interfaces are identical in terms of functionality and only differ by
some default parameter values (see below), the default name (fc/we), and the icon
( / ).
The Electrochemistry > Hydrogen Fuel Cell ( ) and the Electrochemistry > Water
Electrolyzers ( ) branches in the Model Wizard, or in the Select physics tab, contain
a number of different entries for adding either a Hydrogen Fuel Cell (fc) or a Water
Electrolyzer (we) physics interface, of different electrolyte types, to a model.
Depending on the selected entry, different species will be included by default in the
electrode gas mixtures, and gas phase diffusion will be enabled by default if there are
more than one species present a mixture. See also the H2 Gas Mixture and O2 Gas
Mixture section below.
The chosen Model Wizard entry will also have an effect on the default stoichiometry
and kinetics parameter values used when adding electrode reactions to the model. See
the Electrode Reaction Settings below.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
DOMAIN SELECTION
If any part of the model geometry should not partake in the fuel cell/electrolyzer
model, remove that part from the selection list.
If you expect concentration gradients in the gas diffusion electrodes (GDEs), gas
diffusion layers (GDLs) or the flow channels, you may choose to Include gas phase
diffusion in these sections. Gas phase diffusion can only be enabled if there are more
than one species present in the gas mixture.
Use Darcy’s law for momentum transfer for solving for the gas phase pressure using
Darcy’s Law in gas phase domains. This can be enabled individually for each gas
mixture in these sections. Note, however, that instead of using the built-in Darcy’s law
of the fc/we interface, you can instead couple the interface to any Fluid Flow
interface, or an analytical expression, by specifying the velocity explicitly in the Gas
Phase nodes or by using an Reacting Flow, H2/O2 Gas Phase multiphysics coupling
nodes.
If Use H2O(l) in Reaction Stoichiometry is enabled, this will allow for setting the
stoichiometric coefficient of liquid water in electrode reactions, which in turn may be
used for the built-in calculations of equilibrium and thermoneutral potentials. Unit
activity of H2O(l) will be assumed in all expressions.
The Charge-carrying ion setting (Proton, Hydroxide, Carbonate, Oxide or Generic) will
impact the default stoichiometry of electrode reactions and a built-in hydrogen
For all types except Generic, the Reference hydrogen electrode equilibrium potential,
Eeq,RHE (V), will be calculated using an internal database of reaction enthalpies and
entropies, in combination with the Reference hydrogen electrode temperature, which
should be a global value with no spatial dependency.
The Generic option will add no default stoichiometric coefficients, and for this case the
Eeq,RHE and the Charge of the charge-carrying ion will have to be specified explicitly.
Note that the Entropy of the charge-carrying ion has no impact on the equilibrium
potentials vs Eeq,RHE, but will have an effect the calculation of the thermoneutral
potentials. (See also Calculation of Built-in Equilibrium and Thermoneutral
Potentials.)
The following reaction stoichiometry will be used for calculating Eeq,RHE, and as
default for the electrode reactions on the H2 and O2 sides, respectively.
Proton:
+ -
2H + 2e H 2 (g)
+ -
O 2 (g) + 4H + 4e 2H 2 O(g)
Hydroxide:
- -
2H 2 O(g) + 2e H 2 (g) + 2OH
- -
O 2 (g) + 2H 2 O(g) + 4e 4OH
Carbonate:
- 2-
H 2 O(g) + CO 2 (g) + 2e H 2 (g) + CO 3
- 2-
O 2 (g) + 2CO 2 (g) + 4e 2CO 3
Oxide:
- 2-
H 2 O(g) + 2e H 2 (g) + O
The Operation mode setting (Fuel cell or Electrolyzer) will impact the default values of
the kinetics settings of added electrode reactions.
MEMBRANE TRANSPORT
In this section, transport of additional species (apart from the charge carrying ion) in
Membrane domains may be enabled. The section is available if Electrolyte type setting
is set to either Proton exchange or Hydroxide exchange.
The Crossover species include H2, O2, and N2. Note that the crossover species N2 is
available only if species N2 has been selected in both the H2 Gas Mixture and the O2 Gas
Mixture.
Electroosmotic water drag is available if the species H2O has been selected in both the
H2 Gas Mixture and the O2 Gas Mixture.
CONSISTENT STABILIZATION
This section is available when Stabilization is selected in the Show More Options dialog
shown when the Show More Options button ( ) is selected.
The stabilization settings are applicable separately for the H2 Gas Mixture and the O2
Gas Mixture and are available if the corresponding Include gas phase diffusion checkbox
is selected.
In convection-dominated parts of a cell where the mesh is not fine enough to resolve
the concentration gradients, for instance in a boundary layer, stabilization may be
added in order to avoid spurious oscillations in the solution, and to improve
convergence. In fuel cells and electrolyzer cells, stabilization is more likely to be
needed in the gas flow channels. In gas diffusion layers and gas diffusion electrodes
stabilization is usually not needed due to the lower flow velocities. The stabilization
expressions, particularly the crosswind diffusion expressions, may be costly to
compute. Therefore, it is recommended to add stabilization only if needed, for
instance when spurious gas mass fractions oscillations are observed in a solution.
There are two consistent stabilization methods available — Streamline diffusion (active
by default) and Crosswind diffusion (inactive by default). The Residual setting applies to
ADVANCED SETTINGS
From the Regularization list, select On (default) or Off. When turned On, regularized
mass fractions are selected such that they lie between 0 and 1. The regularized mass
fractions are used in the calculation of composition-dependent material properties,
such as density.
This section is available when the Advanced Physics Options is selected in the Show More
Options dialog shown when the Show More Options button ( ) is selected, in
combination with the Include gas phase diffusion checkbox being selected.
Note that the setting will only impact how potentials are interpreted in communication
between the physics and the Materials node. If the From material option is not in use
for equilibrium potentials or electrode kinetics, the setting has no impact.
This section is available when the Advanced Physics Options is selected in the Show More
Options dialog shown when the Show More Options button ( ) is selected.
• Electrolyte Phase
• Electronic Conducting Phase
• Gas Phase (H2 and O2)
The default phase nodes have their selections locked to all domains, but may have their
selections overridden by the following nodes, which may be added by the user:
• Membrane
• Separator
• Current Collector
• Gas Diffusion Electrode (H2 or O2)
• Gas Diffusion Layer (H2 or O2)
• Gas-Electrolyte Compartment (H2 or O2)
• Gas Flow Channel (H2 or O2)
These nodes define properties that do not pertain to the pure electrolyte or gas phases
such as porosities, permeabilities, and electronic conductivities. Electrode reactions are
added as subnodes to the gas diffusion electrode nodes.
Electrolyte Phase
The Electrolyte Phase node defines the governing domain equations for the electrolyte
phase.
Note that this node is added by default, and that you cannot alter the selection of the
node by settings on the node itself. The node will be active on domains selected by
Membrane, Separator, Gas Diffusion Electrode or Gas-Electrolyte Compartment
nodes.
Note that the node is added by default, and that you cannot alter the selection of the
node by settings on the node itself. The node will be active on domains selected by
Current Collector, Gas Diffusion Electrode or Gas Diffusion Layer nodes. The
electronic conductivity, Electric conductivity, s (SI unit: S/m), used in the domain
equations, is defined on these domains.
Gas Phase
The H2 Gas Phase and O2 Gas Phase nodes define the governing domain equations for
gas phase transport.
Note that these nodes are added by default, and that you cannot alter the selection of
the nodes by settings on the nodes themselves. The H2 Gas Phase and O2 Gas Phase are
active on domains selected by the corresponding H2/O2 Gas Diffusion Electrode,
Gas Diffusion Layer, Gas-Electrolyte Compartment or Gas Flow Channel nodes.
The H2 Gas Phase and O2 Gas Phase subnodes are only visible if the Include gas phase
diffusion checkbox, or if the Use Darcy’s law for momentum transport checkbox, are
enabled in the corresponding Gas Mixture section on the interface top node.
COMPOSITION
This section is only visible if any of the Include species checkboxes has been selected
and the Include gas phase diffusion checkbox has not been selected in the physics
interface top node.
The option Mole fractions is always available and text fields are used to specify the
mixture composition for all included species.
Humidified mixture allows for specifying a gas mixture using values for a dry gas
mixture, which is subsequently humidified to a specified relative humidity. The setting
is available if H2O has been selected in the corresponding Gas Mixture section on the
interface top node. Text fields are used to specify the mixture composition for all
Humidified air is available if H2O and N2 have been selected in the O2 Gas Mixture
section on the interface top node. Relative humidity, Humidification temperature, and
Humidification absolute pressure of the humidifier are also specified. The dry mole
fractions of the included species are set internally as follows: 0.79 (N2), 4e-4 (CO2)
and 1e-6(CO).
Given that the humidifier (inlet) temperature (Thum), absolute pressure (pA,hum) and
relative humidity (RHhum) of the humidifier (inlet) gases are known, the conversion
from a set of dry (containing no water vapor) molar fraction to a corresponding
humidified mixture may be calculated as follows. The water mole fraction is defined as
p vap T hum
x H2O = ------------------------------ RH hum
p A hum
The wet mole fractions for all species except water are then calculated from the dry
mixture molar fractions according to
x i = x i dry 1 – x H2O
MIXTURE PROPERTIES
In this section, the gas phase values for the Density and Dynamic viscosity are specified.
The mixture properties will for instance be used by the interface when modeling
momentum transport by Darcy’s law.
Note: Depending on the settings on the interface top node, the mixture property
values may or may not be used by the interface itself. However, the interface will
define mixture property variables that may be used when coupling to other physics
interfaces, either manually or by multiphysics nodes such as Reacting Flow, H2/O2 Gas
Phase. Additionally, the interface also defines liquid water properties (density and
dynamic viscosity) in the H2/O2 Gas Phase domain nodes that may be used when
coupling to other physics interfaces, if H2O has been selected in the corresponding
Gas Mixture section on the interface top node.
In this section, the values for the Vapor pressure and Heat of vaporization are specified.
The Vapor pressure is for instance used when specifying inlet and initial values for the
gas composition in terms of relative humidity. The Heat of vaporization is used for
automatic calculation of equilibrium and thermoneutral electrode reaction potentials
involving liquid water, as well as heat sources added by the Water
Condensation-Evaporation nodes and the Water Absorption-Desorption nodes.
CONVECTION
This section will only be visible if the Use Darcy’s law for momentum transport checkbox
has been disabled in the interface top node.
Specify the Velocity field of the gas. The velocity field can be specified explicitly, or
using an analytical expression, or coupled from any Fluid Flow interface, or by using
an Reacting Flow, H2/O2 Gas Phase multiphysics coupling node.
DIFFUSION
This section will only be visible if the Include gas phase diffusion checkbox has been
selected in the interface top node.
Specify the Binary diffusion coefficients for all pairs of species in the gas.
AUXILIARY SPECIES
This section will only be visible if Auxiliary species checkbox has been selected in the
interface top node.
Specify the properties of the auxiliary species, such as Molar Mass, Molar standard
enthalpy of formation, Molar standard entropy, and Molar heat capacity. The Fuller
diffusion volume is available if the Include gas phase diffusion checkbox has been selected
in the interface top node and if using Built-in Binary diffusion coefficients. The Dynamic
viscosity, Thermal conductivity and Boiling point are used for calculating the built-in gas
phase dynamic viscosity and thermal conductivity, and are available if using Built-in
Dynamic viscosity.
HYDROGEN/OXYGEN/NITROGEN CROSSOVER
These sections specifies the permeation (diffusion) of gases between the hydrogen and
oxygen gas phase mixtures, across the membrane.
The Crossover sections for H2, O2, and N2, available if the corresponding crossover
species has been selected in the Membrane Transport section on the interface top node,
can be used to specify the Permeation coefficient and the Henry’s law coefficient of the
corresponding species. The Heat of reactions, arising due to the parasitic reactions of
H2 and O2 species, is available if H2 or O2 has been selected as crossover species. The
Thermoneutral voltage is calculated automatically when the Built in option is used.
This section is visible if Electroosmotic water drag has been selected in the Membrane
Transport section on the interface top node. The Water transport model can be selected
as either Vapor equilibrated (default for fuel cells) or Liquid equilibrated (default for
electrolyzers). The Electroosmotic coefficient, the Water transport coefficient, and the
Standard condition gas pressure are specified in this section. The Heat of water
absorption is available if Electroosmotic water drag has been selected.
The Vapor pressure defined on this node is used for computing a domain water activity
(relative humidity) variable which corresponds to the computed water chemical
potential.
Separator
The Separator node specifies a domain with only an Electrolyte Phase node being
active. This node is typically used to separate two Gas-Electrolyte Compartment
domains of a liquid-electrolyte-based electrolyzer.
Current Collector
The Current Collector node specifies a domain with only the Electronic Conducting
Phase node being active.
GAS TRANSPORT
This section will only be visible if the Include gas phase diffusion checkbox or the Use
Darcy’s law for momentum transport checkbox has been selected in the corresponding
Gas Mixture section on the interface top node.
If the Include gas phase diffusion checkbox has been selected, the gas diffusivity defined
in the Gas Phase node will be multiplied by a correction factor to compensate for the
effect of the Gas pore volume fraction being less than 1. This can be done by either using
a Bruggeman, Tortuosity, or a User defined correlation.
If the Use Darcy’s law for momentum transport checkbox has been selected, the Gas
permeability is defined in this node.
Gas-Electrolyte Compartment
The H2 Gas-Electrolyte Compartment and O2 Gas-Electrolyte Compartment nodes specify
domains where both an Electrolyte Phase, and a Gas Phase node are active. This node
is typically used to model a hydrogen or oxygen evolving electrolyte compartment in
a liquid-electrolyte-based electrolyzer.
GAS TRANSPORT
This section will only be visible if the Include gas phase diffusion checkbox or the Use
Darcy’s law for momentum transport checkbox has been selected in the corresponding
Gas Mixture section on the interface top node.
If the Include gas phase diffusion checkbox has been selected, the gas diffusivity defined
in the Gas Phase node will be multiplied by a correction factor to compensate for the
effect of the Gas pore volume fraction being less than 1 (caused by the evolving gas).
This can be done by either using a Bruggeman, Tortuosity, or User defined correlation.
For Tortuosity, select either Isotropic to define a scalar value, or Diagonal or Symmetric
to define anisotropic tensor values.
If the Use Darcy’s law for momentum transport checkbox has been selected, the Gas
permeability is defined in this node.
If the Include gas phase diffusion checkbox has been selected, the gas diffusivity defined
in the Gas Phase node will be multiplied by a correction factor to compensate for the
effect of the Gas pore volume fraction being less than 1. This can be done by either using
a Bruggeman, Tortuosity, or User defined correlation. For Tortuosity, select either
Isotropic to define a scalar value, or Diagonal or Symmetric to define anisotropic tensor
values.
If the Use Darcy’s law for momentum transport checkbox has been selected, the Gas
permeability is defined in this node.
This node will be available if the Include gas phase diffusion checkbox or the Use Darcy’s
law for momentum transport checkbox has been selected in the corresponding Gas
Mixture section on the interface top node.
GAS TRANSPORT
If the Include gas phase diffusion checkbox has been selected, there are no settings on
this node. The gas diffusivity defined in the Gas Phase node.
If the Use Darcy’s law for momentum transport checkbox has been selected, the Gas
permeability is defined in this node.
The Gas permeability option of Straight channels can be used to specify the permeability
for a straight channel with a uniform cross section, for which analytical correlations
exist for expressing the flow rate as proportional to the volumetric flow. For a
2
16W
3
1 cosh n H – 1
g = W
-------- – --------------
-
-----------------------
- ---------------------------------------
2n – 1 sinh n H
12 5 5
H
n=1
n = ------------------------
2n – 1 -
W
In the COMSOL implementation of the above expression, the sum is truncated to the
first ten terms. It should be noted that the analytical expression renders a correct
average flow rate for a straight channel with no slip conditions on the channel walls.
To resolve the local flow field close to a wall, or for curved channels, solving for the
full set of the Navier–Stokes equations (as defined by the Laminar Flow, Brinkman
Equations, or Free and Porous Media Flow, Brinkman interfaces) is typically required.
However for cases were full accuracy of the local flow field is not required, the above
approximation may save substantial computational resources in terms of memory and
computation time.
Initial Values
Use this subnode to specify the initial values used by the solver of the dependent
variables defined by the parent node.
In the Initial Values subnode to the H2 Gas Phase and O2 Gas Phase nodes, Mixture
specification in the Initial Composition section can be used to specify mixture
composition in Mole fractions or Humidified mixture for all gas phase domains. The O2
Gas Phase node has an additional option of Humidified air for O2 gas phase domains.
The option Mole fractions is always available and text fields are used to specify the
mixture composition for all included species.
Humidified mixture allows for specifying a gas mixture using values for a dry gas
mixture, which is subsequently humidified to a specified relative humidity. The setting
is available if H2O has been selected in the corresponding Gas Mixture section on the
interface top node, and text fields are used to specify the mixture composition for all
included species except H2O. Additionally, the Relative humidity, Humidification
temperature, and Humidification absolute pressure of the humidifier are also specified.
Given that the humidifier (inlet) temperature (Thum), absolute pressure (pA,hum) and
relative humidity (RHhum) of the humidifier (inlet) gases are known, the conversion
from a set of dry (containing no water vapor) molar fraction to a corresponding
humidified mixture may be calculated as follows. The water mole fraction is defined as
p vap T hum
x H2O = ------------------------------ RH hum
p A hum
The wet mole fractions for all species except water are then calculated from the dry
mixture molar fractions according to
x i = x i dry 1 – x H2O
In the Initial Values subnode to the Membrane node, Specify water chemical potential as
can be used to specify water Activity, Liquid water pressure, or water Chemical potential.
The default From parent option specifies water activity for Vapor equilibrated model and
liquid water pressure for Liquid equilibrated model, respectively, chosen on the parent
node.
The selection is locked to the intersection of the parent node and the O2 Gas Phase
node.
The selection is locked to the intersection of the parent node and the H2 Gas Phase
node.
H 2 O(g) H 2 O(l)
The node may be used for adding an additional mass source due to water
condensation–evaporation. Note that mass source may also be added to liquid water if
Include H2O(l) in reaction stoichiometry is active in the corresponding Gas Mixture
section on the interface top node. The Condensation-Evaporation Rate may be defined
using the From vapor pressure, or by a User defined expression. The node contains text
fields for specifying the Rate constant and Reference pressure, in case of the default From
vapor pressure option. The rate expression is added to the rate variable for gaseous
water (based on the reaction stoichiometry), which is in turn used in the domain
equations for diffusion and/or Darcy’s law if these are active on the interface top node.
The Heat of reaction is calculated automatically when the Built in option is used.
The default selection is all domains of the parent node, but may be changed.
The water gas shift reaction defines the reaction of carbon monoxide and water vapor
to form carbon dioxide and hydrogen according to
The water gas shift reaction is of particular interest for fuel cells operating on fuel
stemming from hydrocarbon reformation, containing significant amounts of carbon
dioxide and carbon monoxide. The reaction is also of general interest in molten
carbonate fuel cells and electrolyzers, due to the presence of carbon dioxide in the
hydrogen fuel/product fluid stream.
The Heat of reaction is calculated automatically when the Built in option is used.
The default selection is all domains of the parent node, but may be changed.
Reaction Sources
This subnode is available to the Gas Phase nodes when the Advanced Physics Options is
selected in the Show More Options dialog shown when the Show More Options button
( ) is selected, in combination with the Include gas phase diffusion or Use Darcy’s law
for momentum transport checkbox being selected in the interface top node for the
corresponding gas mixture.
The node may be used for adding additional mass sources in a model, typical stemming
from nonfaradaic reactions such as water condensation-evaporation or water drag in a
low-temperature fuel cell, or homogeneous reactions such as the water gas shift
reaction in a molten carbonate fuel cell. The node contains text fields for specifying the
mass or molar reaction sources of all active gas phase species, including liquid water.
The Heat Source is calculated automatically when the Built in option is used.
The default selection is all domains of the parent node, but may be changed.
The node specifies the stoichiometry, thermodynamics, and kinetics of a gas diffusion
electrode reaction.
EQUILIBRIUM POTENTIAL
The equilibrium potential may be defined using the Nernst equation, From material, or
by a User defined expression.
The Built in option for the Reference equilibrium potential is based on the reaction
stoichiometry and the enthalpies and entropies of the reacting species.
REFERENCE PRESSURES
Both the exchange current density and the equilibrium potential of an electrode
reaction depend on the partial pressures of the reacting species. By the use of a
reference state (a given set of partial pressures) and the Reference equilibrium potential
and Reference exchange current density, analytical expressions such as the Nernst
equation (for the equilibrium potential) and Mass action law or Lumped multistep (for
the Butler–Volmer kinetics) may be used to calculate the corresponding partial-pressure
dependent values.
Specify the species partial pressures for the reference state used for defining the
Reference exchange current density and the Reference equilibrium potential. The default
value (1 atm) refers to standard conditions.
If the Reference equilibrium potential is set to Built in, the settings of this section only
applies to the Reference exchange current density.
ELECTRODE KINETICS
The settings of this section define how the overpotential of the electrode reaction
relates to the local current density on the (catalyst) electrode surface.
See also Electrode Reaction in Shared Physics Features in the Current Distribution
Interfaces.
The Built in option for the Thermoneutral voltage is based on the reaction stoichiometry
and the entropies of the reacting species.
• Insulation (default)
• Electric Ground
• Electric Potential
• Electrode Current
• Electrode Current Density
• Electrode Power
• Internal Electrode Contact Resistance
• Insulation (default)
• Electrolyte Potential
• Electrolyte Current Density
• Internal Electrolyte Contact Resistance
• No Flux (default)
• Inlet
• Electrode Surface
• Internal Electrode Surface
• Periodic Condition
Insulation
The Insulation boundary condition describes the walls of a cell or the boundaries of the
cell that do not face a conductor. The boundary condition imposes the following
equation:
ik n = 0
where ik denotes the current density vector and k = l, s is an index for the electrolyte
and electrode, respectively.
Electrolyte Potential
Add the Electrolyte Potential node as a subnode to the Electrolyte Phase for a boundary
with a fixed potential at a position in the electrolyte.
The node sets the potential in the electrolyte, l, to be equal to the Boundary electrolyte
potential, l,bnd (SI unit: V).
Note that using this node in 2D or 3D may result in an uneven potential distribution
along the boundary.
Electric Ground
The node can be added as a subnode to Electronic Conducting Phase. This node sets
the electric potential to zero. The node is typically used to ground the voltage at the
current collector of the hydrogen side of the cell.
CONTACT RESISTANCE
Enabling Include contact resistance allows for a Contact resistance Rc (SI unit: ·m2)
to be specified and the following current density condition is used:
–
– n i s = -------s-
Rc
Electric Potential
The node can be added as a subnode to Electronic Conducting Phase. This node sets
the electric potential in the electrode (or a porous electrode), s, to a value, sbnd
according to the following:
s = s bnd
The node is typically used to set the cell voltage at the current collector of the oxygen
side of the cell.
s bnd – s
– n i s = ---------------------------
-
Rc
HARMONIC PERTURBATION
Enable Include harmonic perturbation to specify the Perturbation amplitude value. This
setting will be used by the Frequency-Domain Perturbation study step when running an
AC Impedance study.
Electrode Current
Use the Electrode Current node to set the total current or average current density over
an external at an external boundary of an Electronic Conducting Phase domain —
typically at the interface between the electrode and the current collector or current
feeder. The condition sets the total inward current without imposing the current
density distribution. The potential along the boundary is calculated in order to satisfy
the total value of the current.
When using the Total current option in 1D or 2D, the boundary area is based either
on the Cross-sectional area (1D), or the Out-of-Plane thickness (2D) parameters.
CONTACT RESISTANCE
Enabling Include contact resistance allows for a Contact resistance Rc (SI unit: ·m2)
to be specified.
HARMONIC PERTURBATION
Enable Include harmonic perturbation to specify the Perturbation amplitude value. This
setting will be used by the Frequency-Domain Perturbation study step when running an
AC Impedance study.
Note that using this node in 2D or 3D may result in an uneven potential distribution
along the boundary. To mitigate such effects, use the Electrode Current node instead.
Electrode Power
The Electrode Power boundary condition sets the power drawn from, or inserted to,
the cell at an external boundary of an Electronic Conducting Phase domain
When using the Total power option in 1D or 2D, the boundary area is based either on
the Cross-sectional area (1D), or the Out-of-Plane thickness (2D) parameters.
CONTACT RESISTANCE
Enabling Include contact resistance allows for a Contact resistance Rc (SI unit: ·m2)
to be specified.
No Flux
The No Flux node is the default boundary condition available for exterior boundaries
of Gas Phase nodes. It should be used on boundaries across which there is no mass flux,
typically exterior solid walls where no surface reactions occur. The condition applied
for each species corresponds to
–n ji = 0
The Mixture specification section is available if the Include gas phase diffusion checkbox
has been selected on the interface top node. The mixture composition can be specified
using the following quantities in:
Humidified mixture allows for specifying a gas mixture using values for a dry gas
mixture, which is subsequently humidified to a specified relative humidity. The setting
is available if H2O has been selected in the corresponding Gas Mixture section on the
interface top node, and text fields are used to specify the mixture composition for all
included species except H2O. Additionally, the Relative humidity, Humidification
temperature, and Humidification absolute pressure of the inlet humidifier are also
specified.
Humidified air is available for the O2 Inlet node, if H2O and N2 have been selected in
the O2 Gas Mixture section on the interface top node. Relative humidity, Humidification
temperature, and Humidification absolute pressure of the inlet humidifier are also
specified. The dry mole fractions of the included species are set internally as follows:
0.79 (N2), 4e-4 (CO2) and 1e-6(CO).
Given that the humidifier (inlet) temperature (Thum), absolute pressure (pA,hum) and
relative humidity (RHhum) of the humidifier (inlet) gases are known, the conversion
p vap T hum
x H2O = ------------------------------ RH hum
p A hum
The wet mole fractions for all species except water are then calculated from the dry
mixture molar fractions according to
x i = x i dry 1 – x H2O
The Flow boundary condition section is available if the Use Darcy’s law for momentum
transport checkbox has been selected on the interface top node. The flow inlet
condition can be specified using the From initial values, Pressure, or Total mass flow rate
options.
Outlet
The H2 Outlet and O2 Outlet nodes are the preferred boundary conditions at outlets
where the species are to be transported out of the model domain. It is useful at outlets
where it is assumed that convection is the dominating effect driving the mass flow.
If the Include gas phase diffusion checkbox has been selected on the interface top node,
the boundary condition is applied to all selected gas species and corresponds to:
– n i Dik dk = 0
k
If the Use Darcy’s law for momentum transport checkbox has been selected on the
interface top node, the outlet Pressure can be specified.
Flux
This subnode is available to the Gas Phase nodes when the Advanced Physics Options is
selected in the Show More Options dialog shown when the Show More Options button
( ) is selected, in combination with the Include gas phase diffusion or Use Darcy’s law
for momentum transport checkbox being selected in the interface top node for the
corresponding gas mixture.
Water Absorption-Desorption
The Water Absorption-Desorption, H2 side and Water Absorption-Desorption, O2 side
nodes are available if Electroosmotic water drag has been selected in the Membrane
Transport section on the interface top node. These nodes are added by default and the
selection is locked to all intersection boundaries of the Membrane and the respective
Gas Phase nodes.
The node sets up the boundary conditions that define the absorption-desorption water
flux between the membrane and the neighboring gas phase domain. The node also
contributes to the boundary heat source variable, based on the Heat of water absorption
parameter on the parent node.
The Water absorbs-desorbs as setting controls if the node should contribute to the rate
variables for gaseous or liquid water. This setting is available for Chemical potential or
User-defined rate options. If Gas is selected, and if the Include gas phase diffusion
checkbox or the Use Darcy’s law for momentum transport checkbox has been selected
in the corresponding Gas Mixture section on the interface top node, the corresponding
absorption-desorption mass fluxes are added to these equations. If Liquid is selected,
the corresponding absorption-desorption mass flux is added to the flux variable for
H2O(l), if Include H2O(l) in reaction stoichiometry is active in the corresponding Gas
Mixture section on the interface top node. Note that Vapor absorption-desorption will
absorb-desorb water as for the Gas setting and Liquid water pressure as for the Liquid
setting.
The electrode is assumed to be so thin that any current and species distribution effects
along the electrode thickness can be neglected.
The volumetric current density and corresponding mass sources/fluxes of the Thin
Gas Diffusion Electrode Reaction subnodes are multiplied by the Electrode Thickness
parameter, and applied as a boundary conditions.
FILM RESISTANCE
Use a film resistance if you want to include an additional potential drop due to an
ohmic resistance at the interface between the electrode and the electrolyte (a contact
resistance), for instance due to build-up of insulating deposits.
Specify either a Surface resistance Rfilm (SI unit: ·m2) directly or choose the Thickness
and conductivity option to calculate the surface resistivity based on a depositing film
thickness.
FILM RESISTANCE
Use a film resistance if you want to include an additional potential drop due to an
ohmic resistance at the interface between the electrode and the electrolyte (a contact
resistance), for instance due to build-up of insulating deposits.
Specify either a Surface resistance Rfilm (SI unit: ·m2) directly or choose the Thickness
and conductivity option to calculate the surface resistivity based on a depositing film
thickness.
FILM RESISTANCE
Use a film resistance if you want to include an additional potential drop due to an
ohmic resistance at the interface between the electrode and the electrolyte (a contact
resistance), for instance due to build-up of insulating deposits.
Specify either a Surface resistance Rfilm (SI unit: ·m2) directly or choose the Thickness
and conductivity option to calculate the surface resistivity based on a depositing film
thickness.
Regarding the settings of the node, see Gas Diffusion Electrode Reaction.
Regarding the settings of the node, see Gas Diffusion Electrode Reaction.
Periodic Condition
Use the Periodic Condition to define a periodic relation between two boundaries — for
instance, in a model describing a repetitive unit cell.
Use the Apply for electrolyte phase and Apply for electronic conducting phase checkboxes
to enable the periodic condition for the electrolyte and electrode phase potentials,
respectively. Additionally, the periodic condition for the chemical potential is enabled
when Electroosmotic water drag checkbox is selected under Membrane Transport
section.
By specifying a Potential difference, an offset in potential (typically per unit cell) can be
prescribed.
For general theory on electrode reactions, kinetics, as well as mass and heat sources,
see also
i s = – s eff s (3-1)
where iv,tot (A/m3) is the sum of a volumetric current density contributions of the
electrode reactions occurring in the Gas Diffusion Electrode domains.
is = 0
i l = – l eff l (3-3)
i l = i v tot (3-4)
where iv,tot (A/m3) is the sum of a volumetric current density contributions of the
electrode reactions occurring in the Gas Diffusion Electrode domains.
il = 0
DARCY’S LAW
When Darcy’s law is enabled, the gas phase nodes solve for a pressure variable p (Pa).
THEORY FOR THE HYDROGEN FUEL CELL AND WATER ELECTROLYZER INTERFACES | 99
The Darcy’s law equations are documented in Theory for the Darcy’s Law Interface.
–2 1.75 1- + ------ 1-
1.01325 10 T ------
0 Mi Mj
D i j = -------------------------------------------------------------------------------- (3-5)
1 1 2
--- ---
3 3
P v + v
i
j
where T denotes the temperature (K), Mi the molecular weight of species i (g/mol),
P is the pressure (Pa), and vi are the atomic diffusion volumes (Fuller diffusion
volume) (cm3).
TABLE 3-1: DIFFUSION VOLUMES USED FOR CALCULATING BINARY DIFFUSION COEFFICIENTS.
H2 6.12
O2 16.3
H2O 13.1
N2 18.5
CO 18
CO2 26.9
CH4 25.15
x
---------------------
i i v
v =
-
i
x j i j
j
where
i j RM i j – RM i0.45 j
A i j = -------------------- 1 + ----------------------------------------------------------------------------------------- (3-7)
RM i j 1 + RM i0.45
2 1 + RM i j + ------------------------------------------------ j
i j 1 + RM i j
with
4M i M j 1 / 4 M
i j = ----------------------------2 , RM i j = -------i (3-8)
Mi + M Mj
j
where i,v is the vapor viscosity of each individual species, and Mi are the molecular
weights.
x
--------------------
i i v
v =
-
(3-9)
i
x j i j
j
2
T + 3
--- T b i 9
T + S ij --4- T b i T b j
M 3 / 4 2
= --- 1 + ---------- ------- ------------------------------ ------------------------------------------------------
1 i v j
i j (3-10)
4 j v M i T + 3
--- T T + --- T b i
3
2 b j 2
In the above formula, the summations are done for all active species, where i,v and
i,v are the individual vapor thermal conductivity and dynamic viscosity correlations as
a functions of temperature for the pure gases, respectively. The normal boiling points
Tb,i and the species molecular weights are also considered. The factor Sij equals 0.773
if either i or j represents the index of water (steam). For all other cases Sij =1.
THEORY FOR THE HYDROGEN FUEL CELL AND WATER ELECTROLYZER INTERFACES | 101
Since the above equation relies on the individual species viscosities, the thermal
conductivity is only calculated in gas phase domains using built-in (that is, not
user-defined) dynamic viscosities.
i c p i
C p mix = --------------
Mi
-
i
where Cp,mix is the heat capacity of the fluid mixture in J/(kg·K), cp,i is the species
heat capacity in J/(mol·K).
r H = i Hi
i
where Hi = Hi(T) are the enthalpies of formation of the reacting species of index i, and
i the stoichiometric coefficients.
r S = i Si
i
Hi and Si are generally known for liquids and gases, whereas for ions the values will
depend on the nature of the electrolyte in use, and are hence hard to measure
experimentally.
r G = r H – T r S
and the thermoneutral voltage, required to compute electrode reaction heat sources, is
–r H
E therm = -------------
-
nF
For the charge-conducting ion in the electrolyte, entropy, and enthalpy values are
however generally not known and need to be set by the user. The stoichiometric
coefficient of the charge-carrying ion is derived from the number of electrons
participating in the charge transfer reaction and the charge carrying ion charge as
n-
ion = – --------
z ion
For convenience, the built-in equilibrium potentials are defined versus a reversible
reference hydrogen electrode (RHE) for the same electrolyte type, for a specified
reference temperature. This will have the effect that the HOR/HER will have an
equilibrium potential in a model close to 0 V, and the ORR/OER reaction will have
an equilibrium potential ranging from around 1.2 (at room temperature) to 1.0 V (at
800°C). This shift facilitates setting for instance initial values for the potential
dependent variables in a model.
The reference equilibrium and thermoneutral potentials used by the electrode reaction
node, versus the RHE, are defined as
– r G ref
E eq ref = -------------------
- – E eq RHE
nF
and
–r H
E therm = -------------
- – E eq RHE
nF
where
r G ref = r H – T r S ref
THEORY FOR THE HYDROGEN FUEL CELL AND WATER ELECTROLYZER INTERFACES | 103
with Sref being the change in entropy at the chosen reference conditions (typically
1 atm).
Note that due to cancellation in the equation for Eeq, ref, the values of the ion entropy
(0 by default) has no impact on the equilibrium potentials values (nor the overall cell
voltage and energy balance), but it will impact how the thermoneutral voltage Etherm
and corresponding heat sources for the individual electrode reactions are computed.
Assuming that the vapor behaves as an ideal gas, and that the liquid water is
incompressible, the following equation for the entropy of liquid water can be derived
p vap H vap
S H2O(l) = – R ln ----------
- – ------------- + S H2O(g)
p ref T
p vap
RH = ----------
-
p ref
For hydrogen and oxygen, these species will be quickly oxidized/reduced when
reaching the other side of the cell. These reactions give rise to small parasitic current
densities which will have an effect on, for instance, the open circuit voltage of the cell.
For nitrogen, typically diffusing from the oxygen to the hydrogen side in air-operated
fuel cells, the crossover may result in a dilution effect of the hydrogen fuel.
H 2 (g) H 2 (mem)
The dissolved hydrogen then diffuses through the membrane, and in the gas diffusion
electrode on oxygen side, the hydrogen gets oxidized according to (depending on
charge-carrying ion):
Proton exchange:
+ -
H 2 (mem) 2H + 2e
Hydroxide exchange:
- -
H 2 (mem) + 2OH 2H 2 O(g) + 2e
Due to the highly anodic overpotential potential for the hydrogen oxidation reaction
on the oxygen side, the reaction operates at a limiting current density, completely
governed by the molar flux of hydrogen though the membrane.
O 2 (g) O 2 (mem)
The dissolved oxygen then diffuses through the membrane and in the gas diffusion
electrode on hydrogen side, oxygen gets reduced according to (depending on the
charge-carrying ion):
Proton exchange:
+ -
O 2 (mem) + 4H + 4e 2H 2 O(g)
Hydroxide exchange:
- -
O 2 (mem) + 2H 2 O(g) + 4e 4OH
THEORY FOR THE HYDROGEN FUEL CELL AND WATER ELECTROLYZER INTERFACES | 105
Due to the highly cathodic overpotential potential for the oxygen reduction reaction
on the hydrogen side, the reaction operates at a limiting current density, completely
governed by the molar flux of oxygen though the membrane.
N 2 (g) N 2 (mem)
c i mem
- + J i mem = 0
-------------------
t
J i mem = – i p ref a i
where Ji,mem (mol/(m2·s)) is the molar flux of the species and i (mol/(m·s Pa)) is
the corresponding permeation coefficient. pref is a reference pressure, arbitrarily set to
1 atm.
The species concentration in the membrane ci,mem (mol/m3) used in the time
derivative term is calculated based on Henry’s law according to
p ref
c i mem = a i --------- H i
RT
Note that, for isothermal conditions, the transport equation is equivalent to Fick’s law
of diffusion according to
c i mem
- + – D i c i mem = 0
-------------------
t
p H2 g
a H2 = ----------------
p ref
where pH2(g) is the hydrogen partial pressure in the adjacent gas phase. Hydrogen is
assumed to be instantly oxidized when it reaches an electrode on the oxygen gas side.
On Membrane boundaries adjacent to oxygen Gas Diffusion Electrode domains (or
oxygen Thin Gas Diffusion Electrode boundaries), the hydrogen activity is set to
a H2 = 0
p O2(g)
a O2 = --------------
-
p ref
where pO2(g) is the oxygen partial pressure in the adjacent gas phase. Oxygen is
assumed to be instantly reduced when it reaches an electrode on the hydrogen gas side.
On Membrane boundaries adjacent to hydrogen Gas Diffusion Electrode domains (or
hydrogen Thin Gas Diffusion Electrode boundaries), the oxygen activity is set to
a O2 = 0
On Membrane boundaries adjacent to any Gas Phase domain, the nitrogen activity
aN2 is set to
p N2(g)
a N2 = --------------
-
p ref
THEORY FOR THE HYDROGEN FUEL CELL AND WATER ELECTROLYZER INTERFACES | 107
CONTRIBUTIONS TO CURRENT DISTRIBUTION MODEL
For the adjacent oxygen gas diffusion electrode boundaries where aH2,mem is set to 0,
the corresponding oxidation charge transfer reaction will give rise to a local crossover
current density iloc according to
nF n J H2 mem
i loc = -------------------------------------------
-
H2
Similarly, the local crossover current density iloc on adjacent hydrogen gas diffusion
electrode boundaries becomes
nF n J O2 mem
i loc = -------------------------------------------
-
O2
The local crossover current density is added as normal current density contributions
for the electronic and electrolyte potentials, respectively:
n i l = i loc
n i s = – i loc
Parasitic reactions not involving the H2/O2 species are not added by default, but may
be added as ordinary electrode reactions in gas diffusion electrodes.
HEAT OF REACTIONS
The parasitic reactions of the H2/O2 species also give rise to boundary heat sources.
The thermoneutral potential Etherm is defined as
–r H
E therm = -------------
- – E eq,RHE
nF
where n is the number of electrons included in the electrode reaction, and the
corresponding heat source Qb is defined as
Q b = i loc s – l – E therm
n j i + u s i n = n M i J i mem
The above contributions are also added to the momentum transfer equation and Stefan
velocity as
n u = n Mi Ji mem
i
u s = – n ji + us i n
i
For any gas species participating in the parasitic hydrogen oxidation or oxygen
reduction reaction, the corresponding mass flux contribution, on Membrane
boundaries adjacent to H2/O2 Gas Diffusion Electrode domains or H2/O2 Thin Gas
Diffusion Electrode boundaries, is
M i i i loc
n j i + u s i n = – --------------------
-
nF
The above contribution is also added to the momentum transfer equation and Stefan
velocity as
M i i i loc
n u = – --------------------
nF
-
i
u s = – n ji + us i n
i
THEORY FOR THE HYDROGEN FUEL CELL AND WATER ELECTROLYZER INTERFACES | 109
MEMBRANE WATER TRANSPORT MODEL
A complication when modeling the water-ion-polymer system is that the water-ion
friction forces need to be taken into account in the transport equations both for the
ions as well as the water molecules. The Weber-Newman model (Ref. 7) is based on
concentrated solution theory, taking into account all three binary interactions between
the charge-carrying ion, the immobilized polymer matrix and the water molecules.
The model introduces the chemical potential of water in the polymer 0 (J/mol) as
dependent variable, and defines the polymer water flux, N0 (mol/(m2·s)), as
2
l l
N 0 = – -------- l + + ----------
- 0
F F
2
N0 = 0
in the domain. The electrolyte phase charge balance equations gets a contribution
from the water flux by adding a water flux term to the current vector as follows
l
i l = – l l – -------- 0
F
CHEMICAL POTENTIAL
The chemical potential driving force may generally be defined as
where a0 is the thermodynamic activity of water, VH2O is the partial molar volume of
water, and pH2O(l) is the liquid water pressure. VH2O is defined as
where MH2O is the molar mass and H2O is the density of water at the operating
temperature.
For a vapor-equilibrated membrane, the parameters l, , and typically all depend on
the polymer water content. When measuring water uptake and other polymer
electrolyte properties (such as l, , and ), it is common to report these versus the
water activity, aw, which is not the same as the thermodynamic activity a0.
p H2O(g) x H2O(g) p g
a w = -------------------- = ------------------------
-
p vap T p vap T
where is the pH2O(g) is the partial water pressure, pvap is the vapor pressure, and pg is
the gas pressure. At an interface between a polymer electrolyte and the gas phase,
assuming the polymer phase to be in equilibrium with the gas phase (and ideal gas
conditions), the following condition holds
pg p vap T
a 0 = x H2O(g) -----0- = --------------------
0
aw
pg pg
0
where p g is the standard condition gas pressure (typically 1 atm or 1 bar). The
corresponding water activity inside the polymer electrolyte for a vapor-equilibrated
polymer, for which the liquid pressure pH2O(l) is 0, may hence be defined as
0 0
pg pg 0
a w = -------------------- a 0 = -------------------- exp --------
p vap T p vap T RT
Gas diffusion electrodes typically have a large electrolyte-gas phase interface area, in
combination with fairly short diffusion lengths in the transport direction perpendicular
to the pore walls. The water activity in the polymer of the gas diffusion electrode may
be approximated to always be in equilibrium with the adjacent gas phase in the pores.
THEORY FOR THE HYDROGEN FUEL CELL AND WATER ELECTROLYZER INTERFACES | 111
Hence the expression for aw in the gas phase may be used also for the polymer in gas
diffusion electrodes, and 0 need not to be solved for explicitly.
For a membrane in contact with vapor, the liquid pressure pH2O(l) is 0 Pa, and the
chemical potential 0 relates to the thermodynamic activity a0 as
0 = RT ln a 0
so that
0
a 0 = exp --------
RT
Experimentally, the interface between a membrane and the vapor phase is often seen
to exhibit a mass transfer resistance, where the absorption rate rabs,dsp follows a
relationship based on the difference in the thermodynamic water activity between the
two phases, as follows
p H2O(g)
r abs,dsp = k abs,dsp ------------------
- – a 0
p 0
g
where kabs,dsp (mol/(m2 s)) is a rate constant and the activity of water in the gas phase
has been assumed to equal the partial pressure pH2O(g) divided by the standard
0
condition pressure p g (ideal gas conditions).
– n N 0 = r abs,dsp
For a membrane in contact with liquid water, aw is equal to 1. Interfaces of this kind
have been empirically found to exhibit way lower mass transfer resistances than for the
vapor case. For this case, the boundary condition may be formulated based on the
liquid pressure pH2O(l) as
p vap T
0 = RT ln -------------------
- + V H2O p H2O(l)
p 0g
r abs,dsp = – n N 0
The absorbed-desorbed water adds to the boundary mass flux of the neighboring gas
phase according to
The water may be transported into the gas phase domain in either the liquid water
phase or as vapor. The above contribution is also added to the momentum transfer
equation and Stefan velocity as
n u = – M H2O r abs,dsp
u s = – n j H2O + u s H2O n
Q b = r abs,dsp r H abs(g)
where rHabs(g) is the heat of absorption for vapor into the polymer electrolyte. If the
water transport occurs in the liquid phase, the heat source becomes
References
1. J. Newman and K. Thomas-Alyea, Electrochemical Systems, John Wiley & Sons
2004.
2. E.N. Fuller, P.D. Schettler, and J.C. Giddings, “A new method for prediction of
binary gas-phase diffusion coefficients,” Ind. Eng. Chem. Res., vol. l 5, pp. 19–27,
1966.
3. R.S. Brokaw, “Approximate formulas for the viscosity and thermal conductivity of
gas mixtures. ii,” [Link]. Phys. vol. 42, no. 4, pp. 1140–1147, 1965.
4. A.L. Lindsay and L.A. Bromley, “Thermal conductivity of gas mixtures,” Ind. Eng.
Chem. Res., vol. 42, no. 8, pp. 1508–1511, 1950.
THEORY FOR THE HYDROGEN FUEL CELL AND WATER ELECTROLYZER INTERFACES | 113
5. HJ Kretzschmar and W. Wagner, International Steam Tables, Properties of Water
and Steam based on the Industrial Formulation IAPWS-IF97, 3rd Edition, 2019,
Springer-Verlag GmbH Germany.
Electrochemistry Interfaces
This chapter describes the physics interfaces found under the Electrochemistry
branch ( ).
In this chapter:
115
The Primary and Secondary Current
Distribution Interfaces
In this section:
Only the physics interface-specific nodes are described here. All other
nodes in the Primary Current Distribution and Secondary Current
Distribution interfaces are described in Shared Physics Features in the
Current Distribution Interfaces
Use this physics interface for generic modeling of electrochemical cells. It can be
combined with interfaces modeling mass transport to describe concentration
dependent (tertiary) current distributions.
Use the Current Distribution Type setting on the physics interface node, described
below, to switch between a Primary Current Distribution and a Secondary Current
Distribution interface.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is cd.
DOMAIN SELECTION
CROSS-SECTIONAL AREA
The selection between Primary or Secondary governs how electrode reactions are
modeled on interfaces between electrodes and electrolytes.
• Models using a Primary current distribution type use potential constraints (Dirichlet
boundary conditions), according to the equilibrium potential setting.
• Secondary current distribution models use current flux conditions (Neumann
boundary conditions) according to the sum of all electrode reaction current
densities.
DEPENDENT VARIABLES
This physics interface defines dependent variables (fields) for the Electrolyte potential
and Electric potential. The names can be changed but the names of fields and
dependent variables must be unique within a model.
DISCRETIZATION
The interface uses Linear elements by default and this setting is recommended for most
problems. Certain types of problems, such as models using porous electrodes, or
current distribution problems in two dimensions or higher, may benefit in terms of
solution accuracy from using Quadratic elements.
To see all settings in this section, click the Show More Options button ( ) and select
Advanced Physics Options in the Show More Options dialog.
Electrolyte
Use the Electrolyte node to define an electrolyte domain that only conducts current in
the ion conducting phase.
Note that electrolyte in this case does not refer to the pore electrolyte in porous
electrodes (which should be defined by a Porous Electrode node instead).
Initial Values
Use this node to specify the Initial Values of the electrolyte potential and the electric
potential for the solver.
For many electrochemical problems that use nonlinear electrode kinetics, such as
Butler–Volmer kinetics, providing reasonable initial values can significantly improve
solver convergence.
A good value for the Electric potential (SI unit: V) in electrode and porous electrode
domains can usually be derived from the boundary conditions. For instance, if a
boundary has been grounded or set to a cell potential, use that value as the initial value
also in the adjacent domain. For the Electrolyte potential (SI unit: V) a good initial
value is often the negative of the equilibrium potential of the grounded electrode.
Note: For Primary current distributions, or for models solved using a Current
Distribution Initialization study step set to Primary, the settings of this section usually
have limited impact on the solver convergence.
Porous Electrode
The Porous Electrode node sets up charge balances for the electrode and the pore
electrolyte in a porous electrode. Note that the node should be used for porous
domains that conduct current in both an electrolyte and an electrode phase. For the
case of domains that do not contain a pore electrolyte — for instance, a current
collector/feeder or a gas diffusion layer (GDL) in a fuel cell — use an Electrode node
instead.
Use Porous Electrode Reaction subnodes to define the charge transfer reactions that
occur on the interface between the electrolyte and electrode phases within the porous
electrode. For the Secondary Current Distribution interface, the Porous Matrix
Double-Layer Capacitance subnode is also available.
You may use the Effective conductivity correction factors to account for the lowered
effective conductivities of the electrode and electrolyte phases due to the lower volume
fractions of each phase, and the tortuosity of the porous matrix.
The Electrode volume fraction is used to calculate the effective electric conductivity of
the porous matrix when the correction factor is set to Bruggeman or Tortuosity.
Additionally, it is used in calculating the active specific surface area of the porous matrix
when Particle-based area option is selected in the child nodes.
DISSOLVING-DEPOSITING SPECIES
Use the settings of this section to define species that participate in
dissolution-deposition electrode reactions within the porous electrode, for instance
metal deposition/dissolution or oxide formation.
Use the Add ( ) and Delete ( ) buttons as needed in the tables to control the
number of species.
Dependent variables for the volumetric molar concentration are added for each
dissolving-depositing species. These variables can be used to keep track of the amount
of reacted material in the porous electrode. The total molar dissolution/deposition
rate depends on the reaction rates and stoichiometry, defined in the Porous Electrode
Reaction subnodes.
The Density and Molar mass determine the electrode growth velocity and the resulting
dissolved/deposited layer thickness. By multiplying by the electrode surface area (in
the case of multiple electrode reaction the average surface area is used), the change in
electrode and electrolyte volume fractions can be also be calculated. By use of the Add
volume change to electrode volume fraction (not available for Separator node of Tertiary
Current Distribution interface) and Subtract volume change from electrolyte volume
fraction checkboxes you may define how these volume changes should be included in
the model.
Thickness variables, based on the surface area, are also defined that you for instance
can use to couple to the Film Resistance (see below).
ADSORBING-DESORBING SPECIES
See the Electrode Surface node.
Periodic Condition
Use the Periodic Condition to define a periodic relation between two boundaries — for
instance, in a model describing a repetitive unit cell.
Use the Apply for electrolyte phase and Apply for electrode phase checkboxes to enable
the periodic condition for the electrolyte and electrode phase potentials, respectively.
By specifying a Potential difference, an offset in potential (typically per unit cell) can be
prescribed.
Thin insulating sheets are commonly inserted in the electrolyte in various types of
electrochemical cells. For example they may be used for optimizing the current
distribution in a corrosion protection application, of for optimizing the local
deposition rate in a deposition bath.
For the case of Resistive, the Surface Resistance can either be set directly, or calculated
from Thickness and Conductivity values.
ADVANCED SETTINGS
Enable Slit electric potential in porous electrodes to make the layer fully insulating for
the electrode phase potential along the selected boundaries.
The electric current conduction in the tangential direction of an edge can be described
by Ohm’s law or a Fixed electric potential or a Floating potential assuming infinite
conductivity of the edge or an External short electric potential which allows to connect
two electrodes over an external connector with a given bulk resistance or a Connection
point electric potential which allows to define a location for connections to other
locations in the model.
An Edge Electrode can only be applied to edges within, or adjacent to, Electrolyte
domains.
A default Electrode Reaction subnode is added by default to the feature. Double Layer
Capacitance, External Current Source, Electric Ground, Electric Potential, and Electrode
Current subnodes can also be added to the feature.
FILM RESISTANCE
See the Electrode Surface node. The section is only available when a Secondary current
distribution has been selected on the parent node.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
This node is available as a subnode to the Edge Electrode node, when Ohm’s Law has
been selected as the electric potential model.
Various nodes are also available and described for the Transport of Diluted Species
interface. See Domain, Boundary, and Pair Nodes for the Transport of Diluted Species
Interface
Ohm’s law is used in combination with a charge balance to describe the flow of
currents in the electrodes. The charge transfer reactions can be defined as boundary
SETTINGS
The Label is the physics interface node name that will be shown in the model builder
tree.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is tcd.
DOMAIN SELECTION
The domains that do not conduct current should be omitted from the selection list,
for example, the gas channels in a fuel cell.
OUT-OF-PLANE THICKNESS
For 2D components, the Thickness field (default value: 1 m) defines a parameter for the
thickness of the geometry perpendicular to the two-dimensional cross-section. The
value of this parameter is used, among other things, to automatically calculate the total
current from the current density vector. The analogy is valid for other fluxes.
CROSS-SECTIONAL AREA
For 1D components, enter a Cross-sectional area Ac (SI unit: m2) to define a parameter
for the area of the geometry perpendicular to the 1D component. The value of this
parameter is used, among other things, to automatically calculate the total current
from the current density vector. The analogy is valid for other fluxes. The default is
1 m2.
A Supporting electrolyte describes a situation where the major part of the charge is
transferred by ions whose concentration can be described as constant.
The Poisson option couples the Nernst–Planck equations for mass transport to the
Poisson equation for describing the potential distribution in the electrolyte, without
any assumption of electroneutrality. This option is typically used when modeling
problems where charge separation effects are of interest, typically within nanometers
from an electrode surface.
For the Electroneutrality option, the From electroneutrality list sets the species that is
calculated from the corresponding condition. Note that the choice of species to be
taken from electroneutrality affects the specific boundary conditions that can be set on
the eliminated species. For example, flux and concentration settings cannot be set for
the eliminated species, and initial values cannot be provided. The choice can also have
an impact on the numerics of the problem.
Note that the setting will only impact how potentials are interpreted in communication
between the physics and the Materials node. If the From material option is not in use
for equilibrium potentials or electrode kinetics, the setting has no impact.
ADVANCED SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options.
Normally these settings do not need to be changed. Select a Material Balance Form —
Nonconservative (the default) or Conservative. The selection affects the formulation of
the convective term and, for porous domain nodes, also the accumulation term in the
material balance. For compressible electrolytes the conservative form should be used.
In the absence of convection and electrolyte volume fraction changes (porosity), the
choice between the conservative and nonconservative form is arbitrary. The
nonconservative form is usually preferred due to a slighter lower computational load.
DEPENDENT VARIABLES
This physics interface defines these dependent variables (fields), the Concentrations of
the species, the Electrolyte potential, and the Electric potential.
The names can be changed but the names of fields and dependent variables must be
unique within a model.
DISCRETIZATION
Concentrations basis function orders higher than Quadratic are not recommended if
transport by convection is dominating in the model.
To see all settings in this section, click the Show More Options button ( ) and select
Advanced Physics Options from the Show More Options dialog.
• When the Crosswind diffusion checkbox is selected, a weak term that reduces spurious
oscillations is added to the transport equation. The resulting system is nonlinear.
There are two options for Crosswind diffusion type:
- Do Carmo and Galeão — the default option. This type of crosswind diffusion
reduces undershoot and overshoot to a minimum but can in rare cases give
equations systems that are difficult to fully converge.
- Codina. This option is less diffusive compared to the Do Carmo and Galeão
option but can result in more undershoot and overshoot. It is also less effective
for anisotropic meshes. The Codina option activates a text field for the Lower
gradient limit glim (SI unit: mol/m4). It defaults to 0.1[mol/m^3)/[Link],
where [Link] is the local element size.
• For both consistent stabilization methods, select an Equation residual. Approximate
residual is the default setting and it means that derivatives of the diffusion tensor
components are neglected. This setting is usually accurate enough and is faster to
compute. If required, select Full residual instead.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
What settings are available in this node depends on the Electrolyte Charge
Conservation setting, available on the top node. The Electrolyte conductivity (SI unit:
S/m) setting is only available for the Supporting Electrolyte option. Diffusivity and
mobility settings for H+ and OH- are only available for the Electroneutrality,
water-based option.
The Convection section is available when the Convection checkbox is selected on the
interface top node. The Velocity field u (SI unit: m/s) of the solvent is specified as a
feature input. Select the source of velocity field from the velocity field list.
By default the Mobility (SI unit: s·mol/kg) for each species is set to be calculated based
on the diffusion coefficients (SI unit: m2/s) specified in the Diffusion section and the
temperature using the Nernst–Einstein relation.
The mobility setting will only have an impact on the transport by migration of charged
species, as defined by the Charge number zc (dimensionless, specify negative charges
using a minus sign). For the Electroneutrality charge conservation model you need at
least one positively and one negatively charged species (ion) in the electrolyte.
Specify the temperature (if you are using mobilities based on the Nernst-Einstein
relation) in the Model Inputs section.
Note that the electrolyte in this case does not refer to the pore electrolyte in porous
electrodes (which should be defined by a Porous Electrode node instead). For porous
separators, use the Separator instead.
• Electrolyte Theory
• Domain Equations for Tertiary Current Distributions Using the
Nernst–Planck Equations and Electroneutrality
Note that the node should be used for porous domains that conduct current in both
an electrolyte and an electrode phase. For the case of domains that do not contain a
pore electrolyte — for instance, the gas diffusion layer (GDL) in a PEMFC electrode
— use an Electrode node instead.
Use Porous Electrode Reaction child nodes to define the charge transfer reactions that
occur on the interface between the electrolyte and electrode phases within the porous
electrode. The Porous Matrix Double Layer Capacitance subnode is also available.
See the Electrolyte node for more information about the Diffusion and Migration in
Electric Field settings of this node.
The Electrode volume fraction is used to calculate the effective electric conductivity of
the porous matrix when the correction factor is set to Bruggeman or Tortuosity.
Additionally, it is used in calculating the active specific surface area of the porous matrix
when Particle-based area option is selected in the child nodes.
DISSOLVING-DEPOSITING SPECIES
See the Porous Electrode node of The Primary and Secondary Current Distribution
Interfaces
ADSORBING-DESORBING SPECIES
See the Electrode Surface node.
Separator
Use a Separator node to model electrolyte charge and mass transport in an
electronically isolating porous matrix. Use correction factors to account for the
lowered diffusion coefficients in the electrolyte and the lowered conductivities of the
electrode, due to the lower volume fractions of each phase and the tortuosity of the
porous matrix.
See also the Electrolyte node for more information about the Diffusion and Migration in
Electric Field settings of this node.
DISSOLVING-DEPOSITING SPECIES
See the Porous Electrode node of The Primary and Secondary Current Distribution
Interfaces
Reactions
Use the Reactions node to define nonelectrochemical reactions in an electrolyte
domain.
REACTING VOLUME
When specifying reaction rates in the Rc2 (SI unit: mol/m3·s) fields for a species in a
Porous Electrode domain, the specified reaction rate expression may either refer to the
total volume or the pore (electrolyte) volume. For nonporous domains the settings of
the Reacting Volume section has no impact.
For Total volume the reaction expressions are used as specified (multiplied by unity).
For Pore volume this results in the specified reaction expressions being multiplied by
the domain electrolyte volume fraction l. (l equals unity for nonporous domains).
For many electrochemical problems that use nonlinear electrode kinetics, such as
Butler–Volmer kinetics, providing reasonable initial values can significantly improve
solver convergence.
A good value for the Electric potential (SI unit: V) in electrode and porous electrode
domains can usually be derived from the boundary conditions. For instance, if a
boundary has been grounded or set to a cell potential, use that value as the initial value
also in the adjacent domain. For the Electrolyte potential (SI unit: V) a good initial
value is often the negative of the equilibrium potential of the grounded electrode.
For the Concentration initial values, at least one positive and one negative charged
species should have a nonzero and positive initial value (after considering the
electroneutrality condition). The initial value for the ion calculated from the
electroneutrality condition cannot be set explicitly.
The node models the transport of all species added at the interface top node, and adds
a fixed space charge to the electroneutrality condition.
The Fixed space charge specifies the charge ions fixed in the membrane polymer matrix.
Use negative space charges for cation selective membranes and positive charges for
anion selective membranes, respectively.
Select the Apply Donnan Boundary Conditions checkbox to enable Donnan equilibrium
conditions on all interior boundaries between the domain selected by the node and all
adjacent domains selected by the interface (except Electrode nodes). The boundary
conditions are applied for all species and the electrolyte potential dependent variable.
This option is not available for the Poisson charge conservation model option.
For the remaining settings of this node, see the Electrolyte and Separator nodes.
Note that using the Ion Exchange Membrane domain node often is a more convenient
modeling approach if the transported species in the free electrolyte and ion exchange
membrane are the same.
The choice of Charge-carrying species concentration species specifies that the current
flowing over the boundary will be carried by this species (which must have a nonzero
charge number). Use the Membrane potential setting to set the electrolyte potential on
the membrane side of the boundary. Note that if this potential is set to the electrolyte
potential of a Primary or Secondary Current Distribution interface, no additional
settings are needed in that interface to set up the correct boundary condition.
The potential condition may be either Donnan, which will calculate the potential shift
over the boundary based on the membrane charge carrying species concentration, or
can be User defined.
The layer may either be Insulating, Resistive (supporting electrolytes only), or an Ion
exchange membrane.
For Resistive or Ion exchange membrane, the potential drop over the membrane is
determined either from the Surface resistivity or the Thickness and conductivity.
The nodes are available from the Physics ribbon toolbar (Windows users), Physics
context menu (macOS or Linux users), or right-click to access the context menu (all
users).The nodes and features described in this section are available for all the
Electrochemistry branch interfaces unless otherwise indicated.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
The node is typically used for modeling solid metal electrodes, current collectors,
current feeders, gas diffusion layers and gas backings.
The Electric conductivity s (SI unit: S/m) parameter will define how the current in the
domain depends on the gradient of the potential.
Electrode Theory
See the Electrode Surface node for a description of the Electrode Phase Potential
Condition and Harmonic Perturbation sections.
is = Qs
where
i s = – s s
The Current source, Ql (SI unit: A/m3), is added according to the following equation:
il = Ql
To use this feature, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog. Then add the node from the Additional
Sources submenu.
See the Electrode Reaction node for a description of the Equilibrium Potential,
Electrode Kinetics, Stoichiometric Coefficients and Heat of Reaction sections.
Use this node to simulate transient analysis techniques such as AC-impedance analysis
and current interrupt studies. Note that for stationary problems the double-layer
current is zero.
This node is not available for the Primary Current Distribution interface.
STOICHIOMETRIC COEFFICIENTS
Use the settings of the Stoichiometric Coefficients section (not available in the Primary
or Secondary Current Distribution interfaces) to control what species are participating
in the double-layer charging — that is, the mass exchange between the double layer
and the electrolyte outside the double layer.
The number of participating electrons should be chosen so that the mass exchange is
scaled correctly to the double layer charging current.
The stoichiometric coefficients, i, should be chosen considering the situation when
the porous electrode is being cathodically polarized. In other words, use a negative
stoichiometric coefficient for ions (species Si) that are transported into the double layer
of the electrode that is being cathodically polarized (typically the cations), and positive
stoichiometric coefficients for ions (species Si) that are transported out of the double
layer (typically the anions).
Insulation
The Insulation boundary condition describes the walls of a cell or the boundaries of the
cell that do not face a conductor. The boundary condition imposes the following
equation:
ik n = 0
where ik denotes the current density vector and k = l, s is an index for the electrolyte
and electrode, respectively.
Symmetry Theory
Electrode Surface
Use the Electrode Surface node to model an electrochemical electrode-electrolyte
interface between an electrolyte domain and an electrode boundary where the
electrode is not included explicitly as a domain in the model geometry. Set the electric
potential of the electrode or specify a current condition that the potential of the
electrode shall fulfill, and use subnodes to specify the Electrode Reaction and the
Double-Layer Capacitance at the interface.
This node can only be applied on outer boundaries to electrolyte domains. For interior
boundaries between electrolyte and electrode domains, use the Internal Electrode
Surface node. For interior boundaries to electrolyte domains, use the Perforated
Electrode Surface node.
DISSOLVING–DEPOSITING SPECIES
Use the settings of this section to define species that participate in
dissolution-deposition electrode reactions, for instance metal deposition/dissolution
or oxide formation.
Use the Add ( ) and Delete ( ) buttons as needed in the table to control the
number of species.
The Density and Molar mass, in conjunction with the reaction rates and stoichiometry,
defined in the Electrode Reaction subnodes, determine the normal electrode growth
rate.
When the Solve for species concentrations variables checkbox is checked, dependent
variables for the molar surface concentration of the dissolving–depositing species are
added. These can be used to model the thickness of a dissolving/depositing layer in a
When solving for the species concentration variables, corresponding thickness variables
are defined that you for instance can use to couple to the Film Resistance (see below).
ADSORBING–DESORBING SPECIES
Use the settings of this section to define species that may adsorb or desorb on the
electrode surface during charge transfer, or nonfaradaic, reactions.
The Density of sites parameter will be used to set up the local surface mass balance
equations for the fractional surface coverages.
Use the Add ( ) and Delete ( ) buttons as needed in the table to control the
number of species. The name of each adsorbing–desorbing Species may be edited in
the first column of the table. Use a Site occupancy number larger than unity for species
that occupy more than one site at the electrode surface.
According to the settings of the table, the fractional surface coverage variable names
will be defined according to xxx.theta_yyy_zzz where xxx is the interface name,
yyy the tag of the electrode surface node, and zzz the species name. The variable
xxx.thetafree_yyy represents the fraction of free surface sites. These variable names
may be used when defining kinetics parameters in Electrode Reaction subnodes.
FILM RESISTANCE
Use a film resistance if you want to include an additional potential drop due to an
ohmic resistance at the interface between the electrode and the electrolyte, for instance
due to build-up of insulating deposits.
Specify either a Surface resistance Rfilm (SI unit: ·m2) directly or choose the Thickness
and conductivity option to calculate the surface resistivity based on a depositing film
thickness.
Use the Electric potential option to set the value of the potential explicitly with respect
to ground whereas the Electrode potential will set the potential value with respect to a
reference potential. Total current, Average current density, and External short all add an
extra global degree of freedom for the potential in the electrode phase, set to comply
with the chosen condition. When using the Total current option in 1D or 2D, the
boundary area is based either on the Cross-sectional area (1D), or the Out-of-Plane
thickness (2D) properties, set on the physics interface top node.
In the Lithium-Ion Battery and the Battery with Binary Electrolyte interfaces, if the
Define cell state of charge (SOC) and initial charge inventory checkbox has been ticked in
the Cell Settings section on the physics interface top node, the Total current can be
specified either explicitly or as a multiple of the C-rate current variable
(xxx.I_1C_cell, where xxx is the physics interface tag) that is defined by the global
SOC and Initial Charge Distribution node.
See also the documentation for the Electrode Potential and External Short nodes for
further information about these boundary condition.
End potential
Cycle 1 Cycle 2
Vertex 1
Vertex 2
Start potential
Figure 4-1: Electric potential vs time generated by the cyclic voltammogram boundary
condition. The linear sweep rate is 100 mV/s, the number of cycles is 2. Potentials levels are
also shown.
More advanced waveforms can be obtained using the Electric potential option with a
parameter setting based on Functions found in the Definitions menu.
The Counter electrode option will set a potential to ensure an overall charge balance of
the cell so that the integral of all electrode reaction currents of all electrode surface
node sums up to zero.
When Add events at vertex potentials in cyclic voltammetry is enabled, solver events are
added at the vertex potentials for the cyclic voltammogram. When the vertex potentials
are reached, these events cause the solver to stop, reinitialize some variables, and then
continue. This typically improves solver convergence. In addition, by forcing the
time-dependent solver to resolve the time steps when the vertex potentials are reached,
the solution accuracy is improved, especially if the solver is set to output solutions
before and after events.
The setting determines which equilibrium potential value will be used for defining the
primary current distribution constraint. When the First reaction has been selected, the
first electrode reaction subnode must be active in the model.
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
CONSTRAINT SETTINGS
For primary current distributions, the use of weak constraints will in some cases give a
more accurate value of the local current density during the solver process. This may in
turn render more accurate results when coupling to the local current density variable
to describe other phenomena in the model, for instance when modeling geometry
deformation due to electrode dissolution/deposition.
The section is available in the Primary Current Distribution and Secondary Current
Distribution interfaces when the Current Distribution Model property has been set to
Primary.
This section is only available in the Primary Current Distribution and Secondary
Current Distribution interfaces when the Current Distribution Model property has been
Electrode Reaction
The Electrode Reaction subnode defines the electrode kinetics for a charge transfer
reaction that occurs on an electrolyte-electrode interface boundary. Use multiple
nodes to model multiple reactions, for instance in mixed potential problems.
The parent node may be either an Internal Electrode Surface or an Electrode Surface.
Note that all settings described below are not available for all Electrochemistry
interfaces.
EQUILIBRIUM POTENTIAL
The Equilibrium potential, Eeq (SI unit: V), is used in the electrode kinetics expressions
in the Electrode Kinetics section (via the definition of the overpotential), or for setting
up primary current distribution potential constraints.
The equilibrium potential may be defined either in the Materials node (From material),
by using the Nernst Equation, or by using a User defined expression.
For all interfaces except the Tertiary Current Distribution interface, the concentration
dependence is based on the user-defined Reduced species expression CR (unitless) and
Oxidized species expression CO (unitless) parameters. CR and CO should be defined so
that the quotient between them is 1 for the reference state (for which Eeq Eeq,ref).
REFERENCE CONCENTRATIONS
This section is only available in the Tertiary Current Distribution interface, if the
equilibrium potential has been selected to be defined by the Nernst Equation.
The reference concentrations define the reference state for which Eeq Eeq,ref.
ELECTRODE KINETICS
The settings of this section will define the local current density, iloc (SI unit: A/m2),
at the interface between the electrolyte and the electrode. Note that iloc for all built-in
kinetics expression types will depend on the overpotential, which in turn depend on
the Equilibrium potential defined in the previous section.
The Local current density expression, iloc,expr (SI unit: A/m2), can be defined either in
the Materials node (From material), by using the From kinetics expression, or by using
a User defined expression.
For all kinetic expressions the Exchange current density i0 (SI unit: A/m2) is a measure
of the kinetic activity. The exchange current density is typically concentration
dependent.
Most kinetic expression types feature the Limiting Current Density option in order to
impose an upper limit on the local current density magnitude. The feature can be used
to model additional mass transport limitations that are not already included in the local
current density expression. For Limiting Current Density enter a value for ilim
(SI unit: A/m2).
When using the Nernst Equation for defining the equilibrium potential (see above), the
concentration dependence of the Exchange current density i0 can be defined in a
thermodynamically consistent way in accordance with the Nernst equation, in
combination with a Reference exchange current density i0,ref (A/m2), which is the
exchange current density when Eeq Eeq,ref.
For all interfaces except the Tertiary Current Distribution interface, the concentration
dependence when using From Nernst Equation will use CR and CO as preexponential
factors for the anodic and cathodic terms, respectively. In the Tertiary Current
Distribution interface, the Lumped multistep option can be used to define i0 by the use
of either Generic exponentials, or Anodic or Cathodic reaction orders. The Mass action
law will define the reaction orders according to the reaction stoichiometry and the law
of mass action.
The Anodic Tafel slope, a (SI unit: V), defines the required increase in overpotential
to result in a tenfold increase in the current density.
Note that the combination of Nernst equation and the Butler-Volmer kinetics type will
in most cases render identical kinetics as for the Concentration Dependent Kinetics. It
is recommended to always use Nernst Equation + Butler–Volmer whenever possible,
since this combination is guaranteed to be thermodynamically consistent.
The kinetics expression type defines an irreversible electrode reaction where the
kinetics is so fast that the only factor limiting the reaction rate is the transport of a
species to the reacting surface.
The node will set the Rate limiting species concentration to zero at the boundary, and
balance the fluxes of the species participating in the reaction and the current densities
according to the Stoichiometric Coefficients settings.
In the Secondary Current Distribution interface the condition set by this expression
type is mathematically identical to what is applied when a Primary Current
STOICHIOMETRIC COEFFICIENTS
Specify the Number of participating electrons nm in the electrode reaction and the
Stoichiometric coefficient (vc1, vc2, and so forth) for each of the involved species
according to the following generic electrochemical reaction:
Set i as positive (red) for the reduced species and negative (ox) for the oxidized
species in an electrochemical reaction. The number of participating electrons, n,
should be positive.
If the concentration of a species in the charge conservation model for the electrolyte is
based on an algebraic expression (such as the electroneutrality condition, or the water
auto ionization), the stoichiometric coefficient for this species cannot be set explicitly.
The stoichiometric coefficient will instead be set implicitly, based on the number of
electrons and the stoichiometric coefficients of the other species participating in the
reaction.
HEAT OF REACTION
The Heat of Reaction section provides two options: Temperature derivative and
Thermoneutral voltage to calculate the reversible heat source of the electrode reaction,
which in turn can be used for coupling to heat transfer physics.
The Thermoneutral voltage parameter, Etherm (SI unit: V), can be specified in case of
Thermoneutral voltage selection.
Double-Layer Capacitance
The Double-Layer Capacitance node describes the nonfaradaic currents due to charge
and discharge of the double layer situated at the interface between the electrode and
the electrolyte. The resulting double-layer current density on the boundary depends
on the time derivative of the potentials and is proportional to the Electrical double-layer
capacitance Cdl (SI unit: F/m2). The parent node may be either an Internal Electrode
Surface or an Electrode Surface.
Use this node to simulate transient analysis techniques such as AC-impedance analysis
and current interrupt studies. Note that for stationary problems the double-layer
current is zero.
This node is not available for the Primary Current Distribution interface.
STOICHIOMETRIC COEFFICIENTS
Use the settings of the Stoichiometric Coefficients section (not available in the Primary
or Secondary Current Distribution interfaces) to control what species are participating
in the double-layer charging — that is, the mass exchange between the double layer
and the electrolyte outside the double layer.
The number of participating electrons should be chosen so that the mass exchange is
scaled correctly to the double layer charging current.
The stoichiometric coefficients, i, should be chosen considering the situation when
the porous electrode is being cathodically polarized. In other words, use a negative
stoichiometric coefficient for ions (species Si) that are transported into the double layer
of the electrode that is being cathodically polarized (typically the cations), and positive
stoichiometric coefficients for ions (species Si) that are transported out of the double
layer (typically the anions).
Apart from the applicable selection, the node is identical to the Electrode Surface
node.
Electrode domain
s
Electrolyte domain
l
The node can be applied at interior boundaries between electrode and electrolyte
domains, and to external boundaries of porous electrode domains. Note that, due to
the high conductivity of many electrode materials, a Current Conductor domain can
many times be replaced an external condition at the electrolyte boundary. For such
cases, consider using the Electrode Surface instead.
Electrolyte Potential
Add the Electrolyte Potential node from Electrolyte submenus for boundaries, edges,
and points to set a fixed potential at a position in the electrolyte. This node can be used
to model half-cells, or to set the electrolyte potential at the position of, for example, a
reference electrode.
The node sets the potential in the electrolyte, l, to be equal to the Boundary electrolyte
potential, l, bnd (SI unit: V).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
Electrolyte Current
The Electrolyte Current boundary condition sets the total current or average current
density of a boundary. The condition sets the total inward current without imposing
the current density distribution. It will set a constant electrolyte potential along the
given boundary, that satisfies the current value setting.
When using the Total current option in 1D or 2D, the boundary area is based either
on the Cross-sectional area (1D) or the Out-of-Plane thickness (2D) properties, set on
the physics interface top node.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
Note that using this node in 2D or 3D may result in an uneven potential distribution
along the boundary. To mitigate such effects you may use the Electrode Current node
instead.
By right-clicking this node you may enable Harmonic Perturbation. This means that the
node will only be active when solving for Frequency Domain study steps (typically used
in AC Impedance studies). The frequency spectrum is specified in the study node.
A thin electrode layer can be used to model, for instance, a contact impedance between
two electronic conductors.
For the case of Resistive, the Surface Resistance can either be set directly, or calculated
from Thickness and Conductivity values.
ADVANCED SETTINGS
Enable Slit electrolyte potential in porous electrodes to make the layer fully insulating
for the electrolyte phase potential along the selected boundaries.
Electrode Reaction and Double-Layer Capacitance subnodes are available from the
context menu (right-click the parent node) or from the Physics toolbar, Attributes
menu.
This node is available for the Secondary Current Distribution and Tertiary Current
Distribution, Nernst–Planck interfaces.
BOUNDARY CONDITION
This section specifies the potential of the electrolyte phase for the electrolyte-electrode
interface. The electrolyte potential is used (via the overpotential) by the Electrode
Reaction subnodes.
The Electrolyte potential will set the potential value directly, whereas Total current or
Average current density both add an extra global degree of freedom for the potential in
the electrolyte phase, set to comply with the chosen condition.
When using the Total current option in 1D or 2D, the boundary area is based either
on the Cross-sectional area (1D) or the Out-of-Plane thickness (2D) properties, set on
the physics interface top node.
Electric Ground
This node to sets the electric potential to zero.
The node is typically used to ground the voltage at an external boundary in a model
that contains either electrode or porous electrode domains.
CONTACT RESISTANCE
Enabling Include contact resistance allows for a Contact resistance Rc (SI unit: ·m2)
to be specified and the following current density condition is used:
–
– n i s = -------s-
Rc
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
s = s bnd
The node is typically used to set the cell voltage at an external boundary in a model
that contains either electrode or porous electrode domains.
CONTACT RESISTANCE
Enabling Include contact resistance allows for a Contact resistance Rc (SI unit: ·m2)
to be specified and the following current density condition is used:
s bnd – s
– n i s = ---------------------------
-
Rc
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
Note that using this node in 2D or 3D may result in an uneven potential distribution
along the boundary. To mitigate such effects you may use the Electrode Current node
instead.
By right-clicking this node you may enable Harmonic Perturbation. This means that the
node will only be active when solving for Frequency Domain study steps (typically used
in AC Impedance studies). The frequency spectrum is specified in the study node.
Electrode Current
Use the Electrode Current node to set the total current or average current density over
an external electrode or porous electrode boundary — typically at the interface
between the electrode and the current collector or current feeder. The condition sets
In the Lithium-Ion Battery and the Battery with Binary Electrolyte interfaces, if the
Define cell state of charge (SOC) and initial charge inventory checkbox has been ticked in
the Cell Settings section on the physics interface top node, the Total current can be
specified either explicitly or as a multiple of the C-rate current variable
(xxx.I_1C_cell, where xxx is the physics interface tag) that is defined by the global
SOC and Initial Charge Distribution node.
When using the Total current option in 1D or 2D, the boundary area is based either
on the Cross-sectional area (1D), or the Out-of-Plane thickness (2D) properties, set on
the physics interface top node.
CONTACT RESISTANCE
Enabling Include contact resistance allows for a Contact resistance Rc (SI unit: ·m2)
to be specified.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
Electrode Power
The Electrode Power boundary condition sets the power drawn from, or inserted to, an
electrical cell at external electrode boundary.
When using the Total power option in 1D or 2D, the boundary area is based either on
the Cross-sectional area (1D), or the Out-of-Plane thickness (2D) properties, set on the
physics interface top node.
Harmonic Perturbation
Use the Harmonic Perturbation subnode to specify the voltage amplitude perturbation
in the frequency domain. The harmonic perturbation is only applied when solving for
a Frequency Domain study type, which is typically used in AC Impedance studies.
The Harmonic Perturbation subnode can be added to the Electric Potential, Electrolyte
Potential. The subnode is available from the context menu (right-click the parent
node) or from the Physics toolbar in the Contextual group.
You may also specify harmonic perturbations to the Electrode Current Density,
Electrolyte Current Density and Electrode Surface nodes.
Electrode Potential
Use the Electrode Potential node to set a boundary condition for the electric potential
with respect to a defined reference potential.
Electric potentials defined by the Electric Reference Potential and Reference Electrode
point nodes can be used as input when specifying the Electric reference potential vs,ref
(SI unit: V).
External Short
Use the External Short node to connect two electrodes over an external connector with
a given Resistance R (SI unit: ohm).
The boundary selected in the External Short node will be set to a constant potential,
s,here, and the integrated current over the boundary will be computed according to
Ohm’s law:
s = s here
s here – s there
s here : n Is dd = – ---------------------------------------
R
-
d
where s,there (V) is the potential of the connected electrode. Use the Connected
Potential list to choose among available connection potentials for the value of s,there.
This node is available as a subnode for the Electrode Surface, Perforated Electrode
Surface and Internal Electrode Surface. The node is not available if no adsorbing–
desorbing species are present in the parent node.
This node is available as a subnode for the Internal Electrode Surface and
Electrode-Electrolyte Boundary Interface. The node is not available if no dissolving–
Nonfaradaic Reactions
Use the Nonfaradaic Reactions node to define the reaction rate for dissolving–
depositing species due to nonfaradaic (not electrochemical) reactions that occur on the
boundary.
Reference Electrode
The Reference Electrode node is a point feature applicable to electrolyte domains. It
defines a global electric reference potential and can be used in the Electrode Potential
node for setting the electric potential of an electrode boundary with respect to the
reference potential.
EQUILIBRIUM POTENTIAL
See Electrode Reaction for information about the settings of this section.
Use the Circuit Terminal node to specify a coupling to the External I vs U node in the
Electrical Circuit interface.
OVERVIEW
The interface defines the individual transport of electrolyte species using the
Onsager-Stefan-Maxwell equations, which account for the binary interactions between
all modeled species in the mixture. In the Species section (see below), the active species
(cations, anions and neutral species) of the electrolyte mixture are defined. A minimum
of one cation and one anion needs to be defined. Internally, various matrix operations
are then performed in order to render an equation system defining an electrolyte phase
potential (default variable name: [Link]) and n 2 (where n is the total number of
electrolyte species) neutral electrolyte component fraction (cet.y_XXX) dependent
variables.
The names (XXX) of the electrolyte component fractions are generated automatically,
and are based on the species names and charges. For instance, the species set consisting
of the cation Fe (set to charge +2), the anion OH (charge -1) and the neutral species
H2O, will render the two electrolyte components Fe_OH_2 and H2O. Note that the main
purpose of defining the neutral electrolyte components is to generate an electroneutral
base for the dependent variables of the equation system, and the resulting chemical
formulas for the neutral salts may have no correspondence to for instance solid salt
compounds in nature.
The interface adds one Electrolyte node and one Reference Electrode as default
domain nodes. Both nodes are singletons and cannot be removed.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is cet.
DOMAIN SELECTION
If any part of the model geometry should not partake in the electrolyte transport part
of the model, remove that part from the selection list.
SPECIES
Specify the names and molar masses of the species in the Cations, Anions and Neutral
species tables. Only letters and numbers are permitted in the Name field. For the Cations
and Anions tables, also define the species charges. As described above in the Overview
section, this will result in a set of n-1 electrolyte components.
CONSISTENT STABILIZATION
To display this sections, click the Show More Options button ( ) and select
Stabilization in the Show More Options dialog.
Streamline diffusion (enabled by default) adds weak terms to the equation system that
may improve the quality of results for convection-dominated problems on coarse
meshes. When the Crosswind diffusion checkbox is selected, additional weak terms that
reduce spurious oscillations are added to the transport equations.
The same discretization is used for all dependent variables in the interface. Quadratic
elements are used by default. See Overview above regarding what dependent variables
are solved for, and naming conventions.
The Compute boundary fluxes checkbox is activated by default. When this option is
checked, the solver computes variables storing accurate boundary fluxes from each
boundary into the adjacent domain. If the checkbox is cleared, the boundary flux
variables are computed from the dependent variables using extrapolation, which is less
accurate in postprocessing results. This setting does however not create extra
dependent variables on the boundaries for the fluxes.
• <name>.nIl, where <name> is the name of the interface. This is the normal
electrolyte current density.
• <name>.ntflux_XXX. This is the normal total flux for each electrolyte component.
Also the Apply smoothing to boundary fluxes checkbox is available if the previous
checkbox is checked. The smoothing can provide a more well-behaved flux value close
to singularities.
For details about the boundary fluxes settings, see Computing Accurate Fluxes in the
COMSOL Multiphysics Reference Manual.
Regarding the Value type when using splitting of complex variables, see Splitting
Complex-Valued Variables in the COMSOL Multiphysics Reference Manual.
Electrolyte
The Electrolyte node defines various mixture properties.
The Volumetric Equation of State section defines the interrelations between the total
concentration of all species, the density, and the individual electrolyte component
fractions. The equation of state may be based either on a Density expression, or Molar
volumes. The density expression is typically composition dependent. Note that the
species Molar mass settings, defined on the interface top node, are also used when
defining the state equations.
The Chemical Potentials section defines how composition changes impacts the chemical
potentials of the electrolyte components. By default ideal conditions are assumed,
implying that unit chemical activity coefficients are used. Enabling Specify nonideal
thermodynamic factors allows for defining all independent partial derivatives of the
thermodynamic factors with respect to the electrolyte components.
˜ lñ i
i j = ̃ i ------------- (4-2)
ỹ j T p ỹ l j k
Diffusion Coefficients
Use this node to define the transport properties of the electrolyte mixture. The
Maxwell-Stefan diffusivity coefficients define how gradients in the chemical potentials
of the species relate to the difference in species fluxes between all binary species pairs
in the mixture.
Separator
This node is contributing to the Electrolyte node and can be used to specify a nonunit
electrolyte volume fraction, and to alter the bulk diffusivity coefficients defined in the
Diffusion Coefficients node as a result of a lowered electrolyte volume fraction and the
topology (tortuosity) of the porous media. The node is typically used to define an inert
The Effective diffusivity correction setting defines a correction factor which is used as a
prefactor to the chemical potential gradients when computing the diffusion fluxes on
the Electrolyte node. The correction may be set to either Bruggeman, Tortuosity,
Effective diffusivity factor, or No correction.
The Electrolyte volume fraction setting defines the relative pore volume of electrolyte
in the porous matrix. The setting impacts the mass conservation equation used in
time-dependent simulations, but also the diffusion correction factor used in the
Bruggeman and Tortuosity options.
Initial Values
Use this node to define the initial values of the dependent variables solved for by the
physics interface.
For the electrolyte components, the initial values may be specified as either
Concentrations, Mass proportions, Molar proportions, or Electrolyte component fractions.
Species Sources
Use this node to define species sources, typically stemming from charge transfer,
heterogeneous or homogeneous electrolyte reactions, in an Electrolyte domain.
Reference Electrode
Use this node to define the stoichiometry of a reference electrode reaction, which in
turn defines the electrolyte phase potential dependent variable added by the
Electrolyte node. By defining a reference electrode stoichiometry, the electrolyte phase
potential can be directly related to an experimentally measurable voltage.
By convention the stoichiometry is defined for a reduction reaction (with the electron
on the left-hand side). Nonzero values should be specified for at least one anion or one
cation.
The reference electrode stoichiometry defined on this node is also used when using a
Reference-electrode-stoichiometry based mass-averaged velocity in the Electrolyte node,
as well as when defining the resulting electrolyte component fluxes when imposing an
Electrolyte Potential boundary condition.
Flux
Use this node to define species fluxes, typically stemming from charge transfer and/or
nonfaradaic reactions at an electrode surface adjacent to an Electrolyte domain.
Inflow
Use this node at an exterior boundary to define the electrolyte mixture of a convective
inlet stream. The electrolyte mixture may be defined either by using the same values as
defined on an adjacent Initial Values domain node, or by specifying the Concentrations
or Electrolyte component fractions on this node.
The boundary condition may be defined using either a Pointwise constraint or a Flux
(Danckwerts) condition. The Pointwise constraint condition can sometimes be a more
stable option, whereas the Flux (Danckwerts) may render more consistent results when
specifying an upstream mixture composition when there are concentration gradients
present in the electrolyte close to the boundary.
The electrolyte current density in the normal direction to boundary is set to zero.
Outflow
This node defines a convective outlet featuring no concentration gradients in the
normal direction to the boundary.
The electrolyte current density in the normal direction to boundary is set to zero.
Electrolyte Potential
Use this boundary node to define an electrode surface operating at a fixed potential in
the absence of kinetic activation losses.
The reaction stoichiometry of the electrode reaction is taken from the Reference
Electrode node, and the species fluxes in the normal direction of the boundary will
balance the electrolyte current density accordingly.
The physics interface is suitable for modeling thin electrodes where the potential
variation in the normal direction to the electrode is negligible. This assumption allows
for the thin electrode domain to be replaced by a partial differential equation
formulation on the boundary. In this way the problem size can be reduced, and
potential problems with mesh anisotropy in the thin layer can be avoided.
Ohm’s law is used in combination with a charge balance to describe the conduction of
currents in the shell electrode.
When this physics interface is added, these default nodes are also added to the Model
Builder — Electrode, Electric Insulation (the default edge or point condition), and Initial
Values. Then, from the Physics toolbar, add other nodes that implement, for example,
edge or point conditions and current sources. You can also right-click Electrode, Shell
to select physics features from the context menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is els.
THICKNESS
DISCRETIZATION
To see all settings in this section, click the Show More Options button ( ) and select
Advanced Physics Options in the Show More Options dialog.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Boundary, Edge, Point, and Pair Nodes for the Electrode, Shell
Interface
The Electrode, Shell Interface has these boundary, edge, point, and pair nodes, listed
in alphabetical order, available from the Physics ribbon toolbar (Windows users),
Physics context menu (Mac or Linux users), or right-click to access the context menu
(all users).
These nodes are available and described for the Current Distribution interfaces, where
edges (3D components) or points (2D and 2D axisymmetric components) are selected
instead of boundaries.
• Electrode Potential
• Electric Reference Potential
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Electrode
The Electrode node defines the current conduction in the tangential plane. Use the
node to define the electrode thickness and electric conductivity.
ELECTRODE
The Electrode thickness s (SI unit: m) defaults to 1014 m.
The default Electric conductivity (SI unit: S/m) uses values From material. Or select
User defined. For User defined enter values or expressions for an isotropic or anisotropic
conductivity. Select Isotropic, Diagonal, Symmetric, or Full depending on the properties
Initial Values
The Initial Values node adds the electric potential that can serve as an initial guess for
a nonlinear solver. If more than one initial value is needed, add Initial Values nodes from
the Physics toolbar.
INITIAL VALUES
Enter values or expressions for the Electric potential (SI unit: V). The default value
is 0 V.
Current Source
The Current Source node adds a source term to Equation 4-46. Use this node to define
the current source.
T is = in
The node can be used to couple the Electrode, Shell interface to the electrode
reactions in an Electrochemistry interface that describes the electrolyte currents in the
adjacent domain.
Electric Insulation
The Electric Insulation node is the default edge (3D components) and point (2D and
2D axisymmetric components) condition and describes the edges of the shell
(boundary) that do not conduct electricity.
i s n = i s 0
Ground
The Ground node is available on edges (3D components) and points (all components)
and sets the potential according to s 0.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
Electric Potential
The Electric Potential node is available on edges (3D components) and points (all
components) and sets the potential according to s s,0.
ELECTRIC POTENTIAL
Enter the value or expression for the Electric potential s,0 (SI unit: V).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
The Electroanalysis option is suitable for modeling mass transport of diluted species in
electrolytes using the diffusion-convection equation, solving for electroactive species
concentrations.
The Tertiary Current Distribution, Nernst–Planck Interface also features options for
modeling cyclic voltammetry and electrochemical impedance spectroscopy.
Use this Model Wizard entry to model electroanalytical problems with electrolyte
solutions containing a large quantity of inert “supporting” electrolyte. Ohmic loss is
assumed to be negligible.
The Model Wizard entry is available in 1D, 2D, and 3D as well as for axisymmetric
components in 1D and 2D.
The default dependent variables are the molar concentrations, c1 and c2, of the two
electroactive species in a redox couple and the electric potential, phis, which is solved
for either in the Electrode or Porous Electrode domain feature.
c i
+ N i = R i tot
t
N i = – D i c i – z i u m i Fc i l + c i u = J i + c i u
where
J i = – D i c i – z i u m i Fc i l
The net current density can be described using the sum of all species fluxes:
il = F zi Ni
where il denotes the current density vector (SI unit: A/m2) in the electrolyte.
u = 0
The velocity vector in the convective term can therefore be moved out of the
divergence operator which gives the nonconservative form of the Nernst-Planck
equations:
c i
+ J i + u c i = R i
t
c i
+ Ji + ci u = Ri
t
For mass transport in porous systems, the accumulation term is deviating between the
conservative or nonconservative formulations. The electrolyte volume fraction
(porosity), i, is only differentiated in the conservative form giving the following
formulation:
i ci
- + Ji + ci u = Ri
----------------
t
c i
i ------- + J i + u c i = R i
t
zi um i ci l .
2 2
il = –F
zi um i ci
2 2
l = F
This equation takes the same form as Ohm’s law; in an electrolyte, charge transport is
ohmic, subject to the above assumptions.
Conservation of charge yields the domain equation usually used for the electrolyte in
the Primary and Secondary Current Distribution interfaces:
il= 0
The Primary and Secondary Current Distribution interfaces define two dependent
variables: one for the potential in the electrolyte and one for the electric potential in
the electrode. The conduction of current in the electrolyte is assumed to take place
through transport of ions as described above, while electrons conduct the current in
the electrode.
Since Ohm’s law is also used for current conduction in the solid electrode phase, the
general equation in these interfaces is according to the following:
ik = Qk
with
i k = – k k
where Qk denotes a general source term, k denotes an index that is l for the electrolyte
or s for the electrode, k denotes the conductivity (SI unit: S/m) and k the potential
(SI unit: V).
The rate of the electrochemical reactions can be described by relating the reaction rate
to the activation overpotential. For an electrode reaction, with index m, the activation
overpotential, denoted m, is the following:
m = s – l – E eq m
where Eeq,m denotes the equilibrium potential (also known as a reduction potential)
for reaction m.
l = s – E eq m
a m F m – c m F m
i loc,m = i 0 m exp ------------------------- – exp ----------------------------
RT RT
Both the exchange current density and the overpotential are typically
concentration dependent. It is possible include the dependence of
kinetics on concentration in the expression above. It also possible to use
other kinetics expressions.
il n = iloc m
m
is n = – iloc m
m
Both the Primary Current Distribution and Secondary Current Density Distribution
interfaces allow for a domain definition for porous electrodes. For the Primary Current
Distribution interface, the same constraint as above is applied.
In porous electrodes for the Secondary Current Distribution interface, the sum of all
reaction currents appears as a source in the domain equations:
il = Av m iloc m
m
is = – Av m iloc m
m
c i
+ J i + c i u = R i tot
t
where
The material balances give one equation per unknown species concentration.
There is one more unknown dependent in the variable, the electrolyte potential, which
requires an additional equation to close the system. This equation is the
electroneutrality condition, which follows from dimensional analysis of Gauss’s law. In
a typical electrolyte solution, it is accurate over lengths greater than a few nanometers:
zi ci = 0
Further, by combining the electroneutrality condition with the sum of all species flux
vectors and the species mass balance equation, multiplied by the individual species
charges, results in expressions for the current vector and a current balance equation,
respectively.
The expression for the current density in the electrolyte, il, reads:
whereas current balance in the electrolyte, used for solving for the electrolyte potential,
then becomes:
il = Ql
where Ql can here be any source or sink. (Ql is typically nonzero for porous
electrodes). These formulations are also valid for the pore electrolyte in porous
electrodes, except for the transport properties that have to be corrected for porosity
and tortuosity. In such cases, the source or sink, Ql, denotes the charge transfer
reactions in the porous electrode and/or the nonfaradaic source or sink due to double
layer charge and discharge.
In the current balance in a porous electrode, the local current density multiplied by the
specific surface area of an electrode gives a contribution to the source or sink, Ql, due
to electrochemical reactions.
is used to define the stoichiometric coefficients, i, with i being positive (red) for
products and negative (ox) for the reactants in a reduction reaction. The number of
participating electrons, n, is always positive.
where iloc,m is the local current density (SI unit: A/m2) of the electrochemical
reaction, nm the number of participating electrons and F (SI unit: C/mol) is the
Faraday constant. Note that iloc,m denotes the current density perpendicular to the
electrode surface.
The molar species flux, Ni, is obtained from the normal component of the molar
species flux vector over the electrode-electrolyte interface:
Ni = Ni n
where n is the normal vector of the boundary pointing into the domain.
For a porous electrode, the electrochemical reactions result in species source terms
calculated from:
i m i loc m
R i molar = – av m --------------------------
nm F
-
m
If the reaction rate is known, the total growth vdep, tot (m/s) is defined as the sum of
the velocity contributions for all species and electrode reactions according to:
Mi i m i loc m
v dep tot = – ------
i nm F
- -------------------------- (4-3)
i m
Where Mi (SI unit: kg/mol) is the molar mass and i (SI unit: kg/m3) the density of
the species. (i is the species index, and m the index of the electrode reaction).
This velocity may be used in deforming geometry models as a boundary condition for
the geometry deformation by assuming that dissolution or deposition always occurs in
x
n = v dep tot
t
dc s i i m i loc m
dt
= – -------------------------
nm F
-
m
Mi
s tot = ------
-c .
i s i
i
- + -
2e (electrical circuit) + A (solution) + X (double layer)
- + -
2e (electrode surface) + A (double layer) + X (solution)
Where Rfilm (SI unit: ohm·m2) is a generalized film resistance and itot the sum of all
currents over the interface. The activation overpotentials, m, for all occurring
electrode reactions on the electrode with the film receive an extra potential
contribution due to the film resistance according to:
m = s – s film – l – E 0 m
If the thickness and conductivity of the film are known, the resistance can be written as:
s 0 + s
R film = -----------------
-
film
where s0 is the reference/initial film thickness, s the electrode thickness change, and
film the conductivity (SI unit: S/m) of the film.
-
i S i + ne i Si
i: i 0 i: i 0
where i is the stoichiometric coefficient of the reacting species of index i and n is the
number of participating electrons.
The equilibrium potential of the electrode reaction, Eeq (V), is the electrode potential
(the difference between the electrode phase and electrolyte phase potentials, s l)
for which the net reaction rate (and the local current density, iloc) is zero.
The equilibrium potential is directly related to the change of Gibbs free energy of the
reacting species, G, as
Since the free energy of the reacting species is concentration dependent, also the
equilibrium potential is concentration (activity) dependent. Eeq is usually defined
according to the Nernst equation as
ai i
------------
RT
E eq = E eq ref – -------- ln
nF a i ref
i
where Eeq,ref (V) is the equilibrium potential for a reference state for which all species
activities ai (unitless) are equal to a chosen set of reference activities ai,ref (unitless).
For ideal solutions, the activities are replaced by concentrations. Standard conditions
correspond to reference concentrations of 1M for soluble species in the electrolyte,
partial pressures of 1 atm for gaseous species. Constant activities of 1 is used for solid
(metal) species and solvents.
= s – l – E eq
a F – c F
i loc = i 0 exp --------------- – exp -----------------
RT RT
It should be noted that, although used extensively for all sorts of reactions in the
electrochemical community, the Butler–Volmer equation was originally derived for
single-electron transfer reactions (for instance implying that the reaction does not
involve the breaking or creation of a chemical bond).
c i –a i
---------
- --------------
ai
------------
n ai
------------
n
i 0 = i 0 ref a i ref a i ref
i: i 0 i: i 0
where i0,ref is the exchange current density (SI unit: A/m2) at the reference state. The
above expression can be derived from the mass action law, which gives the following
expression for the local current density:
ai i
------------ a F ref ai –i – c F ref
- exp -------------------- ------------ exp -----------------------
i loc = i 0 ref
a i ref RT
- –
a i ref
-
RT
i: i 0 i: i 0
where the overpotential ref (SI unit: V) is measured using relative to a reference state,
which yields:
This latter form of the Butler–Volmer equation, where the reference overpotential and
the exchange current density do not vary with concentration, is usually preferable
numerically.
The law of mass action is usually not suitable for defining complex reactions involving
multiple electron steps. For certain multi-electron reactions, where one electron
transfer step is rate limiting, it is possible to derive a lumped Butler–Volmer expressions
using the following relation for the exchange current density (see Ref. 1):
where i are generic exponential coefficients. For this case, a and c may be
independently defined. By rearranging the Butler–Volmer expression using ref
similarly to what was done for the mass action law case above, the i coefficients relate
to the anodic, ai, or cathodic, ci, reaction orders according to
a i
a i = i + -----------
n
and
c i
c i = i – ----------
-.
n
For instance, for a one electron redox couple of concentrations co and cr, with the same
reference concentration cref for both species, and i0,ref k0Fcref, the mass action law
expression above can be rewritten as
a F – c F
i loc = k 0 F c r exp --------------- – c o exp -----------------
RT RT
a F – c F
i loc = i 0 C R exp --------------- – C O exp -----------------
RT RT
Linearized Butler–Volmer
The charge transfer reaction can be expressed by a linearized Butler–Volmer
expression, which can be used for small overpotentials ( << RT/F) and is usually
referred to as the low-field approximation. This approximation gives the following
linearized equation:
a + c F
i loc = i 0 ----------------------------
RT
Aa
i loc = i 0 10
where Aa (SI unit: V) is the so-called Tafel slope. Aa relates to the corresponding
transfer coefficient as follows
A a = RT ln 10-
---------------------
a F
Ac
i loc = – i 0 10
where the sign accounts for the negative cathodic charge transfer current. Here, Ac is
required to be negative and relates to the transfer coefficient according to
RT ln 10-
A c = – ---------------------
c F
When not explicitly including mass transfer in the domain equations one can still
include the effect of transport limitations by the assumption of a Nernst diffusion layer
at the electrode surface, and a first-order dependence between the charge transfer
current and the local concentration of a reacting species, resulting in the following
kinetics expression:
i expr
i loc = -------------------------
-
i expr
1 + -----------
i lim
where iexpr (A/m2) is the current density expression in the absence of mass transport
limitations for the species, and ilim (A/m2) is the limiting current density that
corresponds to the maximum transport rate of the species. The derivation of this
expression assumes high overpotentials so that either the anodic or a cathodic term in
the Butler–Volmer equation may be neglected.
dc
= r = – kc
dt
where and k are positive numbers and the desired behavior is that the rate r and the
concentration c should equal zero in the converged solution at infinite time. However,
if c, due to numerical fluctuations in the solver process, becomes negative during
iterating, issues may arise.
First consider the case when equals 1 (or any odd positive integer). Negative values
of c will then cause the rate to become positive, resulting in a “self-stabilizing”
situation where c will be approaching 0 with time.
A second case to consider is when is an even integer larger than 1. The rate then will
become increasingly negative for negative values of c, resulting in an “exploding”
solution, iterating c toward minus infinity. The standard solution for these cases, which
The third case is when is a noninteger between 0 and 1. Note now that Jacobian with
respect to c of the rate expression now contains c, which will approach minus
infinity when c approaches zero from the positive side. This may result in poor
convergence, and the max() wrapping will not improve convergence in this case.
The solution for the third case is to linearize the concentration dependence for low
concentrations; that is, to use
r = – kc c c lim
–1
r = – kcc lim c = c lim
which results in the desired convergence behavior for low and negative concentrations.
Note, however, that the linearization may result in thermodynamic inconsistencies so
that, for instance, relations like the Nernst equation for the equilibrium potential are
no longer fulfilled. The linearization may also improve convergence of the second case
above.
ELECTROLYTE THEORY
The Electrolyte node defines a current balance in the electrolyte. The domain equation
is:
il = 0
where il denotes the current density vector. In free electrolyte, there is no source or
sink of charge.
The definition of the current density vector depends on the equation formulation of
the electrolyte charge transport, as discussed above in Domain Equations for Primary
i l = Q l and i s = Q s
In these equations, il denotes the current density vector in the electrolyte, as discussed
above in Domain Equations for Primary and Secondary Current Distributions and
Domain Equations for Tertiary Current Distributions Using the Nernst–Planck
Equations and Electroneutrality.
The current balances in the pore electrolyte and in the electrode matrix contain sources
and sinks according to the charge transfer reactions that take place in the electrode
catalyst. For example, if only one charge transfer reaction takes place in the porous
electrode, the domain equations are the following:
i l = A v i loc
i s = – A v i loc
where Av denotes the specific surface area (dimension L2/L3), and iloc the local
current density defines the rate of the charge transfer reactions, for instance according
to the Butler–Volmer equation. For various ways of defining iloc, see Electrode Kinetics
Expressions.
The corresponding sources and sinks in the current balances that are due to the charge
transfer reactions are also coupled to the material balances for the charged species. This
means that the local current density expression above is also included in the material
balances as a reaction term, Ri, by using Faraday’s laws for each of the species that take
part in charge transfer reactions.
il n = iloc m
m
is n = – iloc m
m
where iloc,m (A/m2) is the current density of the charge transfer electrode reaction of
index m, il the current density vector in the electrolyte and is the current density
vector in the electrode.
is = – Av iloc m
m
ELECTRODE THEORY
Electron conduction in an is modeled using Ohm’s law. The domain equation is the
following:
is = 0
i s = – s s
and where s denotes the electric conductivity and s the potential of the electron
conducting (metal) phase.
i l n = i n l
The current density can also be defined including all its components:
i l = i l bnd
The feature adds one unknown variable, the electrolyte potential, lbnd, along the
boundary. It then adds one additional equation for the total current, which is an
integral over the boundary:
il n ds = I n l
The average current density condition imposes the same equation but multiplies the
current density by the area of the boundary to obtain the value of the total current Inl.
is n ds = I n s
where
i s = – s s
and s denotes the electrode conductivity and s the electric potential. The average
current density condition imposes the same equation but multiplies the current density
by the area of the boundary to obtain the value of the total current, In,s.
s bnd – s
– n i s = ---------------------------
-
Rc
ik n = 0
where ik denotes the current density vector and k = l, s is an index for the electrolyte
and electrode, respectively.
The Symmetry boundary condition for the Tertiary Current Distribution, Nernst–
Planck interface imposes a no-flux condition for the molar flux of species at a
boundary. The condition is expressed as follows:
Ji n = 0
i s n = i n s
where
i s = – s s
The current density can also be defined including all its components:
i s = i s bnd
For a total power condition, the boundary electric potential of an electrode is set to a
potential s,bnd, defined by the condition for the total power on the boundary
according to:
where s,ground is the ground potential of the cell, and Ptotal (W) is the power to be
drawn.
s bnd – s
– n i s = ---------------------------
-
Rc
P total = P avg A
where Pavg is the average power density on the boundary, and A is the boundary area.
For a galvanic cell, such as a battery during discharge or a fuel cell, there
is a maximum power level, beyond which a further current increase causes
a lowered output power due to increasing voltage losses. A result of this
is that there can be two existing solutions for the same power setting. In
these cases the choice of initial values determines the final solution.
Electrode Power
Since these charges are fixed, there is no need to explicitly model the transport of these
charges, but when calculating the sum of charges, used in the Nernst–Planck (with
electroneutrality) or the Nernst–Planck–Poisson set of equations, one need to add this
fixed space charge.
fix + F zi ci = 0
v = fix + F zi ci
ION EXCHANGE MEMBRANE BOUNDARY THEORY
The electrochemical potential i of a charged species of index i is
i = RT ln a i + l z i F
where T(K) is the temperature, R (mol/(J·K)) the molar gas constant, ai is the species
activity, l is the electrolyte potential, zi the species charge, and F(C/mol) is Faraday’s
constant.
Setting the species activity to equal the concentration and denoting the liquid
electrolyte phase and an ion-exchange membrane phases as 1 and 2, respectively, the
Donnan potential, (V), describes the relation between the concentration of a
species, ci (mol/m3), at each side of the boundary and the electrolyte potentials:
c i 1
l = l 1 – l 2 = – -------- ln ---------
RT
z i F c i 2
z i F l 1 – l 2
c i 2 = c i 2 exp – ---------------------------------------
RT
The molar flux of each species in the liquid electrolyte is continuous over the
membrane-liquid interface
n J i 1 = n J i 2
Since the total current density is the sum of all species fluxes, times the individual
species charges, the current densities Il in the normal direction n of the
membrane-liquid interface boundary is also continuous:
n I l 1 = n I l 2
Transformations between the species and electrolyte component basis are made by the
use of a (n n) transformation matrix Z, which consists n 1 rows that define the
For the Mg2+, OH-, H+, and H2O example, the Z matrix would look like
1 0 2 0
0 1 1 0
Z = 0 0 0 1 (4-4)
2- 1- – 1-
------ ------ ------ 0
6 6 6
˜ = ZM
M (4-5)
where M M1 M2 … MnT is a column vector of the defined by the individual species
molar masses Mi (kg/mol).
Also the inverse transpose matrix ZT is used for various variable basis transformations.
The electroneutrality condition, applied locally at all times, defines the sum of all
charges to equal zero
zi ci = 0 (4-6)
where zi (dimensionless) are the individual species charges, and ci the molar
concentrations (mol/m3).
1
c T = ------------------------
- (4-7)
˜ ˜
yi V m i
i
= Mi ci (4-8)
Alternatively, one may define the density as a function of some of the composition
variables, and define the total concentration as
-
c T = ------------------- (4-9)
y˜i M ˜
i
Ni = ji + ci u (4-10)
where the first term ji represents the diffusive (and migrative) flux and the second term
the convective flux, where u (m/s) is the mass-averaged velocity of the electrolyte.
il = zi FNi (4-11)
l c i
- + Ni = Ri
----------- (4-12)
t
where l(dimensionless) is the electrolyte volume fraction and Ri the molar source
term.
Summing all individual material balances and multiplying by the corresponding species
charges results in the charge balance equation for the electrolyte
When formulating the material balances in the interface, it is assumed that the
continuity equation for the fluid (which is not solved for by the interface) is fulfilled
l
t
- + u =
---------- Mi Ri = Qm (4-14)
c i Q m – u – l ------
t-
l ------- + j i + u c i = R i – ------------------------------------------------ (4-15)
t
which is the actual (nonconservative) form of the material balance equation used
internally by the interface. This equation form avoids accuracy issues related to
evaluating derivatives of the velocity variable.
0
i = i + RTlnx i + RTln i + Fz i (4-16)
0
where R is the molar gas constant (8.31 J/mol/K), i is the electrochemical potential
with respect to some reference state, T is the temperature (K), xi is the molar fraction,
the i the species activity coefficient (dimensionless) and (V) is the solution
potential.
c
x i = -----i- (4-17)
cT
For ideal conditions, the species activity coefficients equal unity. For nonideal
solutions, two issues experimental arise in relation to the definition of individual
species activity coefficients. The first is that, since charge separation is virtually
impossible to achieve in a solution, it is hard to assess the chemical activity of individual
ions experimentally. The second is that, since all major species in the solution are
˜ lñ i
i j = ̃ i ------------- (4-18)
ỹ j T p ỹ l j k
where the derivative should be made keeping the temperature, pressure and all
electrolyte components but the ones with index j and k constant. In the Concentrated
Electrolyte Transport interface, the index k equals the index of the electrolyte
component taken from the molar fraction constraint.
n
RT
– c-------------
T D ij
- jj if i j
– i = j=1 (4-19)
n n
RT ck
--------
c T j D ik c j
j -------------- if i j
j=1 ki
where Dij (m2/s) are the binary Maxwell–Stefan diffusivity coefficients. The above
equation system is transformed and inverted in order express the electrolyte
component fluxes in terms of the gradients of the electrolyte component chemical
potentials.
In porous media the binary diffusivities above may be multiplied by an efficiency factor
to accommodate for the lowered effective diffusivity due to the lower available volume
for transport and tortuosity (topology) effects of the porous matrix.
si Xi + s'j Yj
zi -
= n e ref e (4-20)
The gradient of the electrolyte phase potential, used for defining the chemical potential
is defined as
s̃ i
= --------------------
– n e ref F
- + (4-21)
The stoichiometry of the reference electrode can also be used to define a steady-state
convective velocity of the electrolyte for the case when all electrode reactions in a cell
have the same stoichiometry as the reference electrode. For this case, the convective
velocity may be calculated as
–Il
u = ---------------------
n e ref F si Mi (4-22)
Reference
1. A. Van-Bunt, P.E. Farrel, and C.W. Monroe, “Structural electroneutrality in
Onsager–Stefan–Maxwell transport with charged species,” Electrochimica Acta,
vol. 441, p. 141769, 2023, [Link]
In addition, reversible heat sources and sinks can appear due to the entropy changes in
the electrode reactions.
Most Electrochemistry interfaces define and announce heat source variables that can
be used by the General Source and the Boundary Heat source nodes in the Heat
Transfer interfaces.
The Electrochemical Heating multiphysics node defines a domain heat source in the
heat transfer interface, based on the sum of irreversible (Joule heating and activation
losses) and reversible heat in the electrochemistry interface.
You can also use the heat source variables defined by the electrochemistry interfaces
when setting up manual heat couplings between different components in a model. For
instance if you are using a 1D electrochemical cell model to calculate an average heat
source in a 3D heat transfer model. The names of the heat source variables are [Link]
(domain, Joule heating and porous electrode reactions) and [Link] (boundary,
electrode surface reactions), where xxx is the electrochemistry interface identifier.
• Electrochemistry Interfaces
• Multiphysics Coupling Nodes
U = Q – W (4-23)
where U (J) is differential change of the internal energy, Q (J) is the differential
amount of heat added to the system, and W (J) is the differential work performed by
the system element on the surroundings.
Q = U – W (4-24)
It should be noted that in the absence of pressure or volume changes, which are often
neglected in electrochemical models, the differential internal energy equals the
differential enthalpy H (J). In addition, thermodynamic work is usually not involved
in electrochemical reactions. We may hence simplify the above to
Q = H (4-25)
In order to conserve heat, the above differential heat added to the system equals the
added heat drawn from the surroundings.
T
C p ------- + q = Q (4-26)
t
The electrochemistry interfaces typically solve for the transport and electrochemical
reactions of a multicomponent system comprising a number of different species with
index i. Adding the additional contributions from the multicomponent system to the
heat transfer equation, and assuming no other additional heat sources (Q = 0), results
in
T c i
C p ------- + q + H i N i = – H i ------- (4-27)
t t
c i
Q = –
Hi Ni + Hi ------
t
- (4-28)
i
Equation 4-26 can be made to represent the heat transfer equation of a the
multi-component electrochemical system.
c
-------i + N i = R i (4-29)
t
where Ri (mol/m3/s) is the local rate production source, the heat source expression
may be simplified to
Q = –
Hi Ni + Hi Ri (4-30)
i
where the second term may be used to define the reaction enthalpies of non-Faradaic
reactions (for Faradaic reactions, see below).
The derivations below follow a simplified approach along the principles lined out in
Ref. 1. For deepened discussion on thermal effects in electrochemical cells, the reader
is referred to Ref. 1 to Ref. 4.
H i = H i + z i F (4-31)
H i = z i F (4-32)
For a current conductor, the only species carrying charge is the electron, with a
negative unit charge. The electron flux is related to the current density is as
i
N e = – ---s- (4-33)
F
resulting in
Q s = – i s s (4-34)
For a homogenized porous electrode domain, the Joule heating term for both phases
are added together:
Q JH = – i s s + i l l (4-36)
H i H i
q = – – ------e- +
F -----------
nF loc
- i (4-37)
i
where q is the boundary heat source (W/m2), n and i are the number of electrons
participating in the reaction and the stoichiometric coefficients of the reaction,
respectively, and iloc local current density at the electrode surface. Subscript e above
denotes the electron, and i the electrolyte phase species.
n = – i zi (4-38)
i
H
q = – --------- – s – l i loc (4-39)
nF
H = i Hi – nHe (4-40)
i
H-
E therm = – --------
nF
G = H – TS
where G is the Gibbs free energy of the reaction, and where S is the net entropy
change, and defining the equilibrium potential as
E eq = – G
-------- (4-42)
nF
E eq
q = + T ------------ i loc (4-43)
T
= s – l – E eq (4-44)
The total heat source due to the electrochemical reactions, qEC, for an electrode
surface is the sum of all individual heat sources of the electrode reactions according to
q EC = qm
m
For a homogenized formulation of a porous electrode, the domain heat sources due
to electrochemical reactions can be obtained by multiplying by the internal surface area
av,m (m2/m3). For a porous electrode, the electrochemical sources are hence summed
up according to
Q EC = av m Qm
m
a m F m – c m F m
i loc m = i 0 m C R m exp ------------------------- – C O m exp ----------------------------
RT RT
where
m = s – l – E eq m
When using the Concentration dependent kinetics option, the overpotential, used in
the irreversible heat term above, is calculated as follows:
where
RT C O m
m conc = ------------ ln -------------
-
n m F C R m
n m = aꞏ m + c m
is assumed.
References
1. John Newman, “Thermoelectric Effects in Electrochemical Systems,” Ind. Eng.
Chem. Res., vol. 34, no. 10 pp. 3208–3216, 1995
In this section:
• Governing Equations
• Coupling to Other Physics Interfaces
Governing Equations
The Electrode, Shell interface solves for the electric potential s (SI unit: V) on a
boundary, using the following governing equation:
T si s = – i n (4-46)
where T is the tangential gradient operator, s (SI unit: m) is the electrode layer
thickness, and in (SI unit: A/m2) are the sum of all currents flowing out from the
electrode (in the normal direction to the boundary). Furthermore, is (SI unit: A/m2)
is the tangential current density vector along the electrode boundary, defined as
i s = – T s s (4-47)
where s is the electric conductivity (SI unit: S/m). The next section discusses
Coupling to Other Physics Interfaces.
where itot (SI unit: A/m2) is the sum of all electrode currents in the coupled
Electrochemistry interface.
s = s 0 + s tot (4-48)
where s0 is the initial electrode layer thickness, and stot is the electrode thickness
change, calculated by the coupled Electrochemistry interface.
HEAT SOURCE
The electron conduction gives rise to a Joule heating source QH (SI unit: W/m2)
according to
Q H = – si s t s
• Electroanalytical Methods
• Supporting Electrolyte
• Domain Equations for the Electroanalysis Case
• Electrode Boundary Conditions in the Electroanalysis Model
• The Electroanalytical Butler–Volmer Equation
• Counter Electrodes and Overall Charge Balance
Electroanalytical Methods
Electroanalysis is the science of quantitative electrochemical measurement of the
composition or properties of a chemical system. Common electroanalytical methods
include: (cyclic) voltammetry, (chrono)amperometry, potentiometry, coulometry, and
electrochemical impedance spectroscopy (EIS). These methods are experiments
performed either in a static electrolyte solution or in an electrolyte solution subject to
a forced fluid flow. The results sought in electroanalysis include:
Supporting Electrolyte
When performing electroanalytical experiments, it is conventional to add a large
quantity of inert salt to the solution — this artificially added salt is called supporting
• The voltage due to the resistance of the electrolyte when the cell draws current
(“ohmic drop”) is minimal. Therefore, the potential difference applied across the
electrochemical cell is localized at the electrode–electrolyte interfaces, and so the
activation overpotential perceived by the redox couple at this interface is almost
exactly proportional to the applied cell voltage. The kinetic behavior of the
electrochemical cell then has no explicit dependence on the magnitude of the drawn
current.
• The contribution of migration to the transport of charged chemical species is
negligible compared to the contribution of diffusion (and of convection, in a forced
flow). Therefore the transport properties of the system are linearized, and they do
not depend on the magnitude of the drawn current.
Even for the conductivities of electrolyte solutions in the presence of excess supporting
electrolyte, the electric field is not negligible if significant current density is drawn.
Electroanalysis typically draws small currents because the purpose is measurement. In
processes where an electrochemical reaction is driven — such as electrolysis,
electrodeposition, batteries, and fuel cells — current densities are typically much larger,
so that the desired extent of reaction is achieved in a reasonable time. Under these
conditions, significant electric fields are likely and other charge conservation models
should be used instead of the Electroanalysis option.
N i = – D i c i – z i u m i Fc i l + c i u = J i + c i u
N i = – D i c i + c i u (4-49)
where the only contributions to the flux of a chemical species are from diffusion and
convection respectively. In the absence of convection (no fluid flow, u 0), this is also
known as Fick’s first law of diffusion:
N i = J i = – D i c i
c i
+ N i = R i tot (4-50)
t
This combination is often written as a single equation for the unknown ci. For zero
convection, zero reaction, and a constant diffusion coefficient, the domain equation is:
c i 2
= Di ci (4-51)
t
You can also include additional chemical species and reactions that are not
involved in the electrochemical reaction.
m = s – l – E eq m
This is the potential difference perceived by a redox couple, measured against the
equilibrium potential of the couple; it provides the thermodynamic driving force for
an electrochemical reaction by faradaic charge transfer between the electrode and the
electrolyte domains.
Subject to the approximation of constant electrolyte potential (l 0), this equation
reduces to:
m = s – E eq m
The flux Ni of the chemical species i (SI unit: mol/m2) across an electrode surface
depends on the current densities im associated with the electrode reactions m
according to Faraday’s laws of electrolysis. These can be written as:
i m i m
Ni = -----------------
nm F
- (4-52)
m
where i,m is the stoichiometric coefficient of species i with respect to reaction m (in
the reductive direction), and nm is the number of transferred electrons. F is the
Faraday constant, which is the charge on a mole of electrons (96485.3365 C/mol).
Ni = Ni n (4-53)
Equation 4-52 and Equation 4-53 constitute the coupling between charge balance
and mass balance. This coupling only applies at the electrode–electrolyte interface,
which is a boundary to the domain where the electroanalysis charge conservation
model solves for chemical species transport.
The total current density is the sum of faradaic (electrode reaction) components and
nonfaradaic components (inf) such as current due to Electrode Kinetics Expressions:
The experimentally measurable total current I (SI unit: A) drawn at an electrode can
be computed by integration of the local current density (SI unit: A/m2) across the
electrode area:
Ox and Red represent the oxidized and reduced forms of the chemical species,
respectively.
The most general equation to describe the rate of this reaction as it proceeds at an
electrode surface is the electroanalytical Butler–Volmer equation:
a F – c F
i loc = k 0 F c Red exp --------------- – c Ox exp ----------------- (4-54)
RT RT
where k0 is the heterogeneous rate constant (SI unit: m/s) and c is the (cathodic)
transfer coefficient (dimensionless). For a one-electron reduction, the anodic and
cathodic transfer coefficients are related as a c 1.
– FE eq
c Red = c Ox exp ----------------
RT
Where the flux of the reacting species is negligible compared to the concentration of
these species, the concentrations are roughly constant (cRed ~ cOx ~ c). This converts
Equation 4-54 into the Butler–Volmer equation written in terms of an exchange
current density i0 (SI unit: A/m2):
a F – c F
i loc = i 0 exp --------------- – exp -----------------
RT RT
The exchange current density i0 (SI unit: A/m2) is then related to the heterogeneous
rate constant as i0 k0Fc.
s CE : i tot dS = 0 (4-55)
electrodes
m = s CE – E eq m (4-56)
Note that only one counter electrode potential degree of freedom is added in the
model, regardless of the number of counter electrodes that are active.
Typically the kinetics of the electrochemical reactions are defined using the
overpotential, (SI unit: V), defined as
= s – l – E eq (4-57)
where Eeq (SI unit: V) is the equilibrium potential. If it is to apply for all
overpotentials, a general kinetic expression for an electrode reaction must be set up so
that the charge-transfer current over the electrolyte-electrode interface is zero for zero
overpotential (equilibrium conditions).
In this section:
• Reference Electrodes
• Boundary Conditions Using Reference Electrode Potentials
• Nodes for Handling Electrode Potentials and Reference Electrodes
Reference Electrodes
In experimental electrochemistry, it is common to use reference electrodes when
controlling current or voltage with a potentiostat. Potential differences in the system
are recorded with respect to the equilibrium potential of the redox couple at the
reference electrode. A good reference electrode is designed so that no net charge
transfer takes place at its electrode-electrolyte interface. Then the overpotential of the
reference is zero, so:
where s,ref (SI unit: V) is the electric potential of the reference electrode and Eeq,ref
(SI unit: V) is the equilibrium potential of the reference electrode reaction.
The electric potentials of the electrodes in the electrochemical cell can then be defined
with respect to the reference electrode according to:
where Evs,ref (SI unit: V) is the electrode potential versus the reference potential.
It is important to realize that the presence of an ideal reference electrode in the system
has no impact on the physics; the only purpose of the reference electrode is to define
a stable reference point for the potential levels.
where s,bnd (SI unit: V) is the applied electric boundary potential on the electrode.
Whenever a s,ref is defined, the variable Evs,ref (SI unit: V), according to
Equation 4-59, is also defined in all electrode domains.
The variable Evs,ref (SI unit: V), according to Equation 4-59, is also defined on these
features.
This chapter describes the physics interfaces found under the Chemical Species
Transport branch ( ).
In this chapter:
The theory for all the interfaces is also discussed at the end of the chapter and links
are included with the interfaces.
227
T he T r a ns po r t of D i l u t ed S p ec i es
Interface
The Transport of Diluted Species (tds) interface ( ), found under the Chemical Species
Transport branch ( ), is used to calculate the concentration field of a dilute solute in
a solvent. Transport and reactions of the species dissolved in a gas, liquid, or solid can
be handled with this interface. The driving forces for transport can be diffusion by
Fick’s law, convection when coupled to a flow field, and migration, when coupled to
an electric field.
The interface supports simulation of transport by convection and diffusion in 1D, 2D,
and 3D as well as for axisymmetric components in 1D and 2D. The dependent variable
is the molar concentration, c. Modeling multiple species transport is possible, whereby
the physics interface solves for the molar concentration, ci, of each species i.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is tds.
DOMAIN SELECTION
If any part of the model geometry should not partake in the mass transfer model,
remove that part from the selection list.
OUT-OF-PLANE THICKNESS
For 2D components, the Thickness field (default value: 1 m) defines a parameter for the
thickness of the geometry perpendicular to the two-dimensional cross-section. Both
constant and varying thicknesses are supported. The value of this parameter is used,
among other things, to automatically calculate molar flow rates from the total molar
flux.
TRANSPORT MECHANISMS
Mass transport due to diffusion is always included. Use the checkboxes available under
Additional transport mechanisms to control other transport mechanisms.
Note: Some of the additional transport mechanisms listed below are only available in
certain products. For details see [Link]
• Porous Medium
• Unsaturated Porous Medium
• Porous Electrode Coupling
• Volatilization
• Species Source
• When the Crosswind diffusion checkbox is selected, a weak term that reduces spurious
oscillations is added to the transport equation. The resulting equation system is
always nonlinear. There are two options for the Crosswind diffusion type:
- Do Carmo and Galeão — the default option. This type of crosswind diffusion
reduces undershoots and overshoots to a minimum but can in rare cases give
equation systems that are difficult to fully converge.
- Codina — this option is less diffusive compared to the Do Carmo and Galeão
option but can result in more undershoots and overshoots. It is also less effective
for anisotropic meshes. The Codina option activates a text field for the Lower
gradient limit glim. Its defaults to 0.1[mol/m^3]/[Link], where [Link]
is the local element size.
• For both consistent stabilization methods, select an Equation residual. Approximate
residual is the default and means that derivatives of the diffusion tensor components
are neglected. This setting is usually accurate enough and is computationally faster.
If required, select Full residual instead.
INCONSISTENT STABILIZATION
To display this section, click the Show button ( ) and select Stabilization. By default,
the Isotropic diffusion checkbox is not selected, because this type of stabilization adds
artificial diffusion and affects the accuracy of the original problem. However, this
option can be used to get a good initial guess for under resolved problems.
ADVANCED SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options.
Normally these settings do not need to be changed. Select a Material Balance Form —
Nonconservative (the default) or Conservative. The conservative formulation should be
used for compressible flow. See Material Balance Formulation for more information.
DISCRETIZATION
To display all settings available in this section, click the Show button ( ) and select
Advanced Physics Options.
• ndflux_c (where c is the dependent variable for the concentration). This is the
normal diffusive flux and corresponds to the boundary flux when diffusion is the
only contribution to the flux term.
• ntflux_c (where c is the dependent variable for the concentration). This is the
normal total flux and corresponds to the boundary flux plus additional transport
terms, for example, the convective flux when you use the nonconservative form.
Also the Apply smoothing to boundary fluxes checkbox is available if the previous
checkbox is selected. The smoothing can provide a more well-behaved flux value close
to singularities.
For details about the boundary fluxes settings, see Computing Accurate Fluxes in the
COMSOL Multiphysics Reference Manual.
The Value type when using splitting of complex variables setting should in most pure
mass transfer problems be set to Real, which is the default. It makes sure that the
dependent variable does not get affected by small imaginary contributions, which can
occur, for example, when combining a Time Dependent or Stationary study with a
frequency-domain study. For more information, see Splitting Complex-Valued
Variables in the COMSOL Multiphysics Reference Manual.
DEPENDENT VARIABLES
The dependent variable name is the Concentration c by default. The names must be
unique with respect to all other dependent variables in the component.
Add or remove species variables in the model and also change the names of the
dependent variables that represent the species concentrations.
Enter the Number of species. Use the Add concentration ( ) and Remove
concentration ( ) buttons as needed.
It applies to one or more diluted species or solutes that move primarily within a fluid
that fills (saturated) or partially fills (unsaturated) the voids in a solid porous medium.
The pore space not filled with fluid contains an immobile gas phase. Models including
a combination of porous media types can be studied.
The main feature nodes are the Porous Medium and Unsaturated Porous Medium nodes,
which add the equations for the species concentrations and provide an interface for
defining the properties of the porous media, as well as additional properties governing
The physics interface can be used for stationary and time-dependent analysis.
When this physics interface is added, these default nodes are also added to the Model
Builder — Porous Medium, No Flux (the default boundary condition), and Initial Values.
Then, from the Physics toolbar, add other nodes that implement, for example,
boundary conditions, reaction rate expressions, and species sources. You can also
right-click Transport of Diluted Species in Porous Media to select physics features from
the context menu.
SETTINGS
The rest of the settings are the same as The Transport of Diluted Species Interface.
FURTHER READING
Some features require certain add-on modules. For details see https://
[Link]/products/specifications/
Species Properties
Use this node to define parameters specific to each of the species. It is available when
the Migration in electric field checkbox is selected in the Transport Mechanisms section
of the interface.
The node will change its label depending on what inputs are available in the node. If
only Charge is available, it will be labeled “Species charges”.
CHARGE
Enter the charge number zc (dimensionless, but requires a plus or minus sign) for each
species.
ACTIVITY
This section is available when the Species Activity combo box is set to Debye–Hückel or
User defined.
If Debye–Hückel is selected, enter the ion size number, a0, for each species. If User
defined is selected, enter the activity coefficient, f, for each species.
MODEL INPUTS
The temperature model input is always available. Select the source of the Temperature.
For User defined, enter a value or expression for the temperature in the input field. This
input option is always available.
You can also select the temperature solved for by a Heat Transfer interface added to
the model component. These physics interfaces are available for selection in the
Temperature list.
CONVECTION
If transport by convection is active, the velocity field of the solvent needs to be
specified. Select the source of the Velocity field. For User defined, enter values or
expressions for the velocity components in the input fields. This input option is always
available.
You can also select the velocity field solved for by a Fluid Flow interface added to the
model component. These physics interfaces are available for selection in the Velocity
field list.
DIFFUSION
Use this section to specify diffusion coefficients describing the diffusion of each species
in the solvent fluid.
Use the Source list to select diffusion coefficients defined in a material or a Chemistry
interface.
For User defined, enter a value or expression for the Fluid diffusion coefficient Dc of each
species in the corresponding input field. This can be a scalar value for isotropic
diffusion or a tensor describing anisotropic diffusion. Select the appropriate tensor
type — Isotropic, Diagonal, Symmetric, or Full that describes the diffusion transport, and
then enter the values in the corresponding element (one value for each species).
Note that multiple species, as well as Migration in Electric fields (described below) is
only available for certain COMSOL Multiphysics add-on products. See details: https:/
/[Link]/products/specifications/.
• Enter a value or expression for the Electric potential V, which is User defined; this
input option is always available.
• Select the electric potential solved by an AC/DC-based interface that has also been
added to the model.
• Select the electric potential defined or solved by Electrochemistry interface that has
been added to the component.
By default the Mobility is set to be calculated based on the species diffusivity and the
temperature using the Nernst-Einstein relation. For User defined, and under Mobility,
select the appropriate scalar or tensor type — Isotropic, Diagonal, Symmetric, or Full —
and type in the value of expression of the mobility um,c.
Enter the Charge number zc (dimensionless, but requires a plus or minus sign) for each
species.
The temperature (if you are using mobilities based on the Nernst–Einstein relation) is
taken from Model Inputs section.
Note that the migration in electric fields feature is only available in some COMSOL
products. See details: [Link]
Solid
Use this node to describe diffusion in a solid phase domain. In this feature, the
activities of the species are assumed to be ideal.
DIFFUSION
Specify the diffusion coefficients describing the diffusion of each species in the solid.
Enter a value or expression for the Diffusion coefficient Dc of each species in the
corresponding input field. This can be a scalar value for isotropic diffusion or a tensor
describing anisotropic diffusion. Select the appropriate tensor type — Isotropic,
Diagonal, or Symmetric that describes the diffusion transport, and then enter the values
in the corresponding element (one value for each species).
ADVANCED
This section is only available with the Advanced Physics Options selected and when the
model contains a split between the material frame and the spatial frame. A split of these
frames occurs when using a Moving Mesh node or a Structural Mechanics interface like
Solid Mechanics. In such a model, the reference geometry (the material frame) differs
from the deformed geometry (the spatial frame). The diffusive transport of species is
solved for on the material frame, but the equation is adjusted for geometry
deformations so that species conservation is achieved on the spatial frame. Use the
Diffusion model to define the frame of reference for the diffusion tensor.
Select Reference geometry based (Lagrangian) to specify the diffusion tensor in the
undeformed geometry, implying that the diffusion is defined in the material frame
Select Deformed geometry based (Eulerian) to specify the diffusion tensor in the
deformed geometry. This means that the diffusion is defined in the spatial frame
(indicated by coordinates x, y, z). Use this setting when the diffusion tensor
components have been measured in a deformed geometry.
The Advanced Physics Options is found in the Show More Options dialog, accessed by
clicking the Show More Options button ( ).
Note that multiple species are only available for certain COMSOL Multiphysics
add-on products. See details: [Link]
Initial Values
The Initial Values node specifies the initial values for the concentration of each species.
These serve as an initial guess for a stationary solver or as initial conditions for a
transient simulation.
DOMAIN SELECTION
If there are several types of domains with different initial values defined, it might be
necessary to remove some domains from the selection. These are then defined in an
additional Initial Values node.
INITIAL VALUES
Enter a value or expression for the initial value of the Concentration or concentrations,
ci. This also serves as a starting guess for stationary problems.
Mass-Based Concentrations
Use the Mass-Based Concentrations node to add postprocessing variables for mass-based
concentrations (SI unit: kg/m3) and mass fractions (dimensionless) for all species.
MIXTURE PROPERTIES
The default Solvent density solvent is taken From material. For User defined, enter a
value or expression manually. Define the Molar mass of each species, which is needed
to calculate the mass-based concentration.
DOMAIN SELECTION
From the Selection list, choose the domains on which to define rate expression or
expressions that govern the source term in the transport equations.
Several reaction nodes can be used to account for different reactions in different parts
for the modeling geometry.
REACTION RATES
Add a rate expression Ri (SI unit: mol/(m3·s)) for species i. Enter a value or expression
in the field. Note that if you have the Chemistry interface available, provided with the
Chemical Reaction Engineering Module, the reaction rate expressions can be
automatically generated and picked up using the drop-down lists. For an example, see
the application Fine Chemical Production in a Plate Reactor as linked below.
REACTING VOLUME
This section is only available when the Mass Transport in Porous Media property is
available and selected. See [Link] for
more details on availability.
When specifying reaction rates for a species in porous media, the specified reaction rate
may have the basis of the total volume, the pore volume, or in the case of using the
volume of a particular phase (applicable when modeling an unsaturated porous
medium).
• For Total volume, the reaction expressions, in mol/(m3·s), are specified per unit
volume of the model domain (multiplied by unity).
• For Pore volume, the reaction expressions, in mol/(m3·s), are specified per unit
volume of total pore space. The reaction expressions will be multiplied by the
domain porosity, p. (p equals unity for nonporous domains).
• For Liquid phase, the reaction expressions, in mol/(m3·s), are specified per unit
volume of liquid in the pore space. The expressions will be multiplied by the liquid
volume fraction l. (l equals the porosity (p) on Porous Medium domains).
• For Gas phase, the reaction expressions, in mol/(m3·s), are multiplied by the gas
volume fraction g p lg equals 0 for Porous Medium domains.
No Flux
This node is the default boundary condition on exterior boundaries. It should be used
on boundaries across which there is no mass flux, typically solid walls where no surface
reactions occur. The condition applied for each species corresponds to
– n – Dc = 0
where n denotes the outward pointing normal of the boundary. When the mass
transport includes migration of ionic species, the no flux condition is:
– n – Dc – zu m Fc = 0
CONVECTION
By default, the feature prescribes a vanishing flux due to diffusion and migration in an
electric field. This is the appropriate no flux condition when the relative convective
velocity at the boundary is zero. When the fluid velocity at the boundary is not equal
to that of the boundary, it is often convenient to prescribe the total flux including the
convection. To do this select Include in the Convection section.
– n – Dc + uc = 0
or
– n – Dc – zu m Fc + uc = 0
If you want to specify the concentration of a subset of the partaking species, this can
be done by using the Concentration node instead.
For the Electroanalysis interface, this node is available when you select the Convection
checkbox on the physics interface Settings window.
CONCENTRATION
For the concentration of each species c0,c (SI unit: mol/m3), enter a value or
expression.
The other option, Flux (Danckwerts) can be used when the concentration at the
boundary is not known, or when it varies in a nontrivial manner. This may, for example,
be useful when reactions with high reaction rates occur in the vicinity of the inlet. In
this case the concentration far upstream of the boundary is instead prescribed. The Flux
(Danckwerts) condition prescribes the total flux defined by the upstream concentration
and the fluid velocity at the boundary.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options. You can find details about the different constraint settings in the
section Constraint Reaction Terms in the COMSOL Multiphysics Reference Manual.
FURTHER READING
See the theory chapter in the section .
Outflow
Apply this condition at outlets boundaries where species should be transported out of
the model domain by fluid motion or by an electric field (in the case of ions). It is
assumed that convection and migration (in an electric field) are the dominating
transport mechanisms across the boundary, and therefore that the diffusive transport
can be ignored, that is:
Note that the Convection or the Migration in electric field transport mechanisms needs
to be included for this node to be available.
Concentration
This condition node adds a boundary condition for the species concentration. For
example, a c = c0 condition specifies the concentration of species c.
CONCENTRATION
Individually specify the concentration for each species. Select the checkbox for the
Species to specify the concentration, and then enter a value or expression in the
corresponding field. To use another boundary condition for a specific species, click to
clear the checkbox for the concentration of that species.
When defining conditions on boundaries between different phases, see the section
Prescribing Conditions on Fluid-Solid Interfaces.
CONSTRAINT SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options.
You can find details about the different constraint settings in the section Constraint
Reaction Terms in the COMSOL Multiphysics Reference Manual.
Flux
This node can be used to specify the species molar flux across a boundary. The flux can
for example occur due to chemical reactions or a phase change at the boundary. The
flux can also represent the transport to or from a surrounding environment currently
not included model.
– n – Dc = J 0
where n denotes the outward pointing normal of the boundary. When the mass
transport includes migration of ionic species, the flux is defined as:
– n – Dc – zu m Fc = J 0
When defining conditions on boundaries between different phases, see the section
Prescribing Conditions on Fluid-Solid Interfaces.
CONVECTION
By default, the flux due to diffusion and migration in an electric field is prescribed. This
is the appropriate flux condition when the relative velocity at the boundary is zero.
When the fluid velocity is not equal to that of the boundary, it is often convenient to
prescribe the total flux, including the convection. To do this select Include in the
Convection section.
– n – Dc + uc = J 0
or
– n – Dc – zu m Fc + uc = J 0
INWARD FLUX
Select the Species checkbox for the species for which to specify the flux, and enter a
value or expression for the inward flux in the corresponding field. Use a minus sign
when specifying a flux directed out of the system. To use another boundary condition
for a specific species, click to clear the checkbox for that species.
External convection
Set Flux type to External convection to prescribe a flux to or from an exterior domain
(not modeled) assumed to include convection. The exterior can for example include a
forced convection to control the temperature or to increase the mass transport. In this
case the prescribed mass flux corresponds to
J0 = kc cb – c
where kc is a mass transfer coefficient and cb is the bulk concentration, the typical
concentration far into the surrounding exterior domain.
Flux Discontinuity
This node represents a discontinuity in the mass flux across an interior boundary:
where the value N0 (SI unit: mol/(m2·s)) specifies the jump in total flux at the
boundary. This can be used to model a boundary source, for example a surface
reaction, adsorption, or desorption.
FLUX DISCONTINUITY
In this section the jump in species flux (or surface source) is specified.
Select the Species checkbox for the species to specify and enter a value or expression
for the material flux jump in the corresponding field. To use a different boundary
condition for a specific species, click to clear the checkbox for the flux discontinuity of
that species.
Partition Condition
The Partition Condition node can be used to prescribe the relation between the
concentration of a solute species in two adjoining immiscible phases. It can for example
be used on interior boundaries separating two liquid phases, a gas-liquid interface, or
on a boundary separating a liquid phase and a solid or porous media.
Select Partition coefficient from the Relation list to prescribe a linear relationship
between the concentration on either side of a boundary. For a species concentration
ci, the ratio between the concentration on the upside and on the downside of the
boundary (ci,u and ci,d respectively) is then defined in terms of a partition coefficient
Ki in the manner of
c i u
K i = --------
-
c i d
Use the associated input field to prescribe the partition coefficient for each species.
The up and downside of the selected boundary is indicated with a red arrow in the
Graphics window. The arrow points from the downside into the upside. Select the
Reverse direction checkbox to reverse the direction of the arrow on the selected
boundary, and update the definition of the up and downside concentrations
accordingly.
FURTHER READING
For an example of using a partition condition, see this application example:
Periodic Condition
The Periodic Condition node can be used to define periodicity for the mass transport
between two sets of boundaries. The node prescribes continuity in the concentration
and the mass flux between the “source” and the “destination” side, respectively. Note
that these names are arbitrary and does not influence the direction in which mass is
transported. It is dictated by mass transfer equations in the adjacent domains.
BOUNDARY SELECTION
The node can be activated on more than two boundaries, in which case the feature tries
to identify two separate surfaces that each consist of one or several connected
boundaries.
DESTINATION SELECTION
For more complex geometries, it might be necessary to specify the destination
selection manually. To do so, right-click the Periodic Condition node and choose Manual
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog. This section contains settings for
specifying the type of constraint and whether to use a pointwise or weak constraint. See
Constraint Settings for more information.
ORIENTATION OF SOURCE
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog. For information about the Orientation
of Source section, see Orientation of Source and Destination.
ORIENTATION OF DESTINATION
This section appears if the setting for Transform to intermediate map in the Orientation
of Source section is changed from the default value, Automatic, and Advanced Physics
Options is selected in the Show More Options dialog. For information about the
Orientation of Destination section, see Orientation of Source and Destination.
FURTHER READING
For an example of using a periodic condition, see this application example:
SELECTION
The Line Mass Source feature is available for all dimensions, but the applicable selection
differs between the dimensions.
2D Points
2D Axisymmetry Points not on the symmetry axis and the symmetry axis
3D Edges
SPECIES SOURCE
Enter the source strength, qꞏ l,c , for each species (SI unit: molm·s)). A positive value
results in species injection from the line into the computational domain, and a negative
value means that the species is removed from the computational domain.
Line sources located on a boundary affect the adjacent computational domains. This
effect makes the physical strength of a line source located in a symmetry plane twice
the given strength.
Open Boundary
Use this node to set up mass transport across boundaries where both convective inflow
and outflow can occur. On the parts of the boundary where fluid flows into the
domain, an exterior species concentration is prescribed. On the remaining parts, where
fluid flows out of the domain, a condition equivalent to the Outflow node is instead
prescribed.
The direction of the flow across the boundary is typically calculated by a fluid flow
interface and is provided as a model input to the Transport of Diluted Species
interface.
EXTERIOR CONCENTRATION
Enter a value or expression for the Exterior concentration.
Solving a model involving coupled fluid flow and mass transfer, the Thin Impermeable
Barrier feature can be combined with an Interior Wall feature in order to model a thin
solid wall.
Equilibrium Reaction
Use this node to model a reaction where the kinetics is so fast that the equilibrium
condition is fulfilled at all times. The node solves for an additional degree of freedom
(the reaction rate Req) to fulfill the equilibrium condition at all times in all space
coordinates.
EQUILIBRIUM CONDITION
The list defaults to Equilibrium constant or select User defined. For either option, the
Apply equilibrium condition on inflow boundaries checkbox is selected by default.
For Equilibrium constant, enter an Equilibrium constant Keq (dimensionless). Also enter
a value or expression for the Unit activity concentration Ca0 (SI unit: mol/m3).
Selecting Equilibrium constant defines an equilibrium condition based on the
stoichiometric coefficients, the species activities, and the law of mass action.
Species with a stoichiometric coefficient value of 0 are not affected by the Equilibrium
Reaction node.
Surface Reactions
The Surface Reactions node can be used to account for the species boundary flux due
to chemical reactions occurring on a surface (heterogeneous reactions). For a domain
species participating in a surface reaction, the boundary flux corresponds to the
reaction rate at the surface.
When defining conditions on boundaries between different phases, see the section
Prescribing Conditions on Fluid-Solid Interfaces.
FURTHER READING
For an example of using the Surface Reactions node, see this application example:
The node will set the Rate limiting species concentration to zero at the boundary, and
balance the fluxes of the species participating in the reaction and the current densities
according to the Stoichiometric Coefficients settings.
When defining conditions on boundaries between different phases, see the section
Prescribing Conditions on Fluid-Solid Interfaces.
In the Transport of Concentrated Species interface, the molar sources (or sinks) are
multiplied by the species molar masses to obtain the corresponding mass sources.
Additional Reaction Coefficients subnodes are available from the context menu
(right-click the parent node) as well as from the Physics toolbar, Attributes menu.
Reaction Coefficients
Add this node to the Electrode Surface Coupling and Porous Electrode Coupling
features to define molar fluxes and sources based on electrode current densities in an
Electrochemistry interface.
The molar flux or source is proportional to the stoichiometric coefficients and the
current density according to Faraday’s law.
Current densities from Electrode Reaction (iloc, SI unit: A/m2) or Porous Electrode
Reaction nodes (iv, SI unit: A/m3) of any Electrochemistry interface in the model are
available for selection as the Coupled reaction, and user-defined expressions are also
supported.
The flux is proportional to the current densities and the stoichiometric coefficients
according to Faraday’s law as defined by summation over the Reaction Coefficients
subnodes.
Note that if you are also modeling the momentum transport and expect a
nonnegligible total mass flux over the boundary, which is often the case for gas
Porous Medium
Use this node to model the concentration of diluted species transported by a solvent
(mobile fluid phase) through interstices in a solid porous medium. In addition to
transport due to convection and diffusion, the node contains functionality to include
species evolution through adsorption and dispersion.
Species transport through a porous medium is affected both by properties of the fluid
phase, and as well as properties of the solid matrix. These properties are defined in the
Fluid (Porous Medium) and Porous Matrix subnodes respectively. The Porous
Medium node supports material properties using a Porous Material node, where
properties are defined per phase in a similar manner.
Add an Adsorption or a Dispersion subfeature to the Porous Medium to account for the
corresponding transport mechanism.
MODEL INPUTS
The temperature model input is always available. By default, the Temperature model
input is set to Common model input, and the temperature is controlled from Default
Model Inputs under Global Definitions or by a locally defined Model Input. If a Heat
Transfer interface is included in the component, it controls the temperature Common
model input. Alternatively, the temperature field can be selected from another physics
You can also select User defined from the Temperature model input in order to manually
prescribe T.
CONVECTION
If transport by convection is active, the velocity field of the solvent needs to be
specified. For User defined, enter values or expressions for the velocity components in
the input fields. This input option is always available. You can also select the velocity
field solved for by a Fluid Flow interface added to the model component. These
physics interfaces are available for selection in the Velocity field list.
DIFFUSION
Use this section to specify diffusion coefficients describing the diffusion of each species
in the solvent fluid.
Use the Source list to select to pick up diffusion coefficients defined in a material or a
Chemistry interface.
Select Material, and a Fluid material to use a diffusion coefficient in a material available
in the model. User-defined property groups including a diffusion coefficient output
property are available for selection in the Fluid diffusion coefficient list.
For User defined, enter a value or expression for the Fluid diffusion coefficient DF,i of
each species in the corresponding input field.
In a porous medium the diffusivity is reduced due to the fact that the solid grains
impede Brownian motion. Select an Effective diffusivity model to account for the
reduced diffusivity. The available models are Millington and Quirk model (the default),
Bruggeman model, Tortuosity model, or No correction. For Tortuosity model, enter a
value for the tortuosity F,i (dimensionless).
• For User defined, enter a value or expression for the Electric potential V. This input
option is always available.
• Select the electric potential solved by an AC/DC-based interface that has added to
the component.
• Select the electric potential defined or solved for by an Electrochemistry interface
added to the component.
By default the Mobility is set to be calculated based on the species effective diffusivity
and the temperature using the Nernst-Einstein relation. For User defined, select the
appropriate scalar or tensor type — Isotropic, Diagonal, Symmetric, or Full — and type
in the value or expression of the effective mobility ume,i.
Porous Matrix
This node sets the porosity when modeling transport of diluted species in a Porous
Medium or an Unsaturated Porous Medium. The porosity corresponds to the volume
fraction occupied by the species containing fluid.
• By default the porosity of the solid matrix, p, is taken From material. The Porous
Matrix node supports the use of a Porous Material added to the Materials branch. In
this case the porosity is defined in the manner of
p = 1 – s i – imf i
i i
where s,i and imf,i are the volume fractions given in Solid and Immobile Fluids
subnodes under the Porous Material node.
• Select From pellet bed densities to compute the porosity using the (dry bulk) Bed
density b and the (single phase) Pellet density pe. The porosity is then defined from
Dispersion
Local variations in the velocity as the fluid flows around solid particles lead to
mechanical mixing, referred to as dispersion. Use this feature to account for dispersion
in a Porous Medium or a Unsaturated Porous Medium
This subfeature is available when both the Mass transfer in porous media mass transfer
checkbox and the Convection checkbox are selected in the Settings window for the
physics interface.
Select the Specify dispersion for each species individually checkbox to specify the
dispersion tensor DD (SI unit: m2/s) for each species separately. When not selected the
same dispersion tensor DD is used for all species.
Select an option from the Dispersion tensor list — Dispersivity or User defined.
Select Dispersivity to specify the dispersion in terms of dispersivities (SI unit: m). Select
an option from the Dispersivity model list: Isotropic (the default) or Transverse isotropic
based on the properties of the porous media. For isotropic porous media, specify the
longitudinal and transverse dispersivities. For transverse isotropic porous media,
specify the longitudinal, horizontal transverse, and vertical transverse dispersivities.
Use this node to model the concentration of diluted species transported by a liquid
(mobile fluid phase) in a partially filled solid porous medium. The interstices of the
porous medium contains the liquid carrier phase and gas pockets. Apart from
The properties of each phase present are defined using the Liquid, the Gas, and the
Porous Matrix subnodes respectively. The Unsaturated Porous Medium node supports
material properties using a Porous Material node, where properties are defined per
phase in a similar manner.
Liquid
Use this node to specify the mass transfer in the mobile liquid solvent present in the
pores of the Unsaturated Porous Medium.
MODEL INPUTS
The temperature model input is always available. By default, the Temperature model
input is set to Common model input, and the temperature is controlled from Default
Model Inputs under Global Definitions or by a locally defined Model Input. If a Heat
Transfer interface is included in the component, it controls the temperature Common
model input. Alternatively, the temperature field can be selected from another physics
interface. All physics interfaces have their own tags (Name). For example, if a Heat
Transfer in Fluids interface is included in the component, the Temperature (ht) option
is available for T.
You can also select User defined from the Temperature model input in order to manually
prescribe T.
SATURATION
Select Saturation or Liquid volume fraction from the list.
For Saturation, enter a value for s (dimensionless) between 0 and 1. The liquid volume
fraction is then computed from the saturation and porosity as l = ps.
Select a Liquid fraction time change: Liquid fraction constant in time (the default), Time
change in liquid fraction, or Time change in pressure head.
• For Time change in fluid fraction, enter d/dt (SI unit: 1/s).
• For Time change in pressure head, enter dHp/dt (SI unit: m/s) and a Specific
moisture capacity Cm (SI unit: 1/m). If a Darcy’s Law interface is included in the
component, the time change in pressure head solved for can be selected.
CONVECTION
If transport by convection is active, the velocity field of the solvent needs to be
specified. For User defined, enter values or expressions for the velocity components in
the input fields. This input option is always available. You can also select the velocity
field solved for by a Fluid Flow interface added to the model component. These
physics interfaces are available for selection in the Velocity field list.
DIFFUSION
Use this section to specify diffusion coefficients describing the diffusion of each species
in the solvent liquid.
Use the Source list to select to pick up diffusion coefficients defined in a material or a
Chemistry interface.
Select Material, and a Liquid material to use a diffusion coefficient in a material available
in the model. User-defined property groups including a diffusion coefficient output
property are available for selection in the Liquid diffusion coefficient list.
For User defined, enter a value or expression for the Liquid diffusion coefficient DL,i of
each species in the corresponding input field.
In a porous medium the diffusivity is reduced due to the fact that the solid grains
impede Brownian motion. Select an Effective diffusivity model, liquid to account for the
reduced diffusivity in the liquid. The available models are Millington and Quirk model
Note that multiple species, as well as Migration in Electric fields (described below) is
only available for certain COMSOL Multiphysics add-on products. For details see:
[Link]
• For User defined, enter a value or expression for the Electric potential V. This input
option is always available.
• Select the electric potential solved by an AC/DC-based interface that has added to
the component.
• Select the electric potential defined or solved for by an Electrochemistry interface
added to the component.
By default the Mobility is set to be calculated based on the species effective diffusivity
and the temperature using the Nernst-Einstein relation. For User defined, select the
appropriate scalar or tensor type — Isotropic, Diagonal, Symmetric, or Full — and type
in the value or expression of the effective mobility ume,i.
Gas
Use this node to specify the mass transfer in the gas phase present in the pores of the
Unsaturated Porous Medium.
DIFFUSION
The settings for the diffusion of each species in the gas phase are identical to those in
the Liquid subnode.
VOLATILIZATION
Enter a value for the volatilization isotherm kG,c (dimensionless) for each species.
MATRIX PROPERTIES
The density of the porous media is needed when modeling adsorption to the surface
of the porous matrix. Choose to input either the Dry bulk density , or the Solid phase
density s. The former is the density of the porous matrix including empty pores, while
the latter corresponds to the density of the pure solid phase. The density can be defined
from the domain material by selecting From material, or from a user defined expression.
When a Porous Material is used on the selection, the density will be requested from a
Solid subfeature. Several Solid features can be used to model a homogeneous mixture
of several solid components.
ADSORPTION
Select an Adsorption isotherm — Langmuir, Freundlich, Toth, BET, or User defined to
specify how to compute cP, the amount of species sorbed to the solid phase (moles per
unit dry weight of the solid):
• For Langmuir:
KL c c K L c Pmax
c P = c Pmax -------------------- K P = -------P- = ---------------------------
1 + KL c c 1 + KL c
2
Enter a Langmuir constant kL,c (SI unit: m3/mol) and an Adsorption maximum
cp,max,c (SI unit: mol/kg).
• For Freundlich:
Enter a Freundlich constant kF,c (SI unit: mol/kg), a Freundlich exponent NF,c
(dimensionless), and a Reference concentration cref,c (SI unit: mol/m3).
• For Toth:
bT c
c P = c Pmax ----------------------------------------------
N 1 NT
1 + bT c T
and
– 1 + ------
1-
c N T
N
KP = -------P- = c Pmax b T 1 + b T c T
c
Enter a Toth constant bT,c (SI unit: m3/mol), a Toth exponent NT,c (dimensionless),
and an Adsorption maximum cp,max,c (SI unit: mol/kg).
• For BET (Brunauer-Emmett-Teller):
KB c0 c
c P = -------------------------------------------------------------
-
c S – c 1 + K B – 1 -----
c
c S
and
2 2
c K B c 0 c S K B – 1 c + c S
K P = -------P- = -----------------------------------------------------------------
-
c 2
c – c S c S + K B – 1 c
2
cP = f c
FURTHER READING
See the theory chapter in the section .
Use this feature to model mass transfer at the boundary due to volatilization. The
species dissolved in the liquid are assumed to be vaporized at the boundary, and
transported into the surrounding bulk region due to convection and diffusion. The
mass transfer at the boundary is defined as
– n J c = – h c k G,c c – c Gatm,c
where hc is the mass transfer coefficient, kG,c the volatilization coefficient, and cGatm,c
the concentration in the surrounding atmosphere.
VOLATILIZATION
Enter a Mass transfer coefficient hc defining the transfer into the surrounding media.
This can be given by boundary layer theory. When assuming that no convective flow
is present in the surrounding, the mass transfer coefficient can be defined from the gas
diffusion coefficient DGc and the thickness of the diffusion layer ds in the manner of
D Gc
h c = ----------
ds
Also give the atmospheric concentration for each species, cGatm,c. The Volatilization
coefficient kG,c for each species are taken from the adjacent Unsaturated Porous
Medium domain.
Species Source
In order to account for consumption or production of species in porous domains, the
Species Source node adds source terms expressions Si to the right-hand side of the
species transport equations.
If there are several types of domains, with subsequent and different reactions occurring
within them, it might be necessary to remove some domains from the selection. These
are then defined in an additional Species Source node.
SPECIES SOURCE
Add a source term Si (SI unit: mol/(m3·s)) for each of the species solved for. Enter a
value or expression in the field of the corresponding species.
Hygroscopic Swelling
The Hygroscopic Swelling multiphysics coupling node ( ) is used for moisture
concentration coupling between the Solid Mechanics interface and either the
Transport of Diluted Species or Transport of Diluted Species in Porous Media
interfaces.
hs = h M m c mo – c mo,ref
where h is the coefficient of hygroscopic swelling, Mm is the molar mass, cmo is the
moisture concentration, and cmo,ref is the strain-free reference concentration.
This feature requires a license of either the MEMS Module or the Structural Mechanics
Module. The multiphysics feature will appear automatically if both the Transport of
Diluted Species and the Solid Mechanics interfaces are added to the same component.
For the most current information about licensing, please see https://
[Link]/products/specifications/.
FURTHER READING
More information about how to use hygroscopic swelling can be found in the
Hygroscopic Swelling section in the Structural Mechanics Module User’s Guide.
More information about multiphysics coupling nodes can be found in the section The
Multiphysics Branch.
Jz
Jup
Jdown
For a 1D component this node adds a single out-of-plane molar flux J0,z,i for species
i. For a 2D component two fluxes can be prescribed for each species; J0,u,i for the
upside of the domain, and J0,d,i for the downside of the domain.
The fluxes are added as a source contribution to the right-hand side of the transport
equation. For example, in 2D components with diffusion, convection, and
out-of-plane flux present, the mass transfer of species i is defined by the mass
conservation equation
c i
------- + J i + u c i = R i + S opf i , (5-1)
t
J 0 i J 0 u i + J 0 d i
- = --------------------------------------
S opf i = --------- .
dz dz
For external convection on the upside and the downside of the domain, the
out-of-plane flux is
where kc is a mass transfer coefficient and cb is the bulk concentration, the typical
concentration far into the surrounding exterior domain. The prescribed flux, J0, can
include any arbitrary user-specified expressions. It can be a constant or a function of a
dependent variable or independent variables.
J 0 i = P c J 0 z i .
The default value of Pc is the circumference. Either keep the default value, for a circular
cross-section shape, or edit the value to get a user-defined shape of the out-of-plane
cross-section.
The available flux type options are General inward flux and External convection. Select
the Species checkbox for the species for which to specify the flux, and enter a value or
expression for the inward flux in the corresponding field. Use a minus sign when
specifying a flux directed out of the system. To use another boundary condition for a
specific species, click to clear the checkbox for that species.
Set Flux type to External convection to prescribe a flux to or from an exterior domain
(not modeled) assumed to include convection. The exterior can for example include a
forced convection to control the temperature or to increase the mass transport. In this
case the prescribed mass flux corresponds to
J0 = kc cb – c
where kc is a mass transfer coefficient and cb is the bulk concentration, the typical
concentration far into the surrounding exterior domain.
Fracture
Use this node to model mass transport along thin fractures in porous media. The node
assumes that the transport in the tangential direction along the fracture is dominant as
a result of lower flow resistance.
The Fracture feature has two default subfeatures — the Fluid (Fracture) subfeature
where convection and diffusion are specified and the Fracture Material subfeature
where the porosity p is defined.
FRACTURE PROPERTIES
Specify a value for the Fracture thickness dfr.
For the Fracture boundary condition, there are a number of Attributes available which
can be accessed either via the Physics Ribbon toolbar (for Windows) or by
right-clicking on the Fracture node. These attributes are identical to the Boundary,
Edge, Point, and Pair Nodes for the Transport of Diluted Species in Fractures
Interface.
Fluid (Fracture)
Use this node to specify the mass transfer in the mobile fluid solvent filling the pores
of a fracture.
It uses the same input options as the Fluid (Porous Medium) subfeature under the
Porous Medium feature. There are further details about the settings.
CONVECTION
If transport by convection is active, the velocity field of the solvent needs to be
specified. Select an option from the Velocity field list to specify the convective velocity
along the fracture. For a consistent model, use a Fracture feature in a Darcy’s Law
interface to compute the fluid flow velocity in the fracture.
For User defined, enter values or expressions for the velocity components in the table
shown
DIFFUSION
Use this section to specify diffusion coefficients describing the diffusion of each species
in the solvent fluid.
The Diffusion settings are similar to those for the diffusion coefficients in
the Fluid (Porous Medium) node under Porous Medium.
Fracture Material
Specify the Porosity p (dimensionless) of the porous matrix. This is by default taken
From material. Select From pellet bed densities to compute the porosity from the (dry
bulk) Bed density b and the (single phase) Pellet density pe through the relation
b
p = 1 – -------
-
pe
The interface supports simulation of species transport along boundaries in 2D and 3D,
and axisymmetric components in 2D. The dependent variable is the molar
concentration, c. Modeling multiple species transport is possible, whereby the physics
interface solves for the molar concentration, ci, of each species i.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is dsf.
BOUNDARY SELECTION
If the model geometry includes boundaries that should not be included in the mass
transfer simulation, remove those from the selection list.
OUT-OF-PLANE THICKNESS
For 2D components, the Thickness field (default value: 1 m) defines a parameter for the
thickness of the geometry perpendicular to the two-dimensional cross-section. Both
constant and varying thicknesses are supported. The value of this parameter is used,
TRANSPORT MECHANISMS
Use the Convection checkbox, available under Additional transport mechanisms, to
control whether to also include convective transport.
CONSISTENT STABILIZATION
To display this sections, click the Show button ( ) and select Stabilization. Use this
section to control the application of the available consistent stabilization methods;
Streamline diffusion and Crosswind diffusion.
• When the Crosswind diffusion checkbox is selected, a weak term that reduces spurious
oscillations is added to the transport equation. The resulting equation system is
always nonlinear. There are two options for the Crosswind diffusion type:
- Do Carmo and Galeão — the default option. This type of crosswind diffusion
reduces undershoots and overshoots to a minimum but can in rare cases give
equation systems that are difficult to fully converge.
- Codina. This option is less diffusive compared to the Do Carmo and Galeão
option but can result in more undershoots and overshoots. It is also less effective
for anisotropic meshes. The Codina option activates a text field for the Lower
gradient limit glim. Its default value is 0.1[mol/m^3)/[Link], where
[Link] is the local element size.
• For both consistent stabilization methods select an Equation residual. Approximate
residual is the default and means that derivatives of the diffusion tensor components
are neglected. This setting is usually accurate enough and is computationally faster.
If required, select Full residual instead.
INCONSISTENT STABILIZATION
To display this section, click the Show button ( ) and select Stabilization. By default,
the Isotropic diffusion checkbox is not selected, because this type of stabilization adds
artificial diffusion and affects the accuracy of the original problem. However, this
option can be used to get a good initial guess for under resolved problems.
DISCRETIZATION
To display all settings available in this section, click the Show button ( ) and select
Advanced Physics Options.
DEPENDENT VARIABLES
The dependent variable name is Concentration c by default. A dependent variable name
must be unique with respect to all other dependent variables in the component.
Add or remove species variables in the model and also change the names of the
dependent variables that represent the species concentrations.
Enter the Number of species. Use the Add concentration ( ) and Remove
concentration ( ) buttons as needed.
FURTHER READING
Boundary, Edge, Point, and Pair Nodes for the Transport of Diluted
Species in Fractures Interface
The Transport of Diluted Species in Fractures Interface has the following boundary,
edge, point, and pair nodes, listed in alphabetical order, available from the Physics
• Concentration • No Flux
• Flux • Outflow
• Fracture • Reactions
• Inflow • Species Source
• Initial Values
• Adsorption
• Dispersion
Adsorption
Use this node to model adsorption of the fluid phase species onto the porous media
surface of the fracture.
MATRIX PROPERTIES
Use the Porous material list to define a material specifying the matrix properties on the
current selection. By default the Boundary material is used as The Transport of Diluted
Species in Fractures Interface is active on boundaries only. The Density of the porous
media is needed when modeling adsorption to the surface of the porous matrix. By
default the option From material is selected.
ADSORPTION
Select an Adsorption isotherm — Langmuir (the default), Freundlich, Toth, BET, or User
defined to specify how to compute cP, the amount of species sorbed to the solid phase
(moles per unit dry weight of the solid). Also activate the checkbox for the species ci
for which adsorption takes place.
• For Langmuir:
Enter a Langmuir constant kL,c (SI unit: m3/mol) and an Adsorption maximum
cp,max,c (SI unit: mol/kg):
• For Freundlich:
c N c P cP
c P = K F -------- -------- = N ----- Freundlich
c ref c c
Enter a Freundlich constant kF,c (SI unit: mol/kg), a Freundlich exponent NF,c
(dimensionless), and a Reference concentration cref,c (SI unit: mol/m3).
• For Toth:
bT c
c P = c Pmax ----------------------------------------------
N 1 NT
1 + bT c T
and
– 1 + ------
1-
c P N N T
-------- = c Pmax b T 1 + b T c T
c
Enter a Toth constant bT,c (SI unit: m3/mol), a Toth exponent NT,c (dimensionless),
and an Adsorption maximum cp,max,c (SI unit: mol/kg).
• For BET (Brunauer-Emmett-Teller):
KB c0 c
c P = -------------------------------------------------------------
-
c S – c 1 + K B – 1 -----
c
cS
and
2 2
K B c 0 c S K B – 1 c + c S
-----------------------------------------------------------------
-
2 2
c – c S c S + K B – 1 c
FURTHER READING
See the theory chapter in the section Mass Balance Equation for Transport of Diluted
Species in Porous Media.
Concentration
Use this node to specify the species concentration on a fracture boundary (applied in
points in 2D and along edges in 3D). For example, a c = c0 condition specifies the
concentration of species c.
CONCENTRATION
Individually specify the concentration for each species. Select the checkbox for the
Species to specify the concentration, and then enter a value or expression in the
corresponding field. To use another boundary condition for a specific species, click to
clear the checkbox for the concentration of that species.
CONSTRAINT SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options.
You can find details about the different constraint settings in the section Constraint
Reaction Terms in the COMSOL Multiphysics Reference Manual.
Dispersion
Local variations in the velocity as the fluid flows around solid particles lead to
mechanical mixing, referred to as dispersion. Use this feature to account for dispersion
in a Fracture.
This subfeature is available when the Convection checkbox is selected in the Settings
window for the physics interface.
Select the Specify dispersion for each species individually checkbox to specify the
dispersion tensor DD (SI unit: m2/s) for each species separately. When not selected the
same dispersion tensor DD is used for all species.
Select an option from the Dispersion tensor list — Dispersivity or User defined.
Flux
This node can be used to specify the species flux across a boundary of a porous fracture
(applied in points in 2D and along edges in 3D). The flux of species c is defined as
n d fr D e c = d fr N 0
INWARD FLUX
The available options are General inward flux and External convection. If the latter is
chosen, define a Mass transfer coefficient and a Bulk concentration. Specify the flux of
each species individually. To use another boundary condition for a specific species,
make sure that the checkbox for the mass fraction of that species is unchecked.
Inflow
Use this node to specify all species concentrations at a fracture inlet. The condition is
applied in points in 2D and along edges in 3D.
If you want to specify the concentration of a subset of the partaking species, this can
be done by using the Concentration node instead.
CONCENTRATION
For the concentration of each species c0,c (SI unit: mol/m3), enter a value or
expression.
CONSTRAINT SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options.
You can find details about the different constraint settings in the section Constraint
Reaction Terms in the COMSOL Multiphysics Reference Manual.
FURTHER READING
See the theory chapter in the section Danckwerts Inflow Boundary Condition.
No Flux
This node can be used to specify that the species flux across a boundary of a porous
fracture is zero. The condition is applied in points in 2D and along edges in 3D.
Outflow
Set this condition at fracture outlets where species are transported out of the model
domain by fluid motion. The condition is applied in points in 2D and along edges in
3D. It is assumed that convection is the dominating transport mechanism across
outflow boundaries, and therefore that diffusive transport can be ignored, that is:
n – D e c = 0
Reactions
Use the Reactions node to account for the consumption or production of species
through chemical reactions in the fracture. Define the rate expressions as required.
Several reaction nodes can be used to account for different reactions in different parts
of the fracture.
REACTION RATES
Add a rate expression Ri for species i. Enter a value or expression in the field. Note that
if you have the Chemistry interface available, included with the Chemical Reaction
Engineering Module, the reaction rate expressions can be automatically generated and
picked up using the drop-down list.
REACTING VOLUME
When specifying reaction rates for a species in a fracture, the specified reaction rate may
have the basis of the pore volume of the fracture, or the total volume.
• For Total volume, the reaction expressions in are specified per unit volume of the
fracture. The reaction expressions will be multiplied by the fracture thickness dfr.
• For Pore volume, the reaction expressions in mol/(m3·s) are specified per unit
volume of total pore space in the fracture. The reaction expressions will be
multiplied by the fracture thickness dfr and the fracture porosity, p.
Species Source
In order to account for consumption or production of species in a fracture, the Species
Source node adds source terms expressions Si to the right-hand side of the species
transport equations.
BOUNDARY SELECTION
From the Selection list, choose the boundaries on which to define expressions that
govern the source term in the transport equations.
If there are several different parts of the fracture, with subsequent and different sources
occurring within them, it might be necessary to remove some boundaries from the
selection. The sources in these can then be defined using an additional Species Source
node.
The physics interface solves for the mass fractions of all participating species. Transport
through convection, diffusion, and migration in an electric field can be included.
The available transport mechanisms and diffusion models differs between various
COMSOL products (see [Link]
Some examples of what can be studied with this physics interface include:
When this physics interface is added, the following default nodes are also added in the
Model Builder — Fluid, No Flux, and Initial Values. Then, from the Physics toolbar, add
other nodes that implement, for example, boundary conditions and reactions. You can
also right-click Transport of Concentrated Species to select physics features from the
context menu.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is tcs.
EQUATION
The basic equation for the conservation of mass of a species i is:
i + i u = – j i + R i (5-2)
t
Using the continuity equation, the sum of all species equations, the equation can be
recast in its nonconservative form:
( i) + u i = – j i + R i (5-3)
t
This form of the equation is the one used in the Transport of Concentrated Species
interface. The equation displayed in the interface changes depending on the active
transport mechanisms, the selected diffusion model, and the type of reactions
modeled.
OUT-OF-PLANE THICKNESS
For 2D components, the Thickness field (default value: 1 m) defines a parameter for the
thickness of the geometry perpendicular to the two-dimensional cross-section. Both
constant and varying thicknesses are supported. The value of this parameter is used,
among other things, to automatically calculate mass flow rates from the total mass flux.
CROSS-SECTIONAL AREA
For 1D components, enter a Cross-sectional area Ac (SI unit: m2) to define a parameter
for the area of the geometry perpendicular to the 1D component. Both constant and
varying areas are [Link] value of this parameter is used, among other things,
to automatically calculate mass flow rates from the total mass flux. The default is 1 m2.
The available diffusion models and the additional transport mechanisms differs
between various COMSOL products (see [Link]
specifications/).
Diffusion Model
• The Maxwell–Stefan option employs the most detailed diffusion model, but is also
the most computationally expensive. The model is intended for diffusion dominated
models, and requires that the multicomponent Maxwell–Stefan diffusivities of all
component pairs are known.
• The Mixture-averaged option is less computationally expensive than the Maxwell–
Stefan model. It is a simpler model that can be used when variations in the partial
pressures and temperature can be assumed to not affect the multicomponent
diffusion. The model includes stabilization but requires the multicomponent
Maxwell–Stefan diffusivities of all component pairs.
• The Fick’s law model is a general model that should be used when the diffusion is
assumed Fickian, or when no multicomponent diffusivities are available. Also, when
molecular diffusion is not the dominating transport mechanism and a robust but
low order model is wanted, the Fick’s law options should be used. The model
includes stabilization.
• Porous Medium
• Porous Electrode Coupling
where D ˜ 2
ik (SI unit: m /s) are the multicomponent Fick diffusivities, dk (SI unit: 1/
T
m) is the diffusional driving force, T (SI unit: K) is the temperature, and D i (SI
unit: kg/(m·s)) is the thermal diffusion coefficient.
Q
1
d k = x k + --- x k – k p – k g k + k
p l gl (5-4)
l=1
where gk is an external force (per unit mass) acting on species k. In the case of an ionic
species, the external force due to the electric field, which is added by selecting the
Migration in electric field checkbox, is
zk F
g k = – --------- (5-5)
Mk
where zk is the species charge number, F (SI unit: A·s/mol) is Faraday’s constant and
(SI unit: V) is the electric potential.
1 = 1 – i (5-6)
i=2
ADVANCED SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options.
Normally these settings do not need to be changed.
Regularization
From the Regularization list, select On (the default) or Off. When turned On, regularized
mass fractions are calculated such that
0 w i reg 1
Diffusion
The Diffusion settings are available for the approximate diffusion models
Mixture-averaged and Fick’s law.
The Diffusion flux type list controls the whether the molecular flux is assumed
proportional to the mole fraction or the mass fraction. See Multicomponent Diffusion:
Mixture-Averaged Approximation or Multispecies Diffusion: Fick’s Law
Approximation for information on the diffusive flux formulation.
DISCRETIZATION
To display all settings available in this section, click the Show button ( ) and select
Advanced Physics Options.
For more information about these settings, see the Discretization section under The
Transport of Diluted Species Interface.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
DEPENDENT VARIABLES
Add or remove species in the model and also change the names of the dependent
variables that represent the species concentrations.
Specify the Number of species. There must be at least two species. To add a single
species, click the Add concentration button ( ) under the table. To remove a species,
select it in the list and click the Remove concentration button ( ) under the table.
Edit the names of the species directly in the table.
The species are dependent variables, and their names must be unique with
respect to all other dependent variables in the component.
This interface is dedicated to analyzing mass transport in porous media where the
chemical species may be subjected to convection, diffusion, and migration in an
electric field. The interface also includes reaction rate expressions and source terms for
modeling chemical reactions in porous media. It is also possible to include regions with
free flow.
The main feature of the interface is the Porous Medium node which adds the governing
equations for the mass fractions of all present species. It has two subnodes, Fluid and
Porous Matrix, which in turn are used to define the physical properties corresponding
to each phase, and to prescribe the transport properties. The latter are typically the
flow field, and when applicable, the electric field. The Porous Medium node supports
When this physics interface is added, the following default nodes are also added to the
Model Builder — Porous Medium, No Flux (the default boundary condition), and Initial
Values. Then, from the Physics toolbar, add other nodes that implement, for example,
boundary conditions, reaction rate expressions, and species sources. You can also
right-click Transport of Concentrated Species in Porous Media to select physics features
from the context menu.
SETTINGS
The rest of the settings are the same as The Transport of Diluted Species Interface.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Species Properties
Use this node to define parameters specific to each of the species.
MOLAR MASS
Enter a value or expression for the Molar mass Mw for each species. The default value
is 0.032 kg/mol, which is the molar mass of O2 gas.
CHARGE
This section is available when the Migration in electric field checkbox is selected in the
Transport Mechanisms section of the interface. Enter the charge number zw
(dimensionless, but requires a plus or minus sign) for each species.
Fluid
The Fluid node is the main node used to model mass transfer in a fluid mixture with
the Transport of Concentrates species interface. The node adds the equations
governing the mass fractions of all present species, and provides inputs for the
transport mechanisms and for the material properties of the fluid mixture.
The settings in this node are dependent on the checkboxes selected under Transport
Mechanisms in the Settings window of the Transport of Concentrated Species
interface.
The options available in this feature differs between COMSOL products. (See https:/
/[Link]/products/specifications/).
MODEL INPUTS
Specify the temperature and pressure to be used in the physics interface. The
temperature model input is used when calculating the density from the ideal gas law,
but also when thermal diffusion is accounted for by supplying thermal diffusion
coefficients. The pressure model input is used in the diffusional driving force in
Equation 5-4 (that is, when a Maxwell–Stefan Diffusion Model is used) and when
calculating the density from the ideal gas law.
• Select User defined to enter a value or an expression for the temperature (SI unit: K).
This input is always available.
• If required, select a temperature defined by a Heat Transfer interface present in the
model (if any). For example, select Temperature (ht) to use the temperature defined
by the Heat Transfer in Fluids interface with the ht name.
Absolute Pressure
Select the source of the Absolute pressure p:
• Select User defined to enter a value or an expression for the absolute pressure
(SI unit: Pa). This input is always available.
• In addition, select a pressure defined by a Fluid Flow interface present in the model
(if any). For example, select Absolute pressure (spf) to use the pressure defined in a
Laminar Flow interface with spf as the name.
DENSITY
Define the density of the mixture and the molar masses of the participating species.
Mixture Density
Select a way to define the density from the Mixture density list — Ideal gas or User
defined:
• For Ideal gas, the density is computed from the ideal gas law in the manner of:
pM-
= ----------
Rg T
Here M is the mean molar mass of the mixture and Rg is the universal gas constant.
The absolute pressure, p, and temperature, T, used corresponds to the ones defined
in the Model Inputs section.
• For User defined enter a value or expression for the Mixture density .
CONVECTION
Select the source of the Velocity field u:
• Select User defined to enter manually defined values or expressions for the velocity
components. This input is always available.
• Select a velocity field defined by a Fluid Flow interface present in the model (if any).
For example, select Velocity field (spf) to use the velocity field defined by the Fluid
DIFFUSION
Specify the molecular and thermal diffusivities of the present species based on the
selected Diffusion model.
Diffusion Coefficient
Using a Fick’s Law Diffusion Model, the diffusion is by default assumed to be isotropic
F
and governed by one Diffusion coefficient D w (SI unit: m2/s) for each species. To allow
for a general representation, it is also possible to use diffusion matrices (diagonal,
symmetric, or anisotropic).
Electric Potential
• Select User defined to enter a value or expression for the electric potential. This input
is always available.
• If required, select an electric potential defined by an AC/DC interface that is
present in the model (if any). For example, select Electric potential (ec) to use the
electric field defined by the Current Conservation node cucn1 in an Electric
Currents interface ec.
Settings for the mobilities are used for the Mixture-averaged and Fick’s law transport
models. By default the mobility is set to be calculated based on the species diffusivities
and the temperature using the Nernst-Einstein relation. To manually specify the
mobilities, select User defined for the mobility um,c (SI unit: s·mol/kg) and enter one
value for each species.
The temperature (if you are using mobilities based on the Nernst–Einstein relation) is
taken from the Model Inputs section.
Porous Medium
Use this node to model the composition in a gas or liquid mixture as it is transported
though the interstices of solid porous medium. In addition to transport due to
convection and diffusion, the node contains functionality to include species evolution
through reactions in the fluid phase.
Species transport in a porous medium is affected both by properties of the fluid phase
as well as properties of the solid matrix. These properties are defined in the Fluid
(Porous Medium) node and the Porous Matrix node respectively. The Porous Medium
node supports material properties using a Porous Material node, where properties are
defined per phase in a similar manner.
Temperature
Select the source of the Temperature field T:
Absolute Pressure
Select the source of the Absolute pressure p:
• Select User defined to enter a value or an expression for the absolute pressure.
• When present, select a pressure defined by a Fluid Flow interface present in the
model. For example, select Absolute pressure (spf) to use the pressure defined in a
Laminar Flow interface with spf as the name.
DENSITY
Use this section to define the density of the fluid phase, and to specify the molar masses
of the participating species.
Mixture Density
Select a way to define the density from the Mixture density list — Ideal gas or User
defined:
• For Ideal gas, the density is computed from the ideal gas law in the manner of:
pM-
= ----------
Rg T
Here M is the mean molar mass of the mixture and Rg is the universal gas constant.
The absolute pressure, p, and temperature, T, used corresponds to the ones defined
in the Model Inputs section.
• For User defined enter a value or expression for the Mixture density .
• Select User defined to enter values or expressions for the velocity components. This
input is always available.
• Select a velocity field defined by a Fluid Flow interface that solves for the velocity of
the fluid. For example, select Velocity field (spf) to use the velocity field defined by
in a Single-Phase Flow, Laminar Flow interface with spf as the Name.
When the interface is used in a reacting flow multiphysics coupling, the velocity is
automatically defined and the input is disabled.
DIFFUSION
Specify the species molecular and thermal diffusivities in fluid phase in the manner
described for the Fluid node.
To account for the effect of porosity in the diffusivities, select an Effective diffusivity
model — Millington and Quirk model, Bruggeman model, Tortuosity model, or No
correction. Using one of the first four models, the effective transport factor, fe, is
defined from the porosity and the fluid tortuosity factor in the manner of:
f e = ----p- (5-7)
F
The species diffusivities and mobilities are automatically adjusted for porous media
transport using the effective transport factor.
• Select User defined to enter a value or expression for the electric potential.
• When present, select an electric potential defined by an AC/DC interface that is
present in the model. For example, select Electric potential (ec) to use the electric
field defined an Electric Currents interface ec.
Settings for the mobilities are needed for the Mixture-averaged and Fick’s law diffusion
models. By default the mobility is set to be calculated based on the species diffusivities
(adjusted by the Effective diffusivity model in the Diffusion section) using the
Nernst-Einstein relation. To manually specify the mobilities, select User defined for the
mobility um,w and enter one value for each species.
The temperature (if you are using mobilities based or the Nernst–Einstein relation) is
taken from the Model Inputs section.
MW 1 1 -
-1
Di = --------
- + --------
D M D W
i i
For the Maxwell-Stefan diffusion model, the following term is added to the species force
balance
xi ji
- --------- + u W = d i
+ ------------
W
D i eff i
Porous Matrix
This node defines the porosity, when modeling transport in a Porous Medium. The
porosity corresponds to the volume fraction occupied by the species containing fluid.
• By default the porosity of the solid matrix, p, is taken From material. The Porous
Matrix node supports the use of a Porous Material added to the Materials branch. In
this case the porosity is defined in the manner of
p = 1 – s i – imf i
i i
where s,i and imf,i are the volume fractions given in Solid and Immobile Fluids
subnodes under the Porous Material node.
• Select From pellet bed densities to compute the porosity using the (dry bulk) Bed
density b and the (single phase) Pellet density pe. The porosity is then defined from
b
p = 1 – -------
-
pe
Select Account for Stefan velocity to update the Stefan velocity in accordance with the
mass flux from the electrode reactions. One example that may benefit from this is when
modeling gas diffusion electrodes.
Reaction
Use the Reaction node to specify the reaction kinetics for a single homogeneous
chemical reaction. The resulting mass source terms for the species involved in the
reaction are automatically defined and added on the selected domains. For turbulent
flow, the Reaction node includes the Eddy-dissipation turbulent-reactions model.
REACTION RATE
Select a Reaction rate — Automatic (the default), or User defined. Selecting Automatic
the laminar flow reaction rate is computed using the mass action law
For User defined, input a custom expression or constants for the Reaction rate r.
Specify the reaction stoichiometry by entering values for the stoichiometric coefficients
(dimensionless) of each species. Enter negative values for reactants and positive values
for products.
RATE CONSTANTS
When the Use Arrhenius expressions checkbox is not selected, input custom expressions
or constants for the Forward rate constant kf and Reverse rate constant kr.
TURBULENT FLOW
Note this section is only available when then licensed to the CFD Module (see https:/
/[Link]/products/specifications/).
When the Turbulent-reaction model is set to None, laminar flow is assumed and the
reaction source terms are defined from the reaction stoichiometry and reaction rates
prescribed.
The Eddy-dissipation model also requires an estimation of the turbulent mixing time of
the fluid flow turbulence. When a Fluid Flow interface defining it is present in the
model, it can be selected from the Turbulence time scale list. For example, select
Turbulence time scale (spf/fp1) to use the time scale defined by the Fluid Properties node
fp1 in a Turbulent Flow, k- interface with the Name set to spf.
REGULARIZATION
Select Rate expression in order to regularize the individual rate expressions that are
added to each species. If the mass fraction for a reactant species i becomes smaller
than its damping limit, idl, the rate expression added to species i is reduced linearly.
If i 0 for a reactant species, the reaction rate contribution to that species is
completely removed. Similarly, if the mass fraction for a product species j becomes
larger than 1 jdl, the rate expression added to that species is damped linearly. If j
1 for a product species, the reaction rate contribution to that species is completely
removed.
The default value for the damping limit, idl, is 106, which is appropriate for most
applications, but can require adjustment when working with for example catalytic trace
species.
Reaction Sources
Use the Reaction Sources node to define mass source terms from one or more chemical
reactions. Both homogeneous reactions as well as heterogeneous reactions occurring
in a porous media can be studied. The node also includes the possibility to pick up
automatically defined source term definitions from a Chemistry interface.
REACTIONS
Add an expression for the reaction mass source, Ri, for each individual species present,
except for the one computed from the mass constraint (see Species). Enter a value or
expression in the field for the corresponding species.
Select the Mass transport to other phases checkbox if mass is leaving or entering the
fluid as a result of the reactions, for instance due to condensation or vaporization in a
porous matrix. In this case the mass source for the species calculated from the mass
constraint can also be specified. The net mass transfer corresponds to the sum of the
mass sources for all species.
REACTING VOLUME
When specifying reaction sources for a species in porous media, the specified mass
source may have the basis of the total volume, or the pore volume. For nonporous
domains, the Reacting Volume setting has no impact.
• For Total volume, the reaction mass source expressions are specified per unit volume
of the model domain.
• For Pore volume, the reaction mass source expressions are specified per unit volume
pore space. In this case the reaction mass sources will be multiplied by the domain
porosity p (p equals unity for nonporous domains).
Initial Values
The Initial Values node adds initial values for the mass fractions that can serve as an
initial condition for a transient simulation, or as an initial guess for a nonlinear solver.
If required, add additional Initial Values nodes from the Physics toolbar.
• Mass fractions (the default) to enter mass fractions (01 for example)
• Mole fractions to enter mole fractions (x01 for example)
• Molar concentrations (SI unit: mol/m3) to enter molar concentrations (c01 for
example)
• Number densities (SI unit: 1/m3) to enter number densities (n01 for example)
• Densities (SI unit: kg/m3) to enter densities (01 for example)
Enter a value or expression in the field for each species except for the one computed
from the mass constraint.
• For Ideal gas, also specify the Initial pressure p0 and the Initial Temperature T0. Note
that dependent variables solved for are evaluated to zero for initial values. When
solving for pressure or temperature together with the mass fractions, apply the initial
values from the corresponding interfaces here as well.
• For User defined, input a custom for the Initial mixture density m0.
Mass Fraction
The Mass Fraction node adds boundary conditions for the species mass fractions. For
example, the following condition specifies the mass fraction of species i: i = i,0.
Set the mass fractions of all species except the one computed from the mass constraint.
This ensures that the sum of the mass fractions is equal to one (see Species). This node
is available for exterior and interior boundaries.
When defining conditions on boundaries between different phases, see the section
Prescribing Conditions on Fluid-Solid Interfaces.
MASS FRACTION
Specify the mass fraction for each species individually. Select the checkbox for the
species to specify the mass fraction, and enter a value or expression in the
Select Account for Stefan velocity to update the Stefan velocity in accordance with the
prescribed mass fractions. Examples of cases that may benefit from this are, for
example, when modeling surface reactions or phase change on an exterior boundary.
CONSTRAINT SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options.
Flux
The Flux node is available on exterior boundaries and can be used to specify the mass
flux. The boundary mass flux for each species is defined in the manner of
– n j i = j 0 i (5-8)
where n denotes the outward pointing normal of the boundary. The prescribed flux
j0,i can contain an arbitrary flux expression. It can, for example, be used to represent
a heterogeneous reaction or a separation process occurring at the boundary. The flux
can, for example, be a function of i, the temperature, the pressure or even the electric
potential.
When defining conditions on boundaries between different phases, see the section
Prescribing Conditions on Fluid-Solid Interfaces.
CONVECTION
By default, the flux due to diffusion and migration in an electric field is prescribed. This
is the appropriate flux condition when the relative velocity at the boundary is zero.
When the fluid velocity is not equal to that of the boundary, for example due to a fluid
injection, it is often convenient to prescribe the total flux including convection. To do
so select Include in the Convection section. In this case the prescribed flux is defined as:
– n j i + u i = j 0
Select Account for Stefan velocity to update the Stefan velocity in accordance with the
prescribed flux. Examples of cases that benefit from this are for example when
modeling surface reactions or phase change on an exterior boundary. The Stefan
velocity represents the mixture velocity resulting from mass fluxes at the wall. This
section is not available when Include is selected in the Convection section.
INWARD FLUX
Specify the Inward flux for each species individually. Select the checkbox for the species
to prescribe a flux for and enter a value or expression in the corresponding field. To
use another boundary condition for a specific species, click to clear the checkbox for
the flux of that species. Use a positive value for an inward flux.
External convection
Set Flux type to External convection to prescribe a mass flux to or from an exterior
domain (not modeled) assumed to include convection. The exterior can for example
include a forced convection to control the temperature or to increase the mass
transport. In this case the prescribed mass flux corresponds to
j 0 i = k i b i – i (5-9)
where ki is a mass transfer coefficient and b,i is the bulk mass fraction, the typical
mass fraction far into the surrounding exterior domain.
Inflow
The Inflow node adds a boundary condition for an inflow boundary, defining the
composition of the mixture. The node is available for exterior boundaries. The mixture
composition can be specified using the following quantities:
The node requires input for all species. (The Mass Fraction node can be used to specify
boundary mass fractions for a subset of the active species in the interface.)
INFLOW
Select a Mixture specification:
• Mass fractions (the default) to enter mass fractions (01, for example)
• Mole fractions to enter mole fractions (x01 for example)
• Molar concentrations (SI unit: mol/m3) to enter molar concentrations (c01, for
example)
• Number densities (SI unit: 1/m3) to enter number densities (n01, for example)
• Densities (SI unit: kg/m3) to enter densities (01, for example)
• Mass flow rates (SI unit: kg/s) to enter the total mass flow over the boundary
(Jin1, for example)
Enter a value or expression in the field for each species except for the one computed
from the mass constraint.
CONSTRAINT SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options.
No Flux
The No Flux node is the default boundary condition available for exterior boundaries.
It should be used on boundaries across which there is no mass flux, typically exterior
solid walls where no surface reactions occur. The condition applied for each species
corresponds to
–n ji = 0
Out-of-Plane Flux
The out-of-plane flux node is used to prescribe a flux in an out-of-plane domain, and
it can be used to reduce a model geometry to 2D, or even 1D, when the variation of
mass fraction is small in one or more directions. This could be the case for example
jz
jup
jdown
For a 1D component this node adds a single out-of-plane mass flux j0,z,i for species i.
For a 2D component two fluxes can be prescribed for each species; j0,u,i for the upside
of the domain, and j0,d,i for the downside of the domain.
The fluxes are added as a source contribution to the right-hand side of the transport
equation. For example, in 2D components with diffusion, convection, and
out-of-plane flux present, the mass transfer of species i is defined by the mass
conservation equation
( i) + u i + j i = R i + S opf i , (5-10)
t
j 0 i j 0 u i + j 0 d i
- = ----------------------------------- .
S opf i = -------
dz dz
For external mass transfer on the upside and the downside of the domain, the
out-of-plane flux is
j 0 i = k w u i w b u i – w i + k w d i w b d i – w i
where ki is a mass transfer coefficient and b,i is the bulk mass fraction, the typical
mass fraction far into the surrounding exterior domain. The prescribed flux, j0, can
include any arbitrary user-specified expressions. It can be a constant or a function of a
dependent variable or independent variables.
j 0 i = P c j 0 z i .
The default value of Pc is the circumference. Either keep the default value, for a circular
cross-section shape, or edit the value to get a user-defined shape of the out-of-plane
cross-section.
The available options are General inward flux and External convection. Specify the Inward
flux for each species individually. Select the Species checkbox for the species for which
to specify the flux, and enter a value or expression in the corresponding field. To use
another boundary condition for a specific species, click to clear the checkbox for the
flux of that species. Use a positive value for an inward flux.
Set Flux type to External convection to prescribe a mass flux to or from an exterior
domain (not modeled) assumed to include convection. The exterior can for example
include a forced convection to control the temperature or to increase the mass
transport. In this case the prescribed mass flux corresponds to
j 0 i = k i b i – i
where ki is a mass transfer coefficient and b,i is the bulk mass fraction, the typical
mass fraction far into the surrounding exterior domain.
FURTHER READING
For an example of using the Out-of-Plane Flux node, see this application example:
Outflow
The Outflow node is the preferred boundary condition at outlets where the species are
to be transported out of the model domain. It is useful, for example, in mass transport
models where it is assumed that convection is the dominating effect driving the mass
f
– n D i i = 0
Symmetry
The Symmetry node can be used to represent boundaries where the species
concentration is symmetric; that is, there is no mass flux in the normal direction across
the boundary:
– n N = – n i u + j i = 0
This boundary condition is identical to the No Flux node, but applies to all species and
cannot be applied to individual species. The Symmetry node is available for exterior
boundaries.
Flux Discontinuity
The Flux Discontinuity node represents a discontinuity in the mass flux across an interior
boundary:
–n Nd – Nu = N0 N = i u + j i
where the value of N0 specifies the size of the flux jump evaluated from the down to
the upside of the boundary.
FLUX DISCONTINUITY
Specify the jump in species mass flux. Use a positive value for increasing flux when
going from the downside to the upside of the boundary. The boundary normal points
in the direction from the downside to the upside of an interior boundary and can be
plotted for visualization.
Select the Species checkboxes to specify a flux discontinuity, and enter a value or
expression for the Flux discontinuity N0 (SI unit: kg/(m2·s)) in the corresponding field,
Open Boundary
Use the Open Boundary node to set up mass transport across boundaries where both
convective inflow and outflow can occur. Use the node to specify an exterior species
composition on parts of the boundary where fluid flows into the domain. A condition
equivalent to the Outflow node applies to the parts of the boundary where fluid flows
out of the domain. The direction of the flow across the boundary is typically calculated
by a Fluid Flow interface and is entered as Model Inputs.
EXTERIOR COMPOSITION
Enter a value or expression for the species composition. Select:
• Mass fractions (the default) to enter mass fractions (0,1, for example)
• Mole fractions to enter mole fractions (x0,1, for example)
• Molar concentrations (SI unit: mol/m3) to enter molar concentrations (c0,1, for
example)
• Number densities (SI unit: 1/m3) to enter number densities (n0,1, for example)
and to describe the number of particles per volume n n0
• Densities (SI unit: kg/m3) to enter densities (0,1, for example)
A concentration quantity other than the mass fractions can only be used
when all species are defined.
Equilibrium Reaction
Use this node to model a reaction where the kinetics is assumed so fast that the
equilibrium condition is fulfilled at all times. The node solves for an additional degree
of freedom (the reaction rate Req) to fulfill the equilibrium condition at all times in all
space coordinates.
ai i
i products
K eq = ----------------------------------
–
ai i
i reactants
where i are the stoichiometric coefficients and the species activities are defined from
the concentration, ci, and the unit activity concentration ca0.
c
a i = ------i-
c a0
Enter a value or expression for the dimensionless Equilibrium constant Keq, and the Unit
activity concentration Ca0.
Select User defined from the list to instead enter a manually defined Equilibrium
expression Eeq.
STOICHIOMETRIC COEFFICIENTS
Enter a value for the stoichiometric coefficient for all participating species. Use
negative values for reactants and positive values for products in the modeled reaction.
Species with a stoichiometric coefficient value of 0 are not affected by the Equilibrium
Reaction node.
The settings for this node are the same as for Equilibrium Reaction except for the
setting in the section below.
This physics interface is a tool for generating a set of variables to be used for modeling
chemical species and reactions systems. The variables are generated from species and
reaction properties and can be divided in two categories:
• Rate expressions and heat sources for use in mass and heat balances.
• Material property variables (mixture density, diffusivities, viscosity, and so on) for
use in space-dependent transport equations.
Many of the fields and nodes described in this section are only made available when
either a Reaction or a Species (or both) subnode is added to the Model Builder. All
predefined constants and expressions can be overwritten by user-defined expressions.
This makes it possible to go beyond the modeling assumptions set as defaults in this
physics interface.
The following is a description of the features and fields available in the Settings window
for the Chemistry interface.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is chem.
MODEL INPUT
This section sets the Temperature, Pressure, and Electrode potential (only available with
a Battery Design Module, Corrosion Module, Electrochemistry Module,
Electrodeposition Module, or Fuel Cell & Electrolyzer Module license) to be used by
the current interface. Toggle the Enable electrode reactions checkbox to enable the
Electrode Potential input in the Model Input section, as well as the Electrode Reaction
and Electrode Reaction Group features. Use the lists to select a temperature, pressure,
For Temperature or Pressure, you can also select Common model input to use a globally
available common model input. In all three cases, select User defined to manually define
the variable in question.
MIXTURE PROPERTIES
Type
Use this setting to define specify what kind of mixture assumption is used. For Diluted
Species the mixture is composed of low concentration solutes present in a solvent. For
Concentrated Species a mixture where no single species is considered to be in excess is
assumed.
Select Diluted species from the Type list to use the concentration variables from a
Transport of Diluted Species interface in the Species Matching section. The same
setting should be used for any other interface solving for molar concentrations using a
diluted species assumption. Select Concentrated species from the Type list to use the
mass fractions from a Transport of Concentrated Species interface.
Thermodynamics
All property parameters and property functions required by the interface can be
automatically created by coupling to a system added to the Thermodynamics node. To
do so, click the Thermodynamics checkbox and select an existing Thermodynamic
System.
Phase
Use the Phase list to specify the state of aggregation of the mixture.
SPECIES MATCHING
This section is used to match species solved for in space dependent physics interfaces
to the species defined in Chemistry. By doing so the variables for the reaction kinetics
and the mixture properties defined by Chemistry can be applied to study chemically
reacting or composition dependent systems.
Bulk Species
Use the Bulk species table to specify the concentrations to be used as arguments in
reaction kinetics variables, for example the reaction rate. Reaction kinetics variables are
generated by the species features (Species and Species Group) and by the reaction
features (Reaction, Electrode Reaction, Reversible Reaction Group, Electrode
Reaction Group, and Equilibrium Reaction Group).
The bulk species concentrations are also used in the mixture properties, both for
transport properties like the density and viscosity, and thermodynamic properties like
the enthalpy or heat capacity.
When a mass transfer interface has been selected in the Species solved for list, use the
Molar concentration column to select one of the dependent variables in the selected
interface to the corresponding Species in Chemistry. When using a concentrated
species interface (defined by the Type list in the Mixture Properties section), instead
use the Mass fraction column to select a dependent variable for each species in
Chemistry. For a consistent set up, the species molar mass in the Transport of
Concentrated Species interface is updated to the one defined in the Chemistry
interface.
The Molar concentration and Mass fraction columns also includes a User defined option,
in which case a constant, parameter, or variable expression can be entered in the Value
column.
Thermodynamics Coupling
When the Thermodynamics is enabled, the species in the Chemistry interface can be
coupled to the species in the Thermodynamic System. This is needed to ensure that
arguments for the thermodynamic functions are correctly defined. Use the lists in the
From Thermodynamics column to match each species in the Chemistry to a species in
the coupled thermodynamic system. For each thermodynamics-coupled species, the
required property parameters and functions are added under the corresponding
thermodynamic system. When all species are matched, the Chemistry is considered
fully coupled and functions representing mixture properties, such as the density, are
also added automatically under the same thermodynamic system.
Similar to the table for Bulk Species, the surface species can be matched (or coupled)
directly to the surface species dependent variables if the Chemistry is coupled to a mass
transfer interface where the surface concentration is solved. There are three cases
where mass transfer interfaces solve surface species concentration (s).
The last column Value(mol/m^2) will be automatically set to Solved for when a surface
species dependent variable is selected under the column Surface concentration.
Otherwise for a User defined being for Surface concentration column, specify the
concentration of surface species Value(mol/m^2) column.
The species present in this section will not be used to define mixture properties.
Solid Species
The Solid Species table is available when there is at least one solid species (with “(s)” as
suffix).
The species present in this section will not be used to define mixture properties.
Aqueous Species
The Aqueous Species table is available when there is at least one aqueous species (with
“(aq)” as suffix).
The species present in this section will not be used to define mixture properties.
When the Chemistry interface is created using from the Generate Space-Dependent
Model the table is automatically set up in accordance with the added equilibrium
reaction nodes.
Transport Properties
ACTIVITY
This section is available when the Thermodynamics checkbox is cleared.
Select the Use activity checkbox to solve for species activities instead of species
concentrations, which is a common approach when nonideal fluids are modeled.
Two types of CHEMKIN input files can be imported here: Thermo and Transport, for
thermodynamic properties and transport properties, respectively. Properties for either
volumetric or surface species are supported. Click Browse to locate the CHEMKIN file
to be imported, then click Import. For Thermo, the imported data is directly entered in
the NASA format fields in the Species node’s Thermodynamic Expressions section; for
Transport, the imported data is entered in its Transport Expressions section.
Reaction
To add a Reaction node ( ) either right-click the Chemistry node or in the Chemistry
toolbar click Reaction.
Formula
Enter a chemical equation in the Formula field. The chemical equation should be of the
format “A + B arrow C + D”. Here, A and B are reactants, C and D are product species,
and arrow denotes a reaction arrow. The participating species should be written with
Valid Species Names. Valid reaction arrows are “<=>” for reversible reaction, “=>” for
irreversible reaction, and “=” for equilibrium reaction. Species can be given trivial
names, or their chemical formulas can be used as names. Examples of valid formulas
are; “carbon+oxygen=>carbondioxide”, and “C(s)+O2(g)=>CO2(g)”.
Click Apply to make the interface examine the species taking part in the chemical
equation, and automatically add the associated Species features to the Model Builder.
Balance ( )
Use the Balance button to automatically calculate the stoichiometric coefficients such
that the number of atoms of each kind are the same on both sides of the reaction. This
turns, for example, the formula “H2+O2=>H2O” into “2H2+O2=>2H2O”. The
balancing involves parsing all participating species for elements in the periodic table. It
therefore requires that all species in the Formula field are written either using their
chemical formula, say “H2O”, or that each species in the reaction have an enabled
Chemical Formula field in their Species node. For example, it is possible to balance the
formula “H2+O2=>water” as long as there is a Species node with the name “water”
already present, and an enabled Chemical Formula.
For automatic reaction balancing to be successful, requires that the problem is well
posed. One example of a problem that is not well posed is “C+H2=>CH4+C2H6”, in
which case any ratio of CH4/C2H6 could be obtained. Another example is
“H2=>O2” where not all elements are present on both sides.
Reaction Type
Select the Reaction type — Reversible, Irreversible, or Equilibrium — or edit the
expression directly in the Formula field. In the latter case, specify the reaction type with
a delimiter separating the two sides of the equation:
• If the reaction is Reversible or Irreversible, the reaction rate for reaction i contributes
to the change in species i as follows:
Ri = ij rj (5-11)
j
REACTION RATE
This section is available when the Reaction type is either Reversible or Irreversible.
When Mass action law is selected (default), the rate expression is automatically derived
from the stoichiometric coefficients in the reaction formula:
– ij
f
rj = kj ci (5-12)
i react
– ij
f r
rj = kj ci – kj c i ij (5-13)
i react i prod
The deduced overall reaction order is shown in text below the respective equation in
the Reaction Rate section.
2 S 2 O 42 – + H 2 O S 2 O 32 – + 2 HSO 3–
The automatically deduced reaction order is three, however, in the case that water is
the solvent, the order should probably be two. This is specified as follows:
Figure 5-3: The reaction order can be manually specified for a user defined reaction rate.
RATE CONSTANTS
This section applies for Reversible or Irreversible reactions and defines the reaction rate
constants used in the reaction rates.
The SI units of the rate constants are automatically based on the order of the reaction
with respect to the concentrations, as defined in the Reaction formula.
r f
k = k K eq0
Thus, in this case, the forward rate constant and equilibrium constant for the reaction
are needed. The Equilibrium constant is edited in the Equilibrium Settings section.
r
r r n r
k = A T T ref exp – E R g T
Specify the activation energy and the frequency factor in the Arrhenius expressions to
account for temperature variations. The reference temperature, Tref equals 1 K. The
available fields are based on the Reaction type chosen in the Reaction node. Enter
values or expressions for each of the following (reverse expressions are only available
for reversible reactions):
EQUILIBRIUM SETTINGS
This section is available for equilibrium reactions, and for reversible reactions when the
Specify equilibrium constant checkbox has been selected.
Equilibrium Expression
For an equilibrium reaction, specify the Equilibrium expression. When the Equilibrium
expression is set to Automatic the following expression is used:
Select User defined from the Equilibrium expression list to instead enter a manually
defined equilibrium expression.
Equilibrium Constant
Specify the Equilibrium constant Keq0 for an equilibrium reaction, or for a reversible
reaction when the Specify equilibrium constant checkbox has been selected (in the Rate
Constants section).
The Equilibrium constant can either be User defined, or automatically defined when set
to Automatic or Thermodynamics.
Use the Automatic option to compute the equilibrium constant for an ideal system.
The Thermodynamics option is available when all reactions in the interface are
equilibrium reactions, and the interface is fully coupled to a Thermodynamic System
(see Species Matching). Use this setting to automatically compute the equilibrium
constant for an ideal or nonideal system, dependent on the thermodynamic model
applied for the coupled system.
Using Automatic or Thermodynamics, Keq0 is calculated from the Gibbs free energy of
the reaction. For more details see The Equilibrium Constant and the Automatically
Defined Equilibrium Constants section therein.
Enthalpy of Reaction
The Enthalpy of reaction H (SI unit: J/mol) is calculated by the interface from species
properties and the related stoichiometric coefficients:
Hj = ij h i – – ij h i (5-14)
i prod i react
Entropy of Reaction
The Entropy of reaction S (SI unit: J/(mol·K)) comes from a similar expression:
In Equation 5-14 and Equation 5-15, hi and si are the species’ molar enthalpy and
molar entropy, respectively.
Enter these quantities in the Species Thermodynamic Expressions section for the Species
node either by using the predefined polynomial or by providing a custom expression
or constants.
The stoichiometric coefficients, ij, are defined as being negative for reactants and
positive for products. Using Equation 5-14 and Equation 5-15 to equate the Gibbs
free energy of reaction enables the equilibrium constant to be expressed according to
Equation 5-14.
TURBULENT FLOW
This section is available if the following conditions are met:
When this section is activated, the Reaction feature can be coupled to turbulent flow in
the Transport of Concentrated Species interface.
In a turbulent flow, there are many small turbulent eddies (known as fine structures),
where actual dissipation of turbulent kinetic energy into heat and simultaneous mixing
occur. The chemical reactions can take place inside these isolated regions. According
to the ratio between the time scales of chemical reactions and mixing (the Damköhler
number, Da), the reaction rate can be modeled in the following three ways:
• Da << 1 — the mixing process is very fast, the limiting rate step is the chemical
reaction
The equations for the reaction rate controlled by both chemical reaction and turbulent
mixing are
– i r
ci
for f
r MV j = k
r
– i p
ci
rev r
r MV j = k
p
p
--------------
for
r ED j = ------ min min
T p Mp
p
p r
= ------ min min -------------- ------------
rev
r ED j -
T p M p r Mr
r
For very fast mixing process (Da << 1), the reaction rate equations are the same as that
for normal reaction (without turbulence).
For very fast chemical reaction (Da >> 1), the equation for reaction rate is,
c for rev
r j = r ED j –r ED j
Turbulence-Reaction Model
Select a turbulent model from the combo box, for example, Eddy dissipation.
REGULARIZATION
This section is available under the same conditions as those for the Turbulent Flow
section.
With the checkbox Reaction rate regularization selected, a table for Reaction rate
damping limits will be available. For each species in the reaction, the default damping
limit is 1e-6.
Species
When a Reaction is defined, a Species node ( ) is automatically generated for the
participating reactants and products. This feature enables you to review and enter
species specific information regarding chemical kinetics, thermodynamics, and
transport properties.
It is also possible to add and define an individual Species node: in the Chemistry toolbar
click Species or right-click the Chemistry node and select it from the context menu.
NAME
When a Species node is automatically generated using the Formula text field for the
Reaction node, the Name is also automatically generated.
For a Species node added individually, enter a Name in the field and click Apply. By
entering a name consisting of elements from the periodic table, the molar mass is
calculated and added in the Chemical Formula section. The species charge, and type, are
also deduced from the species name.
Bulk species and Solvent are solved for volumetric concentrations (SI unit: mol/m3),
while Surface species are solved for surface concentration (SI unit: mol/m2). The
compositions for Bulk species and Solvent use the syntax c_speciesname, while Surface
species uses csurf_speciesname_surf.
When Surface species is selected, the corresponding reaction formula introduces (ads)
after the species notation and changes the species’ name to speciesname_surf.
Additionally, the Species node name is updated in a similar fashion.
CHEMICAL FORMULA
The Chemical Formula section contains the species chemical formula, Molar mass, M,
and Charge, z.
If the name entered for the species consists of only elements from the periodic table,
and optionally charge and phase indication, then the Chemical Formula field will be
populated with the name entered in the Name section, and the molar mass and charge
will be added to this section. The species molar mass is computed from the mass of
occurring individual elements1. The rules for writing chemical formulas are the same
as those for Species names.
When the species name contains parts not in the periodic table, for example when a
descriptive name such as water is used, the molar mass is set to 0.0 kg/mol and the
charge to zero. In this case, the molar mass needs to be defined in order to achieve
mass balanced reactions and correct definitions of mass basis properties. By entering a
chemical formula consisting only of elements from the periodic table (and optionally
charge and phase indication), the molar mass, and charge are derived automatically.
When needed, the Molar mass can be edited in the corresponding text field. Editing
the Chemical formula and pressing apply will override the molar mass and charge
[Link] Charge field cannot be edited as long as a chemical formula is enabled.
1. Values are averages of upper and lower bounds for each atom as published by CIAAW. Source: CIAAW.
Atomic weights of the elements 2019. Available online at [Link].
It is possible to specify the species density when the fluid Mixture is specified as Liquid.
The default value is that of water at 293 K.
REACTION RATE
Change the Automatic default setting to User defined to use a species reaction rate other
than the one set up in the associated Reaction node. For individual species, use the User
defined option to set a reaction rate other than zero (that is, nonreactive).
Edit either the Rate expression (SI unit: mol/(m3·s)), the Surface rate expression (SI
unit: mol/(m2·s)), or both. For a bulk species, both expressions appear if surface
reactions are present since the reaction of the species can depend both on bulk reaction
R and surface reaction Rads rates. For a surface species, only the surface reaction rate
Rads appears.
ADDITIONAL SOURCE
The Additional Source section is available in order to include additional rate
contribution for the species to the reaction kinetics. When the Additional source
checkbox is selected, add an Additional rate expression in the text field (SI unit: mol/
m3).
CONSTANT CONCENTRATION/ACTIVITY
To account for nonideality in the fluid mixture, adjust the activity coefficient in the
Activity coefficient input field. This input field is only shown if activity instead of
concentration has been chosen in the interface, that is, the Use activity checkbox is
selected on the Chemistry interface Settings window
THERMODYNAMIC EXPRESSIONS
The parameters utilized for calculation of thermodynamic mixture and reaction
properties are set in this section.
The Electrode Reaction subnode defines the electrode kinetics for a charge transfer
reaction that occurs on an electrolyte-electrode interface boundary. Use multiple
nodes to model multiple reactions, for instance in mixed potential problems.
REACTION FORMULA
Formula
Enter an electrode reaction Formula, as a reduction reaction. Use the single letter “e”
to symbolize an electron. The delimiter between reactants and products has to be
written as “<=>” (without quotation marks). The phase of the species, that is (aq) for
aqueous dilute ions, (s) for solids, and (g) for gases can be indicated in the name. The
phase is used to select an automatic reference state (see Reference Concentrations) for
computing the equilibrium potential using the Nernst equation. Click Apply to make
the interface examine the species taking part in the model’s reactions and automatically
add the associated Species features to the Model Builder.
EQUILIBRIUM POTENTIAL
The Equilibrium potential, Eeq (SI unit: V), is used in the electrode kinetics
expressions in the following section (via the definition of the overpotential), or for
setting up primary current distribution potential constraints.
Nernst Equation
After providing the reference electrode potential, the equilibrium potential is
calculated using the Nernst equation. The concentrations entered in the Species
Matching section of the Chemistry interface will be used to calculate the equilibrium
potential. The reference concentrations, defined in the Reference Concentrations
section, will be used to compute the activities in the reaction quotient expression, Qr.
Automatic
This option is only available if the Calculate mixture properties checkbox in the
Calculate Transport Properties section is checked.
If only species enthalpies and entropies at standard state are available, use the Nernst
Equation option instead.
REFERENCE CONCENTRATIONS
The reference concentrations for the species in the reaction can be changed here.
Automatic
The phase indicated when first naming a species will be used to select a suitable
reference concentration. The species must indicate the phase in the name when the
species is first created.
For aqueous dilute species, denoted by (aq) in their names, the activity is calculated as
their concentration divided by 1 M. For gaseous species, denoted by (g) in their
names, the activity is calculated as their concentration divided by the standard
reference pressure of 1 atm, converted into concentration using the ideal gas law. For
solid species, denoted by (s) in their names, the reference concentration 1. For surface
species, denoted by (ads) in their names, the reference surface concentration will be set
to the site density configured in the Species Matching section. Any species not
containing a phase in their name, will use a reference state depending on the phase
selected under Mixture Properties. If the phase is Gas, the gaseous species reference
concentration described above will be used, while if the phase is Liquid, the aqueous
species 1 M reference concentration will be used.
User Defined
The reference concentrations for each type of species can be set manually, for aqueous,
gaseous, solid, surface, and any other species, respectively.
ELECTRODE KINETICS
See the Electrode Reaction node in Shared Physics Features in the Current
Distribution Interfaces for a general description of the Electrode Kinetics section.
If the equilibrium potential is calculated using Nernst Equation, the exponents in the
local current density expression are evaluated using the reference overpotential. If
HEAT OF REACTION
See the Electrode Reaction node in Shared Physics Features in the Current
Distribution Interfaces for a general description of the Heat of Reaction section.
Electrode Reactions in Chemistry do not support the Temperature Derivative option.
By choosing Automatic, the Thermoneutral voltage parameter, Etherm (SI unit: V), will
be calculated according to
r H
E therm = – ----------
- (5-16)
nF
Multiple Electrode Reaction nodes may be added to the Electrode Reaction Group.
Variables for the sum of all electrode reactions in one group can be used as input in
Electrode Reaction features in current distribution interfaces.
For the case when reaction kinetics data are entered manually into the Reaction table
and temperature dependent reaction kinetics apply, right-click to add a Reaction
Thermodynamics subnode or select it from the Chemistry toolbar, Attributes menu. In
it, the Enthalpy of Reaction (J/mol) for each reaction can be specified.
REACTION TABLE
The reversible reactions in the Reaction table are numbered and contain reactants,
products, and kinetic parameters describing the reaction. Use the buttons under the
Reaction table to add and sort the reaction details.
• In general, use the Move Up ( ), Move Down ( ), and Delete ( ) buttons and
the fields under tables to edit the table contents. Or right-click a table cell and select
Move Up, Move Down, or Delete.
• The Add button ( ) adds default reactant, A, and product, B, with a default. Click
the corresponding field to edit the reactant, product, or parameters. After editing
the Species Group node is also updated. It is created together with the reaction
group.
• You can save the parameters to a text file to reuse in other models. Click the Save to
File button ( ) and enter a File name in the Save to File dialog, including the
extension .txt. Click Save to store the parameters in a text file or in a Microsoft
Excel Workbook spreadsheet if the license includes LiveLink™ for Excel®. The
information is saved in space-separated columns in the same order as displayed on
screen. When saving to Excel, an Excel Save dialog appears where you can specify the
sheet and range and whether to overwrite existing data or include a header.
• You can import or load data in files from a spreadsheet program, for example, with
the Load from File button ( ) and the Load from File dialog that appears. Data must
be separated by spaces or tabs. If there is already data in the table, imported
parameters are added after the last row. Move or edit rows as needed. If the license
includes LiveLink™ for Excel® you can also load parameters from a Microsoft Excel
Workbook spreadsheet. Then an Excel Load dialog appears where you can specify the
sheet and range and whether to overwrite existing data. It is also possible to import
from a spreadsheet containing a separate column for units.
Add the node from the Chemistry toolbar or right-click Chemistry and add it from the
context menu.
For the case when reaction kinetics data are entered manually into the Reaction table
and temperature dependent reaction kinetics apply, right-click to add a Reaction
Thermodynamics subnode or select it from the Chemistry toolbar, Attributes menu. In
it, the Enthalpy of Reaction (J/mol) for each reaction can be specified.
REACTION TABLE
The equilibrium reactions in the table are numbered and contain reactants, products,
and kinetic parameters describing the reaction. Use the buttons under the Reaction
table to add and sort the reaction details.
• In general, use the Move Up ( ), Move Down ( ), and Delete ( ) buttons and
the fields under tables to edit the table contents. Or right-click a table cell and select
Move Up, Move Down, or Delete.
• The Add button ( ) adds default reactant, A, and product, B, with a default. Click
the corresponding field to edit the reactant, product, or parameters. After editing
the Species Group node is also updated. It is created together with the reaction
group.
• You can save the parameters to a text file to reuse in other models. Click the Save to
File button ( ) and enter a File name in the Save to File dialog, including the
extension .txt. Click Save to store the parameters in a text file or in a Microsoft
Excel Workbook spreadsheet if the license includes LiveLink™ for Excel®. The
information is saved in space-separated columns in the same order as displayed on
Species Group
The Species Group node ( ) contains information on a molecular level about the
volumetric species and the surface species present in the model. The Property for
Volumetric Species or Property for Surface Species tables typically collect parameters from
when importing CHEMKIN transport files.
This node is automatically added when either the Reversible Reaction Group or the
Equilibrium Reaction Group is used.
Reaction Thermodynamics
The Reaction Thermodynamics subnode ( ), the Enthalpy of Reaction (J/mol) of
each reaction can be specified. This node overrides all the automatically calculated
reaction enthalpies as defined in the Species Thermodynamics subnode.
Add the Reaction Thermodynamics node from the Chemistry toolbar, Attributes menu.
Alternatively, right-click a Reversible Reaction Group or Equilibrium Reaction Group
to add the Reaction Thermodynamics subnode.
Species Activity
The Species Activity node ( ) creates variables for the activities of all the species/
surface species present in the Species Group parent feature. Edit the Activity coefficient
field in the Species Activity or Surface Species Activity tables by clicking in these.
Species Thermodynamics
The Species Thermodynamics node ( ) creates variables for the enthalpies, entropies,
and heat capacities for all the species/surface species present in the Species Group
parent feature. The purpose is to compute thermodynamic mixture properties and the
heat of reactions.
A ( ) multiphysics node is also added. This node computes the local space charge,
based on the local concentrations and species charges in the Transport of Diluted
Species interface, and adds it to Poisson’s Equation in the Electrostatics interface.
The physics interface can simulate most forms of electrophoresis modes, such as zone
electrophoresis, isotachophoresis, isoelectric focusing, and moving boundary
electrophoresis.
The interface supports simulation in 1D, 2D, and 3D as well as for axisymmetric
components in 1D and 2D.
The dependent variables are the electrolyte potential, and the molar concentrations of
the included species, added individual by each species node in the model tree.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is el.
DOMAIN SELECTION
If any part of the model geometry should not partake in the mass transfer model,
remove that part from the selection list.
For 1D components, enter a Cross sectional area Ac (SI unit: m2) to define
a parameter for the area of the geometry perpendicular to the 1D
component. The value of this parameter is used, among other things, to
automatically calculate the total current from the current density vector.
The analogy is valid for other fluxes. The default is 1 m2.
TRANSPORT MECHANISMS
Mass transport due to diffusion and migration is always included. Use the checkboxes
available under Additional transport mechanisms to control other transport
mechanisms.
CONSISTENT STABILIZATION
To display this sections, click the Show More Options button ( ) and select
Stabilization in the Show More Options dialog.
• When the Crosswind diffusion checkbox is selected, a weak term that reduces spurious
oscillations is added to the transport equation. The resulting equation system is
always nonlinear.
• For both Streamline diffusion and Crosswind diffusion, select an Equation residual.
Approximate residual is the default and means that derivatives of the diffusivity are
INCONSISTENT STABILIZATION
To display this section, click the Show More Options button ( ) and select Stabilization
in the Show More Options dialog. By default, the Isotropic diffusion checkbox is not
selected because this type of stabilization adds artificial diffusion and affects the
accuracy of the original problem. However, this option can be used to get a good initial
guess for under-resolved problems.
ADVANCED SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog. Normally these settings do not need
to be changed. Select a Convective term — Nonconservative form (the default) or
Conservative form. Use the conservative formulation for compressible flow.
DISCRETIZATION
To display all settings available in this section, click the Show More Options button ( )
and select Advanced Physics Options in the Show More Options dialog.
If the checkbox is cleared, the COMSOL Multiphysics software instead computes the
flux variables from the dependent variables using extrapolation, which is less accurate
in postprocessing results but does not create extra dependent variables on the
boundaries for the fluxes.
• <name>.nIl, where <name> is the name of the interface (default is el), set on the
interface top node. This is the normal electrolyte current density.
• <name>.ntflux_<species_name> is the Species name (see Common Settings for
the Species Nodes in the Electrophoretic Transport Interface below). This is the
normal total flux for each species.
For details about the boundary fluxes settings, see Computing Accurate Fluxes in the
COMSOL Multiphysics Reference Manual.
Regarding the Value type when using splitting of complex variables, see Splitting
Complex-Valued Variables in the COMSOL Multiphysics Reference Manual.
DEPENDENT VARIABLES
The dependent variable name for the electrolyte potential variable is phil by default.
The name of the concentration dependent variables are named as [Link], where el is
the name of the interface as set above, and the xxx string is controlled by the Species
name setting on the individual species nodes.
FURTHER READING
• Ampholyte
• Fully Dissociated Species
• Uncharged Species
• Weak Acid
• Weak Base
• Concentration
• Flux
• Inflow
• Initial Concentration
• No Flux
• Outflow
• Species Source
The Ampholyte, Weak Acid, and Weak Base nodes are dissociation species and may
define an arbitrary number of dissociation steps. Each dissociation step is defined by
its pKa (the acid equilibrium constant) parameter. For the weak bases the pKa refers
to the acid constant of the conjugate acid. Each dissociation step adds one additional
subspecies concentration variable so that the concentration dependent variable
represents the sum of all subspecies, and initial and boundary conditions are defined
with respect to this total concentration.
All species node have a setting for the Species name, which needs to be unique. The
species name is used for naming of all related variables of the species. For species nodes
not defining any subspecies, the concentration variables are named as
<name>.c_<species_name> where <name> is the name of the interface (default is el),
set on the interface top node, and <species_name> is the Species name. For
dissociation species nodes defining multiple subspecies, the concentration nodes are
named as <name>.c<X>_<species_name> where <X> is the integer from 1 up to the
total number of subspecies. Note that the Solvent node automatically defines the
concentration variables for protons (<name>.cH) and hydroxide ions (<name>.cOH).
All species except the Uncharged Species carry charge and contribute to the total
electrolyte current which is used in the equation for solving the electrolyte potential.
The Immobile Species checkbox can be used to lock the concentration of a species, to,
for instance, define the immobile charges in an ion-selective membrane or a gel. When
the checkbox is enabled the concentration of the species is not added as a dependent
variable to the model; instead the concentration will be set to the value provided in the
Concentration field. The contribution to the electrolyte current for immobile species is
zero.
For dissociation species you may choose to set the transport parameters to be the Same
for all species appearing in the different dissociation steps, or you may use Individual
settings for each subspecies.
Typically the mobilities and diffusivities for small species are related by the
Nernst-Einstein relation, and when this relation is enabled you can choose whether to
specify either the Diffusivity (SI unit: m2/s) or the Mobility (SI-unit: s·mol/kg). The
Debye-Hückel-Henry relation is commonly used for larger molecules, such as proteins.
Note: There are other definitions of the migration transport equations in the
literature which use mobilities expressed in m2/(V·s), whereas COMSOL
Multiphysics uses s·mol/kg. To convert mobilities expressed in m2/(V·s) to the
corresponding values in s·mol/kg, you typically divide by the Faraday constant,
F_const (about 96,485 C/mol).
The default correction model is Bruggeman, which multiplies the diffusivity and
mobility values by the porosity to the power of 1.5. The porosity of a domain is set by
the Porous Matrix Properties node.
The Debye-Hückel-Henry relation makes use of the ionic strength for calculating the
species mobility from the diffusivity. All charged species contribute to the ionic
strength, either assuming the species contributing to an Ideal solution or by using the
Linderstrøm-Lang assumption. The latter is usually used for macromolecules.
• Ampholyte • No Flux
• Concentration • Outflow
• Current • Porous Matrix Properties
• Current Density • Potential
• Current Source • Protein
• Flux • Species Source
• Fully Dissociated Species • Solvent
• Inflow • Uncharged Species
• Initial Concentration • Weak Acid
• Initial Potential • Weak Base
• Insulation
In the COMSOL Multiphysics Reference Manual, see Table 2-4 for links
to common sections and Table 2-5 for common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
If Convection is enabled on the interface top node, you can specify the Velocity field
(m/s) as user defined input using analytical expressions or the velocity field variables
solved for by a separate physics interface.
The Solvent node automatically defines the concentration variables and for protons
(<name>.cH) and hydroxide ions (<name>.cOH), and the corresponding flux
expressions. See Diffusion and Migration Settings for how to set up the transport
parameters for the proton and hydroxide ions.
In the Solvent Properties section you can modify the Dynamic viscosity (Pa·s) and
Relative permittivity (unitless) values. The Built in and default values are applicable to
water. These parameters are used when calculating mobilities according to the
Debye-Hückel-Henry relation in the species nodes.
In the Water Self-Ionization section you can change the default Built in expression for
the Water self-ionization constant, pKw (unitless), to any user-defined expression.
See also Common Settings for the Species Nodes in the Electrophoretic Transport
Interface and Diffusion and Migration Settings.
Uncharged Species
Use this node to define a species that does not carry any charge, nor is impacted by the
electric field.
Weak Acid
The Weak acid node supports multiple dissociation steps, where the acid of the first
dissociation step is uncharged.
The species may be either Monoprotic, subject to one dissociation step only, or
Polyprotic. For the latter case any Number of dissociation steps larger than one may be
used.
See also Common Settings for the Species Nodes in the Electrophoretic Transport
Interface and Diffusion and Migration Settings.
Weak Base
The Weak base node supports multiple dissociation steps, where the base of the last
dissociation step is uncharged.
The species may be either Monoprotic, subject to one dissociation step only, or
Polyprotic. For the latter case any Number of dissociation steps larger than one may be
used.
Note that the pKa refers to the acid constant of the conjugate acid of the weak base.
See also Common Settings for the Species Nodes in the Electrophoretic Transport
Interface and Diffusion and Migration Settings.
Ampholyte
Use the Ampholyte node generically to define any species where the average charge
depends on the pH of the solution. The Dissociation model may be based either on a
set of Equilibrium constants or an Average charge.
When using the Equilibrium constants the Base charge in last dissociation step, Z0
(unitless), needs to be set.
Protein
Use the Protein node to define macromolecules. The features of the Protein node are
similar to the Ampholyte node, but with the default settings applicable for larger
molecules.
See also Common Settings for the Species Nodes in the Electrophoretic Transport
Interface and Diffusion and Migration Settings.
Current Source
To make this node available, click the Show More Options button ( ) and select
Advanced Physics Options in the Show More Options dialog.
Use this node to add a current source in a domain. A current source may appear in a
domain in homogenized porous electrode modeling, but should normally not be used.
Initial Potential
Use this node to specify the Initial Value of the electrolyte potential for the solver.
Current
The Current boundary condition sets the total current or average current density over
a boundary. It will set a constant electrolyte potential along the given boundary, which
satisfies the current value setting.
When using the Total current option in 1D or 2D, the boundary area is based either
on the Cross sectional area (1D) or the Out-of-Plane thickness (2D) properties, set on
the physics interface top node.
Current Density
Use the Current Density node to specify the current density distribution along a
boundary.
Note that using this node in 2D or 3D may result in an uneven potential distribution
along the boundary. To mitigate such effects you may use the Current node instead.
Insulation
The Insulation boundary condition describes the walls of a cell or the boundaries of the
cell that do not face an electrode (or a reservoir containing an electrode). The
boundary condition imposes the following equation:
il n = 0
Potential
Add the Potential node on a boundary to set a fixed potential. This node is typically
used to model electrode surfaces or boundaries facing an electrolyte reservoir.
The node sets the potential in the electrolyte, l, to be equal to the Boundary electrolyte
potential, l, bnd (SI unit: V).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
Species Source
To make this node available, click the Show More Options button ( ) and select
Advanced Physics Options in the Show More Options dialog.
This node may be added as a subnode to any species node. See also Common Settings
for the Species Nodes in the Electrophoretic Transport Interface.
This node specifies the initial value for the Concentration, c (mol/m3), of the parent
species. This value serve as the initial condition for a transient simulation. The value
also serves as a start guess for stationary problems.
You can use spatially dependent functions (such as smoothed step functions) available
under Definitions when defining the Concentration expression to specify different
concentrations in different parts of the geometry. You can also use additional Initial
Values node and modify the Selection to set different values for different domains.
Concentration
This node may be added as a subnode to any species node. See also Common Settings
for the Species Nodes in the Electrophoretic Transport Interface
This condition node adds a boundary condition for the parent species concentration.
Use the node to, for instance, specify the inlet concentration at the boundary facing
an electrolyte reservoir.
No Flux
This node may be added as a subnode to any species node. See also Common Settings
for the Species Nodes in the Electrophoretic Transport Interface.
Flux
This node may be added as a subnode to any species node. See also Common Settings
for the Species Nodes in the Electrophoretic Transport Interface.
This node can be used to specify the species inward flux across a boundary. The flux
can represent a flux from or into a much larger surrounding environment, a phase
change, or a flux due to chemical reactions.
External convection
Set Flux type to External convection to prescribe a flux to or from an exterior domain
(not modeled) assumed to include convection. The exterior can for example include a
forced convection to control the temperature or to increase the mass transport. In this
case the prescribed mass flux corresponds to
J0 = kc cb – c
where kc is a mass transfer coefficient and cb is the bulk concentration, the typical
concentration far into the surrounding exterior domain.
Inflow
This node is available when you select the Convection checkbox on the physics interface
Settings window.
The other option, Flux (Danckwerts) can be more stable and fast to solve when high
reaction rates are anticipated in the vicinity of the inlet. Oscillations on the solutions
can also be avoided in such cases. The latter condition uses a flux boundary condition
based on the velocity across the boundary and the concentration values.
Outflow
Set this condition at outlets where species are transported out of the model domain by
migration or fluid motion. It is assumed that migration and convection are the
dominating transport mechanisms across outflow boundaries, and therefore that
diffusive transport can be ignored; that is:
n – D c = 0
When this physics interface is added, these default nodes are also added to the Model
Builder — Surface Properties, No Flux, and Initial Values. Then, from the Physics toolbar,
add other nodes that implement, for example, boundary conditions. You can also
right-click Surface Reactions to select physics features from the context menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is sr.
DEPENDENT VARIABLES
Add or remove species and also change the names of the dependent variables that
represent the species concentrations. Note that the names can be changed but the
names of fields and dependent variables must be unique within a model.
Enter the Number of surface species. Use the Add surface concentration ( ) and
Remove surface concentration ( ) buttons as needed. The same number of Surface
concentrations cs, cs2, cs3, … are then listed in the table.
DISCRETIZATION
To display all settings available in this section, click the Show More Options button ( )
and select Advanced Physics Options in the Show More Options dialog.
By default the Compensate for boundary stretching checkbox is selected for the Surface
Properties node. This section is then used to stabilize the tangential mesh velocity
term.
When the Compensate for boundary stretching checkbox is cleared (not selected), and
for fixed geometries or moving geometries, the stabilization has no effect.
• Boundary, Edge, Point, and Pair Nodes for the Surface Reactions
Interface
• Theory for the Surface Reactions Interface
Boundary, Edge, Point, and Pair Nodes for the Surface Reactions
Interface
The Surface Reactions Interface has these boundary, edge, point, and pair nodes, listed
in alphabetical order, available from the Physics ribbon toolbar (Windows users),
Physics context menu (Mac or Linux users), or right-click to access the context menu
(all users).
• Initial Values
• Reactions
• Surface Concentration
• Surface Properties
All other available nodes are described for the Transport of Diluted Species interface.
See Domain, Boundary, and Pair Nodes for the Transport of Diluted Species Interface.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Surface Properties
Use the Surface Properties node to define the density of sites, the site occupancy
number, and the surface diffusion.
SITES
Enter a value or expression for the Density of sites s (SI unit: mol/m2). The default
is 2 x 10-5 mol/m2.
Enter a Site occupancy number i (dimensionless), indicating how many surface sites a
surface species block upon adsorption.
SURFACE DIFFUSION
Select a Surface material from the list. The default is None.
For each surface concentration species, the default Diffusion coefficient Di (SI unit: m2/
s) is User defined. Select Isotropic, Diagonal, Symmetric, or Full depending on the
characteristics of the surface, and then enter values or expressions in the field or matrix.
Initial Values
The Initial Values node allows the initial value or guess for the surface and bulk
concentrations.
INITIAL VALUES
Based on the number of surface species and number of bulk species entered for the
physics interface under Dependent Variables section, enter values for the same number
of Surface concentration cs, cs2, cs3, … (SI unit: mol/m2) and Bulk concentration cb,
cb2, cb3, … (SI unit: mol/m2) in each field.
Reactions
The Reactions node adds rate expression terms to the species transport equations in
order to account for consumption or production of species due to reactions.
SURFACE CONCENTRATION
Select each species checkbox as needed and enter a value or expression for each species
concentration, cs,0,cs1,cs2… (SI unit: mol/(m2·s)).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
Selecting any of these interfaces under the Chemical Species Transport > Reacting Flow
or Chemical Species Transport > Reacting Flow in Porous Media branches of the Model
Wizard or Add Physics windows, adds a fluid flow interface and either a Transport of
Diluted Species or Transport of Concentrated Species interface to the Model Builder.
In addition, the Multiphysics node Reacting Flow is added. The Reacting Flow node
predefines and controls the couplings between the mass and fluid transport in order to
facilitate easy set up of models.
In this section:
It combines the Laminar Flow, and Transport of Concentrated Species interfaces. The
Reacting Flow multiphysics coupling, which is added automatically, couples fluid flow
and mass transport. The fluid flow can either be free flow or flow in a porous medium.
The species transport supports both a mixture, where the concentrations are of
comparable order of magnitude, and low-concentration solutes in a solvent.
The interface can be used for stationary and time-dependent analysis in 2D, 2D axial
symmetry, and 3D.
The Reacting Laminar Flow interface triggers pseudo time stepping for the
flow equations when Use pseudo time stepping for stationary equation form
in the Fluid Flow interface is set to Automatic from physics.
The coupling adds the heat source of reaction when a heat transfer interface is selected.
No additional heat source needs to be defined to account for it in the heat transfer
interface. It also accounts for the multiphysics stabilization terms, for work due to
pressure forces and viscous dissipation.
Select a Fluid Flow interface and a Species transport interface to couple fluid flow with
mass transport. Chemistry and Heat Transfer are optional. They can be set to None when
the coupling is used to simulate isothermal mixtures.
When a Chemistry interface is selected and Heat Transfer is set to None, fluid properties
are taken from the Chemistry interface. Set the Temperature to evaluate the fluid
properties synchronized with all the physics interfaces at the given temperature.
Select a Chemistry interface and Heat Transfer interface in order to account for the heat
of reaction, enthalpy diffusion, viscous heating and mass fluxes contributing to the
heat and energy balance.
When Chemistry is set to None and a Heat Transfer interface is selected, the
coupling is solved in the same way as when no Heat Transfer interface is
selected. Thermodynamic properties are required by the Heat Transfer
interface.
The velocity field used by the Transport of Concentrated Species interface and Heat
Transfer interface is synchronized to the one computed in the Single-Phase Flow
interface.
When a Chemistry interface is selected, the Reacting Flow coupling synchronizes the
definition of the thermal conductivity, density, heat capacity, enthalpy, and dynamic
viscosity with the other coupled physics interfaces. The reference temperature is taken
from the Heat Transfer interface.
• Turbulent heat transfer and mass transport are added, defined from the turbulent
viscosity and a turbulent Schmidt number (for more information, see Turbulent
Mass Transport Models).
• Temperature and mass transport wall functions. When a turbulence model using
wall functions is used for the fluid flow, the Reacting Flow coupling automatically
adds wall functions for the temperature and mass transport on the same boundaries
(for more information, see Mass Transport Wall Functions).
SETTINGS
The Label is the default multiphysics coupling feature name.
The Name is used primarily as a scope prefix for variables defined by the coupling node.
Refer to such variables in expressions using the pattern <name>.<variable_name>. In
order to distinguish between variables belonging to different coupling nodes or physics
interfaces, the name string must be unique. Only letters, numbers, and underscores (_)
are permitted in the Name field. The first character must be a letter.
The default Name (for the first multiphysics coupling feature in the model) is nirf1.
DOMAIN SELECTION
The Reacting Flow coupling is automatically defined on the intersection of the
selections for the coupled interfaces. When modeling porous media transport a
Porous Medium feature, applied on the same domains, is needed in all coupled transport
interfaces. Reacting Flow coupling supports porous media transport in Fluid flow and
Species transport interfaces.
The Selection list displays the domains where the coupling feature is active.
COUPLED INTERFACES
This section defines the physics involved in the multiphysics coupling. The Fluid flow,
Species transport, Chemistry, Heat Transfer lists include all applicable physics interfaces.
• If it is added from the Physics ribbon (Windows users), Physics contextual toolbar
(Mac and Linux users), or context menu (all users), then the first physics interface
of each type in the component is selected as the default.
• If it is added automatically when a multiphysics interface is chosen in the Model
Wizard or Add Physics window, then the two participating physics interfaces are
selected.
You can also select None from a list to uncouple the node from a physics interface.
Click the Go to Source buttons ( ) to move to the main physics interface node for
the selected physics interface.
Click the Show or Hide Physics Properties Settings button ( ) to toggle the display of
physics properties settings affecting the coupling feature. When a turbulence model is
used, turbulent heat and mass transfer is automatically accounted for (see the settings
in the Turbulence section below). Using Reacting Flow, the heat and mass transfer
treatment at walls follows that applied for the fluid flow. Therefore the Wall treatment
setting is also displayed when using a turbulence model. For more information on
turbulent mass transfer at walls, see the section Mass Transport Wall Functions in the
CFD Module User’s Guide.
If a physics interface is deleted and then added to the model again, then
in order to reestablish the coupling, you need to choose the physics
interface again from the Fluid flow, Species transport, Chemistry and Heat
Transfer lists. This is applicable to all multiphysics coupling nodes that
would normally default to the once present interface. See Multiphysics
Modeling Workflow in the COMSOL Multiphysics Reference Manual.
For User-defined turbulent Schmidt number, enter a Turbulent Schmidt number ScT
(dimensionless).
The turbulent mass transfer added to the mass fraction equations is defined as
where T is the turbulent viscosity defined by the flow interface, and the turbulent
Schmidt number, ScT, depends on the Mass transport turbulence model used.
For User-defined turbulent Prandtl number, enter a Turbulent Prandtl number PrT
(dimensionless).
When the flow interface uses a RANS turbulence model, the conductive heat flux is
defined as
q = – k + k T T
T Cp
k T = -------------
-
Pr T
where T is defined by the flow interface, and PrT depends on the Heat transport
turbulence model. See Turbulent Conductivity for details.
The Turbulence model type used by the fluid flow interface can be displayed by selecting
the Show or Hide Physics Property Settings button at the right of the Fluid flow list.
Selecting a multiphysics interface under the Chemical Species Transport > Reacting Flow
in Porous Media branch of the Model Wizard or Add Physics windows, a Brinkman
Equations interface combined with either the Transport of Diluted Species in Porous
Media interface or the Transport of Concentrated Species interfaces are added to the
Model Builder.
In addition, the Multiphysics node is added, which includes the multiphysics coupling
feature. The multiphysics coupling feature controls the coupling between the separate
interfaces in order to facilitate easy setup of models.
In this section:
It combines the Brinkman Equations, and Transport of Diluted Species in Porous Media
interfaces. The Reacting Flow, Diluted Species multiphysics coupling feature, which is
added automatically, couples the fluid flow and mass transport. A Porous Material node,
including a Fluid and a Solid subnode, is also added to the component.
The Brinkman Equations interface computes the fluid velocity and pressure fields of
single-phase flow in porous media in the laminar flow regime. A Porous Medium feature
is active by default on the entire interface selection.
The Transport of Diluted Species in Porous Media interface computes the species
concentration in free and porous media, assuming that the species are solutes,
dissolved in a solvent of significantly higher concentration. A Porous Medium feature is
active by default on the entire interface selection.
The interface can be used for stationary and time-dependent analysis in 2D, 2Daxi, and
3D.
The Brinkman Equations interface computes the fluid velocity and pressure fields of
single-phase flow in porous media in the laminar flow regime. A Porous Medium feature
is active by default on the entire interface selection.
The Transport of Concentrated Species in Porous Media interface solves for an arbitrary
number of mass fractions in free and porous media. In the current multiphysics
interface a Porous Medium feature is active by default on the entire interface selection.
BRINKMAN EQUATIONS
The available physics features for The Brinkman Equations interface are listed in the
Domain, Boundary, Point, and Pair Nodes for the Brinkman Equations Interface
section in the CFD Module User’s Guide.
Selecting an entry in the Chemical Species Transport > Nonisothermal Reacting Flow
branch of the Model Wizard or Add Physics windows, the following four physics
interfaces are added to the Model Builder:
• Chemistry
• Transport of Concentrated Species
• Laminar Flow, or a turbulent flow equivalent like Turbulent Flow, k-.
• Heat Transfer in Fluids
In addition, the Multiphysics node is added, which includes the multiphysics coupling
feature Reacting Flow. The Reacting Flow feature predefines and controls the couplings
between the separate interfaces in order to facilitate set up of models.
In this section:
The multiphysics coupling takes into account the heat of reaction in the fluid and at
the surface of a porous catalyst, enthalpy diffusion, and contributing mass fluxes. In
addition, the temperature dependency of the chemical properties and reactions are
accounted for.
The interface can be used for stationary and time-dependent analysis in 2D, 2D axial
symmetry, and 3D.
The Transport of Concentrated Species interface solves for an arbitrary number of mass
fractions. The species equations include transport by convection, diffusion and,
optionally, migration in an electric field. A Transport Properties feature is active by
default on the entire interface selection
The equations solved by the Laminar Flow interface are the Navier–Stokes equations for
conservation of momentum and the continuity equation for conservation of mass. A
Fluid Properties feature is active by default on the entire interface selection.
The Heat Transfer interface solves for conservation of energy. A Fluid feature is active
by default on the entire interface selection.
The multiphysics coupling takes into account the heat of reaction in the fluid and at
the surface of a porous catalyst, enthalpy diffusion, and contributing mass fluxes. In
addition, the temperature dependency of the chemical properties and reactions are
accounted for.
The interface can be used for stationary and time-dependent analysis in 2D, 2D axial
symmetry, and 3D.
The Transport of Concentrated Species interface solves for an arbitrary number of mass
fractions. The species equations include transport by convection, diffusion and,
optionally, migration in an electric field. Mass transfer close to walls is modeled using
wall functions
The equations solved by the Turbulent Flow, k- interface are the Navier–Stokes
equations for conservation of momentum and the continuity equation for
conservation of mass. Turbulence effects are modeled using the standard two-equation
k- model with realizability constraints. Flow close to walls is modeled using wall
functions.
The Heat Transfer interface solves for conservation of energy. A Fluid feature is active
by default on the entire interface selection. Heat transfer close to walls is modeled
using wall functions.
It combines the Chemistry, Transport of Concentrated Species, Turbulent Flow, k-, and
Heat Transfer in Fluids interfaces. The Reacting Flow multiphysics coupling, which is
added automatically, couples fluid flow, heat transfer and mass transfer. The species
transport supports both a mixture, where the concentrations are of comparable order
of magnitude, and low-concentration solutes in a solvent.
The multiphysics coupling takes into account the heat of reaction in the fluid and at
the surface of a porous catalyst, enthalpy diffusion, and contributing mass fluxes. In
addition, the temperature dependency of the chemical properties and reactions are
accounted for.
The interface can be used for stationary and time-dependent analysis in 2D, 2D axial
symmetry, and 3D.
The Transport of Concentrated Species interface solves for an arbitrary number of mass
fractions. The species equations include transport by convection, diffusion and,
optionally, migration in an electric field. Mass transfer close to walls is modeled using
wall functions
The equations solved by the Turbulent Flow, k- interface are the Navier–Stokes
equations for conservation of momentum and the continuity equation for
conservation of mass. The fluid flow turbulence is modeled using the Wilcox revised
k- model with realizability constraints. Flow close to walls is modeled using wall
functions.
The Heat Transfer interface solves for conservation of energy. A Fluid feature is active
by default on the entire interface selection. Heat transfer close to walls is modeled
using wall functions.
It combines the Chemistry, Transport of Concentrated Species, Turbulent Flow, SST, and
Heat Transfer in Fluids interfaces. The Reacting Flow multiphysics coupling, which is
added automatically, couples fluid flow, heat transfer and mass transfer. The species
transport supports both a mixture, where the concentrations are of comparable order
of magnitude, and low-concentration solutes in a solvent.
The multiphysics coupling takes into account the heat of reaction in the fluid and at
the surface of a porous catalyst, enthalpy diffusion, and contributing mass fluxes. In
addition, the temperature dependency of the chemical properties and reactions are
accounted for.
The interface can be used for stationary and time-dependent analysis in 2D, 2D axial
symmetry, and 3D.
The Transport of Concentrated Species interface solves for an arbitrary number of mass
fractions. The species equations include transport by convection, diffusion and,
optionally, migration in an electric field. Mass transfer close to walls is modeled using
wall functions
The equations solved by the Turbulent Flow, SST interface are the Navier–Stokes
equations for conservation of momentum and the continuity equation for
conservation of mass. The fluid flow turbulence is modeled using the SST model. The
SST model is a low-Reynolds number model which means that it resolves the velocity,
pressure, and concentrations all the way down to the wall. For that reason this physics
interface is suited for studying mass transfer at high Schmidt numbers. The SST model
The Heat Transfer interface solves for conservation of energy. A Fluid feature is active
by default on the entire interface selection. Heat transfer close to walls is modeled
using wall functions.
The multiphysics coupling takes into account the heat of reaction in the fluid and at
the surface of a porous catalyst, enthalpy diffusion, and contributing mass fluxes. In
addition, the temperature dependency of the chemical properties and reactions are
accounted for.
The interface can be used for stationary and time-dependent analysis in 2D, 2D axial
symmetry, and 3D.
The Transport of Concentrated Species interface solves for an arbitrary number of mass
fractions. The species equations include transport by convection, diffusion and,
optionally, migration in an electric field. Mass transfer close to walls is modeled using
wall functions
The Heat Transfer interface solves for conservation of energy. A Fluid feature is active
by default on the entire interface selection. Heat transfer close to walls is modeled
using wall functions.
CHEMISTRY
The available physics features for the Chemistry interface are listed in the section
Feature Nodes Available for the Chemistry Interface.
LAMINAR FLOW
The available physics features for The Laminar Flow interface are listed in the section
Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow in the CFD Module
User’s Guide.
TURBULENT FLOW
The available physics features for a single-phase flow interface using a turbulence
model, for example the Turbulent Flow, k- interfaceis listed in the section Domain,
HEAT TRANSFER
The available physics features for the Heat Transfer interface are listed in the section
The Heat Transfer Features in the COMSOL Multiphysics Reference Manual.
When studying mixtures that are not dilute, the mixture and transport properties
depend on the composition, and a different physics interface is recommended. See The
Transport of Concentrated Species Interface in the for more information.
Fick’s law governs the diffusion of the solutes, dilute mixtures, or solutions, while the
phenomenon of ionic migration is sometimes referred to as electrokinetic flow. The
Transport of Diluted Species interface supports the simulations of chemical species
transport by convection, migration, and diffusion in 1D, 2D, and 3D as well as for
axisymmetric components in 1D and 2D.
In this section:
Note: Some features explained in this section require certain add-on modules. For
details see [Link]
c i
------- + J i + u c i = R i (5-17)
t
Equation 5-17 in its form above includes the transport mechanisms diffusion and
convection. If Migration in Electric Field is activated (only available in some add-on
products), the migration mechanism will be added to the equation as well. See more
details in the section Adding Transport Through Migration.
The mass flux relative to the mass averaged velocity, Ji (SI unit: mol/(m2·s)), is
associated with the mass balance equation above and used in boundary conditions and
flux computations. The Transport of Diluted Species interface always includes mass
transport due to molecular diffusion. In this case the mass flux Ji defines the diffusive
flux vector
J i = – D c i (5-18)
The third term on the left side of Equation 5-17 describes the convective transport due
to a velocity field u. This field can be expressed analytically or obtained from coupling
the physics interface to one that solves for fluid flow, such as Laminar Flow. Note that
all fluid flow interfaces solve for the mass averaged velocity.
On the right-hand side of the mass balance equation (Equation 5-17), Ri represents a
source or sink term, typically due to a chemical reaction or desorption on a porous
matrix. To specify Ri, another node must be added to the Transport of Diluted Species
interface — the Reaction node for example, which includes an input field for specifying
a reaction expression using the variable names of all participating species.
The kinetics of the reaction is so fast that the equilibrium condition is fulfilled at all
times in all space coordinates.
ai i
i products
K eq = ----------------------------------
–
ai i
i reactants
ci
a i = c i -------
c a0
where ca0 (SI unit: mol/m3) is the standard molarity, and c,i (dimensionless) an
activity coefficient.
i
K eq = ai
i
The Equilibrium Reaction node solves for a reaction rate so that the equilibrium
condition is always fulfilled in the domain. It is available for the Chemical Reaction
Engineering Module; Battery Design Module; Corrosion Module; Electrochemistry
Module; Electrodeposition Module; and Fuel Cell & Electrolyzer Module.
c,i is set to unity when the Equilibrium constant is selected in the Settings
window. For nonunity activity coefficients, a user-defined equilibrium
condition can be used.
Two formulations of the mass balance are available, these are referred to as the
nonconservative and conservative form:
c
nonconservative: ----- + J i + u c = R (5-19)
t
In these equations Ji is the diffusive flux vector, u is the solvent velocity field, and R
is a production or consumption rate expression. The nonconservative is often more
numerically robust, and therefore chosen by default for the interface. This formulation
however disregards density changes in the fluid. This can be seen by expanding the
conservative convection term using the chain rule. One of the resulting terms, c·u,
equals zero for an incompressible fluid which results in the nonconservative form. To
switch between the two formulations, click the Show button ( ) and select Advanced
Physics Options.
Note: The features below are only available in a limited set of add-on products. For a
detailed overview of which features are available in each product, visit
[Link]
There are two types of mass sources in the Transport of Diluted Species interface: point
sources and line sources.
POINT SOURCE
A point source is theoretically formed by assuming a mass injection/ejection, Qꞏ c (SI
unit: mol/(m3·s)), in a small volume V and then letting the size of the volume tend
to zero while keeping the total mass flux constant. Given a point source strength, qꞏ p,c
(SI unit: mol/s), this can be expressed as
ꞏ
lim
V 0 Qc = qꞏ p,c (5-21)
V
qꞏ p,c test c
is added at a point in the geometry. As can be seen from Equation 5-21, Qꞏ c must tend
to plus or minus infinity as V tends to zero. This means that in theory the
concentration also tends to plus or minus infinity.
Observe that “point” refers to the physical representation of the source. A point source
can therefore only be added to points in 3D components and to points on the
symmetry axis in 2D axisymmetry components. Other geometrical points in 2D
components represent physical lines.
LINE SOURCE
A line source can theoretically be formed by assuming a source of strength Qꞏ l,c (SI
unit: mol/(m3·s)), located within a tube with cross section S and then letting S tend
to zero while keeping the total mass flux per unit length constant. Given a line source
strength, qꞏ l,c (SI unit: mol/(m·s)), this can be expressed as
lim
S 0 Qꞏ l,c = qꞏ l,c (5-22)
S
As in the point source case, an alternative approach is to assume that mass is injected/
extracted through the surface of a small object. This results in the same mass source,
but requires that effects resulting from the physical object’s volume are neglected.
qꞏ l,c test c
As with a point source, it is important not to mesh too finely around the line source.
For feature node information, see Line Mass Source and Point Mass
Source.
Note: Migration is only available in a limited set of add-on products. For a detailed
overview of which features are available in each product, visit
[Link]
c i
+ – D i c i – z i u m i F c i V + c i u = R i (5-23)
t
where
J i = – D i c i – z i u m i Fc i V
The velocity, u, can be a computed fluid velocity field from a Fluid Flow interface or
a specified function of the spatial variables x, y, and z. The potential can be provided
by an expression or by coupling the system of equations to a current balance, such as
the Electrostatics interface. Sometimes it is assumed to be a supporting electrolyte
present, which simplifies the transport equations. In that case, the modeled charged
species concentration is very low compared to other ions dissolved in the solution.
Thus, the species concentration does not influence the solution’s conductivity and the
net charge within the fluid.
D
u m i = --------i
RT
where R (SI unit: J/(mol·K)) is the molar gas constant and T (SI unit: K) is the
temperature.
Note: In the Nernst–Planck Equations interface, the ionic species contribute to the
charge transfer in the solution. It includes an electroneutrality condition and also
computes the electric potential field in the electrolyte. For more information, see
Theory for the Nernst–Planck Equations Interface. This interface is included in the
Chemical Reaction Engineering Module.
Supporting Electrolytes
In electrolyte solutions, a salt can be added to provide a high electrolyte conductivity
and decrease the ohmic losses in a cell. These solutions are often called supporting
electrolytes, buffer solutions, or carrier electrolytes. The added species, a negative and
a positive ion pair, predominates over all other species. Therefore, the supporting
electrolyte species can be assumed to dominate the current transport in the solution.
In addition, the predominant supporting ions are usually selected so that they do not
react at the electrode surfaces since the high conductivity should be kept through the
process, that is, they should not be electroactive species. This also means that the
concentration gradients of the predominant species in a supporting electrolyte are
usually negligible.
The current density vector is proportional to the sum of all species fluxes as expressed
by Faraday’s law:
i = F zi Ni
i
– z j u m j F c j
2
i = F (5-24)
j
Equation 5-24 is simply Ohm’s law for ionic current transport and can be simplified to
i = – (5-25)
where is the conductivity of the supporting electrolyte. A current balance gives the
current and potential density in the cell
i = 0
– = 0 (5-26)
Equation 5-26 can be easily solved using the Electrostatics or Secondary Current
Distribution interface and, when coupled to the Transport in Diluted Species interface,
the potential distribution shows up in the migration term.
Crosswind Diffusion
Transport of diluted species applications can often result in models with a very high
cell Péclet number — that is, systems where convection or migration dominates over
diffusion. Streamline diffusion and crosswind diffusion are of paramount importance
to obtain physically reasonable results. The Transport of Diluted Species interface
provides two crosswind diffusion options using different formulations. Observe that
crosswind diffusion makes the equation system nonlinear even if the transport
equation is linear.
CODINA
The Codina formulation is described in Ref. 1. It adds diffusion strictly in the direction
orthogonal to the streamline direction. Compared to the do Carmo and Galeão
formulation, the Codina formulation adds less diffusion but is not as efficient at
reducing over- and undershoots. It also does not work as well for anisotropic meshes.
The advantage is that the resulting nonlinear system is easier to converge and that
underresolved gradients are less smeared out.
Use the Danckwerts condition to specify inlet conditions for domains where high
reaction rates are anticipated in the vicinity to the inlet (Ref. 2).
n J i + uc i = n uc i 0 (5-27)
c + c P i + ( g c G i) + u c i =
t l i t t (5-28)
D D i + D e i c i + R i + S i
On the left-hand side of Equation 5-28, the first three terms correspond to the
accumulation of species within the liquid, solid, and gas phases, while the last term
describes the convection due to the velocity field u (SI unit: m/s).
In Equation 5-28 ci denotes the concentration of species i in the liquid (SI unit: mol/
m3), cP, i the amount adsorbed to solid particles (moles per unit dry weight of the
solid), and cG, i the concentration of species i in the gas phase.
The equation balances the mass transport throughout the porous medium using the
porosity p, the liquid volume fraction l; the dry bulk density, = (1 p)s, and the
solid phase density s.
For saturated porous media, the liquid volume fraction l is equal to the porosity p,
but for unsaturated porous media, they are related by the saturation s as l = psThe
resulting gas volume fraction in the case of an unsaturated porous medium is
g = p – l = 1 – s p
On the right-hand side of Equation 5-28, the first term introduces the spreading of
species due to mechanical mixing resulting from the porous media (dispersion), as well
as from diffusion and volatilization to the gas phase. The dispersion tensor is denoted
DD (SI unit: m2/s) and the effective diffusion by De (SI unit: m2/s).
The last two terms on the right-hand side of Equation 5-28 describe production or
consumption of the species; Ri is a reaction rate expression which can account for
reactions in the liquid, solid, or gas phase, and Si is an arbitrary source term, for
example due to a fluid flow source or sink.
c
c = c P i c i – c p = K P,i i – c P i s p (5-29)
t P i ci t P i s t t t
Volatilization
Volatilization is the process where a solute species in the liquid is transported to the
gas phase due to vaporization. Assuming that the amount of solute in the gas phase,
cG,i, is a linear function of the liquid phase concentration, the volatilization term is
defined as
c G i c i g c i g
= + k c = g k G i + k G i c i (5-30)
c
t g G i
g ci t G i i t t t
c + c P i + u c i = D D i + D e i c i + R i + S i (5-31)
t p i t
The velocity field to be used in the Model Inputs section on the physics
interface can, for example, be prescribed using the velocity field from a
Darcy’s Law or a Brinkman Equations interface.
The average linear fluid velocities ua, provides an estimate of the fluid velocity within
the pores:
u-
u a = ---- Saturated
p
u-
u a = --- Unsaturated
l
where p is the porosity and l = sp the liquid volume fraction, and s the saturation,
a dimensionless number between 0 and 1.
Figure 5-4: A block of a porous medium consisting of solids and the pore space between the
solid grains. The average linear velocity describes how fast the fluid moves within the pores.
The Darcy velocity attributes this flow over the entire fluid-solid face.
If the conservative formulation is expanded using the chain rule, then one of the terms
from the convection part, ci·u, would equal zero for an incompressible fluid and
would result in the nonconservative formulation described in Equation 5-28.
When using the nonconservative formulation, which is the default, the fluid is assumed
incompressible and divergence free: u = . The nonconservative formulation
improves the stability of systems coupled to a momentum equation (fluid flow
equation).
To switch between the two formulations, click the Show button ( ) and
select Advanced Physics Options. In the section Advanced Settings select
either Nonconservative (the default) or Conservative. The conservative
formulation should be used for compressible flow.
De = DF Free Flow
p
D e = ----- D L Saturated Porous Media
L
l
D e = ----- D L Unsaturated Porous Media
L
l g
D e = ----- D L + ------ k G D G Unsaturated with Volatilization
L G
Here DF, DL, and DG are the single-phase diffusion coefficients for the species diluted
in a fluid, a pure liquid, and a gas phase, respectively (SI unit: m2/s), and F, L, and
G are the corresponding tortuosity factors (dimensionless).
The tortuosity factor accounts for the reduced diffusivity due to the fact that the solid
grains impede Brownian motion. The interface provides predefined expressions to
–7 3 2 –7 3 2
L = l p , G = g p
–5 2 2 –5 2 2
L = l p , G = g p
For saturated porous media l = p. The fluid tortuosity for the Millington and Quirk
model is
–1 3
L = p
–1 2
L = p
User defined expressions for the tortuosity factor can also be applied.
Dispersion
The contribution of dispersion to the mixing of species typically overshadows the
contribution from molecular diffusion, except when the fluid velocity is very low.
The spreading of mass, as a fluid travel through a porous medium is caused by several
contributing effects. Local variations in fluid velocity lead to mechanical mixing
referred to as dispersion occurs because the fluid in the pore space flows around solid
particles, so the velocity field varies within pore channels. The spreading in the
direction parallel to the flow, or longitudinal dispersivity, typically exceeds the
transverse dispersivity from up to an order of magnitude. Being driven by the
concentration gradient alone, molecular diffusion rate is low relative to the mechanical
dispersion, except at very low fluid velocities.
The dispersion is controlled through the dispersion tensor DD. The tensor
components can either be given by user-defined values or expressions or derived from
the directional dispersivities.
Using the longitudinal and transverse dispersivities in 2D, the dispersivity tensor
components are (Ref. 5):
2 2
ui uj
D Dii = L ------ + T ------
u u
ui uj
D Dij = D Dji = L – T -----------
u
In these equations, DDii (SI unit: m2/s) are the principal components of the
dispersivity tensor, and DDji and DDji are the cross terms. The parameters L and T
(SI unit: m) specify the longitudinal and transverse dispersivities; and ui (SI unit: m/
s) stands for the velocity field components.
In order to facilitate modeling of stratified porous media in 3D, the tensor formulation
by Burnett and Frind (Ref. 4) can be used. Consider a transverse isotropic media,
where the strata are piled up in the z direction, the dispersivity tensor components are:
In Equation 5-33 the fluid velocities u, v, and w correspond to the components of the
velocity field u in the x, y, and z directions, respectively, and 1 (SI unit: m) is the
longitudinal dispersivity. If z is the vertical axis, 2 and 3 are the dispersivities in the
transverse horizontal and transverse vertical directions, respectively (SI unit: m).
Setting 2 = 3 gives the expressions for isotropic media shown in Bear (Ref. 5 and
Ref. 6).
Adsorption
As species travel through a porous medium they typically attach to (adsorb), and
detach (desorb) from the solid phase, which slows chemical transport through the
porous medium. Adsorption and desorption respectively reduces or increases species
concentrations in the fluid. The adsorption properties vary between chemicals, so a
plume containing multiple species can separate into components (Ref. 7). The
Adsorption feature includes four predefined and one user-defined relationships to
predict the solid concentrations, cPi from the concentration in the liquid phase, ci:
• Freundlich (Ref. 8)
- Freundlich constant KF (SI unit:·mol/kg), Freundlich exponent NF
(dimensionless), and reference concentration cref (SI unit: mol/m3).
• Langmuir (Ref. 9)
- Langmuir constant KL (SI unit: m3/mol), and adsorption maximum cPmax
(SI unit: mol/kg).
• Toth (Ref. 10)
- Toth constant bT (SI unit: m3/mol), Toth exponent NT (dimensionless), and
adsorption maximum cPmax (SI unit: mol/kg).
• BET (Brunauer–Emmett–Teller, Ref. 11)
- BET constant KB (dimensionless), the monolayer adsorption capacity c0
(SI unit: mol/kg) and the saturation concentration, cS (SI unit: mol/m3).
These predefined expressions are adsorption isotherms that describe the amount of
species sorbed to the solid. Applying the isotherms, as defined in the Adsorption
section above, assumes that adsorption is at equilibrium locally. This implies that the
species phase transfer, between the fluid and the solid phase (within the porous
medium), is much faster than the transport within the fluid phase.
Using a Species Source feature, arbitrary expressions can be entered to define, for
example, nonequilibrium and temperature-dependent adsorption laws, in the manner
of Fetter (Ref. 12), or Bear and Verruijt (Ref. 13).
The retardation factor, RF, describes how adsorption slows the solute velocity, uc,
relative to the average linear velocity of the fluid, ua, as in
If the contaminant moves at the average linear velocity of the fluid for RF = 1. For
RF > 1, the contaminant velocity is lower than the fluid velocity owing to residence
time on solids.
Reactions
Chemical reactions of all types influence species transport in porous media. Examples
include biodegradation, radioactive decay, transformation to tracked products,
temperature- and pressure-dependent functions, exothermic reactions, and
endothermic reactions. The reactions represent change in species concentration per
unit volume porous medium per time. Reaction terms are used on the right-hand side
of the governing equation to represent these processes. For reactions in a fluid phase,
multiply the expression by the fluid volume fraction . Similarly, solid phase reaction
expressions include the bulk density, b, and gas phase reactions include the gas
volume fraction, av.
ln 2
R Li = – --------- c i Radioactive decay — liquid
Li
ln 2 c Pi
R Pi = – b --------- ---------- c i Radioactive decay — solid
Pi c i
c Gi
R Gi = – --------- a v ----------- c i Radioactive decay — gas
ln 2
Gi c
R Lk = Li c i Creation from parent c Li — liquid
c Pi
R Pk = b Pi ---------- c i Creation from sorbed parent c Pi — solid
c i
c Gi
R Gk = – a v ----------- c i Reaction — gas
c
where is the chemical half life, is a reaction rate, and the subscripts L, P, and G
denote liquid, solid, and gas phases, respectively. In the equations, the reactions either
depend on liquid concentration ci or solid phase concentrations cPi obtained using the
sorption derivative with ci or gas phase concentration cGi depending on the gas volume
fraction, the volatilization, and the liquid concentration.
Ea T – TR
T = R exp ------------------------------ (5-35)
R u TT R
The fluid flow in a fracture can be modeled using Darcy’s law formulated in a thin
sheet of porous medium (a fracture):
u = --- t p
Here u is the tangential Darcy velocity, is the fracture permeability, the fluid’s
dynamic viscosity, and tp is the tangential gradient of the fluid pressure.
The equation to solve for mass transport of species ci in a thin fracture, embedded in
a porous media, is derived from Equation 5-28. The resulting equation is:
b c P i p c i
d fr ------------------ + ------------- + t D e i t c i + u t c i = d fr R i + d fr S i + n 0 (5-36)
t t
Here dfr is the fracture thickness, cP,i the amount of species adsorbed to (or desorbed
from) the porous matrix (moles per unit dry weight of the solid), p is the fracture
porosity, and De is the effective diffusivity. The first two terms on the right hand side
represent source terms from reactions, and n0 corresponds to out-of plane flux from
the adjacent porous domain.
In order to arrive at the tangential differential equation, the gradient is split into the
contributions normal and tangential to the fracture:
c i = n c i + t c i
c i = t c i
Using , the transport along fracture boundaries alone is solved for. In this case the
transport in the surrounding porous media neglected and the out-of plane flux n0
vanishes.
See Fracture for more information about the boundary feature solving
Equation 5-36. See for more information about the physics interface
solving the equation on boundaries only.
References
1. R. Codina, “A discontinuity-capturing crosswind-dissipation for the finite element
solution of the convection-diffusion equation”, Computer Methods in Applied
Mechanics and Engineering, vol. 110, pp. 325–342, 1993.
3. R.J. Millington and J.M. Quirk, “Permeability of Porous Solids”, Trans. Faraday
Soc., vol. 57, pp. 1200–1207, 1961.
4. R.D. Burnett and E.O. Frind, “An Alternating Direction Galerkin Technique for
Simulation of Groundwater Contaminant Transport in Three Dimensions: 2.
Dimensionality Effects”, Water Resour. Res., vol. 23, no. 4, pp. 695–705, 1987.
7. D.M. Mackay, D.L. Freyberg, P.V. Roberts, and J.A. Cherry, “A Natural Gradient
Experiment on Solute Transport in a Sand Aquifer: 1. Approach and Overview of
Plume Movement”, Water Resour. Res., vol. 22, no. 13, pp. 2017–2030, 1986.
10. J. Toth, “State equation of the solid gas interface layer”, Acta Chem. Acad. Hung.
vol. 69, pp. 311–317, 1971.
13. J. Bear and A. Verruijt, Modeling Groundwater Flow and Pollution, D. Reidel
Publishing, 1994.
15. J.M. Coulson and J.F. Richardson, Chemical Engineering, vol. 2, 4th ed.,
Pergamon Press, Oxford, U.K., 1991.
16. J.M. Coulson and J.F. Richardson, Chemical Engineering, vol. 1, 4th ed.,
Pergamon Press, Oxford, U.K., 1991.
17. D.E Rosner, Transport Processes in Chemically Reacting Flow Systems, ISBN-13:
978-1483130262, Butterworth–Heinemann, 1986.
18. R.B. Bird, W.E. Stewart, and E.N. Lightfoot, Transport Phenomena, 2nd ed.,
John Wiley & Sons, Inc., 2007.
i + i u = – j i + R i (5-37)
t
where, (SI unit: kg/m3) denotes the mixture density and u (SI unit: m/s) the mass
averaged velocity of the mixture. The remaining variables are specific for each of the
species, i, being described by the mass transfer equation:
The relative mass flux vector ji can include contributions due to molecular diffusion,
mass flux due to migration in an electric field, and thermal diffusion.
Summation of the transport equations over all present species gives Equation 5-38 for
the conservation of mass
assuming that
Q Q Q
i = 1, ji = 0, Ri = 0
i=1 i=1 i=1
Using the mass conservation equation, the species transport for an individual species,
i, is given by:
i + u i = – j i + R i (5-39)
t
Q 1 of the species equations are independent and possible to solve for using
Equation 5-39. To compute the mass fraction of the remaining species, COMSOL
Multiphysics uses the fact that the sum of the mass fractions is equal to 1:
1 = 1 – i (5-40)
i=2
T T
xi xk ji jk xi xk Dk Di
– ---------- --------- – ---------
D ik i k
- = dk – ---------- ---------- – --------- ln T
D ik k i
(5-41)
ki ki
where
By inverting the above set of equations, the mass flux relative to the mass average
velocity, ji, can be defined by the generalized Fick equations (Ref. 1):
Q
1
d k = -------------- p k – k p – k g k + k
cR g T l gl (5-43)
l=1
where
Using the ideal gas law, p c·Rg·T, and the definition of the partial pressures, pk xkp,
the equation can be written as
Q
1
d k = x k + --- x k – k p – k g k + k
p l gl (5-44)
l=1
k
x k = -------- M (5-45)
Mk
When using the Maxwell–Stefan diffusion model, the transport equations for the
species’ mass are
Q
T T
i + u i = i D̃ ik d k + D i -------- + R i
t T
k=1
(5-46)
Q
1
d k = x k + --- x k – k p – k g k + k
p l gl
l=1
Multicomponent Diffusivities
˜
The multicomponent Fick diffusivities, D ik , are needed to solve Equation 5-46. The
diffusivities are symmetric
˜
D ˜
ik = D ki
and are related to the multicomponent Maxwell–Stefan diffusivities, Dik, through the
following relation (Ref. 2)
xi xk
adjB i jk
ji
---------- = – i k ---------------------------------------- , B i = D̃ kj – D̃ ij , ij (5-47)
D ik kj
D̃ ij adjB i jk
ji
where (adjBi)jk is the jkth component of the adjoint of the matrix Bi.
Solving for Equation 5-47 leads to a number of algebraic expressions for each of the
components in the multicomponent Fick diffusivity matrix. For two- and
three-component systems, these are implemented and solved directly by COMSOL
˜
Multiphysics. For instance, the component D 12 in a ternary system is given by:
D̃ ij = N ij – q (5-48)
˜
where ij, the indices in the matrices D and N, range from 1 to the number of species,
Q.
–1
N ij = P ij (5-49)
i j
P ij = -----------
- – C̃ ij
q
˜
The matrix C in turn is defined as
xi xj
--------- ij
D ij
C̃ ij =
– C̃ik i=j
kj
The term q in Equation 5-48 is a scalar value that provides numerical stability and
should be of the same order of magnitude as the multicomponent Maxwell–Stefan
diffusion coefficients. The physics interface therefore defines q as the sum of the
multicomponent Maxwell–Stefan diffusion coefficients:
n–1
n
q = Dij
i = 1 j = i+1
Assuming that the diffusive flux, relative to the mass averaged velocity, is proportional
to the mole fraction gradient, the mass flux is defined as
m x i
j md i = – i D i --------- (5-50)
xi
Here i is the density, and xi the mole fraction of species i. Using the definition of the
species density and mole fraction
i
i = i , x i = ------- M
Mi
Equation 5-50 can be expressed in terms of the mass fractions (i) in the manner of
m M
j md i = – D i i + i D i ---------
m
M
Using Equation 5-50 together with the Maxwell–Stefan equations, where isobaric and
isothermal conditions have been assumed, the following expression for the
mixture-averaged diffusion coefficients can be derived (Ref. 3):
m 1 – i
D i = -------------------------
- (5-51)
xk
N
--------
-
kiD
ik
If instead the diffusive flux (relative to the mass averaged velocity) is assumed
proportional to the mass fraction gradient, the mass flux is defined as
m* i m*
j md i = – i D i ---------- = – D i i (5-52)
i
1 = xk xi k
k i --------
D ik 1 – i k i D ik
N N
----------- - + --------------- --------- (5-53)
m*
Di
i = 1 i ud,i
N
uc = – (5-55)
Here ud,i is the diffusion velocity resulting from the flux assumption in Equation 5-50
or Equation 5-52. Note that the correction velocity is a constant correction (same for
all species), but varies in space.
Using the correction velocity together with Equation 5-50 (flux proportional to the
mole fraction gradient), the resulting diffusive flux is
m M Mi
i = 1 ------
m N m
j md i = – D i i – i D i --------- + i - D x i (5-56)
M M i
i = 1 Di
m* N m*
j md i = – D i i + i i (5-57)
T T
j i = D i -------- + i z i u m i F
T
where
T
• D i (SI unit: kg/(m·s)) is the thermal diffusion coefficient
• zi (dimensionless) is the charge number
• um,i the mobility of the ith species, and
• (SI unit: V) is the electric potential.
F x i
j md i = – i D i kl --------- (5-58)
xi
when assuming that the diffusive flux is proportional to the mole fraction gradient. If
instead assuming that it is proportional to the mass fraction it becomes
F
j md i = – D i kl i (5-59)
F
In the equations above D i kl represents a general diffusion matrix (SI unit: m2/s)
describing the diffusion of species i into the mixture. This form makes it possible to
use any diffusion coefficient, matrix, or empirical model based on Fick’s law. For
example, in situations when the mass transport is not dominated by diffusion, an
alternative is to use the diffusion coefficients at infinite dilution,
These coefficients are typically more readily available compared to the binary diffusion
diffusivities, especially for liquid mixtures.
The mixture diffusion correction described above for the mixture-averaged diffusion
can also be applied in this case. Correspondingly, the resulting diffusive flux is
F M Mi
i = 1 ------
F N F
j md i = – D i kl i – i D i kl --------- + i - D x (5-60)
M M i kl i
i = 1 Di kl i
F N F
j md i = – D i kl i + i (5-61)
When using the Fick’s Law approximation, Additional Transport Mechanisms can be
accounted for in the same manner as described above for the mixture-averaged
approximation.
Di
T
= 0
i=1
MW 1 1 -
-1
Di = --------
- + --------
D M
D
W
i i
For the Maxwell-Stefan diffusion model (see Ref. 5), the following term is added to the
species force balance (Equation 5-41)
xi ji
- --------- + u W = d i +
+ ------------
W
D i eff i
The wall velocity uW, representing the velocity of the fluid in a representative region
adjacent to the pore wall, is here defined as
p A x k j k'
----------- +
pA --------------
D
W
----------
k
k k eff
uW = – ---------------------------------------------------- (5-62)
xk
--------------
W
k D k eff
where the modified fluxes j k' have been calculated using the modified driving forces
1
d k' = x k + --- x k p (5-63)
p
It should be noted that uW can become nonzero also in the absence of pressure
gradients. For a proper description of the fluid momentum balance, uW needs to be
added either as a contributing velocity (Darcy’s law) or as a corresponding volume
force F 1uW (Brinkman equations).
The Maxwell–Stefan model formulated in this way correctly captures the Klinkenberg
effect, and has large similarities with other models in literature incorporating Knudsen
diffusion such as the Dusty Gas Model and the (Modified) Binary Friction Model. In
addition, for the limit of vanishing permeabilities ( 0), the formulation reduces to
the Lightfoot model for membrane transport.
When selected the “core”, or unregularized reaction rate contribution, Ric, to a mass
fraction i is replaced by
c c c c
1 Ri – Ri 1 Ri + Ri
R i = --- -------------------------------- max i 0 + --- -----------------------------------------
- max 1 – i 0 (5-64)
2 max dl 2 max 1 – dl
i i i i
The first term on the right hand side of Equation 5-64 is active if Ric 0, that is if i
is a reactant. The reaction rate contribution, Ri, is equal to the “core” reaction rate,
Ric, as long as i idl. As i approaches zero, the regularization damps out negative
Ric and for i 0, Ri for reactant i is equal to zero.
The second term on the right hand side of Equation 5-64 is active if Ric 0, that is if
i is a product. The reaction rate contribution, Ri, is equal to the “core” reaction rate,
Ric, as long as i 1 idl. As i approaches one, the regularization damps out
positive Ric and for i 1, Ri for product i is equal to zero.
The damping limits, idl, should be in an order of magnitude that can be considered
numerical noise for species i. The damping limits are per default set to 1e6, which is
appropriate for most applications. It can be advantageous to lower some limits when
working with for example catalytic trace species and the limits can sometimes be raised
to gain additional robustness.
2. R.B. Bird, W.E. Stewart, and E.N. Lightfoot, Transport Phenomena, 2nd ed., John
Wiley & Sons, 2005.
3. R.J. Kee, M.E. Coltrin, and P. Glarborg, Chemically Reacting Flow, John Wiley &
Sons, 2003.
4.
The species concentrations are denoted, ci (SI unit: mol/m3), and the potential, l (SI
unit: V).
N i = – D i c i – z i u m i Fc i l + uc i = J i + uc i (5-65)
where Di (SI unit: m2/s) is the diffusion coefficient, zi (1) the corresponding charge,
um,i (SI unit: s·mol/kg) the mobility and u (SI unit: m/s) the velocity vector. Ji
denotes the molar flux relative to the convective transport (SI unit: mol/(m2·s)). For
a detailed description of the theory of these equations and the different boundary
conditions, see .
il = zi Ni (5-66)
i
il = Ql (5-67)
where Ql (SI unit: A/m3) is the electrolyte current source stemming from, for
example, porous electrode reactions. For nonporous electrode domains this source
term is usually zero.
N+2
zi ci = 0 (5-68)
i=1
In water-based systems the species H+ and OH- are always present. The auto
ionization reaction for water is
+ -
H 2 O H + OH (5-69)
2 –6
c H + c OH - = K w 1 mol dm (5-70)
where Kw 1014.
Now, the electroneutrality condition, including the two additional species H+ and
OH-, reads
c H + – c OH - + zi ci = 0 (5-71)
i=1
Combining these two equations results in the following algebraic expressions for the
concentrations of H+ and OH-.
2
cH+ = –
--- +
2 –6
------ + K w 1 mol dm (5-72)
2 4
and
2
c OH - =
--- +
2 –6
------ + K w 1 mol dm (5-73)
2 4
where
= zi ci (5-74)
i=1
+ z +k–1
z +k z +k–1 + H S k0– 1
S k0 S k0– 1 +H K a 1 = ---------------------------------------- (5-75)
z0 + k
Sk
to
+ z
z +1 z + H S 00
S k0 S 00 + H K a k = -------------------------
- (5-76)
z +1
S 10
where z0 is the charge (valence) of species S0 (which has no dissociable protons) and
Ka,j is the acid (equilibrium) constant of the jth dissociation reaction. The brackets
“[ ]” here represent the species activity. The charge of each species is always deductible
from the index i according to z0+i and will be dropped from now on.
If the proton activity is known, any species Sm may be expressed using any other
species Sl according to
m–l
H Sl
S m = ------------------------------------- (5-77)
k–l
K a j
j = k–m+1
if m l and
k–m
m–l
Sm = H Sl K a j
j = k–l+1
(5-78)
if l m.
Setting m i and denoting the flux of species i by Ni using equation Equation 5-65,
the mass balance equation for the concentration ci of each subspecies i in the
dissociation chain is
c
-------i + N i = R eq i k – i – R eq i k – i + 1 + R i (5-79)
t
where Req,i,j is the reaction source stemming from the jth dissociation step (with
Req,i,k+1 0), and Ri any additional reaction sources.
k k
c i
------
- + N i = Ri (5-80)
t
i=0 i=0
N i = – Dc i – zu m Fc i l + uc i (5-81)
When considering the contribution to the current and the charge balance equation you
2 2
need to take into account that the squared average charge, z = z 0 – , is not equal
2 2 2 2 2 2
to the “average squared charge”, z = z 0 + 2z 0 + = z – + (Ref. 1).
2
i l = – F zD i c i + z u m c i l (5-82)
The average number of protons removed from the proton typically depends on the
pH. If the average number of removed protons depend only on the pH, the averaged
squared number of protons removed can be written as
2 d 2
= – c H+ + (5-83)
d cH+
And from this you can derive the average squared charge according to
2 d z2 d z z2
z = – cH+ + = – cH+ + (5-84)
d c H+ d cH+
DIFFUSIVITY-MOBILITY RELATIONS
The Stokes radius r of a molecule is related to the diffusivity according to
where is the (SI unit: Pa·s) is the dynamic viscosity and k the Boltzmann constant.
For small molecules, there is the frequently used Nernst–Einstein relation between the
diffusivity and the mobility
D
u m = -------- (5-86)
RT
For larger molecules, such as proteins, the mobility may instead be calculated based on
the Debye–Hückel–Henry expression (Ref. 2 ) according to
ef r - = -----------------------------
Df r -
u m = ----------------------------------- (5-87)
6F 1 + r RT 1 + r
where (1/m) is the Debye parameter, which depends on the ionic strength of the
solution, is defined for ideal solutions as
2 N
2e N A
zi ci
2 2
= ----------------- (5-88)
0 kT
i=1
where is the dielectric constant of the fluid and 0 the permittivity of free space.
2
( z should be used if available in the formula above when calculating the ionic
strength).
The function f above is based on a sigmoidal function so that it ranges from 1 for r 0
to 1.5 for r . Note that the Debye–Hückel–Henry expression approaches the
Nernst–Einstein mobility as r 0.
For larger molecules (macro ions), where the distance between the charges is large
compared to 1/, the Linderstrøm–Lang approximation postulates a smaller
contribution of to the ionic strength so that the z-valent ion behaves as a monovalent
ion with a z-fold concentration. For an assemble of N M smaller molecules and M
macro ions, the Debye parameter then is defined as
N–M N
2e N A
2
= ----------------- abs(z i)c i
2 2
zi ci + (5-89)
0 kT
i=1 i = N–M+1
In this section:
N t i = – D s i t c s i
where Ds,i (SI unit: m2/s) is the surface diffusion coefficient for species i.
c s i
= – t N t i + R s i (5-90)
t
where Rs,i (SI unit: mol/(m2·s)) is the sum of all sources due to surface reactions and
adsorption/desorption phenomena.
Of frequent interest for surface reaction kinetics are the fractional surface coverages, i
(dimensionless), of the species (with index i).
i c s i
i = -------------
-
s
(The site occupancy number accounts for the situation when a large species covers
more than one site on the surface.)
For the case of monolayer adsorption, the sum of all fractional coverages of free and
adsorbed sites is unity, and hence the fraction of free sites on the surface, *, can be
calculated from
* = 1 – i
i
The reaction rate in mass basis, rb,k (SI unit: kg/(s·m2)) for species k, is given by
r k = M k R b k
with Mk (SI unit: kg/mol) being the molar mass of the species.
Based on this, the species contribution to the bulk growth velocity, vk (SI unit: m/s),
is given by
r b k
v b k = ---------
-
k
r b tot = r b k
k
v b tot = vb k
k
R b k
R b frac k = --------------
-
R b tot
r b k
r b frac k = ------------
-
r b tot
v b k
v b frac k = -------------
-
v b tot
The bulk concentration, cb,k (SI unit: mol/m2), for species k is governed by the
equation
c b k
= R b k (5-91)
t
The bulk concentration in mass basis, mb,k (SI unit: kg/m2) for a species k, can be
derived from
m b k = M k c b k
m b k
s b k = ------------
-
k
c b tot = c b k
k
m b tot = mb k
k
s b tot = sk
k
FRACTIONAL QUANTITIES
The fractional bulk concentration, bulk mass, and thickness (all dimensionless) are
calculated according to
c b k
c b frac k = ------------
-
c b tot
m b k
m b frac k = ---------------
-
m b tot
s b k
s b frac k = ------------
-
s b tot
In order to comply with the additional contributions to the mass balance, equations
are added. First, the following terms are added to the right-hand side of Equation 5-90
and Equation 5-91, respectively:
– c s i ln A
t
– c b k ln A
t
where A is the infinitesimal mesh area segment (area scale factor). The above terms
account for the concentration change due to a fractional area change.
t c s i v t mesh
t c b k v t mesh
This convectional term needs often to be stabilized using methods such as streamline
diffusion or isotropic diffusion.
is used to define the stoichiometric coefficients, i, with i being positive (red) for
products and negative (ox) for the reactants in a reduction reaction. The number of
participating electrons, n, is always positive.
In this section:
i m i m
Ni = -----------------
nm F
-
m
where im is the local current density (SI unit: A/m2) of the electrochemical reaction,
nm the number of participating electrons and F (SI unit: C/mol) is Faraday’s
constant.
The molar species flux, Ni, is obtained from normal component of the molar species
flux vector over the electrode-electrolyte interface:
Ni = Ni n
where n is the normal vector of the boundary pointing into the domain.
i m i m
R i molar = – av m -----------------
nm F
-
m
ni n = Mi Ni
R i mass = M i R i molar
i – nojac i
------------------------------------
t̃
is added to the left-hand side of the mass fraction equations. Here is the fluid mixture
density, i is the mass fraction (dimensionless) of species i, and t̃ is the pseudo time
step. Since inojac(i) is always zero, this term does not affect the final solution. It
does, however, affect the discrete equation system and effectively transforms a
nonlinear iteration into a time step of size t̃ .
For a description of the pseudo time step term for the Navier–Stokes
equations and the pseudo time step see and Pseudo Time Stepping in the
COMSOL Multiphysics Reference Manual.
n j i + i u = r s,i M i (5-92)
Here, n is the unit normal pointing out of the fluid domain, u is the mass averaged
velocity of the fluid mixture (SI unit: m/s), ji denotes the mass flux of species i relative
to the mixture (typically due to diffusion), and Mi is the species molar mass (SI unit:
kg/mol). Summing the mass balances at the surface, over all species, results in an
effective mixture velocity:
n u s = rs,i Mi (5-93)
i=1
referred to as the Stefan velocity, here denoted us. To reach Equation 5-93 the fact
that the sum of all mass fractions is one, and that the sum of all relative diffusive fluxes
is zero, was used.
Equation 5-93 implies that surface reactions result in a net flux between the surface
and the domain. A net flux in turn corresponds to an effective convective velocity at
the domain boundary; the Stefan velocity. It should be noted here that when solving
for mass transport inside a fluid domain, an outer boundary of the domain corresponds
to a position just outside of the actual physical wall (on the fluid side). The domain
boundary does not coincide with the physical wall.
In most reacting flow models, the species mass fractions in the fluid domain are solved
for without including the surface concentrations (mol per area) on exterior walls. One
reason for this is that the surface reaction rates are often not known. In this case,
surface reactions can be modeled either by applying a mass flux or prescribing the mass
fraction, or a combination of both, on fluid boundaries adjacent to the reacting
surface. The Stefan velocity on a fluid domain boundary is then defined as the net mass
flux resulting from the boundary conditions applied:
Here, the first term contains contributions from boundary conditions prescribing the
mass flux, while the second contains contributions from boundary conditions
prescribing the mass fractions. Contributions to the Stefan velocity can be added by
n j 0 i
n u s = ------------------------------------
i=1 - (5-95)
N
1 – i 0
i
Using a Reacting Flow interface, the Stefan velocity, defined in the manner of
Equation 5-95, is automatically computed and applied on boundaries corresponding
to walls in the coupled fluid flow interface. The Stefan velocity is prescribed in the wall
normal direction on the wall selection.
f (5-96)
kj
aA + bB + ... r
xX + yY + ...
kj
For such a reaction set, the reaction rates rj (SI unit: mol/(m3·s)), can be described by
the mass action law:
–
f r
rj = kj c i ij – k j c i ij (5-97)
i react i prod
f r
Here, kj and kj denote the forward and reverse rate constants, respectively. The
concentration of species i is denoted ci (SI unit: mol/m3). The stoichiometric
coefficients are denoted ij, and are defined to be negative for reactants and positive
for products. In practice, a reaction seldom involves more than two species colliding
in a reacting step, which means that a kinetic expression is usually of order 2 or less
(with respect to the involved concentrations).
k = AT exp – ----------
n E -
R g T
Here, A denotes the frequency factor, n the temperature exponent, E the activation
energy (SI unit: J/mol) and Rg the gas constant, 8.314 J/(mol·K). The
pre-exponential factor, including the frequency factor A and the temperature factor
Tn, is given the units (m3/mol) 1/s, where is the order of the reaction (with
respect to the concentrations).
ˆ = H
ˆ T p
H 1 N – 1
Assuming the same velocity for the convection term of all components, the mass
fractions follow the equation:
----- i + u i = – j i + R i
t
On the other hand, using the chain rule, the enthalpy variation is written:
N–1
ˆ Ĥ
--------- + Ĥ
DH DT Dp Ĥ D i
---------- = --------
Dt T p
Dt
--------
p T
-------- +
Dt --------
i
- ----------
Dt
j j
i=1 T p j i
Ĥ
H i = --------
n i
T p n j i
DE
--------- = – q + Q vd + Q
Dt
where Qvd is the heat source from viscous dissipation, and Q represents additional
sources. The heat flux q consists in a term of conduction and a term of diffusion:
N
Hi
q = q cond + q diff = – kT + ------
Mi i
-j
i=1
ˆ –p
Enthalpy and internal energy are linked through the formula E = H --- , we can thus
rewrite the heat balance equation in terms of enthalpy:
N
Ĥ Dp
--------- + Ĥ
DT Hi
--------
T p
Dt p
j
--------
T j
– 1 -------- +
Dt ------
Mi
- – j i + R i = – q + Q vd + Q
i=1
Introducing the heat capacity at constant pressure Cp (SI unit: J/(kg·m3), and the
coefficient of thermal expansion p (SI unit: 1/K) gives:
N
DT Dp Hi
C p --------- – p T -------- +
Dt Dt ------
Mi
- – j i + R i = – q + Q vd + Q
i=1
The term with the pressure derivative is the work of pressure forces Qp. The enthalpy
variation due to the gradient of species mass flux can be partly simplified with the
diffusion part of the heat flux. The heat source of reaction can be written in terms of
enthalpies of reaction Hi instead of partial enthalpies (see Ref. 1). The temperature
derivative term can be expanded to make the convective term appear. We finally obtain
the temperature equation for a free flow with N species and M reactions:
T- + u T + – kT = Q
C p ------ diff + Q react + Q vd + Q p + Q
t
Q react = – Hi ri
i=1
Q vd = – pI + :u
Q p = p T p
------ + u p
t
For reacting flows moving through the interstices of a porous medium, the heat
sources of reaction and diffusion are only accounted for the temperature of the fluid
phase. While the porosity is already accounted for in the diffusion term through the
mass flux, the heat source of reaction has to be multiplied by the porosity. Also, in
presence of a porous catalyst, both reactions in the bulk and reactions at the surface are
accounted for in the reaction source term:
M bulk M surf
s s
Q react = – p H i r i – S area Hi ri
i=1 i=1
where p is the porosity of the medium (SI unit: 1), Sarea is the specific surface area
s
(SI unit: 1/m), and r i is the surface reaction rate (SI unit: mol/(m2·s)).
An additional source term is added to model convective heat transfer between the fluid
and the porous matrix to get the temperature equation for nonisothermal reacting
flows in porous media:
T
f C p f ---------f + u T f + – k f T f = Q diff + Q react + Q vd + Q p + Q s f + Q
t
This equation is the one that is solved when the Porous medium type of the Porous
Medium feature is set to Local thermal nonequilibrium, since both fluid and porous
matrix temperatures are solved separately. With the Local thermal equilibrium approach,
the equation is written for the common temperature, and in terms of effective material
properties for the time derivative term and conduction term:
This chapter describes the physics interfaces found under the Fluid Flow branch
( ).
In this chapter:
| 427
• Theory for the Free and Porous Media Flow, Darcy Interface
• Theory for the Brinkman Equations Interface
• Theory for the Multiphase Flow in Porous Media Interface
• Theory for the Bubbly Flow Interface
• Theory for the Mixture Model Interface
• Theory for the Euler-Euler Interface
• Theory for the Coupling of Fluid Flow to Electrochemical Reactions
In the COMSOL Multiphysics Reference Manual, see Table 2-4 for links to common
sections such as Discretization, Consistent Stabilization, Inconsistent Stabilization, and
Advanced Settings sections, some of them accessed by clicking the Show button ( )
and choosing the applicable option. You can also search for information: press F1 to
open the Help window or Ctrl+F1 to open the Documentation window.
The equations solved by the Creeping Flow interface are the Stokes equations for
conservation of momentum and the continuity equation for conservation of mass.
The Creeping Flow interface can be used for stationary and time-dependent analyses.
The main feature is the Fluid Properties node, which adds the Stokes equations and
provides an interface for defining the fluid material and its properties. Except where
noted below, see The Laminar Flow Interface for all other settings.
DISCRETIZATION
By default, the Creeping Flow interface uses P2+P1 elements. Contrary to general
laminar and turbulent single-phase flow simulations employing purely linear P1+P1
elements, P2+P1 elements are well suited for most creeping flow simulations but are
not in general fully conservative. Full conservation properties and high accuracy is
obtained by selecting P2+P2 or P3+P3 elements.
Note that P1+P1, P2+P2, and P3+P3 discretizations (the so-called equal order
interpolations) require streamline diffusion to be active.
The physics interface supports incompressible flow, weakly compressible flow (the
density depends on temperature but not on pressure), and compressible flow at low
Mach numbers (typically less than 0.3). It also supports flow of non-Newtonian fluids.
The equations solved by the Laminar Flow interface are the Navier–Stokes equations
for conservation of momentum and the continuity equation for conservation of mass.
The Laminar Flow interface can be used for stationary and time-dependent analyses.
Time-dependent studies should be used in the high-Reynolds number regime as these
flows tend to become inherently unsteady.
When the Laminar Flow interface is added, the following default nodes are also added
in the Model Builder: Fluid Properties, Wall (the default boundary condition is No slip),
and Initial Values. Other nodes that implement, for example, boundary conditions and
volume forces, can be added from the Physics toolbar or from the context menu
displayed when right-clicking Laminar Flow.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Physics interface variables can be referred to using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is spf.
If the Neglect inertial term (Stokes flow) checkbox is selected, then the Label changes
to Creeping Flow, which is the same Label that displays when that interface is added
from the Model Wizard or Add Physics window.
PHYSICAL MODEL
Compressibility
Depending of the fluid properties and the flow regime, three options are available for
the Compressibility option. In general the computational complexity increases from
Incompressible flow to Weakly compressible flow to Compressible flow (Ma<0.3) but the
underlying hypotheses are increasingly more restrictive in the opposite direction.
When the Incompressible flow option (default) is selected, the incompressible form of
the Navier–Stokes and continuity equations is applied. In addition, the fluid density is
evaluated at the Reference pressure level defined in this section. The Reference
temperature is set to 293.15 K.
The Weakly compressible flow option models compressible flow when the pressure
dependency of the density can be neglected. When selected, the compressible form of
the Navier–Stokes and continuity equations is applied. In addition, the fluid density is
evaluated at the Reference pressure level defined in this section.
When the Compressible flow (Ma<0.3) option is selected, the compressible form of the
Navier–Stokes and continuity equations is applied. Ma 0.3 indicates that the inlet
and outlet conditions, as well as the stabilization, may not be suitable for transonic and
supersonic flow. For more information, see The Mach Number Limit.
Include Gravity
When the Include gravity checkbox is selected, a global Gravity feature is shown in the
interface model tree, and the buoyancy force is included in the Navier–Stokes
equations.
Also, when the Include gravity checkbox is selected, the Use reduced pressure option
changes the pressure formulation from using the total pressure (default) to using the
reduced pressure. This option is suitable for configurations where the density changes
are very small; otherwise, the default formulation can be used. For more information,
see Gravity
Reference Values
Reference values are global quantities used to evaluate the density of the fluid when
the Incompressible flow or the Weakly compressible flow option is selected.
Reference pressure level There are generally two ways to include the pressure in fluid
flow computations: either to use the absolute pressure pAppref, or the gauge
pressure p. When pref is nonzero, the physics interface solves for the gauge pressure
whereas material properties are evaluated using the absolute pressure. The reference
pressure level is also used to define the reference density.
DEPENDENT VARIABLES
The following dependent variables (fields) are defined for this physics interface — the
Velocity field u and its components, and the Pressure p.
If required, the names of the field, component, and dependent variable can be edited.
Editing the name of a scalar dependent variable changes both its field name and the
dependent variable name. If a new field name coincides with the name of another field
of the same type, the fields share degrees of freedom and dependent variable names. A
new field name must not coincide with the name of a field of another type or with a
component name belonging to some other field. Component names must be unique
within a model except when two fields share a common field name.
CONSISTENT STABILIZATION
To enable this section, click the Show More Options button ( ) and select Stabilization
in the Show More Options dialog.
There are two consistent stabilization methods: Streamline diffusion and Crosswind
diffusion. Usually, both checkboxes for these methods are selected by default and
should remain selected for optimal performance. Consistent stabilization methods do
not perturb the original transport equation. Streamline diffusion must be selected
when using equal-order interpolation for pressure and velocity.
Select the Use dynamic subgrid time scale checkbox to estimate the influence of
temporal variations in the velocity field, instead of using the inverse time step, in the
consistent stabilization terms. This checkbox is selected by default
Select the Limit small time steps effect on stabilization time scale checkbox to prevent
loss of stabilization at small time steps.
INCONSISTENT STABILIZATION
To enable this section, click the Show More Options button ( ) and select Stabilization
in the Show More Options dialog.
There is usually just one inconsistent stabilization method — Isotropic diffusion. This
method is equivalent to adding a term to the diffusion coefficient in order to dampen
the effect of oscillations by making the system somewhat less dominated by
convection. If possible, minimize the use of the inconsistent stabilization method
If required, select the Isotropic diffusion checkbox and enter a Tuning parameter id as
a scalar positive value. The default value is 0.25 (a reasonable value to start with is
roughly 0.5 divided by the element order). A higher value adds more isotropic
diffusion.
ADVANCED SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog. Normally these settings do not need
to be changed.
The Use pseudo time stepping for stationary equation form is per default set to Automatic
from physics. This option can add pseudo time derivatives to the equation when the
Stationary equation form is used in order to speed up convergence. Pseudo time
stepping is triggered when the Laminar Flow interface is selected in some multiphysics
coupling features. Set Automatic from physics to On to apply pseudo time stepping also
for laminar flows. Set it to Off to disable pseudo time stepping completely.
When Use pseudo time stepping for stationary equation form is set to Automatic from
physics or On, a CFL number expression should also be defined. For the default Automatic
option, the local CFL number (from the Courant–Friedrichs–Lewy condition) is
determined by a PID regulator.
The Use Block Navier-Stokes preconditioner checkbox under Linear solver is available
when the Compressibility option is set to Incompressible flow. When this checkbox is
selected, the default solver for time-dependent study steps will use the Block Navier–
Stokes preconditioner in iterative solvers for the velocity and pressure. Using this
DISCRETIZATION
The default discretization for Laminar Flow is P1+P1 elements — that is, piecewise
linear interpolation for velocity and pressure. This is suitable for most flow problems.
Some higher-order interpolations are also available, and they can be cost-effective
options to obtain high accuracy for flows with low Reynolds numbers.
The P2+P2 and P3+P3 options, the equal-order interpolation options, are the preferred
higher-order options because they have higher numerical accuracy than the
mixed-order options P2+P1 and P3+P2. The equal-order interpolation options do,
however, require streamline diffusion to be active.
In the COMSOL Multiphysics Reference Manual, see Table 2-4 for links to common
sections and Table 2-5 to common feature nodes. You can also search for information:
press F1 to open the Help window or Ctrl+F1 to open the Documentation window.
Fluid Properties
The Fluid Properties node adds the momentum and continuity equations solved by the
physics interface, except for volume forces, which are added by the Volume Force
feature. The node also provides an interface for defining the material properties of the
fluid.
Temperature
By default, the Temperature model input is set to Common model input, and the
temperature is controlled from Default Model Inputs under Global Definitions or by a
locally defined Model Input. If a Heat Transfer interface is included in the component,
it controls the temperature Common model input. Alternatively, the temperature field
can be selected from another physics interface. All physics interfaces have their own
tags (Name). For example, if a Heat Transfer in Fluids interface is included in the
component, the Temperature (ht) option is available for T.
You can also select User defined from the Temperature model input in order to manually
prescribe T.
Absolute Pressure
This input appears when a material requires the absolute pressure as a model input.
The absolute pressure is used to evaluate material properties, but it also relates to the
value of the calculated pressure field. There are generally two ways to calculate the
pressure when describing fluid flow: either to solve for the absolute pressure or for a
pressure (often denoted gauge pressure) that relates to the absolute pressure through
a reference pressure.
The choice of pressure variable depends on the system of equations being solved. For
example, in a unidirectional incompressible flow problem, the pressure drop over the
modeled domain is probably many orders of magnitude smaller than the atmospheric
pressure, which, when included, may reduce the stability and convergence properties
of the solver. In other cases, such as when the pressure is part of an expression for the
gas volume or the diffusion coefficients, it may be more convenient to solve for the
absolute pressure.
The default Absolute pressure pA is p pref, where p is the dependent pressure variable
from the Navier–Stokes or RANS equations, and pref is from the user input defined at
the physics interface level. When pref is nonzero, the physics interface solves for a
gauge pressure. If the pressure field instead is an absolute pressure field, pref should be
set to 0.
FLUID PROPERTIES
Density
The density can either be specified by a material, or by a User defined expression. The
density in a material can depend on temperature and pressure, and these dependencies
are automatically replaced by pref for weakly compressible flows and pref and Tref for
incompressible flows (as specified by the Compressibility setting at the physics interface
level). If density variations with respect to pressure are to be included in the
computations, Compressibility must be set to compressible. Any dependencies in the
density on quantities other than temperature and pressure must be consistent with the
Compressibility setting at the interface level.
Dynamic Viscosity
The Dynamic viscosity describes the relationship between the shear rate and the shear
stresses in a fluid. Intuitively, water and air have low viscosities, and substances often
described as thick (such as oil) have higher viscosities.
Volume Force
The Volume Force node specifies the volume force F on the right-hand side of the
momentum equation.
u T 2
+ u u = – pI + u + u – --- u I + F
t 3
If several volume-force nodes are added to the same domain, then the sum of all
contributions are added to the momentum equation.
Initial Values
The initial values serve as initial conditions for a transient simulation or as an initial
guess for a nonlinear solver in a stationary simulation. Note that for a transient
compressible-flow simulation employing a material for which the density depends on
INITIAL VALUES
Initial values or expressions should be specified for the Velocity field u and the Pressure
p.
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation (named
Compensate for hydrostatic pressure for compressible flows) checkbox is available and
selected by default. When it is selected, the hydrostatic pressure is automatically added
to the pressure entered in p user input.
Wall
The Wall node includes a set of boundary conditions describing fluid-flow conditions
at stationary, moving, and leaking walls. For turbulent flow, the description may
involve wall functions and asymptotic expressions for certain turbulence variables.
BOUNDARY CONDITION
Select a Boundary condition for the wall.
No Slip
No slip is the default boundary condition to model solid walls. A no-slip wall is a wall
where the fluid velocity relative to the wall velocity is zero. For a stationary wall that
means that u = 0.
The option for Porous treatment of no slip condition is available when Enable porous
media domains is activated in the Physical Model section in the settings for the main
physics interface node. It specifies how Wall boundaries and Interior Wall boundaries
adjacent to porous domains are treated. When Standard no slip formulation is chosen,
a common no slip condition is applied on all solid walls. When the default Porous slip
is chosen, a blending analytic expression is instead applied on the corresponding wall
boundaries adjacent to the porous medium domain. It results in a no slip condition in
case the porous length scale is fully resolved by the mesh and a slip condition in the
Slip
The Slip option prescribes a no-penetration condition, u·n . It is implicitly assumed
that there are no viscous effects at the slip wall and hence, no boundary layer develops.
From a modeling point of view, this can be a reasonable approximation if the main
effect of the wall is to prevent fluid from leaving the domain.
Leaking Wall
This boundary condition may be used to simulate a wall where fluid is leaking into or
leaving the domain with the velocity u = ul through a perforated wall. The
components of the Fluid velocity ul on the leaking wall should be specified.
Navier Slip
This boundary condition enforces no-penetration at the wall, u nwall0, and adds
a tangential stress
K nt = – --- u slip
where Knt Kn Kn nwallnwallKn Knwall, and K is the viscous stress tensor. is
a slip length, and uslip u u nwallnwall is the velocity tangential to the wall.
The Slip length setting is per default set to Factor of minimum element length. The slip
length is then defined as fhhmin, where hmin is the smallest element side and fh
is a user input. Select User defined from the Slip length selection list in order to manually
prescribe (SI unit: m).
In cases where the wall movement is nonzero, select the Account for the translational
wall velocity of the wall in the friction force checkbox to use
u ubnd u ubnd nwallnwall instead of uslip in the friction force.
The Navier slip option is not available when selecting a turbulence model.
The Translational velocity setting controls the translational wall velocity, utr. The list is
per default set to Automatic from frame. The physics automatically detects if the spatial
frame moves. This can for example happen if an ALE interface is present in the model
component. If there is no movement utr 0. If the frame moves, utr becomes equal
to the frame movement. utr is accounted for in the actual boundary condition
prescribed in the Boundary condition section.
Select Zero (Fixed wall) from Translational velocity selection list to prescribe utr 0.
Select Manual from Translational velocity selection list in order to manually prescribe
Velocity of moving wall, utr. This can for example be used to model an oscillating wall
where the magnitude of the oscillations are very small compared to the rest of the
model. Specifying translational velocity manually does not automatically cause the
associated wall to move. An additional Moving Mesh node needs to be added from
Definitions to physically track the wall movement in the spatial reference frame.
The Sliding wall option is appropriate if the wall behaves like a conveyor belt with the
surface sliding in a tangential direction. A velocity is prescribed at the wall and the
boundary itself does not have to actually move relative to the reference frame.
• For 3D components, values or expressions for the Velocity of sliding wall uw should
be specified. If the velocity vector entered is not in the plane of the wall, COMSOL
Multiphysics projects it onto the tangential direction. Its magnitude is adjusted to
be the same as the magnitude of the vector entered.
• For 2D components, the tangential direction is unambiguously defined by the
direction of the boundary. For this reason, the sliding wall boundary condition has
different definitions in different space dimensions. A single entry for the Velocity of
the tangentially moving wall Uw should be specified in 2D.
CONSTRAINT SETTINGS
This section is displayed by clicking the Show More Options button ( ) and selecting
Advanced Physics Options in the Show More Options dialog. The Constraints settings can
be set to Automatic, Pointwise constraints, Nitsche constraints, or Weak constraints.
Mixed constraints can be selected when imposing a no slip condition exactly.
• Apply reaction terms on can be set to Individual dependent variables (default) or All
physics (symmetric). This setting is not available when Nitsche constraints is selected.
• Select Elemental (default) or Nodal under Constraint method. This setting is not
available for Nitsche constraints or Weak constraints.
Inlet
This condition should be used on boundaries for which there is a net flow into the
domain. To obtain a numerically well-posed problem, it is advisable to also consider
the Outlet conditions when specifying an Inlet condition. For example, if the pressure
is specified at the outlet, the velocity may be specified at the inlet, and vice versa.
Specifying the velocity vector at both the inlet and the outlet may cause convergence
difficulties.
BOUNDARY CONDITION
The available Boundary condition options for an inlet are Velocity, Fully developed flow,
and Pressure. After selecting a Boundary Condition from the list, a section with the same
or a similar name displays underneath. For example, if Velocity is selected, a Velocity
section, where further settings are defined, is displayed.
VELOCITY
The Normal inflow velocity is specified as u = nU0, where n is the boundary normal
pointing out of the domain and U0 is the normal inflow speed.
The Velocity field option sets the velocity vector to u = u0. The components of the inlet
velocity vector u0 should be defined for this choice.
• For incompressible flow, the Pressure list has two options, Static and Total. For
weakly compressible and compressible flow, the static pressure should be specified
in the text field.
- If Pressure is Static, and the reference pressure pref, defined at the physics
interface level, is equal to , the value of the pressure p0, at the boundary, is the
absolute pressure. Otherwise, p0 is the relative pressure at the boundary.
- If Pressure is Total, the Average checkbox is available and cleared by default to
prescribe the total pressure pointwise. If it is selected, the averaged total pressure
is imposed in the weak forms instead.
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation
(named Compensate for hydrostatic pressure for incompressible flows) checkbox is
available and selected by default. When it is selected, the hydrostatic pressure is
automatically added to the pressure entered in p0 user input.
• The Suppress backflow option adjusts the inlet pressure locally in order to reduce the
amount of fluid exiting the domain through the boundary. If you clear the suppress
backflow option, the inlet boundary can become an outlet depending on the
pressure field in the rest of the domain.
• Flow direction controls in which direction the fluid enters the domain.
- For Normal flow, it prescribes zero tangential velocity component.
- For User defined, an Inflow velocity direction du (dimensionless) should be
specified. The magnitude of du does not matter, only the direction. du must
point into the domain.
MASS FLOW
The mass flow at an inlet can be specified by the Mass flow rate, the Pointwise mass flux,
the Standard flow rate, or the Standard flow rate (SCCM).
The Apply condition on each disjoint selection separately checkbox is selected per
default. When this setting is selected, the mass flow condition is applied separately on
each disjoint selection. If this option is not selected, the condition is applied over the
whole feature selection. The Apply condition on each disjoint selection separately should
be disabled only if the flow conditions are known to be identical on each disjoint
boundary.
For 2D components, the Channel thickness dbc is used to define the area across which
the mass flow occurs. This setting is not applied to the whole model. Line or surface
integrals of the mass flow over the boundary evaluated during postprocessing or used
in integration coupling operators do not include this scaling automatically. Such results
should be appropriately scaled when comparing them with the specified mass flow.
The standard density can be defined directly, or by specifying a standard pressure and
temperature, in which case the ideal gas law is assumed. The options in the
Standard flow rate defined by list are:
• Standard density, for which the Standard molar volume Vm should be specified.
• Standard pressure and temperature, for which the Standard pressure Pst and the
Standard temperature Tst should be defined.
For 2D components, the Channel thickness dbc is used to define the area across which
the mass flow occurs. This setting is not applied to the whole model. Line or surface
integrals of the mass flow over the boundary evaluated during postprocessing or used
in integration coupling operators do not include this scaling automatically. Such results
should be appropriately scaled when comparing them with the specified mass flow.
The Apply condition on each disjoint selection separately checkbox is selected per
default. When this setting is selected, the fully developed flow condition is applied
separately on each disjoint selection. If this option is not selected, the condition is
applied over the whole feature selection. The Apply condition on each disjoint selection
separately should be disabled only if the flow conditions are known to be identical on
each disjoint boundary.
The fully developed flow condition requires any volume force to be approximately
aligned with the normal of the inlet boundary. The exception is gravity when the
Include gravity setting is selected in the physics interface settings. Unless Use reduced
pressure is also selected, an option to Compensate for hydrostatic pressure or
Compensate for hydrostatic pressure approximation becomes available. It is selected per
default and should only be deselected if the inlet normal is aligned with the gravity
force and you want to specify an average pressure that includes the hydrostatic
pressure.
Outlet
This condition should be used on boundaries for which there is a net outflow from the
domain. To obtain a numerically well-posed problem, it is advisable to also consider
the Inlet conditions when specifying an Outlet condition. For example, if the velocity
is specified at the inlet, the pressure may be specified at the outlet, and vice versa.
Specifying the velocity vector at both the inlet and the outlet may cause convergence
difficulties. Selecting appropriate outlet conditions for the Navier–Stokes equations is
a nontrivial task. Generally, if there is something interesting happening at an outflow
boundary, the computational domain should be extended to include this
phenomenon.
BOUNDARY CONDITION
The available Boundary condition options for an outlet are Pressure, Velocity, Fully
developed flow, and Mass flow.
• For incompressible flow, the Pressure list has two options, Static and Total. For
weakly compressible and compressible flow, the static pressure should be specified
in the text field.
- If Pressure is Static, and the reference pressure pref, defined at the physics
interface level, is equal to , the value of the pressure p0, at the boundary, is the
absolute pressure. Otherwise, p0 is the relative pressure at the boundary.
- If Pressure is Total, the Average checkbox is available and selected by default to
prescribed the averaged total pressure in the weak forms. If it is cleared, the total
pressure is imposed pointwise.
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation (named
Compensate for hydrostatic pressure for incompressible flows) checkbox is available and
selected by default. When it is selected, the hydrostatic pressure is automatically added
to the pressure entered in p0 user input.
• The Normal flow option changes the no tangential stress condition to a no tangential
velocity condition. This forces the flow to exit (or enter) the domain perpendicularly
to the outlet boundary.
• The Suppress backflow checkbox is selected by default. This option adjusts the outlet
pressure in order to reduce the amount of fluid entering the domain through the
boundary.
VELOCITY
See the Inlet node Velocity section for the settings.
The channel can be thought of as a virtual extrusion of the outlet cross section. The
outlet boundary must hence be flat in order for the fully developed flow condition to
work properly. In 2D axisymmetric models, the outlet normal must be parallel to the
symmetry axis.
The Apply condition on each disjoint selection separately checkbox is selected per
default. When this setting is selected, the fully developed flow condition is applied
separately on each disjoint selection. If this option is not selected, the condition is
applied over the whole feature selection. The Apply condition on each disjoint selection
separately should be disabled only if the flow conditions are known to be identical on
each disjoint boundary.
The fully developed flow condition requires any volume force to be approximately
aligned with the normal of the outlet boundary. The exception is gravity when the
Include gravity setting is selected in the physics interface settings. Unless Use reduced
pressure is also selected, an option to Compensate for hydrostatic pressure or
Compensate for hydrostatic pressure approximation becomes available. It is selected per
default and should only be deselected if the outlet normal is aligned with the gravity
force and you want to specify an average pressure that includes the hydrostatic
pressure.
MASS FLOW
See the Inlet node Mass Flow section for the settings.
CONSTRAINT SETTINGS
This section is displayed by clicking the Show button ( ) and selecting Advanced
Physics Options.
u n = 0, – pI + u + u T – 2
--- u I n = 0
3
u n = 0, – pI + u + u T n = 0
for the compressible and incompressible formulations. The Dirichlet condition takes
precedence over the Neumann condition, and the above equations are equivalent to
the following equation for both the compressible and incompressible formulations:
u n = 0, K – K n n = 0
K = u + u T n
BOUNDARY SELECTION
For 2D axial symmetry, a boundary condition does not need to be defined for the
symmetry axis at r 0. The software automatically provides a condition that prescribes
ur 0 and vanishing stresses in the z direction and adds an Axial Symmetry node that
implements these conditions on the axial symmetry boundaries only.
CONSTRAINT SETTINGS
This section is displayed by clicking the Show button ( ) and selecting Advanced
Physics Options.
Open Boundary
The Open Boundary condition describes boundaries in contact with a large volume of
fluid. Fluid can both enter and leave the domain on boundaries with this type of
condition.
Normal Stress
The Normal stress f0 condition implicitly imposes p f0.
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation (named
Compensate for hydrostatic pressure for incompressible flows) checkbox is available and
selected by default. When it is selected, the hydrostatic pressure is automatically added
to the pressure entered in f0 user input.
No Viscous Stress
The No Viscous Stress condition specifies vanishing viscous stress on the boundary. This
condition does not provide sufficient information to fully specify the flow at the open
boundary and must at least be combined with pressure constraints at adjacent points.
u + u T – 2
--- u I n = 0
3
u + u T n = 0
for the compressible and the incompressible formulations. This condition can be useful
in some situations because it does not impose any constraint on the pressure. A typical
example is a model with volume forces that give rise to pressure gradients that are hard
to prescribe in advance. To make the model numerically stable, this boundary
condition should be combined with a point constraint on the pressure.
Boundary Stress
The Boundary Stress node adds a boundary condition that represents a general class of
conditions also known as traction boundary conditions.
BOUNDARY CONDITION
The Boundary condition options for the boundary stress are General stress, Normal
stress, and Normal stress, normal flow.
– pI + u + u T – 2
--- u I n = F
3
– pI + u + u T n = F
This boundary condition implicitly sets a constraint on the pressure that for 2D flows is
u n
p = 2 ---------- – n F (6-1)
n
Normal Stress
Normal Stress is described for the Open Boundary node.
n – pI + u + u T – --- u I n = – f 0 ,
T 2
tu = 0
3
T
n – pI + u + u T n = – f 0 , tu = 0
This boundary condition implicitly sets a constraint on the pressure that for 2D flows is
u n
p = 2 ---------- + f 0 (6-2)
n
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation (named
Compensate for hydrostatic pressure for incompressible flows) checkbox is available and
selected by default. When it is selected, the hydrostatic pressure is automatically added
CONSTRAINT SETTINGS
This section is displayed by clicking the Show button ( ) and selecting Advanced
Physics Options.
If Normal Stress, Normal Flow is selected as the Boundary condition, then to Apply
reaction terms on all dependent variables, the All physics (symmetric) option should be
selected. Alternatively, the Individual dependent variables could be selected to restrict
the reaction terms as needed.
If the boundaries are curved, the orientation of the source must be specified manually
(see Orientation of Source).
BOUNDARY SELECTION
The software usually automatically identifies the boundaries as either source boundaries or
destination boundaries, as indicated in the selection list. This works fine for cases like opposing
parallel boundaries. In other cases, right-click Periodic Flow Condition and select Manual Destination
Selection to control the destination. By default it contains the selection that COMSOL
Multiphysics identifies.
DESTINATION SELECTION
This section is available for specifying the destination boundaries, if needed, when the
Manual Destination Selection option is selected in the context menu for the Periodic Flow
FLOW CONDITION
This section is available when Incompressible flow is selected for Compressibility under
the Physical Model section for the physics interface.
The Flow Condition at the boundary is specified through a value or expression for either
ꞏ . The mass flow option ensures
the Pressure difference, psrc pdst, or the Mass flow, m
a pressure difference is achieved across the source and destination boundaries. This
pressure difference can, for example, drive the fully developed flow in a channel.
ORIENTATION OF SOURCE
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog. For information about the Orientation
of Source section, see Orientation of Source and Destination in the COMSOL
Multiphysics Reference Manual.
ORIENTATION OF DESTINATION
This section appears if the setting for Transform to intermediate map in the Orientation
of Source section is changed from the default value, Automatic, and Advanced Physics
Options is selected in the Show More Options dialog. For information about the
Orientation of Destination section, see Orientation of Source and Destination in the
COMSOL Multiphysics Reference Manual.
All three options give continuity of the velocity across the interface in constant-density
flows, while in case of a jump in density:
1 give continuity of the mass flux (product of density and normal velocity) and
tangential velocity;
2 account for the density-jump correction in the stress condition.
When Velocity and porosity-corrected stress with loss is chosen, a Pressure loss model
needs to be specified. The options are:
• User-defined loss coefficients (default). Enter values for Expansion loss coefficient and
Contraction loss coefficient;
• Borda–Carnot. Specify Vena contracta model.
Notice that the notions ‘expansion’ and ‘contraction’ used in this section correspond
not to geometrical changes, but to the variations of the microscopic structure across
the interface in the flow direction — increasing or decreasing porosity, p, respectively.
Flow Continuity
The Flow Continuity condition is suitable for pairs where the boundaries match; it
prescribes that the flow field is continuous across the pair.
About Pairs
PRESSURE CONSTRAINT
The relative pressure value is set by specifying the Pressure p0. If the reference pressure
pref defined at the physics interface level is equal to zero, p0 represents the absolute
pressure.
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation (named
Compensate for hydrostatic pressure for incompressible flows) checkbox is available and
selected by default. When it is selected, the hydrostatic pressure is automatically added
to the pressure entered in p0 user input.
CONSTRAINT SETTINGS
This section is displayed by clicking the Show button ( ) and selecting Advanced
Physics Options.
The Apply reaction terms on setting is set per default to Individual dependent variables.
All physics (symmetric) cannot be used together with a segregated solver when fluid
flow is coupled with Moving Mesh, Level Set, or Phase Field in Fluids.
The Point Mass Source feature models mass flow originating from an infinitely small
domain centered around a point.
For the Reacting Flow in Porous Media, Diluted Species interface, which is available
with the CFD Module, Chemical Reaction Engineering Module, or Battery Design
Module, there are two nodes: one for the fluid flow (Fluid Point Source) and one for
the species (Species Point Source).
SOURCE STRENGTH
The source Mass flux, qꞏ p should be specified. A positive value results in mass being
ejected from the point into the computational domain. A negative value results in mass
being removed from the computational domain.
The Line Mass Source feature models mass flow originating from a tube region with
infinitely small radius.
For the Reacting Flow in Porous Media, Diluted Species interface, which is available
with the CFD Module, Chemical Reaction Engineering Module, or Battery Design
Module, there are two nodes, one for the fluid flow (Fluid Line Source) and one for the
species (Species Line Source).
2D Points
2D Axisymmetry Points not on the axis of symmetry
3D Edges
SOURCE STRENGTH
The source Mass flux, qꞏ l , should be specified. A positive value results in mass being
ejected from the line into the computational domain and a negative value means that
mass is removed from the computational domain.
Line sources located on a boundary affect the adjacent computational domains. This,
for example, has the effect that a line source located on a symmetry plane has twice the
given strength.
Gravity
The Gravity global feature is automatically added when Include gravity is selected at the
interface level in the Physical Model settings. It defines the gravity forces from the
Acceleration of gravity value.
ACCELERATION OF GRAVITY
The Acceleration of gravity (SI unit m/s, default value gconstez in 2D axial symmetry
and 3D and gconstey in 2D) is used to define the gravity forces. It should be a global
quantity.
The main feature is the Porous Medium Properties node, which provides interfaces for
defining the fluid material and the porous matrix properties.
When this physics interface is added, the following default nodes are also added in the
Model Builder — Porous Medium, No Flow (the default boundary condition), and Initial
Values. Then, from the Physics toolbar, add other nodes that implement, for example,
boundary conditions and mass sources. You can also right-click Darcy’s Law to select
physics features from the context menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is dl.
PHYSICAL MODEL
Enter a Reference pressure level pref (SI unit: Pa). The default value is 1[atm].
GRAVITY EFFECTS
By default there are no gravity effects added to Darcy’s Law interface. Select the
checkbox Include gravity to activate the acceleration of gravity. When this checkbox is
selected, a global Gravity feature node is shown in the interface model tree.
DISCRETIZATION
To display all settings available in this section, click the Show More Options button ( )
and select Advanced Physics Options in the Show More Options dialog.
You can choose the order of the shape functions used for the pressure variable solved
by the Darcy’s Law interface. The default shape functions are Quadratic Lagrange.
The Compute boundary fluxes checkbox is not activated by default. When this option is
selected, the solver computes variables storing accurate boundary fluxes from each
boundary into the adjacent domain.
If the checkbox is cleared, the COMSOL Multiphysics software instead computes the
flux variables from the dependent variables using extrapolation, which is less accurate
in postprocessing results but does not create extra dependent variables on the
boundaries for the fluxes.
Also, the Apply smoothing to boundary fluxes checkbox is available if the previous
checkbox is checked. The smoothing can provide a better behaved flux value close to
singularities.
For details about the boundary fluxes settings, see Computing Accurate Fluxes in the
COMSOL Multiphysics Reference Manual.
The Value type when using splitting of complex variables setting should in most pure
mass transport problems be set to Real which is the default. It makes sure that the
dependent variable does not get affected by small imaginary contributions, which can
occur, for example, when combining a Time Dependent or Stationary study with a
frequency-domain study. For more information, see Splitting Complex-Valued
Variables in the COMSOL Multiphysics Reference Manual.
• Domain, Boundary, Edge, Point, and Pair Nodes for the Darcy’s Law
Interface
• Theory for the Darcy’s Law Interface
• Physical Constants in the COMSOL Multiphysics Reference Manual
Domain, Boundary, Edge, Point, and Pair Nodes for the Darcy’s Law
Interface
The Darcy’s Law Interface has the following domain, boundary, edge, point, and pair
nodes, these nodes are available from the Physics ribbon toolbar (Windows users),
Physics context menu (Mac or Linux users), or right-click to access the context menu
(all users).
• Atmosphere/Gauge • Outlet
• Electrode Surface Coupling • Pervious Layer
• Flux Discontinuity • Point Mass Source
• Fracture • Precipitation
• Hydraulic Head • Pressure
• Inlet • Pressure Head
• Interior Wall • Reaction Coefficients1
• Line Mass Source • Symmetry
• Mass Flux • Thin Barrier
• No Flow
1
This node is described for the Transport of Diluted Species Interface
n 1 u1 –2 u2 = 0
The continuity boundary condition ensures that the pressure and mass flux are
continuous. In addition, the Pressure boundary condition is available on interior
boundaries.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Porous Medium
The Porous Medium node adds the equations for modeling flow through porous
domains. By default these are Equation 6-3 and Equation 6-4 (excluding any mass
sources).
+ u = Q
(6-3)
t p m
For a steady-state problem the first term in Equation 6-3 disappears. When Mass
Source is active Equation 6-4 is of the following form:
u = – --- p – g (6-5)
The Porous Medium feature has two default subfeatures — the Fluid subfeature where
the fluid density (SI unit: kg/m3) and dynamic viscosity (SI unit: Pa·s) are defined
and the Porous Matrix subfeature where the permeability (SI unit: m2) and porosity
p (dimensionless) are specified.
The subnodes inherit these coordinate system settings. In particular, the Permeability
or Hydraulic conductivity (in the Porous Matrix subnode) should be set according to
the coordinate system selected in this section.
FLOW MODEL
Define if the flow follows a linear or nonlinear pressure-velocity relationship.
• Darcian flow (default) defines a linear relationship using Equation 6-3 and
Equation 6-4.
• Non-Darcian flow defines a nonlinear relationship using Equation 6-3 and
p = – --- u – u u
where the nonlinear parameter (SI unit: 1/m) is further specified in the Porous
Matrix subfeature.
STORAGE MODEL
Define the time dependent storage term by selecting one of the following options from
the list:
• From density and porosity (default), uses the formulation of Equation 6-3
Note that some options are only available in some modules. For a detailed
overview of the functionality available in each product, visit https://
[Link]/products/specifications/
Context Menus
Darcy’s Law > Porous Medium
Richards’ Equation > Porous Medium
Ribbon
Physics tab with interface as Darcy’s Law or Richards’ Equation selected:
Fluid
This node defines the material properties of the fluid of the Porous Medium, the
Unsaturated Porous Medium, the Dual Porosity Medium, the Dual Permeability
Medium, or the Unsaturated Porous Medium parent node.
MODEL INPUT
This section contains fields and values that are inputs for expressions defining material
properties. If such user-defined property groups are added, the model inputs appear
here.
Incompressible
The default Reference density ref uses values From material. For User defined enter
another value or expression.
Compressible
The default Density uses values From material. For User defined enter another value or
expression as a function of the absolute pressure. The compressibility of the fluid is
computed from it.
Compressible, Linearized
The default Reference density ref and the Fluid compressibility fuse values From
material. For User defined enter another value or expression. The fluid density increases
linearly as a function of the fluid pressure.
Ideal Gas
For Ideal gas it uses the ideal gas law to describe the gas density. In this case, specify
the thermodynamics properties. Select a Gas constant type — Specific gas constant Rs
(the default) or Mean molar mass Mn (SI unit: J/(mol·K)). For Mean molar mass the
universal gas constant R 8.314 J/(mol·K) is used as the built-in physical constant.
For both properties, the defaults use values From material. For User defined enter
another value or expression.
Dynamic Viscosity
For all fluid types specify the Dynamic viscosity (SI unit: Pa·s) uses values From
material. For User defined enter another value or expression.
Constitutive Relation
The Polymer Flow Module allows the use of inelastic non-Newtonian models. For
Darcian Flow, you can choose between two options: Specify dynamic viscosity (default)
or Inelastic non-Newtonian. Use the default option to either get the dynamic viscosity
from a material, or to add a user defined expression. The default option lets you either
use the dynamic viscosity from a material or define it with a custom expression. The
Inelastic non-Newtonian option provides several models and defines the Apparent shear
rate.
• Power Law
• Carreau
• Carreau-Yasuda
• Cross
• Cross-Williamson
• Sisko
The setup of these models in porous media is similar to their definition under the Fluid
Properties feature.
Context Menus
Darcy’s Law > porous medium feature > Fluid
Richards’ Equation > porous medium feature > Fluid
Porous Matrix
This node defines the porosity and material properties of the solid matrix of the Porous
Medium or Unsaturated Porous Medium parent node.
MATRIX PROPERTIES
The default Porosity p of the solid matrix is taken From material. In a Porous Material
node, the porosity is defined as follows:
p = 1 – si – imfi
i i
where si and imfi are the porosities of the Solid and Immobile Fluids subnodes under
the Porous Material node. See Porous Material in the COMSOL Multiphysics
Reference Manual for more information.
If required by a Storage model in the parent node, specify the Effective compressibility
of the porous matrix. The default value is p 104 1/Pa.
Select a Permeability model to specify the capacity of the porous material to transmit
flow. Which options are available depends on the Flow model setting in the parent node.
Note that for the Unsaturated Porous Medium parent node only the Darcian Flow
models are available.
Darcian Flow
If Darcian flow is selected in the parent Porous medium node, select between the
following options for the Permeability model:
• Select Permeability (default) to define the permeability of the porous matrix. The
default Permeability (SI unit: m2) uses the value From material, as defined by the
Porous material. For User defined select Isotropic to define a scalar value or Diagonal
or Symmetric to define a tensor value.
• Select Hydraulic conductivity or define a combination of fluid permeability and
dynamic viscosity. For Hydraulic conductivity K (SI unit: m/s) select Isotropic to
define a scalar value or Diagonal or Symmetric to define a tensor value. The default is
2.94·104 m/s.
• Select Kozeny-Carman to define the permeability from the porosity and mean particle
diameter. Enter the mean Particle diameter dp (SI unit: m), the default value is
0.5 mm.
• For Forchheimer, the default Permeability (SI unit: m2) uses the value From
material. Furthermore, the dimensionless Forchheimer parameter cF can be defined.
The default value is 0.55.
• If Ergun is selected, enter the mean Particle diameter dp (default value: 0.5 mm).
• For Burke–Plummer, specify the mean Particle diameter dp (default value: 0.5 mm).
• For Klinkenberg, the default Permeability (SI unit: m2) uses the value From
material. Enter the Klinkenberg parameter bK. Its default value is 103 Pa.
Note that some options are only available in some modules. For a detailed
overview of the functionality available in each product, visit https://
[Link]/products/specifications/
RETENTION MODEL
For an Unsaturated Porous Medium select between the following options for the
retention model:
• van Genuchten, to specify the retention model using the van Genuchten relationship.
Enter the constitutive relation constants (the default value is 1, and the SI unit is
1/m), n (default value is 2), and l (default value is 0.5). The constitutive parameter
m is equal to 1 1n.
• Brooks and Corey to use the retention model according to the Brooks and Corey
relationships.
• User defined to use a different retention model. Enter user defined expressions for
the Effective saturation Se, the Liquid volume fraction l. The default is p (the
porosity variable). Specify the Specific moisture capacity Cm (SI unit: 1/m). The
default value is 0 (1/m). Enter an expression for the Relative permeability r. The
default value is 1.
Context Menus
Darcy’s Law > porous medium feature > Fluid
Richards’ Equation > porous medium feature > Fluid
Cm p r
- + S e S p ------ + – -------- p + g D = Q m
------- (6-6)
g t
The Unsaturated Porous Medium feature has two default subfeatures: the Fluid
subfeature, where the fluid density (SI unit: kg/m3) and viscosity (SI unit: Pa·s)
are defined, and the Porous Matrix subfeature, where the permeability (SI unit: m2)
and porosity p (dimensionless) are specified as well as the retention model.
The subnodes inherit these coordinate system settings. In particular, the Permeability
or Hydraulic conductivity (in the Porous Matrix subnode) should be set according to
the coordinate system selected in this section.
If From retention model is chosen, the first term of Equation 6-6 accounts only for the
specific moisture capacity Cm which is defined by the Retention Model in the Porous
Matrix subnode:
C m p
-------- .
g t
For the option Linearized storage the storage coefficient Sp in Equation 6-6 is defined
as
S p = p f + 1 – p p .
From liquid content enforces the first term of Equation 6-6 to be defined in terms of
liquid volume fraction as
l
----------------
t
and the User defined option allows to define the storage coefficient Sp in Equation 6-6
directly.
Note that some options are only available in some modules. For a detailed
overview of the functionality available in each product, visit https://
[Link]/products/specifications/
Context Menus
Darcy’s Law > Unsaturated Porous Medium
Richards’ Equation > Unsaturated Porous Medium
The feature has three default subfeatures —the Fluid subfeature where the fluid density
(SI unit: kg/m3) and dynamic viscosity (SI unit: Pa·s) are defined, the Macropores
subfeature where the hydraulic properties of the macroporous matrix are defined, and
the Micropores where the hydraulic properties of the microporous matrix are defined.
The subnodes inherit these coordinate system settings. In particular, the Permeability
or Hydraulic conductivity (in the Macropores and Micropores subnodes) should be set
according to the coordinate system selected in this section.
STORAGE MODEL
Choose from a list one of the following formulations:
• From density and porosity (default), uses the formulation equivalent to Equation 6-3
• Linearized storage, where the following linear equation is used to define the storage
in the macropores as Sp pf 1 pp and in the micropores as
Sp,m p,mf 1 p,mp.
• Poroelastic storage, where Sp = pf in the macropores and Sp,m = p,mf in the
micropores.
INTERPOROSITY FLOW
Specify the Fluid Transfer Function w which is used to calculate the interporosity flow,
the mass exchange between macro- and microscale system:
Q ip = w p M – p m (6-7)
with pM being the pressure within the macropores and pm the pressure within the
micropores.
Note that some options are only available in some modules. For a detailed
overview of the functionality available in each product, visit https://
[Link]/products/specifications/
Context Menus
Darcy’s Law > Dual Porosity/Permeability > Dual Porosity Medium
Richards’ Equation > Dual Porosity/Permeability > Dual Porosity Medium
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
The feature has three default subfeatures —the Fluid subfeature where the fluid density
(SI unit: kg/m3) and dynamic viscosity (SI unit: Pa·s) are defined, the Macropores
subfeature where the hydraulic properties of the macroporous matrix are defined, and
the Micropores where the hydraulic properties of the microporous matrix are defined.
The subnodes inherit these coordinate system settings. In particular, the Permeability
or Hydraulic conductivity (in the Macropores and Micropores subnodes) should be set
according to the coordinate system selected in this section.
STORAGE MODEL
With this option under the Porous Medium section, Equation 6-3 is formulated with
respect to a storage term (analogous to Equation 4-4). Therefore, choose from a list
one of the following formulations:
• From density and porosity (default), uses the formulation of Equation 4-4
• Linearized storage, where the following linear equation is used to define the storage:
S p,i = p,i f + 1 – p,i p,i
with i=M for the macropores and i=m for the micropores.
Q ip = w p M – p m (6-8)
with pM being the pressure in the macropores and pm the pressure in the micropores.
Note that some options are only available in some modules. For a detailed
overview of the functionality available in each product, visit https://
[Link]/products/specifications/
Context Menus
Darcy’s Law > Dual Porosity/Permeability > Dual Permeability Medium
Richards’ Equation > Dual Porosity/Permeability > Dual Permeability Medium
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
C m,M p M
M S e,M S p,M + -------------
- ----------- + u M = – Q ip + M Q m
g t
C m,m p m (6-9)
1 – M S e,m S p,m + ------------
- ---------- + u m = Q ip + 1 – M Q m
g t
p = M p M + 1 – M p m
The feature has three default subfeatures —the Fluid subfeature where the fluid density
(SI unit: kg/m3) and dynamic viscosity (SI unit: Pa·s) are defined, the Macropores
subfeature where the hydraulic properties of the macroporous matrix are defined, and
the Micropores where the hydraulic properties of the microporous matrix are defined.
The subnodes inherit these coordinate system settings. In particular, the Permeability
or Hydraulic conductivity (in the Macropores and Micropores subnodes) should be set
according to the coordinate system selected in this section.
STORAGE MODEL
With this option, define the first term in Equation 6-9. Therefore, choose from a list
one of the following formulations:
If From retention model is chosen, the first term of Equation 6-9 accounts only for the
specific moisture capacity Cm,i which is defined by the Retention Model in the
Macropores (i=M) or Micropores (i=m) subnode:
C m i p
----------- .
g t
For the option Linearized storage the storage coefficient Sp,i in Equation 6-9 is defined
as
l,i
------------------
t
• and the User defined option allows to define the storage coefficient Sp,i in
Equation 6-9 directly.
INTERPOROSITY FLOW
Specify the Fluid Transfer Function w which is used to calculate the interporosity flow,
which is the mass exchange between macro- and microscale system:
Q ip = w p M – p m (6-10)
with pM being the pressure within the macroscale system and pm the pressure within
the microscale system.
Context Menus
Darcy’s Law > Dual Porosity/Permeability > Unsaturated Dual Permeability Medium
Richards’ Equation > Dual Porosity/Permeability > Unsaturated Dual Permeability Medium
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
Macropores
This node defines the porosity and material properties of the macroporous matrix of
the Dual Porosity Medium, the Dual Permeability Medium, or the Unsaturated Dual
Permeability Medium parent node.
VOLUME FRACTION
Here enter the Volume Fraction of Macropores, M.
MATRIX PROPERTIES
The default Porosity p,M of the solid matrix of the macropore system is taken From
material. Select User defined to enter a value or expression for p,M.
If required by a Storage model in the parent node, specify the Effective compressibility
of the porous matrix of the macropore system. The default value is p,M 104 1/Pa.
Select a Permeability model to specify the capacity of the porous material to transmit
flow. For the macropore settings only the Darcian Flow models are available. Select
between the following options for the Permeability model:
• Select Permeability (default) to define the permeability of the porous matrix. The
default Permeability M (SI unit: m2) uses the value From material, as defined by the
Porous material. For User defined select Isotropic to define a scalar value or Diagonal
or Symmetric to define a tensor value.
• Select Hydraulic conductivity or define a combination of fluid permeability and
dynamic viscosity. For Hydraulic conductivity KM (SI unit: m/s) select Isotropic to
define a scalar value or Diagonal or Symmetric to define a tensor value. The default is
2.94·104 m/s.
• Select Kozeny-Carman to define the permeability from the porosity and mean particle
diameter. Enter the mean Particle diameter dp,M (SI unit: m), the default value is
0.5 mm.
RETENTION MODEL
For an Unsaturated Dual Permeability Medium select between the following options
for the retention model:
• van Genuchten, to specify the retention model using the van Genuchten relationship.
Enter the constitutive relation constants (the default value is 1, and the SI unit is
1/m), n (default value is 2), and l (default value is 0.5). The constitutive parameter
m is equal to 1 1n.
If there is a residual volume of liquid that cannot move through the pore network, also
enter a value between 0 and 1 for the Residual liquid volume fraction r. The default
value is 0.
Context Menus
Darcy’s Law > porous medium feature > Macropores
Richards’ Equation > porous medium feature > Macropores
Micropores
This node defines the porosity and material properties of the microporous matrix of
the Dual Porosity Medium, Dual Permeability Medium, or the Unsaturated Dual
Permeability Medium parent node.
MODEL INPUT
This section is only available for the Unsaturated Dual Permeability Medium parent
node and contains fields and values that are inputs for expressions defining material
properties. If such user-defined property groups are added, the model inputs appear
here.
MATRIX PROPERTIES
The default Porosity p,m of the solid matrix of the micropore system is taken From
material. Select User defined to enter a value or expression for p,m.
Select a Permeability model to specify the capacity to transmit flow for the porous
material of the microscale system. Here, only the Darcian Flow models are available.
Select between the following options for the Permeability model:
• Select Permeability (default) to define the permeability of the porous matrix. The
default Permeability m (SI unit: m2) uses the value From material, as defined by the
Porous material. For User defined select Isotropic to define a scalar value or Diagonal
or Symmetric to define a tensor value.
• Select Hydraulic conductivity or define a combination of fluid permeability and
dynamic viscosity. For Hydraulic conductivity Km (SI unit: m/s) select Isotropic to
define a scalar value or Diagonal or Symmetric to define a tensor value. The default is
2.94·104 m/s.
• Select Kozeny-Carman to define the permeability from the porosity and mean particle
diameter. Enter the mean Particle diameter dp,m (SI unit: m), the default value is
0.5 mm.
RETENTION MODEL
For an Unsaturated Dual Permeability Medium select between the following options
for the retention model:
• From macropores to take over the retention model settings from the Macropores
node.
• van Genuchten, to specify the retention model using the van Genuchten relationship.
Enter the constitutive relation constants (the default value is 1, and the SI unit is
1/m), n (default value is 2), and l (default value is 0.5). The constitutive parameter
m is equal to 1 1n.
• Brooks and Corey to use the retention model according to the Brooks and Corey
relationships.
• User defined to use a different retention model. Enter user defined expressions for
the Effective saturation Se,m, the Liquid volume fraction l,m. The default is p,m (the
porosity variable). Specify the Specific moisture capacity Cm,m (SI unit: 1/m). The
default value is 0 (1/m). Enter an expression for the Relative permeability r,m. The
default value is 1.
INITIAL VALUES
Define the initial pressure of the microscale system. The default is to use the initial
values defined in the Initial Values feature node which means that the same initial
values apply to the macroscale and the microscale system.
Select User Defined to specify an initial pressure for the microscale system pm0,init.
Note that some options are only available in some modules. For a detailed
overview of the functionality available in each product, visit https://
[Link]/products/specifications/
Context Menus
Darcy’s Law > porous medium feature > Micropores
Richards’ Equation > porous medium feature > Micropores
Mass Source
The Mass Source node adds a mass source Qm, which appears on the right-hand side of
the Darcy’s Law equation (Equation 6-3).
+ u = Q
(6-11)
t m
For the Fracture Flow interface, the mass source is applicable to the right-hand side of
Equation 4-40 in the Subsurface Flow Module User’s Guide (where it is multiplied
with the fracture thickness).
Context Menus
Darcy’s Law > Mass Source
Richards’ Equation > Mass Source
Ribbon
Physics tab with interface as Darcy’s Law or Richards’ Equation selected:
Contributing Velocity
The Contributing Velocity node adds a velocity contribution uctrb to the velocity field
ud that is computed from the flow model selected in the parent Porous Medium,
Unsaturated Porous Medium, or Dual Porosity Medium feature. The total velocity
field used in the continuity equation is therefore
u = u d + u ctrb (6-12)
Such velocity contributions can arise in multiphysics models that involve, for example,
transport of solutes. If several Contributing Velocity nodes are added under the same
parent feature, the contributions are treated additively. The sum of all contributing
velocity fields is available in the variables [Link] (material frame) and
[Link] (spatial frame), with name being the Name of the physics interface (for
example, dl).
ADVANCED
Select the Frame in which the contributing velocity field is specified. The default is the
Reference configuration, which means that the velocity field follows the material under,
for example, a rotation of the domain. If instead your contributing velocity field
follows a fixed direction in space, select the Deformed configuration. This section is only
displayed if Advanced Physics Options is activated and the spatial and material frame of
the component differ, such as in the presence of a Moving Mesh or Solid Mechanics
interface.
Context Menus
If the selected porous medium feature is Porous Medium, Unsaturated Porous
Medium, or Dual Porosity Medium:
Ribbon
Physics tab with Porous Medium, Unsaturated Porous Medium, or Dual Porosity Medium
selected:
Initial Values
The Initial Values node adds an initial value for the pressure that can serve as an initial
condition for a transient simulation or as an initial guess for a nonlinear solver.
If you have the Subsurface Flow Module licensed, you can specify the pressure either
directly or as an expression for the pressure head, Hp, or the hydraulic head, H; the
hydraulic head and the pressure head relate to the pressure p as
p;
H p = ------ H = Hp + D
g
INITIAL VALUES
Enter a value or expression for the initial value of the Pressure p (SI unit: Pa). The
default value is 0 Pa.
In case the Subsurface Flow Module is available, click the Pressure head button to enter
a value or expression for Hp (SI unit: m). The default is 0 m. Click the Hydraulic head
button to enter a value or expression for H (SI unit: m). The default is 0 m.
Context Menus
Darcy’s Law > Initial Values
Richards’ Equation > Initial Values
Ribbon
Physics tab with interface as Darcy’s Law or Richards’ Equation selected:
Gravity
The Gravity node is automatically added when Include gravity is selected at interface
level in the Darcy’s Law settings and it is active in all domains in which the Darcy’s Law
interface is applied.
GRAVITY
Specify either the acceleration vector or — in case you have a Subsurface Flow Module
license — the elevation.
When Elevation is selected from the list, specify the Elevation D (SI unit: m). The
Acceleration of gravity is taken From physics interface by default but could be overridden
when User defined is selected.
When the checkbox Include gravity is not selected in the Darcy’s Law interface Settings,
the elevation D is set equal to zero.
Select the checkbox Specify reference position to define a reference position for the
gravity calculation.
Context Menus
Darcy’s Law > Gravity
Richards’ Equation > Gravity
Cross Section
Use this node with 1D components to model domains with another cross-sectional
area than the global one that is used in the interface Physical Model section. In 1D
geometries, the pressure is assumed to be constant in the radial direction, and Darcy’s
Law accounts for that.
CROSS SECTION
Enter values for the Cross-sectional area Ac to set the cross section of the domain in the
plane perpendicular to the 1D geometry.
Context Menus
Darcy’s Law > Cross Section
Richards’ Equation > Cross Section
Thickness
Use this node with 2D and 1D axisymmetric components to model domains with
another thickness than the overall thickness that is specified in the interface Physical
Model section. In 2D geometries, the pressure is assumed to be constant in the
out-of-plane direction (the z direction with default spatial coordinate names). In 1D
axisymmetric geometries the thickness represents the z direction.
THICKNESS
Specify a value for the Thickness dz of the domain in the out-of-plane direction. This
value replaces the overall thickness in the domains that are selected in the Domain
Selection section, and is used to multiply some terms into the heat equation.
Context Menus
Darcy’s Law > Thickness
Richards’ Equation > Thickness
Ribbon
Physics tab with interface as Darcy’s Law or Richards’ Equation selected:
The source (or sink) is proportional to the Molar mass (kg/mol) of the reacting species,
the current densities and the stoichiometric coefficients according to Faraday’s law as
defined by summation over the Reaction Coefficient subnodes.
The setting in the table will determine the number of available fields for entering the
stoichiometric coefficients of the Reaction Coefficient subnodes.
Context Menus
Darcy’s Law > Porous Electrode Coupling
Richards’ Equation > Porous Electrode Coupling
Ribbon
Physics tab with interface as Darcy’s Law or Richards’ Equation selected:
The flow is proportional to the Molar mass (kg/mol) of the reacting species, the current
densities and the stoichiometric coefficients according to Faraday’s law as defined by
summation over the Reaction Coefficient subnodes.
SPECIES
Based on the number of species required for the model, use the Add ( ) and
Delete ) buttons under the table to add or remove Species. Then enter a value for
the Molar mass (kg/mol) in the applicable rows for each species.
The setting in the table will determine the number of available field for entering the
stoichiometric coefficients of the Reaction Coefficient subnodes.
Context Menus
Darcy’s Law > Electrode Surface Coupling
Richards’ Equation > Electrode Surface Coupling
Pressure
Use the Pressure node to specify the pressure on a boundary. In many cases the
distribution of pressure is known, giving a Dirichlet condition p = p0 where p0 is a
known pressure given as a number, a distribution, or an expression involving time, t,
for example.
PAIR SELECTION
If this node is selected from the Pairs menu, choose the pair to apply this condition to.
A pair must be created first. See Identity, Contact, and Sector Symmetry Pairs in the
COMSOL Multiphysics Reference Manual for more details.
PRESSURE
Enter a value or expression for the Pressure p0 (SI unit: Pa). Enter a relative pressure
value in p0 (SI unit: Pa).
For the Subsurface Flow Module, the Pressure node provides the pressure P0 as a
condition on edges in 3D models. Then select the edges under Edge Selection.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
Context Menus
Darcy’s Law > Pressure
Richards’ Equation > Pressure
Ribbon
Physics tab with interface as Darcy’s Law or Richards’ Equation selected:
Mass Flux
Use the Mass Flux node to specify the mass flux into or out of the model domain
through some of its boundaries. It is often possible to determine the mass flux from
the pumping rate or from measurements. With this boundary condition, positive
values correspond to flow into the model domain:
n --- p + g D = N 0
where N0 is a value or expression for the specified inward (or outward) Darcy flux. D
is the elevation head which is set to zero for other than Subsurface Flow Module
applications.
MASS FLUX
Enter a value or expression for the Inward mass flux N0. A positive value of N0
represents an inward mass flux whereas a negative value represents an outward mass
flux. The units are based on the geometric entity: Boundaries: (SI unit: kg/(m2·s)).
Context Menus
Darcy’s Law > Mass Flux
Richards’ Equation > Mass Flux
Ribbon
Physics tab with interface as Darcy’s Law or Richards’ Equation selected:
SELECTION
The Line Mass Source feature is available for all dimensions, but the applicable selection
differs between the dimensions.
2D Points
2D Axisymmetry Points not on the symmetry axis
3D Edges
Line sources located on a boundary affect the adjacent computational domains. This
effect makes the physical strength of a line source located in a symmetry plane twice
the given strength.
Fracture Flow
The equivalent feature available for fracture flow is the Mass Source attribute of the
Fracture boundary condition and the Mass Source point feature of the Fracture Flow
Interface, both available in 3D only.
Context Menus
Darcy’s Law > geometrical entity > Line Mass Source
Richards’ Equation > geometrical entity > Line Mass Source
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
Context Menus
Darcy’s Law > Points > Point Mass Source
Richards’ Equation > Points > Point Mass Source
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
Inlet
The Inlet node adds a boundary condition for the inflow (or outflow) perpendicular
(normal) to the boundary. It has three options that can be used to specify inlet
condition on a boundary, as follows:
VELOCITY
Enter a value or expression for the Normal inflow velocity U0 (SI unit: m/s). A positive
value of U0 represents an inflow velocity. A negative value represents an outflow
velocity. The inlet velocity boundary condition is implemented as;
n --- p + g D = U 0
where U0 is a value or expression for the specified inward (or outward) Darcy velocity.
A positive value of the velocity U0 corresponds to flow into the model domain whereas
PRESSURE
Use the Pressure option to specify the inlet pressure on a boundary. In many cases the
distribution of pressure is known, giving a Dirichlet condition p = p0 where p0 is a
known pressure given as a number, a distribution, or an expression involving time, t,
for example. Enter a value or expression for the Pressure p0 (SI unit: Pa).
MASS FLOW
If you select Mass flow as the inlet condition, specify the total Mass flow rate M0 (SI
unit: kg/s), or the Pointwise mass flux N0 (SI unit: kg/(m2·s)).
With Mass flow rate boundary condition, positive values correspond to flow into the
model domain:
– u n dS = M0
where M0 is a value or expression for the specified inward (or outward) Darcy flux.
Pointwise mass flux boundary condition, positive values correspond to flow into the
model domain:
n --- p + g D = N 0
where N0 is a value or expression for the specified inward (or outward) Darcy flux.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
Context Menus
Darcy’s Law > Inlet
Richards’ Equation > Inlet
Ribbon
Physics tab with interface as Darcy’s Law or Richards’ Equation selected:
n --- p = 0
n --- p + g D = 0
Context Menus
Darcy’s Law > Symmetry
Richards’ Equation > Symmetry
Ribbon
Physics tab with interface as Darcy’s Law or Richards’ Equation selected:
No Flow
The No Flow node is the default boundary condition stating that there is no flow across
impermeable boundaries. The mathematical formulation is:
n --- p + g D = 0
where n is the vector normal to the boundary. D is the elevation head which is set to
zero for any other than Subsurface Flow Module applications.
Context Menus
Darcy’s Law > No Flow
Richards’ Equation > No Flow
Flux Discontinuity
Use the Flux Discontinuity node to specify a mass flux discontinuity through an interior
boundary. The condition is represented by the following equation:
– n u 1 – u 2 = N 0
u = – --- p (6-13)
MASS FLUX
Enter a value or expression for the Inward mass flux N0 (SI unit: kg/(m2·s)). A positive
value of N0 represents a mass flux discontinuity in the opposite direction to the normal
vector of the interior boundary.
Context Menus
Darcy’s Law > Interior Surfaces > Flux Discontinuity
Richards’ Equation > Interior Surfaces > Flux Discontinuity
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
VELOCITY
Enter a value or expression for the Normal outflow velocity U0 (SI unit: m/s). A positive
value of U0 represents an outflow velocity whereas a negative value represents an
inflow velocity.
– n --- p = U 0
where U0 is a specified value or expression for the outward (or inward) Darcy velocity.
PRESSURE
Similar to the inlet Pressure option, the outlet pressure on a boundary can be specified.
Enter a value or expression for the Pressure p0 (SI unit: Pa).
DISCHARGE
Enter a value or expression for the discharge QD to specify the volumetric flow rate
through the boundary. The mass flux u is related to the discharge as follows:
u ds = QD . (6-14)
The mean normal outflow velocity at the boundary can then be calculated as Uout =
QD/A, where A is the cross sectional area of the boundary.
Context Menus
Darcy’s Law > Outlet
Richards’ Equation > Outlet
Ribbon
Physics tab with interface as Darcy’s Law or Richards’ Equation selected:
Enter a value or expression for the Precipitation rate which then contributes to the mass
flux at the selected boundaries.
Select the Slope correction checkbox to apply a correction that depends on the normal
to the boundary and the vertical axis. This is needed when the boundary is inclined.
Context Menus
Darcy’s Law > Hydraulics > Precipitation
Richards’ Equation > Hydraulics > Precipitation
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
Interior Wall
The Interior Wall boundary condition can only be applied on interior boundaries. It is
similar to the No Flux boundary available on exterior boundaries except that it applies
on both sides of an interior boundary. It allows discontinuities of velocity and pressure
across the boundary. The Interior Wall boundary condition can be used to avoid
meshing thin structures by applying no-flux condition on interior curves and surfaces
instead.
Context Menus
Darcy’s Law > Interior Surfaces > Interior Wall
Richards’ Equation > Interior Surfaces > Interior Wall
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
WALL
Enter a value or expression for the Thickness db (SI unit: m, the default is 0.1 m) and
for the Permeability b (SI unit: m2). The default Permeability b uses the value From
material. For User defined select Isotropic to define a scalar value or Diagonal, Symmetric,
or Full to define a tensor value and enter another value or expression in the field or
matrix.
Context Menus
Darcy’s Law > Interior Surfaces > Thin Barrier
Richards’ Equation > Interior Surfaces > Thin Barrier
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
Pressure Head
Use the Pressure Head node to specify the pressure head (instead of the pressure) on a
boundary. It adds this boundary condition for the pressure head Hp Hp0, where Hp0
is a known pressure head given as a number, a distribution, or an expression involving
time, t, for example. The dimension of the pressure head is length (SI unit: m).
PRESSURE HEAD
Enter a value or expression for the Pressure head Hp0 (SI unit: m). The default is 0 m.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
Context Menus
Darcy’s Law > Hydraulics > Pressure Head
Richards’ Equation > Hydraulics > Pressure Head
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
Hydraulic Head
Use the Hydraulic Head node to specify the hydraulic head (instead of the pressure) on
a boundary. This adds the Dirichlet condition for the hydraulic head H H0 where H0
is a known hydraulic head given as a number, a distribution, or an expression involving
time, t, for example.
HYDRAULIC HEAD
Enter a value or expression for the Hydraulic head H0 (SI unit: m). The default is 0 m.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
Context Menus
Darcy’s Law > Hydraulics > Hydraulic Head
Richards’ Equation > Hydraulics > Hydraulic Head
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
Atmosphere/Gauge
The Atmosphere/Gauge node specifies an atmospheric pressure or gauges the pressure
to the atmospheric value. This means that the total hydraulic potential reduces to the
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog.
Context Menus
Darcy’s Law > Hydraulics > Atmosphere/Gauge
Richards’ Equation > Hydraulics > Atmosphere/Gauge
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
Pervious Layer
The Pervious Layer node provides a boundary condition that describes a mass flux
through a semi-pervious layer connected to an external fluid source at different
pressure, pressure head, or hydraulic head. The model domain might connect to a
larger body of water through the semi-pervious layer. This condition is represented
with the following boundary condition:
pb – p
n --- p + g D = R b -------------------
- + Db – D (6-15)
g
In this equation, pb (SI unit: Pa) and Db (SI unit: m) are the pressure and the elevation
of the distant fluid source, respectively, and Rb (SI unit: 1/s) is the conductance of
materials between the source and the model domain (conductance to flow in the
semi-pervious layer adjacent to the boundary). Typically Rb KB, where K is the
hydraulic conductivity (SI unit: m/s) of the layer and B (SI unit: m) is its thickness.
Using logical relationships, it is possible to activate these expressions at different times
or under various flow conditions.
n K H p + D = R b H pb – H p + D b – D (6-16)
Hpb is the pressure head (SI unit: m) at the edge of the layer.
When the hydraulic head H is specified instead of the pressure head, the boundary
condition becomes:
n KH = R b H b – H (6-17)
At a free surface, such as a water table or seepage face, the pressure is atmospheric (here
taken to be zero), so the total hydraulic potential equals gravitational potential, which
is defined on D.
Gravity effects are not active by default. Select the checkbox Include
gravity to activate the acceleration of gravity. Setting the elevation D to
zero also turns off gravity effects.
PERVIOUS LAYER
Specify the material properties whether to specify an external pressure, pressure head,
or hydraulic head.
Select an External variable to specify — Pressure and elevation to specify the external
pressure, Pressure head and elevation to specify the external pressure head, or Hydraulic
head. For all selections, enter a value for the Conductance Rb (SI unit: 1/s).
• For Pressure and elevation enter an External pressure pb (SI unit: Pa) and External
elevation Db (SI unit: m).
• For Pressure head and elevation enter an External pressure head Hpb (SI unit: m), Hpb
(SI unit: m) and External elevation Db (SI unit: m).
• For Hydraulic head enter the Hydraulic head Hb (SI unit: m).
Context Menus
Darcy’s Law > Hydraulics > Pervious Layer
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
Well
The Well feature is intended to model injection or production wells and is available
with the Subsurface Flow Module.
WELL
Enter a value or expression for the Well diameter dw (SI unit: m, the default is 0.1 m).
Select the Well type from the list: Production or Injection.
Specify either the Pressure (SI unit: Pa), Pressure head (SI unit: m), Hydraulic head (SI
unit: m), or the Mass flow. If you select Mass flow, specify the total Mass flow rate (SI
unit: kg/s), the Mass flow rate per unit length (SI unit: kg/(m·s)) or the Mass flux (SI
unit: kg/(m2·s)).
Context Menus
Darcy’s Law > geometrical entity > Well
Richards’ Equation > geometrical entity > Well
Ribbon
Physics tab with Darcy’s Law or Richards’ Equation selected:
Fracture
Use the Fracture node to model flow along a boundaries representing fractures within
a porous medium. By default, it adds the tangential form of the continuity equation
and of Darcy’s Law.
d f ----- p + T d f u = d f Q m (6-18)
t
The Fracture feature has two default subfeatures — the Fluid (Fracture) subfeature
where the fluid density (SI unit: kg/m3) and dynamic viscosity (SI unit: Pa·s) are
defined and the Fracture Material subfeature where the permeability (SI unit: m2)
and porosity p (dimensionless) are specified.
The subnodes inherit these coordinate system settings. In particular, the Permeability
or Hydraulic conductivity (in the Fracture Material subnode) should be set according to
the coordinate system selected in this section.
APERTURE
Enter a value for the Fracture thickness df.
FLOW MODEL
Define if the flow follows a linear or nonlinear pressure-velocity relationship.
• Darcian flow (default) defines a linear relationship using Equation 6-18 and
Equation 6-19.
• Non-Darcian flow defines a nonlinear relationship using Equation 6-18 and the
pressure-velocity relationship
Tp = – --- u – u u
where the nonlinear parameter (SI unit: 1/m) is further specified in the Fracture
Material subfeature.
STORAGE MODEL
Equation 6-18 can also be formulated with respect to a storage term.
p
S ------ + – --- p = Q m
t
• From density and porosity (default), uses the formulation of Equation 6-18
• Linearized storage, where the following linear equation is used to define the storage:
S = p f + 1 – p p
FRACTURE MODEL
Choose between two options to model fractures that have different characteristics.
p d,u – p u,d b
– n u,d u u,d = ------------------------------- ------
db
The barrier thickness db and permeability b are defined in the Fracture Material
subnode.
In addition, either on the upside, downside, or on both sides a highly conductive
fracture material is present and Equation 6-18 and Equation 6-19 are solved for the
highly conductive side. Further specifications are done in the Fracture Material
subnode.
Note that the option to specify the Fracture Model is only available for the
Fracture feature within the Darcy’s Law interface.
For the Fracture boundary node several subnodes are available from the context menu
(right-click the parent node) or from the Physics toolbar, Attributes menu. As they are
Context Menus
Darcy’s Law > Fracture
Richards’ Equation > Fracture
Fracture Flow > Fracture
Ribbon
Physics tab with interface as Darcy’s Law or Richards’ Equations selected:
Fluid (Fracture)
This node defines the material properties of the fluid of the Fracture parent node. The
fluid can be specified as general gas or liquid or as an ideal gas.
MODEL INPUT
This section contains fields and values that are inputs for expressions defining material
properties. If such user-defined property groups are added, the model inputs appear
here.
Gas/Liquid
This option specifies the Density and the Compressibility for a general gas or liquid.
Ideal Gas
For Ideal gas it uses the ideal gas law to describe the fluid. In this case, specify the
thermodynamics properties. Select a Gas constant type — Specific gas constant Rs (the
default) or Mean molar mass Mn (SI unit: J/(mol·K)). For Mean molar mass the
universal gas constant R 8.314 J/(mol·K) is used as the built-in physical constant.
For both properties, the defaults use values From material. For User defined enter
another value or expression.
If required by a Storage Model, the Compressibility of the ideal gas is calculated as f
1pA with the absolute pressure pA (Pa).
Context Menus
Darcy’s Law > Fracture > Fluid
Richards’ Equation > Fracture > Fluid
Fracture Flow > Fracture > Fluid
Fracture Material
This node defines the porosity and material properties of the solid matrix of the
Fracture parent node.
BARRIER PROPERTIES
This section appears if the Thin conducting barrier option for the Fracture model is
chosen in the parent Fracture feature.
Enter the values for the barrier thickness db and permeability b.
Note that the Thin Conductive barrier option is only available for the Fracture feature
within the Darcy’s Law interface.
The Porosity p of the fracture material is taken From material by default. Select User
defined to enter a value or expression for p.
If required by a Storage model in the parent node, specify the Effective compressibility
of the porous matrix. The default value is p 104 1/Pa.
Select a Permeability model to specify the capacity of the fracture material to transmit
flow. Which options are available depends on the Flow model setting in the parent node.
Context Menus
Darcy’s Law > Fracture > Fracture Material
Richards’ Equation > Fracture > Fracture Material
Fracture Flow > Fracture > Fracture Material
When this physics interface is added, the following default nodes are also added in the
Model Builder — Fluid Properties, Wall, and Initial Values. Then, from the Physics
toolbar, add a Porous Medium node to be used on the domain selection corresponding
to the porous media, or add other nodes that implement, for example, boundary
conditions and volume forces. You can also right-click Free and Porous Media Flow,
Brinkman to select physics features from the context menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is fp.
PHYSICAL MODEL
Compressibility
By default the physics interface uses the Incompressible flow formulation of the Navier–
Stokes and Brinkman equations to model constant density flow. If required, select
Swirl Flow
For 2D axisymmetric components, select the Swirl flow checkbox to include the swirl
velocity component, that is the velocity component u in the azimuthal direction.
While u can be nonzero, there can be no gradients in the direction. Note that this
feature is only available for specific modules. Visit [Link]
products/specifications/ for a detailed overview.
Include Gravity
Gravity is not included by default. Select the Include gravity checkbox to activate the
acceleration of gravity. This automatically adds a global Gravity feature node to the
interface model tree, and the buoyancy force is included in the Equations.
Also, when the Include gravity checkbox is selected, the Use reduced pressure option
changes the pressure formulation from using the total pressure (default) to using the
reduced pressure. This option is suitable for configurations where the density changes
are very small; otherwise, the default formulation can be used. For more information,
see Gravity.
Reference Position
If Include gravity is selected, a Reference position rref (SI unit: m) can be specified which
is then used for the calculation of the hydrostatic pressure.
TURBULENCE
Turbulent flow can be simulated by changing the Turbulence model type to RANS-EVM
(Reynolds-Averaged Navier–Stokes, eddy-viscosity model), RANS-RSM
(Reynolds-Averaged Navier–Stokes, Reynolds stress model), or Large Eddy Simulation
(which is only available in 3D). If turbulent flow is activated, you can choose from
different Turbulence models and options for Wall treatment. For a description of the
different turbulence models, wall treatment options, and turbulence model
parameters, see Theory for the Turbulent Flow Interfaces in the CFD Module User’s
Guide.
DEPENDENT VARIABLES
The following dependent variables (fields) are defined for this physics interface — the
Velocity field u (SI unit: m/s) and its components, and the Pressure p (SI unit: Pa).
• Domain, Boundary, Point, and Pair Nodes for the Free and Porous
Media Flow, Brinkman Interface
• Theory for the Free and Porous Media Flow, Brinkman Interface
Domain, Boundary, Point, and Pair Nodes for the Free and Porous
Media Flow, Brinkman Interface
The Free and Porous Media Flow, Brinkman Interface has the following domain,
boundary, point, and pair nodes, listed in alphabetical order, available from the Physics
Note that some features are only available with certain COMSOL products (see
[Link]
The following nodes (listed in alphabetical order) are described for the Laminar Flow
interface in the COMSOL Multiphysics Reference Manual:
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Fluid Properties
Use the Fluid Properties node to define the fluid material, density, and dynamic
viscosity.
The default Density (SI unit: kg/m3) uses values From material based on the Fluid
material selection. For User defined enter another value or expression. The default is
0 kg/m3.
The Dynamic viscosity (SI unit: Pa·s) uses values From material based on the Fluid
material selection. For User defined enter another value or expression. The default is
0 Pa·s.
Porous Medium
The Porous Medium node adds the Brinkman equations (excluding any mass sources)
to the interface. It has two default subfeatures — the Fluid subfeature where the fluid
density (SI unit: kg/m3) and dynamic viscosity (SI unit: Pa·s) are defined and the
Porous Matrix subfeature where the permeability (SI unit: m2) and porosity p
(dimensionless) are specified.
FLOW MODEL
Define if the flow follows a linear or nonlinear pressure-velocity relationship.
• Darcian flow (default) defines a linear relationship characteristic for low Reynolds
number laminar flows.
• Non-Darcian flow defines a nonlinear relationship due to inertial or turbulence
effects.
MODEL INPUT
This section contains fields and values that are inputs for expressions defining material
properties. If such user-defined property groups are added, the model inputs appear
here.
FLUID PROPERTIES
Specify the Density and the Dynamic viscosity (SI unit: Pa·s) of the fluid. The
defaults use values From material, for User defined enter a value or expression.
The dynamic viscosity describes the relationship between the shear stresses and the
shear rate in a fluid. Intuitively, water and air have a low viscosity, and substances often
described as thick, such as oil, have a higher viscosity.
If the Polymer Flow Module license is available and for Darcian flow, also
non-Newtonian models are available and the Constitutive Relation can be switched
between Specify dynamic viscosity (default) or Inelastic non-Newtonian.
Constitutive Relation
Use the default option to either get the dynamic viscosity from a material, or to add a
user defined expression. The default option lets you either use the dynamic viscosity
from a material or define it with a custom expression. The Inelastic non-Newtonian
option provides several models and defines the Apparent shear rate.
Inelastic Non-Newtonian
The following inelastic non-Newtonian Models are available for the Fluid feature under
the Porous Medium feature:
• Power Law
• Carreau
• Carreau-Yasuda
• Cross
• Cross-Williamson
• Sisko
The setup of these models in porous media is similar to their definition under the Fluid
Properties feature.
Porous Matrix
This node defines the porosity and material properties of the solid matrix of the Porous
Medium parent node.
MODEL INPUT
This section contains fields and values that are inputs for expressions defining material
properties. If such user-defined property groups are added, the model inputs appear
here.
MATRIX PROPERTIES
The Porosity p (a dimensionless number between 0 and 1) uses by default the value
From material. For User defined the default value is 1 which is equivalent to free flow.
Select a Permeability model to specify the capacity of the porous material to transmit
flow. Depending on the Flow model selection in the parent Porous Medium feature node
you can choose between the following options:
• Permeability (the default) to directly enter the permeability of the porous matrix or
Kozeny-Carman to define the permeability from the porosity and mean Particle
diameter for Darcian flow or
• Forchheimer or Ergun for Non-Darcian flow.
Note that some of these options are only available for certain modules. For a detailed
overview of the functionality available in each product, visit https://
[Link]/products/specifications/.
The default Permeability (SI unit: m2) uses the value From material, as defined by the
Porous material list. For User defined select Isotropic to define a scalar value or Diagonal
or Symmetric to define a tensor value.
In case a Non-Darcian flow model is chosen in the parent node, Forchheimer is the
default selection for the Permeability model. For Forchheimer, the default Permeability
(SI unit: m2) uses the value From material. Furthermore, the dimensionless
Forchheimer parameter cF can be defined. The default value is 0.55.
If Ergun is selected, enter the mean Particle diameter dp (default value: 0.5 mm). The
permeability is then calculated using Equation 2-4 in the Porous Media Flow
Module User’s Guide.
Mass Source
Enter a value or expression for an optional mass source (or sink) Source term Qm (SI
unit: kg/(m3·s)). This term accounts for mass deposit or mass creation within porous
domains. The physics interface assumes that the mass exchange occurs at zero velocity.
Volume Force
The Volume Force node specifies the force F on the right-hand side of the Navier–
Stokes or Brinkman equations, depending on whether a Fluid Properties or Porous
Medium node is active on the domain. It then acts on each fluid element in the
specified domains.
VOLUME FORCE
Enter the components of the Volume force F (SI unit: N/m3).
The source (or sink) is proportional to the Molar mass (kg/mol) of the reacting species,
the current densities and the stoichiometric coefficients according to Faraday’s law as
defined by summation over the Reaction Coefficient subnodes.
SPECIES
Based on the number of species required for the model, use the Add ( ) and
Delete ) buttons under the table to add or remove Species. Then enter a value for
the Molar mass (kg/mol) in the applicable rows for each species.
The setting in the table will determine the number of available fields for entering the
stoichiometric coefficients of the Reaction Coefficient subnodes.
Initial Values
The Initial Values node adds initial values for the velocity field and the pressure that can
serve as an initial condition for a transient simulation or as an initial guess for a
nonlinear solver.
INITIAL VALUES
Enter initial values or expressions for the Velocity field u (SI unit: m/s) and for the
Pressure p (SI unit: Pa). The default values are 0 m/s and 0 Pa, respectively.
Gravity
The Gravity global feature is automatically added when Include gravity is selected at the
interface level in the Physical Model settings. It defines the gravity forces from the
Acceleration of gravity value. When a turbulence model that solves for the turbulent
kinetic energy, k, is used, the option Include buoyancy-induced turbulence is available.
When selected, the Buoyancy contribution is by default set to Automatic from
multiphysics. Contributions are only obtained from multiphysics couplings that
support buoyancy-induced turbulence, such as Nonisothermal Flow. If the Buoyancy
contribution is switched to User defined, a text field for the Turbulent Schmidt number
appears. See also Theory for Buoyancy-Induced Turbulence in the CFD Module
User’s Guide.
ACCELERATION OF GRAVITY
The Acceleration of gravity (SI unit m/s, default value gconstez in 2D axial symmetry
and 3D and gconstey in 2D) is used to define the gravity forces. It should be a global
quantity.
The flow is proportional to the Molar mass (kg/mol) of the reacting species, the current
densities and the stoichiometric coefficients according to Faraday’s law as defined by
summation over the Reaction Coefficient subnodes.
SPECIES
Based on the number of species required for the model, use the Add ( ) and
Delete ) buttons under the table to add or remove Species. Then enter a value for
the Molar mass (kg/mol) in the applicable rows for each species.
The setting in the table will determine the number of available field for entering the
stoichiometric coefficients of the Reaction Coefficient subnodes.
Wall
The Wall node includes a set of boundary conditions describing fluid-flow conditions
at stationary, moving, and leaking walls.
No Slip
No slip is the default boundary condition for a stationary solid wall for laminar flow
(and SST, Low Re k-, Algebraic yPlus, L-VEL, and Spalart–Allmaras turbulence
models). The condition prescribes u = 0; that is, the fluid at the wall is not moving.
Slip
The Slip option prescribes a no-penetration condition, u·n . It is implicitly assumed
that there are no viscous effects at the slip wall and hence, no boundary layer develops.
From a modeling point of view, this can be a reasonable approximation if the main
effect of the wall is to prevent fluid from leaving the domain.
Leaking Wall
This boundary condition can be used to simulate a wall where fluid is leaking into or
leaving the domain with the velocity u = ul through a perforated wall. The
components of the Fluid velocity ul on the leaking wall should be specified.
CONSTRAINT SETTINGS
This section is displayed by clicking the Show button ( ) and selecting Advanced
Physics Options.
When a predefined Free and Porous Media Flow, Darcy interface is added from the Porous
Media and Subsurface Flow branch ( ) of the Model Wizard or Add Physics window, the
Darcy’s Law and Laminar Flow interfaces are added to the Model Builder. In addition,
the Multiphysics node is added, which automatically includes the Free and Porous Media
Flow Coupling multiphysics coupling.
The Laminar Flow interface is used to compute the velocity and pressure for a fluid flow
in the laminar flow regime. A flow will remain laminar as long as the Reynolds number
is below a certain critical value. At higher Reynolds numbers, disturbances have a
tendency to grow and cause transition to turbulence.
However, if physics interfaces are added one at a time, followed by the coupling
features, these modified settings are not automatically included.
The Name is used primarily as a scope prefix for variables defined by the coupling node.
Refer to such variables in expressions using the pattern <name>.<variable_name>. In
order to distinguish between variables belonging to different coupling nodes or physics
interfaces, the name string must be unique. Only letters, numbers, and underscores (_)
are permitted in the Name field. The first character must be a letter.
The default Name (for the first multiphysics coupling feature in the model) is nsd1.
DOMAIN SELECTION
When nodes are added from the context menu, you can select Manual (the default)
from the Selection list to choose specific domains to define the multiphase flow
coupling, or select All domains as needed.
When the Free and Porous Media Flow Coupling is added as an effect of adding a Free
and Porous Media Flow, Darcy multiphysics interface, the selection is the intersection
of the boundaries of the participating physics interfaces.
Only boundaries that are active in the participating physics interfaces (which are
chosen from the Coupled Interfaces selection list) can be selected.
COUPLED INTERFACES
This section defines the physics involved in the multiphysics coupling. The Free flow
and Porous media flow lists include all applicable physics interfaces.
• If it is added from the Physics ribbon (Windows users), Physics contextual toolbar
(Mac and Linux users), or context menu (all users), then the first physics interface
of each type in the component is selected as the default.
• If it is added automatically when a multiphysics interface is selected in the Model
Wizard or Add Physics window, then the two participating physics interfaces are
selected.
You can also select None from either list to uncouple the Free and Porous Media Flow
Coupling node from a physics interface. If the physics interface is removed from the
Model Builder, for example Darcy’s Law is deleted, then the Porous media flow list
defaults to None as there is nothing to couple to.
• When No slip is selected, the tangential component of the fluid velocity at the
free-porous interface on the free-flow side (computed in the Free flow interface) is
set to zero.
• When Continuous tangential velocity is selected, the tangential velocity component
of the flow on both sides of the free-porous interface is continuous. In addition,
continuity of normal stresses and conservation of mass across the interface are
ensured.
• When Beavers-Joseph is selected, the difference of the tangential velocity
components of the flow on both sides of the free-porous interface is proportional to
the shear stress at the free-porous interface on the free-flow side. For this option,
enter a value or expression for the Beavers and Joseph parameter aBJ (dimensionless)
that determines the proportionality. In addition, select the checkbox Use projected
permeability to use only the component of the permeability tensor in the direction
of the difference of the tangential velocities on both sides of the interface, instead
of the trace of the permeability tensor, in determining the proportionality.
• When Beavers-Joseph-Saffman is selected, the tangential velocity component of the
flow at the free-porous interface on the free-flow side is proportional to the shear
stress at the interface on the free-flow side. For this option also, enter a value or
expression for the Beavers and Joseph parameter aBJ (dimensionless) that determines
the proportionality. In addition, select the checkbox Use projected permeability to
use only the component of the permeability tensor in the direction of the difference
of the tangential velocities on both sides of the interface, instead of the trace of the
permeability tensor, in determining the proportionality.
• When Viscous slip is selected, the difference of the tangential velocity components
of the flow on the free-flow side and a user-supplied interfacial velocity is
proportional to the shear stress at the free-porous interface on the free-flow side.
Enter values for the Slip length Ls (SI unit: m, the default is 1e-7 m), and an
Interfacial velocity ub (SI unit: m/s, the default is 0 m/s).
The main node is the Porous Medium feature, which adds the Brinkman equations and
provides interfaces for defining the fluid material and the porous matrix.
When this physics interface is added, the following default nodes are also added in the
Model Builder — Porous Medium, Wall (the default boundary type, using No slip as the
default boundary condition), and Initial Values. Then, from the Physics toolbar, add
other nodes that implement, for example, boundary conditions and volume forces.
You can also right-click Brinkman Equations to select physics features from the context
menu.
The boundary conditions are essentially the same as for the Laminar Flow interface.
Differences exist for the following boundary types: Outlet, Symmetry, Open
Boundary, and Boundary Stress where the viscous part of the stress is divided by the
porosity to appear as
1 T 2
----- u + u – --- u I
p 3
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links to common
sections such as Discretization, Consistent Stabilization, Inconsistent Stabilization, and
Advanced Settings, all accessed by clicking the Show button ( ) and choosing the
applicable option. You can also search for information: press F1 to open the Help
window or Ctrl+F1 to open the Documentation window.
SETTINGS
The Label is the default physics interface name.
The default Name (for the first physics interface in the model) is br.
PHYSICAL MODEL
This node specifies the properties of the Brinkman Equations interface, which describe
the overall type of fluid flow model.
Compressibility
By default the physics interface uses the Incompressible flow formulation of the
Brinkman equations to model constant density flow. Alternatively, from the
Compressibility list select Weakly compressible flow, which should be used when the
pressure dependency of the density can be neglected, or Compressible flow (Ma<0.3) to
solve for the full compressible flow of which, however, the Mach number must be
below 0.3.
Swirl Flow
For 2D axisymmetric models, select the Swirl flow checkbox to include the swirl
velocity component, that is the velocity component u in the azimuthal direction.
While u can be nonzero, there can be no gradients in the direction.
Note that this feature is only available for specific modules. See https://
[Link]/products/specifications/ for a detailed overview.
Include Gravity
Gravity is not included by default. Select the Include gravity checkbox to activate the
acceleration of gravity. This automatically adds a global Gravity feature node to the
interface model tree, and the buoyancy force is included in the equations.
Also, when the Include gravity checkbox is selected, the Use reduced pressure option
changes the pressure formulation from using the total pressure (default) to using the
reduced pressure. This option is suitable for configurations where the density changes
Reference Position
If Include gravity is selected, a Reference position rref (SI unit: m) can be specified which
is then used for the calculation of the hydrostatic pressure.
TURBULENCE
Turbulent flow can be simulated by changing the Turbulence model type to RANS-EVM
(Reynolds-Averaged Navier–Stokes, eddy-viscosity model). If RANS-EVM is activated,
you can set the Turbulence model either to one of the algebraic turbulence models,
Algebraic yPlus (the default) or L-VEL, or to one of the following two-equation
turbulence models: k-Low Reynolds Number k-. The Wall treatment is set to
Automatic (default) or Low Re while Wall functions is the only option for k-.
For more information about turbulence modeling, see Theory for the Turbulent Flow
Interfaces in the CFD Module User’s Guide.
DEPENDENT VARIABLES
The following dependent variables (fields) are defined for this physics interface — the
Velocity field u (SI unit: m/s) and its components, and the Pressure p (SI unit: Pa).
ADVANCED SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog. Normally these settings do not need
to be changed.
• Domain, Boundary, Point, and Pair Nodes for the Brinkman Equations
Interface
• Theory for the Brinkman Equations Interface
• Pseudo Time Stepping for Laminar Flow Models and Pseudo Time
Stepping
• Numerical Stability — Stabilization Techniques for Fluid Flow
• Nitsche Constraints
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Porous Medium
The Porous Medium node adds the Brinkman equations: Equation 4-34 and
Equation 4-35 (excluding any mass sources). It has two default subfeatures — the
Fluid subfeature where the fluid density (SI unit: kg/m3) and dynamic viscosity (SI
unit: Pa·s) are defined and the Porous Matrix subfeature where the permeability (SI
unit: m2) and porosity p (dimensionless) are specified.
The subnodes inherit these coordinate system settings. In particular, the Permeability
(in the Porous Matrix subnode) should be set according to the coordinate system
selected in this section.
• Darcian flow (default) defines a linear relationship characteristic for low Reynolds
number laminar flows.
• Non-Darcian flow defines a nonlinear relationship due to inertial or turbulence
effects.
DISTANCE EQUATION
This section is available for the turbulence models Algebraic yPlus or L-VEL. Select how
the Reference length scale lref (SI unit: m) is defined — Automatic (default) or Manual:
• For Automatic the wall distance is automatically evaluated to one tenth of the
shortest side of the geometry bounding box. This is usually quite accurate but it can
sometimes give a too high value if the geometry consists of several slim entities. In
such cases, define the reference length scale manually.
• For Manual it defines a different value or expression for the length scale. The default
is 1 m.
lref controls the result of the distance equation. Objects that are much smaller than lref
are effectively be diminished while the distance to objects much larger than lref are
accurately represented.
Context Menus
Brinkman Equations > Porous Medium
Ribbon
Physics tab with Brinkman Equations selected:
Fluid
This node defines the material properties of the fluid of the Porous Medium parent
node.
MODEL INPUT
This section contains fields and values that are inputs for expressions defining material
properties. If such user-defined property groups are added, the model inputs appear
here.
FLUID PROPERTIES
Specify the Density and the Dynamic viscosity (SI unit: Pa·s) of the fluid. The
defaults use values From material, for User defined enter a value or expression.
The dynamic viscosity describes the relationship between the shear stresses and the
shear rate in a fluid. Intuitively, water and air have a low viscosity, and substances often
described as thick, such as oil, have a higher viscosity.
If the Polymer Flow Module license is available and for Darcian flow, also
non-Newtonian models are available and the Constitutive Relation can be switched
between Specify dynamic viscosity (default) or Inelastic non-Newtonian.
Constitutive Relation
Use the default option to either get the dynamic viscosity from a material, or to add a
user defined expression. The default option lets you either use the dynamic viscosity
from a material or define it with a custom expression. The Inelastic non-Newtonian
option provides several models and defines the Apparent shear rate.
Inelastic Non-Newtonian
The following inelastic non-Newtonian Models are available for the Fluid feature under
the Porous Medium feature:
• Power Law
The setup of these models in porous media is similar to their definition under the Fluid
Properties feature.
Context Menus
Brinkman Equations > Porous Medium > Fluid
Porous Matrix
This node defines the porosity and material properties of the solid matrix of the Porous
Medium parent node.
MODEL INPUT
This section contains fields and values that are inputs for expressions defining material
properties. If such user-defined property groups are added, the model inputs appear
here.
MATRIX PROPERTIES
The Porosity p (a dimensionless number between 0 and 1) uses by default the value
From material. For User defined the default value is 1.
• Permeability (the default) to directly enter the permeability of the porous matrix or
Kozeny-Carman to define the permeability from the porosity and mean Particle
diameter for Darcian flow or
• Forchheimer or Ergun for Non-Darcian flow.
Note that some of these options are only available for certain modules. For a detailed
overview of the functionality available in each product, visit https://
[Link]/products/specifications/.
The default Permeability (SI unit: m2) uses the value From material, as defined by the
Porous material list. For User defined select Isotropic to define a scalar value or Diagonal
or Symmetric to define a tensor value.
For Kozeny-Carman, enter the mean Particle diameter dp (SI unit: m), the default value
is 0.5 mm.
In case a Non-Darcian flow model is chosen in the parent node, Forchheimer is the
default selection for the Permeability model. For Forchheimer, the default Permeability
(SI unit: m2) uses the value From material. Furthermore, the dimensionless
Forchheimer parameter cF can be defined. The default value is 0.55.
If Ergun is selected, enter the mean Particle diameter dp (default value: 0.5 mm). The
permeability is then calculated using Equation 2-4 in the Porous Media Flow
Module User’s Guide.
Context Menus
Brinkman Equations > Porous Medium > Porous Matrix
+ u = Q m (6-20)
t p
DOMAIN SELECTION
Only Porous Matrix domains are available.
MASS SOURCE
Enter a value or expression for the Source term Qbr (SI unit: kg/(m3·s)). The default
is 0 kg/(m3·s).
Context Menus
Brinkman Equations > Mass Source
Ribbon
Physics tab with Brinkman Equations selected:
Volume Force
Use the Volume Force node to specify the force F on the right-hand side of
Equation 6-73. It then acts on each fluid element in the specified domains.
- u u
---- + u ----- =
p t p
(6-21)
1 T 2 Q m
– p + ----- u + u – --- u I – – 1 + -------
- u + F
p 3 p2
VOLUME FORCE
Enter the components of Volume force F (SI unit: N/m3).
Context Menus
Brinkman Equations > Volume Source
Ribbon
Physics tab with Brinkman Equations selected:
Initial Values
The Initial Values node adds initial values for the velocity field and the pressure that can
serve as an initial condition for a transient simulation or as an initial guess for a
nonlinear solver.
INITIAL VALUES
Enter initial values or expressions for the Velocity field u (SI unit: m/s) and the Pressure
p (SI unit: Pa). The default values are 0 m/s and 0 Pa, respectively.
Context Menus
Brinkman Equations > Initial Values
Ribbon
Physics tab with Brinkman Equations selected:
Fluid Properties
The Fluid Properties node adds the momentum and continuity equations to solve for
free flow in nonporous domains. The node also provides an interface for defining the
material properties of the fluid.
MODEL INPUTS
Fluid properties, such as density and viscosity, can be defined through user inputs,
variables, or by selecting a material. For the latter option, additional inputs — for
example, temperature or pressure — may be required to define these properties.
Absolute Pressure
This input appears when a material requires the absolute pressure as a model input.
The absolute pressure is used to evaluate material properties, but it also relates to the
value of the calculated pressure field. There are generally two ways to calculate the
pressure when describing fluid flow: either to solve for the absolute pressure or for a
pressure (often denoted gauge pressure) that relates to the absolute pressure through
a reference pressure.
The choice of pressure variable depends on the system of equations being solved. For
example, in a unidirectional incompressible flow problem, the pressure drop over the
modeled domain is probably many orders of magnitude smaller than the atmospheric
pressure, which, when included, may reduce the stability and convergence properties
of the solver. In other cases, such as when the pressure is part of an expression for the
gas volume or the diffusion coefficients, it may be more convenient to solve for the
absolute pressure.
The default Absolute pressure pA is p pref where p is the dependent pressure variable
from the Navier–Stokes equations, and pref is from the user input defined at the
physics interface level. When pref is nonzero, the physics interface solves for a gauge
pressure. If the pressure field instead is an absolute pressure field, pref should be set to
0.
The Absolute pressure field can be edited by clicking Make All Model Inputs Editable
( ) and entering the desired value in the input field.
FLUID PROPERTIES
If density variations with respect to pressure are to be included in the computations,
the flow must be set to compressible.
The Dynamic viscosity describes the relationship between the shear rate and the shear
stresses in a fluid. Intuitively, water and air have low viscosities, and substances often
described as thick (such as oil) have higher viscosities.
Context Menus
Brinkman Equations > Fluid Properties
Ribbon
Physics tab with Brinkman Equations selected:
Gravity
The Gravity global feature is automatically added when Include gravity is selected at the
interface level in the Physical Model settings. It defines the gravity forces from the
Acceleration of gravity value. When a turbulence model that solves for the turbulent
kinetic energy, k, is used, the option Include buoyancy-induced turbulence is available.
When selected, the Buoyancy contribution is by default set to Automatic from
multiphysics. Contributions are only obtained from multiphysics couplings that
support buoyancy-induced turbulence, such as Nonisothermal Flow. If the Buoyancy
contribution is switched to User defined, a text field for the Turbulent Schmidt number
appears. See also Theory for Buoyancy-Induced Turbulence in the CFD Module
User’s Guide.
This feature requires a specific license. For a detailed overview of the functionality
available in each product visit [Link]
ACCELERATION OF GRAVITY
The Acceleration of gravity (SI unit m/s, default value gconstez in 2D axial symmetry
and 3D and gconstey in 2D) is used to define the gravity forces. It should be a global
quantity.
Context Menus
Brinkman Equations > Gravity
When a predefined Multiphase Flow in Porous Media interface is added from the Porous
Media and Subsurface Flow branch ( ) of the Model Wizard or Add Physics window,
Phase Transport and Darcy’s Law interfaces are added to the Model Builder. In addition,
the Multiphysics node is added, which automatically includes the Multiphase Flow in
Porous Media multiphysics coupling.
The Darcy’s Law interface is used to simulate fluid flow through interstices in a porous
medium. It can be used to model low-velocity flows in media where the permeability
and porosity are very small, and for which the pressure gradient is the major driving
force and the flow is mostly influenced by the frictional resistance within the pores.
However, if physics interfaces are added one at a time, followed by the coupling
features, these modified settings are not automatically included.
For example, if single Phase Transport in Porous Media and Darcy’s Law interfaces are
added, an empty Multiphysics node appears in the model tree. You can choose from the
Darcy’s Law In the Darcy’s Law interface, linear shape functions are
used for the discretization of the pressure.
Multiphase Flow in Porous The Domain Selection is the same as that of the
Media participating physics interfaces.
The corresponding Phase Transport in Porous Media and
Darcy’s Law interfaces are preselected in the Coupled
Interfaces section.
SETTINGS
The Label is the default multiphysics coupling feature name.
The Name is used primarily as a scope prefix for variables defined by the coupling node.
Refer to such variables in expressions using the pattern <name>.<variable_name>. In
order to distinguish between variables belonging to different coupling nodes or physics
interfaces, the name string must be unique. Only letters, numbers, and underscores (_)
are permitted in the Name field. The first character must be a letter.
The default Name (for the first multiphysics coupling feature in the model) is mfpm1.
DOMAIN SELECTION
When nodes are added from the context menu, you can select Manual (the default)
from the Selection list to choose specific domains to define the multiphase flow
coupling, or select All domains as needed.
When Multiphase Flow in Porous Media is added as an effect of adding a Multiphase Flow
in Porous Media interface, the selection is the same as for the participating physics
interfaces.
Only domains that are active in the participating physics interfaces (which are chosen
from the Coupled Interfaces selection list) can be selected.
• If it is added from the Physics ribbon (Windows users), Physics contextual toolbar
(Mac and Linux users), or context menu (all users), then the first physics interface
of each type in the component is selected as the default.
• If it is added automatically when a multiphysics interface is selected in the Model
Wizard or Add Physics window, then the two participating physics interfaces are
selected.
You can also select None from either list to uncouple the Multiphase Flow in Porous
Media node from a physics interface. If the physics interface is removed from the Model
Builder, for example Darcy’s Law is deleted, then the Flow in porous media list defaults
to None as there is nothing to couple to.
The Subsurface Flow Module license is required to use this coupling feature (see
[Link]
SETTINGS
The Label is the default multiphysics coupling feature name.
The default Name (for the first Well multiphysics coupling feature in the model) is
wellmpp1.
COUPLED INTERFACES
This section controls which individual interfaces are coupled by the current coupling
feature. If a physics interface is deleted and then added to the model again, then in
order to reestablish the coupling, you need to choose the correct physics interface
again from the Phase transport or Flow in porous media lists
WELL
Select whether the well is a production or injection well: for an injection well positive
mass fluxes signify inflowing fluxes and for a production well positive mass fluxes are
outflowing fluxes.
Either specify the total Total mass flow rate M0 (SI unit: kg/s), the Total mass flow rate
per unit length Ml (SI unit: kg/(m·s)), the Pressure p0 (SI unit: Pa), the Pressure head
Hp0 (SI unit: m), or the Hydraulic head H0 (SI unit: m). The elevation D used to
convert the hydraulic head to a pressure, is defined by the gravity effects in the coupled
Darcy’s Law interface.
Select the Specify well diameter checkbox to define the Well diameter dw (SI unit: m).
This averages the mass source on the boundary of a cylinder around the line. This
option avoids obtaining an increasing pressure value at the line when meshing finer
than this diameter. It makes use of the circavg operator.
If the well diameter is defined, the option to specify the Total mass flux N0 (SI unit:
kg/(m2·s)) is also available.
PHASES
The number of Phase sections depends on the number of phases defined in the coupled
Phase Transport in Porous Media interface: the number of sections is equal to the
number of phases not computed from the volume constraint, which is in turn equal to
the number of phases defined in the coupled Phase Transport in Porous Media
interface minus one.
Specify the boundary condition for each phase not computed from the volume
constraint. You can choose to enter a value for the Mass flow rate M0,i (SI unit: kg/s),
the Mass flow rate per unit length Ml,i (SI unit: kg/(m·s)), or the Volume fraction s0,i
(dimensionless). If the well diameter is specified, the option to specify the Mass flux N0,i
M l i = i s 0 i V l (6-22)
where Vl is the total volumetric flow rate per unit length, which is computed as follows:
assume that there are N phases, and that phase 1 is the phase computed from the
volume constraint, that for phases i, for i p, the fraction of total volumetric flow
rate s0,i is supplied, and that for the phases i, for i p+1 N, the mass flow rate per
unit length Ml,i is given. Then Vl can be computed from the relation
p N
M l 1 M l i
V l = -----------
1
-+ V l s i 0 + -----------
i
(6-23)
i=2 i = p+1
where the mass flow rate Ml,1 for the phase computed from the volume constraint is
given by
p N
M l 1 = M l – V l i s i 0 – M l i (6-24)
i=2 i = p+1
Note that the total mass flow rate per unit length Ml is readily available when any of
the Total mass flow rate, Total mass flow rate per unit length, or the Total mass flux
options is chosen. Furthermore, the total mass flow rate per unit length Ml is also
available as a Lagrange multiplier in case any of the Pressure, the Pressure head, or the
Hydraulic head is given, as these conditions are implemented as weak constraints. For
the mass flow rates per unit length Ml,i of the individual phases, it holds similarly that
they are readily available when any of the Mass flow rate, Mass flow rate per unit length,
or the Mass flux options are chosen, and that for the Volume fraction option,
implemented as a weak constraint, the mass flow rate per unit length Ml,i is computed
as a Lagrange multiplier.
Outflow
When the Outflow option is specified for a phase si, an outflowing mass flow rate per
unit length Ml,i is supplied for that phase, which is given by
SETTINGS
The Label is the default multiphysics coupling feature name.
The default Name (for the first Thin Barrier multiphysics coupling feature in the model)
is tbls1.
BOUNDARY SELECTION
When nodes are added from the context menu, you can select Manual (the default)
from the Selection list to choose specific boundaries, or select All boundaries as needed.
COUPLED INTERFACES
This section controls which individual interfaces are coupled by the current coupling
feature. If a physics interface is deleted and then added to the model again, then in
order to reestablish the coupling, you need to choose the correct physics interface
again from the Phase transport or Flow in porous media lists
SHELL PROPERTIES
The Thin Barrier multiphysics coupling feature is designed to be only applicable for a
Single Layer Material. Select the Single Layer Material to be used for the thin barrier from
the Layer list. The Thickness of the thin barrier is set in the Layer Definition section of
the Shell Property Group window of the Single Layer Material. Also use this section to
set the number of Mesh elements that are used in the Extra Dimension to solve the
equations through the thickness of the thin barrier layer.
MATRIX PROPERTIES
Select the material to use as porous matrix inside the thin barrier. Select Boundary
material (the default) from the Porous material list to use the material defined for the
thin barrier boundary. Select another material to use that material’s properties.
The default Porosity p (a dimensionless number between 0 and 1) uses the value From
material, defined by the Porous material selected. For User defined the default is 0.5.
The default Permeability (SI unit: m2) uses the value From material, as defined by the
Porous material selected. For User defined the default is 1e-9 m2.
CAPILLARY PRESSURE
Select a Capillary pressure model — User defined (the default), van Genuchten, Brooks
and Corey, or Capillary diffusion. The van Genuchten and Brooks and Corey options are
only available when there are not more than two phases present in the model.
• For User defined, enter an expression for the Capillary pressure pc (SI unit: Pa) for
the phases that are not computed from the volume constraint. The pressure of the
corresponding phase is equal to the pressure of the phase computed from the
volume constraint plus the capillary pressure supplied for this phase.
• For van Genuchten, enter an Entry capillary pressure pec (SI unit: Pa), the Constitutive
relations constant mvG (dimensionless), and Constitutive relations constant lvG
(dimensionless).
• For Brooks and Corey, enter an Entry capillary pressure pec (SI unit: Pa) and the Pore
size distribution index p (dimensionless).
• For Capillary diffusion, enter a capillary diffusion coefficient Dc (SI unit: m2/s) for
the phases that are not computed from the volume constraint.
PHASE PROPERTIES
Select the material to use for each phase. Select Boundary material (the default) from
the Fluid list to use the material defined for the domain. Select another material to use
that material’s properties.
The Relative permeability input fields are only available when the Capillary pressure
model is set to User defined or Capillary diffusion. In the other cases (van Genuchten or
Brooks and Corey) the relative permeabilities are defined by the van Genuchten or Brooks
and Corey model. For the van Genuchten and Brooks and Corey model, specify the
Residual saturation sri (dimensionless, default value 0) for each phase.
INITIAL VALUES
Enter a value or expression in the field for the volume fraction inside the thin barrier
of each phase, except for the one computed from the volume constraint, and in the
field for the pressure of the phase computed from the volume constraint.
When a predefined Multiphase Free and Porous Media Flow interface is added from the
Porous Media and Subsurface Flow branch ( ) of the Model Wizard or Add Physics
window, the Phase Transport in Free and Porous Media, Darcy’s Law and Laminar Flow
interfaces are added to the Model Builder. In addition, the Multiphysics node is added,
which automatically includes the Multiphase Flow in Porous Media, the Mixture Model,
and the Free and Porous Media Flow Coupling multiphysics couplings.
The Darcy’s Law interface is used to simulate fluid flow through interstices in a porous
medium. It can be used to model low-velocity flows in media where the permeability
and porosity are very small, and for which the pressure gradient is the major driving
force and the flow is mostly influenced by the frictional resistance within the pores.
The Laminar Flow interface is used to compute the velocity and pressure for a fluid flow
in the laminar flow regime. A flow will remain laminar as long as the Reynolds number
is below a certain critical value. At higher Reynolds numbers, disturbances have a
tendency to grow and cause transition to turbulence.
Darcy’s Law In the Darcy’s Law interface, linear shape functions are
used for the discretization of the pressure.
Multiphase Flow in Porous The Domain Selection is the same as that of the
Media participating physics interfaces.
The corresponding Phase Transport in Free and Porous
Media Flow and Darcy’s Law interfaces are preselected in
the Coupled Interfaces section.
Mixture Model The Domain Selection is the same as that of the
participating physics interfaces.
The corresponding Phase Transport in Free and Porous
Media Flow and Laminar Flow interfaces are preselected
in the Coupled Interfaces section.
Free and Porous Media The Boundary Selection is the same as that of the
Flow Coupling participating physics interfaces.
The corresponding Laminar Flow and Darcy’s Law
interfaces are preselected in the Coupled Interfaces
section.
Coupling Features
Three coupling features are added: The Multiphase Flow in Porous Media
(Multiphysics Coupling), the Free and Porous Media Flow Coupling (Multiphysics
Coupling), and the Mixture Model multiphysics coupling.
It is assumed that the bubbles only occupy a small volume fraction and that they always
travel with their terminal velocity. It is thereby possible to solve only one set of Navier–
Stokes equations for the liquid phase and to let the velocity of the bubbles be guided
by a slip model. The pressure distribution is computed from a mixture-averaged
continuity equation. The volume fraction of bubbles is tracked by solving a transport
equation for the effective gas density.
The physics interface can also model the distribution of the number density, that is, the
number of bubbles per unit volume which in turn can be used to calculate the
interfacial area, useful when simulating chemical reactions in the mixture.
The main physics node is the Fluid Properties feature, which adds the equations for
laminar bubbly flow and provides an interface for defining the fluid materials for the
liquid and the gas and the slip velocity model to use.
When this physics interface is added, the following default physics nodes are also added
in the Model Builder — Laminar Bubbly Flow, Fluid Properties, Wall (the default boundary
types are No slip for the liquid and No gas flux for the gas), and Initial Values. Then, from
the Physics toolbar, add other nodes that implement, for example, boundary
conditions and volume forces. You can also right-click Laminar Bubbly Flow to select
physics features from the context menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
The default Name (for the first physics interface in the model) is bf.
PHYSICAL MODEL
Specify if the gas concentration is low and whether or not to solve for the interfacial
area.
Reference Values
Reference values are global quantities used to evaluate the density of the liquid and the
absolute pressure pA.
Reference pressure level There are generally two ways to include the pressure in fluid
flow computations: either to use the absolute pressure pA p pref, or the gauge
pressure p. When pref is nonzero, the physics interface solves for the gauge pressure
whereas material properties are evaluated using the absolute pressure. The reference
pressure level is also used to define the density of the liquid. The default Reference
pressure level pref (SI unit: Pa) is 1 atm.
Reference temperature The reference temperature is used to define the density of the
liquid. The default Reference temperature Tref (SI unit: K) is 293.15 K.
Swirl Flow
For 2D axisymmetric models, select the Swirl flow checkbox to include the swirl
velocity component — that is, the velocity component u in the azimuthal direction.
While u can be nonzero, there can be no gradients in the direction. Also see in the
CFD Module User’s Guide.
Select the Use dynamic subgrid time scale checkbox to estimate the influence of
temporal variations in the velocity field, instead of using the inverse time step, in the
consistent stabilization terms. This checkbox is selected by default
Select the Limit small time steps effect on stabilization time scale checkbox to prevent
loss of stabilization at small time steps.
ADVANCED SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog. Normally these settings do not need
to be changed.
Select the Use pseudo time stepping for stationary equation form checkbox to add
pseudo time derivatives to the equation when the Stationary equation form is used.
When selected, also choose a CFL number expression — Automatic (the default) or
Manual. Automatic sets the local CFL number (from the Courant–Friedrichs–Lewy
• Pseudo Time Stepping for Laminar Flow Models in this guide and
Pseudo Time Stepping in the COMSOL Multiphysics Reference
Manual
• Domain and Boundary Nodes for Bubbly Flow
• Theory for the Bubbly Flow Interface
DOMAIN
• Fluid Properties
• Volume Force (described for The Laminar Flow and Creeping Flow Interfaces)
• Mass Transfer
• Gravity
• Initial Values
BOUNDARY
The sections describe the available boundary conditions for the liquid and
the gas. In all equations, n denotes the outward pointing unit vector
normal to the boundary.
The boundary types for the liquid flow variables, described in this section, are:
PAIR
• Flow Continuity
In addition to the boundary conditions for the liquid, the following boundary
conditions for the gas are available for all boundary condition types except symmetry
and interior wall:
Fluid Properties
The Fluid Properties node contains the material properties for the liquid and the gas. It
also contains settings for the slip model.
MODEL INPUTS
Fluid properties, such as the gas density and liquid viscosity, can be defined through
user inputs, variables, or by selecting a material. For the latter option, additional
inputs, for example temperature or pressure, may be required to define these
properties.
You can also select User defined from the Temperature model input in order to manually
prescribe T.
Absolute Pressure
This input appears when a material requires the absolute pressure as a model input.
The absolute pressure is used to evaluate material properties, but it also relates to the
value of the calculated pressure field. There are generally two ways to calculate the
pressure when describing fluid flow: either to solve for the absolute pressure or for a
pressure (often denoted gauge pressure) that relates to the absolute pressure through
a reference pressure.
The default Absolute pressure pA is ppref, where p is the dependent pressure variable
from the Navier–Stokes or RANS equations, and pref is from the user input defined at
the physics interface level. When pref is nonzero, the physics interface solves for a
gauge pressure. If the pressure field instead is an absolute pressure field, pref should be
set to 0.
The Absolute pressure field can be edited by clicking Make All Model Inputs Editable
( ) and entering the desired value in the input field.
MATERIALS
Select the materials to use for the material properties of the liquid and the gas (when
they are set to take their value from the material). The default is to use the Domain
material for the Liquid and None for the Gas. Select another material to use that
material’s properties for the liquid or gas as needed.
The density in a material can depend on temperature and/or pressure and these
dependencies are automatically replaced by pref and Tref, which are specified at the
physics interface level.
The default Dynamic viscosity, liquid phase l (SI unit: Pa·s) uses values From material;
the value is then defined for the material selected in the Materials section for the
continuous phase. For User defined enter another value or expression.
The dynamic viscosity describes the relationship between the shear stresses and the
shear rate in a fluid. Intuitively, water and air have a low viscosity, and substances often
described as thick, such as oil, have a higher viscosity.
GAS PROPERTIES
The default Density, gas phase g (SI unit: kg/m3) uses values From material. For User
defined enter another value or expression. Alternatively, select Calculate from ideal gas
law and enter the Molecular weight M (SI unit: kg/mol) of the gas.
Enter the Bubble diameter db (SI unit: m). The default value is 103 m (1 mm).
SLIP MODEL
Select a Slip model — Homogeneous flow (the default), Pressure-drag balance, or User
defined.
Homogeneous flow assumes that the velocity of the two phases are equal; that is,
uslip 0. For User defined enter different values or expressions for the components of
the Slip velocity uslip (SI unit: m/s).
For Pressure-drag balance it uses a model based on the assumption that the pressure
forces on a bubble are balanced by the drag force:
3 C
--- ------d- l u slip u slip = – p
4 db
Here db (SI unit: m) is the bubble diameter, and Cd (dimensionless) is the drag
coefficient.
Mass Transfer
Add a Mass Transfer node to include mass transfer from the gas to the liquid.
MASS TRANSFER
Select a Mass transfer model — Two-film theory, Nonequilibrium model, or User defined.
For User defined enter a value or expression for the Mass transfer from gas to liquid mgl
(SI unit: kg/(m3·s)). The default is 0 kg/(m3·s).
Nonequilibrium Model
For Nonequilibrium model enter values or expressions for each of the following:
m gl = g f l max g – eq – f g max eq – g
Two-Film Theory
For Two-film theory enter values for the Mass transfer coefficient k (SI unit: m/s),
Henry’s constant H (SI unit: Pa·m3/mol), the Dissolved gas concentration c (SI unit:
mol/m3), and the Molecular weight of species M (SI unit: kg/mol). Refer to the theory
below for more information.
p + p ref
c = ------------------
-
H
N = k c – c
where k is the Mass transfer coefficient and c is the Dissolved gas concentration in
liquid.
m gl = NMa
where M is the Molecular weight of species and a is the interfacial area per volume
(SI unit: m2/m3).
Also see Theory for the Bubbly Flow Interface for details about how a is
computed.
For two-film theory, you also need to solve for the concentration of the dissolved gas;
c cu = m gl
+ l Dc + ---------
t M
Gravity
The Gravity node adds the force g to the right-hand side of the momentum transport
equation. Gravity nodes are mutually exclusive, that is, there can only be one active
Gravity node per domain.
GRAVITY
Enter the components of the Gravity vector, g (SI unit: m/s2). For 2D components
the default Gravity vector is defined as 0g_const. Here g_const is a physical
constant equal to 9.8066 m/s2. For 3D and 2D axisymmetric components, the gravity
acts in the negative z direction by default.
INITIAL VALUES
Enter initial values or expressions for the Velocity field, liquid phase u (SI unit: m/s)
and for the Pressure p (SI unit: Pa). The default values are 0. Also enter a value or
expression for the Effective gas density rhogeff (SI unit: kg/m3). The default is 0 kg/
m3.
If the Solve for interfacial area checkbox is selected, enter an initial value for the Number
density, gas phase nd (SI unit: 1/m3). The default is 0 1/m3.
Wall
The Wall node adds a selection of boundary conditions that describe the existence of a
solid wall. The Wall node by default specifies no gas flux for the gas phase.
No Slip
No slip is the default boundary condition for the liquid. A no slip wall is a wall where
the liquid velocity relative to the wall velocity is zero. For stationary walls, it sets the
liquid velocity to zero at the wall:
ul = 0
Slip
Sets the velocity component normal to the wall to zero:
ul n = 0
Gas Concentration
For Gas concentration enter the Effective gas density gg0 (SI unit: kg/m3). The
default is 0 kg/[Link] Solve for interfacial area is selected, also select either the Bubble
number density (the default) or the Bubble diameter and gas density button.
• For Bubble number density enter the Bubble number density n0 (SI unit: 1/m3). The
default is 1000 1/m3.
• For Bubble diameter and gas density enter the Bubble diameter db (SI unit: m) (the
default is 1 mm) and Density, gas phase g (SI unit: kg/m3) (the default is 1 kg/
m3).
Gas Flux
For Gas flux enter the Gas mass flux N g g (SI unit: kg/(m2·s)) (the default is 0 kg/
(m2·s)) and if the Solve for interfacial area checkbox is selected on the physics interface,
the Number density flux Nn (SI unit: 1/(m2·s)). The default is 0 (1/(m2·s)).
WALL MOVEMENT
This section contains controls to describe the wall movement relative to the spatial
frame.
The Translational velocity setting controls the translational velocity, utr. The list is per
default set to Automatic from frame. When Automatic from frame is selected, the physics
automatically detects if the spatial frame moves. If there is no movement, utr is set to
0. If the frame moves, utr becomes equal to the frame movement. utr is accounted for
in the actual boundary condition prescribed in the Liquid boundary condition section.
When Manual is selected from Translational velocity selection list, the Velocity of moving
wall, utr can be prescribed manually. Specifying the translational velocity manually
does not automatically cause the associated wall to move. An additional Moving Mesh
interface needs to be added to physically track the wall movement in the spatial
reference frame.
The Sliding wall option is appropriate if the surface is sliding in its tangential direction.
A velocity is prescribed at the wall and the boundary itself does not have to actually
move relative to the reference frame.
Inlet
The Inlet node adds a selection of boundary conditions that describe inlets in fluid-flow
simulations.
VELOCITY
For Velocity click the Normal inflow velocity (the default) or Velocity field buttons.
• For Normal inflow velocity enter a value or expression for U0 (SI unit: m/s).
• For Velocity field specify that the velocity at the boundary is equal to a given u0 (SI
unit: m/s) and enter the components in the matrix:
ul = u0
PRESSURE
This condition specifies the normal stress which in most cases is approximately equal
to the pressure. Enter the Pressure p0 (SI unit: Pa) at the boundary. The default is 0 Pa.
Enter a relative pressure value in p0 (SI unit: Pa). Or if the reference pressure pref
defined at the physics interface level is equal to 0 Pa, enter an absolute pressure in p0.
• The Suppress backflow checkbox is selected by default. This option adjusts the inlet
pressure, p̂ 0 p 0 , locally in order to reduce the amount of fluid exiting the domain
through the boundary. If suppress backflow is deselected, the inlet boundary can
become an outlet depending on the pressure field in the rest of the domain.
The boundary conditions for the virtual inlet channel are inherited from the
boundaries adjacent to the inlet channel. Virtual boundaries adjacent to walls (except
slip walls) are treated as no-slip walls. Virtual boundaries adjacent to any other type of
boundary are treated as slip-walls (or equivalently as symmetry boundaries).
Select a Fully developed flow option — Average velocity (the default), Flow rate, or
Average pressure.
The Fully developed flow option adds contributions to the inflow boundary, which force
the flow toward the solution for a fully developed channel flow.
Fully developed inflow can be used in conjunction with the turbulence models. No
additional inputs are required for the turbulence variables. They are instead solved for
on the inlet boundary to be consistent with the fully developed flow profile.
A fully developed flow boundary cannot be adjacent to any Interior Wall feature
PRESSURE CONDITIONS
The Pressure condition specifies the normal stress which in most cases is approximately
equal to the pressure. The tangential stress component is set to 0 N/m2.
• Enter the Pressure p0 (SI unit: Pa) at the boundary. The default is 0 Pa. Enter a
relative pressure value in p0 (SI unit: Pa). Or if the reference pressure pref defined
at the physics interface level is equal to 0 Pa, enter an absolute pressure in p0.
• Select the Normal flow checkbox to change the no tangential stress condition to a no
tangential velocity condition. This forces the flow to exit (or enter) the domain
perpendicularly to the outlet boundary.
• The Suppress backflow checkbox is selected by default. This option adjusts the outlet
pressure in order to reduce the amount of fluid entering the domain through the
boundary.
VELOCITY
For Velocity click the Velocity field (the default) or Normal outflow velocity buttons.
• For Velocity field specify that the velocity at the boundary is equal to a given u0 (SI
unit: m/s) and enter the components in the matrix:
ul = u0
• For Normal outflow velocity enter a value or expression for U0 (SI unit: m/s).
The boundary conditions for the virtual inlet channel are inherited from the
boundaries adjacent to the outlet channel. Virtual boundaries adjacent to walls (except
slip walls) are treated as no-slip walls. Virtual boundaries adjacent to any other type of
boundary are treated as slip-walls (or equivalently as symmetry boundaries).
When the Gas boundary condition is set to Gas outlet, the Exterior gas condition(s)
section contains an input field for the Effective gas density on the downstream side of
the outlet. If Solve for interfacial area is selected at the physics interface level, additional
input fields appear for the Bubble number density or the Bubble diameter and gas density
on the downstream side of the outlet.
Symmetry
The Symmetry node adds boundary conditions that describe symmetry boundaries in
fluid-flow simulations. The boundary condition for symmetry boundaries prescribes
no penetration and vanishing shear stresses:
t T l l + T u l + u l – --- u l I n = 0
T 2
u l n = 0,
3
BOUNDARY SELECTION
A boundary condition for 2D axial symmetry is not required.
For the symmetry axis at r 0, the software automatically provides a condition that
prescribes ur 0 and vanishing stresses in the z direction and adds an Axial Symmetry
node that is valid on the axial symmetry boundaries only.
PRESSURE DIFFERENCE
A value or expression should be specified for the Pressure difference, psrc pdst. This
pressure difference can, for example, drive the fully developed flow in a channel.
CONSTRAINT SETTINGS
This section is displayed by clicking the Show More Options button ( ) and selecting
Advanced Physics Options in the Show More Options dialog.
ORIENTATION OF SOURCE
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog. For information about the Orientation
of Source section, see Orientation of Source and Destination in the COMSOL
Multiphysics Reference Manual.
ORIENTATION OF DESTINATION
This section appears if the setting for Transform to intermediate map in the Orientation
of Source section is changed from the default value, Automatic, and Advanced Physics
Options is selected in the Show More Options dialog. For information about the
Orientation of Destination section, see Orientation of Source and Destination in the
COMSOL Multiphysics Reference Manual.
Interior Wall
The Interior Wall node adds a wall boundary condition on interior boundaries. It is
similar to the Wall boundary condition available on exterior boundaries except that it
applies on both sides of an interior boundary. It allows discontinuities of the dependent
No Slip
No slip is the default boundary condition for the liquid. A no slip wall is a wall where
the liquid velocity relative to the wall velocity is zero. For interior stationary walls, it
sets the liquid velocity to zero on both sides of the wall:
ul = 0
For turbulent bubbly flows, the no slip condition may either be prescribed exactly or
modeled using automatic wall treatment or wall functions depending on the Wall
Treatment setting in the Turbulence section of the interface settings.
Slip
The Slip condition prescribes a no-penetration condition. For an interior stationary
wall it sets the velocity component normal to the interior wall to zero on both sides of
the wall:
ul n = 0
WALL MOVEMENT
This section contains controls to describe the wall movement relative to the spatial
frame.
The Translational velocity setting controls the translational velocity, utr. The list is per
default set to Automatic from frame. When Automatic from frame is selected, the physics
automatically detects if the spatial frame moves. If there is no movement, utr is set to
0. If the frame moves, utr becomes equal to the frame movement. utr is accounted for
in the actual boundary condition prescribed in the Liquid boundary condition section.
When Manual is selected from Translational velocity selection list, the Velocity of moving
wall, utr can be prescribed manually. Specifying the translational velocity manually
does not automatically cause the associated wall to move. An additional Moving Mesh
CONSTRAINT SETTINGS
This section is displayed by clicking the Show More Options button ( ) and selecting
Advanced Physics Options.
Wall
Flow Continuity
The Flow Continuity condition is suitable for pairs where the boundaries match; it
prescribes that the flow field is continuous across the pair.
The parts of the boundary where a source boundary lacks a corresponding destination
boundary and vice versa will get conditions from other boundary conditions under the
physics interface acting as fallback boundary conditions on the nonoverlapping parts.
By default, the Wall node is used as fallback unless another feature has been selected
for the boundary.
About Pairs
Gas Concentration
Using this boundary condition, specify the effective gas density.
0
̃ g = ̃ g
Gas Outlet
This boundary condition is appropriate for boundaries where the gas phase flows
outward with the gas velocity, ug, at the boundary.
– n ̃ g u g = N g g
Symmetry
This boundary condition, which is useful on boundaries that represent a symmetry line
for the gas flow, sets the gas flux through the boundary to zero:
n ̃ g u g = 0
No Gas Flux
This boundary condition represents boundaries where the gas flux through the
boundary is zero:
n g ug = 0
In walls moving with a boundary velocity ubnd, the gas flux through the boundary is:
n g u g = n g u bnd
The Mixture Model, Laminar Flow interface solves one set of Navier–Stokes equations
for the momentum of the mixture. The pressure distribution is calculated from a
mixture-averaged continuity equation and the velocity of the dispersed phase is
described by a slip model. The volume fraction of the dispersed phase is tracked by
solving a transport equation for the volume fraction.
The physics interface can also model the distribution of the number density, which in
turn can be used to calculate the interfacial area, which is useful when simulating
chemical reactions in the mixture.
The main physics node is the Mixture Properties feature. It adds the equations for the
mixture and provides an interface for defining the fluid materials for the continuous
and dispersed phases as well as which slip model and mixture viscosity model to use.
When this physics interface is added, the following default physics nodes are also added
in the Model Builder — Mixture Properties, Wall, and Initial Values. Then, from the
Physics toolbar, add other nodes that implement, for example, boundary conditions
and volume forces. You can also right-click Mixture Model, Laminar Flow to select
physics features from the context menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
The default Name (for the first physics interface in the model) is mm.
PHYSICAL MODEL
Specify the characteristics of the dispersed phase, the model for the slip velocity, and
whether or not to solve for the interfacial area.
Dispersed Phase
To characterize the Dispersed phase, select Solid particles (the default) or Liquid
droplets/bubbles.
The selection from this list is further defined for the Mixture Properties node under
the Mixture Model section.
Slip Model
To compute the slip velocity jslip (SI unit: m/s), select a Slip model — Homogeneous
flow (the default), Hadamard-Rybczynski, Schiller-Naumann, Haider-Levenspiel, or User
defined.
• The Homogeneous flow model assumes that the velocities of the two phases are equal,
that is, uslip = 0.
• In most cases there is a significant difference in the velocity fields due to the
buoyancy of the dispersed phase. Use one of the predefined slip models for such
cases.
• For User defined specify an arbitrary expression for the relative velocity. For example,
give a constant velocity based on experimental data. Enter the Slip velocity field uslip
(SI unit: m/s) or Slip flux jslip (SI unit: m/s) in the Mixture Properties node under
the Mixture Model section.
For the Mass Transfer rate, use a two-film theory model, which includes the interfacial
area per unit volume between the two phases. It is possible to compute the interfacial
area per unit volume if the number density n (that is, the number of dispersed particles
n j n nu
+ + slip c = 0
t
This equation states that a dispersed phase particle cannot disappear, appear, or merge
with other particles, although it can expand or shrink.
The Mixture Model, Laminar Flow Interface calculates the interfacial area a
(SI unit: m2/m3) from
13 23
a = 4n 3 d
Reference values
Reference values are global quantities used to evaluate the density of both phases and
the absolute pressure pA.
Reference pressure level There are generally two ways to include the pressure in fluid
flow computations: either to use the absolute pressure pA p pref, or the gauge
pressure p. When pref is nonzero, the physics interface solves for the gauge pressure
whereas material properties are evaluated using the absolute pressure. The reference
pressure level is also used to define the density of both phases. The default Reference
pressure level pref (SI unit: Pa) is 1[atm].
Swirl Flow
For 2D axisymmetric components, select the Swirl flow checkbox to include the swirl
velocity component — that is, the velocity component j in the azimuthal direction.
While j can be nonzero, there can be no gradients in the direction.
DEPENDENT VARIABLES
Enter values for the dependent variables (field variables):
The names can be changed but the names of fields and dependent variables must be
unique within a component.
The consistent stabilizations Streamline diffusion and Crosswind diffusion are by default
applied to the Navier-Stokes and dispersed phase transport equations. In addition, when
the flow is turbulent, the consistent stabilizations are also applied to the Turbulence.
Additional inconsistent stabilization terms may be added when required as isotropic
diffusion.
ADVANCED SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog. Normally these settings do not need
to be changed.
Penalty Diffusion can be used to suppress negative values of the dispersed volume
fraction. Including this term has been observed to slow down convergence and it is
therefore disabled by default.
Select the Use pseudo time stepping for stationary equation form checkbox to add
pseudo time derivatives to the equation when the Stationary equation form is used.
When selected, also choose a CFL number expression — Automatic (the default) or
Manual. Automatic sets the local CFL number (from the Courant–Friedrichs–Lewy
condition) to the built-in variable CFLCMP which in turn triggers a PID regulator for
the CFL number. For Manual enter a Local CFL number CFLloc (dimensionless).
• Pseudo Time Stepping for Laminar Flow Models in this guide and
Pseudo Time Stepping in the COMSOL Multiphysics Reference
Manual
• Domain and Boundary Nodes for the Mixture Model Interface
• Slip Velocity Models and Theory for the Mixture Model Interface
DOMAIN
• Mixture Properties
• Mass Transfer
• Volume Force (described for The Laminar Flow Interface)
• Gravity
• Initial Values
BOUNDARY
The boundary types for the mixture flow variables, described in this section, are:
PAIR
• Mixture Continuity
For the flow variables, the velocity and the pressure, the boundary conditions
correspond to those defined for single phase flow (see ). There is also a point constraint
The following boundary conditions for the dispersed phase are available for all
boundary condition types except symmetry and interior wall. These are described in
more detail in the .
Mixture Properties
The Mixture Properties node contains the material properties for the continuous phase
and the dispersed phase. It also contains settings for the viscosity model. For the
Mixture Model, Turbulent Flow interfaces, the Mixture Properties node also adds the
equations for the turbulence transport equations.
MODEL INPUTS
The viscosity of each phase can be defined through user inputs, variables, or by
selecting a material. For the latter option, additional inputs, for example temperature
or pressure, may be required to define these properties.
Temperature
By default, the Temperature model input is set to Common model input, and the
temperature is controlled from Default Model Inputs under Global Definitions or by a
locally defined Model Input. If a Heat Transfer interface is included in the component,
it controls the temperature Common model input. Alternatively, the temperature field
can be selected from another physics interface. All physics interfaces have their own
tags (Name). For example, if a Heat Transfer in Fluids interface is included in the
component, the Temperature (ht) option is available for T.
Absolute Pressure
This input appears when a material requires the absolute pressure as a model input.
The absolute pressure is used to evaluate material properties, but it also relates to the
value of the calculated pressure field. There are generally two ways to calculate the
pressure when describing fluid flow: either to solve for the absolute pressure or for a
pressure (often denoted gauge pressure) that relates to the absolute pressure through
a reference pressure.
The default Absolute pressure pA is p pref, where p is the dependent pressure variable
from the Navier–Stokes or RANS equations, and pref is from the user input defined at
the physics interface level. When pref is nonzero, the physics interface solves for a
gauge pressure. If the pressure field instead is an absolute pressure field, pref should be
set to 0.
The Absolute pressure field can be edited by clicking Make All Model Inputs Editable
( ) and entering the desired value in the input field.
MATERIALS
Select the fluid materials to use for the material properties. The default material used
for the Continuous phase is the Domain material. This corresponds to the material
currently applied to the domain in question. The Dispersed phase uses None per default.
A valid material must be selected instead.
The density in a material can depend on temperature and/or pressure and these
dependencies are automatically replaced by pref and Tref, which are specified at the
physics interface level.
The default Dynamic viscosity, continuous phase c (SI unit: Pa·s), uses values From
material. It describes the relationship between the shear stresses and the shear rate in a
The density in a material can depend on temperature and/or pressure and these
dependencies are automatically replaced by pref and Tref, which are specified at the
physics interface level.
Enter the Diameter of particles/droplets dd (SI unit: m). The default is 103 m (1 mm).
If Haider-Levenspiel is selected for the Slip model under Physical Model, enter a value
between 0 and 1 for the Sphericity (dimensionless). The default is 1.
If Liquid droplets/bubbles is selected from the Dispersed phase list in the interface, then
Dynamic viscosity, dispersed phase d (SI unit: Pa·s) is also available. The default uses
values From material (as selected in the Materials section) or select User defined to enter
another value or expression. In this case, the default is 0 Pa·s.
MIXTURE MODEL
The options in this section are based on the selection made from the Dispersed phase
list for the Mixture Model interfaces.
• When Slip velocity is set to Specify slip velocity field, enter the slip velocity between
the two phases, uslip (SI unit: m/s).
• When Slip velocity is set to Specify slip flux, enter the slip flux jslip (SI unit: m/s).
• When Solid particles is the Dispersed phase, select either Krieger type (the default) or
User defined.
• When Liquid droplets/bubbles is the Dispersed phase, select Krieger type (the default),
User defined, or Volume averaged.
For User defined enter a value or expression for the Dynamic viscosity (SI unit: Pas).
The default is 0 Pas. When using this option, make sure to limit the viscosity to
bounded positive values.
When Krieger type is selected, enter a value or expression for the Maximum packing
concentration max (dimensionless). The default is 0.62.
Select Krieger type to model the most generally valid expression for the mixture
viscosity:
d – 2,5 max
= c 1 – -----------
-
max
where max is the maximum packing concentration, which for solid particles is
approximately 0.62. The dimensionless parameter * 1 for solid particles and
d + 0,4 c
= --------------------------
-
d + c
for droplets and bubbles. When applying the Krieger type viscosity model, d is
replaced by min(d, 0.999max) for better robustness.
Select Volume averaged to model the mixture viscosity of liquid-liquid mixtures, which
uses the following equation for the viscosity:
= d d + c c
The Mixture Model interfaces always employ the mixture viscosity in the particle
Reynolds number expression used to calculate the slip velocity, thereby accounting for
the increase in viscous drag due to particle-particle interactions.
Mass Transfer
Use the Mass Transfer node to include mass transfer from the dispersed phase to the
continuous phase.
Nonequilibrium Model
For Nonequilibrium model enter values or expressions for each of the following:
m dc = d max f c d – eq 0 – max f d eq – d 0
Two-Film Theory
For Two-film theory enter values or expressions for each of the following:
m dc = k c d – c c Ma
where k denotes the mass transfer rate, and cd and cc are the species concentrations in
the dispersed and the continuous phase, respectively. M is the species’ molecular
weight, and a is the interfacial area per unit volume between the two phases. The Mass
transfer model — Two-film theory is available when the Solve for interfacial area
checkbox is selected (under the Physical Model section).
Gravity
The Gravity node adds the force g to the right-hand side of the momentum transport
equation.
Initial Values
The Initial Values node adds initial values for the mixture velocity, pressure, and volume
fraction of the dispersed phase, that can serve as an initial condition for a transient
simulation or as an initial guess for a nonlinear solver.
INITIAL VALUES
Enter values or expressions for the following dependent variables:
• Velocity field, mixture, the components of j (SI unit: m/s). The defaults are 0 m/s.
• Pressure p (SI unit: Pa). The default is 0 Pa.
• Volume fraction, dispersed phase (dimensionless). The default is 0.
• If the Solve for interfacial area checkbox is selected for the physics interface, enter an
initial value for the Number density, dispersed phase nd (SI unit: 1/m3). The default
is 0 1/m3.
• If a Schiller-Naumann or a Haider-Levenspiel slip model is used in the physics interface,
enter an initial value for the Squared slip velocity slipvel (SI unit: m2/s2). The
default is 0.081 m2/s2.
For the Mixture Model, Turbulent Flow interfaces, initial values for the turbulence
variables should be also specified. Additional initial values may be required for:
The following sections describe the available boundary conditions for the
mixture and the dispersed phase volume fraction. In all equations, n
denotes the outward pointing unit vector normal to the boundary.
Wall
The Wall node has boundary conditions available that describe the existence of a solid
wall.
• No Slip
• Slip
• Navier Slip
No Slip
No slip is the default boundary condition for the liquid. A no slip wall is a wall where
the mixture velocity relative to the wall velocity is zero. For stationary walls, it sets the
mixture velocity to zero at the wall:
j = 0
Slip
Select Slip to set the velocity component normal to the wall to zero j nwall 0.
F fr = – --- j tang
where is a slip length, and jtang j j nwallnwall is the velocity tangential to the
wall. The boundary condition does not set the tangential velocity component to zero;
however, the extrapolated tangential velocity component is 0 at a distance outside of
the wall. In cases where the wall movement is nonzero, select the Account for the
translational wall velocity in the friction force checkbox to use
j ubnd j ubnd nwallnwall instead of jtang in the friction force. Then, the
extrapolated tangential velocity component is ubnd at a distance outside of the wall.
Note that the Velocity of sliding wall uw is always accounted for in the friction force.
The Navier Slip boundary condition is suitable for walls adjacent to a free surface when
solving for laminar flow. Applying this boundary condition, the contact line
(fluid-fluid-solid interface) is free to move along the wall. Note that in problems with
contact lines, the tangential velocity of the wall typically represents the movement of
the contact line but the physical wall is not moving. In such cases, Account for the
translational wall velocity in the friction force should not be selected.
The Slip length setting is per default set to Factor of minimum element length. The slip
length is then defined as fhhmin, where hmin is the smallest element side
(corresponds to the element size in the wall normal direction for boundary layer
elements) and fh is a user input. Select User defined from the Slip length list to manually
prescribe
• For Dispersed phase concentration enter a Dispersed phase volume fraction d0
(dimensionless). The default is 0. When Solve for interfacial area is selected under
the Physical Model section, click either the Dispersed phase number density n0
(SI unit: 1/m3) or Diameter of particles/droplets dd (SI unit: m) button and enter a
value or expression for n0 (the default is 5·106 1/m3) or dd (the default is 1 mm).
• For Dispersed phase flux enter values or expression for the Dispersed phase flux Nd
(SI unit: m/s) and, if Solve for interfacial area is selected under the Physical Model
WALL MOVEMENT
This section contains controls to describe the wall movement relative to the lab (or
spatial) frame.
The Translational velocity setting controls the translational wall velocity, utr. The list is
per default set to Automatic from frame. The physics automatically detects if the spatial
frame moves. This can for example happen if an ALE interface is present in the model
component. If there is no movement utr 0. If the frame moves, utr becomes equal
to the frame movement. utr is accounted for in the actual boundary condition
prescribed in the Boundary condition section.
Select Manual from Translational velocity selection list in order to manually prescribe
Velocity of moving wall, utr. This can for example be used to model an oscillating wall
where the magnitude of the oscillations are very small compared to the rest of the
model. Specifying translational velocity manually does not automatically cause the
associated wall to move. An additional Moving Mesh interface needs to be added to
physically track the wall movement in the spatial reference frame.
The Sliding wall option is appropriate if the wall behaves like a conveyor belt; that is,
the surface is sliding in its tangential direction. A velocity is prescribed at the wall and
the boundary itself does not have to actually move relative to the reference frame.
• For 3D components, values or expressions for the Velocity of sliding wall uw should
be specified. If the velocity vector entered is not in the plane of the wall, COMSOL
Multiphysics projects it onto the tangential direction. Its magnitude is adjusted to
be the same as the magnitude of the vector entered.
• For 2D components, the tangential direction is unambiguously defined by the
direction of the boundary. For this reason, the sliding wall boundary condition has
different definitions in different space dimensions. A single entry for the Velocity of
the tangentially moving wall Uw should be specified in 2D.
Inlet
The Inlet node adds a set of boundary conditions that describe inlets in fluid-flow
simulations.
VELOCITY
For Velocity click the Normal inflow velocity (the default) or Velocity field buttons.
• For Normal inflow velocity enter a value or expression for J0 (SI unit: m/s).
• For Velocity field specify that the velocity at the boundary is equal to a given j0 (SI
unit: m/s) and enter the components in the matrix:
j = j0
PRESSURE
This condition specifies the normal stress which in most cases is approximately equal
to the pressure. Enter the Pressure p0 (SI unit: Pa) at the boundary. The default is 0 Pa.
Enter a relative pressure value in p0 (SI unit: Pa). Or if the reference pressure pref
defined at the physics interface level is equal to 0 Pa, enter an absolute pressure in p0.
• The Suppress backflow checkbox is selected by default. This option adjusts the inlet
pressure, p̂ 0 p 0 , locally in order to reduce the amount of fluid exiting the domain
through the boundary. If suppress backflow is deselected, the inlet boundary can
become an outlet depending on the pressure field in the rest of the domain.
Outlet
The Outlet node adds a selection of boundary conditions that describe outlets in
fluid-flow simulations; that is, the conditions at boundaries where the fluid exits the
domain.
PRESSURE CONDITIONS
The Pressure condition specifies the normal stress which in most cases is approximately
equal to the pressure. The tangential stress component is set to 0 N/m2.
• Enter the Pressure p0 (SI unit: Pa) at the boundary. The default is 0 Pa. Enter a
relative pressure value in p0 (SI unit: Pa). Or if the reference pressure pref defined
at the physics interface level is equal to 0 Pa, enter an absolute pressure in p0.
• Select the Normal flow checkbox to change the no tangential stress condition to a no
tangential velocity condition. This forces the flow to exit (or enter) the domain
perpendicularly to the outlet boundary.
• The Suppress backflow checkbox is selected by default. This option adjusts the outlet
pressure in order to reduce the amount of fluid entering the domain through the
boundary.
• For Normal outflow velocity enter a value or expression for J0 (SI unit: m/s).
• For Velocity field specify that the velocity at the boundary is equal to a given j0 (SI
unit: m/s) and enter the components in the matrix:
j = j0
When the Dispersed phase boundary condition is set to Dispersed phase outlet, the
Exterior dispersed phase condition(s) section contains an input field for the Dispersed
phase volume fraction on the downstream side of the outlet. If Solve for interfacial area
is selected at the physics interface level, additional input fields appear for the Dispersed
phase number density or the Diameter of particles/droplets on the downstream side of
the outlet.
Symmetry
The Symmetry node adds boundary conditions that describe symmetry boundaries in
fluid-flow simulations. The boundary condition for symmetry boundaries prescribes
no penetration and vanishing tangential stress:
T
j n = 0, t T c + d – u slip j slip + Gm n = 0
BOUNDARY SELECTION
A boundary condition for 2D axial symmetry is not required.
For the symmetry axis at r 0, the program automatically provides a condition that
prescribes ur 0 and vanishing stresses in the z direction and adds an Axial Symmetry
node that is valid on the axial symmetry boundaries only.
If the boundaries are curved, the orientation of the source must be specified manually
(see Orientation of Source).
PRESSURE DIFFERENCE
A value or expression should be specified for the Pressure difference, psrc pdst. This
pressure difference can, for example, drive the fully developed flow in a channel.
CONSTRAINT SETTINGS
This section is displayed by clicking the Show More Options button ( ) and selecting
Advanced Physics Options.
ORIENTATION OF SOURCE
For information about the Orientation of Source section, see Orientation of Source and
Destination in the COMSOL Multiphysics Reference Manual.
Interior Wall
The Interior Wall node adds a wall boundary condition on interior boundaries. It is
similar to the Wall boundary condition available on exterior boundaries except that it
applies on both sides of an interior boundary. It allows discontinuities of the dependent
No Slip
No slip is the default boundary condition for the mixture. A no slip wall is a wall where
the mixture velocity relative to the wall velocity is zero. For an interior stationary wall,
it sets the mixture velocity to zero at the wall:
j = 0
Slip
Select Slip to set the velocity component normal to the wall to zero j n 0.
Navier Slip
The Navier slip condition enforces no-penetration at the wall, j n 0, and adds a
friction force of the form
F fr = – --- j
where is a slip length. For more information, see the Navier Slip option in the Wall
feature.
WALL MOVEMENT
This section contains controls to describe the wall movement relative to the lab (or
spatial) frame.
The Translational velocity setting controls the translational wall velocity, utr. The list is
per default set to Automatic from frame. The physics automatically detects if the spatial
frame moves. This can for example happen if an ALE interface is present in the model
component. If there is no movement utr = 0. If the frame moves, utr becomes equal
to the frame movement. utr is accounted for in the actual boundary condition
prescribed in the Boundary condition section.
CONSTRAINT SETTINGS
This section is displayed by clicking the Show More Options button ( ) and selecting
Advanced Physics Options.
Wall
Mixture Continuity
The Mixture Continuity condition is suitable for pairs where the boundaries match; it
prescribes that the flow field is continuous across the pair.
The parts of the boundary where a source boundary lacks a corresponding destination
boundary and vice versa will get conditions from other boundary conditions under the
physics interface acting as fallback boundary conditions on the nonoverlapping parts.
By default, the Wall node is used as fallback unless another feature has been selected
for the boundary.
About Pairs
The physics interface solves two sets of Navier–Stokes equations, one for each phase,
in order to calculate the velocity field for each phase. The phases interchange
momentum as described by a drag model. The pressure is calculated from a
mixture-averaged continuity equation and the volume fraction of the dispersed phase
is tracked with a transport equation.
When this physics interface is added, the following default physics nodes are also added
in the Model Builder — Phase Properties, Wall, and Initial Values. Then, from the Physics
toolbar, add other nodes that implement, for example, boundary conditions and
volume forces. You can also right-click Euler-Euler Model, Laminar Flow to select physics
features from the context menu.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics
interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to
different physics interfaces, the name string must be unique. Only letters, numbers, and
underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is ee.
When Solid particles is selected, the section is available in the Phase Properties node.
Also see Dispersed Phase in the theory section.
PHYSICAL MODEL
Dispersed Phase
Select a Dispersed phase — Solid particles or Liquid droplets/bubbles.
When Solid particles is selected, the section is available in the Phase Properties node.
Also see Dispersed Phase in the theory section.
Reference Values
Reference values are global quantities used to evaluate the density of the fluid and
define the absolute pressure.
Reference pressure level There are generally two ways to include the pressure in fluid
flow computations: either to use the absolute pressure pA p pref, or the gauge
pressure p. When pref is nonzero, the physics interface solves for the gauge pressure
whereas material properties are evaluated using the absolute pressure. The reference
pressure level is also used to define the density of incompressible fluids.
DEPENDENT VARIABLES
The dependent variables (field variables) are:
The names can be changed but the names of fields and dependent variables must be
unique within a component.
CONSISTENT STABILIZATION
To display this section, click the Show More Options button ( ) and select Stabilization
in the Show More Options dialog.
ADVANCED SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog. Normally these settings do not need
to be changed.
The Residue volume fraction, continuous phase, c,res, and Residue volume fraction,
dispersed phase, d,res, set the smallest values used to avoid division by zero when
evaluating terms that involve 1c and 1d. Observe that this value does not prevent
c or d from becoming smaller than c,res and d,res, respectively.
Select the Use pseudo time stepping for stationary equation form checkbox to add
pseudo time derivatives to the equation when the Stationary equation form is used.
When selected, also choose a CFL number expression — Automatic (the default) or
Manual. Automatic sets the local CFL number (from the Courant–Friedrichs–Lewy
condition) to the built-in variable CFLCMP which in turn triggers a PID regulator for
the CFL number. For Manual enter a Local CFL number CFLloc (dimensionless).
DISCRETIZATION
The Euler-Euler Model, Laminar Flow interface supports three options for the basis
functions: P1+P1 (the default option), P2+P1, and P3+P2. They all represent
Lagrangian basis functions of different orders:
• P1+P1 – Linear basis functions for all degrees of freedom. Linear basis functions are
computationally less expensive than the higher-order options and are also more
robust. This option requires that Streamline diffusion is activated for both of the
momentum equations.
• P2+P1 – Quadratic basis functions for all degrees of freedom except the pressure
which is described by linear basis functions. Higher order elements, as compared to
linear elements, are a computationally effective way to obtain high accuracy but only
To see all settings available in this section, click the Show More Options button ( )
and select Advanced Physics Options.
• Pseudo Time Stepping for Laminar Flow Models in this guide and
Pseudo Time Stepping in the COMSOL Multiphysics Reference
Manual
• Isotropic Diffusion in the COMSOL Multiphysics Reference Manual
• Domain, Boundary, Point, and Pair Nodes for the Euler–Euler Model
Interfaces
• Theory for the Euler–Euler Model Interfaces
Domain, Boundary, Point, and Pair Nodes for the Euler–Euler Model
Interfaces
have the following domain, boundary, point, and pair nodes available from the Physics
ribbon toolbar (Windows users), Physics context menu (Mac or Linux users), or
right-click to access the context menu (all users).
The following nodes are described for the Laminar Flow interface:
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links
to common sections and Table 2-5 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Phase Properties
The Phase Properties node has the material properties settings for the pure continuous
and dispersed phases. It also has settings for the viscosity models for each of the two
interpenetrating phases and the drag model. When the dispersed phase consists of solid
particles, it also has settings for the solid pressure model.
MODEL INPUTS
Fluid properties, such as density and viscosity, can be defined through user inputs,
variables, or by selecting a material. For the latter option, additional inputs, for
example temperature or pressure, may be required to define these properties.
Temperature
By default, the Temperature model input is set to Common model input, and the
temperature is controlled from Default Model Inputs under Global Definitions or by a
locally defined Model Input. If a Heat Transfer interface is included in the component,
it controls the temperature Common model input. Alternatively, the temperature field
can be selected from another physics interface. All physics interfaces have their own
tags (Name). For example, if a Heat Transfer in Fluids interface is included in the
component, the Temperature (ht) option is available for T.
You can also select User defined from the Temperature model input in order to manually
prescribe T.
Absolute Pressure
This input appears when a material requires the absolute pressure as a model input.
The absolute pressure is used to evaluate material properties, but it also relates to the
value of the calculated pressure field. There are generally two ways to calculate the
pressure when describing fluid flow: either to solve for the absolute pressure or for a
pressure (often denoted gauge pressure) that relates to the absolute pressure through
a reference pressure.
The Absolute pressure field can be edited by clicking Make All Model Inputs Editable
( ) and entering the desired value in the input field.
MATERIALS
Select the materials to use for the material properties of the continuous phase and the
dispersed phase respectively (when they are defined to take their values From material).
By default, the default material used for the Continuous phase is the Domain material.
This corresponds to the material currently applied to the domain in question. The
Dispersed phase uses None per default. A valid material must be selected instead.
Other materials present can be selected from the Continuous phase or Dispersed phase
list in order to use that material’s properties for the liquid or gas, respectively.
The default Dynamic viscosity, pure continuous phase c (SI unit: Pa·s) uses values From
material. The value of the viscosity is then the value defined for the material selected in
the Materials section for the continuous phase. For User defined define a different value
or expression.
Enter a value or expression for the Diameter of particles/droplets dd (SI unit: m). The
default is 103 m (1 mm).
The Dynamic viscosity, pure dispersed phase d (SI unit: Pa·s) field is
available when Liquid droplets/bubbles is selected as the Dispersed phase in .
The default uses values From material. The value of the viscosity is then
the value defined for the material selected in the Materials section for the
dispersed phase. For User defined define a different value or expression.
VISCOSITY MODEL
Select a model for the Mixture viscosity — Krieger type (the default), Volume average
(available for liquid droplets and bubbles) or User defined. Krieger type is appropriate
for dispersed phases that do not form any pure phase regions. Volume average is more
appropriate when the dispersed phase effectively can become the only phase in some
regions.
• For Krieger type, select an option for Maximum packing concentration. The default is
to use d,max = 1.0 for droplets and bubbles and d,max = 0.62 for particles. Select
User defined to enter another value or expression for d,max.
• For User defined enter a value or expression for the Mixture viscosity. The default
expression corresponds to the Krieger type viscosity with maximum packing equal
to 0.62.
Select a Dynamic viscosity model, continuous phase — Mixture viscosity (default), Pure
phase value or User defined. The Mixture viscosity option is appropriate when the
maximum packing is controlled by the mixture viscosity. The Pure phase value option
is more appropriate if the maximum packing is controlled in some other way, for
example by solid pressure. Select User defined to enter an expression for the Dynamic
viscosity model, continuous phase.
Select a Dynamic viscosity model, dispersed phase — Mixture viscosity (default), Pure
phase value (available for bubbles and droplets), Gidaspow (available for solid particles)
m
or User defined. The Gidaspow model prescribes d = 0.5 d , which basically
m
prescribes a small value for d and should be combined with a solid pressure model.
• The Schiller–Naumann is valid for dispersed, rigid spheres and can be used for particle
Reynolds numbers less than approximately 2.5·105. The Schiller–Naumann model
is a general purpose model for diluted flows.
• The Hadamard–Rybczynzki is appropriate for diluted flows at low Reynolds numbers.
• The Ishii–Zuber model can for solid particles be regarded as a generalization of the
Schiller–Naumann model in that it can be used also for dense flows. For droplets
and bubbles, the Ishii–Zuber model also takes deformation of the fluid particles into
account. The deformation depends on the Surface tension coefficient, . Use a
predefined expression, select Library coefficient, liquid/gas interface or Library
coefficient, liquid/liquid interface. Then select an option from the list that displays
below (for example, Water/Air, Glycerol/Air and so forth). For User defined enter a
value or expression for the surface tension coefficient (SI unit: N/m).
• The Gidaspow model describes the drag force coefficient for dispersed phase flows
for all concentrations of the dispersed solid, including high concentrations.
• The Haider-Levenspiel model describes nonspherical particles for low and moderate
particle Reynolds numbers. Enter a value between 0 and 1 for the Sphericity Sp
(dimensionless).
• The Tomiyama et al. model describes the drag for diluted droplets and bubbles for
any particle Reynolds number. The correlation is available in three versions, Pure
fluid, Slightly contaminated fluid and Contaminated fluid. The Tomiyama et al. model
depends on the Surface tension coefficient, that is selected in the same way as for
the Ishii–Zuber model.
• The No solid pressure (the default) disables solid pressure and leaves the collision to
be described by a mixture viscosity. This option is appropriate for solid suspension,
typically solids suspended in liquids.
• The other options, Gidaspow-Ettehadieh, Gidaspow, Ettehadieh, and User-defined
modulus of elasticity describes particle-particle interaction for dispersed solids,
typically solid particles in gas flows. These options should be combined with the
m
Gidaspow model or a small user-defined value for d .
• For User-defined modulus of elasticity enter an expression for the Modulus of elasticity,
G (SI unit: N/m2).
Initial Values
The Initial Values node adds initial values for the velocity fields for the continuous and
dispersed phases, the pressure, and the volume fraction of the dispersed phase that can
serve as initial conditions for a transient simulation or as an initial guess for a nonlinear
solver.
INITIAL VALUES
Enter initial values or expressions in the tables for each component of:
• Pressure p
• Volume fraction, dispersed phase phid
MASS TRANSFER
Select a Mass transfer model — User defined (the default) or Nonequilibrium model. For
User defined enter a value or expression for the Mass transfer from dispersed to
continuous phase mdc (SI unit: kg/(m3·s)). The default is 0 kg/(m3·s).
Nonequilibrium Model
For Nonequilibrium model enter values or expressions for each of the following:
m dc = d max f c d – eq 0 – max f d eq – d 0
Interphase Velocity
Select Dispersed phase velocity field (the default) or User defined. For User defined enter
a value or expression for each component of the interphase velocity uint.
Gravity
The Gravity node adds the gravity force vector to the right-hand side of the momentum
equations; cg for the continuous phase and dg for the dispersed phase.
Gravity nodes are mutually exclusive, that is, there can only be one active Gravity node
per domain.
GRAVITY
Enter the components of the Gravity vector, g (SI unit: m/s2). For 2D components
the default Gravity vector is defined as 0-g_const. Here g_const is a physical
constant equal to 9.8066 m/s2. For 3D and 2D axisymmetric components, the gravity
acts in the negative z direction by default.
Volume Force
The Volume Force node specifies the volume forces on the right-hand side of the
momentum equations; Fc for the continuous phase and Fd for the dispersed phase. It
If several volume force nodes are added to the same domain, the sum of all
contributions are added to the respective momentum equations.
Wall
The Wall node includes a set of boundary conditions to describe the flow conditions
at a solid wall. The conditions for each phase are selected separately.
No Slip
A No slip condition models a wall where the velocity of the continuous phase relative
to the wall velocity is zero. For a stationary wall, it sets the velocity of the continuous
phase to zero:
uc = 0
For turbulent flows, wall functions are used to model the thin region near solid (no
slip) walls with high gradients in the flow variables
Slip
The Slip option prescribes a no-penetration condition. For a stationary wall, uc n 0.
It is implicitly assumed that there are no viscous effects at the slip wall and hence, no
boundary layer develops.
Leakage
ꞏ
Select the Leakage checkbox to specify an Inward continuous phase mass flux, m c (SI
2 ꞏ
unit: kg(m ·s)). This option is intended for small values of m c . For large mass fluxes,
select an Inlet feature instead.
WALL MOVEMENT
This section contains controls to describe the wall movement relative to the lab (or
spatial) frame.
The Translational velocity setting controls the translational wall velocity, utr. The list is
per default set to Automatic from frame. The physics automatically detects if the spatial
frame moves. This can for example happen if an ALE interface is present in the model
component. If there is no movement utr 0. If the frame moves, utr becomes equal
to the frame movement. utr is accounted for in the actual boundary condition
prescribed in the Boundary condition section.
Select Manual from Translational velocity selection list in order to manually prescribe
Velocity of moving wall, utr. This can for example be used to model an oscillating wall
where the magnitude of the oscillations are very small compared to the rest of the
model. Specifying translational velocity manually does not automatically cause the
associated wall to move. An additional Moving Mesh interface needs to be added to
physically track the wall movement in the spatial reference frame.
The Sliding wall option is appropriate if the wall behaves like a conveyor belt; that is,
the surface is sliding in its tangential direction. A velocity is prescribed at the wall and
the boundary itself does not have to actually move relative to the reference frame.
• For 3D components, values or expressions for the Velocity of sliding wall uw should
be specified. If the velocity vector entered is not in the plane of the wall, COMSOL
Multiphysics projects it onto the tangential direction. Its magnitude is adjusted to
be the same as the magnitude of the vector entered.
• For 2D components, the tangential direction is unambiguously defined by the
direction of the boundary. For this reason, the sliding wall boundary condition has
different definitions in different space dimensions. A single entry for the Velocity of
the tangentially moving wall Uw should be specified in 2D.
Inlet
The Inlet node prescribes the flow and turbulence conditions (when applicable) at a
boundary where one or both phases enter the adjacent domain.
CONTINUOUS PHASE
The options available in this section are based on the Two-phase inlet type selected.
When Mixture or Continuous phase is selected as the Two-phase inlet type the Velocity
field, continuous phase uc0 is prescribed.
When Dispersed phase is selected as the Two-phase inlet type, the conditions applied to
the continuous phase are No slip (uc0) or Slip (uc·n0, and no viscous stresses in the
tangential directions).
DISPERSED PHASE
The options available in this section are based on the Two-phase inlet type selected.
When Mixture or Dispersed phase is selected as the Two-phase inlet type, the Velocity
field, dispersed phase ud0.
The Dispersed phase boundary condition can be Volume fraction, Mass flux, or No flux.
• For Volume fraction, specify the Dispersed phase volume fraction, d0, at the inlet.
This option locks the value of d, but the exact flux depends on the dispersed phase
velocity, ud0.
ꞏ
• For Mass flux, prescribe describe the Inward dispersed phase mass flux, m d (SI unit:
2
kg(m ·s)). This option prescribes the flux for the dispersed phase, but the resulting
volume fraction at the inlet depends on the dispersed phase velocity, ud0.
When Continuous phase is selected as the Two-phase inlet type, the conditions applied
to the dispersed phase are No slip (ud0) or Slip (ud·n0, and no viscous stresses in the
tangential directions).
Outlet
This node is used to prescribe conditions at boundaries where the two-phase mixture
exits the computational domain. The settings available in the node specifies conditions
for the entire mixture, as opposed to the Inlet, Outlet and Wall nodes where the
conditions for can be specified for each phase individually.
Pressure Conditions
When Pressure, no viscous stress or Pressure, normal flow is selected as the Mixture
boundary condition, specify the Pressure p0 (SI unit: Pa) at the outlet. Note that the
prescribed pressure should be consistent with the reference pressure level specified at
the interface level as well as consistent with present volume forces (including gravity).
Velocity
Select Velocity to specify the Velocity field, continuous phase uc0 (SI unit: m/s) together
with the Velocity field, dispersed phase ud (SI unit: m/s) at the outlet.
Selecting Filtration on the other hand allows the continuous phase to exit the domain
but prevents the dispersed phase from exiting. This is achieved through a pressure (p0),
Pressure, no viscous stress is the least constraining option and allows the
flow to exit the domain in nonnormal directions.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
Interior Wall
The Interior Wall boundary condition can only be applied on interior boundaries.
No Slip
A No slip condition models a wall where the velocity of the continuous phase relative
to the wall velocity is zero. For an interior stationary wall, it sets the velocity of the
continuous phase to zero on both sides of the wall:
uc = 0
For turbulent flows, wall functions are used to model the thin region near solid walls
with high gradients in the flow variables.
WALL MOVEMENT
This section contains controls to describe the wall movement relative to the lab (or
spatial) frame.
The Translational velocity setting controls the translational wall velocity, utr. The list is
per default set to Automatic from frame. The physics automatically detects if the spatial
frame moves. This can for example happen if an ALE interface is present in the model
component. If there is no movement utr 0. If the frame moves, utr becomes equal
to the frame movement. utr is accounted for in the actual boundary condition
prescribed in the Boundary condition section.
Select Manual from Translational velocity selection list in order to manually prescribe
Velocity of moving wall, utr. This can for example be used to model an oscillating wall
where the magnitude of the oscillations are very small compared to the rest of the
model. Specifying translational velocity manually does not automatically cause the
associated wall to move. An additional Moving Mesh interface needs to be added to
physically track the wall movement in the spatial reference frame.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
Flow Continuity
The Flow Continuity condition is suitable for pairs where the boundaries match; it
prescribes that the flow field is continuous across the pair.
The parts of the boundary where a source boundary lacks a corresponding destination
boundary and vice versa will get conditions from other boundary conditions under the
About Pairs
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 601
General Single-Phase Flow Theory
The Single-Phase Fluid Flow interfaces are based on the Navier–Stokes equations,
which in their most general form read
------ + u = 0 (6-26)
t
u
------ + u u = – pI + K + F (6-27)
t
T p
C p T
------- + u T = – q + K:S – ---- ------- ------ + u p + Q (6-28)
t T p t
where
1
S = --- u + u T
2
To close the equation system, Equation 6-26 through Equation 6-28, constitutive
relations are needed.
For a Newtonian fluid, which has a linear relationship between stress and strain, Stokes
(Ref. 1) deduced the following expression:
2
K = 2S – --- u I (6-30)
3
The dynamic viscosity, (SI unit: Pa·s), for a Newtonian fluid is allowed to depend on
the thermodynamic state but not on the velocity field. All gases and many liquids can
be considered Newtonian.
For an inelastic non-Newtonian fluid, the relationship between stress and strain rate is
nonlinear, and an apparent viscosity is introduced instead of the dynamic viscosity.
Examples of non-Newtonian fluids are honey, mud, blood, liquid metals, and most
polymer solutions.
In theory, the same equations describe both laminar and turbulent flows. In practice,
however, the mesh resolution required to simulate turbulence with the Laminar Flow
interface makes such an approach impractical.
Many applications describe isothermal flows for which Equation 6-28 is decoupled
from Equation 6-26 and Equation 6-27.
2D AXISYMMETRIC FORMULATIONS
A 2D axisymmetric formulation of Equation 6-26 and Equation 6-27 requires to
be zero. That is, there must be no gradients in the azimuthal direction. A common
additional assumption is, however, that u 0. In such cases, the -equation can be
removed from Equation 6-27. The resulting system of equations is both easier to
converge and computationally less expensive compared to retaining the -equation.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 603
The default 2D axisymmetric formulation of Equation 6-26 and Equation 6-27
therefore assumes that
= 0
u = 0
Compressible Flow
The equations of motion for a single-phase fluid are the continuity equation:
------ + u = 0 (6-31)
t
u
------ + u u = – p + u + u T – --- u I + F
2
(6-32)
t 3
These equations are applicable for incompressible as well as for compressible flow with
density and viscosity variations.
The weakly compressible flow equations are valid for incompressible as well as
compressible flow with density variations independent of the pressure.
Provided that the densities dependency pressure is specified through model inputs, the
density is automatically evaluated at the reference pressure level.
u-
Ma = -----
a
The momentum equation, Equation 6-32, is parabolic for unsteady flow and elliptic
for steady flow, whereas the continuity equation, Equation 6-31, is hyperbolic for both
steady and unsteady flow. The combined system of equations is thus hybrid
parabolic-hyperbolic for unsteady flow and hybrid elliptic-hyperbolic for steady flow.
An exception occurs when the viscous term in Equation 6-32 becomes vanishingly
small, such as at an outflow boundary, in which case the momentum equation becomes
locally hyperbolic. The number of boundary conditions to apply on the boundary then
depends on the number of characteristics propagating into the computational domain.
For the purely hyperbolic system, the number of characteristics propagating from the
boundary into the domain changes as the Mach number passes through unity. Hence,
the number of boundary conditions required to obtain a numerically well-posed
system must also change. The compressible formulation of the laminar and turbulent
interfaces uses the same boundary conditions as the incompressible formulation, which
implies that the compressible interfaces are not suitable for flows with a Mach number
larger than or equal to one. Yet, the practical Mach number limit is lower than one.
The main reason is that the numerical scheme (stabilization and boundary conditions)
of the Laminar Flow interface does not recognize the direction and speed of pressure
waves. The fully compressible Navier–Stokes equations do, for example, start to display
very sharp gradients already at moderate Mach numbers. But the stabilization for the
single-phase flow interface does not necessarily capture these gradients. It is impossible
to give an exact limit where the low Mach number regime ends and the moderate
Mach number regime begins, but a rule of thumb is that the Mach number effects start
to appear at Ma 0.3. For this reason, the compressible formulation is referred to as
Compressible flow (Ma<0.3) in COMSOL Multiphysics.
Incompressible Flow
When the temperature variations in the flow are small, a single-phase fluid can often
be assumed incompressible; that is, is constant or nearly constant. This is the case for
all liquids under normal conditions and also for gases at low velocities. For constant ,
Equation 6-31 reduces to
u = 0 (6-33)
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 605
and Equation 6-32 becomes
u T
+ u u = – pI + u + u + F (6-34)
t
Re = UL
------------
where U denotes a velocity scale, and L denotes a representative length. The Reynolds
number represents the ratio between inertial and viscous forces. At low Reynolds
numbers, viscous forces dominate and tend to damp out all disturbances, which leads
to laminar flow. At high Reynolds numbers, the damping in the system is very low,
giving small disturbances the possibility to grow by nonlinear interactions. If the
Reynolds number is high enough, the flow field eventually ends up in a chaotic state
called turbulence.
Note that the Reynolds number can have different meanings depending on the length
scale and velocity scale. To be able to compare two Reynolds numbers, they must be
based on equivalent length and velocity scales.
The Fluid Flow interfaces automatically calculate the local cell Reynolds number
Rec uh2 using the element length h for L and the magnitude of the velocity
vector u for the velocity scale U. This Reynolds number is not related to the character
of the flow field, but to the stability of the numerical discretization. The risk for
numerical oscillations in the solution increases as Rec grows. The cell Reynolds
number is a predefined quantity available for visualization and evaluation (typically it
is available as: [Link]).
DEFINITION
The gravity force is defined from the acceleration of gravity vector, g, and the density,
. Under usual conditions and in Cartesian coordinates with the z-axis in the vertical
direction,
0
g = 0 .
– g const
u
------ + u u = – pI + u + u T – --- u I + F + g
2
(6-35)
t 3
u
------ + u u=
t
(6-36)
– pI + u + u T – --- u I + ref g r – r ref + F + – ref g
2
3
where r is the position vector and rref is an arbitrary reference position vector.
From this equation, it is convenient to define the reduced pressure which accounts for
the hydrostatic pressure, p̃ = p – ref g r – r ref
u
------ + u u = – p̃I + u + u T – --- u I +
2
t 3 (6-37)
F + – ref g
PRESSURE FORMULATION
When the relative pressure is used (default option) the interface dependent variable
represents the relative pressure and the absolute pressure is defined as pA pref p.
When the pressure is used to define a boundary condition (for example, when p0
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 607
defines the pressure condition at an outlet), it represents the relative pressure. Hence
defining the outlet pressure as phydro,approx refg r rref compensates for the
gravity force for an ambient reference pressure of 0 Pa when the density is constant,
there is no external force, and provided pref, g, and r0 are defined consistently.
When the reduced pressure is used, the interface dependent variable (named p by
default) represents the reduced pressure. The absolute pressure is then defined as
pA pref refg r rref p. In this case when the pressure is used to define a
boundary condition (for example, to define a pressure condition at an outlet), its value
corresponds to the reduced pressure. Hence, the prescribed pressure compensates for
an approximate hydrostatic pressure, phydro,approx refg r rref, which is exact
only when the density is constant and there is no external force.
For incompressible flow, assuming there are no external forces, this leads respectively
to p refg r rref p0 or p̃ = p 0 .
SLIP
The Slip condition assumes that there are no viscous effects at the slip wall and hence,
no boundary layer develops. From a modeling point of view, this is a reasonable
approximation if the important effect of the wall is to prevent fluid from leaving the
domain. Mathematically, the constraint can be formulated as:
u n = 0, – pI + u + u T n = 0
The no-penetration term takes precedence over the Neumann part of the condition
and the above expression is therefore equivalent to
u n = 0, K n – K n n n = 0
K n = u + u T n
expressing that there is no flow across the boundary and no viscous stress in the
tangential direction.
POROUS SLIP
The Porous slip option, which can be chosen in the Porous treatment of no slip condition
list when Enable porous media domains is activated, results in a special treatment of Wall
boundaries and Interior Wall boundaries adjacent to porous domains (Porous Medium
feature). Namely, similar to the Navier slip boundary condition, no penetration and
tangential stress conditions are applied at the wall:
u slip
u n = 0 K n – K n n n = – ----- ---------- ,
p y ps
T
u slip = u – u n n , K n = ----- u + u n
p
Here, Kn is the viscous wall traction, n is the wall normal, uslip is the tangential velocity
at the wall while real no slip is assumed to be applied at a distance dw (half-height of
the first cell adjacent to the wall) outside the wall, and is the porous slip length. An
analytical derivation of the velocity profile in the boundary layer where the pressure
gradient is balanced by the sum of the Darcy term, the Forchheimer drag, and the
viscous term (neglecting convective terms) leads to the following expression for yps:
1 + X e – p 1 + X e – p 2 d l pore
= l̃ -------------------------- -------------------------- e p – 1 ,
p p w
y ps
p = ------ , l̃ = ------------------------
–p 1 + X p l̃ 1 + 2c
1 – Xp e
1 + 2c – 1 + 4--- c 1 + 4c D – 1 ND 2
3
X p = --------------------------------------------------- , c = -------------------------------- , c D = ----------- ------ p - g
4 2
1 + 2c + 1 + --- c
3
wd l pore
y ps = l̃ e p – 1 , p = ------ , l̃ = ------------------------
l̃ 1 + 2c
ND u slip l pore 2 13
c = ---------------------------- ---------- 2
dw
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 609
Although this formulation is an approximation, since it uses the slip velocity at the wall
to reconstruct the pressure gradient, it is rather accurate. Moreover, the influence of
the convective terms is partially accounted for in this formulation.
SLIDING WALL
The sliding wall option is appropriate if the wall behaves like a conveyor belt; that is,
the surface is sliding in its tangential direction. The wall does not have to actually move
in the coordinate system.
The normalization makes u have the same magnitude as uw even if uw is not exactly
parallel to the wall.
Navier Slip
This boundary condition enforces no-penetration at the wall, u nwall 0, and adds a
tangential stress
K nt = – --- u slip
where Knt Kn Kn nwallnwallKn Knwall, and K is the viscous stress tensor. is
a slip length, and uslip u u nwallnwall is the velocity tangential to the wall. The
boundary condition does not set the tangential velocity component to zero; however,
the extrapolated tangential velocity component is 0 at a distance outside the wall.
The Slip Length setting is per default set to Factor of minimum element length. The slip
length is then defined as fhhmin, where hmin is the smallest element side
In cases where the wall movement is nonzero, Account for the translational wall velocity
in the friction force may be selected to use u ubnd u ubnd nwallnwall instead
of uslip in the friction force. Then, the extrapolated tangential velocity component is
ubnd at a distance outside of the wall. Note that the Velocity of sliding wall uw is
always accounted for in the friction force.
The Navier Slip option is not available when selecting a turbulence model.
CONSTRAINT SETTINGS
The wall feature uses three different techniques to constrain the velocity field:
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 611
constraint is only imposed approximately, and may produce small leaks. For more
information, see Nitsche Constraints.
• Automatic (default) use different constraint methods depending on whether only the
normal component of the velocity is prescribed, such as in the no penetration
condition, u · n 0, imposed, for example, in Slip walls or No Slip walls using Wall
Functions or Automatic Wall Treatment, or both tangential and normal
components are prescribed, as is the case of No Slip walls in laminar flow.
Nitsche constraints are used to impose the no penetration condition for Slip walls.
When a No Slip condition is prescribed, pointwise constraints are used except for
moving walls where Nitsche constraints are used.
• Pointwise constraints
• Nitsche constraints
• Weak constraints — these are not available on Interior Walls.
• Mixed constraints — this option is only available when both the tangential and
normal components of the velocity need to be prescribed. The velocity on the wall
normal direction is imposed via pointwise constraints. The constraint for the
tangential directions is relaxed, and Nitsche constraints are used instead. This
provides improved accuracy and performance when working with coarse boundary
layer meshes. For more information, see Ref. 18.
INLET CONDITIONS
An inlet requires specification of the velocity components. The most robust way to do
this is to prescribe a velocity field using a Velocity condition.
u n
– p + 2 --------- = F n (6-38)
n
u t
-------- = 0
n
which is what the Normal stress condition does. Vanishing tangential stress becomes a
less well-posed inlet condition as the Reynolds number increases. The Pressure
condition in the Inlet feature therefore requires a flow direction to be prescribed,
which provides a well-posed condition independent of Reynolds number.
OUTLET CONDITIONS
The most common approach is to prescribe a pressure via a normal stress condition on
the outlet. This is often accompanied by a vanishing tangential stress condition:
u t
-------- = 0
n
where utn is the normal derivative of the tangential velocity field. It is also possible
to prescribe ut to be zero. The latter option should be used with care since it can have
a significant effect on the upstream solution.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 613
layer depends on the Reynolds number; the higher the Reynolds number, the thinner
the boundary layer.
ALTERNATIVE FORMULATIONS
COMSOL Multiphysics provides several specialized boundary conditions that either
provide detailed control over the flow at the boundary or that simulate specific devices.
In practice they often prescribe a velocity or a pressure but calculate the prescribed
values using, for example, ODEs.
Mass Flow
The Mass flow boundary condition constrains the mass flowing into the domain across
an inlet or outlet boundary. The mass flow can be specified in a number of ways.
mf
u = – ------- n
– dbc u n dS = m
where dbc (only present in the 2D Cartesian axis system) is the boundary thickness
normal to the fluid-flow domain and m is the total mass flow rate. For the outlet
boundary, the mass flow rate boundary condition sets the total mass flow as
dbc u n dS = m
un = 0 (6-39)
– dbc ------st- u n dS = Qsv
where dbc (only present in the 2D component Cartesian axis system) is the boundary
thickness normal to the fluid-flow domain, st is the standard density, and Qsv is the
standard flow rate. The standard density is defined by one of the following equations:
M
st = -------n-
Vn
p st M n
st = ---------------
-
RT st
where Mn is the mean molar mass of the fluid, Vn is the standard molar volume, pst is
the standard pressure, R is the universal molar gas constant, and Tst is the standard
temperature. For the outlet boundary, the mass flow rate is set by the equation
dbc ------st- u n dS = Q sv
Equation 6-39 or Equation 6-40 is also enforced for compressible and incompressible
flow, respectively, ensuring that the normal component of the viscous stress and the
tangential component of the velocity are zero at the boundary.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 615
Fully Developed Flow (Inlet)
The Fully developed flow boundary condition can be understood from the following
figure:
pinl
The flow to the domain is assumed to enter through a straight channel of length L.
The channel is a virtual extrusion of the inlet cross section and a pressure constant
pressure Pinl is applied on the inlet of the virtual channel.
The Fully Developed Flow boundary condition prescribes that the tangential flow
component on the boundary is zero:
u – u n n = 0
The momentum equation for a fully developed flow in the virtual extrusion of the inlet
cross section can then be projected onto the inlet boundary with the following weak
equation as the result:
p + P inl
L – t u + t u + ----------------------- I : t û – P inl n û
T
2
The exact value of L is somewhat arbitrary as long as it is not too high or too low. L is
therefore set to ten times the inlet edge length in 2D and to ten times the square root
of the inlet area in 2D axisymmetry and in 3D.
The fact that the velocity profile is not prescribed, but rather the solution of a projected
weak contribution, means that the actual velocity profile that is obtained on the inlet
can deviate from the analytical fully developed flow profile (in cases such an analytical
solution exists) if required by the solution inside the computational domain, . This is
most notably if the flow is strongly curved just downstream of the inlet. This can, for
example, be the case if an object is positioned just downstream of the inlet or if the
adjacent boundaries are not orthogonal to the inlet. The analytical solution can in
these cases be recovered by including a little bit of the inlet channel in the
computational domain.
u n + U av P̂ inl
where denotes the average over the inlet. Since the equation for Pinl is a DAE (the
equation for Pinl does not contain Pinl), it must be solved coupled to Navier–Stokes
and it must be treated by a Vanka presmoother and postsmoother if iterative solvers are
used.
The boundary conditions for the virtual inlet channel are inherited from the
boundaries adjacent to the inlet channel. Virtual boundaries adjacent to walls (except
slip walls) are treated as no-slip walls. Virtual boundaries adjacent to any other type of
boundary are treated as slip-walls (or equivalently as symmetry boundaries). So in the
figure above, if the lower boundary of is a no-slip wall and the top boundary is a
symmetry boundary, the lower boundary of the virtually extruded channel becomes a
no-slip wall and the upper boundary becomes a symmetry boundary.
Algebraic turbulence models need additional equations or constraints. For all other
turbulence models, their weak equations in the virtual inlet channel are projected onto
the inlet of the computational domain. The projections are regularized to prevent the
production to fall to zero, so the solutions of the projects can show slight deviation
from the correct solutions close to no-slip walls.
pexit
The flow to the domain is assumed to enter through a straight channel of length L.
The channel is a virtual extrusion of the inlet cross section and a pressure constant
pressure Pexit is applied on the inlet of the virtual channel.
The Fully Developed Flow boundary condition prescribes that the tangential flow
component on the boundary is zero:
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 617
u – u n n = 0
The momentum equation for a fully developed flow in the virtual extrusion of the inlet
cross section can then be projected onto the inlet boundary with the following weak
equation as the result:
p + P exit
L – t u + t u + -------------------------- I : t û – P exit n û
T
2
The exact value of L is somewhat arbitrary as long as it is not too high or too low. L is
therefore set to ten times the inlet edge length in 2D and to ten times the square root
of the inlet area in 2D axisymmetry and in 3D.
The fact that the velocity profile is not prescribed, but rather the solution of a projected
weak contribution, means that the actual velocity profile that is obtained on the outlet
can deviate from the analytical fully developed flow profile (in cases such an analytical
solution exists) if required by the solution inside the computational domain, . The
inlet pressure, Pexit, must be solved for and the its equation is a discrete algebraic
equation (DAE) for Pexit. When, for example, the average velocity is specified, the
DAE reads
u n + U av P̂ exit
where denotes the average over the inlet. Since the equation for Pext is a DAE, it
must be solved coupled to Navier–Stokes and it must be treated by a Vanka
presmoother and postsmoother if iterative solvers are used.
The boundary conditions for the virtual outlet channel are inherited from the
boundaries adjacent to the outlet channel. Virtual boundaries adjacent to walls (except
slip walls) are treated as no-slip walls. Virtual boundaries adjacent to any other type of
boundary are treated as slip-walls (or equivalently as symmetry boundaries).
No Viscous Stress
For this module, and in addition to the Pressure, No Viscous Stress boundary
condition, the viscous stress condition sets the viscous stress to zero:
u + u T – 2
--- u I n = 0
3
u + u T n = 0
The condition is not a sufficient outlet condition since it lacks information about the
outlet pressure. It must hence be combined with pressure point constraints on one or
several points or lines surrounding the outlet.
This boundary condition is numerically the least stable outlet condition, but can still
be beneficial if the outlet pressure is nonconstant due to, for example, a nonlinear
volume force.
– pI + u + u T – 2
--- u I n = – f 0 n
3
– pI + u + u T n = – f 0 n
This implies that the total stress in the tangential direction is zero. This boundary
condition implicitly sets a constraint on the pressure which for 2D flows is
u n
p = 2 ---------- + f 0 (6-40)
n
The Normal Stress condition is the mathematically correct version of the Pressure
Conditions condition (Ref. 4), but it is numerically less stable.
– pI + u + u T – 2
--- u I n = – p 0 n (6-41)
3
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 619
– pI + u + u T n = – p 0 n (6-42)
u t (6-43)
– pI + u + u T – 2
--- u I n = – p̂ 0 n
3
, (6-44)
– pI + u + u T n = – p̂ 0 n
p̂ 0 p 0
un0 (6-45)
A pressure condition can also be applied at an inlet. In this case, either the normal stress
is prescribed
together with the tangential condition in Equation 6-43, or, a general flow direction
is prescribed.
T – pI + u + u T – 2
ru --- u I n = – p̂ 0 r n
3 u
T – pI + u + u T n = – p̂ r n
ru 0 u
(6-47)
p̂ 0 p 0
du
u – u r u r u = 0 r u = ----------
-
du
For incompressible single-phase flow, it is also allowed to specify the total pressure,
ptot, instead of the static pressure, pstat, on inlet and outlet boundaries. It is more
useful, for example, in pump applications. The pressure is then prescribed at the
boundaries using Bernoulli’s principle,
1 2
p = p stat = p tot – --- u (6-48)
2
T T
n – pI + u + u T n = n – p stat I + u + u T n (6-49)
where ptot and u2 are averaged over the boundaries using the aveop operator:
1 2
p stat = aveop p tot – --- aveop u
2
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 621
See Inlet, Outlet, Open Boundary, and No Viscous Stress for the individual node
settings. Note that some modules have additional theory sections describing options
available with that module.
Porous Interface
This condition properly accounts for a sudden jump in porosity p across boundary
between different domains, giving the corresponding jump in stress across the
interface. The emergence of a boundary layer on the upstream side of the interface is
also revealed, which provides modifications to the behavior of the tangential velocity
near the interface. The feature helps to avoid the need to add a very thin transition
region, in which p,upstream changes to p,downstream continuously, while solving the
Brinkman equation in such situations. Below, ‘’ and ‘’ (used as subscripts and
superscripts) refer to the upstream and downstream side of the interface, respectively.
Whatever the option for Continuity conditions is chosen, the velocity conditions are
u n = 0 ut u – u n n =0
That is, the mass flux and tangential velocity across the interface are constant, and n is
assumed to be a normal pointing from ‘’ to ‘’. Velocity and stress option just imposes
usual stress continuity adding a correction for a possible jump in density:
pn – Kn + u n -----
1 2u = 0
p
av
The option Velocity and porosity-corrected stress (default) adds a contribution due to
the inertial term, which is nontrivial (gives nonzero effect) when p jumps across the
interface:
pn – Kn + u n -----
1 2 u + u n --------
1 -
u av = 0
p 2 2p
av
This loss occurs in the downstream direction. Its mechanism is similar to the
mechanism of common engineering ‘total pressure loss’. Indeed, ‘expansion’ and
‘contraction’ across the interface experienced by the flow on the microscopic level (due
to increasing or decreasing porosity, p, respectively), are roughly equivalent to
expansion and contraction of flow in a pipe with geometrical variations. Accordingly,
it is assumed that only the normal velocity component is responsible for the loss. In
the case of normal flow and negligible viscous term the pipe-analogy is quite exact.
(loss,expansion) u n 2
p -
= K exp -----------------------
2 2p
(loss,contraction) u n 2
p = K contr -----------------------
-
2 2p
av u n u n 2
= ------- ----------------- – -----------------
(loss,expansion)
p
2 p p
1 u n - 1
2 2
------- – 1
(loss,contraction)
p = --- -----------------------
2 p
2
c vc
and requires to choose Vena contracta model. The User defined option asks for value of
Vena contracta coefficient (cvc 0.5 by default). Weisbach option computes the
coefficient based on the ratio of porosities across the interface:
p, n vc
c vc = c vc,ll + 1 – c vc,ll ----------
p,
and requires inputs for Lower limit and Exponent (cvc,ll 0.63 and nvc 3 are default
values).
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 623
Although the velocity conditions formally look the same for all Continuity conditions
options, the latter two (containing the inertial correction due to the porosity jump)
lead to an extra nontrivial effect. Namely, the tangential velocity exponentially evolves
over a boundary layer formed on the upstream side of the interface boundary. This
boundary layer has a characteristic length equal to
p,
l = --------------------
-
u n
The ratio of the tangential velocities right after the interface (‘downstream’) and
outside the boundary layer (‘upstream infinity’) is
u t, 2 p p
- = --------------------------------------------------------
------------------------------------------ -
u t,upstream infinity p p + p p
(i)
u t, 2
- = --------------------------------------------------------- 1
-----------------------------------------------
(i)
u t,upstream infinity p p
+ p p
Obviously, tangential component of the interstitial kinetic energy is lost across the
interface. For low viscosity and high normal-flow component, when lu is much lower
than lgeom (the characteristic geometry length) there are apparent variations in ut and
u(i)t in a thin boundary layer on the upstream side of the interface. However, for the
cases with high viscosity or nearly interface-parallel flow, lu is much larger than lgeom,
and any variations in ut and u(i)t are virtually invisible.
Notice that the feature does not take into account possible underresolved porous scale,
as is described in Theory for the Free and Porous Media Flow, Darcy Interface.
POINT SOURCE
ꞏ
A point source is theoretically formed by taking a mass injection/ejection, Q (SI unit:
3
kg/(m ·s)), in a small volume V and then letting the size of the volume tend to zero
while keeping the total mass flux constant. Given a point source strength, qꞏ p (SI unit:
kg/s), this can be expressed as
ꞏ
lim
V 0 Q = qꞏ p (6-50)
V
qꞏ p test p
ꞏ
is added to a point in the geometry. As can be seen from Equation 6-50, Q must tend
to plus or minus infinity as V tends to zero. This means that in theory the pressure
also tends to plus or minus infinity.
Observe that “point” refers to the physical representation of the source. A point source
can therefore only be added to points in 3D components and to points on the
symmetry axis in 2D axisymmetry components. Other geometrical points in 2D
components represent physical lines.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 625
The size of the region depends on the mesh and on the strength of the source. A finer
mesh gives a smaller affected region, but also a more extreme pressure value. It is
important not to mesh too finely around a point source since the resulting pressure can
result in unphysical values for the density, for example. It can also have a negative effect
on the condition number for the equation system.
LINE SOURCE
ꞏ
A line source can theoretically be formed by assuming a source of strength Q (SI unit:
3
kg/(m ·s)), located within a tube with cross-sectional area S and then letting S tend
to zero, while keeping the total mass flux per unit length constant. Given a line source
strength, qꞏ l (SI unit: kg/(m·s)), this can be expressed as
ꞏ
lim
S 0 Q = qꞏ l (6-51)
S
As in the point source case, an alternative approach is to assume that mass is injected/
extracted through the surface of a small object. This results in the same mass source,
but requires that effects on the fluid resulting from the physical object volume are
neglected.
qꞏ l test p
As with a point source, it is important not to mesh too finely around the line source.
For feature node information, see Line Mass Source and Point Mass
Source.
• The Line Mass Source node is available as two nodes, one for the fluid
flow (Fluid Line Source) and one for the species (Species Line Source).
• The Point Mass Source node is available as two nodes, one for the fluid
flow (Fluid Point Source) and one for the species (Species Point Source).
For optimal functionality, the exact weak formulations of and constants in the
streamline diffusion and crosswind diffusion methods depend on the order of the
shape functions (basis functions) for the elements. The values of constants in the
streamline diffusion and crosswind diffusion methods follow Ref. 5 and Ref. 6.
STREAMLINE DIFFUSION
For strongly coupled systems of equations, the streamline diffusion method must be
applied to the system as a whole rather than to each equation separately. These ideas
were first explored by Hughes and Mallet (Ref. 8) and were later extended to Galerkin
least-squares (GLS) applied to the Navier–Stokes equations (Ref. 9). This is the
streamline diffusion formulation that COMSOL Multiphysics supports.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 627
The governing equations for incompressible flow are subject to the Babuška–Brezzi
condition, which states that the shape functions (basis functions) for pressure must be
of lower order than the shape functions for velocity. If the incompressible Navier–
Stokes equations are stabilized by streamline diffusion, it is possible to use equal-order
interpolation. Hence, streamline diffusion is necessary when using first-order elements
for both velocity and pressure. This applies also if the model is solved using geometric
multigrid (either as a solver or as a preconditioner) and at least one multigrid hierarchy
level uses linear Lagrange elements.
CROSSWIND DIFFUSION
Crosswind diffusion can also be formulated for systems of equations, and when applied
to the Navier–Stokes equations it becomes a shock-capturing operator. COMSOL
Multiphysics supports the formulation in Ref. 9 with a shock-capturing viscosity of the
Hughes–Mallet type Ref. 8.
Incompressible flows do not contain shock waves, but crosswind diffusion is still useful
for introducing extra diffusion in sharp boundary layers and shear layers that otherwise
would require a very fine mesh to resolve.
The Limit small time steps effect on stabilization time scale option can be used to ramp
down the time-step contribution in the stabilization when the time step becomes much
smaller than the convective and diffusive time scales. This option prevents loss of
pressure stabilization at such small time steps.
NONLINEAR SOLVER
The nonlinear solver method depends on if the model solves a stationary or a
time-dependent problem.
Stationary Solver
In the stationary case, a fully coupled, damped Newton method is applied. The initial
damping factor is low since a full Newton step can be harmful unless the initial values
are close to the final solution. The nonlinear solver algorithm automatically regulates
the damping factor in order to reach a converged solution.
For advanced models, the automatically damped Newton method might not be robust
enough. A pseudo time-stepping algorithm can then be invoked. See Pseudo Time
Stepping for Laminar Flow Models.
Time-Dependent Solver
In the time-dependent case, the initial guess for each time step is (loosely speaking) the
previous time step, which is a very good initial value for the nonlinear solver. The
automatic damping algorithm is then not necessary. The damping factor in the
Newton method is instead set to a constant value slightly smaller than one. Also, for
the same reason, it suffices to update the Jacobian once per time step.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 629
It is seldom worth the extra computational cost to update the Jacobian more than once
per time step. For most models it is more efficient to restrict the maximum time step
or possibly lower the damping factor in the Newton method.
LINEAR SOLVER
The linearized Navier–Stokes equation system has saddle point character, unless the
density depends on the pressure. This means that the Jacobian matrix has zeros on the
diagonal. Even when the density depends on the pressure, the equation system
effectively shares many numerical properties with a saddle point system.
For small 2D and 3D models, the default solver suggestion is a direct solver. Direct
solvers can handle most nonsingular systems and are very robust and also very fast for
small models. Unfortunately, they become slow for large models and their memory
requirement scales as somewhere between N1.5 and N2, where N is the number of
degrees of freedom in the model. The default suggestion for large 2D and 3D models
is therefore the iterative GMRES solver. The memory requirement for an iterative
solver optimally scales as N.
Multigrid methods need smoothers, but the saddle point character of the linear system
restricts the number of applicable smoothers. The choices are further restricted by the
anisotropic meshes frequently encountered in fluid-flow problems. The efficiency of
the smoothers is highly dependent on the numerical stabilization. Iterative solvers
perform at their best when both Streamline Diffusion and Crosswind Diffusion are
active.
The default smoother for P1+P1 elements is SCGS. This is an efficient and robust
smoother specially designed to solve saddle point systems on meshes that contain
anisotropic elements. The SCGS smoother works well even without crosswind
diffusion. SCGS can sometimes work for higher-order elements, especially if Method in
the SCGS settings is set to Mesh element lines. But there is no guarantee for this, so the
A different kind of saddle point character can arise if the equation system contains
ODE variables. Some advanced boundary conditions can add equations with such
variables. These variables must be treated with the Vanka algorithm. SCGS includes an
option to invoke Vanka. Models with higher-order elements must apply SCGS or use
the Vanka smoother. The latter is the default suggestion for higher-order elements, but
it does not work optimally for anisotropic meshes.
TIME-DEPENDENT SOLVERS
The default time-dependent solver for Navier–Stokes is the BDF method with
maximum order set to two. Higher BDF orders are not stable for transport problems
in general nor for Navier–Stokes in particular.
BDF methods have been used for a long time and are known for their stability.
However, they can have severe damping effects, especially the lower-order methods.
Hence, if robustness is not an issue, a model can benefit from using the generalized-
method instead. Generalized- is a solver that has properties similar to those of the
second-order BDF solver but it is much less diffusive.
Both BDF and generalized- are per default set to automatically adjust the time step.
While this works well for many models, extra efficiency and accuracy can often be
gained by specifying a maximum time step. It is also often beneficial to specify an initial
time step to make the solver progress smoothly in the beginning of the time series.
• Time-Dependent Solver
• Multigrid, Direct, Iterative, SCGS, SOR Line, and Vanka
• Stationary Solver
T
u u = – pI + u + u + F (6-52)
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 631
Solving Equation 6-52 requires a starting guess that is close enough to the final
solution. If no such guess is at hand, the fully transient problem can be solved instead.
This is, however, a rather costly approach in terms of computational time. An
intermediate approach is to add a fictitious time derivative to Equation 6-52:
u – nojac u T
------------------------------- + u u = – pI + u + u + F
t̃
where t̃ is a pseudo time step. Since unojac(u) is always zero, this term does not
affect the final solution. It does, however, affect the discrete equation system and
effectively transforms a nonlinear iteration into a step of size t̃ of a time-dependent
solver.
Pseudo time stepping is not active per default. The pseudo time step t̃ can be chosen
individually for each element based on the local CFL number:
h
t̃ = CFL loc ------
u
where h is the mesh cell size. A small CFL number means a small time step. It is
practical to start with a small CFL number and gradually increase it as the solution
approaches steady state.
If the automatic expression for CFLloc is set to the built-in variable CFLCMP, then the
automatic setting suggests a PID regulator for the pseudo time step in the default
solver. The PID regulator starts with a small CFL number and increases CFLloc as the
solution comes closer to convergence.
The variable niterCMP is the nonlinear iteration number. It is equal to one for the first
nonlinear iteration. CFLloc starts at 1.3 and increases by 30% each iteration until it
reaches 1.39 10.6. It remains there until iteration number 20 at which it starts to
increase until it reaches approximately 106. A final increase after iteration number 40
For details about the CFL regulator, see Pseudo Time Stepping.
Nitsche Constraints
Some boundary conditions are implemented using Nitsche constraints. These
boundary conditions include
• Wall — Slip, sliding walls, and moving walls (that is, walls with nonzero
translational velocity).
• Periodic Flow Condition
• Flow Continuity
The formulation used in the Fluid Flow interfaces in single-phase flow interfaces
corresponds to the Symmetric Interior Penalty Galerkin method (SIPG). The SIPG
method can be regarded to satisfy the boundary conditions in an integral sense rather
than pointwise. More information on SIPG can be found in Ref. 15.
In particular, the SIPG formulation includes a penalty parameter that must be large
enough for the formulation to be coercive. The higher the value, the better the
boundary condition is fulfilled, but a too high value results in an ill-conditioned
equation system. The penalty parameter is implemented according to Ref. 16.
It is possible to model particle tracing with COMSOL Multiphysics provided that the
impact of the particles on the flow field is negligible. First compute the flow field, and
then, as an analysis step, calculate the motion of the particles. The motion of a particle
is defined by Newton’s second law
2
d x
= F t x
dx
m
dt2 dt
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 633
where x is the position of the particle, m the particle mass, and F is the sum of all forces
acting on the particle. Examples of forces acting on a particle in a fluid are the drag
force, the buoyancy force, and the gravity force. The drag force represents the force
that a fluid exerts on a particle due to a difference in velocity between the fluid and the
particle. It includes the viscous drag, the added mass, and the Basset history term.
Several empirical expressions have been suggested for the drag force. One of those is
the one proposed by Khan and Richardson (Ref. 13). That expression is valid for
spherical particles for a wide range of particle Reynolds numbers. The particle
Reynolds number is defined as
u – u p 2r
Re p = ----------------------------
where u is the velocity of the fluid, up the particle velocity, r the particle radius, the
fluid density, and the dynamic viscosity of the fluid. The empirical expression for the
drag force according to Khan and Richardson is
2 -0.31 3.45
F = r u – u p u – u p 1.84Re p + 0.293Re p0.06
2. P.M. Gresho and R.L. Sani, Incompressible Flow and the Finite Element Method,
Volume 2: Isothermal Laminar Flow, John Wiley & Sons, 2000.
4. R.L. Panton, Incompressible Flow, 2nd ed., John Wiley & Sons, 1996.
5. I. Harari and T.J.R. Hughes, “What are C and h? Inequalities for the Analysis and
Design of Finite Element Methods,” Comput. Methods Appl. Mech. Eng., vol. 97,
pp. 157–192, 1992.
7. R.B. Bird, W.E. Stewart, and E.N. Lightfoot, Transport Phenomena, 2nd ed., John
Wiley & Sons, 2007.
11. M.-C. Hsu, Y. Bazilevs, V.M. Cali, T.E. Tezduyar, and T.J.R. Hughes, “Improving
stability of stabilized and multiscale formulations in flow simulations at small time
steps,” Comput. Methods Appl. Mech. Eng., vol. 199, pp. 828–840, 2010.
12. D.J. Tritton, Physical Fluid Dynamics, 2nd ed., Oxford University Press, 1988.
13. J.M. Coulson and J.F. Richardson, “Particle Technology and Separation
Processes,” Chemical Engineering, Volume 2, Butterworth-Heinemann, 2002.
14. J.L. Guermond, P. Minev, and J. Shen, “An overview of projection methods for
incompressible flows,” Comput. Methods Appl. Mech. Eng., vol. 195, pp. 6011–
6045, 2006.
15. B. Rivière, Discontinuous Galerkin Methods for Solving Elliptic and Parabolic
Equations, SIAM, 2008.
17. R.P. Chhabra and J.F. Richardson, Non-Newtonian Flow and Applied Rheology,
2nd ed., Elsevier, 2008.
18. Y. Bazilevs and T.J.R. Hughes, “Weak imposition of Dirichlet boundary conditions
in fluid mechanics,” Comput. Fluids, vol. 36, pp. 12–26, 2007.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 635
636 | CHAPTER 6: FLUID FLOW INTERFACES
Theory for the Darcy’s Law Interface
The Darcy’s Law Interface theory is described in this section:
Darcy’s law describes flow in porous media driven by gradients in the hydraulic
potential field, which has units of pressure. For many applications it is convenient to
represent the total hydraulic potential or the pressure and the gravitational
components with equivalent heights of fluid or head. Division of potential by the fluid
weight can simplify modeling because units of length make it straightforward to
compare to many physical data. Consider, for example, fluid levels in wells, stream
heights, topography, and velocities. The physics interface also supports specifying
u = – --- p (6-54)
In this equation, u is the Darcy’s velocity or specific discharge vector (SI unit: m/s);
is the permeability of the porous medium (SI unit: m2); is the fluid’s dynamic
viscosity (SI unit: Pa·s); p is the pore pressure (SI unit: Pa) and is the density of the
fluid (SI unit: kg/m3).
The Darcy’s Law interface combines Darcy’s law with the continuity equation
p + u = Q m (6-55)
t
In the above equation, is the fluid density (SI unit: kg/m3), p is the porosity, and
Qm is a mass source term (SI unit: kg/(m3·s)). Porosity is defined as the fraction of
the control volume that is occupied by pores. Thus, the porosity can vary from zero
for pure solid regions to unity for domains of free flow.
For large-scale applications it might be necessary to take gravity effects into account.
Darcy’s law then applies when the gradient in hydraulic potential drives fluid
movement in the porous medium. Darcy’s law then has the form:
• See the section Gravity Effects in the Subsurface Flow Module User’s
Guide.
• Note that gravity effects are only included in some modules. For a
detailed overview of the functionality available in each product visit
[Link]
• Gravity effects are not active by default. Select the checkbox Include
gravity to activate the acceleration of gravity. Setting the elevation D to
zero also turns off gravity effects.
Storage Models
The continuity equation (Equation 6-55) allows flexible specification of relationships
between parameters like density or permeability with respect to variables such as
pressure, temperature, concentration, and more.
Expanding the time-derivative term and defining the porosity and density as functions
of the pressure and using the chain rule results in
= -----
- p - -----
p- p p
p t + t = p p t + p t
-------- ----- -------- ------
t p
p p p
---------------- = p f + -------p- ------ = S p ------
t p t t
Using this relation, the generalized governing equation (Equation 6-55) takes the
following form:
p
S p ------ + u = Q m (6-57)
t
In this equation, Sp is the storage coefficient (SI unit: 1/Pa), which can be interpreted
as the weighted compressibility of the porous material and the fluid. The storage can
be an expression involving results from a solid-deformation equation or an expression
involving temperatures and concentrations from other analyses. The Darcy’s Law
• From density and porosity, where the storage directly depends on changes in porosity
or fluid density
• Linearized storage, which defines Sp using the compressibility of the fluid f and of
the porous matrix p according to
S p = p f + 1 – p p
Storage models are only available for the Subsurface Flow Module and
the Porous Media Flow Module. For a detailed overview of the
functionality available in each product visit [Link]
products/specifications/.
The term Qip describes the mass source from the Interporosity Flow which is the mass
transfer from the macropores to the micropores system. An additional ODE for the
(passive) micropores is solved which only act as additional storage volume:
p m
1 – M S p,m ---------- = 1 – M Q M + Q ip .
t
M p,M + u M = – Q ip + M Q m
t
(6-59)
1 – M p,m + u m = Q ip + 1 – M Q m
t
p = M p M + 1 – M p m
M is the volume fraction of the macropores, Qip denotes the interporosity flow,
signifying the mass transfer from the macropores (identified by index M) to the
micropores (identified by index m).
Solving Darcy’s law for both systems entails solving two equations, each associated
with dependent pressure variables pm and pM. These equations are coupled via Qip.
From this, average quantities for the dual permeability medium as a whole are
computed. The average pressure of the dual permeability medium is defined as:
p = M p M + 1 – M p m
Likewise, average values for permeability, storage, velocity and other relevant
parameters are computed.
M is the volume fraction of the macropores, Qip is the interporosity flow which is the
mass transfer from the macroscale to the microscale system. The indices M and m stand
for macropores and micropores, respectively.
INTERPOROSITY FLOW
Specify the Fluid Transfer Function w which is used to calculate the interporosity flow,
which is the mass exchange between macro- and microscale system:
Q ip = w p M – p m (6-61)
with pM being the pressure within the macroscale system and pm the pressure within
the microscale system
6. Ö. Akgiray and A.M. Saatçı, “A New Look at Filter Backwash Hydraulics,” Water
Sci. Technol. Water Supply, vol. 1, no. 2, pp. 65–72, 2001.
8. Yu-Shu Wu and others, “Gas Flow in Porous Media with Klinkenberg Effects,”
Transp. Porous Media, vol. 32, pp. 117–137, 1998.
The same fields, u and p, are solved for in both the free flow domains and in the porous
domains. This means that the pressure in the free fluid and the pressure in the pores is
continuous over the interface between a free flow domain and a porous domain. It also
means that continuity is enforced between the fluid velocity in the free flow and the
Darcy velocity in the porous domain. This treatment is one of several possible models
for the physics at the interface. Examples of other models can be found in Ref. 1.
Reference for the Free and Porous Media Flow, Brinkman Interface
1. M.L. Bars and M.G. Worster, “Interfacial Conditions Between a Pure Fluid and a
Porous Medium: Implications for Binary Alloy Solidification,” J. Fluid Mech.,
vol. 550, pp. 149–173, 2006.
In the free-flow region, the velocity u and pressure p are solved for, whereas in the
porous region only the pressure p is solved for, and the velocity is calculated from the
pressure by Darcy’s law.
The coupling between the free and porous medium flow, implemented by the Free and
Porous Media Flow Coupling, ensures conservation of mass across the free-porous
interface, which is enforced by the condition
n ns u ns = n d u d (6-62)
Here ns and uns are the density and velocity on the free-flow side of the interface, d
and ud the density and velocity on the porous side, and n is a vector normal to the
interface. In addition the coupling enforces the balance of the normal forces by:
p ns – n Kn = p d (6-63)
where pns and pd are the pressure on the free-flow side and porous side of the
interface, respectively, and K is the viscous stress tensor (defined only on the free-flow
side).
For the coupling condition for the tangential velocity component, there are several
options. One of the most widely used conditions is the Beavers-Joseph interface
condition (Ref. 1):
tr n
I – n n u ns – u d = ------------------------ I – n n Kn (6-64)
ns BJ
where aBJ is the Beavers and Joseph parameter, is the permeability tensor of the
porous medium (defined on the porous side of the interface), ns is the fluid’s dynamic
viscosity on the free-flow side of the interface, and n is the number of space
dimensions.
THEORY FOR THE FREE AND POROUS MEDIA FLOW, DARCY INTERFACE | 645
When the velocity in the porous domain is much smaller than the velocity in the free
flow, one can use a modification of the Beavers–Joseph condition which is given by the
Beavers–Joseph–Saffman interface condition (Ref. 2):
tr n
I – n n u ns = ------------------------ I – n n Kn (6-65)
ns BJ
For cases when the permeability tensor is not isotropic, the Use projected permeability
option allows to take into account only the permeability in the direction of the
tangential velocity component. This is accomplished by replacing the tr n term
on the rights hand side of Equation 6-64 and Equation 6-65 by:
t t (6-66)
with t a unit vector tangent to the interface for 2D and 2D-axisymmetric cases, and for
3D cases by:
v v (6-67)
I – n n Kn -
v = ------------------------------------------ (6-68)
I – n n Kn
If one considers the limit of the Beavers–Joseph condition for large values of the
Beavers and Joseph parameter aBJ, one obtains the Continuous tangential velocity
condition:
I – n n u ns – u d = 0 (6-69)
The same limit for the Beavers–Joseph–Saffman condition results in the No slip
condition:
I – n n u ns = 0 (6-70)
The Viscous slip condition allows for a more general coupling condition. This interface
condition is given by:
Ls
I – n n u ns – u b = --------- I – n n Kn (6-71)
ns
References
1. G.S. Beavers and D.D. Joseph, “Boundary Conditions at a Naturally Permeable
Wall,” J. Fluid Mech., vol. 30, 1967.
2. P.G. Saffman, “On the Boundary Condition at the Surface of a Porous Medium,”
Stud. Appl. Math., vol. 50, no. 2, pp. 93–101, 1971.
THEORY FOR THE FREE AND POROUS MEDIA FLOW, DARCY INTERFACE | 647
Theory for the Brinkman Equations
Interface
theory is described in this section:
Porosity is defined as the fraction of the control volume that is occupied by pores.
Thus, the porosity can vary from zero for pure solid regions to unity for domains of
free flow.
The physical properties of the fluid, such as density and viscosity, are defined as
intrinsic volume averages that correspond to a unit volume of the pores. Defined this
way, they present the relevant physical parameters that can be measured experimentally,
and they are assumed to be continuous with the corresponding parameters in the
adjacent free flow.
- u
+ u ----- =
u
----
p t p
(6-73)
1 T 2 Q m
– p + ----- u + u – --- u I – – 1 + -------- u+F
p 3 p2
In these equations:
Influence of gravity and other volume forces can be accounted for via the force term
F (SI unit: kg/(m2·s2)).
When the Neglect inertial term (Stokes flow) checkbox is selected, the term (u · u
p) on the left-hand side of Equation 6-73 is disabled.
The mass source, Qm, accounts for mass deposit and mass creation within the domains.
The mass exchange is assumed to occur at zero velocity.
The Forchheimer and Ergun drag options add a viscous force proportional to the
square of the fluid velocity, F uu, on the right-hand side of Equation 6-73 .
In case of a flow with variable density, Equation 6-72 and Equation 6-73 must be
solved together with the equation of state that relates the density to the temperature
and pressure (for instance the ideal gas law).
For incompressible flow, the density stays constant in any fluid particle, which can be
expressed as
+ u = 0
t p
2. M. Le Bars and M.G. Worster, “Interfacial Conditions Between a Pure Fluid and a
Porous Medium: Implications for Binary Alloy Solidification,” J. Fluid Mech.,
vol. 550, pp. 149–173, 2006.
s + i ui = Qi (6-74)
t p i i
where p (dimensionless) is the porosity, and the vector ui should be interpreted as the
volumetric flux of phase i (SI unit m3/(m2·s) or m/s). The volumetric fluxes are
determined using the extended Darcy’s law (Ref. 2)
ri
u i = – ------- p i – i g (6-75)
i
where denotes the permeability (SI unit: m2) of the porous medium, g the
gravitational acceleration vector (SI unit: m/s2), and i the dynamic viscosity (SI unit:
kg/(m·s)), pi the pressure field (SI unit: Pa), and ri the relative permeability
(dimensionless) of phase i, respectively. The phase pressures pi are related through the
capillary pressure functions p cij :
si = 1 (6-77)
i=1
Pressure-Saturation Formulation
The algebraic relations in Equation 6-76 and Equation 6-77 allow for a reduction of
the number of dependent variables. An often used way is to eliminate N 1 phase
pressures and one of the saturations. This results in a so-called pressure-saturation
N
s i
sic = 1–
(6-78)
i = 1 i i c
p i = p ic + p c s 1 s N for i i c (6-79)
i
The equations for the saturations si, (i ic) are given by Equation 6-74 and
Equation 6-75. To arrive at an equation for p ic , the conservation equations of all
phases are summed. This results in
N
N
p i si +
u
i i = Q tot (6-80)
t
i=1 i = 1
Q tot = Qi (6-81)
i=1
The equations for the saturations si are solved in the Phase Transport in Porous Media
interface (Equation 6-74 and Equation 6-75). The Equation 6-80 for the pressure
field p i c , needed as an input to the Phase Transport in Porous Media interface, is solved
for in the Darcy’s Law interface: the Multiphase Flow in Porous Media multiphysics
coupling interface replaces the equation
1
+ tot u d = Q m where u d = – --- p – tot g (6-82)
t p tot
which is originally implemented in the Darcy’s Law interface, with Equation 6-80 by
adding the following terms to the left-hand side of Equation 6-82:
N
i u i – tot u d (6-83)
i = 1
tot = i si (6-84)
i=1
Note that when the hydraulic conductivity of a domain is specified in the Darcy’s Law
interface (instead of the permeability), the coupled Phase and Porous Media Transport
Properties feature is supplied with a permeability that is computed using a reference
kinematic viscosity of 1.004*106 m2·s1 (kinematic viscosity of water at 293.15 K).
In the other direction, the multiphysics coupling node provides the averaged density
(denoted by tot in Equation 6-83 above) and effective viscosity to the Darcy’s Law
interface.
Qic = – Qi (6-85)
i = 1 i i c
However, when mass is transferred from or to phases not accounted for in the phase
transport interface — for instance, when mass is released or absorbed by the solid part
of the porous matrix — select the Mass transfer to other phases checkbox. In this case
the mass source for the phase calculated from the volume constraint should also be
specified, and the net total mass source Qtot is supplied as a right-hand side to the
Darcy Equation 6-80 for p ic .
Boundary Conditions
When supplying boundary conditions for the coupled Phase Transport in Porous Media
and Darcy’s Law interfaces, bear in mind that the Pressure boundary condition in the
Darcy’s Law interface affects the pressure of the phase from the volume constraint, p i c .
If the pressure of another phase needs to supplied, then take into account the capillary
pressure.
Since the coupled Darcy’s Law interface uses the conservation equation for the total
mass (Equation 6-80) to solve for p ic , the Mass Flux boundary condition in the Darcy’s
Law interface should be used to prescribe the mass flux of all phases together.
If the mass flux of the phase computed from the volume constraint needs to be
prescribed at a boundary, and the total mass flux is not known a priori, it might be
necessary to compute for the total mass flux in the form of a Lagrange multiplier by
using the weak constraint formulation for the pressure boundary condition in the
Darcy’s Law interface.
The following assumptions, used in deriving the Thin Barrier equations from the
equations solved in the Multiphase Flow in Porous Media interface, justify the
simplification n:
s + n i u i = 0 for i i c (6-86)
t p i i
ri
u i = – ------- n p i (6-87)
i
N
N
p i si + n
i u i = 0
(6-88)
t
i=1 i = 1
N
s i
sic = 1–
(6-89)
i = 1 i i c
p i = p ic + p c s 1 s N for i i c (6-90)
i
Here p (dimensionless) denotes the porosity and the permeability (SI unit: m2) of
the porous material in the thin barrier. Further more i denotes the density (SI unit:
kg/m3), i the dynamic viscosity (SI unit: kg/(m·s)), pi the pressure field (SI unit:
Pa), ui the (normal) volumetric flux (SI unit: m/s) and ri the relative permeability
(dimensionless) of phase i, respectively.
Since the interfaces between the thin barrier and the adjacent domains are boundaries
between a more permeable and a less permeable porous domain, conditions analogous
to the Porous Medium Discontinuity Boundary Condition are needed to couple the
equation Equation 6-86 for the saturations inside the thin barrier to the equations in
the adjacent domains. These condition at the extremities of the extra dimension can
be written as:
t d d t
t t p ec i if p ci s i p ec i
p ci si L = 0 = for i i c (6-91)
p dc s di if
d d
p ci s i p ec i
t
i
where the superscript t is used to indicate the saturation and capillary pressure inside
the thin barrier (the low permeable side of the interface), and the superscript d
t u u t
t t p ec i if p c i s i p ec i
p ci s i L = ds = for i i c (6-92)
p uc s ui if
u u t
p ci s i p ec i
i
where the superscript u indicates the domain adjacent to the upside of the thin barrier
(again the high permeable side) and where ds is the length of the extra dimension, or
equivalently, the thickness of the thin structure.
The additional conditions are continuity of the fluxes for all phases and continuity of
the pressure of the phase ic computed from the volume constraint. Note that this last
condition assumes that this phase is present both inside the thin barrier and in the
adjacent domains. Furthermore, this boundary condition assumes that the phase ic
computed from the volume constraint is the wetting phase and it is necessary that the
settings for the van Genuchten or Brooks and Corey capillary pressure model in the
adjacent domains match this assumption.
• Theory for the Phase Transport Interfaces in the CFD Module User’s
Guide and
• Using Extra Dimensions in the COMSOL Multiphysics Reference
Manual.
References
1. J. Bear, Dynamics of Fluids in Porous Media, Elsevier Scientific Publishing, 1972.
In this section:
Based on these assumptions, the momentum and continuity equations for the two
phases can be combined and a gas phase transport equation is kept in order to track
the volume fraction of the bubbles. The momentum equation is
u l
l l + l l u l u l =
t
(6-93)
= – p + l l + T u l + u l – --- u l I + l l g + F
T 2
3
The subscripts “l” and “g” denote quantities related to the liquid phase and the gas
phase, respectively.
+ g g + l l ul + g g ug = 0 (6-94)
t l l
g g
--------------- + g g u g = – m gl (6-95)
t
where mgl is the mass transfer rate from the gas to the liquid (SI unit: kg/(m3·s)).
For low gas volume fractions ( g 0.01 ), you can replace the momentum equations,
Equation 6-93, and the continuity equation, Equation 6-94, by
u l
l + l u l u l =
t (6-96)
T
= – p + l + T u l + u l + l l g + F
l ul = 0 (6-97)
By default, the Laminar Bubbly Flow interface uses Equation 6-96 and 6-97. To
switch to Equation 6-93 and 6-94, click to clear the Low gas concentration checkbox
under the Physical Model section.
̃ g = g g
the effective gas density. The gas velocity ug is the sum of the following velocities:
where uslip is the relative velocity between the phases and udrift is a drift velocity (see
Turbulence Modeling in Bubbly Flow Applications). The physics interface calculates
the gas density from the ideal gas law:
p + p ref M
g = -----------------------------
-
RT
where M is the molecular weight of the gas (SI unit: kg/mol), R is the ideal gas
constant (8.314472 J/(mol·K)), pref a reference pressure (SI unit: Pa), and T is
temperature (SI unit: K). pref is a scalar variable, which by default is 1 atm (1
atmosphere or 101,325 Pa). The liquid volume fraction is calculated from
l = 1 – g
g
u drift = – D gc ---------- (6-99)
g
where
T
D gc = -----------
-
l T
Inserting Equation 6-99 and Equation 6-98 into Equation 6-95 gives
g g
--------------- + g g u l + u slip = D gc g g – m gl
t
That is, the drift velocity introduces a diffusive term in the gas transport equation. This
is how the equation for the transport of the volume fraction of gas is actually
implemented in the physics interface.
n n u
+ l + u slip = D gc n
t
The number density and the volume fraction of gas give the interfacial area per unit
volume (SI unit: m2/m3):
13 23
a = 4n 3 g
SLIP MODEL
The simplest possible approximation for the slip velocity uslip is to assume that the
bubbles always follow the liquid phase; that is, uslip 0. This is known as
homogeneous flow.
A better model can be obtained from the momentum equation for the gas phase.
Comparing size of different terms, it can be argued that the equation can be reduced
to a balance between the viscous drag force, fD and the pressure gradient (Ref. 3), a so
called pressure-drag balance:
l p = f D (6-100)
3 l
f D = – C d --- ------ u slip u slip (6-101)
4 db
where in turn db (SI unit: m) is the bubble diameter, and Cd (dimensionless) is the
viscous drag coefficient. Given Cd and db, Equation 6-100 can be used to calculate the
slip velocity. In practice, Equation 6-100 is multiplied by l to reduce the slip velocity
for large values of g.
16 d b l u slip
C d = ---------- , Re b = --------------------------
-
Re b l
For bubbles with diameter larger than 2 mm, the model suggested by Sokolichin,
Eigenberger, and Lapin (Ref. 1) is a more appropriate choice:
0,622 -
C d = ----------------------------
1
------- + 0,235
Eö
2
g l d b
Eö = --------------
-
Here, g is the magnitude of the gravity vector and the surface tension coefficient.
S k = – C k g p u slip
The transport equation for the turbulent energy’s dissipation rate, includes the
following source term:
The following source term is added to the transport equation for the specific
dissipation rate, :
S k ----
k
Suitable values for the model parameters Ck, C, and are not as well established as
the parameters for single-phase flow. In the literature, values within the ranges
0.01 < Ck < 1, 1 C 1.92 have been suggested (Ref. 1), and can be defined as
C 1.
u slip l w
2 ------------------------------ S
- – -----k-
u slip l w k
where lw is the wall distance variable and its gradient gives the wall-normal direction.
Such modeling assumes that the bubble-induced turbulence kinetic energy is pumped
into the component of k aligned with uslip.
The turbulent viscosity appears in the momentum equation and when adding a drift
term to the gas velocity:
g
u drift = – D gc ----------
g
Using a turbulence model that solves for the turbulent kinetic energy, k, together with
a gas concentration that is not assumed to be low, the stress tensor contains an extra
contribution, and the momentum equations becomes
u l
l l + l l u l u l =
t
(6-103)
= – p + l l + T u l + u l – --- u l I – --- l l kI + l l g + F
T 2 2
3 3
4. M.P. Schwarz and W.J. Turner, “Applicability of the Standard k- Turbulence Model
to Gas-stirred Baths”, Applied Mathematical Modelling, vol. 12, pp. 273–279, 1988.
= c c + d d
• c and d denote the volume fractions of the continuous phase and the dispersed
phase (SI unit: m3/m3), respectively
• c is the continuous phase density (SI unit: kg/m3), and
• d is the dispersed phase density (SI unit: kg/m3).
jd = d ud
jc = c uc
where uc and ud (SI unit: m/s) are the continuous and the dispersed phase velocity
vectors, respectively.
c c uc + d d ud
u = -------------------------------------------
- (6-104)
j = jd + jc
t + u = 0 (6-105)
In the Mixture Model interfaces it is assumed that the densities of both phases, c and
d, are constant, and therefore the following alternative form of the continuity
equation for the mixture is used
j = m dc ---- 1-
1- – ----- (6-106)
c d
where:
Here, uslip (SI unit: m/s) denotes the relative velocity between the two phases. For
different available models for the slip velocity, see Slip Velocity Models.
d – c
= -----------------
c
T 2 2
Gm = + T j + j – --- + T j I – --- kI (6-108)
3 3
The transport equation for d, the dispersed phase volume fraction, is
+ d d u d = d D md d – m dc (6-109)
t d d
where mdc (SI unit: kg/(m3·s)) is the mass transfer rate from the dispersed to the
continuous phase and Dmd is a turbulent dispersion coefficient (SI unit: m2/s) (see
Turbulence Modeling in Mixture Models), accounting for extra diffusion due to
turbulent eddies. When a turbulence model is not used, Dmd is zero. Assuming
constant density for the dispersed phase and using Equation 6-106, Equation 6-109
can be rewritten as
m dc
d + j d + j slip = D md d – -------------
- (6-110)
t d c
c = 1 – d
The mass transfer rate typically depends on the interfacial area between the two phases.
An example is when gas dissolves into a liquid. In order to determine the interfacial
area, it is necessary to solve for the dispersed phase number density (that is, the number
of particles per volume) in addition to the phase volume fraction. The Mixture Model
interface assumes that the particles can increase or decrease in size but not completely
vanish, merge, or split. The conservation of the number density n (SI unit: 1/m3) then
gives
n j n n
+ c u slip = D md n – nm dc ---- 1-
1- – -----
+
t
c d
The number density and the volume fraction dispersed particles give the interfacial area
per unit volume (SI unit: m2/m3):
m dc
c – d d 1 – c d u slip – D md d + ---------
- + c u = 0 (6-111)
d
m dc
d + d u d = D md d – ---------
- (6-112)
t d
The dispersed phase velocity vector ud and the mass fraction of the dispersed phase cd
are given by
u d = u + 1 – c d u slip
d d
c d = -----------
-
d = d0
If Solve for interfacial area is selected under the Physical Model section, the dispersed
phase number density is also specified. The dispersed phase number density can be
specified directly,
n = n0
d0
n = 6 ---------3-
d d
A corresponding flux condition is also applied for the number density equation (when
Solve for interfacial area is selected under the Physical Model section).
–n d ud = Nd
Enter the Dispersed phase flux (SI unit: m/s) in the N d field.
If Solve for interfacial area is selected under the Physical Model section, the number
density flux through the boundary is also specified:
– n nu d = N n d
SYMMETRY
This boundary condition, which is useful on boundaries that represent a symmetry line
for the dispersed phase, sets the dispersed phase flux through the boundary to zero:
n d ud = 0
A corresponding flux condition is also applied for the number density equation (when
Solve for interfacial area is selected under the Physical Model section).
n d ud = 0
In the case of moving and , the dispersed flux through the boundary is:
n d ud = n d j
This implies that the flux, relative to the boundary motion, is zero. A corresponding
flux condition is also applied for the number density equation (when Solve for
interfacial area is selected under the Physical Model section).
The Mixture Model, Turbulent Flow interfaces include the turbulence models
described in Theory for the Turbulent Flow Interfaces.
The turbulence must be accounted for in the calculation of the dispersed phase volume
fraction. This is accomplished by introducing a turbulent dispersion coefficient Dmd
(SI unit: m2/s) in Equation 6-110 as
T
D md = ---------
-
T
+ j + j = D – m dc
-------------
-
t d d slip md d
d c
Similarly, the number density equation (used to compute the interfacial area) for
turbulent flow corresponds to
The inclusion of the drift velocity in Equation 6-110 modifies the flux of the dispersed
phase. The effective dispersed phase flux jd,eff and velocity ud,eff are given by
j d, eff = j d – D md d
D md
u d, eff = u d – ------------ d
d
jd,eff and ud,eff are available in the physics interface as [Link] and [Link].
All three models use the following relation for the slip velocity:
C – d
----
3 - – j – j j + g + F
--- ------d- u slip u slip = – ------------------- (6-113)
4 dd c t
24- 0,687
--------- 1 + 0,15Re p Re p 1000
Cd = Re p
0,44 Re p 1000
d d c u slip
Re p = ---------------------------
Because the particle Reynolds number depends on the slip velocity, an implicit
equation must be solved to obtain the slip velocity. Therefore, the Mixture Model
interfaces add an additional equation for
2
u slip
B Sp C Sp
C d = ---------- 1 + A S p Re p + ----------------------------------------
24
-
Re p 1 + D S Re
p p
where A, B, C, and D are empirical correlations of the particle sphericity. The sphericity
is defined as the ratio of the surface area of a volume equivalent sphere to the surface
area of the considered nonspherical particle
A sphere
0 S p = ------------------ 1
A particle
2.3288-6.4581S p + 2.4486S p2
A Sp = e
B S p = 0.0964+0.5565S p
4.905-13.8944S p + 18.4222S p2 – 10.2599S p3
C Sp = e
1.4681 + 12.2584S p – 20.7322S p2 + 15.8855S p3
D Sp = e
The diameter used in the particle Reynolds number is that of the volume equivalent
sphere. The equation for the squared slip velocity is also added when the Haider–
Levenspiel slip model is used.
2 c
1 + --3- ----- d
-
24
C d = ---------- --------------------
Re p
1 + -----c-
d
which yields the following explicit expression for the slip velocity
c
2 1 + ------
– d d d d
u slip ----
= – --------------------------- -------------------- – j t – j j + g + F
18 c
1 + 2 --- ------
3 d
2
– d d d
----
- – j – j j + g + F
u slip = – --------------------------
18 t
when Rep 1. For very small gas bubbles, the drag coefficient is observed to be closer
to the solid-particle value. This is believed to be caused by surface-active impurities
collecting on the bubble surface.
In this section:
MASS BALANCE
The following continuity relations hold for the continuous and dispersed phases
(Ref. 3):
+ u = m (6-114)
t c c c c c dc
+ d d u d = – m dc (6-115)
t d d
Here (dimensionless) denotes the phase volume fraction, (SI unit: kg/m3) is the
density, u (SI unit: m/s) the velocity of each phase, and mdc is the mass transfer rate
from the dispersed to the continuous phase (SI unit: kg/(m3·s)). The subscripts c and
d denote quantities relating to the continuous and the dispersed and phase,
respectively. The following relation between the volume fractions must hold
c = 1 – d
Both phases are considered to be incompressible, in which case Equation 6-114 and
Equation 6-115 can be simplified as:
d m dc
+ d u d = – ---------
- (6-117)
t d
If Equation 6-117 and Equation 6-116 are added together, a continuity equation for
the mixture is obtained:
d u d + u c 1 – d = m dc ---- 1-
1- – ----- (6-118)
c d
In order to control the mass balance of the two phases, the Euler–Euler Model
interfaces solves Equation 6-117 together with Equation 6-118. Equation 6-117 is
used to compute the volume fraction of the dispersed phase, and Equation 6-118 is
used to compute the mixture pressure.
MOMENTUM BALANCE
The momentum equations for the continuous and dispersed phases, using the
nonconservative forms (see for example Ref. 3 or Ref. 9), are:
c c u + uc uc =
t c (6-119)
– c p + c c + c c g + F m,c + c F c + m dc u int – u c
d d u + ud ud =
t d (6-120)
– d p + d d + d d g + F m,d + d F d – m dc u int – u d
Here p (SI unit: Pa) is the mixture pressure, which is assumed to be equal for the two
phases. In the momentum equations the viscous stress tensor for each phase is denoted
by (SI unit: Pa), g (SI unit: m/s2) is the vector of gravitational acceleration, Fm
(SI unit: N/m3) is the interphase momentum transfer term (that is, the volume force
exerted on each phase by the other phase), F (SI unit: N/m3) is any other volume
force term, and uint is the interphase velocity (SI unit: m/s).
In these equations, the influence of surface tension in the case of liquid phases has been
neglected, and the potential size distribution of the dispersed particles or droplets is
not considered.
d d u + ud ud =
t d (6-121)
– d p – p s + d d g + F m,d + d F d – m dc u int – u d
The fluid phases in the above equations are assumed to be Newtonian and the viscous
stress tensors are defined as
c = cm u c + u c – --- u c I
T 2
3
d = dm u d + u d – --- u d I
T 2
3
where cm and dm (SI unit: Pa·s) are the dynamic viscosity model of the respective
phase. Observe how the viscous terms in equation Equation 6-119 and
Equation 6-120 appear with their volume fractions outside the divergence operators.
The equations can also be derived so that the terms read cc and dd
instead (see for example Ref. 4 or Ref. 5). It depends on exactly how the derivation is
carried out. formulation in Equation 6-119 and Equation 6-120 are so that the
momentum equation can be divided by c and d, respectively as described below.
In order to avoid singular solutions when the volume fractions tend to zero, the
governing equations above are divided by the corresponding volume fraction. The
implemented momentum equation for the continuous phase is:
F m,c m dc
c (u c) + c u c u c = – p + c + c g + ----------- + F c + ---------- u int – u c
t c c
The implemented momentum equations for the dispersed phase in the case of
dispersed liquid droplets or bubbles is:
d u + ud ud =
t d
(6-122)
F m,d m dc
– p + d + d g + -----------
- + F d – ---------- u int – u d
d d
d u + ud ud =
t d
(6-123)
p F m,d m dc
– p – ---------s + d g + -----------
- + F d – ---------- u int – u d
d d d
VISCOSITY MODELS
The Newtonian viscosities of interpenetrating media are not readily available. Instead
empirical and analytical models for the dynamic viscosity of the two-phase mixture
have been developed by various researchers, usually as a function of the dispersed
volume fraction. Using an expression for the mixture viscosity, the default values for
the dynamic viscosities of the two interpenetrating phases are taken to be:
cm = dm = mix (6-124)
A simple mixture viscosity covering the entire range of particle concentrations is the
Krieger type model (Ref. 5):
d – 2.5 d,max
mix = c 1 – --------------
- (6-125)
d,max
Here d,max is the maximum packing limit, by default 0.62 for solid particles.
Equation 6-125 can be applied when c d. An extension of Equation 6-125 can
be applied for liquid droplets/bubbles:
d + 0.4 c
– 2.5 d,max -------------------------
-
d d + c
mix = c 1 – --------------
- (6-126)
d,max
mix = c c + d d (6-127)
can sometimes be applied or the viscosity for each individual phase can be applied to
the respective momentum equation.
An alternative to mixture viscosity for dispersed solid particles, that is particles in gas
flow, is to model the particle interface with a solid pressure instead (see Solid Pressure).
This is consistent with the requirement that dm 0 when d 0 (Ref. 9), but in
practice it can suffice with any small enough, nonzero value.
ꞏ
F drag,c = – F drag,d = u slip (6-129)
u slip = u d – u c
The drag force on the dispersed phase is equal to the one on the
continuous phase but is working in the opposite direction.
The drag force coefficient, , is for solid particles often written as (Ref. 2)
3
= ---------- d C D c u slip (6-130)
4d d
3
= ---------- d c C D c u slip (6-131)
4d d
which is consistent with a vanishing if c 0. All drag force models except Gidaspow
are based on Equation 6-130 for solid particles and on Equation 6-131 for bubbles
and droplets.
3 c d c C d – 2.65
= ---------------------------- u slip c (6-132)
4d d
2
c d d c
= 150 -----------2- + 1.75 ----------- u slip (6-133)
c dd dd
In the above equations, dd (SI unit: m) is the dispersed particle diameter, and Cd is the
drag coefficient for a single dispersed particle. The drag coefficient is in general a
function of the particle Reynolds number
d d c u slip
Re p = -------------------------
-
c
No universally valid expression for the drag coefficient exists. Using the implemented
Gidaspow model, Cd is computed using the Schiller–Naumann relation.
Schiller–Naumann
The Schiller–Naumann model describes the drag coefficient in Equation 6-130 and
Equation 6-131 for a single rigid sphere (see for example Ref. 3)
24- 0.687
--------- 1 + 0.15Re p Re p 1000
Cd = Re p (6-134)
0.44 Re p 1000
The Schiller–Naumann model is appropriate for diluted flows since the correlation in
Equation 6-134 is based on a single particle and does not take particle-particle
interaction into account.
Hadamard–Rybczynski
The Hadamard–Rybczynski drag law is valid for dilute flows with particle Reynolds
number less than one for particles, bubbles, and droplets and is defined as:
2 c
1 + --3- ----- d
-
C d = ---------- --------------------
24
Re p
1 + -----c-
d
24-
C d = ---------
Re p
for solid particles (the Stokes limit). For very small gas bubbles, the drag coefficient is
observed to be closer to the solid-particle value. This is believed to be caused by
surface-active impurities collecting on the bubble surface.
Ishii–Zuber
The Ishii–Zuber model (Ref. 10) can for solid particles be regarded as a generalization
of the Schiller–Naumann model. For solid particles it can be formulated as
24 1 + 17.67f d 6 / 7
C D = max ----------- 1 + 0.1Re m
0.75 0.45 ---------------------------------------------- (6-135)
Re m 18.67f d
where
f d = c c m (6-136)
d d c u slip
Re m = -------------------------
- (6-137)
m
24
C D visc = ----------- 1 + 0.1Re m
0.75 (6-138)
Re m
When the Reynolds number becomes higher, bubbles and droplets start to deform in
such a way that the drag coefficient increases linearly with diameter but is independent
of viscosity. Ishii and Zuber refer to this as the distorted particle regime and suggest
the following correlation for this regime:
2 1 + 17.67f d 6 / 7
C D dist = --- Eo ---------------------------------------------- (6-139)
3 18.67f d
g c – d d d2
Eo = ------------------------------
- (6-140)
where in turn g is the gravitational constant and is the surface tension coefficient.
The Eötvös number relates surface tension forces to gravitational forces. The second,
“distorted” regime ends when hydrodynamic instabilities prevents the drag from
increasing further and the distorted regime is capped by the following value:
8
C D cap = --- c2 (6-141)
3
The complete model for bubbles and droplets can hence be written:
Haider–Levenspiel
The Haider–Levenspiel model is applicable to dilute flows with nonspherical solid
particles. It models the drag coefficient according to
B Sp C Sp
C d = ---------- 1 + A S p Re p + ----------------------------------------
24
-
Re p 1 + D S Re
p p
16 48 8 Eo
C D = max min --------- 1 + 0.15Re p0.687 --------- --- ----------------- (6-143)
Re p Re p 3 Eo + 4
Fluid pure enough for Equation 6-143 to be valid is typically only achievable in
laboratory environments. Even small amounts of surface-active impurities can collect
at the droplet/bubble interface and cause a surface tension gradient which resists
surface movement. The correlation for slightly contaminated fluids therefore prescribe
a slightly higher drag coefficient:
24 72 8 Eo
C D = max min --------- 1 + 0.15Re p0.687 --------- --- ----------------- (6-144)
Re p Re p 3 Eo + 4
This correlation is the default one and applies to droplets and bubbles in fluids of
contamination levels comparable to ordinary tap water.
When the contamination level is high, the impurities effectively prevent all motion
within the droplet or bubble and the following correlation is suggested:
24 8 Eo
C D = max min --------- 1 + 0.15Re p0.687 --- ----------------- (6-145)
Re p 3 Eo + 4
SOLID PRESSURE
For fluid-solid mixtures where d c, for example solid particles in gas flow, a model
for the solid pressure, ps in Equation 6-123, is needed. The solid pressure models the
particle interaction due to collisions and friction between the particles. The solid
pressure model implemented uses a gradient diffusion based assumption:
p s = – G c c
B1 c + B2
G c = 10 (6-146)
-8.76 c + 5.43
G c = 10 (6-147)
Ettehadieh,
-10.46 c + 6.577
G c = 10 (6-148)
and Gidaspow,
-10.5 c + 9.0
G c = 10 (6-149)
Observe that the solid pressure term theoretically replaces the stress term in the
dispersed phase momentum equation. A small viscosity is however necessary for
numerical robustness. The Gidaspow formulation or a small constant value is
appropriate. The viscosity for the continuous phase, cm , can be taken as the single
phase value, that is cm = c .
F m,d
------------
d
The residue volume fractions are per default set to 104 but can be changed in the
section of the interface settings.
• When appropriate, for example when evaluating drag models and mixture
viscosities, k, k c,d are replaced by
Note however that the continuity equation, Equation 6-118, uses k without
regularization in order to guarantee mass conservation.
A fixed value for d should only be prescribed if there is no transport of d toward the
inlet. If, for example, a cloud of dispersed phase with higher d than the prescribed
value somehow reaches the inlet, d will actually be “consumed”.
When specifying a dispersed phase flux, make sure to specify an appropriate velocity to
go with the flux to avoid unphysical concentrations of d close to the boundary.
At walls, where it is possible to prescribe a wall leakage, the continuous phase normal
velocity is set to
ꞏ
mc
u c n = – -------------------
-
c c pos
ꞏ
md
u d n = – --------------------
-
d d pos
Wall leakage for one phase works best if combined with slip condition for the other
phase so that the mixture is given maximum freedom to react to the leakage.
In order to model fluid flow turbulence, the Euler–Euler Model, Turbulent Flow
interface uses the k- turbulence model. This is realized by solving transport equations
The interface includes the possibility to model the turbulent flow of the two-phase
mixture, or to solve for turbulent flow of each phase separately. In the former case, one
set of k- equations are solved, while in the latter two sets of k- equations are solved
for, one for each phase.
MIXTURE TURBULENCE
Mixture turbulence assumes that the turbulence effects on both the continuous and
dispersed phase can be modeled by solving for the turbulence of the resulting
two-phase mixture. Here this is done using a two-equation k- model where the
transport of turbulence quantities is based on the mass-averaged mixture velocity
c c um + d d um
u m = ----------------------------------------------
-,
m = c cm + d dm
This implies that the model is appropriate for flows where the relaxation time of the
dispersed particles (the time scale on which particles react to changes in the carrier fluid
velocity) is not significantly different to the time scale of the turbulence. It is also
appropriate for stratified flows, where the mixture mainly consists of one of the phases.
Setting the Two-phase turbulence interface property to Mixture, the turbulence of the
two-phase flow is modeled by solving the following k and equations:
k T
------ + u m k = m + ------ k + P k – (6-150)
t k
T 2
----- + u m = m + ------ + C 1 --- P – C 2 ----- (6-151)
t k k k
k2
T = C ------
where C is a model constant. The viscous stress tensors for the phases are hence
defined as
Assuming mixture turbulence, the transport equation for the volume fraction is:
+ d u d = D md d (6-152)
t d
Here the dispersion of the particulate phase by the turbulent fluctuations is modeled
using a gradient based hypothesis. The turbulent dispersion coefficient is defined from
the turbulent viscosity of the two-phase mixture in the manner of
T
D md = ---------
-
T
The default values of the dimensionless parameters using the Mixture Two-phase
turbulence model are:
CONSTANT VALUE
C 0.09
C1 1.44
C2 1.92
k 1.0
1.3
Kv 0.41
B 5.2
0.35
PHASE-SPECIFIC TURBULENCE
The phase-specific Two-phase turbulence model assumes that the turbulent flow of the
continuous and dispersed phase can be modeled by solving for the turbulence of each
phase separately by using two sets of k- equations. The model implies that the time
scales of the turbulent flow of each phase can differ, but it is also computationally more
expensive than assuming solving one set of k- equations for the mixture.
Setting the Two-phase turbulence interface property to Phase specific, the turbulent flow
of the two phases is modeled by solving two sets of k and equations, one for each
phase. For the continuous phase, the transport equations for k and are
k c T,c
c -------- + c u c k c = cm + ---------- k + P k c – c c (6-153)
t k c c
c T,c c d2
c ------- + c u c c = cm + ---------
- c + C 1,c ----- P k c – C 2,c ------ (6-154)
t c kc kd
k d T,d
d --------- + d u d k d = dm + ----------
- k + P k d – d d (6-155)
t k d d
d T,d d d2
d -------- + d u d d = dm + ---------- d + C 1,d ------ P k d – C 2,d ------ (6-156)
t d kd kd
The equations for each phase correspond to the standard two-equation k- model
including realizability constraints.
k c2 k d2
T c = c C c ------ , T d = d C d ------ (6-157)
c d
where Cc and Cd are model constants. The viscous stress tensors for the phases are
hence defined as
As in the case of mixture turbulence, the dispersion of the particulate phase by the
turbulent fluctuations is modeled using a gradient based hypothesis (Equation 6-152).
For phase-specific turbulence the dispersion coefficient is modeled as a volume average
of the respective turbulent diffusivity of each phase
T c T d
D md = ----------- c ----------- + d -----------
1
T d c d
The default values of the turbulence model parameters for phase specific turbulence are
4. B.G.M. van Wachem, J.C. Schouten, C.M. van den Bleek, R. Krishna, and J.L.
Sinclair, “Comparative Analysis of CFD Models of Dense Gas-Solid Systems”, AIChE
Journal, vol. 47, no. 5, pp. 1035–1051, 2001.
10. M. Ishii and N. Zuber, “Drag Coefficient and Relative Velocity in Bubbly, Droplet
or Particulate Flows”, AIChE Journal, vol. 25, no. 5, 1979.
12. P.J. Oliveira and R.I. Issa, “Numerical aspects of an algorithm for the Eulerian
simulation of two-phase flows”, Int. J. Numer. Meth. Fluids, vol. 43, pp. 1177–1198,
2003.
1
u n = ---
ni n (6-158)
i
where (SI unit: kg/m3) is the density of the flowing media, n the surface normal and
ni is the mass flux of species i.
For flow interfaces solving for the velocity field, no-slip conditions are applied at the
electrode surface, resulting in
1
u = – ---
Mi Ni n (6-159)
i
where Mi (SI unit: kg/mol) is the species mass and Ni (SI unit: mol/(m2·s)) the molar
flux calculated by Faraday’s law.
For a porous electrode the sum of all mass fluxes are added to the conservation
equation according to:
------ + u =
t Ri mass (6-160)
i
Note that because the mass is usually not conserved within the species transporting
phase (the right-hand side above being nonzero), the velocity field is not divergence
free.
691
692 | CHAPTER 7: HEAT TRANSFER INTERFACES
| 693
694 | CHAPTER 7: HEAT TRANSFER INTERFACES
8
Thermodynamics
This chapter describes how you can use the thermodynamics functionality to
define thermo-physical and transport properties. These properties can be used
when simulating chemical reaction systems or any type of transport model
involving mass transfer, fluid flow, or heat transfer.
In this chapter:
695
Using Thermodynamic Properties
In this section:
The option Predefined System, allows you to set up one of the following systems: Dry
air, Moist air, or Water-steam.
Figure 8-2: Adding Thermodynamic Systems to the Thermodynamics node. Note that
external package providers have been installed.
Thermodynamic System
A thermodynamic system is used to describe properties of pure species and mixtures of
chemical compounds for liquids, gases, liquid–vapor equilibria, and liquid–liquid
equilibria. It specifies the available species and the phases (states of aggregation) that
are present in the modeled system. It also defines and evaluates the functions for
thermodynamic and transport properties of the chemical system, that is, the species
and mixture properties for liquids, gases, and phase equilibria.
1 Select System
2 Select Species
3 Select Thermodynamic Model
SELECT SYSTEM
Use the Select System step in the wizard to define the phases in the modeled system.
You can select Gas, Liquid, Vapor-liquid, Vapor-liquid-liquid, or Liquid-liquid. The names
of the phases in the Selected system table can be changed by editing the element in the
Name column. Click the Next button ( ) to proceed to the next step in the wizard.
SELECT SPECIES
Use the Species Type filter text field to search among the available species in the COMSOL
database or the User-Defined Species. Species can be searched for by typing the name,
CAS number, or the chemical formula. Using a formula, all species whose chemical
formula includes a combination of the given atoms are listed. For example, when
searching for ammonia NH3 or H3N can be used.
Select one or more species in the list and click the Add Selected button ( ) to add
species to the Selected species table. You can also press the Enter key to add either the
• Peng–Robinson
• Peng–Robinson (Twu)
• Soave–Redlich–Kwong
• Soave–Redlich–Kwong (Graboski–Daubert)
For a system including only gas phase, or for liquid phase systems with thermodynamic
models requiring an equation of state, the Ideal Gas Law is added to the available
models in the Gas phase model list or Equation of state list.
• Chao–Seader (Grayson–Streed)
• Wilson
• NRTL
• UNIFAC VLE
• UNIQUAC
• Regular Solution
• Extended Regular Solution
• Ideal Solution
To calculate properties of water and steam, use the Water (IAPWS) model. This is
available for systems that include a single water species.
Select the Advanced options checkbox in order to manually control the models used for
thermodynamic properties, transport properties, and surface tension. When this
checkbox is selected, all available property models are shown in the property model
table. The available property models are dependent on the phases available in the
thermodynamic system.
When only a gas phase is present, models are available for the following properties:
• Gas diffusivity
• Gas thermal conductivity
• Gas viscosity
For a single-phase liquid, or for a two-phase liquid–liquid system, there are models for
the following properties:
• Liquid diffusivity
• Liquid diffusivity at infinite dilution
• Liquid thermal conductivity
For systems with both vapor and liquid phases, all of the above properties are available,
as well as gas–liquid surface tension.
Click the Finish button ( ) to exit the Thermodynamic System Wizard and add the
corresponding system under the Thermodynamics node. Note that the default node
label reflects the available phase in the system. For example, when creating a vapor–
liquid system, a node labeled Vapor-Liquid System is added. The name of the system can
be changed using the Label text field in the Settings window for the system.
SETTINGS
Selecting a Thermodynamic System or Predefined System node shows its Settings
window with a description of the package content and the available properties. Editing
Species
Lists the species included in the thermodynamic system. You can change the list of
species by right-clicking the Thermodynamic System node and selecting Add or Remove
Species.
Phases
Lists the phases included in the thermodynamic system. You can add or remove phases,
such as gas, liquid, or liquid–vapor, by right-clicking the Thermodynamic System node
and selecting Define System.
Species Property
Lists the parameters and functions that describe thermodynamics and transport
properties for pure species. Such functions may describe density, heat capacity, thermal
conductivity, or other thermodynamic and transport properties. For more
information, see Species Property.
Thermodynamic Model
When a liquid is present, use the Liquid phase model list to select the thermodynamic
model for this phase.
When a gas is present, use the Gas phase model list to select the thermodynamic model
for this phase. If both gas and liquid phases are available, and the Liquid phase model is
set to an equation of state, then the Gas phase model is set to the same model
automatically.
Property Models
Displays the settings for the available individual property models. The property models
can be changed by selecting different values from the combo box in the Model
column. For example, for Gas thermal conductivity you can select Kinetic theory or Ideal
from the corresponding combo box. You can also select the property model in the last
step of the thermodynamic system wizard by selecting the Advanced option checkbox,
see Select Thermodynamic Model.
Figure 8-7: Entering the Binary Interaction Parameters for the Soave–Redlich–Kwong
model.
When a binary interaction parameter is not available in the database for a pair of
species, the parameter value is set to zero (default value).
When the properties of a User-Defined Species have been changed, select Update
From Species for the changes to take effect in the thermodynamic system.
Make sure to click the Finish button ( ) in order for the changes to take effect.
Make sure to click the Finish button ( ) button in order for the changes to take
effect.
Note that changing the phase(s) in a thermodynamic system that is currently coupled
to a Reaction Engineering interface or a Chemistry interface breaks this coupling. See
the Coupling with the Reaction Engineering and the Chemistry Interfaces section for
how this coupling can be updated.
WARNING INFORMATION
A sanity check is always performed when a Thermodynamic System is created. If any
problems are found, a Warning Information node listing the problems is added under
the package. One example when this occurs is when a parameter required for the
thermodynamic model, typically a binary interaction parameter, is not available in the
database.
1 Download and install COCO, which includes the TEA thermodynamic system
manager. The software is available from
[Link]/index_download.html.
2 Create and configure a thermodynamic system template that handles physical and
thermodynamics calculations needed for your model. If you have already created a
package template earlier, or if an adequate thermodynamic system already exists in
the installation, this step is not needed.
3 Create an External Thermodynamic System node as detailed in the next section.
The installed packages are available in the Select Property Package step of the
Thermodynamic System Wizard.
When adding the package its default label reflects the included phases. For example, a
node labeled Vapor-Liquid System (External) is created when adding an external
package containing a vapor and a liquid phase. The name of the system can be changed
using the Label text field in the Settings window for the system.
Figure 8-9: Available external thermodynamic systems. Use the Thermodynamic System
Wizard to browse the contents of the installed external thermodynamic systems on your
system. The example shows the packages shipped with the COCO provider.
SETTINGS
Selecting the External Thermodynamic System node shows the thermodynamic system
settings with sections for available species, phases, species properties, and mixture
Provider
Contains information about the external thermodynamic system provider such as
version, CAPE-OPEN compliance, and a short description of the external software
that provides the thermodynamic system.
Species
Lists the species included in the selected thermodynamic system.
Phases
Lists the phases included in the selected thermodynamic system for example gas,
liquid, gas–vapor, or liquid–liquid.
Species Properties
Lists the parameter values or the functions that describe species properties, for example
molar mass, and properties available for pure compounds, such as density as a function
of temperature.
To create a Predefined System, start the Thermodynamic System Wizard in one of the
following ways:
• Right-click the Global Definitions node, select Thermodynamics and choose Predefined
System.
• Using the Reaction Engineering interface, choose Predefined System from the
Thermodynamics section of the Reaction Engineering toolbar.
• Correspondingly, using the Chemistry interface, choose Predefined System from the
Thermodynamics section of the Chemistry toolbar.
The Thermodynamic System Wizard that opens is identical to the wizard used to create
a Thermodynamic System, but with the important difference that all settings have been
entered for the chosen predefined system. The wizard contains the following steps:
1 Select System
2 Select Species
3 Select Thermodynamic Model
SELECT SYSTEM
In the Select System window, choose one of the predefined systems in the list. Choose
among Dry air, Moist air, and Water-steam. Click the Next button ( ) to proceed to
the next step in the wizard.
SELECT SPECIES
If Dry or Moist air was chosen in the Select System step, the Selected species table is
populated with the species relevant for the chosen system. For Dry air the species are:
nitrogen, oxygen, argon, carbon dioxide, neon, and helium. For Moist air the list also
To add more species to the Dry air and Moist air systems, use the Species Type filter
text field to search among the available species in the COMSOL database or the
User-Defined Species. Species can be searched for by typing the name, CAS number,
or the chemical formula. Select one or more species in the list and click the Add Selected
button ( ) to add species to the Selected species table. To remove species from the
Selected species table, use either the Remove Selected button ( ) or the Remove All
button ( ), both located below the table. Click the Next button ( ) to proceed to
the next step in the wizard.
SETTINGS
Selecting a Predefined System node shows its Settings window with a description of the
package content and the available properties. For information about the content in the
Settings window, see Settings for Thermodynamic System and Predefined System.
Note that only the thermodynamic system definition is exported, for example the
underlying species data (from the database), the included phases, and the applied
thermodynamic models. Property values and functions created using the
thermodynamic system are not stored.
To use the system with the updated species, right-click the Thermodynamics node and
select Import System.
For temperature-dependent functions, for example for the (saturated) liquid density,
the database input is of the form:
<Density>
<Phase>Liquid</Phase>
<Coefficients>Tlb;a0;a1;a2;a3;Tub</Coefficients>
<Data>Tlb;f(Tlb);Tub;f(Tub)</Data>
<Comment></Comment>
</Density>
Here Tlb and Tub defines the lower and upper bound for a temperature range, and a1
to a4 are the corresponding coefficients for a cubic polynomial as f(T) = a0 + a1T+
a2T2+ a3T3 fitted for that range. Multiple sequential ranges can be added by
appending temperature ranges and coefficient sets. The <Data></Data> block can be
used to input data points directly.
The unit for temperature is K. The unit used for the temperature dependent properties
(fitted polynomials functions) are defined in the table below:
TABLE 8-1: UNIT FOR TEMPERATURE-DEPENDENT PROPERTIES.
PROPERTY UNIT
Right-click the relevant Thermodynamic System node (see Figure 8-8), Predefined
System node, or the relevant External Thermodynamic System node, and select Species
Property ( ) to start the Species Property Wizard.
1 Select Properties
2 Select Phase
3 Select Species
4 Species Property Overview
SELECT PROPERTIES
First use the Amount base unit list to define the base unit. Select mol or kg.
Use the filter to search among the available properties. Select one or more properties
in the list and click the Add Selected button ( ) to add them to the Selected properties
list.
SELECT PHASE
Use the list to specify the phase for the species property. The available phases
correspond to the ones defined for the thermodynamic system.
Click the Next button ( ) to proceed to the next step, selecting the species.
SELECT SPECIES
Select one or more of the species available in the thermodynamic system and use the
Add Selected button ( ) to add them to the Selected species table. One property
function is created for each of the selected species.
Definition:
Shows the definition of a property that is defined as a parameter or a function, for
example the name of the parameter or function.
You can use the Parameter name or Function name fields to specify or change the name
of a parameter or a function. The section also provides information about the property
type and the species it is defined for.
Plot Parameters
Available for property functions in order to plot a selected function for a given set of
argument values.
Apply a Lower limit and an Upper limit for each argument, and click the Plot button
( ) to plot the function using the given argument range. You can also click the Create
Plot button ( ) in order to create a plot group, under the Results node.
Properties Window
To see the reference for constant or temperature dependent functions, right-click on
the function and select Properties. This opens the Properties window.
Figure 8-18: Show constant and temperature dependent properties references for species
functions.
Mixture Property
A Mixture Property is used to compute a property function that depends on the
concentration of the species in a thermodynamic system. Some examples of the
available property functions are density, enthalpy, heat capacity, and surface tension.
Apart from the composition, the mixture property functions are also dependent on
temperature and pressure. The first-order derivatives with respect to temperature and
pressure are automatically defined. The second-order derivatives with respect to
temperature and pressure are available for property functions of density and molar
volume.
Right-click the relevant Thermodynamic System node (see Figure 8-8), Predefined
System node, or the relevant External Thermodynamic System node, and select Mixture
Property to start the Mixture Property Wizard.
1 Select Properties
2 Select Phase
SELECT PROPERTIES
The settings in this step corresponds to those for Select Properties in the Species
Property Wizard. Click the Next button ( ) to proceed to the next step.
SELECT PHASE
Use this list to specify the phase, among the ones available in the system, for the
selected mixture property.
Some properties require that the system consists of two phases, for example surface
tension. A two-phase system may consist of a combination of liquid–vapor or liquid–
liquid phases.
SELECT SPECIES
First select the Species composition base unit to be used for function arguments. Select
Mole fraction or Mass fraction.
Select the species to be included in the list. Use the Add All button ( ) to add all
species in the thermodynamic system. It is also possible to select a subset of the
available species. In that case use the Add Selected button ( ) to add species. The
Selected species table is updated as you add species.
Click the Next button ( ) to proceed to the next step in the wizard.
SETTINGS
Selecting a desired Mixture Property node to display its settings window.
Figure 8-20: Mixture properties can be created by right-clicking a Mixture node under a
thermodynamic system.
Equilibrium Calculation
The Equilibrium Calculation functionality is used to compute the resulting equilibrium
conditions for a mixture of a set of species and phases.
Equilibrium calculations are often used for processes with vapor–liquid equilibrium
(VLE), so-called flash calculations. A typical process that requires flash calculations is
a distillation process, where a multiphase feed stream is separated into a vapor and a
liquid product, and where the concentrations of the species in each phase are required.
Equilibrium calculations involve combining the VLE-equations with material balances
for the chemical species, and in some cases with an energy balance. Flash calculations
are typically used to obtain estimates of:
The last three examples are often considered more difficult, since they require energy
balances and relations for computing enthalpy and entropy. Thermodynamics in
Right-click the relevant Thermodynamic System node (see Figure 8-8), Predefined
System node, or the relevant External Thermodynamic System node, and select
Equilibrium Calculation to start the Equilibrium Calculation Wizard.
1 Select species
2 Equilibrium Specifications
3 Equilibrium Function Overview
• The first function type is used to detect whether a phase is present in the system and
includes “exist” in its name.
• The amount function computes the total amount of material in each phase.
• The phase composition functions compute the mass or mole fraction of each species
in each phase, depending on the selected base unit for the equilibrium calculation.
SELECT SPECIES
Select one or more of the species available in the thermodynamic system and use the
Add Selected button ( ) to add them to the Selected species table. Click the Next
button ( ) to proceed to the next step in the wizard.
EQUILIBRIUM SPECIFICATIONS
Use the Amount base unit list to use either kg or mol as base unit.
Select two Equilibrium conditions that define the current equilibrium, for example a
given pressure and a temperature. These equilibrium conditions are used as arguments
in the equilibrium functions, in addition to the composition (overall fractions of
species).
The available equilibrium conditions are: Temperature, Pressure, Phase fraction, Energy
(or Internal energy of formation), Enthalpy (or Enthalpy of formation), Specific volume,
Density, and Entropy (or Entropy of formation). For chemical reactions, it is
Selecting Phase fraction as one of the equilibrium conditions activates the Solution type
input field. This can be used to indicate the direction of the desired solution, which is
of great use especially near critical points. The options Undefined, Normal, or Retrograde
define different directions for the search of the solution to the equilibrium equations.
Using Normal means that the derivative of the vapor phase fraction with respect to
temperature (at constant pressure and composition) is kept positive and the derivative
of the vapor phase fraction with respect to pressure (at constant temperature and
composition) is kept negative. Using Retrograde means that the opposite sign of the
previous mentioned derivatives are enforced.
For a single species, the critical point is the highest pressure and temperature at which
two phases (liquid and vapor) are distinguishable. However, for some multispecies
systems, the critical point is a point between the dew point and the bubble point. In
this case, the critical point does not represent the maximum pressure or the maximum
temperature of vapor–liquid coexistence. This phenomenon is known as retrograde
condensation. This means that under isothermal conditions, when the pressure
decreases, some of the vapor condenses into liquid instead of expanding or vaporizing.
An example of such system is formation of liquid hydrocarbons in a gas reservoir as the
pressure decreases below the dew point pressure. In this case, setting Solution type to
Normal or Retrograde may not be sufficient to distinguish between the two solutions.
SETTINGS
Selecting an Equilibrium Calculation node displays the settings including the property
functions, see Figure 8-22.
Generate Chemistry
The Chemistry interface includes functionality to automatically define and use mixture
properties by interfacing to a Thermodynamic System node. How to manually set this
The Generate Chemistry Wizard can be used to directly create a Chemistry interface
from an existing Thermodynamics System node. The resulting Chemistry interface is
automatically populated with the selected species, and is set up to be fully coupled to
the thermodynamics. This means for example that functions for mixture properties,
like the density enthalpy, are automatically defined and used in the generated
Chemistry interface.
1 Select Species
2 Chemistry Settings
SELECT SPECIES
Select the species to be included in the list. Use the Add All button ( ) to add all
species in the thermodynamic system. It is also possible to select a subset of the
available species. In that case use the Add Selected button ( ) to add species. The
Selected species table is updated as you add species.
Click the Next button ( ) to proceed to the next step in the wizard.
CHEMISTRY SETTINGS
The table at the top shows the selected species and their respective chemical formula.
For each species, a corresponding Species feature will be added in the Chemistry
interface. As an option, use the Name in Chemistry columns to specify another name of
the species in Chemistry. This means that the species name could be different in
Thermodynamics and Chemistry for a species. By default the chemical formula is used.
Component
Use the Component list to select the model component to which the Chemistry
interface will be added. The already existing components are shown in the top of the
list. A new component can be created by selecting the desired space dimension.
Mass Transfer
The Mass transfer list controls the intended mixture type for the Chemistry interface.
Select Diluted species to model a mixture where the species are assumed diluted in a
Phase
Select the Phase of the mixture from the Phase list. Included in the list are the phases
available in the Thermodynamic System from which the Chemistry is generated.
Click the Finish button ( ) to create the desired Chemistry interface and exit the
wizard.
Generate Material
Once a thermodynamic system is defined, it can be used to define a multitude of
property functions. The Generate Material option provides a fast route to defining the
material properties most commonly required for fluid flow, heat transfer and mass
transfer. By specifying the composition and the phase of the mixture, a Material node
can automatically be set up. The material node can include properties such as the
density, heat capacity, heat capacity ratio, thermal conductivity, viscosity, and the
diffusivity. Two types of property functions can be used, either functions from the
underlying thermodynamics, or interpolation functions created from these. The
interpolation functions are computationally more efficient since it is cheap in terms of
CPU-time to evaluate polynomials, whereas the thermodynamics functions are more
complex and potentially solve implicit systems iteratively. Interpolation functions are
appropriate when the temperature and pressure is not expected to vary wildly, and a
sensible number of nodes is needed to reproduce the behavior, then the cost is paid
upfront during the creation of the material. The computational savings are typically
most pronounced for larger space-dependent models of higher dimensions. To validate
that the interpolation error is acceptable, create two materials, one with, and one
without interpolation functions, and compare the material properties in the relevant
region of (T, p)-space.
1 Select Phase
2 Select Species
SELECT PHASE
Use this list to specify the phase of the material. Select among the ones available in the
system. This step of the Generate Material Wizard is not available for the Predefined
Systems Dry Air and Moist Air.
Click the Next button ( ) to proceed to the next step in the wizard.
SELECT SPECIES
Select the species to be included in the list. Use the Add All button ( ) to add all
species in the thermodynamic system. It is also possible to select a subset of the
available species. In that case use the Add Selected button ( ) to add species. The
Selected species table is updated as you add species.
Notice that when using Generate Material for the Predefined System Water-steam this
step is not included in the wizard.
Material Composition
Specify the mixture composition in terms of the Mole fractions or Mass fractions of all
species. The fractions should sum to one. This setting is only available for systems with
more than one component, and for materials with more than one selected species.
Click the Next button ( ) to proceed to the next step in the wizard.
SELECT PROPERTIES
Use this step to select the material properties to be included.
• Density, ()
• Diffusion coefficient at infinite dilution
• Heat capacity (Cp)
• Thermal conductivity (k)
• Viscosity ()
For a gas phase material, the Heat capacity ratio ( = Cp/Cv) is also available.
To add a property to the Selected properties list click the Add Selected button ( ).
To remove properties, use the Remove Selected button ( ) or the Remove All
button ( )
Figure 8-23: Generate Material Wizard; Select Properties pane with Diffusion coefficient
at infinite dilution added.
Additional Properties
The additional properties below are defined from the selected properties and added to
the output properties of the material.
For a liquid phase material the isobaric coefficient of thermal expansion is defined as
1
iso = – --- ------- (8-1)
T
For a gas phase material, the speed of sound c, and the isentropic compressibility f are
also defined as
p 1 (8-2)
c= ------ f = ------ ------
p
Component
Use the Component list to select where the Material will be added. The already existing
components are shown in the top of the list. A new component can be created by
selecting the desired space dimension. Select Global at the end of the list to add the
material under Global Definitions. A global material can be utilized in any component,
through the use of a Material Link. It can also be used to define phase specific
properties when linked to a subnode of a Porous Material.
Function Type
The material can be set up to use functions defined under the thermodynamics system,
or interpolation functions defined from these. The interpolation functions are
significantly faster to evaluate, especially for space dependent models, but requires that
the temperature range and the pressure range are specified.
For the Interpolation points, select Same for all functions to use the same number of
sampling points for all functions. By selecting Individual, the number of sampling
points can be given per function. The latter can for example be used to increase the
number of points for a function that is known to vary faster than the rest of the
functions.
Select one of the preset levels for the Maximum number of interpolation points. This is
used to provide a maximum size of the underlying data for the interpolation functions.
The Number of points for temperature multiplied by the Number of points for pressure
should not exceed the Maximum number of interpolation points. If the total number of
sampling points for any function, varying temperature and pressure, is exceeded, a
warning is shown.
There are two types (or forms) of input values for pressure, Pa and log10(Pa). The later
is often used in cases where the pressure changes in a very large range, for example, for
a system from atmosphere to a vacuum system. The log10(Pa) is expressed as
log10(p/1[Pa]), here p is pressure ([Pa]).
When the selection from Pressure form changes, the corresponding input fields for
pressure will also follow the change, for both Same for all functions and Individual,
respectively.
Define the temperature range and pressure range for the temperature and pressure by
providing the Low and High end values. To neglect the variation in either temperature
or pressure, give the same value for the low and high end value. This can for example
be used when the pressure variation is known to be negligible. For each range, also
define the number of evaluation points in the Number of points field. The underlying
functions are evaluated at uniformly distributed positions across the temperature and
pressure (uniform logarithmic values for log10(Pa)) range.
When Individual has been selected for the Interpolation points, the Ranges and
interpolation points can be specified per function to be created.
Click the Finish button ( ) to create the specified Material and exit the wizard.
The Reaction Engineering interface and the Chemistry interface are only
available in a limited set of add-on products. See
[Link] for more details on
availability.
REACTION ENGINEERING
Mixture Properties
You can couple a Reaction Engineering interface with an existing thermodynamic
system in the Reaction Engineering interface’s settings window.
You need to have at least one species defined in the Reaction Engineering interface in
order to couple it to a thermodynamic system. You can make this coupling in the
Settings window for the Reaction Engineering interface by selecting the Thermodynamics
checkbox in the Mixture Properties section.
Species Matching
The Species Matching section is activated when the Thermodynamics checkbox is selected
in the Mixture Properties section; see above. The species in the Reaction Engineering
interface can be matched to a species in the thermodynamic system. This step ensures
that the arguments in the thermodynamic system functions are correctly defined.
Use the lists in the From Thermodynamics column to match each species in the interface
to a species in the coupled thermodynamic system.
For each species matched, the required property parameters and functions are added
under to the corresponding thermodynamic system.
When all species are matched, the interface is considered fully coupled and functions
representing mixture properties, such as density, are also added automatically under
the corresponding thermodynamic system.
Figure 8-26: Matching the species in Reaction Engineering to those in the corresponding
thermodynamic system.
Figure 8-27: Select the Calculate mixture properties checkbox when coupled to a
thermodynamic system.
CHEMISTRY
Mixture Properties
You can couple a Chemistry interface with an existing thermodynamic system in the
Chemistry interface’s settings window. You can make this coupling in the Settings
window for the Chemistry interface by selecting the Thermodynamics checkbox in the
Mixture Properties section. You need to have at least one species defined in the
Chemistry interface in order to couple it to a thermodynamic system.
Select a thermodynamic system from the Thermodynamic system list. Use the Phase list
to select the phase to be used in the Chemistry interface.
Species Matching
The Species Matching section is activated when the Thermodynamics checkbox is selected
in the Mixture Properties section. Here you can match the variables for the
concentrations, and by this calculate mixture properties (transport and thermodynamic
properties). For information on how to specify the dependent variables to be used, see
Species Matching in The Chemistry Interface documentation.
You can match the species in the Chemistry interface with those in the corresponding
thermodynamic system in the Species matching section’s table. Use the lists in the
column with the title From Thermodynamics to match each species in the Chemistry
interface to a species in the corresponding thermodynamic system. This ensures that
the composition function arguments in the thermodynamic system are correctly
defined.
For each species matched, the species property parameters and functions required by
the Chemistry interface are automatically created and added under the corresponding
thermodynamic system.
When the system is fully matched, the mixture property Zmix is defined as
m
Z mix = ni Zi (8-3)
i=1
The definition of partial molar properties can be rewritten using mole fraction
derivatives as:
Z i T P n 1 n m = Z i T P x 1 x m = (8-5)
Z -----------------------------------------------------------
Z mix T P x 1 x m
mix T P x 1 x m +
-
xi T P x
ij
m Z mix T P x 1 x m
– xi -----------------------------------------------------------
xi
-
T P x
i=1
ij
When the system is partially coupled, which means that some but not all species have
been coupled, the mixture property is instead calculated assuming ideal mixing:
m
Z mix = ni Zi T P (8-6)
i=1
Figure 8-29: The enthalpy and heat capacity of toluene are evaluated using property
calculations through a thermodynamics system. In this case, the functions are temperature
and pressure dependent properties for a pure component.
User-Defined Species
Use this feature to specify the properties of a new species not available in the included
COMSOL database. This feature can also be used to edit a database species, by using
an existing species as a template, to create a new one. A User-Defined Species can be
included in a Thermodynamic System feature, or Predefined System feature, together
with predefined database species and other user-defined species.
The data needed for a user-defined species includes both material properties, such as
the molar mass and the vapor pressure, and properties for specific thermodynamic
models or transport models (see Thermodynamic Models and Theory). For instance,
in order to use the UNIFAC thermodynamic model, you need to define UNIFAC
groups for the new species.
Note that the thermodynamics calculator includes measures to handle missing species
properties, sometimes by applying approximations. For instance, if the Wilson volume
is not available, the liquid volume at normal boiling point is used instead. If data for
this is also missing, it is estimated from the saturated liquid density correlation.
• Molecular mass
• Critical properties
• Acentric factor
• Absolute entropy
• Standard enthalpy of formation
• Ideal gas heat capacity
EXAMPLE MODEL
For an example of using a User-Defined Species see this application example:
If you want to edit a species in the COMSOL database, select the Use species from
database as template checkbox. Then locate the species to edit in the list. The filter text
field can be used to search among the available species.
ENTER PARAMETERS
Define the necessary parameter for the new species.
Structure Information
If you want to use the UNIFAC model, specify the structure formula, the UNIFAC
groups and their number occurrences.
Figure 8-33: User-Defined Species Wizard; specify the structure information in the Enter
Parameters step.
DEFINE PROPERTIES
The last step in the wizard is to add temperature dependent properties for the new
species. All temperature dependent properties are defined using cubic polynomials on
the form
2 3
f T = a0 + a1 T + a2 T + a3 T (8-7)
Each property can consist of an arbitrary number of temperature intervals, each using
the above form. Click the Add button ( ) under the table for a specific property to
add an interval.
Click the Finish button ( ) in the top of the Settings window to finalize the species
and add it to the User-Defined Species node under Thermodynamics.
SETTINGS
Selecting a species node under User-Defined Species shows the Settings window
including the definitions of all species properties. Properties are categorized into
References
1. [Link]
• Introduction
• Thermodynamic Models
• Selecting the Right Thermodynamic Model
• Species Property References
• Thermodynamic Properties Definitions
• Standard Enthalpy of Formation and Absolute Entropy Terms
• Reference State
• Transport Properties
• Surface Tension
• References
Introduction
In this chapter, we review the theory behind the thermodynamic properties database
and its functions. The thermodynamic models in the database are available for single
phase, gas or liquid, and phase equilibrium systems for two or more phases such as
vapor–liquid equilibrium (VLE), vapor-liquid–liquid equilibrium (VLLE) and liquid–
liquid equilibrium (LLE).
Thermodynamic Models
In the following sections, the available thermodynamic models are described:
PV
Z -------- = f v V T (8-8)
RT
The equations of state models available in the thermodynamic properties database are:
P = RT
-------- (8-9)
V
As the name suggests, the ideal gas law is only applicable to gases. In fact, its use is
limited to gases at low to moderate pressures.
Peng–Robinson
The classical Peng–Robinson (PR) equation of state Ref. 5 is given by
RT - – ------------------------------------
a
P = ------------ - (8-10)
V – b V 2 + 2bV – b 2
2 2
R Tc
a i = A -------------- (8-11)
Pc
RT c
b i = B ----------- (8-12)
Pc
1
A = 1
--- + --- B 4 + 10 B (8-13)
3 3
1
---
27 - 3
= ---------------
351 - + ------------ 2 (8-15)
32768 2048
2
i = 1 + 0.37464 +1.54226 i – 0.26992 i2 1 – T r i (8-16)
For mixtures
xi xj 1 – kPR,i,j
a = a i a j (8-17)
i j
xi bi
b = (8-18)
i
The binary interaction parameters (BIPs), kPR, are symmetric with zeros in the
diagonal:
k PR = k PR,i,j (8-19)
k PR,i,j = 0 (8-20)
When binary interaction parameters are missing in the database for a set of species, the
value is set to zero (a warning node is created). The values for critical temperature, Tc,
critical pressure, Pc, and acentric factor, i must be specified for all species.
Peng–Robinson (Twu)
For the Twu modification (Ref. 6) of the Peng–Robinson model, the alpha function,
i, is replaced by
Ni Mi – 1 NM
i = T + R exp L i 1 – T r ii i (8-21)
The binary interaction parameters kPR, are used for the Twu modification. Acentric
factor, i, is not used in this model but critical temperature and critical pressure must
be specified for all species. The species specific fit parameters Li, Mi, Ni can be
determined by fitting the pure species phase equilibrium to the vapor pressure curve.
RT - – ----------------------
a -
P = ------------ (8-22)
V – b VV + b
with
1-
= ------- (8-23)
T
2 2.5
R Tc
a i = A ------------------ (8-24)
Pc
RT c
b i = B ----------- (8-25)
Pc
1
A = 1
--- + --- B 3 + 3 B (8-26)
3 3
1 2
--- ---
1 3 3
B = ------ 2 27 – 1
--- (8-27)
27 3
For mixtures
xi xj 1 – kSRK,i,j
a = ai aj (8-28)
i j
xi bi
b = (8-29)
i
The binary interaction parameters, kSRK, are symmetric with zero in the diagonal:
If a value is missing for kSRK,i,j in the database, it is set to zero (a warning node is
created). The values for critical temperature, Tc, critical pressure, Pc, and acentric
factor, i, must be specified for all species. The Soave–Redlich–Kwong equation of
2
i = 1 + 0.480 +1.574 i – 0.176 i2 1 – T r i (8-32)
Soave–Redlich–Kwong (Graboski–Daubert)
The Graboski and Daubert Ref. 9 modification of the Soave–Redlich–Kwong equation
of state replaces alpha function by
2
i = 1 + 0.48508 +1.55174 i – 0.1561 i2 1 – T r i (8-33)
Water (IAPWS)
The International Association for the Properties of Water and Steam (IAPWS)
provides a set of correlations to compute properties of water in different states. The
correlations available in COMSOL correspond to the version named Industrial
Formulation 1997 (IF-97) Ref. 10 - Ref. 12. The correlations are valid in the
following ranges:
The following water and steam properties, available by creating a Species Property, are
computed using the IAPWS correlations: density, volume, enthalpy, internal energy,
Helmholtz energy, heat capacity at constant pressure, and heat capacity at constant
volume. The amounts present in the vapor and liquid phase can be computed using an
Equilibrium Calculation.
Other parameters and thermodynamic properties available for the system are provided
from the COMSOL database.
which yields
P i sat
̂ i l = i i sat ------------- F i (8-38)
P
where the activity coefficient, i, describes the nonideal liquid phase and ̂ i sat P i sat is
the fugacity at the vapor–liquid phase boundary at equilibrium for the pure species i.
The Poynting correction, Fi, describes the pure species fugacity deviation from the
boiling curve and can be expressed as
P V i l
F i = exp
P i sat
--------- dp
RT
(8-39)
V i l
F i exp --------- P – P i sat (8-40)
RT
The Poynting correction can often be ignored for moderate pressure. Hence,
Equation 8-38 can be expressed as
P i sat
̂ i l = i i sat ------------- (8-41)
P
If the vapor phase is considered ideal, then i sat = 1 and the above equation reduces
to
P i sat
̂ i l = i ------------- (8-42)
P
This reduction can be selected explicitly in case the vapor phase is not ideal.
Ideal Solution
For an ideal solution the activity coefficient is equal to one, which gives:
ln i = 0 (8-44)
2
V i i – av
ln i = -------------------------------
- (8-45)
RT
where Vi is species molar volume and i is species solubility parameter, and av is
xi Vi i (8-46)
av = ----------------------------
i
xi Vi
i
The volume parameter, Vi, is set equal the liquid volume, Vi,l,b at normal boiling point
which must be specified for all species. The solubility parameter, i must be specified
for all species and can be estimated from the normal heat of vaporization, Hvap,iand
the liquid volume at normal boiling point as
H vap i
i ------------------- (8-47)
V i l b
2
V i i – av
- + ln i + 1 – i
ln i = ------------------------------- (8-48)
RT
where
Vi
i = ----------------------
- (8-49)
xi Vi
i
Wilson
Wilson Ref. 17 derived his activity coefficient model from a consideration of
probabilities of neighboring molecules in a liquid
V w j i j
i j = ----------- exp – -------- (8-51)
V w i T
i i = 0 (8-52)
i i = 1 (8-53)
NRTL
Renon and Prausnitz (Ref. 18) formulated a three parameter activity coefficient model
that is able to describe liquid–liquid equilibrium; the nonrandom two-liquid (NRTL)
model:
xj j i Gj i
x j G j i
x k k j G k j
(8-54)
ln i = j
------------------------------
- + ------------------------- i j – ----------------------------------
x G
k
xj Gj i j k k j x k G k j
j k k
A i j
i j = --------- (8-55)
T
G i j = exp – i j i j (8-56)
The three parameters are Ai,j, Aj,i, and i,j. A more general form is implemented here:
A i j
i j = --------- + B i j (8-57)
T
G i j = exp i j – i j i j (8-58)
The binary interaction parameters, Bi,j, have values of zero on the diagonal and the
matrix is nonsymmetric. For each pair of species, at least Ai,j or Bi,j should be specified.
The randomness parameters, i,j, have values of zero on the diagonal and the matrix
is symmetric. All off-diagonal values must be specified. Alternatively one can set the
more generic form directly specifying parameter i,j for which diagonal values are zero
and the matrix is nonsymmetric. For each pair of species at least i,j or i,j should be
specified.
If any value for these parameters is missing in the database, it is set to zero (warning
node is created).
A i i = 0 (8-59)
B i i = 0 (8-60)
i i = 0 (8-61)
j i = i j (8-62)
i i = 0 (8-63)
G i i = 1 (8-64)
i i = 0 (8-65)
UNIQUAC
Abrams and Prausnitz followed up with another two-liquid model known as Universal
Quasi Chemical equation (UNIQUAC) (see Ref. 19), which is formulated in terms of
two activity coefficients:
The first term is the combinatorial part contributes to the Gibbs free energy
originating from size and shape effects as
z i
ln i comb = 1 – i + ln i – --- q i 1 + ----i + ln ---- (8-67)
2 i i
j
x j q j j i
x j q j j i
ln i res = q i 1 – ln -------------------------
- –
--------------------------- (8-68)
x j q j x j q j k j
j
j
k
where
ri
i = ----------------
- (8-69)
xj rj
j
qi
i = ----------------- (8-70)
xj qj
j
– E i j
i j = exp ----------------- (8-71)
T
The coordination number is taken equal to z = 10. The binary interaction energy
parameters, Ei,j, are specified in terms of absolute temperature (K). The diagonal
values are zero and the matrix is nonsymmetric. All off-diagonal values must be
specified.
E i i = 0 (8-72)
i i = 1 (8-73)
The volume parameters, ri, and surface area parameters, qi, are model-specific
parameters for each species. If the parameters are not specified, they can be derived
from the van der Waals volume, VVDW,i, and area, AVDW,i, respectively
V VDW,i
r i = -------------------------------------
- (8-74)
–3
0.01517 10
A VDW,i
q i = ------------------------ (8-75)
–5
2.5 10
UNIFAC
The UNIQUAC Functional-group Activity Coefficients (UNIFAC; see Ref. 20) uses
the same equations as UNIQUAC but the parameters are constructed from group
contributions. The model can be used if UNIQUAC parameters are not available for
all species. The activity coefficients are calculated from Equation 8-66. The
combinatorial part follows from equation Equation 8-67, where
ri = k i r k (8-76)
k
qi = k i q k (8-77)
k
where rk and qk are the values for group k in species i, andk,i is the number of
occurrences of group k in molecule. The residual term in Equation 8-66 is calculated
from a summation over functional groups:
The values for ln(k,res) are calculated from the mixture containing all species at a
specified composition x. The values for ln(i,k,res) are calculated for a mixture of group
k considering only pure species i. Both are defined, for functional group k, by
l
x l q l l k
x l q l k l
ln k res = q k 1 – ln --------------------------- –
----------------------------- (8-79)
x l q l
x l q l m l
l
j
m
where xl and xm are the compositions of functional group l and m in the mixture
x i m i
i
x m = ----------------------------------- (8-80)
x i k i
i k
A k m
k m = exp – ------------
- (8-82)
T
The default group and interaction parameters are those published by the UNIFAC
consortium (Ref. 21 through Ref. 26), with added groups from Balslev and Abildskov
(Ref. 27) but can be modified per package or database. The groups must be specified
for all species. Note that the interaction parameter matrix is sparse, and a package can
only be used if all interaction parameters for all used groups are specified.
Chao–Seader (Grayson–Streed)
The Chao–Seader model Ref. 13 correlates liquid phase partial coefficients for pure
species, for use of hydrogen and hydrocarbon mixtures at elevated pressure and
temperatures. It is expressed by
ln i l = ln i + ln i l 0 (8-83)
A i 12
log i l 2 = A i 10 + ------------
- + A i 11 T r i + A i 13 T r3 i + A i 14 P r i – 0.6 (8-86)
T r i
xi Tr i 0.93
i
For liquids the density is defined as the reciprocal of the liquid volume:
1-
l = ----- (8-87)
Vl
Using a cubic equation of state, the solution has 1, 2, or 3 different roots for the
volume. The liquid density is defined as the root producing the highest density, and
the vapor density as the root producing the lowest density.
Equation of State
When an equation of state is selected as the liquid phase model, the liquid volume is
by default set to be calculated using the same equation of state model. The other liquid
volume models; Ideal Mixture, COSTALD, and Rackett are also available.
Note, the vapor phase model and the liquid volume cannot use different equation of
state models.
Ideal Mixture
For an ideal mixture the liquid volume is computed from the pure species densities
(corresponding to the saturated liquid density):
xi
V l m = --------
i l
(8-88)
i
In this case the pure species densities corresponds to the saturated liquid density, which
is available as a temperature dependent correlation for all species in the built-in
database.
COSTALD
Hankinson and Thomson Ref. 28 presented the Corresponding States Liquid Density
(COSTALD) equation as
V - = V
------------ r ref 1 – V r (8-89)
V mix
e + fT r + gT r2 + hT r3
V r = ---------------------------------------------------
- (8-91)
T r – 1.00001
1
V mix = ---
4 xi Vi + 3 xi Vi2 / 3 xi Vi1 / 3 (8-92)
i i i
2
x i T c i V i
i
T c = ------------------------------------------ (8-93)
V mix
-----
T
- T Tc
Tr = Tc (8-94)
1 T Tc
= xi i (8-95)
i
where the volume, Vi, and acentric factor, ifor species i are model specific
parameters. If the COSTALD volume parameter is unspecified, it is estimated from the
van der Waals volume when VVDW,i0.3103 m3/mol
2
V i = 5.385 V VDW i – 5.1022VVDW 3
+ 79.524VVDW (8-96)
i i
4
– 99.316VVDW 5
+ 100.88VVDW 6
– 1152.7VVDW
i i i
V i = V c i (8-97)
If the COSTALD acentric factor, i is not specified, it can be set equal to the generic
acentric factor for species i. A critical temperature, Tc,i must be specified for all species.
a -1.52816 e -0.296123
b 1.43907 f 0.386914
c -0.81446 g -0.0427258
d 0.190454 h -0.0480645
Rackett
The Rackett equation Ref. 29 computes the liquid density at the saturation point, and
can be used to describe liquid density at any pressure using the assumption that the
liquid is incompressible. The equation and its condition can be expressed as:
x i T c i 1 + 1 – Tr 2 7
2
Vl = R
-
---------------------------
MW i P c i Z r i
xi MW i (8-98)
i i i
Tc = xi Tc i (8-99)
i
-----
T
T- T Tc
Tr = c (8-100)
1 T Tc
Critical temperatures, Tc,i, critical pressures, Pc,i, and molecular weights, Mi, must be
specified for all species. The model parameter, Zr,i, must be specified for all species. If
the value is not available it can be set to the critical compressibility factor:
Z r i = Z c i (8-101)
1-
= --- (8-102)
V
ln ̂ i = 0 (8-103)
T
xi Hi ig T T
H ig = + C P i ig dT (8-104)
ref
ref
i
where Hi,ig,Tref relates the enthalpy of an ideal gas to the enthalpy at the selected
reference state for species i.
T C P i ig
- dT – R ln --------
P -
S ig = x i S i ig T ref – R ln x i +
T ref
-----------------
T P ref
(8-105)
i
where Si,ig,Tref is the entropy of an ideal gas to the entropy of species at the selected
reference state.
G ig = H ig – TS ig (8-106)
Equation of State
The equation of state determines V at given x, T, and P. Density can be expressed as
Equation 8-102. The partial fugacity coefficients are derived from
P
ˆ
0 Vi – --------
1 RT
ln ̂ i = -------- (8-107)
RT P
where Vi is the partial molar volume. The enthalpy, entropy, and Gibbs free energy
follow from the partial fugacity coefficients and the ideal gas contributions as:
ln ̂ i
S = S ig – R xi ln ̂i + T -------------
T
- (8-109)
i
G = G ig – RT xi ln ̂i (8-110)
i
Heat Capacity
H
C P = -------- (8-111)
T P,x
It is available when the enthalpy is available. The heat capacity at constant volume is
defined by
H
C v = -------- (8-112)
T v,x
The relationship between the heat capacity at constant pressure and constant volume
can be expressed as
V P
C p – C v = T ------- ------- (8-113)
T P,x T v,x
V V
v = ------- T + ------- P = 0 (8-114)
T P,x P T,x
V 2
T -------
T P,x
C v = C P + ------------------------ (8-115)
V
-------
P T,x
C
= ------p- (8-117)
Cv
2 ln i
T
H = xi Hi ig T ref
+ T ref
C P i ig dT – H i vap – RT --------------
T
(8-118)
i
2 ln ̂ i sat
– R T -----------------------
T
T C P i ig P i sat
- dT – R ln -------------
S = xi Si ig T ref
– R ln x i + T ref
-----------------
T P ref
- (8-119)
i
ln i ln ̂ i sat H i vap
+ ln i + T -------------- + ln ̂ i sat + T ----------------------- + R --------------------
T T T
T
G = x i H i ig T ref +
T ref
C P i ig dT – T S i ig T ref +
(8-120)
i
T C P i ig Pi sat
------------------ dT + RT ln x i + ln i + ln ̂ i sat + ln -------------
T ref
T P ref
-
Note that if the vapor phase is ideal, then the saturated fugacity, ̂ i sat , contribution
can be ignored.
Other Properties
Partial fugacity is calculated from
fˆi = x i ̂ i P (8-121)
where Ui,ig,ref is the enthalpy of an ideal gas to the species enthalpy at the selected
reference state.
A = U – TS = G – PV (8-123)
̂ i q
K i p q = --------- (8-124)
̂ i p
i q
K i p q = --------
- (8-125)
i p
M mix = xi Mi (8-126)
i
At reference conditions, the heat of any reaction relates to the heat of formation as
Note that for reacting flow or a heat balance in a reactor when the heat of reaction is
explicitly taken into account, the enthalpy should not include the heat of formation.
SF = S + xi Sabs i (8-129)
i
The entropy balance over a process that includes reactions should include either the
entropy of reaction and use S, or use SF without entropy of reaction.
If user needs the absolute value of entropy of formation, it is possible to estimate it by:
S i = S f i = j Sabsj (8-130)
j
where the entropy of formation of species i is calculated from its elemental constituent
j. For example, entropy of formation of ammonia at 298 K is
N 2 g + 3H 2 g 2NH 3 (8-131)
The reference values for enthalpy, Hi,ref, entropy, Si,ref, and internal energy, Ui,ref, are
calculated so that the pure species enthalpy, entropy, and internal energy are equal to
zero at reference conditions.
The reference values for enthalpy, including formation terms, and entropy, including
absolute terms, are calculated such that the corresponding property for pure species i
has a value equal to the specified formation term at the species reference conditions.
Transport Properties
This section includes definitions of the models available in for thermal conductivity,
viscosity, and diffusivity:
• Thermal Conductivity
• Viscosity
• Diffusivity
THERMAL CONDUCTIVITY
Vapor
Ideal
The pressure correction v,P is calculated from the method of Stiel and Thodos, see
Ref. 30, which is applicable for r 3, but is less accurate for H2, strongly polar gases,
and gases with a high degree of hydrogen bonding, such as H2O and NH3
P c2 / 3
v P = ----------------------------- A exp B r + C (8-134)
MT c1 / 6 Z c5
1-
c = ----- (8-136)
Vc
x i x j V c i j
Vc = (8-137)
i j
x i x j V c i j T c i j (8-138)
i j
T c = -----------------------------------------------------
-
Vc
xi i
= (8-139)
i
RT c Z c
P c = ----------------- (8-141)
Vc
xi Mi
M = (8-142)
i
1
V c i j = --- V c1/i3 + V c1 /j3 3 (8-143)
8
T c i j = T c i T c j (8-144)
A B C
r0.5 A1=2.702E8 B1=0.535 C1=-1
0.5r2.0 A2=2.528E8 B2=0.670 C2=-1.069
r2.0 A3=0.574E8 B3=1.155 C3= 2.016
The vapor thermal conductivity correlation must be available for all species. Also
critical volumes, Vc,i, critical temperatures, Tc,i, molecular weights Mi, and acentric
factors i must be specified for all species.
Kinetic Theory
Lindsay and Bromley (see Ref. 32) provided an equation for the interaction parameters
of the method of Wassiljewa (see Ref. 33) based on the kinetic theory, to provide
mixture thermal conductivity from pure species values
x
--------------------- +
i i v
v = (8-147)
v P
i
x j i j
j
2
T + 3
--- T b i 9
T + --4- T b i T b j
M 3 / 4 2
= --- 1 + ---------- ------- ------------------------------ ----------------------------------------------
1 i v j
i j (8-148)
4 j v M i T + 3
--- T T + --- T b i
3
2 b j 2
where the pressure correction v,P is calculated from Equation 8-134. Both vapor
thermal conductivity correlation i,v and the vapor viscosity correlation i,v must be
available for all species. In addition, all normal boiling points Ti,b, molecular weights
Mi, critical volumes Vc,i, critical temperatures Tc,i, and acentric factors i must be
specified.
Water (IAPWS)
Liquid
The following mixture models are available for liquid thermal conductivity
Ideal
To calculate the mixture liquid thermal conductivity, l,m, the values of pure liquid
thermal conductivity correlations are mixed ideally
xi i l
l m = (8-152)
i
The pressure dependence is based on the work of Missenard (Ref. 51) where
l m P
----------------- = 1 + QP r0.7 (8-153)
l m
where Q is correlated as
T-
T r = ----- (8-155)
Tc
P-
P r = ----- (8-156)
Pc
RT c Z c
P c = ----------------- (8-157)
Vc
x i V c i
Vc = (8-158)
i
x i T c i
Tc = (8-159)
i
All liquid thermal conductivity correlations must be specified. All values for critical
temperatures, Tc,i, critical volumes, Pc,i and critical compressibility factors, Zc,i must
be specified for all species i.
Power Law
The values of pure liquid vapor thermal conductivity correlations are mixed according
to the following power law
1 = xi
-----------
l2 m --------
l i
(8-161)
i
All liquid thermal conductivity correlations must be specified. The model is valid for
pure compound thermal conductivity values that are no more apart than a factor of 2
(Ref. 52 and Ref. 53). The pressure dependence is introduced using Equation 8-153
through Equation 8-160. All values for critical temperatures, Tc,i, critical volumes, Pc,i
and critical compressibility factors, Zc,i must be specified for all spices i.
Local Composition
The local composition model by Rowley (Ref. 53) uses an ideal and excess
contribution
xi Mi
i = -------------------
- (8-164)
xj Mj
j
where Gj,i follows from Equation 8-58. The binary interaction terms follow from
i i i i l + j j j j l
i j = j i = -------------------------------------------------------- (8-166)
i i i + j j j
i i = i l (8-167)
and
i i = i i + j G j i (8-168)
with i is the composition in the binary mixture of species i and j and the local
composition is equi-molar
M i G j i
i = -------------------------------------------------- (8-169)
M i G j i + M j G i j
Rowley (Ref. 52) adapted the local composition model by replacing the mixing rule in
Equation 8-166 by the following
M i i i i i l + M j j j j j l
i j = j i = ---------------------------------------------------------------------------------
- (8-170)
M i i i i + M j j j j
Water (IAPWS)
VISCOSITY
Vapor
Wilke
Wilke, see Ref. 35, based his method for mixture viscosity of the vapor phase on kinetic
theory:
x
---------------------
i i v
v =
-
(8-174)
i
x j i j
j
2
i v M j 1 / 4
1 + ---------- --------
j v Mi
i j = ------------------------------------------------------ (8-175)
M
8 1 + -------i
M j
The vapor viscosity correlation i,v must be available for all species. In addition, all
molecular weights Mi must be specified.
Brokaw
Brokaw (see Ref. 36) uses the same basic equation as Wilke (Equation 8-174).
However, Equation 8-175 is replaced by
i j RM i j – RM i0.45 j
A i j = -------------------- 1 + ----------------------------------------------------------------------------------------- (8-177)
RM i j 1 + RM i0.45
2 1 + RM i j + ------------------------------------------------ j
i j 1 + RM i j
where
4M i M j 1 / 4 M
i j = ----------------------------2 , RM i j = -------i (8-178)
Mi + M Mj
j
The vapor viscosity correlation, i,v must be available for all species i. In addition, all
molecular weights Mi must be specified. If Lennard–Jones energy i (see Ref. 37)
Stockmayer’s polar parameter s,i (Ref. 38 and Ref. 39) are specified for both species
i and j then
T 2- + 1 ---
1 + --------
i j 4 s i s j
S i j = ---------------------------------------------------------------------------
- (8-179)
T 1 T 1
1 + ---- + --- s i 1 + ---- + --- s j
i 4 j 4
Otherwise,
S i j = 1 (8-180)
Davidson
The Davidson method, see Ref. 40, requires fewer compound specific parameters than
Brokaw, while reported accuracy is almost as good, and in the case of H2, even
surpasses it. The Davidson model only requires molar masses and the viscosities of the
pure gases. The model is based on fluidity, which is defined to be the reciprocal
viscosity.
f = --1- (8-181)
xi Mi
y i = ----------------------------
- (8-183)
xj Mj
j
2 Mi Mj
E i j = --------------------------
- (8-184)
Mi + Mj
To account for the effect of pressure on vapor viscosity, a pressure correction can be
applied. The pressure dependence is based on kinetic gas theory, which adds the
following term to the vapor viscosity:
M t P c2 / 3 10 – 7
- ---------------------------
v P = ----------------------- (8-185)
T c1 / 6 101325 2 / 3
where is calculated from the correlation of Jossi (Ref. 41), which is applicable for
r 3.0. It is less accurate for H2, strongly polar gases and gases with a high degree of
hydrogen bonding such as H2O and NH3.
The correction factor is due to using pressure, atm, and viscosity, cP, units in Jossi’s
correlation. It is expressed as:
1
---
4
+ 1 = 1.0230 + 0.23364 r + 0.58533 r2 (8-186)
– 0.40758 r3 + 0.093324 r4
-
r = ---- (8-187)
c
RT c Z c
P c = -----------------
Vc
, Vc = x i V c i , T c = x i T c i (8-189)
i i
Zc = x i Z c i , M t = x i M i (8-190)
i i
The values for critical volumes, Vc,i, critical temperatures, Tc,i, critical compressibility
factors, Zc,i and molecular weights, Mi must be specified for all species i.
The high pressure correction is available for the Wilke, Brokaw, and Davidson mixture
models. The vapor viscosity follows from
v = v Wilke + v P (8-191)
The corresponding states viscosity model of Pedersen (Ref. 42 and Ref. 43) applies to
both vapor and liquid phases of hydrocarbon mixtures. The selected reference species
is CH4.
The CH4 viscosity is calculated from Ref. 44, modified by Pedersen and Fredenslund
(Ref. 45) to avoid issues below 91 K where CH4 becomes solid
CH 4 = CH 4 0 + CH 4 CH 1 + F 1 CH 2 + F 2 CH 3 (8-192)
4 4 4
where
F1 = H + 1-
------------- (8-193)
2
F1 = 1 – H-
------------- (8-194)
2
exp T – exp – T -
H = ------------------------------------------------------------ (8-195)
exp T + exp – T
T = T – 91 K T K (8-196)
–L L2 L3
CH4 0 = ---------1- + ----------- – ----------- (8-197)
T T 2 / 3 T1 / 3
+ L4 –L5 T 1 / 3 + L6 T 2 3 – L7 T + L8 T 4 3 – L9 T 5 / 3
The first density correction for the moderately dense gas is given by
2
CH 4 1 = L 10 – L 11 1.4 – ln ----------------
T
(8-198)
168 K
L 12 L 15
CH 4 2 = exp --------
- – L 13 exp 10 CH 4 L 14 – ----------- + (8-199)
T T 3 / 2
CH – c CH 4 L 17 L 18
4 - CH L 16 + --------
------------------------------------ - + --------- – 1
4 T
c CH 4 T 2
L 19 L 22
CH 4 3 = exp --------
- – L 20 exp 10 CH 4 L 21 – ----------- (8-200)
T T 3 / 2
CH 4 – c CH 4 L 24 L 25
+ ----------------------------------- CH4 L 23 + --------- + --------
- – 1
c CH 4 T T 2
with the values of the parameters L1 through L25 are listed in Table 8-5 below:
TABLE 8-5: METHANE VISCOSITY NUMERICAL COEFFICIENTS.
The following equation by McCarty (Ref. 46) is solved for the density of CH4
N 5 N 6
P = N 1 CH T + CH
2 – N 2 T + N 3 T – N 4 + ------- – ------2- (8-201)
4 4
T T
N 15 N 16 CH7
N 18 N 19 CH9
+ CH - + N 17 ------------- + CH
4 4
6 – ---------- + --------- 8 ---------- + ---------- + N 20 -------------
4
T T
2 T 4
T T
2 T
N 28 N 29 N 30 N 31 N 32 N 33 4
+ CH
9 - – ---------- + CH
– --------- - + ---------- + CH
11 – --------- 13 ---------
- – ---------- + N 34 T
4
T 2
T
4 4
T 2
T
3 4
T 2
T
3
With the viscosity and density of CH4 defined, the viscosity of any mixture, mcan be
calculated from the corresponding states principle
where the CH4 viscosity CH4,P0,T0 is calculated at temperature T0 and pressure P0:
T c CH CH
T 0 = ------------------4 T -------------4 (8-203)
Tc
P c CH CH
P 0 = -----------------4 P -------------4 (8-204)
Pc
The following mixing rules are used for the critical properties, see Ref. 47:
x i x j i j T c i T c j
(8-205)
Tc = i j
-----------------------------------------------------------
-
xi xj i j
i j
8 x i x j i j T c i T c j
(8-206)
Pc = i j
--------------------------------------------------------------
-
2
xi xj i j
i j
T c i 1 / 3 T c j 1 / 3 3
i j = ---------- + ---------- (8-207)
P c i P c j
The parameter is
–3 0.5173
= 1 + 7.378 10 r1.847 M m (8-208)
CH4 P 0 T 0
r = --------------------------
- (8-209)
c CH 4
where
T c CH
T 0 = -----------------4 T (8-210)
Tc
–3 0.5173
CH 4 = 1 + 7.378 10 r1.847 M CH 4 (8-212)
where Equation 8-209 is used. The mixture molecular weight is a function of the
weight-averaged molecular weight and the number-averaged molecular weight
–4 2.303 2.303
M m = 1.304 10 M W – MN + MN (8-213)
xi Mi
2
i (8-214)
M W = --------------------
-
MN
xi Mi
MN = (8-215)
i
Note that pure species vapor viscosity correlations i,v are not required. However, for
each species i, molecular weight Mi, critical temperature, Tc,i, and critical pressure, Pc,i
must be specified.
Water (IAPWS)
Liquid
The following mixture models are available for liquid viscosity.
The values of pure species log liquid viscosity, ln i,l are mixed ideally using mole
fractions xi
ln l m = xi ln i l (8-221)
i
The values of pure species log liquid viscosity correlation are mixed ideally using the
weight fractions i
ln l m = i ln i l (8-222)
i
The Pedersen Corresponding States Model described above for the gas phase viscosity
also applies to the liquid phase. Pure species liquid viscosity correlations are not
required. However, for each species i, molecular weight Mi, critical temperature Tc,i,
and critical pressure Pc,i, must be specified.
Cubic mixing
The mixture viscosity is defined using the cubic root average in terms of the mole
fractions xi
3
l m =
x i i1 /l3
(8-223)
i
The model is noted in Ref. 50 to provide reasonable results for hydrocarbon mixtures
of similar components.
3
l m =
i i1 /l3
(8-224)
i
The model requires that the log liquid viscosity correlation is available for all species i.
Water (IAPWS)
DIFFUSIVITY
Two types of diffusion coefficients are supported. Diffusion coefficients in infinitely
diluted systems, and Maxwell–Stefan diffusion coefficients.
For dilute systems, the binary diffusion coefficient D0i,j represent the diffusivity of
species i in a medium consisting of pure species j. This corresponds to the Fickian
diffusion coefficient.
For any mixture, the binary Maxwell–Stefan diffusion coefficient D i j , represents the
inverse drag coefficient of species i moving past species j (Ref. 54–Ref. 57). This
• Fuller–Schettler–Giddings
• Wilke–Lee
Automatic When the Gas diffusivity property model is set to Automatic, the Fuller–
Schettler–Giddings model is used, provided that the Fuller diffusion volume is known
for both species (i and j), otherwise the Wilke–Lee model is used.
Fuller–Schettler–Giddings
Fuller and others (Ref. 58) modified the Chapman–Enskog relation to correlate binary
diffusion coefficient for species i and j in the vapor phase according to the Fuller–
Schettler–Giddings (FGS) model:
–2 1.75 1- + ------ 1-
1.01325 10 T ------
0 Mi Mj
D i j = -------------------------------------------------------------------------------- (8-230)
1 1 2
--- ---
3 3
P v + v
i
j
where T denotes the temperature (K), Mi the molecular weight of species i (g/mol)
and P is the pressure (Pa). vi are the atomic diffusion volumes (Fuller diffusion
volume, cm3), which are estimated using group contribution for each species
(Ref. 59):
TABLE 8-7: ATOMIC AND STRUCTURAL DIFFUSION VOLUME INCREMENTS.
GROUP CONTRIBUTION
C 15.9
H 2.31
O 6.11
N 4.54
F 14.7
Cl 21
Br 21.9
GROUP CONTRIBUTION
I 29.8
S 22.9
Aromatic Ring -18.3
Heterocyclic Ring -18.3
For some simple molecules the values below, determined from regression, are used:
TABLE 8-8: DIFFUSION VOLUMES OF ATOM AND SIMPLE MOLECULES.
He 2.67
Ne 5.98
Ar 16.2
Kr 24.5
Xe 32.7
H2 6.12
D2 6.84
N2 18.5
O2 16.3
CO 18
CO2 26.9
N2O 35.9
NH3 20.7
H2O 13.1
SF6 71.3
Cl2 38.4
Br2 69
SO2 41.8
Air 19.7
Wilke–Lee
Wilke and Lee (Ref. 60) also modified the Chapman–Enskog relation to correlate
binary diffusion coefficient in vapor phase according to:
0 –2 MW i j
D i j = 10 -------------------------------------------------------
2
- (8-231)
P i j D MW i j
where
2 -
MW i j = -------------------- (8-232)
1
------- + ------1-
Mi Mj
The length scale i,j for the interaction is taken from the Lennard–Jones diameter
parameters of species i and j:
LJ LJ
i + j
i j = ------------------------------
- (8-233)
2
LJ
If i is not specified in the database, it is instead estimated from:
1
---
LJ –8 3
i = 1.18 10 V i l b (8-234)
-0.15610
D = 1.06036 T + 0.19300 exp -0.47635 T (8-235)
+ 1.03587 exp -1.52996 T + 1.76474 exp -3.89411 T
with
T-
T = ------- (8-236)
i j
The energy scale i,j for the interaction is taken from the Lennard–Jones energy
parameters of species i and j:
LJ LJ
i j = i j (8-237)
LJ
If i is not specified in the database, it is instead estimated from:
LJ
i
--------
- = 1.15T i l b (8-238)
k
0
D i j = D i j i j (8-239)
All models for gas phase diffusion at infinite dilution are symmetric, the diffusivity of
species i in species j equals that of species j in species i. In addition, under the ideal gas
assumption, the Maxwell–Stefan diffusion coefficient matches the Fick diffusion
coefficient. This implies that the Maxwell–Stefan gas diffusivities provided are
independent of composition.
• Wilke–Chang
• Tyn–Calus
• Hayduk–Minhas
• Siddiqi–Lucas
• Erkey–Rodden–Akgerman
Automatic When the Liquid diffusivity at infinite dilution property model is set to
Automatic, a selection for each solute i in solvent j will be made from the models
according to the following rules. Except in the case of a temperature correlation and
the Erkey–Rodden–Akgerman model, all of these rules require that the log liquid
viscosity correlation, ln j is available in the database for species j and that the liquid
volume at normal boiling point, Vi,l,b is available for the species i.
For the Siddiqi–Lucas method, a molecule is considered organic if it has at least one C
atom bound to anything other than O or C atoms. This is determined by the SMILES
formula, if available. If, for any pair of species, the required input data for none of the
above models is available, the entire property liquid diffusion coefficient at infinite
dilution is not available.
Wilke–Chang
The correlation by Wilke and Chang (Ref. 62) for liquid phase diffusion coefficients at
infinite dilution is:
0 – 18 T j Mj
D i j = 1.858795959 10 --------------------
0.6
- (8-240)
j V i l b
Molecular weight, Mj, and log liquid viscosity correlation, ln j, for species j and liquid
molar volume at normal boiling point for species i, Vi,l,b, is required. The Wilke–
Chang association parameter j, if unavailable, is set to:
TABLE 8-9: ASSOCIATION PARAMETERS FOR SOLVENT.
SOLVENT ASSOCIATION
PARAMETER
Tyn–Calus
The Correlation by Tyn and Calus (Ref. 65) for liquid diffusion coefficients at infinite
dilution reads:
1
--6- 0.6
T V i l b P j
0 – 16
D i j = 8.93 10 ------------------------------------- (8-241)
1-
--
3 0.6
j V j l b P i
The log liquid viscosity correlation ln j should be available for species j, The liquid
volume at normal boiling point, Vi,l,b and parachor, Pi should be available for both
species i and j.
If the solvent is nonpolar (dipole moment is zero), and the solvent is methanol, ethanol
or1-butanol or if the solvent is a mono-hydroxy alcohol, both the liquid volume at
normal boiling point, Vj,l,b and the parachor, Pj are corrected by a factor of 8 × 103j.
If the solute is water, both the liquid volume at normal boiling point, Vi,l,b and
parachor, Pi for the solute are corrected by a factor 2. This factor also applies if it is
detected from the SMILE formula that the species is an organic acid (a carboxyl group
is found), except in the cases where the solvent is water, methanol, or n-butanol.
Hayduk–Minhas
Hayduk and Minhas (Ref. 66) suggested three different correlations for liquid
diffusion coefficients at infinite dilution.
Aqueous Solutions: in case the solvent is water (derived from CAS number or SMILES
formula), the correlation reads:
Normal paraffin solutions: In case both the solute and solvent are normal paraffins
(derived from SMILES formula), the correlation reads:
10.2 10
–6
---------------------------- – 0.791
10 3 Vi l b
– 16 1.47 j
---------------------------------------------------------------------
0
D i j = 7.30889362 10 T (8-243)
0.71
V i l b
1.29
0 – 16 T Pj
D i j = 3.8934239 10 ---------------------------------------------
0.92 0.23 0.42
- (8-244)
j V j l b P i
If the solvent is nonpolar (dipole moment is zero), and the solvent is methanol, ethanol
or1-butanol or if the solvent is a mono-hydroxy alcohol, both the liquid volume at
normal boiling point, Vj,l,b and the parachor, Pj are corrected by a factor of 8 103j.
If the solute is water, both the liquid volume at normal boiling point, Vi,l,b and
parachor, Pi for solute are corrected by a factor 2. This factor also applies if it is
detected from the SMILES formula that the species is an organic acid (a carboxyl
group is found), except in the cases where the solvent is water, methanol, or n-butanol.
Siddiqi–Lucas
Siddiqi and Lucas (Ref. 67) suggested correlations for liquid diffusion coefficients at
infinite dilution for aqueous system (including gases) and for organic solutions. For
normal paraffins systems, they recommended the Hayduk–Minhas model.
0 – 17 T
D i j = 1.295436901 10 --------------------------------------
1.026 0.5473
- (8-245)
j V i l b
For all other systems, the equation for organic solution is used as:
Where T is the temperature, Vi,l,b is the liquid volume at normal boiling point and j
is the viscosity of the solvent.
Erkey–Rodden–Akgerman
The correlation by Erkey and others (Ref. 68) for liquid diffusion coefficients at
infinite dilution in normal paraffins is:
ref 6
0 –9 T V – V j 10
D i j = 94.5 10 ------------------------------------------------------------------------------------ (8-247)
0.239 0.781 – 20 1.134
Mi Mj i j 10
ref 1 3
Vj = ------- b j N Av j (8-248)
2
NAv is Avogadro’s number, and the deviation from closest packing volume is given by
i
b j = 1.206 + 0.0632 ----- (8-249)
j
The correlation is fitted to normal paraffins, hydrogen, carbon monoxide and carbon
dioxide diffusing in normal paraffins. The molecular weight Mi should be available for
both solute and solvent. The Lennard–Jones diameter, i is estimated from Bondi
group contribution method (Ref. 69), and for some species are taken from Ref. 68 and
Ref. 70 as:
TABLE 8-10: MOLECULAR DIAMETERS FOR SPECIES.
10
SPECIES 10 (M)
H2 2.92
CO 3.72
CO2 3.97
1/3
n-CjH2j+2 (21.82+32.44*j)
To prevent the diffusion coefficients from becoming negative, the minimum difference
of (V Vjref) is considered to be 1012 mol/m3.
Di j x 1
xk
D i j = k
(8-250)
k=1
0 0
D i j xj 1 = D i j = D i j (8-251)
Similarly,
0 0
D i j x i 1 = D j i = D j i (8-252)
Models for the D i j x k 1 for k i and k j remain to be defined in such a way that
symmetry is ensured:
D i j = D j i (8-253)
For binary systems, Equation 8-250 reduces to the Vignes interpolation formula.
Wesselingh–Krishna
0 0
D i j x k 1 = D i j D j i (8-255)
leading to:
Kooijman–Taylor
Kooijman and Taylor (Ref. 73) found on a limited number of systems that this
provides better results:
0 0
D i j xk 1 = D i k D j k k i j (8-257)
leading to:
n
xj xi xk
0 0 0 0
D i j = D i j D j i D i k D j k (8-258)
k = 1
k i j
Wesselingh and Bollen (Ref. 74) asserted that this is a reasonable estimate.
Krishna–van Baten
Krishna and van Baten (Ref. 75), on the basis of data obtained from molecular
dynamic simulations, proposed the following Vignes-based (Ref. 71) interpolation:
--------------
xi
- --------------
xj
-
x i + x j x i + x j
0 0
D i j x k 1 = D i k D j k k i j (8-259)
The model reduces to the Kooijman–Taylor model for xi = xj. The value of D i j x k 1
is undefined in the limit of both xi 0 and xj 0. From a physical point of view this
is inconsequential as the value cancels out in the expressions obtained for the fluxes
using the Maxwell–Stefan equations. Nevertheless, in order to obtain well-defined
values and composition derivatives of D i j xk 1 itself, the equation is modified to:
xi + x
----------------------------- xj + x
-----------------------------
x i + x j + 2 x x i + x j + 2 x
0 0
D i j x k 1 = D i k D j k k i j (8-260)
where x 1010 is taken as a small composition. The limiting case for both xi 0 and
xj 0 also reduces to the Kooijman–Taylor model. This equation leads to:
Surface Tension
The available surface tension models are presented below.
Ideal
The gas–liquid surface tension is predicted by ideally mixing the pure species
correlations. It is independent of pressure, vapor temperature or composition.
xi l i vl
vl = (8-262)
i
where the vapor–liquid surface tension correlations, i,vl, must be specified for all
species i, and are evaluated at the temperature of the liquid phase.
Winterfeld
Following Winterfeld (Ref. 76), the vapor–liquid surface tension is predicted by
mixing the pure species correlations according to
x i l x j l i vl j vl
---------------------------------------------
i l j l
-
vl = -------------------------------------------------------------
i j - (8-263)
x i l 2
--------
i l
i
References
1. A. Akerberg, CFD analyses of the gas flow inside the vessel of a hot isostatic press,
Master of Science Thesis, KTH School of Industrial Engineering and Management,
Stockholm, Sweden, 2012.
3. B.E. Poling, J.M. Prausnitz, and J.P. O’Connell, The Properties of Gases and
Liquids, McGraw Hill, international edition, 2007.
6. C.H. Twu, J.E. Coon, and J.R. Cunningham, “A new generalized alpha function
for a cubic equation of state, Part 1, Peng–Robinson equation,” Fluid Phase
Equilibria, vol. 105, pp. 49–59, 1995.
9. M.S. Graboski and T.E. Daubert, “A modified Soave equation of state for phase
equilibrium calculations, 3, systems containing hydrogen,” Ind. Eng. Chem. Process.
Des. Dev., vol. 18, no. 2, pp. 300–306, 1979.
10. J.R. Cooper, “Revised Release on the IAPWS Industrial Formulation 1997 for the
Thermodynamic Properties of Water and Steam”, The International Association for
the Properties of Water and Steam, IAPWS R7-97, 2012.
14. J.H. Hildebrand and R.L. Scott, “The solubility of non-electrolytes,” J. Phys.
Chem., vol. 55, no. 4, pp. 619–620, 1951.
15. H.G. Grayson and C.W. Streed, “Vapor-liquid equilibria for high temperature,
high pressure hydrogen-hydrocarbon systems,” 6th World Petroleum Congress, 19–
26 June, Frankfurt am Main, Germany, IV, pp. 169–180, 1963.
16. J.H. Hildebrand, J.M. Prausnitz, and R.L. Scott. Regular and Related Solutions,
Van Nostrand Reinhold Co., 1970.
17. G.M. Wilson, “Vapor-liquid equilibrium. xi. a new expression for the excess free
energy of mixing,” J. Am. Chem. Soc., vol. 86, pp. 127–130, 1964.
19. D.S. Abrams and J.M. Prausnitz, “Statistical thermodynamics of liquid mixtures:
A new expression for the excess Gibbs energy of partly or completely miscible
systems,” AIChE J., vol. 21, no. 1, pp. 116–128, 1975.
27. K. Balslev and J. Abildskov, “Unifac parameters for four new groups,” Ind. Eng.
Chem. Res., vol. 41, pp. 2047–2057, 2002.
28. R.W. Hankinson and G.H. Thomson, “A new correlation for saturated densities
of liquid and their mixtures,” AIChE J., vol. 25, no. 4, pp. 653–663, 1979.
29. H.G. Rackett, “Equation of state for saturated liquids,” J. Chem. Eng. Data,
vol. 15, no. 4, pp. 514–517, 1970.
30. L.I. Stiel and G. Thodos, “The thermal conductivity of nonpolar substances in the
dense gaseous and liquid regions,” AIChE J., vol. 10, no. 1, pp. 26–30, 1964.
32. A.L. Lindsay and L.A. Bromley, “Thermal conductivity of gas mixtures,”
Industrial and Engineering Chemistry, vol. 42, no. 8, pp. 1508–1511, 1950.
34. J.R. Cooper, “Release on the IAPS Formulation 1985 for the Thermal
Conductivity of Ordinary Water Substance,” The International Association for the
Properties of Water and Steam, Berlin, Germany, Sep. 2008.
35. C.R. Wilke, “A viscosity equation for gas mixtures,” J. Chem. Phys., vol. 18, no. 4,
pp. 517– 520, 1950.
36. R.S. Brokaw, “Approximate formulas for the viscosity and thermal conductivity of
gas mixtures. ii,” J. Chem. Phys., vol. 42, no. 4, pp. 1140–1147, 1965.
37. J.E. Lennard–Jones, “On the determination of molecular fields 1. from the
variation of the viscosity of a gas with temperature,” Proceedings of the Royal Society
of London. Series A, Containing Papers of a Mathematical and Physical Character,
vol. 106, pp. 441–462, 1924.
39. F.M. Mourits and F.H.A. Rummens, “A critical evaluation of Lennard–Jones and
Stockmayer potential parameters and of some correlation methods,” Can. J. Chem.
Eng., vol. 55, pp. 3007–3020, 1977.
40. T.A. Davidson, “A Simple and Accurate Method for Calculating Viscosity of
Gaseous Mixtures”, Report of Investigations 9456, United States Department of the
Interior, Bureau of Mines, 1993.
41. J.A. Jossi, L.I. Stiel, and G. Thodos, “The viscosity of pure substances in the dense
gaseous and liquid phases,” AIChE J., vol. 8, no. 1, pp. 59–63, 1962.
42. K.S. Pedersen and P.L. Christensen, “Phase Behavior of Petroleum Reservoir
Fluids,” CRC Press/Taylor & Francis Group, 2007.
44. H.J.M. Hanley, W.M. Haynes, and R.D. McCarty, “The viscosity and thermal
conductivity coefficients for dense gaseous and liquid methane,” J. Chem. Phys.,
vol. 6, no. 2, pp. 597–609, 1977.
45. K.S. Pedersen and A. Fredenslund, “An improved corresponding states model for
the prediction of oil and gas viscosities and thermal conductivities,” Chem. Eng. Sci.,
vol. 42, no. 1, pp. 182–186, 1987.
47. S. Murad and K.E. Gubbins, “Corresponding states correlation for thermal
conductivity of dense fluids,” Chem. Eng. Sci., vol. 32, no. 5, pp. 499–505, 1977.
48. J.R. Cooper, “Revised Release on the IAPWS Formulation 2008 for the Viscosity
of Ordinary Water Substance”, The International Association for the Properties of
Water and Steam, Berlin, Germany, Sep. 2008.
49. K. Daucik, “Revised Release on the Pressure along the Melting and Sublimation
Curves of Ordinary Water Substance”, The International Association for the
Properties of Water and Steam, Plzen, Czech Republic, Sep. 2011.
52. R.L. Rowley, G.L. White, and M. Chiu, “Ternary liquid mixture thermal
conductivities,” Chem. Eng. Sci., vol. 43, no. 2, pp. 361–371, 1988.
53. R.L. Rowley, “A local composition model for multicomponent liquid mixture
thermal conductivities,” Chem. Eng. Sci., vol. 37, no. 6, pp. 897–904, 1982.
54. W.D. Niven, “The Scientific Papers of James Clerk Maxwell”, Cambridge
University Press, 1890.
55. J.C. Maxwell, “On the dynamical theory of gases,” Philos. Trans. R. Soc.,
vol. 157, pp. 49–88, 1867.
56. J. Stefan, “Uber das Gleichgewicht und die Bewegung, insbesondere die Diffusion
von Gasgemengen,” Sitzungsbrichte der Kaiserlichen Akademie der Wissenschaften
Wien, 2te Abteilung a, vol. 63, pp. 63–124, 1871.
58. E.N. Fuller, P.D. Schettler and J.C. Giddings, “A new method for prediction of
binary gas-phase diffusion coefficients,” Industrial and Engineering Chemistry,
vol. 5, pp. 19–27, 1966.
59. E.N. Fuller, K. Ensley and J.C. Giddings, “Diffusion of halogenated hydrocarbons
in helium. The effect of structure on collision cross sections,” J. Phys. Chem., vol. 73,
no. 11, pp. 3679–3685, 1969.
60. C.R. Wilke and C.Y. Lee, “Estimation of diffusion coefficients for gases and
vapors,” Industrial and Engineering Chemistry, vol. 47, no. 6, pp. 1253–1257,
1955.
61. P.D. Neufeld, A.R. Janzen, and R.A. Aziz, “Empirical equations to calculate 16 of
l s
the transport collision integrals for the Lennard–Jones (12-6) potential,”
J. Chem. Phys., vol. 57, pp. 1100–1102, 1972.
65. M.T. Tyn and W.F Calus, “Diffusion coefficients in dilute binary mixtures,”
J. Chem. Eng. Data, vol. 20, no. 1, pp. 106–109, 1975.
67. M.A. Siddiqi and K. Lucas, “Correlations for prediction of diffusion in liquids”,
Can. J. Chem. Eng., vol. 64, pp. 839–843, 1986.
68. C. Erkey, J.B. Rodden and A. Akgerman, “A correlation for predicting diffusion
coefficients in alkanes”, Can. J. Chem. Eng., vol. 68, pp. 661–665, 1990.
69. A. Bondi, “van der Waals Volumes and Radii”, J. Phys. Chem., vol. 68, no. 3,
pp. 441-451, 1964.
70. J.O. Hirschfelder, C.F. Curtiss and R.B. Bird, “The Molecular Theory of Gases
and Liquids”, Wiley-Interscience, 1964.
71. A. Vignes, “Diffusion in Binary Solutions,” Ind. Eng. Chem. Fundam., vol. 5,
pp. 189–199, 1966.
72. J.A. Wesselingh and R. Krishna, “Mass Transfer”, Ellis Horwood Ltd, 1990,
ISBN: 0-13-553165-9.
74. J.A. Wesselingh and A.M. Bollen, “Multicomponent diffusivities from the free
volume theory”, Chem. Eng. Res. Des., vol. 75, no. 6, pp. 590–602, 1997.
75. R. Krishna and J.M. van Baten, “The Darken relation for multicomponent
diffusion in liquid mixtures of linear alkanes: An investigation using molecular
dynamics (MD) simulations,” Ind. Eng. Chem., vol. 44, pp. 6939–6947, 2005.
76. P.H. Winterfeld, L.E. Scriven, and H.T. Davis, “An approximate theory of
interfacial tension of multicomponent systems: Applications binary liquid-vapor
tensions,” AICHE J., vol. 24, no. 6, pp. 1010–1014, 1978
77. E.C. Carlson, “Don’t Gamble With Physical Properties For Simulation”, Chem.
Eng. Prog., vol. 92, no. 10, pp. 35–46, 1996.
The Fuel Cell & Electrolyzer Module has multiphysics couplings available under
certain conditions.
When a predefined multiphysics interface is added from the Model Wizard or Add
Physics windows, it adds the constituent interfaces and the Multiphysics Couplings
node, which automatically includes one or more multiphysics couplings.
If the constituent physics interfaces are added one at a time, then it adds an empty
Multiphysics Couplings node. When you right-click this node, you can choose from
the available multiphysics couplings.
803
Electrochemical Heating
Use the Electrochemical Heating multiphysics coupling ( ) to define domain and
boundary heat sources in a heat transfer interface, based on the sum of irreversible
(Joule heating and activation losses) and reversible heat in an electrochemistry
interface. The node also defines the temperature in the electrochemistry interface to
be equal to that of the heat transfer interface.
The settings of this node are similar to the Electromagnetic Heating node, described
in the COMSOL Multiphysics Reference Manual.
Potential Coupling
The Potential Coupling multiphysics coupling ( ) applies the electrolyte potential
variable from the source interface into the model inputs of the destination interface.
The potential variable is typically used to compute the migration flux in the destination
interface.
COUPLED INTERFACES
Specify the physics interface that provides the potential (Electrostatics, for instance) in
the Source list and the Chemical Species Transport interface in the Destination list.
COUPLED INTERFACES
Specify the Chemical Species Transport interface in the Source list and the
Electrostatics interface in the Destination list.
The node sets up a two-way bidirectional coupling so that the velocity field and
pressure distribution, calculated by the fluid flow interface, are used by the fc/we
interface, whereas the density and dynamic viscosity, calculated by the fc/we interface,
are used by the fluid flow interface.
| 805
806 | CHAPTER 9: MULTIPHYSICS COUPLING NODES
10
Glossary
This Glossary of Terms contains application-specific terms used in the Fuel Cell &
Electrolyzer Module software and documentation. For finite element modeling
terms, mathematical terms, and geometry and CAD terms, see the glossary in the
COMSOL Multiphysics Reference Manual. For references to more information
about a term, see the index.
807
Glossary of Terms
anode An electrode where oxidation occurs. Anodic charge transfer current densities
and overpotentials are positive by definition.
current feeder A part of an electrochemical device with high electric conductivity for
conducting current into the cell. See also current collector.
diluted electrolyte An electrolyte where the charged species are diluted in a solvent so
that the interaction between the ions can be neglected. See also concentrated
electrolyte.
electric potential The potential in the electrode (electron conducting) phase, denoted
s (phis).
electrolyte potential The potential in the electrolyte (ionic) phase, denoted l (phil).
electroneutrality A situation where the net charge of any small control volume of a
domain is zero. Electroneutrality can usually be assumed for electrolytes, with an
exception for the very proximity of the electrolyte-electrode interface, which is due to
the charge separation within the electrochemical double layer.
equilibrium potential The potential difference between the electrode and electrolyte
at which the net current density of an electrode reaction is zero.
gas diffusion electrode (GDE) A porous electrode that also includes gas pores in the
porous matrix.
gas diffusion layer (GDL) A porous matrix containing an electron conducting media
and gas pores. A gas diffusion layer contains no electrolyte phase.
Gibbs free energy A thermodynamic potential that depends on the enthalpy and
entropy of the reacting species.
intrinsic volume averages The physical properties of the fluid, such as density,
viscosity, and pressure.
intercalation The process of ions reacting on the surface of a host particle to form a
solid, intercalated, species within the host. The intercalated species can then be
transported further into the particle by diffusion processes.
migration The transport of charged species in an electrolyte due to the electric force
imposed by the electric field.
Poisson’s equation An equation for relating the electric field to the space charge
density. Can be modeled in COMSOL using the Electrostatics interface.
pore electrolyte An electrolyte in the pores of a porous matrix. See porous electrode.
porous electrode A porous matrix containing both electron conducting and ion
conducting media.
potentiostat A device that monitors and controls the potential of an electrode versus
a reference electrode.
reference electrode An electrode used for reference when defining the potentials of
the electrodes in a cell. A good reference electrode is stable and does not vary in
resistive film A film with ohmic resistivity, typically formed as a result of electrode
reactions.
superficial volume averages The flow velocities, which correspond to a unit volume of
the medium including both pores and matrix. These are sometimes called
Darcy velocities, defined as volume flow rates per unit cross section of the medium.
surface molar flux The tangential flux in the surface dimension as governed by
diffusion according to Fick’s law.
INDEX| 813
cyclic voltammetry 217 electrode, shell 175
electric reference potential (node) 162
D Darcy velocity 383, 490
electroanalysis interface 176
Darcy’s law interface 458
theory 217
Darcy’s law interface theory 637
electroanalysis, definition 217
Debye length 44
electrochemical cells 40
dense flows 679
electrochemical impedance spectrosco-
diffusion models 282
py (EIS) 217
dispersed liquid droplets 676
electrochemical sensing 217
dispersed phase boundary conditions
electrode 180
668
electrode (node)
dispersed phase number density 667
electrochemistry 140
dispersed phase particles 674
electrode, shell 172
dispersed solid particles 677
electrode current (node) 90, 158
documentation 30
electrode current density (node) 90, 158
domain nodes
electrode current source (node) 140
Brinkman equations 525
electrode line current source (node) 124
bubbly flow 548
electrode points current source (node)
Darcy’s law 460
125
electrochemistry interfaces 138
electrode potential (node) 160
electrophoretic transport interface
electrode power (node) 91, 159
341
electrode reaction (node)
Euler–Euler interface 587
electrochemistry 148
free and porous media flow 509
electrode surface (node) 143
mm interfaces 568
electrode symmetry axis current source
transport of concentrated species 287
(node) 124
transport of diluted species 234
electrode, shell interface 170
double layer capacitance (node) 153
theory 215
drag force 678
electrode-electrolyte boundary interface
drag law, Hadamard–Rybczynski 671
(node)
E edge electrode (node) 123
current distribution 156
edge nodes
electrode-electrolyte interface coupling
Darcy’s law interface 460
(node)
electrochemistry interfaces 138
free and porous media flow 486, 516
electrode, shell 171
transport of diluted species 254, 296
surface reactions 349
electrode-electrolyte interfaces 40
electric insulation (node)
electrodes 39
electrode, shell 174
electrolysis 39
electric potential (node)
814 | I N D E X
electrolyte 180 Euler–Euler model, laminar flow (ee) in-
electrolyte (node) terface 584
primary and secondary current distri- theory 674
bution 119 external short circuit (node) 161
tertiary current distribution 132 external thermodynamic packages 707
electrolyte current (node) 155
F faradaic current 53
electrolyte current density (node) 89,
Faraday’s constant 182
156
Faraday’s law 379
electrolyte current source (node) 141
Faraday’s laws of electrolysis 221
electrolyte line current source (node)
Fick diffusion laws 219
124
Fick equations and diffusivities 395
electrolyte points current source (node)
Fick’s law approximation diffusion 401
125
Fick’s law diffusion model 283
electrolyte potential 183
flash calculation
electrolyte potential (node) 88, 155
retrograde solution type 726
electrolyte symmetry axis current
solution type 726–727
source (node) 125
flash calculations 724
electrolyte-electrode domain interface
flow continuity (node) 454, 562, 599
(node) 154
flow rate in SCCMs 445
electrolytes 39
fluid flow
electromagnetic heat source (multiphys-
Brinkman equations theory 648
ics coupling) 804
fluid properties (node) 510
electroneutrality 44
bf interfaces 549
electrophoretic transport interface 335
fluid-solid mixtures 676
elevation 484
flux (node) 276, 346
emailing COMSOL 32
transport of concentrated species 301
EnthalpyF 726
transport of diluted species 276, 346
EntropyF 726
flux discontinuity (node) 246
Eötvös number 661
Darcy’s law 493
equilibrium potential 181
transport of concentrated species 306
Equilibrium Reaction
transport of diluted species 246
theory for 373
fracture flow (node) 500
equilibrium reaction (node) 251, 307
free and porous media flow interface 507
equilibrium reaction group (node) 330
theory 644
Ergun packed bed expression 679
Freundlich exponent 389
Ettehadieh solid pressure model 683
fully developed flow 445
Euler–Euler equations 683
G galvanic cells 39
bubbly flow 657
gas boundary conditions 562
INDEX| 815
gas constant 423 primary and secondary current distri-
gas diffusion 395 bution 120
gas reacting fluids 311, 325 single-phase, laminar flow 438
general stress (boundary stress condi- spf interfaces 438
tion) 451 surface reactions 351
Gibbs free energy 321 tertiary current distribution 135
Gidaspow and Ettehadieh solid pressure transport of concentrated species 299
model 683 transport of diluted species 240
Gidaspow model 679 inlet (node) 442
Gidaspow solid pressure model 683 bf interfaces 556
gravity 457 ee interface 596
gravity (node) mm interfaces 578
bf interfaces 553 single-phase flow 442
ee interfaces 593 insulation (node) 88, 142, 345
mm interfaces 573 interior wall (node)
ground (node) 174 bf interfaces 560
ee interface 598
H H2 inlet (node)
mm interfaces 581
hydrogen fuel cell 92
internet resources 30
Hadamard–Rybczynski drag law 671
interphase momentum transfer 678
Haider–Levenspiel slip model 671
intrinsic volume averages 648
harmonic perturbation (node) 160
irreversible reaction 316
Henry’s law 552
heterogeneous rate constant 222 K knowledge base, COMSOL 33
hydraulic head (node) 497 Knudsen diffusion 295
Hygroscopic Swelling 265 Krieger type model 677
Krieger type viscosity model 572
I implementing, Euler–Euler equations 683
inflow (node) 243, 347 L laminar bubbly flow (bf) interface 545
transport of concentrated species 302 theory 657
initial values (node) laminar flow interface 430
bf interfaces 554 laminar mixture model (mm) interface
Brinkman equations 532 theory 664
corroding electrode surface node 161 Langmuir constant 389
Darcy’s law 482 leaking wall, wall boundary condition
depositing electrode surface node 161 440, 517
ee interface 592 lift force 678
electrode, shell 173 line mass source (node)
free and porous media flow 515 fluid flow 456
mm interfaces 574 species transport 249
816 | I N D E X
line source Nernst–Planck equations 43, 178
species transport 377 Nernst–Planck–Poisson equations 44
liquid reacting fluids 311, 325 Nernst–Planck–Poisson Equations inter-
local face 333
CFL number 434, 525, 547, 567, 586 no flow (node) 492
no flux (node) 242
M mass action law, laminar flow 422
hydrogen fuel cell 91
mass based concentrations (node) 240
transport of concentrated species 303
mass fraction (node) 300
no slip, wall boundary condition 439, 517
mass source (node)
no viscous stress (open boundary) 450
Brinkman equations 531
nodes, common settings 29
Darcy’s law 480
nonconservative formulations 375
mass transfer (node)
non-faradaic reactions (node) 162
bf interfaces 552
normal current density (node) 174
ee interfaces 593
normal stress, normal flow (boundary
mm interfaces 572
stress condition) 451
mass transport 394
Maxwell–Stefan diffusion model 282 O O2 inlet (node)
Maxwell–Stefan diffusivity matrix 398 hydrogen fuel cell 92
mixture continuity (node) 583 Ohm’s law 116, 180, 380
mixture model, laminar flow (mm) inter- ohmic drop 218
face 564 open boundary (node)
mixture properties (node) 569 single-phase flow 449
mixture viscosity 571 spf interfaces 449
mixture-averaged diffusion model 283, transport of concentrated species 307
399 transport of diluted species 250
modeling checklist 58 outflow (node)
momentum balance equations 675 electrophoretic transport 347
monolayer adsorption 413 transport of concentrated species 305
MPH-files 31 transport of diluted species 243
multicomponent diffusion 397 outlet (node) 446
multiphase flash calculations 708 bf interfaces 558
multiphase flow theory 657, 664 hydrogen fuel cell 93
multiphysics couplings mm interfaces 579
electromagnetic heat source (node) single-phase flow 446
804 spf interfaces 446
overpotential 48, 181
N Nernst equation 222
Nernst–Einstein relation 238, 257, 261, P pair nodes
379 Brinkman equations 525
INDEX| 817
Darcy’s law interface 460 free and porous media flow 485, 515
electrochemistry interfaces 138 porous electrode reaction (node) 141
electrode, shell 171 porous electrodes 119, 181
electrophoretic transport interface porous matrix double layer capacitance
341 (node) 142
Euler–Euler interface 587 porous media and subsurface flow
free and porous media flow 509 Brinkman equations interface 522
surface reactions 349 Darcy’s law interface 458
transport of concentrated species 287 free and porous media flow interface
transport of diluted species 234 507
partially saturated porous media (node) theory, Brinkman equations 648
258 theory, free and porous media flow
periodic condition (node) 97, 122 644
transport of diluted species 247 porous media transport properties
periodic flow condition (node) 452, 559, (node) 255, 258, 292
581 Porous Medium (node)
permeability models 467, 477, 505 Brinkman equations 511, 526
persistence potential (node) 345
of thermodynamic packages 711 potentiometry 217
pervious layer (node) 498 potentiostat 225
phase properties (node) 588 pressure (node) 487, 491, 494
physics interfaces, common settings 29 pressure head (node) 496
point mass source (node) pressure point constraint (node) 455
fluid flow 456 primary current distribution 41
species transport 249 primary current distribution interface
point nodes 116
Brinkman equations 525 theory 177
Darcy’s law interface 460 pseudo time step 420
electrochemistry interfaces 138 pseudo time stepping
electrode, shell 171 settings 434, 525, 547, 567, 586
Euler–Euler interface 587
R reacting fluids, gases and liquids 311, 325
free and porous media flow 509
Reacting Volume 241, 278
surface reactions 349
reaction (node) 315
transport of diluted species 234
reaction coefficients (node) 254
point source
reaction thermodynamics (node) 331
species transport 376
reactions (node)
porous electrode (node) 120, 133
surface reactions 351
porous electrode coupling (node) 253
tertiary current distribution 134
818 | I N D E X
transport of concentrated species 299 445
transport of diluted species 241 standard flow rate 445
reference electrode (node) 162 standard settings 29
resistive film 187 stoichiometric coefficients 321
retardation factor 389 Stokes equations 429
reversible reaction 316 Stokes flow 429
reversible reaction group (node) 328 stratified porous media 387
Reynolds number 358 superficial volume average, porous me-
slip velocity models 671 dia 648
superficial volume averages, porous me-
S SCCM, flow rate in 445
dia 383
Schiller–Naumann slip model 671
supporting electrolyte 217
Schmidt number 670, 686, 688
Supporting Electrolytes 379
secondary current distribution 41
surface concentration (node) 352
secondary current distribution interface
surface equilibrium reaction (node) 252,
116
308
theory 177
surface properties (node) 350
SEMI standard E12-0303 444
surface reactions interface 348
separator (node)
theory 412
current distribution 134
symmetry (node) 449
single-phase flow interface
bf interfaces 559
laminar flow 430
Darcy’s law 492
sliding wall 441, 577, 595
electrochemistry 143
slip model
mm interfaces 580
Hadamard–Rybczynski 671
spf interfaces 449
Schiller–Naumann 671
transport of concentrated species 306
slip model theory 660
transport of diluted species 246
Haider–Levenspiel 671
Reynolds number 671 T Tafel equation 191
slip, wall boundary condition 440, 517 Tafel law 49
solid pressure and particle interaction technical support, COMSOL 32
682 tertiary current distribution 41
Soret effect 402 tertiary current distribution interface
species (node) 323 theory 177
species activity (node) 331 tertiary current distribution, Nernst–
species group (node) 331 Planck interface 127
species source (node) 345 theory
species thermodynamics (node) 332 bf interfaces 657
standard cubic centimeters per minute Brinkman equations 648
INDEX| 819
electroanalysis interface 217 228, 270
electrode, shell interface 215 theory 371
Euler–Euler model, laminar flow 674 turbulent bubbly flow (bf) interface
free and porous media flow 644 theory 657
mm interfaces 664 turbulent mixture model (mm) interface
primary current distribution interface theory 664
177 turbulent Prandtl number 358
secondary current distribution inter- two-fluid Euler–Euler model
face 177 bubbly flow 657
surface reactions 412
U Ungarish 673
tertiary current distribution interface
V viscous drag, coefficient 660
177
voltammetry, cyclic 217
transport of concentrated species in-
volume averages 648
terface 394
volume force (node) 438, 531
transport of diluted species in porous
free and porous media flow 514
media interface 372
spf interfaces 438
transport of diluted species interface
371 W wall (node)
thermal diffusion 402 bf interfaces 554
thermodynamics package 707 ee interface 594
adding 708 free and porous media flow 516
thickness mm interfaces 575
fracture 268 single-phase flow 439
out-of-plane 485 websites, COMSOL 33
thin diffusion barrier (node) 250 Wen and Yu fluidized state expression
Thin Impermeable Barrier 251 679
tortuosity factors 385
traction boundary conditions 450
transport mechanisms 289, 295
transport of concentrated species in po-
rous media interface 286
transport of concentrated species inter-
face 280
theory 394
transport of diluted species in porous
media interface 232
theory 372
transport of diluted species interface
820 | I N D E X
Defining specific permeability models is crucial as permeability directly affects how fluids flow through porous materials, impacting fluid distribution and pressure gradients. Options include specifying permeability directly or using models like Kozeny-Carman for Darcian flow and Forchheimer or Ergun for Non-Darcian flow. These options allow for accurate modeling under various flow conditions and material characteristics, enhancing the predictive capability regarding flow behavior in heterogeneous and varying porosities .
Different element orders in discretization are used to enhance the accuracy of the solution in electrochemical models. Linear elements are the default and suitable for most problems; however, quadratic elements can improve solution accuracy in complex cases like those involving porous electrodes or higher-dimensional current distribution problems. It is generally recommended to use the same element order in all coupled interfaces in a multiphysics model to maintain consistency .
Boundary conditions significantly influence the initial values for electric and electrolyte potentials in simulations. A grounded boundary or one set to a specific cell potential suggests using this value as the initial electric potential for adjacent domains. Similarly, it is often effective to set the initial electrolyte potential as the negative of the equilibrium potential of the grounded electrode. These initial values can improve solver convergence, especially in nonlinear electrode kinetics .
The "Internal Electrode Surface" node is crucial when modeling the interface between an electrode domain and the electrolyte domain, especially when the electron-conducting electrode is included explicitly as a domain. It enables detailed modeling of electrochemical reactions, double-layer capacitance, and other interfacial phenomena. In cases where the high conductivity of electrode materials is a factor, this node facilitates accurate substitution of a Current Conductor domain with an external boundary condition, optimizing model efficiency .
Considering migration effects in the Transport of Diluted Species interface is necessary for cases where ionic migration due to electric fields influences the transport of species. Migration is implemented by adding it to the mass flux vector, alongside diffusion and convection. This addition allows for the accurate modeling of the combined effects of these transport mechanisms under the influence of electric fields. Migration reflects the impact of charge movement in solution, essential in scenarios with significant ionic currents .
The choice of non-Newtonian fluid model affects the flow simulation by influencing how the fluid's viscosity changes with the applied shear rate. Models such as Power Law, Carreau, or Sisko specifically define behavior under differing stress conditions, impacting how accurately the flow is represented, particularly in complex porous structures. These models accommodate variations in fluid behavior, aiding in precise predictions of flow patterns and velocity distributions in porous media .
A predefined chemical formula ensures that the molar mass and charge can be automatically calculated, which is crucial for achieving mass balance in reaction modeling. This automation helps ensure accurate definitions of mass basis properties and allows for the seamless balancing of reactions by adjusting species coefficients as necessary. It also supports the explicit specification of species density when modeling fluid mixtures .
The Bubbly Flow interface models the dispersion of bubbles within a liquid by tracking the volume fraction and effective gas density, while maintaining their terminal velocity through a slip model. This representation simplifies computational requirements by handling the mixture as a single fluid with adaptable properties for the dispersed phase. It is significant as it enables accurate simulations of two-phase systems, essential for understanding effects like buoyancy-driven flows and interfacial area implications in chemical reactions .
The "Electrolyte Current Source" node is used to define contributions to the current density in the electrolyte from reactions or other effects. It adds the current source based on specific equations, helping to model various phenomena such as reaction effects on current distribution. This node can be crucial for accurately representing complex electrochemical processes involving electrolyte behavior .
The Free and Porous Media Flow interface allows for the simultaneous modeling of free flow and flow within porous media, capturing complex interactions between these flow types. This interface supports Darcy's Law and Laminar Flow, providing tools for accurately coupling velocity and pressure fields influenced by permeability and porosity. It is advantageous in systems where flow conditions vary across domains, ensuring consistent boundary and interface treatments .