Battery Design Module Users Guide
Battery Design Module Users Guide
User’s Guide
Battery Design Module User’s Guide
© 1998–2020 COMSOL
Protected by patents listed on www.comsol.com/patents, and U.S. Patents 7,519,518; 7,596,474;
7,623,991; 8,457,932; 9,098,106; 9,146,652; 9,323,503; 9,372,673; 9,454,625; 10,019,544;
10,650,177; and 10,776,541. Patents pending.
This Documentation and the Programs described herein are furnished under the COMSOL Software License
Agreement (www.comsol.com/comsol-license-agreement) 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 www.comsol.com/trademarks.
Version: COMSOL 5.6
Contact Information
Visit the Contact COMSOL page at www.comsol.com/contact to submit general
inquiries, contact Technical Support, or search for an address and phone number. You can
also visit the Worldwide Sales Offices page at www.comsol.com/contact/offices for
address and contact information.
If you need to contact Support, an online request form is located at the COMSOL Access
page at www.comsol.com/support/case. Other useful links include:
Chapter 1: Introduction
CONTENTS |3
Connecting to Electrical Circuits 68
About Connecting Electrical Circuits to Physics Interfaces . . . . . . . 68
Connecting Electrical Circuits Using Predefined Couplings . . . . . . . 69
Connecting Electrical Circuits by User-Defined Couplings . . . . . . . 69
Solving . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Postprocessing. . . . . . . . . . . . . . . . . . . . . . . . 71
References . . . . . . . . . . . . . . . . . . . . . . . . . 71
4 | CONTENTS
Change Thickness (Out-of-Plane). . . . . . . . . . . . . . . . . 90
Charge Conservation, Piezoelectric . . . . . . . . . . . . . . . . 91
CONTENTS |5
NPN BJT and PNP BJT. . . . . . . . . . . . . . . . . . . . 116
n-Channel MOSFET and p-Channel MOSFET . . . . . . . . . . . 116
Mutual Inductance . . . . . . . . . . . . . . . . . . . . . 117
Transformer . . . . . . . . . . . . . . . . . . . . . . . 117
Battery Open Circuit Voltage . . . . . . . . . . . . . . . . . 118
Resistor-Capacitor Couple . . . . . . . . . . . . . . . . . . 118
Diode . . . . . . . . . . . . . . . . . . . . . . . . . . 119
External I vs. U . . . . . . . . . . . . . . . . . . . . . . 119
External U vs. I . . . . . . . . . . . . . . . . . . . . . . 120
External I-Terminal . . . . . . . . . . . . . . . . . . . . . 121
SPICE Circuit Import . . . . . . . . . . . . . . . . . . . . 122
SPICE Circuit Export . . . . . . . . . . . . . . . . . . . . 122
6 | CONTENTS
Porous Electrode. . . . . . . . . . . . . . . . . . . . . . 144
Periodic Condition . . . . . . . . . . . . . . . . . . . . . 146
Thin Electrolyte Layer . . . . . . . . . . . . . . . . . . . . 146
Edge Electrode. . . . . . . . . . . . . . . . . . . . . . . 146
Electrode Line Current Source . . . . . . . . . . . . . . . . 147
Electrolyte Line Current Source . . . . . . . . . . . . . . . . 147
Electrode Symmetry Axis Current Source . . . . . . . . . . . . 148
Electrolyte Symmetry Axis Current Source . . . . . . . . . . . . 148
Electrode Point Current Source . . . . . . . . . . . . . . . . 148
Electrolyte Point Current Source. . . . . . . . . . . . . . . . 149
Electrode Current . . . . . . . . . . . . . . . . . . . . . 149
CONTENTS |7
Internal Electrode Surface . . . . . . . . . . . . . . . . . . 174
Electrolyte Potential . . . . . . . . . . . . . . . . . . . . 175
Electrolyte Current . . . . . . . . . . . . . . . . . . . . . 175
Electrolyte Current Density. . . . . . . . . . . . . . . . . . 176
Thin Electrode Layer . . . . . . . . . . . . . . . . . . . . 176
Electrode-Electrolyte Boundary Interface. . . . . . . . . . . . . 177
Electric Ground . . . . . . . . . . . . . . . . . . . . . . 177
Electric Potential . . . . . . . . . . . . . . . . . . . . . . 178
Electrode Current Density . . . . . . . . . . . . . . . . . . 178
Electrode Current . . . . . . . . . . . . . . . . . . . . . 178
Electrode Power . . . . . . . . . . . . . . . . . . . . . . 179
Harmonic Perturbation . . . . . . . . . . . . . . . . . . . 179
Electrode Potential . . . . . . . . . . . . . . . . . . . . . 180
External Short . . . . . . . . . . . . . . . . . . . . . . . 180
Initial Values for Dissolving-Depositing Species . . . . . . . . . . 181
Non-Faradaic Reactions . . . . . . . . . . . . . . . . . . . 181
Reference Electrode . . . . . . . . . . . . . . . . . . . . 181
Electric Reference Potential . . . . . . . . . . . . . . . . . . 181
Charge-Discharge Cycling . . . . . . . . . . . . . . . . . . 182
Circuit Terminal . . . . . . . . . . . . . . . . . . . . . . 183
8 | CONTENTS
Domain Equations for Primary and Secondary Current Distributions . . 192
Electrochemical Reactions and the Difference Between a Primary and
a Secondary Current Distribution . . . . . . . . . . . . . . 193
Domain Equations for Tertiary Current Distributions Using the
Nernst-Planck Equations and Electroneutrality . . . . . . . . . 196
Mass Fluxes and Sources Due to Electrochemical Reactions . . . . . 197
Deposition-Dissolution Rates, Growth Velocities, and Thicknesses on
an Electrode Surface . . . . . . . . . . . . . . . . . . . 198
Stoichiometric Coefficients for Double Layer Capacitive Charging . . . 199
Film Resistance . . . . . . . . . . . . . . . . . . . . . . 199
Equilibrium Potentials and the Nernst Equation . . . . . . . . . . 200
Electrode Kinetics Expressions . . . . . . . . . . . . . . . . 201
Theory for Specific Current Distribution Feature Nodes . . . . . . . 206
References . . . . . . . . . . . . . . . . . . . . . . . . 213
CONTENTS |9
Chapter 5: Battery Interfaces
10 | C O N T E N T S
The Battery Equivalent Circuit Model Wizard Entry 263
CONTENTS | 11
Domain, Boundary, and Pair Nodes for the Transport of Diluted
Species Interface. . . . . . . . . . . . . . . . . . . . . 323
Transport Properties . . . . . . . . . . . . . . . . . . . . 325
Turbulent Mixing . . . . . . . . . . . . . . . . . . . . . . 327
Initial Values . . . . . . . . . . . . . . . . . . . . . . . 328
Mass-Based Concentrations . . . . . . . . . . . . . . . . . . 328
Reactions. . . . . . . . . . . . . . . . . . . . . . . . . 328
No Flux . . . . . . . . . . . . . . . . . . . . . . . . . 330
Inflow . . . . . . . . . . . . . . . . . . . . . . . . . . 331
Outflow . . . . . . . . . . . . . . . . . . . . . . . . . 331
Concentration . . . . . . . . . . . . . . . . . . . . . . . 332
Flux . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
Symmetry . . . . . . . . . . . . . . . . . . . . . . . . 333
Flux Discontinuity . . . . . . . . . . . . . . . . . . . . . 334
Partition Condition . . . . . . . . . . . . . . . . . . . . . 334
Periodic Condition . . . . . . . . . . . . . . . . . . . . . 335
Line Mass Source . . . . . . . . . . . . . . . . . . . . . . 336
Point Mass Source . . . . . . . . . . . . . . . . . . . . . 336
Open Boundary . . . . . . . . . . . . . . . . . . . . . . 337
Thin Diffusion Barrier . . . . . . . . . . . . . . . . . . . . 337
Thin Impermeable Barrier . . . . . . . . . . . . . . . . . . 338
Equilibrium Reaction . . . . . . . . . . . . . . . . . . . . 338
Surface Reactions . . . . . . . . . . . . . . . . . . . . . 339
Surface Equilibrium Reaction . . . . . . . . . . . . . . . . . 340
Fast Irreversible Surface Reaction . . . . . . . . . . . . . . . 340
Porous Electrode Coupling . . . . . . . . . . . . . . . . . . 340
Reaction Coefficients . . . . . . . . . . . . . . . . . . . . 341
Electrode Surface Coupling . . . . . . . . . . . . . . . . . . 341
Porous Medium . . . . . . . . . . . . . . . . . . . . . . 342
Fluid . . . . . . . . . . . . . . . . . . . . . . . . . . 342
Porous Matrix . . . . . . . . . . . . . . . . . . . . . . . 344
Dispersion . . . . . . . . . . . . . . . . . . . . . . . . 345
Unsaturated Porous Medium . . . . . . . . . . . . . . . . . 345
Liquid . . . . . . . . . . . . . . . . . . . . . . . . . . 346
Gas . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
Adsorption . . . . . . . . . . . . . . . . . . . . . . . . 349
Volatilization . . . . . . . . . . . . . . . . . . . . . . . 351
Species Source. . . . . . . . . . . . . . . . . . . . . . . 351
12 | C O N T E N T S
Hygroscopic Swelling . . . . . . . . . . . . . . . . . . . . 352
Fracture . . . . . . . . . . . . . . . . . . . . . . . . . 353
CONTENTS | 13
The Chemistry Interface 389
Feature Nodes Available for the Chemistry Interface . . . . . . . . 393
Reaction . . . . . . . . . . . . . . . . . . . . . . . . . 393
Species . . . . . . . . . . . . . . . . . . . . . . . . . 398
Electrode Reaction . . . . . . . . . . . . . . . . . . . . . 400
Electrode Reaction Group . . . . . . . . . . . . . . . . . . 403
Reversible Reaction Group . . . . . . . . . . . . . . . . . . 403
Equilibrium Reaction Group. . . . . . . . . . . . . . . . . . 405
Species Group . . . . . . . . . . . . . . . . . . . . . . . 406
Reaction Thermodynamics . . . . . . . . . . . . . . . . . . 406
Species Activity . . . . . . . . . . . . . . . . . . . . . . 407
Species Thermodynamics. . . . . . . . . . . . . . . . . . . 407
14 | C O N T E N T S
No Flux . . . . . . . . . . . . . . . . . . . . . . . . . 421
Flux . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Inflow . . . . . . . . . . . . . . . . . . . . . . . . . . 422
Outflow . . . . . . . . . . . . . . . . . . . . . . . . . 422
CONTENTS | 15
Media . . . . . . . . . . . . . . . . . . . . . . . . . 447
Convection in Porous Media . . . . . . . . . . . . . . . . . 448
Diffusion in Porous Media . . . . . . . . . . . . . . . . . . 450
Dispersion . . . . . . . . . . . . . . . . . . . . . . . . 451
Adsorption . . . . . . . . . . . . . . . . . . . . . . . . 453
Reactions. . . . . . . . . . . . . . . . . . . . . . . . . 455
Mass Transport in Fractures . . . . . . . . . . . . . . . . . 456
References . . . . . . . . . . . . . . . . . . . . . . . . 457
16 | C O N T E N T S
Chapter 7: Fluid Flow Interfaces
CONTENTS | 17
Point Mass Source . . . . . . . . . . . . . . . . . . . . . 526
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
Symmetry . . . . . . . . . . . . . . . . . . . . . . . . 528
No Flow . . . . . . . . . . . . . . . . . . . . . . . . . 528
Flux Discontinuity . . . . . . . . . . . . . . . . . . . . . 528
Outlet . . . . . . . . . . . . . . . . . . . . . . . . . . 529
Precipitation . . . . . . . . . . . . . . . . . . . . . . . 529
Cross Section . . . . . . . . . . . . . . . . . . . . . . . 529
Thickness. . . . . . . . . . . . . . . . . . . . . . . . . 530
Interior Wall . . . . . . . . . . . . . . . . . . . . . . . 530
Thin Barrier. . . . . . . . . . . . . . . . . . . . . . . . 530
Pressure Head . . . . . . . . . . . . . . . . . . . . . . . 531
Hydraulic Head . . . . . . . . . . . . . . . . . . . . . . 531
Atmosphere/Gauge . . . . . . . . . . . . . . . . . . . . . 532
Pervious Layer . . . . . . . . . . . . . . . . . . . . . . . 532
Well . . . . . . . . . . . . . . . . . . . . . . . . . . 534
Fracture Flow . . . . . . . . . . . . . . . . . . . . . . . 534
18 | C O N T E N T S
Theory for the Laminar Flow and Creeping Flow Interfaces 551
General Single-Phase Flow Theory . . . . . . . . . . . . . . . 552
Compressible Flow . . . . . . . . . . . . . . . . . . . . . 554
Weakly Compressible Flow . . . . . . . . . . . . . . . . . . 554
The Mach Number Limit . . . . . . . . . . . . . . . . . . . 554
Incompressible Flow . . . . . . . . . . . . . . . . . . . . 555
The Reynolds Number. . . . . . . . . . . . . . . . . . . . 556
Theory for the Wall Boundary Condition . . . . . . . . . . . . 556
Prescribing Inlet and Outlet Conditions . . . . . . . . . . . . . 560
Mass Flow . . . . . . . . . . . . . . . . . . . . . . . . 561
Fully Developed Flow (Inlet) . . . . . . . . . . . . . . . . . 563
Fully Developed Flow (Outlet). . . . . . . . . . . . . . . . . 564
No Viscous Stress . . . . . . . . . . . . . . . . . . . . . 565
Normal Stress Boundary Condition . . . . . . . . . . . . . . . 566
Pressure Boundary Condition . . . . . . . . . . . . . . . . . 567
Mass Sources for Fluid Flow . . . . . . . . . . . . . . . . . 569
Numerical Stability — Stabilization Techniques for Fluid Flow . . . . . 571
Solvers for Laminar Flow . . . . . . . . . . . . . . . . . . . 573
Pseudo Time Stepping for Laminar Flow Models . . . . . . . . . . 575
Discontinuous Galerkin Formulation . . . . . . . . . . . . . . 577
Particle Tracing in Fluid Flow . . . . . . . . . . . . . . . . . 577
References for the Single-Phase Flow, Laminar Flow Interfaces . . . . 578
Theory for the Free and Porous Media Flow Interface 586
Reference for the Free and Porous Media Flow Interface. . . . . . . 586
CONTENTS | 19
Theory for the Coupling of Fluid Flow to Electrochemical
Reactions 590
Momentum Sources and Sinks . . . . . . . . . . . . . . . . . . 590
Chapter 9: Thermodynamics
20 | C O N T E N T S
Thermodynamic Properties Definitions . . . . . . . . . . . . . 663
Standard Enthalpy of Formation and Absolute Entropy Terms . . . . . 667
Reference State . . . . . . . . . . . . . . . . . . . . . . 668
Transport Properties . . . . . . . . . . . . . . . . . . . . 668
Surface Tension . . . . . . . . . . . . . . . . . . . . . . 693
References . . . . . . . . . . . . . . . . . . . . . . . . 694
CONTENTS | 21
22 | C O N T E N T S
1
Introduction
This guide describes the Battery Design Module, an optional add-on package for
COMSOL Multiphysics® designed to assist you in building detailed models of the
configuration of the electrodes and electrolyte in electrochemical cells.
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 Battery Design Module
In this section:
The physics interfaces include chemical species transport, current balances, heat
transfer, and fluid flow in electrochemical cells. You can use the module to investigate
the performance of batteries at different operating conditions for different electrode
configurations, structures and dimensions, for separators, current collectors and
current feeders, and for the choice of materials and chemistry.
The module adds the electrochemistry interfaces, which contains the Primary Current
Distribution, Secondary Current Distribution, and Tertiary Current Distribution,
Nernst-Planck interfaces. These are available for solid non-porous electrodes and for
porous electrodes. General tertiary current distribution models can also be set up using
the Chemical Species Transport interfaces. In addition to these generic physics
interfaces, the Electrochemistry branch contains these dedicated physics interfaces:
Battery with Binary Electrolyte, Lead-Acid Battery, and Lithium-Ion Battery.
The tailored physics interfaces mentioned above are also complemented with extended
functionality in other physics interfaces for chemical species transport, heat transfer,
and fluid flow.
24 | CHAPTER 1: INTRODUCTION
The physics interfaces for chemical species transport of neutral species are extended by
adding functionality that directly couples to electrochemical reactions defined in the
physics interfaces for electrochemical cells.
Heat Transfer Interfaces includes heat sources that describe ohmic losses in the
electrodes and electrolyte and heat sources due to electrochemical reactions in
electrochemical cells.
The fluid flow capabilities are extended for laminar flow, where the chemical species
transport and the energy balances influence the properties of the flow.
Finally, the Battery Design Module includes various model examples, such as:
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
Electrochemistry
28 | CHAPTER 1: INTRODUCTION
In each module’s documentation, only unique or extra information is included;
standard information and procedures are centralized in the COMSOL Multiphysics
Reference Manual.
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.
30 | CHAPTER 1: INTRODUCTION
COMSOL Application Gallery www.comsol.com/models
COMSOL Video Gallery www.comsol.com/video
Support Knowledge Base www.comsol.com/support/knowledgebase
32 | CHAPTER 1: INTRODUCTION
Theory for the Transport of Diluted Species Interface section describes the Reacting
Flow in Porous Media (rfcs) and Reacting Flow in Porous Media (rfds) interfaces
including its underlying theory.
In this chapter:
• Introduction to Electrochemistry Modeling
• Connecting to Electrical Circuits
• SPICE Import and Export
35
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
• Aspects to Consider When Modeling Batteries or Fuel 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 electrical energy to chemical
energy or converts chemical energy to electrical 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 electrolyte. 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 the cases of more advanced nonlinear charge conservation equations
being required and concentration-dependent electrode polarization, 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 electrical 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
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 n+1 equations in n+1 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 right-most 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
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 E = 0. 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 (ΔG = 0). 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
RT
E – E eq = -------- ln K
nF
The quantity
η m = φ s – φ l – E eq, m
The first is the Tafel law which describes an irreversible anodic or cathodic process:
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 ( i 0 → ∞ )
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.
( α a + α c )F
i loc = i 0 ---------------------------- η
RT
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
-
Ox + ne ↔ Red (2-1)
i loc α a FE α c FE
r = -------- = k fwd c R exp --------------- – k rwd c O exp – --------------- (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 Fη α c Fη
i loc = i 0 exp --------------- – exp – -------------- (2-5)
RT RT
α ⁄ n αa ⁄ n
i 0 = i 0, 0 c Rc cO (2-6)
η = E – E eq (2-7)
RT c R
E eq = E eq, 0 – -------- ln ------ (2-8)
nF c O
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 c O → 0 or
cR
c R → 0 ), the factor ln ------ may become undefined during the solution process. An
c
expression of the form of O 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
and
with
RT c R, ref
E eq,ref = E eq, 0 – -------- ln -------------- (2-12)
nF c O, ref
Note that Equation 2-9 now contains a linear dependence on the activities cO and cR.
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 Q = C d ( φ s – φ l ) , and contributes a dynamic charging
current density (non-faradaic current) equal to iNF = dQ/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
electrical 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
In a battery, there is a finite supply of reactant and the system is closed. In a fuel cell,
by contrast, there is a continuous feed of reactant to the system. A battery can be
simpler since it involves a single closed system, but a fuel cell may have other
advantages such as decreasing overall weight since it separates the site of energy storage
from that of energy extraction.
A battery does not have a steady state condition since its feedstock of reactants
progressively depletes until it is consumed. Once consumed, the battery is discharged
and it will no longer provide a voltage as its source of electrochemical energy has run
out. In a rechargeable battery, the process is reversible and the application of a voltage
can return the battery to saturation with feedstock under charging.
Fuel cells do have steady states, although transient effects may also be important in fuel
cell research. In a fuel cell, it is typically important to identify what features of the
system may be rate-limiting for the steady-state current: the transport of reactants to
The maximum achievable voltage in a battery or fuel cell is the difference between the
half-cell potentials. The discharge mode is the direction in which the overall reaction
is thermodynamically downhill (negative ΔG).
Typically a battery model can be set up using Secondary Current Distribution to describe
charge transport since the long charge and discharge times ensure that conductivities
remain relatively uniform through the cell. If coupling to species transport is required,
Transport of Diluted Species can be added with an Electrode Reaction Coupling condition.
Lithium-Ion Battery is used for solving problems in batteries where the anode (in
discharge mode) is lithium metal intercalated into a material such as graphite, and the
cathode (in discharge mode) is lithium ions intercalated into a transition metal oxide.
The electrical current through the electrolyte is carried by lithium ions, typically in an
organic solution. Because both the anode and cathode materials are typically porous to
maximize the active surface area, the Porous Electrode domain node is standard do
define each electrode.
The Battery with Binary Electrolyte interface can be used for a range of general battery
types involving porous electrodes and current transfer through an ionic conductor. An
example is the nickel-metal hydride battery — an early type of rechargeable battery in
which the discharge anode is a metal hydride, the discharge cathode is a hydrated nickel
oxide, and the current is transferred by high concentration potassium hydroxide in
aqueous solution.
The Lead-Acid Battery interface is designed for batteries in which the discharge process
is the conproportionation of Pb(0) and Pb(IV) through a sulfuric acid medium.
In a fuel cell, any one of electrochemical reactivity, mass transport of reactants to either
electrode, and electrical resistance can cause a “bottleneck”, limiting the current drawn
for a given voltage. An accurate study of the polarization curve of a fuel cell must
therefore incorporate all of the physical effects to identify the voltages at which the fuel
cell behavior varies from transport-limited to being limited by the kinetics of the
electrolysis reaction.
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.
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
• 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 an 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 Meshing Techniques 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
• Electrochemistry Interfaces
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
In general electrical circuits connect to other physics interfaces via one or more of three
special circuit features:
• External I vs. U
• External U vs. I
• External I-Terminal
These features either accept a voltage measurement from the connecting noncircuit
physics interface and return a current from a Battery or Current Distribution Interface
(or the Electrical Circuit interface), or the other way around.
• A choice is made in the Settings window for the noncircuit physics interface feature,
which then announces (that is, includes) the coupling to the Battery or Current
Distribution (or Electrical Circuit) interface. Its voltage is then included to make it
visible to the connecting circuit feature.
• A voltage that has been announced (that is, included) is selected in a feature node’s
Settings window.
• Apply the voltage or current from the connecting “External” circuit feature as an
excitation in the noncircuit physics interface.
• Define your own voltage or current measurement in the noncircuit physics interface
using variables, coupling operators and so forth.
• In the Settings window for the Electrical Circuit interface feature, selecting the
User-defined option and entering the name of the variable or expression using
coupling operators defined in the previous step.
1 In the Model Builder, right-click the Study node and select Show Default Solver.
Solving
Some modeling errors lead to the error message The DAE is structurally
inconsistent being displayed when solving. This error typically occurs
from having an open current loop, from connecting voltage sources in
parallel, or connecting current sources in series.
In this respect, the predefined coupling features are also treated as (ideal)
voltage or current sources. The remedy is to close current loops and to
connect resistors in series with voltage sources or in parallel with current
sources.
The physics interface defines a number of variables that can be used in postprocessing.
All variables defined by the Electrical Circuit interface are of a global scope, and can
be evaluated in a Global Evaluation node (under Derived Values). In addition, the time
evolution or dependency on a parameter can be plotted in a Global plot (under a 1D
Plot Group node).
The physics interface defines a Node voltage variable for each electrical node in the
circuit, with name cir.v_name, where cir is the physics interface Label and <name>
is the node Name. For each two-pin component, the physics interface also defines
variables containing the voltage across it and the current flowing through it.
References
1. V. Kaajakari, Practical MEMS, Small Gear Publishing, Las Vegas, 2009.
2. S.D. Senturia, Microsystem Design, Springer Science and Business Media, New
York, 2001.
3. A.F. Bower, Applied Mechanics of Solids, CRC Press, Boca Raton, FL, 2010
(http://www.solidmechanics.org).
SPICE Import
The circuit definition in COMSOL Multiphysics adheres to the SPICE format
developed at the University of California, Berkeley (Ref. 1). SPICE netlists can be
imported and the corresponding circuit nodes are generated in the COMSOL
Multiphysics model. Most circuit simulators can export to this format or some version
of it.
R Resistor
C Capacitor
L Inductor
V Voltage Source
I Current Source
E Voltage-Controlled Voltage Source
F Current-Controlled Voltage Source
G Voltage-Controlled Current Source
H Current-Controlled Voltage Source
D Diode
Q NPN BJT and PNP BJT
M n-Channel MOSFET and p-Channel MOSFET
X Subcircuit Instance
SPICE Export
The SPICE Export functionality creates a SPICE netlist file containing a description of
the circuit represented by the physics interface. This functionality can be accessed from
the physics interface context menu (right-click the physics interface node and select
Export SPICE Netlist). After specifying a filename, the circuit is exported and messages
from the export process display in the Messages window. During the export process, a
series of operations are performed:
The title of the exported netlist file is the model’s filename, and the time, date, and
version of COMSOL Multiphysics is added as a comment in the netlist file.
AC/DC Interfaces
This chapter describes the physics interfaces found under the AC/DC branch .
In this chapter:
See the COMSOL Multiphysics Reference Manual for details about The Magnetic
Fields Interface and the Theory of Magnetic Fields.
75
The Electrostatics Interface
The Electrostatics (es) interface ( ), found under the AC/DC>Electric Fields and
Currents branch when adding a physics interface, is used to compute the electric field,
electric displacement field, and potential distributions in dielectrics under conditions
where the electric charge distribution is explicitly prescribed. The formulation is
stationary except for use together with other physics interfaces. Eigenfrequency,
frequency-domain, small-signal analysis, and time-domain modeling are supported in
all space dimensions.
The physics interface solves Gauss’ law for the electric field using the scalar electric
potential as the dependent variable.
Charge Conservation is the main node, which adds the equation for the electric
potential and has a Settings window for defining the constitutive relation for the
electric displacement field and its associated properties such as the relative permittivity.
When this physics interface is added, these default nodes are also added to the Model
Builder — Charge Conservation, Zero Charge (the default boundary condition), and
Initial Values. Then, from the Physics toolbar, add other nodes that implement, for
example, boundary conditions and space charges. You can also right-click Electrostatics
to select physics features from the context menu.
Physics-Controlled Mesh
The physics-controlled mesh is controlled from the Mesh node’s Settings window (if the
Sequence type is Physics-controlled mesh). There, in the table in the Physics-Controlled
Mesh section, find the physics interface in the Contributor column and select or clear
the check box in the Use column on the same table row for enabling (the default) or
disabling contributions from the physics interface to the physics-controlled mesh.
Information from the physics, such as the presence of an infinite elements domain or
periodic condition, will be used to automatically set up an appropriate meshing
sequence.
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 es.
DEPENDENT VARIABLES
The dependent variable is the Electric potential V. You can change its name, which
changes both the field name and the variable name. If the new name coincides with the
name of another electric potential field in the model, the physics interfaces shares
degrees of freedom. The new name must not coincide with the name of a field of
another type or with a component name belonging to some other field.
DISCRETIZATION
Select the shape order for the Electric potential dependent variable — Linear, Quadratic
(the default), Cubic, Quartic, or Quintic. For more information about the Discretization
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.
n2 ⋅ ( D1 – D2 ) = ρs
In the absence of surface charges, this condition is fulfilled by the natural boundary
condition
n ⋅ [ ( ε 0 ∇V – P ) 1 – ( ε 0 ∇V – P ) 2 ] = – n ⋅ ( D 1 – D 2 ) = 0
AVAILABLE NODES
These nodes, listed in alphabetical order, 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). Also see Table 3-1 for a list of interior and exterior
boundary conditions, including edge, point, and pair availability.
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.
Charge Conservation
The Charge Conservation node adds the equations for charge conservation according to
Gauss’ law for the electric displacement field. It provides an interface for defining the
constitutive relation and its associated properties such as the relative permittivity.
• Relative permittivity (the default) to use the constitutive relation D = ε0εrE. Then
the default is to take the Relative permittivity εr (dimensionless) values From material.
For User defined, select Isotropic, Diagonal, Symmetric, or Full and enter values or
expressions in the field or matrix. The default is 1.
• Polarization to use the constitutive relation D = ε0E + P. Then enter the components
based on space dimension for the Polarization vector P (SI unit: C/m2). The
defaults are 0 C/m2.
• Remanent electric displacement to use constitutive relation D = ε0εrE + Dr, where Dr
is the remanent displacement (the displacement when no electric field is present).
Then the default is to take the Relative permittivity εr (dimensionless) values From
material. For User defined, select Isotropic, Diagonal, Symmetric, or Full and enter
values or expressions in the field or matrix. Then enter the components based on
space dimension for the Remanent electric displacement Dr (SI unit: C/m2). The
defaults are 0 C/m2.
CONDUCTION CURRENT
By default, the Electrical conductivity σ for the media is defined From material. You can
also select User defined or Linearized resistivity.
• For User defined select Isotropic, Diagonal, Symmetric, or Full depending on the
characteristics of the electrical conductivity, and then enter values or expressions for
the Electrical conductivity σ in the field or matrix.
• For Linearized resistivity the default Reference temperature Tref, and Resistivity
temperature coefficient α, and Reference resistivity ρ0 are taken From material, which
means that the values are taken from the domain (or boundary) material. T is the
current temperature, which can be a value that is specified as a model input or the
temperature from a heat transfer interface. The definition of the temperature field
appears in the Model Inputs section.
Context Menus
Electrostatics>Charge Conservation>Conduction Loss (Time-Harmonic)
Ribbon
Physics tab with Charge Conservation node selected in the model tree:
Initial Values
The Initial Values node adds an initial value for the electric potential V that can serve
as an initial condition for a transient simulation or as an initial guess for a nonlinear
solver.
INITIAL VALUES
Enter a value or expression for the initial value of the Electric potential V (SI unit: V).
The default value is 0 V.
Zero Charge
The Zero Charge node adds the condition that there is zero charge on the boundary so
that n ⋅ D = 0. This boundary condition is also applicable at symmetry boundaries
where the potential is known to be symmetric with respect to the boundary. This is the
default boundary condition at exterior boundaries. At interior boundaries, it means
that no displacement field can penetrate the boundary and that the electric potential is
discontinuous across the boundary.
Ground
The Ground node implements ground (zero potential) as the boundary condition
V = 0.
Ground means that there is a zero potential on the boundary. This boundary condition
is also applicable at symmetry boundaries where the potential is known to be
antisymmetric with respect to the boundary.
For some physics interfaces, also select additional Ground nodes from the Edges (3D
components) or Points (2D and 3D components) submenus. For 2D axisymmetric
components, it can be applied on the Symmetry axis.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
Because the electric potential is being solved for in the physics interface, the value of
the potential is typically defined at some part of the geometry. For some physics
interfaces, also select additional Electric Potential nodes from the Edges (3D
components) or Points (2D and 3D components) submenus. For 2D axisymmetric
components, it can be applied on the symmetry axis.
ELECTRIC POTENTIAL
Enter the value or expression for the Electric potential V0 (SI unit: V). The default is
0 V.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
–n ⋅ D = ρs , n ⋅ ( D1 – D2 ) = ρs
–n ⋅ D = ρs
dρ s
= n ⋅ Ji + n ⋅ Je
dt
where n·Ji is the normal component of the total ion current density on the wall and
n·Je is the normal component of the total electron current density on the wall, which
are feature inputs.
MATERIAL TYPE
The Material type setting decides how materials behave and how material properties are
interpreted when the mesh is deformed. Select Solid for materials whose properties
change as functions of material strain, material orientation, and other variables
evaluated in a material reference configuration (material frame). Select Nonsolid for
materials whose properties are defined only as functions of the current local state at
each point in the spatial frame, and for which no unique material reference
configuration can be defined. Select From material to pick up the corresponding setting
from the domain material on each domain.
n ⋅ D = n ⋅ D0
BOUNDARY SELECTION
When using nonconforming meshes on the source and destination of a periodic
boundary pair, for numerical stability, a finer mesh should be applied on the
destination side. Use conforming meshes if possible.
PERIODIC CONDITION
Select a Type of periodicity — Continuity (the default), Antiperiodicity, or Floquet
periodicity. Select:
• Continuity to make the electric potential periodic (equal on the source and
destination).
• Antiperiodicity to make it antiperiodic.
• Floquet periodicity (only available with products supporting piezoelectric modeling).
Specify the components of the k-vector for Floquet periodicity kF (SI unit: rad/m).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
For information about the Orientation of Source section, see Orientation of Source
and Destination.
ε0 εr
n ⋅ D 1 = ---------- ( V 1 – V 2 )
d
ε0 εr
n ⋅ D 2 = ---------- ( V 2 – V 1 )
d
to model a thin gap of a material with a small permittivity compared to the adjacent
domains. The layer has the thickness d and the relative permittivity εr. The indices 1
and 2 refer to the two sides of the boundary.
Line Charge
For 3D components, use the Line Charge node to specify line charges along the edges
of a geometry. Add a contribution as a Harmonic Perturbation by right-clicking the
parent node or clicking Harmonic Perturbation on the Physics toolbar. For more
information see Harmonic Perturbation — Exclusive and Contributing Nodes.
EDGE SELECTION
LINE CHARGE
Enter a value or expression to apply a Line charge QL (SI unit: C/m). This source
represents electric charge per unit length and the default is 0 C/m.
Use the Line Charge (Out-of-Plane) node to specify line charges along the points of a
geometry for 2D and 2D axisymmetric components.
POINT SELECTION
Point Charge
The Point Charge node adds a point source to 3D components. The point charge
represents an electric displacement field flowing out of the point.
POINT SELECTION
POINT CHARGE
Enter a value or expression to apply a Point charge QP (SI unit: C) to points. This
source represents an electric displacement field flowing out of the point. The default is
0 C.
Use the Change Cross Section node to set the cross-section area for specific geometric
entities.
Use the Change Thickness (Out-of-Plane) node to set the out-of-plane thickness for
specific geometric entities.
ELECTRIC DISPLACEMENT
If the node is used together with an active Piezoelectric Effect multiphysics coupling
node, then these settings are locked. Note that if they are unlocked, then the material
behaves like a dielectric and not a piezoelectric. In this case, the default is to take the
Relative permittivity εrS (dimensionless) values From material. For User defined, select
Isotropic, Diagonal, Symmetric, or Full and enter values or expressions in the field or
matrix.
The physics interface solves a current conservation equation based on Ohm’s law using
the scalar electric potential as the dependent variable.
Current Conservation is the main node, which adds the equation for the electric
potential and provides a Settings window for defining the electrical conductivity as well
as the constitutive relation for the electric displacement field and its associated material
properties, such as the relative permittivity.
When this physics interface is added, these default nodes are also added to the Model
Builder — Current Conservation, Electric Insulation (the default boundary condition),
and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for
example, boundary conditions and current sources. You can also right-click Electric
Currents to select physics features from the context menu.
Physics-Controlled Mesh
The physics-controlled mesh is controlled from the Mesh node’s Settings window (if the
Sequence type is Physics-controlled mesh). There, in the table in the Physics-Controlled
Mesh section, find the physics interface in the Contributor column and select or clear
the check box in the Use column on the same table row for enabling (the default) or
disabling contributions from the physics interface to the physics-controlled mesh.
Information from the physics, such as the presence of an infinite elements domain or
periodic condition, will be used to automatically set up an appropriate meshing
sequence.
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 ec.
THICKNESS (2D)
Enter a default value for the Out-of-plane thickness d (SI unit: m) (see ). The default
value of 1 m is typically not representative for a thin dielectric medium, for example.
Instead it describes a unit thickness that makes the 2D equation identical to the
equation used for 3D components. See also (described for the Electrostatics
interface).
DEPENDENT VARIABLES
The dependent variable is the Electric potential V. You can change its name, which
changes both the field name and the variable name. If the new name coincides with the
name of another electric potential field in the model, the physics interfaces share
degrees of freedom. The new name must not coincide with the name of a field of
another type or with a component name belonging to some other field.
DISCRETIZATION
Select the shape order for the Electric potential dependent variable — Linear, Quadratic
(the default), Cubic, Quartic, or Quintic. For more information about the Discretization
section, see Settings for the Discretization Sections in the COMSOL Multiphysics
Reference Manual.
• Domain, Boundary, Edge, Point, and Pair Nodes for the Electric
Currents Interface
Domain, Boundary, Edge, Point, and Pair Nodes for the Electric
Currents Interface
The Electric Currents interface has these domain, boundary, edge, point, and pair
nodes available from the Physics ribbon toolbar (Windows users) or Physics context
menu (Mac or Linux users). You can also right-click to access the context menu (all
users).
n2 ⋅ ( J1 – J2 ) = 0
1This feature is available with the Piezoresistivity, Domain Currents interface, which
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.
Current Conservation
The Current Conservation node adds the continuity equation for the electrical potential
and provides an interface for defining the electric conductivity as well as the
constitutive relation and the relative permittivity for the displacement current.
MATERIAL TYPE
The Material type setting decides how materials behave and how material properties are
interpreted when the mesh is deformed. Select Solid for materials whose properties
change as functions of material strain, material orientation, and other variables
evaluated in a material reference configuration (material frame). Select Non-solid for
materials whose properties are defined only as functions of the current local state at
each point in the spatial frame, and for which no unique material reference
configuration can be defined. Select From material to pick up the corresponding setting
from the domain material on each domain.
User Defined
For User defined select Isotropic, Diagonal, Symmetric, or Full depending on the
characteristics of the electrical conductivity, and then enter values or expressions for the
electrical conductivity σ in the field or matrix. The default is 0 S/m. If type of
Linearized Resistivity
Select Linearized resistivity for a temperature-dependent conductivity (this occurs in,
for example, Joule heating, and is also called resistive heating). The equation
describing the conductivity:
1
σ = ---------------------------------------------------
ρ 0 ( 1 + α ( T – T ref ) )
where ρ0 is the resistivity at the reference temperature Tref, and α is the temperature
coefficient of resistance, which describes how the resistivity varies with temperature.
The default Reference resistivity ρ0 (SI unit: Ω⋅m), Reference temperature Tref
(SI unit: K), and Resistivity temperature coefficient α (SI unit: 1/K) are taken From
material, which means that the values are taken from the domain (or boundary)
material. T is the current temperature, which can be a value that is specified as a model
input or the temperature from a heat transfer interface. The definition of the
temperature field is in the Model Inputs section.
To specify other values for any of these properties, select User defined from the list and
then enter a value or expression for each. The default values are:
• Dielectric losses: uses the constitutive relation D = ε0(ε' + ε")E. Specify that the
Relative permittivity (real part) ε' (dimensionless) and the Relative permittivity
(imaginary part) ε" (dimensionless) must be taken From material or be User defined.
For User defined, select Isotropic, Diagonal, Symmetric, or Full and enter values or
expressions in the field or matrix. The default is 1.
Initial Values
The Initial Values node adds an initial value for the electric potential that can serve as
an initial condition for a transient simulation or as an initial guess for a nonlinear solver.
If more than one set of initial values is required, from the Physics toolbar, add other
nodes that implement, for example, boundary conditions and current sources. Add
more Initial Values nodes from the Physics toolbar.
INITIAL VALUES
Enter a value or expression for the initial value of the Electric potential V (SI unit: V).
The default value is 0 V.
J = σE + J e
The external current density does not contribute to the losses (due to Joule heating),
since there is no electric field associated with it. To include the contribution to the
losses from the external current density, select the Add contribution of the external
current density to the losses check box. Then select an option from the External losses
list — From domain conductivity (the default) or User defined. If From domain
conductivity is selected, the heat source is computed using the conductivity specified in
the material model feature (such as Current Conservation) that is applied in the domain.
For User defined, enter a value for Qe (SI unit: W/m3) to specify a user-defined heat
source.
Current Source
The Current Source node adds a distributed current source Qj in the equation that the
physics interface defines. Use this node with caution as it can violate the current
conservation law that is inherent in Maxwell-Ampère’s law.
CURRENT SOURCE
Enter a value or expression for the Current source Qj (SI unit: A/m3). The default is
0 A/m3.
Electric Insulation
The Electric Insulation node, which is the default boundary condition, adds electric
insulation as the boundary condition:
n⋅J = 0
This boundary condition means that no electric current flows into the boundary. At
interior boundaries, it means that no current can flow through the boundary and that
the electric potential is discontinuous across the boundary. It is also applicable at
symmetric boundaries where the potential is known to be symmetric with respect to
the boundary.
n ⋅ ( J1 – J2 ) = Q j
–n ⋅ J = Jn
n ⋅ J = n ⋅ J0
The normal current density is positive when the current flows inward in the domain.
Add a contribution as a Harmonic Perturbation by right-clicking the parent node or
clicking Harmonic Perturbation on the Physics toolbar. For more information see
Harmonic Perturbation — Exclusive and Contributing Nodes.
• For Inward current density enter a value or expression for the Normal current density
Jn (SI unit: A/m2). Use a positive value for an inward current flow or a negative
value for an outward current flow. The default is 0 A/m2.
• For Current density enter values or expressions for the components of the Current
density J0 (SI unit: A/m2). The defaults are 0 A/m2.
Distributed Impedance
The Distributed Impedance node adds a distributed impedance boundary condition to
a model.
Use this boundary condition to model a thin sheet of a resistive material connected to
a reference potential Vref.
The layer impedance can be specified either with the bulk material conductivity σs, the
relative permittivity εr and layer thickness ds, or directly with the surface resistance ρs
and capacitance Cs. Assuming DC currents, the equation is:
σs
n ⋅ ( J 1 – J 2 ) = ----- ( V – V ref )
ds
1
n ⋅ ( J 1 – J 2 ) = ----- ( V – V ref )
ρs
DISTRIBUTED IMPEDANCE
Enter the reference potential Vref (SI unit: V). The default is 0 V.
Contact Impedance
Use the Contact Impedance node on interior boundaries to model a thin layer of
resistive material. It can also be added as a pair using a Pair Contact Impedance node.
The feature allows specifying the contact impedance either by entering the properties
of the material together with the layer thickness, or by entering the impedance
properties of the thin layer directly.
σ
n ⋅ J 1 = ------ ( V 1 – V 2 )
ds
σ
n ⋅ J 2 = ------ ( V 2 – V 1 )
ds
1
n ⋅ J 1 = ----- ( V 1 – V 2 )
ρs
1
n ⋅ J 2 = ----- ( V 2 – V 1 )
ρs
The first two equations refer to a layer impedance specified using the bulk material
conductivity σs and the layer thickness ds, while the last two equations refer to the case
in which the surface resistance ρs is specified. The indices 1 and 2 refer to the two sides
of the boundary. These parameters work the same as with Distributed Impedance.
CONTACT IMPEDANCE
Select a potentially complex-valued Layer specification — Thin layer (the default) or
Surface impedance.
Sector Symmetry
Select Sector Symmetry at interfaces between rotating objects where sector symmetry
is used. It is only available for pairs. A default subnode is added. Right-click to select
PAIR SELECTION
When using nonconforming meshes on the source and destination of a pair, for
numerical stability, a finer mesh should be applied on the destination side for any pair
with a condition that imposes a coupling or a constraint across the pair. The sector
symmetry feature falls into this category.
SECTOR SETTINGS
Enter the Number of sectors (<50) nsect. The default is 2.
Based on space dimension, enter values or expressions in the table for the Axis of
rotation arot.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
POINT SELECTION
POINT SELECTION
Piezoresistive Material
The Piezoresistive Material is normally used together with a Piezoresistive Effect, Domain
Currents multiphysics coupling node. The node is added by default to the Electric
Currents interface when adding a Piezoresistivity, Domain Currents predefined
• Specify a Electrical conductivity, zero stress (SI unit: S/m). This typically comes from
the material added under the Materials node.
• For Piezoresistance form, select a Piezoresistance coupling matrix Πl (SI unit: m4/
(s⋅A2); note that this is equivalent to Ω⋅m/Pa).
• For a Elastoresistance form, select an Elastoresistance coupling matrix Ml
(SI unit: Ω⋅m).
When this physics interface is added, it adds a default Ground Node feature and
associates that with node zero in the electrical circuit.
Circuit nodes are nodes in the electrical circuit (electrical nodes) and
should not be confused with nodes in the Model Builder tree of the
COMSOL Multiphysics software. Circuit node names are not restricted
to numerical values but can contain alphanumeric characters.
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 cir.
1
Selected from the Dependent Sources submenu when you right-click main node.
2
Selected from the Transistors submenu when you right-click main node.
3
Selected from the External Couplings submenu when you right-click main node.
Ground Node
The Ground Node ( ) feature adds a ground node with the default node number zero
to the electrical circuit. This is the default node in the Electrical Circuit interface. More
GROUND CONNECTION
Set the Node name for the ground node in the circuit. The convention is to use 0 (zero)
for the ground node. If adding more ground nodes, each must have a unique node
name (number).
Voltmeter
The Voltmeter ( ) feature connects a voltmeter (voltage measurement device)
between two nodes in the electrical circuit. A voltmeter behaves electrically as an open
circuit. The voltmeter node adds a Probe sampling the voltage across it.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the resistor.
Ampère Meter
The Ammeter ( ) feature connects an ammeter (current measurement device)
between two nodes in the electrical circuit. An ammeter behaves electrically as a short
circuit. The ammeter node adds a Probe sampling the current through it.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the resistor.
DEVICE PARAMETERS
Enter the Resistance of the resistor.
Resistor
The Resistor ( ) feature connects a resistor between two nodes in the electrical
circuit.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the resistor.
DEVICE PARAMETERS
Enter the Resistance of the resistor.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the capacitor.
DEVICE PARAMETERS
Enter the Capacitance of the capacitor.
Inductor
The Inductor ( ) feature connects an inductor between two nodes in the electrical
circuit.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the inductor.
DEVICE PARAMETERS
Enter the Inductance of the inductor.
Voltage Source
The Voltage Source ( ) feature connects a voltage source between two nodes in the
electrical circuit.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the voltage source. The first node
represents the positive reference terminal.
DEVICE PARAMETERS
Enter the Source type that should be adapted to the selected study type. It can be
DC-source, AC-source, or a time-dependent Sine source or Pulse source. Depending on
the choice of source, also specify the following parameters:
• For a DC-source, the Voltage Vsrc (default value: 1 V). DC-sources are active in
Stationary and Time-Dependent studies.
• For an AC-source: the Voltage Vsrc (default value: 1 V) and the Phase Θ (default
value: 0 rad). AC-sources are active in Frequency Domain studies only.
For the AC source, the frequency is a global input set by the solver. AC
sources should be used in Frequency-domain studies only. Do not use the
Sine source unless the model is time-dependent.
Current Source
The Current Source ( ) feature connects a current source between two nodes in the
electrical circuit.
NODE CONNECTIONS
Set the two Node names for the connecting nodes for the current source. The first node
represents the positive reference terminal from where the current flows through the
source to the second node.
DEVICE PARAMETERS
Enter the Source type that should be adapted to the selected study type. It can be
DC-source, AC-source, or a time-dependent Sine source or Pulse source. Depending on
the choice of source, also specify the following parameters:
• For a DC-source, the Current isrc (default value: 1 A). DC-sources are active in
Stationary and Time-Dependent studies.
• For an AC-source: the Current isrc (default value: 1 A) and the Phase Θ (default
value: 0 rad). AC-sources are active in Frequency Domain studies only.
For the AC source, the frequency is a global input set by the solver. AC
sources should be used in frequency-domain studies only. Do not use the
Sine source unless the model is time-dependent.
NODE CONNECTIONS
Specify four Node names: the first pair for the connection nodes for the voltage source
and the second pair defining the input control voltage. The first node in a pair
represents the positive reference terminal.
DEVICE PARAMETERS
There are two options to define the relationship between the control voltage and
resulting voltage. The Use gain method defines the resulting voltage to be the control
voltage multiplied by the gain. The Custom expression method can define the
relationship with an arbitrary expression.
NODE CONNECTIONS
Specify four Node names: the first pair for the connection nodes for the current source
and the second pair defining the input control voltage. The first node in a pair
represents the positive voltage reference terminal or the one from where the current
flows through the source to the second node.
DEVICE PARAMETERS
There are two options to define the relationship between the control voltage and
resulting current. The Use gain method defines the resulting current to be the control
voltage multiplied by the gain (SI units: S). The Custom expression method can define
the relationship with an arbitrary expression.
NODE CONNECTIONS
Set two Node names for the connection nodes for the voltage source. The first node in
a pair represents the positive reference terminal.
DEVICE PARAMETERS
There are two options to define the relationship between the control current and
resulting voltage. The Use gain method defines the resulting voltage to be the control
current multiplied by the gain (SI units: Ω). The Custom expression method can define
the relationship with an arbitrary expression.
DEVICE PARAMETERS
There are two options to define the relationship between the control current and
resulting current. The Use gain method defines the resulting current to be the control
current multiplied by the gain. The Custom expression method can define the
relationship with an arbitrary expression.
Switch
The Switch ( ) feature is used to connect or disconnect the conducting path in a
circuit under specific conditions.
NODE CONNECTIONS
Specify two Node names for the connection nodes for the current source. The first node
in a pair represents the positive reference terminal from where the current flows
through the source to the second node.
SWITHCH CONDITIONS
There are three types of conditions, Voltage controlled, Current controlled, and Custom
expressions. For each type of condition there are two conditions, one for turn on and
one for turn off. The on condition is true if the On condition expression is larger than
zero, while the off condition is true if the Off condition is less than zero.
The Initial state list has three options, Use on condition, Use off condition, and Boolean
expression. The two former options mean that the switch will have an initial state
matching to the on or off condition. The third option makes the switch's initial state
match a custom Boolean expression. Separating on, off, and initial states makes the
switch more flexible and can support Schmitt-trigger style switches and various latches.
For the Voltage controlled switch, it is necessary to specify two nodes that defines the
voltage sens.v that the switch state depends on. The conditions must be written as a
function of this variable. Similarly, for the Current controlled switch it is necessary to
specify a two-pin device that defines the current sens.i that the switch state depends
on.
Subcircuit Definition
The Subcircuit Definition ( ) feature is used to define subcircuits, which can be
inserted as devices into the main circuit using Subcircuit Instance nodes. Create the
subcircuit by adding subnodes to the Subcircuit Definition node, either by using the
Physics toolbar, or by right-clicking the Subcircuit Definition.
SUBCIRCUIT PINS
Define the Pin names at which the subcircuit connects to the main circuit or to other
subcircuits when referenced by a Subcircuit Instance node. The Pin names refer to
circuit nodes in the subcircuit. The order in which the Pin names are defined is the
order in which they are referenced by a Subcircuit Instance node. The devices
constituting the subcircuit should be connected only to the subcircuit’s pins and to
themselves.
INPUT PARAMETERS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options. Specify input parameters to a subcircuit that can be changed from a
subcircuit instance. These input parameters can be used in all expression-style edit
fields that affect the parameters of a device, for example, resistance, capacitance, and
current gain. In this way, a subcircuit can represent a parameterized custom device
model.
Subcircuit Instance
The Subcircuit Instance ( ) feature represents an instance of a subcircuits defined by
a Subcircuit Definition feature.
NODE CONNECTIONS
Select the Name of subcircuit link from the list of defined subcircuits in the circuit model
and the circuit Node names at which the subcircuit instance connects to the main circuit
or to another subcircuit if used therein.
NODE CONNECTIONS
Specify three Node names for the connection nodes for the BJT device. These represent
the collector, base, and emitter nodes for the NPN transistor, and the emitter, base, and
collector nodes for the PNP transistor.
MODEL PARAMETERS
Specify the Model Parameters. Reasonable defaults are provided but for any particular
BJT, the device manufacturer should be the primary source of information.
NODE CONNECTIONS
Specify four Node names for the connection nodes for the n-Channel MOSFET or
p-Channel MOSFET device. These represent the drain, gate, source, and bulk nodes,
respectively.
MODEL PARAMETERS
Specify the Model Parameters. Reasonable defaults are provided but for any particular
MOSFET, the device manufacturer should be the primary source of information.
Mutual Inductance
The Mutual Inductance allows specifying a coupling between two existing Inductor
features in the circuit. The mutual inductance of the coupling is
M = k L1 L2
where k is the coupling factor and L1 and L2 are the inductances of the inductors.
DEVICE PARAMETERS
Enter values or expressions for the:
• Coupling factor k (dimensionless). The value must be between 0 and 1, and the
default is 0.98.
• First inductance L1 (SI unit: H) and Second inductance L2 (SI unit: H). These must
be set to two different Inductor features in the circuit.
Transformer
The Transformer feature represents either a combination of two Inductor and a Mutual
Inductance features, or an ideal transformer.
DEVICE PARAMETERS
Choose a Transformer model — Specify inductors (the default) or Ideal transformer.
For Ideal transformer enter values or expressions for the Winding ratio N1/N2
(dimensionless). The default is 10.
Use the table in the Open Circuit Voltage section to define how the voltage depends on
the state-of-charge.
Resistor-Capacitor Couple
The Resistor-Capacitor Couple node defines a resistor and capacitor coupled in parallel.
The device model has two modes of operation which are using either the Resistance
and capacitance values or the Resistance and time-constant values as input.
NODE CONNECTIONS
Specify two Node names for the positive and negative nodes for the Resistor-capacitor
couple device.
NODE CONNECTIONS
Specify two Node names for the positive and negative nodes for the Diode device.
MODEL PARAMETERS
Specify the Model Parameters. Reasonable defaults are provided but for any particular
diode, the device manufacturer should be the primary source of information.
External I vs. U
The External I vs. U ( ) feature connects an arbitrary voltage measurement (for
example, a circuit terminal or circuit port boundary or a coil domain from another
physics interface) as a voltage source between two nodes in the electrical circuit. The
resulting circuit current from the first node to the second node is typically coupled
back as a prescribed current source in the context of the voltage measurement.
NODE CONNECTIONS
Specify the two Node names for the connecting nodes for the voltage source. The first
node represents the positive reference terminal.
EXTERNAL DEVICE
Enter the source of the Voltage. If circuit or current excited terminals or circuit ports
are defined on boundaries or domains or a multiturn coil domains is defined in other
physics interfaces, these display as options in the Voltage list. Also select the User defined
option and enter your own voltage variable, for example, using a suitable coupling
operator. For inductive or electromagnetic wave propagation models, the voltage
measurement must be performed as an integral of the electric field because the electric
External U vs. I
The External U vs. I ( ) feature connects an arbitrary current measurement (for
example, a coil domain from another physics interface) as a current source between
two nodes in the electrical circuit. The resulting circuit voltage between the first node
and the second node is typically coupled back as a prescribed voltage source in the
context of the current measurement.
NODE CONNECTIONS
Specify the two Node names for the connecting nodes for the current source. The
current flows from the first node to the second node.
EXTERNAL DEVICE
Enter the source of the Current. Voltage excited terminals or lumped ports defined on
boundaries in other physics interfaces are natural candidates but do not appear as
options in the Voltage list because those do not have an accurate built-in current
External I-Terminal
The External I-Terminal ( ) feature connects an arbitrary voltage-to-ground
measurement (for example, a circuit terminal from another physics interface) as a
voltage-to-ground assignment to a node in the electrical circuit. The resulting circuit
current from the node is typically coupled back as a prescribed current source in the
context of the voltage measurement. This node does not apply when coupling to
inductive or electromagnetic wave propagation models because then voltage must be
defined as a line integral between two points rather than a single point measurement
of electric potential. For such couplings, use the External I vs. U node instead.
NODE CONNECTIONS
Set the Node name for the connecting node for the voltage assignment.
EXTERNAL TERMINAL
Enter the source of the Voltage. If circuit- or current-excited terminals are defined on
boundaries in other physics interfaces, these display as options in the Voltage list. Also
Except when coupling to a circuit terminal, the current flow variable must
be manually coupled back in the electrical circuit to the context of the
voltage measurement. This applies also when coupling to a current
excited terminal. The name of this current variable follows the convention
cirn.termIm_i, where cirn is the tag of the Electrical Circuit interface
node and termIm is the tag of the External I-Terminal node. The tags are
typically displayed within curly brackets {} in the Model Builder.
See SPICE Import and Export about the supported SPICE commands.
See SPICE Circuit Export for more details on the supported SPICE
commands.
If you do not know whether to use the Electric Currents or the Electrostatics interface,
which both solve for the scalar electric potential V, consider using an explicit charge
transport model. See Charge Relaxation Theory.
The different physics interfaces involving only the scalar electric potential can be
interpreted in terms of the charge relaxation process. The fundamental equations
involved are Ohm’s law for the conduction current density
J c = σE
∂-----
ρ-
+ ∇ ⋅ Jc = 0
∂t
∇ ⋅ ( εE ) = ρ
By combining these, one can deduce the following differential equation for the space
charge density in a homogeneous medium
–t ⁄ τ
ρ ( t ) = ρ0 e
where
ε
τ = ---
σ
is called the charge relaxation time. For a good conductor like copper, τ is of the order
of 10−19 s, whereas for a good insulator like silica glass, it is of the order of 103 s. For
a pure insulator, it becomes infinite.
When modeling real-world devices, there is not only the intrinsic time scale of the
charge relaxation time but also an external time scale t at which a device is energized
or the observation time. It is the relation between the external time scale and the
charge relaxation time that determines what physics interface and study type to use.
The results are summarized in Table 3-3 below,
TABLE 3-3: SUITABLE PHYSICS INTERFACE AND STUDY TYPE FOR DIFFERENT TIME-SCALE REGIMES.
By combining the definition of the potential with Gauss’ law, you can derive the
classical Poisson’s equation. Under static conditions, the electric potential V is defined
by the equivalence E = −∇V. Using this together with the constitutive relation D = ε0E
+ P between D and E, you can rewrite Gauss’ law as a variant of Poisson’s equation
– ∇ ⋅ ( ε 0 ∇V – P ) = ρ
J c = σE + J e
where Je is an externally generated current density. The static form of the equation of
continuity then reads
∇ ⋅ J c = – ∇ ⋅ ( σ ∇V – J e ) = 0
– ∇ ⋅ ( σ ∇V – J e ) = Q j
This equation is used in the static study type for the Electric Currents interface.
Electrostatics Equations
Under static conditions, the electric potential, V, is defined by the relationship:
E = – ∇V
Combining this equation with the constitutive relationship D = ε0E + P between the
electric displacement D and the electric field E, it is possible to represent Gauss’ law
as the following equation:
– ∇ ⋅ ( ε 0 ∇V – P ) = ρ
For in-plane 2D modeling, the Electrostatics interface assumes a symmetry where the
electric potential varies only in the x and y directions and is constant in the z direction.
This implies that the electric field, E, is tangential to the xy-plane. With this symmetry,
the same equation is solved as in the 3D case. The physics interface solves the following
equation where d is the thickness in the z direction:
– ∇ ⋅ d ( ε 0 ∇V – P ) = ρ
The axisymmetric version of the physics interface considers the situation where the
fields and geometry are axially symmetric. In this case, the electric potential is constant
in the ϕ direction, which implies that the electric field is tangential to the rz-plane.
The support for dynamic studies simplifies the coupling of the Electrostatics interface
with other physics interfaces. Using the physics interface in a dynamic study is a valid
approximation only if the time-scale (or the frequency) of the study is so slow that
transient electromagnetic effects can be neglected; for example, in acoustic or
structural problems.
The Electrostatics interface also supports the small-signal analysis study sequence,
which can be used when a time-harmonic perturbation is superposed on a static bias
charge or voltage.
J = σE + J e
where σ is the electrical conductivity (SI unit: S/m), and Je is an externally generated
current density (SI unit: A/m2). The static form of the equation of continuity then
states:
∇ ⋅ J = – ∇ ⋅ ( σ ∇V – J e ) = 0
– ∇ ⋅ ( σ ∇V – J e ) = Q j
In planar 2D the Electric Currents interface assumes that the model has a symmetry
where the electric potential varies only in the x and y directions and is constant in the
z direction. This implies that the electric field, E, is tangential to the xy-plane. The
Electric Currents interface then solves the following equation, where d is the thickness
in the z direction:
– ∇ ⋅ d ( σ ∇V – J e ) = dQ j (3-1)
In 2D axisymmetry, the Electric Currents interface considers the situation where the
fields and geometry are axially symmetric. In this case, the electric potential is constant
in the ϕ direction, which implies that the electric field is tangential to the rz-plane.
• The field model is used to get a better, more accurate description of a single device
in the electrical circuit model.
• The electrical circuit is used to drive or terminate the device in the field model in
such a way that it makes more sense to simulate both as a tightly coupled system.
The Electrical Circuit interface makes it possible to add nodes representing circuit
elements directly to the Model Builder tree in a COMSOL Multiphysics model. The
circuit variables can then be connected to a physical device model to perform
co-simulations of circuits and multiphysics. The model acts as a device connected to
the circuit so that its behavior is analyzed in larger systems.
The fundamental equations solved by the Electrical Circuit interface are Kirchhoff’s
circuit laws, which in turn can be deduced from Maxwell’s equations. The supported
study types are Stationary, Frequency Domain, and Time Dependent.
Bipolar Transistors
Figure 3-1 illustrates the equivalent circuit for the npn bipolar junction transistor.
The pnp transistor model is similar in all regards to the npn transistor, with the
difference that the polarities of the currents and voltages involved are reversed. The
following equations are used to compute the relations between currents and voltages
in the circuit.
v be
--------------
v bc
--------------
– 1
NF VT NR VT
= ----------------------------------------------- 1 + 1 + 4I S ----------------------- + ------------------------
1 e –1 e
f bq
v v KF I A I A
2 1 – ----------- – -----------
bc be KR
V AF V AR
v be v be
I S -------------
N V
-
--------------
N V
i be = A ------- e F T – 1 + I SE e E T – 1
B
F
v bc v bc
I S --------------
N V --------------
N V
i bc = A -------- e R T – 1 + I SC e C T – 1
B
R
v be v bc
I S -------------
N V
-
N V
--------------
i ce = A ------- e F T + e C T
f
bq
k B T NOM
V T = ------------------------
q
There are also two capacitances that use the same formula as the junction capacitance
of the diode model. In the parameter names below, replace x with C for the
base-collector capacitance and E for the base-emitter capacitance.
v bx –M Jx
1 – ---------
-
V Jx v bx < F C V Jx
C jbx = AC Jx ×
v bx v bx ≥ F C V Jx
( 1 – F ) – 1 – MJx 1 – F ( 1 + M ) + M ---------
-
C C Jx Jx V
Jx
The following equations are used to compute the relations between currents and
voltages in the circuit.
C gd = C gd0 W
C gs = C gs0 W
1 – v
–MJ
bd
--------
-
PB v bx < F C P B
C jbd = C BD ×
v bx v bx ≥ F C P B
( 1 – F ) – 1 – MJ 1 – F ( 1 + M ) + M -------
-
C C J JP
B
The following equations are used to compute the relations between currents and
voltages in the circuit.
vd –M
1 – ------
- vd < FC VJ
V J
C j = C J0 ×
– 1 – M vd
( 1 – FC ) 1 – F C ( 1 + M ) + M ------- v d ≥ F C V J
V J
k B T NOM
V T = ------------------------
q
Electrochemistry Interfaces
This chapter describes the physics interfaces found under the Electrochemistry
branch ( ).
In this chapter:
139
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.
Ohm’s law is used in combination with a charge balance to describe the conduction of
currents in the electrodes and electrolytes.
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 from this list also 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
To see all settings in this section, click the Show More Options button ( ) and select
Advanced Physics Options in the Show More Options dialog box.
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).
The Electrolyte conductivity, σl (SI unit: S/m), parameter will define how the current
in the domain depends on the gradient of the potential.
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.
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, the gas diffusion
layer (GDL) in a PEMFC electrode — 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.
The conductivities are taken From material by default. From the respective material list
you may any material in the model, if present. By default they are set to the Domain
material (which is the material applied to the active domain in the Materials node).
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 electrical 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.
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 check boxes 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).
FILM RESISTANCE
See the Electrode Surface node.
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.
Edge Electrode
The Edge Electrode can be used in 3D problems to define electrodes such as long pipes
and thin wires where the electric potential variation within the electrode in the normal
direction to the electrode surface is negligible. This assumption allows for the thin
electrode domain to be replaced by a lumped one-dimensional partial differential
equation formulation on the edge, describing an electrode surface along the edge with
a given Edge electrode radius. In this way the problem size can be reduced, and
potential problems with mesh anisotropy in the thin layer can be avoided.
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.
An Edge Electrode can only be applied to edges within, or adjacent to, Electrolyte
domains.
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 box.
Electrode Current
Use this node to define a current source in a point of an Edge Electrode node.
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.
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 box.
• When the Crosswind diffusion check box 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)/tds.helem,
where tds.helem 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/n) 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 check box 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) 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 electrical 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
FILM RESISTANCE
See the Electrode Surface node.
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 non-electrochemical 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).
Initial Values
Use this node to specify the Initial Values of the concentration, electrolyte potential and
electric potential dependent variables to be used by 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.
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 check box 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.
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.
For Ion exchange membrane, the choice of Charge-carrying species concentration species
specifies that the current flowing over the layer will be carried by this species (which
must have a nonzero charge number). 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 User defined.
Most 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 Electrical 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.
See the Porous Electrode node for a description of the remaining settings.
∇ ⋅ 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 box. 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.
The resulting double layer current source in the Porous Electrode domain depends on
the time derivative of the potentials and is proportional to both the Electrical double
layer capacitance Cdl (SI unit: F/m2) and the Double layer area av,dl (SI unit: 1/m).
Note that for stationary problems the double layer current is zero.
This node is not available for the Primary Current Distribution interface.
Use the settings of the Stoichiometry 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.
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
For the Primary Current Distribution and Secondary Current Distribution interfaces,
the Symmetry boundary condition is identical to the Insulation condition.
Symmetry Theory
This node can only be applied on outer boundaries to electrolyte domains. For interior
boundaries to electrolyte domains, use the Perforated Electrode Surface node. For
interior boundaries between electrolyte and electrode domains, use the Internal
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 tables 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 check box 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 an dissolving/depositing layer in
a time-dependent simulation where the resulting deformation in the model geometry
is small and will have negligible impact on the current distribution.
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).
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.
HARMONIC PERTURBATION
Use this section in conjunction with AC Impedance study types to control the
perturbation amplitude in the frequency domain.
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.
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.
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 box.
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
set to Primary. To display this section, click the Show More Options button ( ) and
select Advanced Physics Options in the Show More Options dialog box.
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.
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).
When using Nernst Equation, additional options are available in the Butler-Volmer
expression type in the Electrode Kinetics section.
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.
The Local current density expression, iloc, expr (SI unit: A/m2), may 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 may 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 pre-exponential
The Anodic Tafel slope, Αa (SI unit: V), defines the required increase in overpotential
to result in a tenfold increase in the current density.
The Cathodic Tafel slope, Αc (SI unit: V), describes the required decrease in
overpotential to result in a tenfold increase in the current density magnitude. Αc
should be a negative value.
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
Distribution is chosen on the interface top node. The expression type can hence be
used to mix primary and secondary current distributions on different electrodes. The
Thermodynamic equilibrium (primary condition) cannot not be used when defining
the kinetics for multiple electrode reactions at the same electrode in the Secondary
Current Distribution interface.
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:
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.
Use this node to simulate transient analysis techniques, such as AC-impedance analysis
and current interrupt studies.
The parent node may be either an Internal Electrode Surface or a Electrode Surface.
This subnode is not available for the Primary Current Distribution interface.
Use the settings of the Stoichiometry 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.
Electrode domain
φs
Electrolyte domain
φl
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 box.
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.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
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.
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.It is also available and described here for the
Battery interface.
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.
Electric Potential
This node sets the electric potential in the electrode (or a porous electrode), φ s, to a
value, φ s, bnd according to the following:
φ 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.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
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
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.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
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.
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).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
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 Internal Electrode Surface and
Electrode-Electrolyte Boundary Interface. The node is not available if no
dissolving-depositing species are present or if the Solve for dissolving-depositing species
concentrations check box is cleared in the parent node.
Non-Faradaic Reactions
Use the Non-Faradaic Reactions node to define the reaction rate for
dissolving-depositing species due to non-faradaic (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.
Charge-Discharge Cycling
Use the Charge-Discharge Cycling node to specify a load cycling boundary condition in
time-dependent simulations, where the switch between charge and discharge depends
on the resulting cell voltage (or current). The node may for instance be used for
constant-current/constant-voltage (CCCV) cycling in battery simulations.
Depending on the Start Mode setting, the node will either start in Charge or Discharge
mode.
Each cycle always start with a constant Discharging/Charging current period, which ends
when the corresponding Minimum/Maximum voltage is reached (the voltage is defined
with respect to ground).
After the constant Discharging/Charging current period, you may also Include
constant voltage discharging/charging periods, which will end when the specified
Lower/Upper cut-off currents are reached. At the end of each cycle, you can also Include
rest periods, specifying the Resting time.
The node also defines a cycle counter variable (xxx.cdc1.cycle_counter, where xxx
is the physics interface tag), which may be used in postprocessing or when defining
Stop Condition in the time-dependent solver to end the simulation when a specified
number of cycles has been reached.
Circuit Terminal
This feature is only available with an AC/DC Module or a Battery Design Module
license.
Use the Circuit Terminal node to specify a coupling to the External I vs U node in the
Electrical Circuit interface.
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 box.
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 Interfacehas 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 electrical conductivity.
ELECTRODE
The Electrode thickness s (SI unit: m) defaults to 10−14 m.
The default Electrical 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-7. 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 box.
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 box.
The Electroanalysis option is suitable for modeling mass transport of diluted species in
electrolytes using the diffusion-convection equation, solving for electroactive species
concentration(s).
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
where Ni is the total flux of species i (SI unit: mol/(m2·s)). The flux in an electrolyte
is described by the Nernst-Planck equations and accounts for the flux of charged solute
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 (4-2)
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.
zi um, i ci ∇φl .
2 2
il = –F
z i u m, i c i
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 Fη – α c Fη
i loc,m = i 0 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 current balance includes the sum of the flux of all charged species, which yields
the current density in the electrolyte:
n n
In the equations above, il denotes the current density vector in the electrolyte. The
current balance in the electrolyte then becomes:
∇ ⋅ il = Ql
where Ql can here be any source or sink. (Ql is typically nonzero for porous
electrodes). The current balance and the material balances give one equation per
unknown species concentration. However, there is still one more unknown, the
electrolyte potential, which requires an additional equation. 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:
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 non-Faradaic 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.
ν i, m i loc, m
Ni = --------------------------
nm F
-
m
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
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
the normal direction to an electrode boundary, with the velocity being directed into
the electrolyte domain:
∂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)
Film Resistance
If a resistive film forms on the interface between an electrode and an electrolyte, this
results in additional potential losses. To model a film resistance, an extra dependent
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
ΔG
E eq = – --------
nF
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
where αc (unitless) denotes the cathodic charge transfer coefficient, αa (unitless) the
anodic charge transfer coefficient, and i0 (SI unit: A/m2) is the exchange current
density.
α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 a i –ν 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 concentration overpotential
and the exchange current density are related to the same reference state, is less error
prone and preferable in a modeling context.
The law of mass action is not always the most practical way for treating 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):
ai γi
i 0 = i 0, ref ------------
a i, ref
-
i
α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
RT ln 10
A a = ----------------------
α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 an 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 towards minus infinity. The standard solution for these cases,
which also works for non-integer ν's larger than 1, is to change the expression c in the
rate term to max(c,eps), where eps is a small number. This will avoid the “exploding”
behavior, but result in poor convergence rate for negative c values since the Jacobian
of the rate with respect to c then becomes zero for negative c's.
The solution for the third case is to linearize the concentration dependence for low
concentrations, i.e., 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
and Secondary Current Distributions and Domain Equations for Tertiary Current
Distributions Using the Nernst-Planck Equations and Electroneutrality.
∇ ⋅ 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.
If the porous electrode is a cathode, then the charge transfer reaction is a source for
the current balance in the electrode, because it receives current from the pore
electrolyte. The charge transfer reaction is then a sink for the current balance in the
pore electrolyte, because the current is transferred from the pore electrolyte to the
electrode in a cathodic reaction.
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
il ⋅ n = iloc, m
m
is ⋅ n = – iloc, m
m
where iloc,m (A/m2) is the Electrode Reaction 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.
∇ ⋅ il = Av iloc, m
m
∇ ⋅ is = – Av iloc, m
m
∇ ⋅ is = 0
i s = – σ s ∇φ s
and where σs denotes the electrical 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
where il, bnd is a given expression for the current density vector.
The feature adds one unknown variable, the electrolyte potential, φ l, bnd, along the
boundary. It then adds one additional equation for the total current, which is an
integral over the boundary:
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, l.
i s ⋅ 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.
SYMMETRY THEORY
The Symmetry boundary condition, in the Primary Current Distribution and
Secondary Current Distribution interfaces is identical to the Insulation condition and
is expressed according to the equation below.
ik ⋅ n = 0
where ik denotes the current density vector and k = l, s is an index for the electrolyte
and electrode, respectively.
Ji ⋅ n = 0
where
i s = – σ s ∇φ s
The current density can also be defined including all its components:
i s = i s, bnd
where is, bnd is a given expression for the current density vector.
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:
φ s = φ s, bnd on ∂Ω
where φ s, ground is the ground potential of the cell, and Ptotal (W) is the power to be
drawn.
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.
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
For the Nernst-Planck-Poisson case, the total space charge density becomes
ρ 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 a 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
zi F c i, 2
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
References
1. J. O’M. Bockris, A.K.N. Reddy, and M. Gamboa-Aldeco, Modern Electrochemistry,
vol. 2A, 2nd ed., ch. 7, sec. 7.6, Kluwer Academic/Plenum Press, New York, 2000.
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 for
instance 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 xxx.Qh
(domain, Joule heating and porous electrode reactions) and xxx.Qbfc (boundary,
electrode surface reactions), where xxx is the electrochemistry interface identifier.
• Electrochemistry Interfaces
• Multiphysics Coupling Nodes
Q JH = – ( i s ⋅ ∇φ s + i l ⋅ ∇φ l ) (4-4)
• Heat generated = Total reaction enthalpy – Electrical energy leaving the system
Using Faraday’s law for an electrode reaction, m, at the interface between the electron
and ion conducting phase this corresponds to
ΔH m ΔG m
Q m = ------------- – ------------- – η m, tot i m (4-5)
nm F nm F
where ΔHm is the enthalpy change of the reaction, and ΔGm is the Gibbs free energy
of the reaction, ΔGm, defined as
ΔG m = ΔH m – TΔS m
where ΔSm is the net entropy change. Equation 4-5 may now be rearranged into
TΔS m
Q m = η m, tot + ---------------- i m (4-6)
nm F
where the first term represents the irreversible activation losses, and the second term
is the reversible heat change due to the net change of entropy in the conversion
process.
η m, tot = φ s – φ l – E eq, m
ΔG m
E eq, m = – -------------
nm F
∂E eq, m ΔS m
------------------
- = -----------
-
∂T nm F
the local heat source due to the electrochemical conversion process becomes
∂E eq, m
Q m = η m, tot + T ------------------- i m
∂T
ΔH m
E therm, m = – -------------
nm F
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 porous electrode joule heating and electrochemical sources are summed up for a
total heat source in the domain according to
q mix, i = – J i ⋅ ∇H i
where Ji (mol/(m2s)) is the molar flux and Hi (J/mol) is the molar enthalpy.
Generally, for an intercalation material, two species are considered: the intercalated
species, denoted with index s, and the holes, denoted with index θ.
Js = –JΘ
We now define the total heat of mixing as the sum of the contributions from the two
species and write
The absolute value of the individual molar enthalpies are generally not known.
However, the difference of the gradients of the molar enthalpies are related to the
thermoneutral voltage, Etherm (V) of the intercalation reaction.
ΔH ( ΔG + TΔS ) dE eq
E therm = – --------- = – -------------------------------- = E eq – T -------------
F F dT
+ -
Li + e ⇔ Li(s)
ΔH = H Li(s) – H Li + – H θ
dE eq, therm
∇ ( H s – H θ ) = – ∇ ( FE eq, therm ) = – F --------------------------- ∇c s
dc s
dE eq, therm
q mix = – J s ⋅ – F --------------------------- ∇c s
dc s
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-7)
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-8)
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-9)
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-10)
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-11)
∂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-12)
∂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.
η 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-13)
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-14)
Equation 4-13 and Equation 4-14 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
non-Faradaic components (inf) such as current due to Double Layer Capacitance:
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-15)
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 follows α 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-15 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 i 0 = k 0 Fc .
φ s, CE : i tot dS = 0 (4-16)
electrodes
η m = φ s, CE – E eq, m (4-17)
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-18)
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 a 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-20, is also defined in all electrode domains.
The variable Evs ref (SI unit: V), according to Equation 4-20, is also defined on these
features.
Battery Interfaces
In this chapter:
231
The Lithium-Ion Battery Interface
The Lithium-Ion Battery (liion) interface ( ), found under the
Electrochemistry>Battery Interfaces branch ( ) when adding a physics interface, is
used to compute the potential and current distributions in a lithium-ion battery.
Multiple intercalating electrode materials can be used, and voltage losses due to
solid-electrolyte-interface (SEI) layers are also included.
The physics interface is based on the works of Newman and others. Ohm’s law is used
to describe the charge transport in the electrodes. For the electrolyte, concentrated
electrolyte theory for a quiescent aprotic (1:1) electrolyte is used to describe charge
and mass transport in the electrolyte phase.
• φ l, electrolyte potential,
• φ s, electric potential in the electrodes,
• cl, salt concentration in the electrolyte, and
• cs, solid lithium concentration in the electrode particles in the Porous Electrode and
Additional Porous Electrode Material nodes.
The cl variable is not solved for when using the single-ion conductor charge balance
model.
The surface, center and average values of cs can also be evaluated in the real dimension
by the variable names liion.cs_surface, liion.cs_center, and
liion.cs_average, respectively.
Default Nodes
When this physics interface is added, these default nodes are also added to the Model
Builder — Electrolyte, Insulation, and Initial Values. Then, from the Physics toolbar, add
other nodes that implement, for example, Porous Electrodes and nonporous Electrodes,
and boundary conditions. You can also right-click Lithium-Ion Battery 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 liion.
DOMAIN SELECTION
OUT-OF-PLANE THICKNESS
See Out-of-Plane Thickness.
The Single-ion conductor solves for the electrolyte potential by assuming that all charge
in the electrolyte phase is carried by the positive lithium ions only, so that the
concentration of lithium ions in the electrolyte can be assumed to be constant. The
option is typically applicable to solid phase electrolytes, or electrolytes where the
electrolyte conductivity is not changing as a result of the ion transport in the cell. Since
the electrolyte concentration is not solved for, the single-ion conductor option reduces
the computational load and complexity.
Note that the single-ion conductor option will disable all settings in domain and
boundary nodes applicable to the electrolyte concentration dependent variable.
TRANSPORT MECHANISMS
Convection can be added as an additional transport mechanism. By default, the check
box Convection is not selected. Select the check box to enable convective transport.
Note that this section is not applicable if the Single-ion conductor option is selected in
the Charge Balance Model section.
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 box shown when the Show More Options button ( ) is clicked.
DEPENDENT VARIABLES
This physics interface defines the following dependent variables (fields): the electrolyte
potential, the electrolyte salt concentration , and the electric potential. The names
can be changed but the names of fields and dependent variables must be unique within
a model.
The electrolyte salt concentration variable is not solved for when using the Single-ion
conductor charge balance model (see previous section).
Certain nodes may add additional dependent variables to the model. For example the
intercalated solid lithium concentration in the Porous Electrode and Additional
Porous Electrode Material nodes.
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.
About the Domain, Boundary, Edge, Point, and Pair Nodes for the
Lithium-Ion Battery Interface
The Initial Values node and Electrode Reaction are described below, the other nodes
for The Lithium-Ion Battery Interface are described in Shared Nodes for Battery
Interfaces.
Physics 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).
Initial Values
The Initial Values node sets the initial values for the electrolyte potential, the electric
potential, and the electrolyte salt concentration.
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.
The default initial Electrolyte salt concentration, 1·103 mol/m3, is a typical value for
common lithium-ion battery electrolytes. This input field is not available when using
the Single-ion conductor charge balance model.
See the Electrode Reaction node in Shared Physics Features in the Current
Distribution Interfaces for a general description of the Equilibrium Potential,
Electrode Kinetics and Stoichiometric Coefficients sections.
ELECTRODE KINETICS
In addition to the kinetics expression types described in the link above, two additional
kinetics expressions are available in the Lithium-Ion Battery interface.
The Lithium metal expression can be used to define a lithium metal deposition/
dissolution reaction.
The Insertion Reaction expression can be used for modeling a heterogeneous porous
electrode — that is, when the individual electrode particles are resolved in the model
and defined on the boundaries to the electrolyte domain.
Use this physics interface for modeling batteries with alkaline binary (1:1) electrolytes,
such as NiMH or NiCd batteries.
Ohm’s law is used to describe the charge transport in the electrodes, whereas
concentrated electrolyte theory for an alkaline aqueous (1:1) electrolyte is used to
describe charge and mass transport in the electrolyte phase. An extra dimension can be
included in the porous electrode domains to describe transport of species in the solid
electrode phase using Fick’s law.
• φ l, electrolyte potential
• φ s, electric potential in the electrodes
• cl, salt concentration in the electrolyte,
• cs, intercalation concentration in the electrode particles when using the Porous
Electrode and Additional Porous Electrode Material nodes.
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 batbe.
DOMAIN SELECTION
OUT-OF-PLANE THICKNESS
SPECIES
This section contains some global settings for the electrolyte which are used in the
Insertion Reaction type kinetics in the Porous Electrode Reaction node to calculate the
concentration of water in the electrolyte. The default values correspond to a KOH
electrolyte.
• Electrolyte anion molar mass MAn- (SI unit: kg/mol). The default is 0.017 kg/mol.
• Electrolyte cation molar mass MCat+ (SI unit: kg/mol). The default is 0.0391 kg/
mol.
• Solvent molar mass M0 (SI unit: kg/mol). The default is 0.018 kg/mol.
TRANSPORT MECHANISMS
Convection can be added as an additional transport mechanism. By default, the check
box Convection is not selected. Select the check box to enable convective transport.
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 box shown when the Show More Options button ( ) is clicked.
DEPENDENT VARIABLES
This physics interface defines these dependent variables (fields), the Electrolyte
potential, the Electrolyte salt concentration and Electric potential. The name can be
changed but the names of fields and dependent variables must be unique within a
model. The Intercalating species concentration in the electrode particles is another,
hidden, dependent variable. This variable is solved for locally and with an independent
variable for the particle radius.
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.
Physics 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).
Initial Values
The Initial Values node sets the initial values for the electrolyte potential, the electric
potential, and the electrolyte salt concentration.
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.
The default initial Electrolyte salt concentration, 1·103 mol/m3, is a typical order of
magnitude for common concentrated aqueous concentrated electrolytes.
Ohm’s law is used to describe the charge transport in the electrodes, whereas
concentrated electrolyte theory is used to describe charge and mass transport in the
electrolyte phase. Mass balances for the porosities in the porous electrode domains
account for changes in state-of-charge.
Dependent Variables
Different combinations of four dependent variables are valid and solved in different
domains. The four dependent variables are:
• φ l, electrolyte potential
• φ s, electric potential in the electrodes
+ -
• cl, salt concentration in the electrolyte, here H / SO 4
• ε, porosity (volume fraction of liquid electrolyte) in the Negative Porous Electrode
and Positive Porous Electrode nodes.
A lead-acid cell typically consists of five parts: a positive porous electrode (PbO2), a
reservoir of electrolyte, a porous separator, a negative porous electrode (Pb), and two
electrodes in contact with the positive porous electrode and negative porous electrode,
respectively.
Default Nodes
When this physics interface is added, these default nodes are also added to the Model
Builder — Reservoir, Electric Insulation, No Flux, and Initial Values. Then, from the
Physics toolbar, add other nodes that implement, for example, Porous Electrodes and
nonporous Electrodes, and boundary conditions. You can also right-click Lead-Acid
Battery 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
The default Name (for the first physics interface in the model) is leadbat.
DOMAIN SELECTION
OUT-OF-PLANE THICKNESS
See Out-of-Plane Thickness.
CROSS-SECTIONAL AREA
See Cross-Sectional Area.
MODEL SETTINGS
The settings for the Molar volume and Transport number determine how the electrolyte
velocity is calculated in the model. The default settings correspond to lead acid battery
using sulphuric acid as electrolyte.
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 box shown when the Show More Options button ( ) is clicked.
DEPENDENT VARIABLES
This physics interface defines the following dependent variables (fields): Electrolyte
potential, Electrolyte salt concentration, Electric potential, and Porosity. The names can
Domain, Boundary, Edge, Point, and Pair Nodes for the Lead-Acid
Battery Interface
Physics 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).
The Lead-Acid Battery Interface shares all but a few of its domain, boundary, edge,
point, and pair nodes with the other battery interfaces as described in Shared Nodes
for Battery Interfaces.
These domain (and one boundary) nodes are unique for this physics interface and
described here:
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.
Reservoir
The Reservoir node defines a current balance and a material balance for the salt, here
+ -
H / SO 4 , in a free electrolyte domain.
Use this node for domains that do not contain electrode nor separator material.
The settings of the Electrolyte conductivity σl (SI unit: S/m) and the Electrolyte salt
diffusivity Dl (SI unit: m2/s) values defines the electrolyte salt transport due to
migration and diffusion.
Also convective transport can be of importance in lead acid cells. You may set the Mean
surface-averaged velocity expression to use analytical expressions for the velocity, based
on the volume changes and the electrolyte current for either the Negative electrode
main reaction or Positive electrode main reaction, or use User defined for an arbitrary
expression for the Velocity u (SI unit: m/s)
For the domain equations in the electrolyte, see the Theory for the
Lead-Acid Battery Interface.
Initial Values
The Initial Values node sets the initial values for the electrolyte potential, the electric
potential, and the electrolyte salt concentration. Use multiple Initial Values nodes to
specify different initial values in different 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.
The initial value of the Porosity (dimensionless) will set the initial electrode
state-of-charge (SOC) in the Negative Porous Electrode and Positive Porous
Electrode nodes.
By addition of Porous Electrode Reaction subnodes, the feature is also able to define
the charge transfer reactions that take place at the interface between the pore
electrolyte and the porous electrode matrix. A Porous Matrix Double Layer
Capacitance and a Porous Matrix Adsorption/Desorption Reaction (for the Battery
with Binary Electrolyte interface), can also be added to the node.
ELECTROLYTE PROPERTIES
See the Reservoir node for the settings of this section.
ELECTRODE PROPERTIES
The Porosity at zero charge ε0 and Porosity when fully charged εmax determines the
capacity of the electrode and defines the soc variable. The Exponent on porosity in
electrode exm defines how the effective transport parameters in the porous media
depends on the porosity.
See the Electrode for more information about the settings of this node.
For the domain equations in the electrolyte, see the Theory for the
Lead-Acid Battery Interface.
The difference between the Positive and Negative Porous Electrode nodes are the
default values for some of the parameters, for instance of the Equilibrium Potential of
the Porous Electrode subnode.
Separator
Use a Separator node to define a current balance in the electrolyte and a material
+ -
balance for the salt, here H / SO 4 . Both the material and current balances are
defined for porous media.
For the domain equations in the electrolyte, see the Theory for the
Lead-Acid Battery Interface.
Due to the lower computational load of the single particle model, the interface is
suitable for models including extended cycling for, for instance, life-time simulations
and thermal simulations of battery packs.
The Single Particle Battery interface models the charge distribution in a battery using
one separate single particle model each for the positive and negative electrodes of the
battery. The core simplification of the single particle model is to treat the large number
of individual electrode particles as a single particle, assuming that the reaction current
distribution across the porous electrodes is uniform. The single particle formulation
accounts for solid diffusion in the electrode particles and the intercalation reaction
kinetics. The ohmic potential drop in the separator is also included in the model, using
a lumped solution resistance term.
The single particle model is either solved in a global version, where all potential
dependent variables are solved globally, or in a local version (available in 1D, 2D and
3D), where the variables are solved for locally in the same spatial dimension as the
physics interface. The local version, which renders a significantly higher computational
load, is suitable for modeling non-homogeneous aging in cells where local differences
in the model parameters (such as temperature) induce localized differences in the
battery cell current density. It could also be used for modeling, for instance, cold start
of a battery pack, where local currents will cause local heating with a positive feedback
when the increased temperature raises the local electrolyte conductivity. Note that the
global and local approach both require fairly low currents for the single particle
approach to be valid, as described above. However, it is possible to set up the
The local model contains both global and local variables. Conversion between local
and global variables are done by integrating over the total cell volume.
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 spb.
DOMAIN SELECTION
This section is available in 1D, 2D, and 3D. The domain selection of the interface is
used to calculate the battery volume.
OPERATION MODE
Use the Operation mode setting to specify the load of the battery. Galvanostatic lets you
specify the Applied current (A). Charge-discharge cycling lets you specify the settings that
are required to apply a charge-discharge cycle, including constant current, constant
voltage and rest periods. Potentiostatic allows for specifying the Applied voltage (V) and
Circuit voltage source lets you connect to the Electrical Circuits interface.
BATTERY SETTINGS
You may define the host capacities of the two electrodes (which in term will set the
total capacity of the battery) either by the Cell capacity or the Volume fractions
alternative. The for the cell capacity case, the electrode volume fractions are derived by
setting explicit values for the Battery cell capacity in combination with the Fraction of
hosted capacity excess in negative electrode, which can be used to specify the relation in
size between the two electrodes. The fractional volumes correspond to the relative
thicknesses of the porous electrodes to the total thickness of the battery cell. (The
Use the Model setting (available in 1D, 2D, and 3D) to switch between a Global or Local
definition of the dependent variables of the model. The difference between the global
and local model is described above.
Cell state-of-charge sets the concentrations based on the cell capacity and the Initial cell
state of charge (1), Cell voltage sets the concentrations based on the cell capacity, and
the Electrode state-of-charges lets you specify the state-of-charge of each electrode
individually.
The Fraction of cyclable species loss after cell assembly can be used to reduce the amount
of cyclable species in relation to the capacity specified in the Battery settings section.
Use this setting to define irreversible losses of cyclable material, for instance due to
solid-electrolyte-interface (SEI) formation in a lithium-ion battery.
In certain cases the Butler-Volmer kinetics expression, used to define the electrode
reactions, can be inverted in order to define the electrode overpotential as an analytical
function of the current. The advantage of this is that the potential then does not have
to be solved for explicitly as a dependent variable in the model, and the nonlinearities
associated with the exponential Butler-Volmer expression can be avoided. This
improves computational efficiency significantly. The inverse expression can be used
only when
• the anodic and cathodic transfer coefficients are both equal to 0.5
• only one porous electrode reaction is present per electrode
• no double layer capacitance is present
• the battery is running in Galvanostatic mode
BATTERY VOLUME
This setting is available in 0D.
CROSS-SECTIONAL AREA
This setting is available in 1D. The setting is used to calculate the battery volume. See
Cross-Sectional Area.
OUT-OF-PLANE THICKNESS
This setting is available in 2D. The setting is used to calculate the battery volume. See
Out-of-Plane Thickness.
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 box shown when the Show More Options button ( ) is clicked.
ADVANCED SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box. In this section you can set the
Initial values of some of the dependent variables in the interface. The settings are
normally only needed if the model is solved without an initial Current Distribution
Initialization study step in the Study sequence. Also, you can set the check box Exclude
heat source variable from Jacobian. The check box is selected by default in 3D and is not
selected by default in other space dimensions. Note that this check box is relevant only
when coupling to heat transfer interfaces.
The settings of the Model Inputs are used to specify the electrolyte salt concentration
when you use the Materials node to provide the electrolyte conductivity.
The Electrolyte solution resistance setting may either be Based on thickness and
conductivity or User defined. The first option will calculate the lumped electrolyte
resistance based on the Separator thickness (m) and the Electrolyte conductivity (S/m),
Effective conductivity correction (1) and the Electrolyte volume fraction in separator (1).
The Fraction of separator resistance value (1) is used to correct for the fact that the
lumped effective electrolyte thickness is thicker than the separator due to distribution
effects in the porous electrodes. It is typically a value larger than 1.
The Separator thickness setting can also be used in combination with the parameters
below to calculate the cross-sectional area of the separator in the battery, and it may
also be used to compute to lumped solution resistance.
Positive Electrode
The settings of this node are used to define the properties of the positive electrode
material.
Subnodes (one Porous Electrode Reaction is added by default) are used to define the
properties of the electrochemical reactions in the electrode. You may also add
additional Porous Electrode Reaction and Porous Matrix Double Layer Capacitance
subnodes. These subnodes are available by clicking the parent node and selecting it
from the Attributes menu, or by right-clicking the parent node.
If the Use simplified reaction kinetics expression for check-boxes for the Positive
electrode has been enabled in the Porous Electrode Reaction Kinetics section on the
top-node, only one single Lithium Insertion Reaction is present, and it cannot be
deleted.
ELECTRODE SETTINGS
The Solid volume fraction (1) is used to calculate the electrode surface area of the
electrode. If the battery capacity is defined by Volume fractions on the parent interface
node, this setting will also have an impact on the resulting electrode host capacity.
PARTICLE INTERCALATION
This section handles the settings for the intercalating species in the electrode particles.
For the remaining settings of this section see the Porous Electrode node in the
Lithium-Ion Battery and Battery with Binary Electrolyte interfaces.
Negative Electrode
The settings of this node are used to define the properties of the negative electrode
material. The settings are identical to the Positive Electrode.
For the rest of the settings of this node, see the Insertion Reaction.
Instead of differentiating between the various processes in the negative and positive
electrodes, and the electrolyte, the Lumped Battery interface makes use of a small set
of lumped parameters for adding contributions for the sum of all voltage losses in the
battery, stemming from ohmic resistances and (optionally) charge transfer and/or
diffusion processes. The applicability of the lumped approach depends on various
internal battery parameters such as the combination of electrode and electrolyte
materials, porosities and layer thicknesses, and the electrode-electrolyte chemistry, in
relation to the current load.
Due to the limited set of parameters needed, the interface is suitable when only little
information is available about the internal structure, or chemistry, of a battery. Heat
sources are calculated automatically by the physics interface and can be used together
with a Heat Transfer interface for thermal simulations.
The Lumped Battery interface is based on a similar set of equations as The Single
Particle Battery Interface, with additional simplifications based on the assumption that
the activation and concentration overpotentials can be attributed to one electrode only.
The lumped model is either solved in a global version, where the soc dependent
variable and diffusion extra dimension are defined globally, or in a local version
(available in 1D, 2D, and 3D), where the variables are solved for locally in the same
spatial dimension as the physics interface. The local version, which renders a
significantly higher computational load, is suitable for modeling inhomogeneous cells
where local differences in the model parameters (such as temperature dependent
resistances) induce localized differences in the battery cell current density. One
example could be cold start of a battery pack, where local currents will cause local
The local model contains both global and local variables. Conversion between local
and global variables are done by integrating over the total cell volume.
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 lb
DOMAIN SELECTION
This section is available in 1D, 2D and 3D. The domain selection of the interface is
used to calculate the battery volume.
OPERATION MODE
Use the Operation mode setting to specify the load of the battery.
Galvanostatic lets you specify the Applied current (A). This can be used to specify the
battery current load. (The expression may be time-dependent using the character t for
time.). Charge-discharge cycling mode lets you specify the settings that are required to
apply a charge-discharge cycle, including constant current, constant voltage and rest
periods. Potentiostatic allows for specifying the Applied voltage (V) and Power allows
for specifying the Applied power (W). Circuit voltage source lets you connect to the
Electrical Circuits interface.
BATTERY SETTINGS
The Battery Cell Capacity (C) specifies the battery capacity.
The Initial cell state-of-charge (1) specifies the state-of-charge of the battery when the
simulation starts.
HARMONIC PERTURBATION
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
Use Perturbation amplitude (A) to specify the perturbation on the applied battery
current. This section is applicable only for frequency domain, perturbation studies
using the Galvanostatic operation mode.
BATTERY VOLUME
A battery volume variable is used in order to calculate a battery heat source variable
(lb.Qh, SI-unit: W/m3) from the lumped model. The heat source may typically be
used for thermal simulations in combination with a Heat Transfer interface.
In 1D, the selected domain length, in combination with the Cross-Sectional Area is
used for calculating the volume.
In 2D, the selected domain area, in combination with the Out-of-Plane Thickness is
used for calculating the volume.
In 3D, the battery volume equals the volume of the selected domain.
ADVANCED SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options.
In this section you can set the check box Exclude heat source variable from Jacobian. The
check box is selected by default in 3D and is not selected by default in other space
dimensions. Note that this check box is relevant only when coupling to heat transfer
interfaces. Excluding the heat source from the Jacobian may decrease the computation
time..
Specify the Open circuit voltage at reference temperature (V) and Temperature derivative
of open circuit voltage (V/K) as a function of state-of-charge, in the corresponding
tables. Linear interpolation between the provided values, as well as linear extrapolation
outside the range of values will be used. Note, the temperature derivative of open
circuit voltage data is used to calculate the temperature dependence of the open circuit
voltage and in the calculation of the reversible (entropic) contribution and heat of
mixing contribution to the total heat source.
Voltage Losses
The settings of this node define the voltage losses that occur in the battery when a
current is applied.
OHMIC OVERPOTENTIAL
The Ohmic Overpotential varies linearly with the battery current. The value of the Ohmic
overpotential at 1C (V) specifies the value of ohmic voltage loss for a battery current of
1C. The 1C current equals the battery capacity value, set a the interface top node,
divided by 1 h.
ACTIVATION OVERPOTENTIAL
Enable Include activation overpotential to add a voltage loss related to the charge
transfer processes in the battery. A Dimensionless charge exchange current value of 1
corresponds to an activation overpotential of approximately 25 mV for a battery
current of 1C. For higher currents the activation overpotential varies approximately
logarithmically with the current magnitude.
Enable Include double layer capacitance to include capacitative charging of the double
layer over which the charge transfer processes occur. These effects typically occur on a
time scale of tens of microseconds, or less.
For Particle diffusion, the magnitude of the concentration overpotential will depend
both on the Open circuit voltage, specified on the Cell Equilibrium Potential node, and
the cycling history of the battery. The value of the Diffusion time constant is related to
the relaxation time of the battery for reaching steady state at open circuit. Increasing
the value of the diffusion time constant will generally increase the concentration
overpotential.
For the Resistor-Capacitor pair option, the concentration overpotential will depend
both on the RC time constant and the RC potential at 1C parameters. The latter
parameter equals the steady-state overpotential that the RC component will approach
for a 1C constant load. (Note that the Particle diffusion overpotential will never reach
a steady state value for a constant load.)
PARTICLE DISCRETIZATION
This section is only available when Include concentration overpotential is enabled, using
a Particle diffusion model. The section handles the settings for how the extra dimension
used for solving the diffusion equation is defined. For the settings of this section, see
the Particle Intercalation node in the Lithium-Ion Battery and Battery with Binary
Electrolyte interfaces.
Capacity Loss
The settings of this node define the capacity loss that occurs in the battery due to
parasitic reactions.
CAPACITY LOSS
The Loss kinetics can be specified by either using a Built in expression or an User defined
expression. The Built in option calculates a loss current based on a Calendar aging time
constant that defines the rate of the parasitic reactions, and dimensionless aging factors
dependent on Voltage, Current, Aging history and Temperature, respectively. The loss
current is used to calculate the accumulated capacity loss corresponding to the parasitic
reactions.
All aging factors having the value of 1 would result in a constant capacity fade, starting
from initial time, reaching 0 remaining cell capacity when the time is equal to the
Enable Voltage to specify the Offset potential and Transfer coefficient parameters, that
relate how the rate of the parasitic reactions changes when the battery voltage deviates
from the average open circuit voltage. In many battery systems, it is seen that high
state-of-charge values (typically resulting in high battery voltage) accelerate capacity
loss.
Battery lifetime is closely related to the amount of cycled equivalent full cycles. Enable
Current to specify the Cycling capacity loss factor parameter, that defines the additional
capacity loss induced by cycling. For example, a value of 2·10−4 (with all other aging
factors set to 1) would result in an additional capacity fade of 20% for a cycled amount
corresponding to 1000 cycles of the initial capacity.
Enable Aging history to define a decelerating aging rate. Specify the Decelerating aging
factor that defines how many times the capacity loss rate will have been reduced when
all capacity has been lost.
The User defined option of Loss kinetics can be used to explicitly specify the Loss
current.
Short Circuit
Use this setting to define the short circuit scenario inside a lumped battery. Define the
Short Circuit Conductance in S to evaluate short circuit currents and corresponding heat
source. This node can be used to model self discharge in a lumped battery, along with
other short circuit scenarios.
When selecting the Battery Equivalent Circuit in the Model Wizard, this adds an
Electrical Circuit interface to the model, including a number of predefined circuit
elements that are used to define the open circuit voltage, the load current and an
internal resistance. Additional circuit elements such as resistors, capacitors and
inductors may be added by the user.
Figure 5-1: Circuit elements and corresponding node numbers in the Electrical Circuit
interface added by the Battery Equivalent Circuit entry in the Model Wizard.
The following domain and boundary nodes are described in this section and available
for the interfaces as noted (listed in alphabetical order):
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.
Electrolyte
Use the Electrolyte node to define an electrolyte domain that only conducts current in
the ion conducting phase. The combined charge and mass transfer in the electrolyte is
defined by the node.
The Convection section is available when the Convection check box 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.
The Electrolyte conductivity, σl (SI unit: S/m), parameter will define how the current
in the domain depends on the gradient of the potential and the concentration variable,
the Diffusion coefficient (SI unit: m2/s), defines how the flux of ions relates to
concentration gradients, and the Transport number t+ (also called transference
Use the Activity dependence on concentration parameter to modify the ion activity. The
default is 1(dimensionless).
For the Battery with Binary Electrolyte interface, also enter the Solution density ρ
(SI unit: kg/m3) (the electrolyte density). The default is 1.293e3 kg/m3 (A typical
value for a KOH electrolyte).
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.
For the domain equations in the electrolyte, see the Theory for the
Battery with Binary Electrolyte Interface and Theory for the Lithium-Ion
Battery Interface sections.
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 some of the settings of this
node.
DISSOLVING-DEPOSITING SPECIES
See the Porous Electrode node for more information about some of the settings of this
node.
Porous Electrode
The Porous Electrode node sets up current balances for a porous electrode matrix and
a pore electrolyte, as well as the mass balance for the pore electrolyte in a domain. The
node may also set up a mass balance of an intercalating species in the electrode
particles. By addition of Porous Electrode Reaction subnodes, the feature is also able
to define the charge transfer reactions that take place at the interface between the pore
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 and Electrode nodes for more information about the settings
of this node.
ELECTROLYTE PROPERTIES
See the Electrolyte node for more information about the settings of this section.
ELECTRODE PROPERTIES
See the Electrode node for more information about the settings of this section
PARTICLE PROPERTIES
By selecting Intercalating particles, the node adds a mass balance and the corresponding
dependent variables for solving for an intercalating concentration. The settings related
to the intercalation are set on the Particle Intercalation child node.
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.
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) and
Subtract volume change from electrolyte volume fraction check boxes 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).
FILM RESISTANCE
A film resistance is typically used for modeling the build-up of a SEI (solid electrolyte
interface) layer in lithium-ion battery graphite electrodes. See also the Electrode
Surface node.
Particle Intercalation
This node is available as a subnode to the Porous Electrode and Additional Porous
Electrode Material nodes in The Lithium-Ion Battery Interface and The Battery with
Binary Electrolyte Interface interfaces. The node is only visible if Intercalating Particles
has been selected on the parent node.
SPECIES SETTINGS
The Initial species concentration cs,init (SI unit: mol/m3) is used by the solver and can
be used to specify the initial state-of-charge of the electrode.
The Maximum species concentration cs,max (SI unit: mol/m3) defines the maximum
possible concentration of the intercalated concentration. The value is used by Porous
Electrode Reaction when the Kinetic expression type has been set to Lithium Insertion.
Fick’s law and Baker-Verbrugge both add an extra dimension, defined on the porous
electrode domain, within which a diffusion equation is applied in order to solve for the
concentration distribution along the depth within a single particle of the electrode.
The transport in the extra dimension is defined by the Intercalation diffusivity Ds (SI
unit: m2/s).
Fick’s law defines the molecular flux of the intercalated species as the product of the
diffusion coefficient and the concentration gradient. The Baker-Verbrugge models adds
a correction to the diffusion coefficient based on the Equilibrium potential, Eeq, of the
intercalation reaction. This potential is defined in the Equilibrium Potential section
below. Generally, the Baker-Verbrugge model is better at capturing state-of-charge
dependent transport rates and staging phenomena, whereas Fick’s law may be
numerically more stable. Note that the parameter values of the diffusivity from the
material library generally have been estimated assuming Fick’s law and may have to be
reduced when switching to Baker-Verbrugge.
Use No spatial gradients to assume a constant concentration along the depth of the
particle. No spatial gradients significantly reduces the computational load of the model.
The geometry in the extra dimension is one-dimensional and is defined by the Particle
type (Spheres (the default), Cylinders, or Flakes) together with the Particle mean
center-surface distance rp.
Use the Minimum and the Maximum electrode state-of-charge, SOCmin (dimensionless)
and SOCmax (dimensionless) to specify a nominal state-of-charge window for the
electrode. These values are used together with the Initial Cell Charge Distribution
node to define an initial cell state of charge.
PARTICLE DISCRETIZATION
This section is not available if No spatial gradients is selected under Particle Transport
Settings.
Use these settings to control the Distribution of the mesh and the Element order of the
extra particle dimension.
The predefined distributions Square or Cubic root sequence create mesh distributions
with a denser mesh toward the particle surface.
HEAT OF MIXING
This section is not available if No spatial gradients is selected under Particle Transport
Settings, or if Use fast assembly in particle dimension is enabled under Particle
Discretization.
Include heat of mixing defines a heat source defined as the gradient of the molar
enthalpy times the molar flux of the intercalating species, integrates it over the particle,
and adds it to the total heat source variable in the domain. The molar enthalpy is based
on the Equilibrium potential of the insertion reaction, defined below.
The heat source is typically used when coupling the battery interface to a heat transfer
interface using the Electrochemical Heating node.
The heat of mixing is usually small in relation the other heat sources in the battery, such
as Joule heating in the electrolyte, or the heat of reactions.
EQUILIBRIUM POTENTIAL
This section defines the Equilibrium potential of the intercalation reaction, Eeq
(SI unit: V), used by the Particle Transport Properties and Heat of Mixing sections, when
applicable.
When modeling diffusion in the particle you may enable the Calculate stress and strain
check box to compute a number stress and strain related variables in the particle. The
variables are based on the Young’s modulus, the Poisson’s ration and the relative
See also Stress and strain in intercalating particles in the theory chapter below.
See the Electrode Reaction node in Shared Physics Features in the Current
Distribution Interfaces for a general description of the Equilibrium Potential,
Electrode Kinetics and Stoichiometric Coefficients sections.
ELECTRODE KINETICS
The battery interfaces have some tailor-made kinetic expressions types (see also
Electrode Reaction).
Lithium Insertion
The charge transfer reaction can be described by the reaction at the surface of the
electrode particles with subsequent lithium intercalation. This solves the charge
transfer current density in the particles in combination with the diffusion of the
intercalating species (see the theory section).
The Lithium insertion option is available for the Lithium-Ion Battery interface. The
expression is suitable for any positive or negative intercalation reaction. The Reference
exchange current density io,ref(T) (SI unit: A/m2) depends on the electrode material in
use and the temperature.
Insertion Reaction
The Insertion reaction option is available for the Battery with Binary Electrolyte
interface. It can be used for both the positive and the negative electrode main reactions
By enabling Extrapolate insertion kinetics using first order kinetics for high and low socs
numerical stability can be improved for solid concentration values close to 0 or the
maximum concentration. The feature is enabled by default. Use the Extrapolation soc
window width to specify how close to 0 or the maximum soc the extrapolated kinetics
expression should be used.
The option is available both for the Lithium Insertion and the Insertion Reaction
kinetics.
When using a Particle-based area the particle radius is taken from the parent node if
using Intercalating particles (Lithium-ion and Battery with Binary Electrolyte
interfaces).
For the Lead-Acid Battery interface the active surface area can also be calculated as a
function of the porosity of the electrodes, which changes during discharge and
recharge as defined by the Maximum active surface area, amax (dimensions L2/L3; that
is, the SI unit is 1/m) and the Morphology number (dimensionless).
Reaction Source
Use the Reaction Source node to define sources or sinks in the mass balance of the salt
in the electrolyte. To display this option, click the Show More Options button ( ) and
You specify the reactions occurring on the additional material, giving rise to fluxes in
and out from the electrode particles, using Porous Electrode Reaction subnodes,
which is available from the context menu (right-click the parent node) or from the
Physics toolbar, Attributes menu. Also add a Porous Matrix Double Layer Capacitance
and, for the Battery with Binary Electrolyte interface, a Porous Matrix Adsorption/
Desorption Reaction subnode.
The current sources and sinks defined in the Additional Porous Electrode Material
subnodes are also used in the Porous Electrode node domain equations that describe
the electrolyte and electrode current balances, and the mass balance for the electrolyte
salt.
This physics node is available for the Lithium-Ion Battery and Battery with Binary
Electrolyte interfaces.
See the Porous Electrode for more information about the settings of this node.
Concentration
Add the Concentration boundary condition from the Electrolyte submenu to set the
Concentration on boundary of the salt to a given value or expression.
No Flux
A No Flux boundary condition is added by default for all external boundaries to an
electrolyte domain.
Select additional nodes from the Electrolyte submenu overwrite this boundary
condition.
The flux of ions will be set in the normal direction to the boundary.
The node also offers the possibility to balance the electrodes by calculating the
electrode phase volume fractions.
The node only has an effect on the actual equations solved for when used in a Current
Distribution Initialization study step. SOC and porosity variables will however be
defined for all study steps. For more information on the functionality of this feature,
see Initial Charge Distribution in the Battery Cell.
Use the Negative Electrode Selection and Positive Electrode Selection subnodes to
select what domains of the battery model that correspond to the negative and positive
electrodes, respectively. The node is only available in the Lithium-Ion Battery and
Battery with Binary Electrolyte interfaces.
The entered Initial cell voltage Ecell,0 (SI unit: V) needs to be a valid value that can be
physically achieved for the combination of state-of-charge windows and equilibrium
potentials of the active materials of the two electrodes (as defined in the Porous
Electrode and Porous Electrode Reaction node). The default is 3 V.
The Initial cell state-of-charge SOCcell,0 (dimensionless) should range between 0 and
1; 0 representing a fully discharged and 1 a completely charged cell. The default is 0.5.
The Battery cell capacity Qcell,0 (SI unit: C) is physically limited by the maximum
amount of cyclable species in the selected electrode materials (as defined in the Porous
Electrode node), and the model geometry (as defined in the Geometry node). A too
The feature computes the electrode volume fraction variable for each of the electrodes,
which may be used when defining the electrode volume fractions in the Porous
Electrode nodes. The electrode balancing does not support models using Additional
Porous Electrode Material nodes.
The Fraction of cyclable species loss after cell assembly fcycl,loss (dimensionless) and
Fraction of hosted capacity excess in the negative electrode fhost,neg,ex (dimensionless)
are properties that strongly impact the charge distribution in many battery cell
chemistries. The default values are 0.08 and 0.20, respectively, and represent a typical
case of a fresh lithium-battery cell with a 20% excess of carbon-based negative
electrode, and where 8% of the cyclable lithium is lost due to irreversible process at cell
assembly and initial “formation” cycling.
To balance the electrodes, enter in the Porous Matrix properties section of the Positive
Porous Electrode nodes either <physics interface name>.epss_neg or
physics interface name>.epss_pos (for example, batbe.epss_neg or
liion.epss_pos) in the Electrode Volume Fraction text field, depending on the porous
electrode being a negative or a positive electrode.
The node is only available in the Lithium-Ion Battery and Battery with Binary
Electrolyte interfaces.
The node is only available in the Lithium-Ion Battery and Battery with Binary
Electrolyte interfaces.
The electrolyte in the modeled batteries has to be a quiescent binary 1:1 electrolyte,
containing lithium cations (Li+) and anions (An-).
In the electrolyte and pore electrolyte, two variables are defined, φ l and cl. Assuming
electroneutrality, cl denotes both the Li+ concentration and the An- concentration.
The domain equations in the electrolyte are the conservation of current and the mass
balance for the salt according to the following:
2σ l RT ∂ ln f
∇ ⋅ – σ l ∇φ l + ------------------ 1 + -------------- ( 1 – t + )∇ ln c l = i tot + Q l
F ∂ ln c l
∂c l i tot + Q l
ε l ------- + ∇ ⋅ ( – ε l D l ∇c l ) = R l – --------------------- t +
∂t F
where σl denotes the electrolyte conductivity, f the activity coefficient for the salt, t+
the transport number for Li+ (also called transference number), itot the sum of all
electrochemical current sources, and Ql denotes an arbitrary electrolyte current source.
In the mass balance for the salt, εl denotes the electrolyte volume fraction, Dl the
electrolyte salt diffusivity, and Rl the total Li+ source term in the electrolyte.
The domain equation for the electrode is the conservation of current expressed as
∇ ⋅ i s = – i tot + Q s
+ -
Li + e + Θ s ⇔ LiΘ s
where Θs denotes a free reaction site and LiΘs an occupied reaction site at the solid
particle surface.
The concentration of Θs does not have to be solved for since the total concentration
of reaction sites, cs,max, is assumed to be constant, implying that
c Θ s = c s, max – c s
cs
soc = ----------------
c s, max
The electrode reaction occurs on the particle surface and lithium diffuses to and from
the surface in the particles. The mass balance of Li in the particles is described as
∂c s
-------- = – ∇ ⋅ ( – D s ∇c s )
∂t
where cs is the concentration of Li in the solid phase. This equation is solved locally by
this physics interface in a 1D pseudo dimension, with the solid phase concentrations at
the nodal points for the element discretization of the particle as the independent
variables. The gradient is calculated in Cartesian, cylindrical, or spherical coordinates,
∂c
-------s- = 0
∂r r=0
∂c s
– D s -------- = – R LiΘ
∂r r = rp
where RLiΘ denotes the molar flux of lithium at the particle surface, caused by the
electrochemical insertion reactions.
The stoichiometric notations used in the physics interface are according to the general
electrochemical reaction as expressed below:
where the stoichiometric coefficients, νi, is positive (νox) for products and negative
(νred) for reactants in a reduction reaction. From this definition, the number of
electrons, n, in the electrode reaction can be calculated according to
n = – zi νi
i
where zi denotes the charge of species i. According to these relations, the lithium
insertion reaction has the following stoichiometric coefficients:
ν Li+ = – 1
ν An - = 0
ν LiΘs = 1
with a resulting n = 1. These are the default settings for the reactions in this physics
interface. When modeling other reactions, such as irreversible anion oxidation or
noninsertion solid lithium metal deposition, other coefficients have to be used.
In the porous electrodes, itot, denotes the sum of all charge transfer current density
contributions according to:
ν Li+, m i loc, m
R l, p = – Av,m -------------------------------
nm F
m
It is also possible to specify additional reaction sources, Rl, src, that contribute to the
total species source according to:
R l = R l, p + R l, src
where the last factor (normally equal to 1) is a scaling factor accounting for differences
between the surface area (Av,m) used to calculate the volumetric current density, and
the surface area of the particles in the solid lithium diffusion model. Nshape is 1 for
Cartesian, 2 for cylindrical, and 3 for spherical coordinates.
If the solid phase diffusion coefficient is very large or if the spatial concentration
gradients in the particle can be neglected, the solid phase concentration evolution in
time can be calculated from
∂ε s c
------------s- = R vΘ
∂t
The molar source RvΘ at the positive and negative electrodes is given as follows:
A resistive film (also called solid-electrolyte interface, SEI) might form on the solid
particles resulting in additional potential losses in the electrodes. To model a film
resistance, an extra solution variable for the potential variation over the film, Δ φ s, film,
is introduced in the physics interface. The governing equation is then according to
η m = φ s – Δφ s, film – φ l – E eq, m
It is, however, possible to compute the initial charge distribution taking into account
that initially, when no current is applied on a battery cell and no sources of polarization
apply, it is only the difference between the positive and negative electrode material
equilibrium potentials that dictates the cell voltage. Two constraints can be set up with
the battery cell capacity and voltage as inputs for this computation:
• The battery cell capacity, Qcell,0 (SI unit: C), is equal to the sum of the charge of
cyclable species, Qcycl, in the positive and negative electrodes (and additional porous
electrode materials if present in the model):
Q cell,0 = Q cycl,pos + Q cycl,neg + Q cycl,addm
Q cycl,electrode = c s,avg,cycl,electrode Fε s dΩ
Ω electrode
where εs denotes the electrode volume fraction and cs,avg,cycl,electrode is the local
average cyclable species concentration defined as:
c s,avg,cycl,electrode = c s,avg,electrode – soc min c s, max
The cell voltage is restricted to the open-circuit potential of the electrode materials
and the cell voltage should be set within the following range:
E eq,pos ( soc max ) – E eq,neg ( soc min ) ≤ E cell,0 ≤ E eq,pos ( soc min ) – E eq,neg ( soc max )
where the subscripts max and min of the electrode state-of-charge indicate the
maximum and minimum allowed amount of intercalated species in terms of
state-of-charge in the electrode materials.
For any additional electrode material, the intercalated concentration is constrained
to fulfill
E eq,addm ( soc addm, 0 ) = φ s – φ l
Alternatively, the potential constraints can be replaced to instead constrain the initial
cell state-of-charge:
• The cell state-of-charge, soccell,0 (dimensionless), relates the battery cell capacity to
the charge of cyclable species in each electrode:
Q cycl,neg + Q cycl,addm,neg = Q cell,0 soc cell,0
The battery interface can supply electrode volume fractions that balance the electrodes.
These are calculated by connecting the amount of active host material — that is, the
maximum amount of cyclable species in the electrode — to the cell capacity initial.
Here, the active host material in the positive electrode is set equal to the cell capacity.
In some battery chemistries, for instance lithium-ion batteries, the host material
amount in both electrodes deviate. Especially, negative carbon-based electrodes are
often set in excess compared to the positive electrode to account for irreversible losses
in the cell during operation. Cyclable species can in some cases be lost directly after cell
assembly. The following relations therefore apply:
Q cell,0
Q host,pos,0 = -----------------------------
1 – f cycl,loss
where Qhost (SI unit: C) is the amount of active host material, fcycl,loss the fractional
loss of cyclable species, and fhost,neg,ex the fractional excess of negative active host
material.
To calculate the electrode volume fraction, the fact that the amount of active host
material can be computed from the following equation needs to be considered:
The expression for the electrode volume fraction in each electrode is therefore:
Q host,electrode,0
ε s = ----------------------------------------------------------
Δsocc s, max FdΩ
Ω electrode
From the electrode volume fraction it is shown that the battery cell capacity should be
selected carefully, because the capacity is limited by the electrode material and size. The
capacity should never be set so that the electrode volume fraction is larger than 1.
Note that electrode balancing described as above does not take into account additional
electrode materials.
Since atomic diffusion in solids is a much slower process than elastic deformation,
mechanical equilibrium is established much faster than that of diffusion. Hence,
mechanical equilibrium can be treated as a static equilibrium problem. In the analysis
below, the electrode particles (spheres or cylinders) are assumed to be isotropic linear
elastic solids.
The relative change in volume δV/V0 is typically dependent on the solid phase
concentration cs (or the state-of-charge variable soc). Note that cs is solved for in a 1D
extra dimension using spherical or cylindrical coordinate systems (for spheres or
cylinders, respectively), as described above. In the equations presented below, the
relative volume change is considered to be a generic function of the concentration ΔV/
V0 = fvol(cs(r)).
1 1
ε r ( r ) = ---- [ σ r ( r ) – 2νσ θ ( r ) ] + --- f vol ( c s ( r ) )
E 3
1 1
ε θ ( r ) = ---- [ σ θ ( r ) – ν ( σ θ ( r ) + σ r ( r ) ) ] + --- f vol ( c s ( r ) )
E 3
where E (SI unit: Pa) is Young’s modulus and ν (SI unit:1) is Poisson’s ratio. It is
assumed that these elastic properties are independent of concentration.
The expressions for radial and tangential stresses in a spherical particle of radius rp that
satisfy the boundary condition σr(rp) = 0 and remain finite at r = 0, can be obtained as
follows, by solving the equation for static mechanical equilibrium in the absence of any
body force:
r r
p
σ r ( r ) = --------------------- ----3- f vol ( c s ( r′ ) )r′ dr′ – ----3- f vol ( c s ( r′ ) )r′ dr′
2E 1 1
2 2
3(1 – υ) r r
p0 0
where the two integrals represent contributions, respectively, one given by an integral
over the entire volume of the spherical particle and another given by an integral over
a spherical volume of radius r within the particle. Note, that the tangential component
additionally contains a local term as given by the last term in the expression.
The hydrostatic stress σh(r) (SI unit: Pa) (or the mean stress) is given by
σ r ( r ) + 2σ θ ( r )
σ h ( r ) = --------------------------------------
3
σv ( r ) = σr ( r ) – σθ ( r )
Because of spherical symmetry, one principal shear stress is zero and the other two are
both equal to ( σ r ( r ) – σ θ ( r ) ) ⁄ 2 .
The strain energy density Ws(r) (SI unit: J/m3) accumulated as a result of the elastic
deformation for the isotropically deformed sphere is given as
2 2
σ r ( r ) + 2σ θ ( r ) – 2νσ θ ( r ) ( 2σ r ( r ) + σ θ ( r ) )
W s ( r ) = -------------------------------------------------------------------------------------------------------------
2E
The total elastic strain energy density stored in the host electrode material Ws,tot(r) (SI
unit: J/m3), which provides the driving force for fracture, is obtained as,
rp
3ε s
W s,tot ( r ) = -------
rp
3
- W s ( r′ )r′ 2 dr′
0
1 1
ε r ( r ) = ---- [ σ r ( r ) – ν ( σ θ ( r ) + σ z ( r ) ) ] + --- f vol ( c s ( r ) )
E 3
1 1
ε z ( r ) = ---- [ σ z ( r ) – ν ( σ r ( r ) + σ θ ( r ) ) ] + --- f vol ( c s ( r ) )
E 3
The expressions for radial, tangential and axial diffusion-induced stresses for a
transversely isotropic cylindrical particle of radius rp are,
r r
p
E - ---- 1- 1-
σr ( r ) = --------------------
3 ( 1 – υ ) r2
f vol ( c s ( r′) )r′dr′ – ----
r
2
f vol ( c s ( r′ ) )r′dr′
p0 0
r r
p
σ θ ( r ) = --------------------- ----2- f vol ( c s ( r′ ) )r′dr′ + ----2- f vol ( c s ( r′ ) )r′dr′ – f vol ( c s ( r ) )
E 1 1
3(1 – υ) r r
p0 0
r
p
σ z ( r ) = --------------------- ----2- f vol ( c s ( r′ ) )r′dr′ – f vol ( c s ( r ) )
E 2
3(1 – υ) r
p0
σr ( r ) + σθ ( r ) + σz ( r )
σ h ( r ) = ------------------------------------------------------
3
2 2 2
( σr ( r ) – σθ ( r ) ) + ( σθ ( r ) – σz ( r ) ) + ( σz ( r ) – σr ( r ) )
σv ( r ) = -----------------------------------------------------------------------------------------------------------------------------------------
2
The strain energy density Ws(r) accumulated as a result of the elastic deformation for
the isotropically deformed cylinder is given as
2 2 2
σ r ( r ) + σ θ ( r ) + σ z ( r ) – 2ν ( σ r ( r )σ θ ( r ) + σ θ ( r )σ z ( r ) + σ z ( r )σ r ( r ) )
W s ( r ) = ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2E
The total elastic strain energy density stored in the host electrode material Ws,tot(r) is
given as
rp
2ε s
W s,tot ( r ) = -------
rp
2
- W s ( r′ )r′dr′
0
The electrolyte in the modeled batteries has to be a quiescent alkaline binary 1:1
electrolyte, containing a cation (Cat+) and an anion (An-).
In the electrolyte and pore electrolyte, two variables are defined: φ l and cl. Assuming
electroneutrality, cl denotes both the Cat+ concentration and the An- concentration.
The domain equations in the electrolyte are the conservation of current and the mass
balance for the salt according to the following:
∇ ⋅ i l = i tot + Q l
2σ l RT ∂ ln f cl
i l = – σ l ∇ϕ l – ------------------ 1 + -------------- t + + ----- ∇ ln c l
F ∂ ln c l c0
∂ε l c l
- + ∇ ⋅ Nl = Rl
-----------
∂t
il t+
N l = – D l ∇c l + ---------
F
where il denotes the electrolyte current density, σl the electrolyte conductivity, f the
activity coefficient for the salt, t+ the transport number for Cat+ (also called
transference number), itot the sum of all electrochemical current sources, c0 the solvent
i s = – σ s ∇φ s
The domain equation for the electrode is the conservation of current expressed as
∇ ⋅ i s = – i tot + Q s
Reactions occur on the surface of small solid spherical host particles of radius rp. The
reactions can either be electrochemical or chemical adsorption/desorption reactions
not involving electrons.
The electrochemical reactions involve cations or anions and are written generally as
+ - -
ν Cat+ Cat + ν An- An + ne + ν s Θ s ⇔ ν s SΘ s + X+…
where Θs is a free reaction site and SΘs is an occupied reaction site at the solid particle
surface. Additional product species (X, …) are not handled by this physics interface.
The absorption/desorption chemical reactions that do not involve charged species and
are written generally as:
ν s SΘ s ⇔ ν s Θ s + X+…
with a reaction rate k (SI unit: mol/(s·m2)). The signs νs is here positive, and the
reaction rate is defined as positive for reactions going from left to right.
The concentration of Θs does not have to be solved for because the total concentration
of reaction sites, cs, max, is assumed to be constant, implying that
c Θs = c s, max – c s
The reactions occur on the particle surface only, but the intercalant species can be
transported within the particles by diffusion. Within the particles the mass balance can
be written as
∂c s
-------- = – ∇ ⋅ ( – D s ∇c s )
∂t
where cs is the concentration of the intercalating species. This equation is solved locally
by this physics interface in a 1D extra (pseudo) dimension, using a finite element
discretization with the solid phase concentration as dependent variable. The
divergence and gradient operator in the above equation are be applied using either
spherical, cylindrical or Cartesian coordinates, depending on the particle type (spheres,
cylinders, or flakes).
∂c
-------s- = 0
∂r r=0
∂c s
– D s -------- = R s, tot
∂r r = rp
where Rs, tot is the total surface molar flux of the intercalating species due to the
electrochemical and chemical reactions.
The stoichiometric notations used in the physics interface are according to the general
electrochemical reaction as expressed below:
where the stoichiometric coefficients, νi, are positive (νox) for products and negative
(νred) for reactants in a reduction reaction. From this definition, the number of
electrons, n, in the electrode reaction can be calculated according to
In the porous electrodes, itot denotes the sum of all charge transfer current density
contributions according to:
ν Cat +, m i loc, m
R l, p = – A v,m -----------------------------------
nm F
m
It is also possible to specify additional reaction sources, Rl, src, that contribute to the
total species source according to:
R l = R l, p + R l, src
where the last factor (normally equal to 1) is a scaling factor accounting for differences
between the surface area (Av,m) used to calculate the volumetric current density, and
the surface area of the particles in the solid lithium diffusion model. Nshape is 1 for
Cartesian, 2 for cylindrical, and 3 for spherical coordinates.
The surface area is commonly derived from the electrode volume fraction, particle size
and shape according to
N shape ε s
A v, m = -----------------------
rp
If the solid phase diffusion coefficient is very large and/or if the spatial concentration
gradients in the particle can be neglected, the solid phase concentration evolution in
time can be calculated from
The molar source, Rv, tot, due to the electrochemical and chemical reactions at the
positive and negative electrodes is given as follows:
A resistive film (also called solid-electrolyte interface, SEI) might form on the solid
particles resulting in additional potential losses in the electrodes. To model a film
resistance, an extra solution variable for the potential variation over the film, Δ φ s,film,
is introduced in the physics interface. The governing equation is then according to
where Rfilm (SI unit: Ω·m2) denotes a generalized film resistance. The activation
overpotentials, ηm, for all electrode reactions in the electrode then receives an extra
potential contribution, which yields
η m = φ s – Δφ s, film – φ l – E eq, m
+ -
Cat + e ⇔ Y ( s )
where Y could be some metal deposited on the electrode surface. Because this is not
an insertion reaction, cs is of no relevance at this boundary. The stoichiometric
coefficients for the above reaction are:
ν Cat+ = – 1
ν An- = 0
This results in the following boundary condition for the species flux at the electrode -
electrolyte interface
ν Cat+, m i m
n ⋅ Nl = – --------------------------
nm F
-
m
It is, however, possible to compute the initial charge distribution taking into account
that initially, when no current is applied on a battery cell and no sources of polarization
apply, it is only the difference between the positive and negative electrode material
equilibrium potentials that dictates the cell voltage. Two constraints can be set up with
the battery cell capacity and voltage as inputs for this computation:
• The battery cell capacity, Qcell,0 (SI unit: C), is equal to the sum of the charge of
cyclable species, Qcycl, in the positive and negative electrodes:
Q cell,0 = Q cycl,pos + Q cycl,neg
Q cycl,electrode = c s,avg,cycl,electrode Fε s dΩ
Ω electrode
where εs denotes the electrode volume fraction and cs,avg,cycl,electrode is the local
average cyclable species concentration defined as:
c s,avg,cycl,electrode = c s,avg,electrode – soc min c s, max
The cell voltage is restricted to the open-circuit potential of the electrode materials
and the cell voltage should be set within the following range:
E eq,pos ( soc max ) – E eq,neg ( soc min ) ≤ E cell,0 ≤ E eq,pos ( soc min ) – E eq,neg ( soc max )
where the subscripts max and min of the electrode state-of-charge indicate the
maximum and minimum allowed amount of intercalated species in terms of
state-of-charge in the electrode materials.
Alternatively, the second constraint can be replaced with another to allow the initial
cell voltage input to be replaced with initial cell state-of-charge:
• The cell state-of-charge, soccell,0 (dimensionless), relates the battery cell capacity to
the charge of cyclable species in each electrode.
Q cycl,neg = Q cell,0 soc cell,0
The battery interface can supply electrode volume fractions that balance the electrodes.
These are calculated by connecting the amount of active host material — that is, the
Q cell,0
Q host,pos,0 = -----------------------------
1 – f cycl,loss
where Qhost (SI unit: C) is the amount of active host material, fcycl,loss the fractional
loss of cyclable species, and fhost,neg,ex the fractional excess of negative active host
material.
To calculate the electrode volume fraction, the fact that the amount of active host
material can be computed from the following equation needs to be considered:
The expression for the electrode volume fraction in each electrode is therefore:
Q host,electrode,0
ε s = ----------------------------------------------------------
Δsocc s, max FdΩ
Ω electrode
From the electrode volume fraction it is shown that the battery cell capacity should be
selected carefully, because the capacity is limited by the electrode material and size. The
capacity should never be set so that the electrode volume fraction is larger than 1.
A lead-acid cell typically consists of five parts: a positive porous electrode (PbO2), a
reservoir of electrolyte, a porous separator, a negative porous electrode (Pb), and two
current collectors/feeders in contact with the positive porous electrode and negative
porous electrode, respectively.
In this section:
- + -
PbO 2 ( s ) + HSO 4 ( aq ) + 3H ( aq ) + 2e ⇔ PbSO 4 ( s ) + 2H 2 O ( l )
- + -
Pb ( s ) + HSO 4 ( aq ) ⇔ PbSO 4 ( s ) + H ( aq ) + 2e
During discharge of the battery the direction of the reactions are from left to right.
cl γ α a Fη – α c Fη
i loc = i 0 ------------- exp --------------- – exp -----------------
c l, ref RT RT
where i0 denotes the exchange current density (SI unit: A/ m2), γ the reaction order
(dimensionless), αa the anodic charge transfer coefficient (dimensionless), αc the
cathodic charge transfer coefficient (dimensionless). The overpotential, η, is according
to the following equation:
η = φ s – φ l – E eq
During a discharge, the active surface area, av (SI unit: m2/ m3), is calculated using
the equation below:
ε – ε0 ξ
a v = a v, max -----------------------
ε max – ε 0
In the charging reactions, PbSO4 is a reactant but also an insulator, reducing the
available active surface area. To account for this effect, the following expression can be
used for the active surface area for the charging reactions:
ε – ε 0 ξ ε max – ε
a v, charge = a v, max ----------------------- -----------------------
ε max – ε 0 ε max – ε 0
i s = – σ s ∇φ s
exm
is = –ε σ s ∇φ s
σ l RT
i l = – σ l ∇φ l + -------------- ( 1 – 2t + )∇ ln c l
F
where σl denotes the electrolyte conductivity, R the molar gas constant, T the
temperature, F Faraday’s constant, and t+ the transport number.
In the porous domains (the separator and the porous electrodes), it is defined as
ex σ l RT
i l = ε ( – σ l ∇φ l ) + ε -------------- ( 1 – 2t + )∇ ln c l
ex
F
The dissociated salt ions can be transported due to convection, migration and
diffusion. The molar flux vector, Nl, (SI unit: mol/m2 s), is written as:
N l = – D∇c l + uc l
Where D (SI unit: mol/(s /m2)) is the binary diffusion coefficient into which the
migration effects are incorporated, and u (SI unit: m/s) is the volume averaged
velocity.
∂
c = ∇ ⋅ ( D∇c l ) – u ⋅ ∇c l
∂t l
In the porous electrodes the electrochemical reactions give rise to sources in the
material balance equation, resulting in
∂ ex
ε c = ∇ ⋅ ( ε D∇c l ) – u ⋅ ∇c l + R l
∂t l
a v, m i m
Rl = – ------------------
nm F
- ( ( 1 – c l V e ) ( ( 1 – t + )ν
+
H ,m
+ t + ν HSO , m ) – c l V 0 ν H2O, m )
-
4
ν H +, m
ν HSO - , m
4
ν H2O, m
In the separator, the corresponding transport equation is used for the electrolyte, but
where the source term, Rl, is zero.
For a boundary, the flux of electrolyte species due to the electrochemical reactions is
calculated according to
im
n ⋅ Nl = – -----------
nm F
- ( ( 1 – t + )ν
H ,m
+ + t + ν HSO , m )
-
4
As the solid material in the electrodes react, the porosity changes due to volume
changes. This is described by the equation below:
∂ε a v, m i m
∂t
= ------------------
nm F
- ( ν Pb, m V Pb + ν PbO2, m V PbO2 + ν PbSO4, m V PbSO4 )
m
where V i denotes the molar volumes (SI unit: m3/mol) for the solid materials in the
electrodes,
ν Pb, m
ν PbSO4, m
the stoichiometric coefficient for lead sulfate in reaction m. For a species with a known
density, ρi (SI unit: kg/m3), and molar mass Mi it can be calculated as
Mi
V i = -------
ρi
For results and analysis purposes the following state-of-charge expression, soc, for the
electrodes, is also defined
ε – ε0
soc = -----------------------
ε max – ε 0
Assuming that the main Pb and PbO2 reactions are the main contributions to the
currents in each electrode, the average superficial velocity in each electrode
compartment can be calculated as
il
u PbO2 = – ------- ( ( V PbSO4 – V PbO2 – ( 3 – 2t + )V e + 2V 0 ) ) )
2F
and
il
u Pb = – ------- ( V Pb – V PbSO4 – ( 1 – 2t + )V e )
2F
u ≈ u PbO2
u ≈ u Pb
where φ s, pos and φ s, neg are the potentials of the electron conducting phase (one for
each electrode), Epos and Eneg are the electrode potentials, and Δφ l is the potential
drop over the electrolyte phase separating the electrodes.
The battery cell current density, icell (SI unit: A·m−2), is defined as
Δφ l
i cell = ----------
R sol
For the global formulation, the potential drop in the electrolyte solution phase is
obtained by the relation
where Asep (SI unit: m2) is the separator cross-sectional area and Icell (SI unit: A) is
the battery cell current.
icell dvol dΩ
Ω
A sep --------------------------------
- = I cell
V cell
where Vcell is the cell volume and Ω is the selected domain where the single particle
interface is active. Note that dvol is the cell cross-sectional area in 1D, the
out-of-plane-thickness in 2D and 1D with axial symmetry, and is equal to 1 in 3D and
The separator area Asep can be calculated from the following relation if the separator
thickness Lsep and the volume fraction εsep occupied by the separator in the battery
are known
ε sep V cell
A sep = ----------------------
L sep
The solution resistance in the separator Rsol,sep can be calculated from the separator
thickness and the effective electrolyte conductivity σl,eff (accounts for separator
porosity correction) as follows,
L sep
R sol,sep = -------------
σ l, eff
To compensate for the contributions to the ohmic resistance from the electrolyte
potential drop in the electrodes, the above can also be multiplied by a fraction number
X, typically greater than 1,
R sol = XR sol,sep
The charge balance for each electrode is as follows for the global case:
± I cell = V electrode
Av, m iloc, m + Av,dl idl
m
where Velectrode is the porous electrode volume, iloc is the local intercalation current
density, idl is the double layer current density, and Av denotes the active specific surface
area.
A sep
± i cell ----------- = ε electrode
V cell Av, m iloc, m + Av,dl idl
m
Diffusion in the active material particles in the positive and negative electrodes is
described by Fick’s second law as
∂c s
-------- = – ∇ ⋅ ( – D s ∇c s )
∂t
where cs is the concentration of the intercalating species in the solid phase and Ds is
the solid phase diffusion coefficient. The diffusion equation is solved either globally or
locally (depending on the selection of either global or local formulation, respectively)
by this physics interface in a 1D pseudo extra dimension corresponding to the particle
dimension. The gradient is calculated in Cartesian, cylindrical, or spherical
coordinates, depending on if the particles are assumed to be best described as flakes,
rods or spheres, respectively.
The boundary conditions at the center and surface of the particle are as follows:
∂c
-------s- = 0
∂r r=0
∂c s
– D s -------- = – R sΘ
∂r r = rp
where rp is the radius of the electrode active material particle and RsΘ denotes the
molar flux of the cation at the particle surface, caused by the electrochemical insertion
reactions.
At the surface of the solid particles, the molar flux is coupled to the rate of the lithium
intercalation reaction and the following equation applies:
where the last factor (normally equal to 1) is a scaling factor accounting for differences
between the surface area (Av,m) used to calculate the volumetric current density, and
the surface area of the particles in the solid lithium diffusion model. νsΘ denotes the
stoichiometric coefficient of the intercalating species in the electrode particles, nm is
the number of transferred electrons, and εs is the volume fraction of the electrode
If the solid phase diffusion coefficient is very large and/or if the spatial concentration
gradients in the particle can be neglected, the solid phase concentration evolution in
time can be calculated from
∂ε s c
------------s- = R vΘ
∂t
The molar source RsΘ at the positive and negative electrodes is given as follows:
V cell = dvol dΩ
Ω
where Ω is the selected domain where the single particle interface is active, and dvol is
the cell cross-sectional area in 1D, the out-of-plane-thickness in 2D and 1D with axial
symmetry, and is equal to 1 in 3D and 2D with axial symmetry space dimensions. In
1D with axial symmetry and 2D with axial symmetry, the expressions computing the
volume integrals are also multiplied by 2πr. Note that for some cases, Vcell is explicitly
only needed to calculate the heat source variables.
The porous electrode volume Velectrode is related to the cell volume according to
The electrode host capacities are related to the electrode volume fractions. For the
global formulation, the following relation holds for the amount of active host material
Qhost (SI unit: C):
Q host = ε electrode ε s Δsocc s, max Fd vol dΩ
Ω
In this interface, the electrode host capacities can be specified by either providing the
amount of cyclable material (cell capacity) and a balancing relation between the two
electrodes, or by explicitly providing the electrode volume fractions in the cell. The
amount of cyclable species is assumed to originate from the positive electrode material.
In some battery chemistries, for instance lithium-ion batteries, the host material
amount in both electrodes deviate. Negative carbon-based electrodes lithium-ion
batteries are for instance often applied in excess compared to the positive electrode in
order to avoid lithium metal plating during high rate charging. Cyclable species can in
some cases be lost directly during the first “formation” cycles after cell assembly due
to parasitic reactions. A typical example is the forming of the SEI layer on the negative
graphite particles in lithium-ion batteries. The following relations therefore apply:
Q cell,0
Q host,pos = -----------------------------
1 – f cycl,loss
where fcycl,loss the fractional loss of cyclable species, and fhost,neg,ex the fractional
excess of negative active host material.
The battery cell capacity, Qcell,0 (SI unit: C), is equal to the sum of the charge of
cyclable species, Qcycl, in the positive and negative electrodes.
Q cycl = ε electrode ε s ( c s,avg – soc min c s, max )Fd vol dΩ
Ω
In case of the user input being the initial cell state-of-charge soccell,0, the cyclable
amount of species in each electrode is related to the cell capacity as follows:
In case of the user input being the initial cell voltage Ecell,0, the following relation
applies for the global formulation,
The expressions for the heat sources in the porous negative/positive electrode (due to
the electrochemical reaction) Qh,electrode (SI unit: W/m3) is as follows:
∂E eq, m
Q h,electrode = ε electrode Av, m iloc, m E – Eeq, m + T ------------------
∂T
-
m
The ohmic heating in the electrolyte phase Qh,sol (SI unit: W/m3) is
Δφ l i cell A sep
Q h,sol = ------------------------------
V cell
The total volumetric cell heat source Qh,cell (SI unit: W/m3) can be written as
where ηIR is the ohmic overpotential, ηact is the activation overpotential, and ηconc is
the concentration overpotential. EOCV is the cell open circuit voltage which is
dependent on the state-of-charge SOC and temperature T according to,
∂E OCV ( SOC )
E OCV ( SOC, T ) = E OCV,ref ( SOC ) + ( T – T ref ) ------------------------------------
∂T
∂SOC- I cell
--------------- = ----------------
∂t Q cell,0
where Icell (SI unit: A) is the applied current and Qcell,0 (SI unit: C) is the battery cell
capacity. The initial cell state-of-charge is specified by SOCcell,0. If the concentration
overpotential is calculated based on particle diffusion, SOC is replaced by the average
state-of-charge, SOCaverage, in both the above equations.
The lumped voltage loss associated with ohmic process in the electrolyte and
electrodes is given as
I cell
η IR = η IR,1C ----------
I 1C
Q cell,0
I 1C = ------------------
3600 s
I cell
η act = ------------ asinh -------------------
2RT
F 2J 0 I 1C
where R denotes the molar gas constant, T the temperature, F Faraday’s constant, and
J0 the dimensionless charge exchange current.
For fast transients or for frequency domain simulations, it may also be of interest to
include the double layer capacitance between the electrode and electrolyte phases in
the battery. In this case, one cannot derive an analytical expression for the activation
overpotential. Instead, the activation overpotential is solved for as a dependent variable
fulfilling
I cell = I ct + I dl
where Ict is the charge transfer current and Idl is the double layer current. They are
defined as
η act F – η act F
I ct = J 0 I 1C exp -------------- – exp -----------------
2RT 2RT
and
∂η act
I dl = I 1C C dl,1C -------------
∂t
where the normalized 1C double layer capacitance, Cdl,1C, relates the double layer
current to the time derivative of activation potential. Note that the above equation
assumes that the time derivative of the equilibrium potential is orders of magnitude
lower than the time derivative of the activation potential.
∂SOC
τ ---------------- = – ∇ ⋅ ( – ∇SOC )
∂t
The boundary conditions at the center and surface of the particle are as follows:
∇SOC = 0 X=0
τI cell
∇SOC = ----------------------------------
N shape Q cell,0
X=1
where Nshape is 1 for Cartesian, 2 for cylindrical, and 3 for spherical coordinates. The
initial cell state-of-charge is specified by SOCcell,0. The surface state-of-charge,
SOCsurface, is defined at the surface of the particle. The average state-of-charge,
SOCaverage, is defined by integrating over the volume of the particle, appropriately
considering Cartesian, cylindrical, or spherical coordinates. Note that, as mentioned
above, SOCaverage is used in the definition of Ecell.
For the latter case, where the concentration overpotential calculation is done using an
RC pair, ηconc is defined as
∂η conc
RC ---------------- + η conc = RI cell
∂t
where the RC time constant, τRC = RC, and the RC potential at 1C, ERC,1C = RI1C.
V cell = dvol dΩ
Ω
where Ω is the selected domain where the Lumped Battery interface is active, and dvol
is the cell cross-sectional area in 1D, the out-of-plane-thickness in 2D and 1D with
∂E OCV ( SOC, T )
Q h = η IR + η act + T ------------------------------------------- I cell
∂T
1
N shape Q cell,0 ∂E OCV,therm ∂SOC ∂SOC N – 1
Q mix
τ
= ---------------------------------- -------------------------------- ---------------- ---------------- X shape ∂X
∂SOC ∂X ∂X
0
∂E OCV ( SOC )
E OCV,therm = E OCV,ref ( SOC ) – T ref ------------------------------------
∂T
∂E OCV ( SOC, T )
Q h = η IR + η act + T ------------------------------------------- I cell + Q mix
∂T
CAPACITY LOSS
Capacity loss in batteries is a complex process, encompassing a multiple of different
phenomena. Depending on the battery chemistry, the aging mechanisms will be
different.
The accumulated charge corresponding to the parasitic reactions Qloss can be written
as
∂Q loss
---------------- = I loss
∂t
where Iloss (SI unit: A) is the loss current. The initial battery loss capacity is set to 0.
The remaining battery cell capacity Qcell (SI unit: C) is defined as
Using a lumped modeling approach, assuming limited knowledge about the internal
processes occurring inside the battery, any aging model will have to be empirical, not
being able to discriminate between different phenomena. Typically, capacity loss and
aging may be affected by the battery voltage, the capacity throughput, aging history
and temperature. To define a lumped aging rate we may write the sum of all parasitic
currents in the battery, resulting in a capacity loss, as
Q cell,0
I loss = ---------------- f E f I f aged f T
τ loss
where, τloss is a calendar aging time constant defining the rate of the parasitic reactions.
The factors fE, fI, faged, and fT are dimensionless aging factors, depending on the
battery voltage, battery current, aging history and temperature, respectively. Setting all
aging factors to 1 would result in a constant capacity loss from t = 0, reaching 0
remaining capacity when t = τloss, independent of battery SOC, capacity throughput,
aging history and temperature.
In many battery systems, it has been seen that high SOC values accelerate capacity loss.
Since a high SOC typically also results in a high battery voltage, one way of defining
fE for such systems is hence
For many battery systems it is also often observed that the lifetime is closely related to
the amount of cycled equivalent full cycles (capacity throughput). A current
dependence term, resulting in a linear relation between the capacity fade and the
number of full cycles may be defined as
τ loss I cell
f I = 1 + H ------------------------
2Q cell,0
where H defines the additional (dimensionless) capacity loss induced by cycling. Note
that 2Qcell,0 corresponds to the capacity throughput of one full charge-discharge cycle.
The rate of the capacity fade may be slowed down as a result of products formed by
the parasitic reactions, for example by the formation of a mass transport limiting film
on the electrode particles. One way of defining a decelerating aging rate is to use the
following definition of faged:
1
f aged = ---------------------------------------------
Q loss
1 + ( G – 1 ) ----------------
Q cell,0
where G defines how many times the capacity fade rate has been reduced when all
capacity has been lost.
Finally, temperature is also known to be a crucial factor for aging. The temperature
factor fT is defined using an Arrhenius expression according to
Ea 1
f T = exp – ------- ---- – ----------
1
R T T ref
Finally, it is reasonable to assume that the activation overpotential is not affected by the
parasitic reactions, and there is no need to explicitly include the parasitic reactions
when dealing with the main reaction potentials. This means that it is possible to treat
the activation overpotential independently of the parasitic reactions. The following
then holds good:
I cell = I ct + I dl + I loss ≈ I ct + I dl
SHORT CIRCUIT
In order to model a short circuit scenario inside a lumped battery, with known short
circuit resistance (inverse of conductance), one can use this node to define the short
circuit conductance Gshort. The short circuit current associated with this according to
the Ohm’s law is
The corresponding Ishort is seen as a discharge current for the overall cell operation
and is deducted from the applied current:
I cell = I ct + I dl – I short
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.
317
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.
TRANSPORT MECHANISMS
Mass transport due to diffusion is always included. Use the check boxes available under
Additional transport mechanisms to control other transport mechanisms.
• By default, the Convection check box is selected. Clear the check box to disable
convective transport.
• Select the Migration in electric field check box to activate transport of ionic species in
an electric field. See further the theory section Adding Transport Through
Migration.
• Porous Medium
• Unsaturated Porous Medium
• Porous Electrode Coupling
• Volatilization
• Species Source
• When the Crosswind diffusion check box 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. It defaults to 0.1[mol/m^3)/tds.helem, where tds.helem
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 check box 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 Convective term —
Nonconservative form (the default) or Conservative form. The conservative formulation
should be used for compressible flow. See Convective Term Formulation for more
information.
DISCRETIZATION
To display all settings available in this section, click the Show button ( ) and select
Advanced Physics Options.
The Compute boundary fluxes check box is activated by default so that COMSOL
Multiphysics computes predefined accurate boundary flux variables. When this option
If the check box 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.
• 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 check box is available if the previous check
box 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.
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://
www.comsol.com/products/specifications/
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.
Transport Properties
The settings in this node are dependent on the check boxes selected under Transport
Mechanisms on the Settings window for the Transport of Diluted Species interface. It
includes only the sections required by the activated transport mechanisms. It has all the
equations defining transport of diluted species as well as inputs for the material
properties.
When the Convection check box is selected, the Turbulent Mixing subnode is available
from the context menu as well as from the Physics toolbar, Attributes menu.
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.
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 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:/
/www.comsol.com/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.
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: https://www.comsol.com/products/specifications/.
EXAMPLE MODELS
Turbulent Mixing
Use this node to account for the turbulent mixing of the chemical species caused by
the eddy diffusivity. This node should typically be used when the specified velocity field
corresponds to a RANS solution.
The subnode can added from the context menu (right-click the Transport Properties
parent node), as well as from the Physics toolbar, Attributes menu, provided that
Convection is selected as a transport mechanism.
FURTHER READING
See the section About Turbulent Mixing in the CFD Module User’s Guide (this link
is available online or if you have the CFD Module documentation installed).
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.
Reactions
Use the Reactions node to account for the consumption or production of species
through chemical reactions. Define the rate expressions as required.
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.
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 menu. 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 https://www.comsol.com/products/specifications/ 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 the volume of a particular
phase.
• 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 θ. (θ equals εp for Saturated Porous Media domains).
• For Gas phase, the expressions are multiplied by the gas volume fraction av = εp − θ.
av equals 0 for Saturated Porous Media 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 ⋅ ( – D∇c ) = 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 ⋅ ( – D∇c – 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 ⋅ ( – D∇c + uc ) = 0
or
– n ⋅ ( – D∇c – 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
check box 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 non-trivial 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 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.
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 check box 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 check box 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.
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 ⋅ ( – D∇c ) = 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 ⋅ ( – D∇c – zu m Fc∇φ ) = J 0
The flux prescribed, J0, can include any arbitrary user-specified expression. It can be
constant or a function of a dependent variable or independent variable. Common
examples are a flux dependent of the concentration, temperature, pressure or the
electric potential φ .
– n ⋅ ( – D∇c + uc ) = J 0
or
– n ⋅ ( – D∇c – zu m Fc∇φ + uc ) = J 0
INWARD FLUX
Select the Species check box 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 check box 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.
Symmetry
The Symmetry node can be used to represent boundaries where the species
concentration is symmetric, that is, where there is no mass flux across the boundary.
– n ⋅ [ ( J + uc ) u – ( J + uc ) d ] = N 0 J = – D∇c – zu m Fc∇φ
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 check box 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 check box for the flux discontinuity
of that species.
Partition Condition
The Partition Condition node can be used to prescribe the ratio between the
concentration of a solute species in two different 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. For a species
concentration ci, the ratio between the concentration on the up side and on the down
side of the boundary (ci,u and ci,d respectively) is defined as
c i, u
K i = ---------
c i, d
in terms of a partition coefficient Ki. The up and down side of the selected boundary
is indicated in the Graphics window. The arrows point from the down side into the up
side.
Use the associated input fields to prescribe the partition coefficient Ki.
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.
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.
For more complex geometries, it might be necessary to add the Destination Selection
subnode, which is available from the context menu (right-click the parent node) as well
as from the Physics toolbar, Attributes menu. With this subnode, the boundaries that
constitute the source and destination surfaces can be manually specified.
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: mol/(m·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.
FURTHER READING
See the section Mass Sources for Species Transport.
FURTHER READING
See the section Mass Sources for Species Transport.
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 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.
If the Apply equilibrium condition on inflow boundaries check box is selected, the
specified inflow concentration values in all active Inflow boundary nodes for the physics
interface are modified to comply with the equilibrium condition.
EQUILIBRIUM CONDITION
The list defaults to Equilibrium constant or select User defined. For either option, the
Apply equilibrium condition on inflow boundaries check box 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).
STOICHIOMETRIC COEFFICIENTS
Enter a value for the stoichiometric coefficientνc (dimensionless). The default is 0. 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.
FURTHER READING
See
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.
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.
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.
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.
Add an Adsorption or a Dispersion subfeature to the Porous Medium to account for the
corresponding transport mechanism.
Fluid
Use this node to specify the mass transfer in the mobile fluid solvent filling the pores
of the 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
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 a Unsaturated Porous Medium.
The default Porosity εp of the solid matrix is taken From material. The Porous Matrix
node supports the use of a Porous Material node, where the porosity is defined in the
manner of
εp = 1 – θs, i – θimf, i
i i
where θs,i and θimf,i are the porosities of the 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
check box and the Convection check box are selected on the Settings window for the
physics interface.
Select the Specify dispersion for each species individually check box 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 (described in the COMSOL
Multiphysics Reference Manual), 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:
https://www.comsol.com/products/specifications/.
• 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 P K L c Pmax
c P = c Pmax -------------------- , K P = -------- = ---------------------------2
1 + KL c ∂c ( 1 + KL c )
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 P N T
N
KP = -------- = 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 P K B c 0 c S ( ( K B – 1 )c + c S )
KP = -------- = -----------------------------------------------------------------
-
∂c 2
( c – c S ) ( c S + ( K B – 1 )c )
2
cP = f ( c )
FURTHER READING
See the theory chapter in the section Mass Balance Equation for Transport of Diluted
Species in Porous Media.
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 See https://
www.comsol.com/products/specifications/.
FURTHER READING
More information about how to use hygroscopic swelling can be found in Hygroscopic
Swelling Coupling section in the Structural Mechanics Module User’s Guide.
More information about multiphysics coupling nodes can be found in the section The
Multiphysics Branch in the COMSOL Multiphysics Reference Manual.
FRACTURE PROPERTIES
Specify a value for the Fracture thickness dfr.
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.
Specify the Porosity, εp (dimensionless) of the porous matrix. This is by default taken
From material. Select User defined to instead enter a different value.
CONVECTION
Select an option from the Velocity field list to specify the convective velocity along the
fracture. For a consistent model, use a Fracture Flow 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.
The settings for the Diffusion is the similar to the settings for the diffusion
coefficients in the Fluid node. The Dispersion settings are identical to the
ones in the Dispersion node.
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 model geometry includes boundaries that should not be included in the mass
transfer simulation, remove those from the selection list.
TRANSPORT MECHANISMS
Mass transport due to diffusion is always included. Use the Convection check box,
available under Additional transport mechanisms, to control whether to also include
convective transport.
• When the Crosswind diffusion check box 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. It defaults to 0.1[mol/m^3)/tds.helem, where tds.helem
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 check box 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.
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.
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
ribbon toolbar (Windows users), Physics context menu (Mac or Linux users), or by
right-clicking to access the context menu (all users).
MATRIX PROPERTIES
Use the Porous material list to define a material specifying the matrix properties on the
current selection. By default the Domain material is used. The density of the porous
media is needed when modeling adsorption to the surface of the porous matrix. By
default Density ρ is set to from domain material.
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):
• For Langmuir:
KL c ∂c P K L c Pmax
c P = c Pmax -------------------- -------- = ---------------------------
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:
c N ∂c P c
c P = K F -------- -------- = N ----P- 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
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 )
cP = f ( 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 check box for the
Species to specify the concentration, and then enter a value or expression in the
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 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 e ∇c ) = N 0
INWARD FLUX
Specify the flux of each species individually. To use another boundary condition for a
specific species, click to clear the check box for the mass fraction of that species.
Fracture
Use this node to model mass transport along thin fracture surfaces situated inside
porous or solid material. The node assumes that the transport in the tangential
direction of the fracture is dominant, as a result of lower flow resistance. Note that the
fracture it self is modeled as porous.
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.
Specify the Porosity, εp (dimensionless) of the porous matrix. This is by default taken
From material. Select User defined to instead enter a different value.
CONVECTION
Select an option from the Velocity field list to specify the convective velocity along the
fracture. For a consistent model, use The Fracture Flow Interface (available with the
For User defined, enter values or expressions for the velocity components in the table
shown.
The settings for the Diffusion is the similar to the settings for the diffusion
coefficients in the Fluid node. The Dispersion settings are identical to the
ones in the Dispersion node.
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.
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.
BOUNDARY SELECTION
From the Selection list, choose the boundaries 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
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, provided with the Chemical Reaction
Engineering Module, the reaction rate expressions can be automatically generated and
picked up using the drop-down menu.
• 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.
SPECIES SOURCE
Add a source term Si for each of the species solved for. Enter a value or expression in
the field of the corresponding species.
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 https://www.comsol.com/products/specifications/).
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 — Transport Properties, 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 (6-1)
∂t
Using the continuity equation, the sum of all species equations, the equation can be
re-cast in its non-conservative form:
∂
ρ (ω i) + ρ ( u ⋅ ∇ )ω i = – ∇ ⋅ j i + R i (6-2)
∂t
The form of the equation is the one which is used 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.
TRANSPORT MECHANISMS
The Transport of Concentrated Species interface always accounts for transport due to
diffusion.
The available diffusion models and the additional transport mechanisms differs
between various COMSOL products (see https://www.comsol.com/products/
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. No stabilization is available when selecting this model.
Knudsen Diffusion
For Mixture-averaged and Fick’s law, it is possible to include Knudsen diffusion. This
mechanism accounts for species collisions with the surrounding media, for example,
the pore walls the species pass through. It is also an important component when setting
up a Dusty gas model.
Q T
Di
j i = – ρω i D̃ ik d k – -------- ∇T
T
k=1
Q
1
d k = ∇x k + --- ( x k – ω k ) ∇p – ρω k g k + ω k
p ρωl gl (6-3)
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 check box, is
zk F
g k = – --------- ∇φ (6-4)
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.
SPECIES
Select the species that this physics interface solves for using the mass constraint in
Equation 6-38 (that is, its value comes from the fact that the sum of all mass fractions
must equal 1). In the From mass constraint list, select the preferred species. To
ω1 = 1 – ωi (6-5)
i=2
• There are two consistent stabilization methods available when using the
Mixture-Averaged Diffusion Model or Fick’s Law Diffusion Model — Streamline
diffusion and Crosswind diffusion. Both are active by default.
The Residual setting applies to both the consistent stabilization methods.
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 computationally faster. If required, select Full residual instead.
• There is one inconsistent stabilization method, Isotropic diffusion, which is available
when using the Mixture-Averaged Diffusion Model or Fick’s Law Diffusion Model.
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.
When the Mixture diffusion correction is enabled, a flux correction is added to ensure
that the net diffusive flux is zero. This typically also mean that the solution becomes
less sensitive to the species selected to be computed from the mass constraint in the
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.
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.
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.
Transport Properties
The Transport Properties 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 check boxes selected under Transport
Mechanisms in the Settings window of the Transport of Concentrated Species
interface.
The Turbulent Mixing subnode is available from the context menu as well as from the
Physics toolbar, Attributes menu.
The options available in this feature differs between COMSOL products. (See https:/
/www.comsol.com/products/specifications/).
Temperature
Select the source of the Temperature field T:
• 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
Properties node fp1 in a Single-Phase Flow, Laminar Flow interface with spf as the
Name.
DIFFUSION
Specify the molecular and thermal diffusivities of the present species based on the
selected Diffusion model.
Specify the molecular and thermal diffusivities of the present species based on the
selected Diffusion model.
KNUDSEN DIFFUSION
The Knudsen diffusion transport mechanism accounts for the interaction of the species
with the surroundings (interspecies collisions excluded) — for example, the pore wall
when a species passes through porous media.
Depending on which Diffusion model is selected, either the Fick’s law or the
M
Mixture-averaged diffusion coefficient D i is corrected with the Knudsen diffusion
K
coefficient D i in the following way
MK 1 1 -
-1
Di = --------
M
- + -------
K
Di Di
For gases, the Kinetic gas theory is often valid and requires the Mean path length λpath
(SI unit: m). Typically, for transport in porous media, the pore diameter can be entered
here. For other cases, choose User defined.
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.
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 the Model Inputs section.
The settings in this node are dependent on the check boxes selected under Transport
Mechanisms in the Settings window of the Transport of Concentrated Species
interface.
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
Temperature
Select the source of the Temperature field T:
• 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.
MATRIX PROPERTIES
The default selection for Porosity is From material. In order to use a porosity defined
in a material, specify the material using the Porous material list, and select From material
from the Porosity list.
Select From pellet bed densities to compute the porosity using the (dry bulk) Bed
density ρb and the (single phase) Pellet density ρpe (for example, when there is a
reactive pellet bed in the same domain). The porosity is then defined from
ρb
ε p = 1 – --------
ρ pe
For User defined, enter a value or expression for the Porosity, εp (dimensionless), of the
porous media.
DENSITY
Use this section to define the mixture density, and to specify the molar masses of the
participating species.
• 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 ρ.
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.
CONVECTION
Select the source of the Velocity field u:
• 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 present in the model (if any).
For example, select Velocity field (spf) to use the velocity field defined by the Fluid
Properties node fp1 in a Single-Phase Flow, Laminar Flow interface with spf as the
Name.
DIFFUSION
Specify the species molecular and thermal diffusivities in nonporous media in the
manner described for the Transport Properties 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:
εp
f e = ----- (6-6)
τ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. 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 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 (SI unit: s·mol/kg) and enter one value for each species.
Enter the Charge number zc (dimensionless, but requires a plus or minus sign) for each
species.
The temperature (if you are using mobilities based or the Nernst-Einstein relation) is
taken from the Model Inputs section.
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
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.
Turbulent Mixing
Use this node to account for the species mixing caused by turbulent flow, typically
when the specified velocity field corresponds to a RANS solution. The node defines
the turbulent mass diffusion from the turbulent kinematic viscosity and a turbulent
Schmidt number.
The Turbulent Mixing feature should not be used together with the
Reacting Flow coupling feature. In this case the turbulent mixing is added
by the coupling feature.
The Turbulent Mixing subnode can be added from the context menu (right-click the
Transport Properties parent node) or from the Physics toolbar, Attributes menu.
TURBULENT MIXING
Physics interfaces capable of solving for turbulent fluid flow provide the turbulent
kinematic viscosity, and these appear as options in the Turbulent kinematic viscosity νT
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 check box is not selected, input custom expressions
or constants for the Forward rate constant kf and Reverse rate constant kr.
When the Use Arrhenius expressions check box is selected, enter values for the following
parameters of the forward and reverse reactions:
TURBULENT FLOW
Note this section is only available when then licensed to the CFD Module (see https:/
/www.comsol.com/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, the 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 10−6, 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 physics interface.
Select the Mass transport to other phases check box 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.
INITIAL VALUES
The initial mass fractions can be specified using a number of quantities. Select the type
of input from the Mixture specification list. 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)
• Densities (SI unit: kg/m3) to enter densities (ρ0,ω1 for example)
• 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.
MASS FRACTION
Specify the mass fraction for each species individually. Select the check box for the
species to specify the mass fraction, and enter a value or expression in the
corresponding field. To use another boundary condition for a specific species, click to
clear the check box for the mass fraction of that species.
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.
– n ⋅ j i = j 0, i (6-7)
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.
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 check box 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 check box for
the flux of that species. Use a positive value for an inward flux.
j 0, i = k ω, i ( ω b, i – ω i ) (6-8)
where kω,i 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 (ω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)
• Densities (SI unit: kg/m3) to enter densities (ρ0,ω1, for example)
• Mass flow rates (SI unit: kg/s) to enter the total mass flow over the boundary
(Jin,ω1, for example)
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
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
flow through the outflow boundary. This node is available for exterior boundaries. The
boundary condition is applied to all species and corresponds to one of the following
equations depending on the selected diffusion model:
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
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 check boxes 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,
N0, w1 for example. To use a different boundary condition for a specific species, click
to clear the check box for the flux discontinuity of that species.
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)
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.
EQUILIBRIUM CONDITION
Selecting Equilibrium constant in the list, the following equilibrium condition based on
the species activities and the law of mass action is used
ν
∏ 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.
ci
a i = -------
c a0
Enter a value or expression for the dimensionless Equilibrium constant Keq, and the Unit
activity concentration Ca0.
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 on 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 check box 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
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 species 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 check box and select an existing Thermodynamic
System.
The Thermodynamics check box is enabled when the Thermodynamics node, including
one or more systems, is available under Global Definitions. Also, the Chemistry interface
needs to include at least one species.
Phase
Use the Phase list to specify the state of aggregation of the mixture.
SPECIES MATCHING
When Diluted species is selected in the Type list in the Mixture Properties section, enter
the names of the dependent variables in the Molar concentration column. When
Concentrated species is selected, enter the names of the dependent variables in the Mass
fraction column.
The species present in this section will not be used to define mixture properties.
Solid Species
Specify the concentration of solid species in the table in this section.
The species present in this section will not be used to define mixture properties.
Aqueous Species
Specify the concentration of solid species in the table in this section.
The species present in this section will not be used to define mixture properties.
Thermodynamics Coupling
When coupled to Thermodynamics is enabled, the species in the Chemistry interface
can be matched to the species in the Thermodynamic System. This is needed to ensure
that arguments for the thermodynamic functions are correctly defined. Use the
drop-down 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 the corresponding
thermodynamic system. When all species are matched, the interface is considered fully
coupled and functions representing mixture properties, such as the density, are also
added automatically under the corresponding thermodynamic system.
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
Select the Use activity check box to solve for species activities instead of species
concentrations, which is a common approach when non-ideal fluids are modeled.
An activity coefficient other than 1 can be set for each species for the Species node in
the Species Concentration/Activity section.
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.
EXTRA DIMENSION
Select Define variables in extra dimension when the current Chemistry interface is
coupled to a feature on an extra dimension. An example of this is when the
concentrations in the Concentration input column of the Model Inputs, Concentration
correspond to pellet concentrations from a Transport of Diluted Species interface’s
Reactive Pellet Bed feature (available with the Chemical Reaction Engineering
Module).
When selected, generated variables will be defined using concentrations averaged over
the extra dimension. Note that the generated variables are global in order be available
Reaction
To add a Reaction node ( ) either right-click the Chemistry node or on the Chemistry
toolbar click Reaction.
REACTION FORMULA
Formula
Enter a chemical reaction Formula. 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.
Balance ( )
If all species are written using their chemical formula, the stoichiometric coefficients
can automatically be calculated, if the problem is well posed, by clicking the Balance
button to the right of the Reaction Formula section title. This turns e.g. the formula
“H2+O2=>H2O” into “2H2+O2=>2H2O”.
Examples of problems that are not well posed are for example
“C+H2=>CH4+C2H6”, from which any ratio of CH4/C2H6 could be obtained, and
“H2=>O2”, where not all elements are present on both sides.
• 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 (6-9)
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 r
rj = kj ci – kj c i ij (6-11)
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 6-1: The reaction order can be manually specified for a user defined reaction rate.
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 Expression
For an equilibrium reaction, specify the Equilibrium expression. When the Equilibrium
expression is set to Automatic the following expression is used:
ν
∏ c i ij
i ∈ prod
K eqj = ---------------------------
–ν
∏ c i ij
i ∈ react
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 check box 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.
Hj = ν ij h i – ( – ν ij )h i (6-12)
i ∈ prod i ∈ react
Entropy of Reaction
The Entropy of reaction S (SI unit: J/(mol·K)) comes from a similar expression:
Sj = ν ij s i – ( – ν ij )s i (6-13)
i ∈ prod i ∈ react
In Equation 6-12 and Equation 6-13, 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 6-12 and Equation 6-13 to equate the Gibbs
free energy of reaction enables the equilibrium constant to be expressed according to
Equation 6-12.
Qj = –Hj rj
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.
SPECIES NAME
When a Species node is automatically generated using the Formula text field for the
Reaction node, the Species name is also automatically generated.
For a Species node added individually, enter a Species name in the field and click Apply.
SPECIES TYPE
Select a species type — Bulk species, Surface species, or Solvent.
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.
GENERAL PARAMETERS
The General Parameters section deals with species parameters.
The default value for the Molar mass, M, and the ionic Charge, z, of the species is
automatically defined from the species name by assuming that it corresponds to its
chemical formula. Provided that the formula contains elements from the periodic
table, the species molar mass is computed from mass the of occurring individual
elements1. 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. The
species charge is also deduced from the species name. Creating a H+ species, the charge
will be set to one. When needed, both the Molar mass and the Charge can be edited in
the corresponding edit field.
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 www.ciaaw.org.
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 in the reactor 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 check
box is selected, add an Additional rate expression in the text field (SI unit: mol/m3).
SPECIES CONCENTRATION/ACTIVITY
To account for non-ideality 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 activities check box is
selected on the Chemistry interface Settings window
Click to select the Constant concentration/activity check box if the species concentration
or activity should be treated as constant.
Electrode Reaction
To add an Electrode Reaction node ( ) either right-click the Chemistry node or on
the Chemistry toolbar click Electrode Reaction.
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 Transport Properties option is checked.
The Species enthalpies and entropies are used to calculate the equilibrium potential of
the electrode reaction at the temperature and composition of the system.
If only species enthalpies and entropies at standard state are available, use the Nernst
Equation option instead.
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
instead the equilibrium potential is calculated using the Automatic option, the
exponents are evaluated using the overpotential.
By choosing Automatic, the Thermoneutral voltage parameter, Etherm (SI unit: V), will
be calculated according to
Δr H
E therm = – ----------- (6-14)
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.
Add the node from the Chemistry toolbar or right-click Chemistry and add it from the
context menu.
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 box, 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 box 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 box 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 box 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.
In the case of twenty or more reactions the Disable updating variables during editing
table check box is available. Select this to speed up editing text fields; automatic
updates related to edits do not occur until you click to clear the check box.
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 (Feature Nodes Available for the
Chemistry Interface check box is selected), 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 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 box, 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
In the case of twenty or more reactions the Disable updating variables during editing
table check box is available. Select this to speed up editing text fields; automatic
updates related to edits do not occur until you click to clear the check box.
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 also automatically added when either the Reversible Reaction Group or
the Equilibrium Reaction Group are used.
For the case of temperature dependent reaction kinetics (Feature Nodes Available for
the Chemistry Interface check box is selected), a Species Thermodynamics subnode is
automatically created in which the thermodynamic properties of the species can be
specified.
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, when the Feature Nodes Available for the Chemistry Interface check box
is selected on the Chemistry interface Settings window, right-click a Reversible
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.
This node is a subnode to the Species Group node when the Feature Nodes Available
for the Chemistry Interface check box is selected on the Chemistry interface Settings
window.
A Space Charge Density Coupling ( ) 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 check boxes
available under Additional transport mechanisms to control other transport
mechanisms.
• By default, the Convection check box is selected. Clear the check box to disable
convective transport.
• The Mass transfer in porous media check box activates functionality specific to species
transport in porous media. When selected, the Porous Matrix Properties node can
be added to a domain to specify the electrolyte volume fraction and tortuosity, and
the Effective Transport Parameter Correction sections are enabled in the species
nodes.
CONSISTENT STABILIZATION
To display this sections, click the Show More Options button ( ) and select
Stabilization in the Show More Options dialog box.
• When the Crosswind diffusion check box 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 box. By default, the Isotropic diffusion check box 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 box. Normally these settings do not
need to be changed. Select a Convective term — Nonconservative form (the default) or
Conservative form. The conservative formulation should be used 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 box.
The Compute boundary fluxes check box is activated by default so that COMSOL
Multiphysics computes predefined accurate boundary flux variables. When this option
is checked, the solver computes variables storing accurate boundary fluxes from each
boundary into the adjacent domain.
If the check box 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 el.xxx, where the 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 check box can be used to lock the concentration of a species, to,
for instance, define the immobile charges in a ion-selective membrane or a gel. When
the check box 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 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
Lindestrø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 box.
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 box.
Species Source
To make this node available, click the Show More Options button ( ) and select
Advanced Physics Options in the Show More Options dialog box.
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 a
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 check box 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 is the
dominating transport mechanism 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 box.
By default the Compensate for boundary stretching check box 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 check box 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),
• 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.
BULK SPECIES
For each bulk species enter the Molar mass Mi (SI unit: kg/mol) and the Density ρi
(SI unit: kg/m3). The default molar mass is 0.144 kg/mol and the default density is
5320 kg/m3).
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,
2
cb2, cb3, … (SI unit: mol/m ) 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
Use the Surface Concentration node to set the surface concentrations for one or more
species on an edge (3D components) or a point (2D and 2D axisymmetric
components).
SURFACE CONCENTRATION
Select each species check box 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 box.
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 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. A Fluid and
Matrix Properties feature can be added in order to model flow in porous media by
solving the Brinkman equations.
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.
SETTINGS
The Label is the default multiphysics coupling feature name.
The default Name (for the first multiphysics coupling feature in the model) is rf1.
DOMAIN SELECTION
The Reacting Flow coupling is automatically defined on the intersection of the
selections for the coupled 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
and Species transport 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 either list to uncouple the node from a physics interface.
If the physics interface is removed from the Model Builder, for example Laminar Flow is
deleted, then the Species transport list defaults to None as there is nothing to couple to.
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 mass transfer is automatically accounted for (see the settings in the
Turbulence section below). Using Reacting Flow, the 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
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 or Species transport 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.
TURBULENCE
When the fluid flow interface uses a turbulence model, select an option from the Mass
transport turbulence model list — Kays-Crawford, High Schmidt Number, or User-defined
turbulent Schmidt number.
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
μT
N i, T = – --------- ∇ω i
Sc T
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.
Note, since the Reacting Flow coupling feature adds the turbulent mass transport, it
should not be combined with a Turbulent Mixing feature (subfeature to Transport
Properties in the Transport of Concentrated Species interface).
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.
The interface can be used for stationary and time-dependent analysis in 2D, 2Daxi and
3D.
The Transport of Diluted Species in Porous Media interface computes the species
concentration in free and porous media, assuming that the species are of solutes,
dissolved in a solvent of significantly higher concentration. The species equations
include transport by convection, diffusion and, optionally, migration in an electric
field.
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 Fluid and Matrix
Properties feature is active by default on the entire interface selection.
The Transport of Concentrated Species interface solves for an arbitrary number of mass
fractions in free and porous media. In the current multiphysics interface a Porous Media
Transport Properties 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.
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 Chemical Reaction Engineering
Module User’s Guide 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 https://www.comsol.com/products/specifications/
∂c i
------- + ∇ ⋅ J i + u ⋅ ∇c i = R i (6-15)
∂t
Equation 6-15 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 (6-16)
The third term on the left side of Equation 6-15 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 6-15), 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.
There are two ways to present a mass balance where chemical species transport occurs
through diffusion and convection. These are the nonconservative and conservative
formulations of the convective term:
∂c
nonconservative: ----- + u ⋅ ∇c = ∇ ⋅ J i + R (6-17)
∂t
∂c
conservative: ----- + ∇ ⋅ ( cu ) = ∇ ⋅ J i + R (6-18)
∂t
and each is treated slightly differently by the solver algorithms. In these equations
Ji (SI unit: mol/(m2·s)) is the diffusive flux vector, R (SI unit: mol/(m3·s)) is a
production or consumption rate expression, and u (SI unit: m/s) is the solvent velocity
field. The diffusion process can be anisotropic, in which case D is a tensor.
If the conservative formulation is expanded using the chain rule, then one of the terms
from the convection part, c∇·u, would equal zero for an incompressible fluid and
would result in the nonconservative formulation above. This is in fact the default
formulation in this physics interface. To switch between the two formulations, click the
Show button ( ) and select Advanced Physics Options.
∂----c-
= ∇ ⋅ Ji + R
∂t
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
https://www.comsol.com/products/specifications/
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
3
unit: mol/(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,c
(SI unit: mol/s), this can be expressed as
·
Qc = qp,c
lim · (6-19)
δV → 0
δV
q· p,c test ( c )
·
is added at a point in the geometry. As can be seen from Equation 6-19, 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.
LINE SOURCE
·
A line source can theoretically be formed by assuming a source of strength Q l,c (SI
3
unit: mol/(m ·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
·
Ql,c = ql,c
lim · (6-20)
δS → 0
δ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.
• 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).
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
https://www.comsol.com/products/specifications/
∂c i
+ ∇ ⋅ ( – D i ∇c i – z i u m, i F c i ∇V + c i u ) = R i (6-21)
∂t
where
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.
The Nernst–Einstein relation can in many cases be used for relating the species
mobility to the species diffusivity according to
Di
u m, 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 electro-active 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
The electroneutrality condition ensures that there is always a zero net charge at any
position in a dilute solution. Intuitively, this means that it is impossible to create a
current by manually pumping positive ions in one direction and negative ions in the
other. Therefore, the convective term is canceled out to yield the following expression
for the electrolyte current density, where j denotes the supporting species:
–zj um, j F cj ∇φ
2
i = F (6-22)
j
Equation 6-22 is simply Ohm’s law for ionic current transport and can be simplified to
i = – κ ∇φ (6-23)
where κ is the conductivity of the supporting electrolyte. A current balance gives the
current and potential density in the cell
∇⋅i = 0
∇ ⋅ ( – κ ∇φ ) = 0 (6-24)
Equation 6-24 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éclèt 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
In some cases, the resulting nonlinear equation system can be difficult to converge.
This can happen when the cell Péclèt number is very high and the model contains
many thin layers, such as contact discontinuities. You then have three options:
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).
∂ θ ∂
( c ) + ∂ ( ρc P, i ) + (θ g c G, i) + u ⋅ ∇c i =
∂t l i ∂t ∂t (6-26)
∇ ⋅ [ ( D D, i + D e, i ) ∇c i ] + R i + S i
On the left-hand side of Equation 6-26, 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 6-26 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 − εs)ρ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 = εps. The
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 6-26, 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 6-26 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 (6-27)
∂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 (6-28)
c , ∂t ∂t
∂ t g G, i
g ∂ ci ∂ t G i i ∂t
∂ ε
( c ) + ∂ ( ρc P, i ) + u ⋅ ∇c i = ∇ ⋅ [ ( D D, i + D e, i ) ∇c i ] + R i + S i (6-29)
∂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 = sεp the liquid volume fraction, and s the saturation,
a dimensionless number between 0 and 1.
Figure 6-2: 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 6-26.
When using the nonconservative formulation, which is the default, the fluid is assumed
incompressible and divergence free: ∇ ⋅ u = 0. 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 form (the default) or Conservative form. 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 small.
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 is small 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. 9):
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. 10) 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 6-31 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. 9 and
Ref. 11).
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. 6). 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:
These predefined expressions are adsorption isotherms that describe the amount of
species sorbed to the solid. Defined at equilibrium, the switch between liquid and solid
phases is instantaneous.
Using a Species Source feature, arbitrary expressions can be entered to define, for
example, nonequilibrium and temperature-dependent adsorption laws, including
those set out by Fetter (Ref. 7) and Bear and Verruijt (Ref. 8).
The retardation factor, RF, describes how adsorption slows the solute velocity, uc,
relative to the average linear velocity of the fluid, ua, as in
ρ b ∂c P ua
RF = 1 + ----- -------- = -----
θ ∂c uc
If the contaminant moves at the average linear velocity of the fluid for RF = 1. For
RF > 1, the contaminant velocity is smaller than the fluid velocity owing to residence
time on solids.
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.
Reaction rates can vary with results from other equations in your model, such as
temperature. For example, enter the Arrhenius rate law given in Ref. 13:
Ea ( T – TR )
ζ T = ζ R exp ------------------------------ (6-33)
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 6-26. 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 (6-34)
∂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
The normal gradient is defined in the direction normal to the boundary representing
the fracture and the tangential gradient is defined along the boundary. Assuming that
the variations in the normal (thin) direction of the fracture are negligible compared to
those in the tangential direction, the gradient is simplified as:
∇c i = ∇ t c i
See Fracture for more information about the boundary feature solving
Equation 6-34. See The Transport of Diluted Species in Fractures
Interface 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. J.M. Coulson and J.F. Richardson, Chemical Engineering, vol. 2, 4th ed.,
Pergamon Press, Oxford, U.K., 1991.
4. J.M. Coulson and J.F. Richardson, Chemical Engineering, vol. 1, 4th ed.,
Pergamon Press, Oxford, U.K., 1991.
6. 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 Resourc. Res., vol. 22, no. 13, pp. 2017–2030, 1986.
10. 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.
11. J. Bear, Dynamics of Fluids in Porous Media, Elsevier Scientific Publishing, 1972.
14. 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 (6-35)
∂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 6-36 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 (6-37)
∂t
Q − 1 of the species equations are independent and possible to solve for using
Equation 6-37. 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 (6-38)
i=2
D̃ik dk – Di ∇ ln T
T
j i = – ρω i (6-39)
k=1
In Equation 6-39:
˜ (SI unit: m2/s) are the multicomponent Fick diffusivities
• D ik
where
When an external force applies equally to all species (such as for gravity),
the last two terms disappear.
As can be seen in Equation 6-39 and Equation 6-40, the total diffusive flux for the
species depends on the gradients of all species concentrations, temperature, and
pressure as well as any external force on the individual species.
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 (6-41)
l=1
ωk
x k = -------- M (6-42)
Mk
Q
1- ωi
----
M
= ------
Mi
-
i=1
Q
∂ ˜ d + DT ∇ T-
ρ ( ω i ) + ρ ( u ⋅ ∇ )ω i = ∇ ⋅ ρω i
∂t
D ik k -------
i T + Ri
k=1
(6-43)
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 6-43. 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
j≠i
---------- = – ω i ω k ---------------------------------------- , ( B ) = D
˜ –D
kj
˜ ,
ij i≠j (6-44)
D ik i kj
˜
D ij ( adjB i ) jk
j≠i
where (adjBi)jk is the jkth component of the adjoint of the matrix Bi.
Solving for Equation 6-44 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:
ω1 ( ω2 + ω3 ) ω2 ( ω1 + ω3 ) ω 32
– -------------------------------- – -------------------------------- + ----------------
˜ x 1 D 23 x 2 D 13 x 3 D 12
D 12 = --------------------------------------------------------------------------------------------------
x1 x2 x3
-------------------- + -------------------- + --------------------
D 12 D 13 D 12 D 23 D 23 D 13
˜ = N –g
D (6-45)
ij ij
˜
where ij are indices in the matrices D and N, and ranges from 1 to the number of
species, Q.
–1
N ij = ( P ) ij (6-46)
ωi ωj ˜
P ij = ------------ – C ij
g
˜
The matrix C in turn is defined as
xi xj
--------- i≠j
˜ D ij
C ij =
– C˜ ik i=j
k≠j
The term g in Equation 6-45 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
g =
D ij
i = 1 j = i+1
This definition for g works well in most cases. In rare cases, it might be
necessary to change the value to obtain convergence.
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 --------- (6-47)
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 6-47 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 6-47 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 = -------------------------- (6-48)
xk
N
---------
k≠iD
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 (6-49)
ωi
1 xk xi ωk
k ≠ i --------
D ik 1 – ω i k ≠ i D ik
N N
-----------
m*
= - + --------------- --------- (6-50)
Di
i = 1 ρωi ( ud,i + uc )
N
j md, i = = 0 (6-51)
i = 1 ωi ud,i
N
uc = – (6-52)
Here ud,i is the diffusion velocity resulting from the flux assumption in Equation 6-47
or Equation 6-49. Note that the correction velocity is a constant correction (same for
all species), but varies in space.
Using the correction velocity together with Equation 6-47, 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 (6-53)
M M i
i = 1 Di
m* N m*
j md, i = – ρD i ∇ω i + ρω i ∇ω i (6-54)
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 --------- (6-55)
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 (6-56)
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,
F 0
D i, kk = D i
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 (6-57)
M M i, kl i
i = 1 Di, kl ∇ωi
F N F
j md, i = – ρD i, kl ∇ω i + ρω i (6-58)
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
c c c c
1 Ri – Ri 1 Ri + Ri
R i = --- -------------------------------- max ( ω i, 0 ) + --- -----------------------------------------
- max ( 1 – ω i, 0 ) (6-59)
2 max ( ω , ω dl ) 2 max ( 1 – ω , ω dl )
i i i i
The first term on the right hand side of Equation 6-59 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 6-59 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 1e−6, 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.
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 (6-60)
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 Theory for the Transport of Diluted Species Interface.
il = zi Ni (6-61)
i
∇ ⋅ il = Ql (6-62)
where Ql (SI unit: A/m3) is the electrolyte current source stemming from, for
example, porous electrode reactions. For non-porous electrode domains this source
term is usually zero.
zi ci = 0 (6-63)
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 (6-64)
2 –6
c H + c OH - = K w × 1 mol dm (6-65)
– 14
where K w ≈ 10 .
Now, the electroneutrality condition, including the two additional species H+ and
OH-, reads
c H + – c OH- + zi ci = 0 (6-66)
i=1
Combining these two equations results in the following algebraic expressions for the
concentrations of H+ and OH-.
2
Σ Σ 2 –6
c H + = – --- + ------ + K w × 1 mol dm (6-67)
2 4
and
2
Σ Σ 2 –6
c OH - = --- + ------ + K w × 1 mol dm (6-68)
2 4
where
Σ = zi ci (6-69)
i=1
to
+ z
z +1 z + [ H ] [ S 00 ]
S k0 ↔ S 00 + H K a, k = -------------------------
z +1
- (6-71)
[ 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 represents 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 ] = -------------------------------------
k–l
(6-72)
∏ 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
(6-73)
if l>m.
Setting m=i and denoting the flux of species i by Ni using equation Equation 6-60,
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 (6-74)
δ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.
The reaction source contributions from the dissociation steps are generally not known,
but may be canceled by taking the sum of all mass balance equations, resulting in
N i = – D∇c i – zu m Fc i ∇φ l + uc i (6-76)
When considering the contribution to the current and the charge balance equation one
2 2
needs to take into account that the squared average charge, z = ( z 0 – ν ) , is not
2 2 2 2 2 2
equal 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 ) (6-77)
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
ν = – cH+ ν+ν (6-78)
d c H+
And from this one can derive the average squared charge according to
2 2
z = – c H+ d ν + z = – cH+ d z + z
2
(6-79)
d cH+ d cH+
DIFFUSIVITY-MOBILITY RELATIONS
The Stokes radius r of a molecule is related to the diffusivity according to
kT
r = --------------- (6-80)
6πμD
For small molecules, one frequently uses the Nernst-Einstein relation between the
diffusivity and the mobility
D
u m = -------- (6-81)
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 = ------------------------------------ = ------------------------------ (6-82)
6πμF ( 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
κ = ----------------- (6-83)
εε 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 + (6-84)
εε 0 kT
i=1 i = N–M+1
REFERENCES
1 The Dynamics of Electrophoresis, Mosher, Saville and Thormann, VCH
Verlagsgesellschaft mbH, Weinheim, Germany, 1992.
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 (6-85)
∂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 = v b, 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 (6-86)
∂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 = m b, 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 6-85
and Equation 6-86, 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
Equation 6-87 is for a domain source only, the flux expression over a
boundary is not changed for a nonconservative formulation.
ω 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 ωi−nojac(ω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.
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 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 (6-89)
i=1
referred to as the Stefan velocity, here denoted us. To reach Equation 6-89 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 6-89 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
selecting Account for Stefan velocity in the Flux or Mass Fraction features in The
Transport of Concentrated Species interface.
n ⋅ j 0, i
i=1
n ⋅ u s = ------------------------------------
- (6-91)
N
ρ 1 – ω i, 0
i
Using a Reacting Flow interface, the Stefan velocity, defined in the manner of
Equation 6-91, 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 (6-92)
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 (6-93)
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).
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).
This chapter describes the physics interfaces found under the Fluid Flow branch
( ).
In this chapter:
| 487
The Laminar Flow and Creeping Flow
Interfaces
In this section:
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) check box 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.
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 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 reference density.
Reference position When Include gravity is selected, the reference position can be
defined. It corresponds to the location where the total pressure (that includes the
hydrostatic pressure) is equal to the Reference pressure level.
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.
There are two consistent stabilization methods: Streamline diffusion and Crosswind
diffusion. Usually, both check boxes 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 check box to approximate the time-scale
tensor in time dependent problems from projections of weak expressions. This check
box is selected by default. When not selected the actual time-step is used.
INCONSISTENT STABILIZATION
To enable this section, click the Show More Options button ( ) and select Stabilization
in the Show More Options dialog box.
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
because by using it you no longer solve the original problem. By default, the Isotropic
diffusion check box 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 underresolved problems.
If required, select the Isotropic diffusion check box 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 box. Normally these settings do not
need to be changed.
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 in time dependent studies check box under
Linear solvers is available when the Compressibility option is set to Incompressible flow.
When this check box 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 preconditioner may result in shorter solution times for large time
dependent problems with high Reynolds numbers.
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
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.
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 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 Absolute pressure field can be edited by clicking Make All Model Inputs Editable
( ) and entering the desired value in the input field.
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
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
the pressure (such as air), discontinuities in the initial values trigger pressure waves
even when the Mach number is small. The pressure waves must be resolved and this
puts a restriction on the time step.
INITIAL VALUES
Initial values or expressions should be specified for the Velocity field u and the Pressure
p.
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.
Slip
The Slip option prescribes a no-penetration condition, u·n=0. 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.
Navier Slip
This boundary condition enforces no-penetration at the wall, u ⋅ n wall = 0 , and adds
a tangential stress
μ
K nt = – --- u slip
β
The Slip Length setting is per default set to Factor of minimum element length. The slip
length β is then defined as β = f h h min , where h min is the smallest element side and
f h 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, check Account for the translational wall
velocity in the friction force to use ( u – u bnd – ( ( u – u bnd ) ⋅ n wall )n wall ) instead of
u slip in the friction force.
The Navier Slip option is not available when selecting a turbulence 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 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
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.
CONSTRAINT SETTINGS
This section is displayed by clicking the Show More Options button ( ) and selecting
Advanced Physics Options in the Show More Options dialog box. The Constraints settings
can be set to Default, Use pointwise constraints, Use DG constraints, or Use weak
constraints. Use mixed constraints can be selected when imposing a no slip condition
exactly.
Depending on the constraint method selected, the following settings are available:
• Apply reaction terms on can be set to Individual dependent variables (default) or All
physics (symmetric). This setting is not available when Use DG constraints is selected.
• Select Elemental (default) or Nodal under Constraint method. This setting is not
available for Use DG constraints or Use 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
BOUNDARY CONDITION
The available Boundary condition options for an inlet are Velocity 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.
PRESSURE CONDITIONS
This option specifies the normal stress, which in most cases is approximately equal to
the pressure.
The Apply condition on each disjoint selection separately check box 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:
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 check box 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.A fully developed flow boundary cannot
be adjacent to any Interior Wall feature.
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 and Velocity.
PRESSURE CONDITIONS
This option specifies the normal stress, which in most cases is approximately equal to
the pressure. The tangential stress component is set to zero.
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 check box 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. A fully developed flow boundary
cannot be adjacent to any Interior Wall feature.
Symmetry
This node provides a boundary condition for symmetry boundaries. It should only be
used when the geometry and expected solution have mirror symmetry. By using
symmetries in a model its size can be reduced by one-half or more, making this an
efficient tool for solving large problems.
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.
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.
BOUNDARY CONDITIONS
The Boundary condition options for open boundaries are Normal stress and No viscous
stress.
Normal Stress
The Normal stress f0 condition implicitly imposes p ≈ f 0 .
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.
General Stress
When General stress is selected, the components for the Stress F should be specified.
The total stress on the boundary is set equal to the given stress F:
– 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 (7-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
t⋅u = 0
3
T
n ( – pI + μ ( ∇u + ( ∇u ) T ) )n = – f 0 , t⋅u = 0
This boundary condition implicitly sets a constraint on the pressure that for 2D flows is
∂u n
p = 2μ ---------- + f 0 (7-2)
∂n
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).
PRESSURE DIFFERENCE
This section is available when Incompressible flow is selected for Compressibility under
the Physical Model section for the physics interface.
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.
ORIENTATION OF SOURCE
For information about the Orientation of Source section, see Orientation of Source and
Destination in the COMSOL Multiphysics Reference Manual.
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.
A Wall subnode is added by default and it applies to the parts of the pair boundaries
where a source boundary lacks a corresponding destination boundary and vice versa.
The Wall feature can be overridden by any other boundary condition that applies to
exterior boundaries. By right-clicking the Flow Continuity node, additional Fallback
feature subnodes can be added.
PRESSURE CONSTRAINT
The relative pressure value is set by specifying the Pressure p0. Or, if the reference
pressure pref defined at the physics interface level is equal to zero, p0 represents the
absolute pressure.
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.
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
This feature requires at least one of the following licenses: CFD Module, Heat Transfer
Module, Microfluidics Module, Polymer Flow Module, Porous Media Flow Module,
or Subsurface Flow Module.
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.
The main feature is the Fluid and Matrix Properties node, which provides an interface
for defining the fluid material along with the porous medium properties.
When this physics interface is added, the following default nodes are also added in the
Model Builder — Fluid and Matrix Properties, 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
This feature requires a specific license. For a detailed overview of the functionality
available in each product visit https://www.comsol.com/products/specifications/.
Enter a value for the acceleration of gravity. The default value g_const is the
predefined standard acceleration of gravity on Earth.
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 box.
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 check box 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 check box 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 check box is available if the previous check
box 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).
Note that some features are only available with certain COMSOL products (see
https://www.comsol.com/products/specifications/).
• Atmosphere/Gauge • Outlet
• Cross Section • Pervious Layer
• Electrode Surface Coupling • Point Mass Source
• Flux Discontinuity • Precipitation
• Fracture Flow • Pressure
• Hydraulic Head • Pressure Head
• Inlet • Reaction Coefficients1
• Interior Wall • Symmetry
• Line Mass Source • Thickness
• Mass Flux • Thin Barrier
• No Flow
1 This node is described for the Transport of Diluted Species Interface
Note that some features are only available with certain COMSOL products (see
https://www.comsol.com/products/specifications/)!
n ⋅ ( ρ1 u1 –ρ2 u2 ) = 0
The continuity boundary condition provides continuity for the pressure and mass flux.
In addition, the following boundary conditions are 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.
∂ ( ρε ) + ∇ ⋅ ( ρu ) = Q
m (7-3)
∂t
And if gravity effects are active Darcy’s law is of the following form:
κ
u = – --- ( ∇p + ρg ) (7-5)
μ
FLUID PROPERTIES
Select the Fluid material to use for the fluid properties. Select Domain material (the
default) to use the material defined for the domain. Select another material to use that
material’s properties for the fluid.
Density
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.
• 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.
Dynamic Viscosity
Select a Dynamic viscosity μ (SI unit: Pa·s). The default uses values From material as
defined by the Fluid material selected. For User defined the default is 0 Pa·s.
If the settings for the dynamic viscosity are unavailable, this is due to Hydraulic
conductivity being selected as the Permeability model under the Matrix Properties
section below. The hydraulic conductivity is defined using a combination of fluid and
matrix properties and replaces the need to define the dynamic viscosity. Note that this
option is only available with the Subsurface Flow Module.
MATRIX PROPERTIES
Select the material to use as porous matrix. Select Domain material from the Porous
material list (the default) to use the material defined for the porous domain. 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.
Note that the option to choose Hydraulic conductivity is only available for the
Subsurface Flow Module. The Non-Darcian Flow option is only available in some
modules. For a detailed overview of the functionality available in each product, visit
https://www.comsol.com/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,
Symmetric, or Full to define a tensor value and enter another value or expression in the
field or matrix.
For Hydraulic conductivity K (SI unit: m/s) select Isotropic to define a scalar value or
Diagonal, Symmetric, or Full to define a tensor value. The default is 2.94·10−4 m/s.
For Kozeny–Carman, enter the mean Particle diameter dp (SI unit: m), the default value
is 0.5 mm.
For Non-Darcian, choose a Non-Darcian flow model from the selection list. The available
options, depending on the modules licensed, are Forchheimer, Ergun, Burke–Plummer,
and Klinkenberg.
For Forchheimer, the default Permeability κ (SI unit: m2) uses the value From material,
as defined by the Porous material list. 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.
For Burke–Plummer, specify the mean Particle diameter dp (default value: 0.5 mm).
If Klinkenberg is selected from the list, the default Permeability κ∞ (SI unit: m2) uses
the value From material, as defined by the Porous material list. Enter the Klinkenberg
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 7-3).
∂ ( ρε ) + ∇ ⋅ ( ρu )
= Qm (7-6)
∂t
For the — which is available for the Subsurface Flow Module and the Porous Media
Flow Module — the mass source is applicable to the right-hand side of (where it is
multiplied with the fracture thickness).
MASS SOURCE
Enter a value or expression for the Mass source Qm (SI unit: kg/(m3·s)). The default is
0 kg/(m3·s).
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
where ρ is the fluid density (SI unit: kg/m3); g denotes the acceleration of gravity
(SI unit: m/s2); and D is the elevation (SI unit: m).
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.
Storage Model
The Storage Model node adds Equation 7-4 and Equation 7-42 (excluding any mass
sources). Use it to define the fluid and porous media properties, including a storage
term for the specific storage.
This feature requires a specific license. For a detailed overview of the functionality
available in each product visit https://www.comsol.com/products/specifications/.
FLUID PROPERTIES
The settings are the same as for the Fluid and Matrix Properties node except a gas
constant type is not required.
MATRIX PROPERTIES
The settings are the same as in the Matrix Properties section under Fluid and Matrix
Properties.
STORAGE MODEL
Select a Storage S (SI unit: 1/Pa) — Linearized storage (the default) or User defined.
• For User defined enter a value or expression for Storage S (SI unit: 1/Pa) (Sf in
Equation 7-9).
• For Linearized storage it uses the following linear equation to define the storage:
S = εχ f + ( 1 – ε p )χ p
This is equivalent to the Reuss average of the fluid and solid compressibilities. Enter
the value or expression for each of the following:
- Compressibility of fluid χf (SI unit: 1/Pa). The default uses values From material.
For User defined, the default is 4·10−10 1/Pa.
- Effective compressibility of matrix χp (SI unit: 1/Pa). The default is 1·10−4 1/Pa).
This feature requires a specific license. For a detailed overview of the functionality
available in each product visit https://www.comsol.com/products/specifications/.
Poroelastic Storage
The Poroelastic Storage node adds Equation 7-4 and Equation 7-42 (excluding any
mass sources). Use it to define the fluid and porous media properties, including a
storage term to account for the Poroelasticity multiphysics coupling.
This feature requires a specific license. For a detailed overview of the functionality
available in each product visit https://www.comsol.com/products/specifications/.
FLUID PROPERTIES
The settings are the same as for the Storage Model node except a gas constant type is
not required. There is also an option to define the fluid compressibility.
Compressibility
Select the Compressibility of fluid χf (SI unit: 1/Pa). The default uses values From
material as defined by the Fluid material selected. For User defined the default is
4·10−10 1/Pa.
MATRIX PROPERTIES
The settings are the same as in the Matrix Properties section under Fluid and Matrix
Properties.
This feature requires a specific license. For a detailed overview of the functionality
available in each product visit https://www.comsol.com/products/specifications/.
GRAVITY
Specify either the acceleration vector or — in case you have a Subsurface Flow Module
license — the elevation.
When Acceleration is selected from the list, enter the components of the Gravity vector
g. The default value is g_const which is the physical constant having the value
9.8066 m/s2.
When Elevation is selected from the list, specify the Elevation D (SI unit: m). Select the
check box Specify reference position to define a reference elevation.
Select the acceleration of gravity from either the Darcy’s Law interface Settings
(default), or specify a user defined value. When the check box Include gravity is not
selected in the Darcy’s Law interface Settings, the elevation D is set equal to zero.
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.
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.
This feature requires a specific license. For a detailed overview of the functionality
available in each product visit https://www.comsol.com/products/specifications/.
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.
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.
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 box.
Pressure constraint on edges are available for use with the Fracture Flow boundary
condition (which is available in the Subsurface Flow Module). This boundary
condition needs constraints on the edges surrounding the fracture-flow boundary. In
other cases, pressure constraints on edges are not implemented.
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)).
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.
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:
κ
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
a negative value represents an outflow. D is the elevation head which is set to zero for
other than Subsurface Flow Module applications.
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 box.
κ
n ⋅ --- ∇p = 0
μ
κ
n ⋅ --- ( ∇p + ρ g ∇D ) = 0
μ
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.
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 (7-7)
μ
Outlet
The Outlet node adds a boundary condition for the outflow (or inflow) perpendicular
(normal) to the boundary. It has two options that can be used to specify inlet condition
on a boundary, as follows:
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).
Precipitation
Enter a value or expression for the Precipitation rate which then contributes to the mass
flux at the boundaries selected. If the boundary is inclined, a Slope correction can be
applied.
This feature requires a specific license. For a detailed overview of the functionality
available in each product visit https://www.comsol.com/products/specifications/.
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.
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 (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.
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.
This feature requires a specific license. For a detailed overview of the functionality
available in each product visit https://www.comsol.com/products/specifications/.
Thin Barrier
The Thin Barrier boundary condition models interior permeable walls, membranes,
geotextiles, or perforated plates as thin permeable barriers. The Thin Barrier boundary
condition can only be applied on interior boundaries.
This feature requires a specific license. For a detailed overview of the functionality
available in each product visit https://www.comsol.com/products/specifications/.
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).
The Subsurface Flow Module license is required to use this boundary condition (see
https://www.comsol.com/products/specifications/).
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 box.
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.
The Subsurface Flow Module license is required to use this boundary condition (see
https://www.comsol.com/products/specifications/).
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 box.
The Subsurface Flow Module license is required to use this boundary condition (see
https://www.comsol.com/products/specifications/).
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced
Physics Options in the Show More Options dialog box.
Pervious Layer
The Subsurface Flow Module license is required to use this boundary condition (see
https://www.comsol.com/products/specifications/).
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 -------------------- + ( D b – D ) (7-8)
μ ρ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 = K'/B', 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 ) ] (7-9)
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 ⋅ ρK∇H = ρR b [ H b – H ] (7-10)
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 check box 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).
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 well.
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)).
Fracture Flow
The Fracture Flow node adds fracture flow on boundaries using tangential derivatives
to define the flow along interior boundaries representing fractures within a porous
medium. It is implemented through . Additional subnodes are available from the
context menu (right-click the parent node) or from the Physics toolbar, Attributes
menu.
This feature requires a specific license. For a detailed overview of the functionality
available in each product visit https://www.comsol.com/products/specifications/.
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 Fluid and Matrix Properties 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 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
Compressible flow (Ma<0.3) from the Compressibility list, to account for small variations
Reference Temperature
Enter a Reference temperature Tref (SI unit: K). The default value is 293.15[K].
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 Interface
• Theory for the Free and Porous Media Flow Interface
Domain, Boundary, Point, and Pair Nodes for the Free and Porous
Media Flow Interface
The Free and Porous Media Flow Interface has the following domain, boundary,
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).
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.
FLUID PROPERTIES
The default Fluid material uses the Domain material (the material defined for the
domain). Select another material as needed.
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.
DOMAIN SELECTION
Choose domains from the Selection list, to solve for porous media flow governed by
the Brinkman equations. In the domains not selected, the Free and Porous Media Flow
interface solves for laminar flow governed by the Navier–Stokes (or Stokes) equations.
The Porosity εp (a dimensionless number between 0 and 1) uses by default the value
From material as defined by the Porous material selection. For User defined the default
is 0.
In this node you specify the porosity εp, whereas in other nodes the
volume fraction of solid material θp = 1 − εp is required instead. See
Porous Medium in the Heat Transfer Module User’s Guide for an
example.
Select a Permeability model to specify the capacity of the porous material to transmit
flow — Permeability to directly enter the permeability of the porous matrix,
Kozeny-Carman to define the permeability from the porosity and mean particle
diameter, or Non-Darcian in cases when Darcy’s linear relation between pressure drop
and velocity is no longer valid due to turbulence or inertial effects. The Non-Darcian
Flow option is 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 https://www.comsol.com/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,
For Kozeny-Carman, enter the mean Particle diameter dp (SI unit: m), the default value
is 0.5 mm.
For Non-Darcian, choose a Non-Darcian flow model from the selection list. The available
options, which depend on the modules licensed, are Forchheimer or Ergun.
For Forchheimer, the default Permeability κ (SI unit: m2) uses the value From material,
as defined by the Porous material list. 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 the Porous Matrix Properties
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.
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.
BOUNDARY CONDITION
Select a Boundary condition for the wall.
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=0. 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.
CONSTRAINT SETTINGS
This section is displayed by clicking the Show button ( ) and selecting Advanced
Physics Options.
The main node is the Fluid and Matrix Properties feature, which adds the Brinkman
equations and provides an interface 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 — Fluid and Matrix Properties, 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, and Inconsistent Stabilization,
and Advanced Settings sections, 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.
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 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, select Compressible
flow (Ma<0.3) from the Compressibility list if there are small variations in the density,
typically dependent on the temperature (nonisothermal flow). For compressible flow
modeled with the Brinkman Equations interface, the Mach number must be below
0.3.
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).
The Use pseudo time stepping for stationary equation form option adds pseudo time
derivatives to the equation when the Stationary equation form is used in order to speed
up convergence. When selected, 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.
• 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
• Discontinuous Galerkin Formulation
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
The default Fluid material uses the Domain material. Select another material as needed.
Both the default Density ρ (SI unit: kg/m3) and Dynamic viscosity μ (SI unit: Pa·s) use
values From material based on the Fluid material selection. For User defined enter
another value or expression. In this case, the default is 0 kg/m3 for the density and
0 Pa·s for the dynamic viscosity. The dynamic viscosity describes the relationship
between the shear stresses and the shear rate in a fluid. Intuitively, water and air have
The Porosity εp (a dimensionless number between 0 and 1) uses by default the value
From material as defined by the Porous material selection. For User defined the default
is 0.
Select a Permeability model to specify the capacity of the porous material to transmit
flow — Permeability to directly enter the permeability of the porous matrix,
Kozeny-Carman to define the permeability from the porosity and mean particle
diameter, or Non-Darcian in cases when Darcy’s linear relation between pressure drop
and velocity is no longer valid due to turbulence or inertial effects. The Non-Darcian
Flow option includes different models, some of them are only available for certain
modules. For a detailed overview of the functionality available in each product, visit
https://www.comsol.com/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,
Symmetric, or Full to define a tensor value and enter another value or expression in the
field or matrix.
For Kozeny-Carman, enter the mean Particle diameter dp (SI unit: m), the default value
is 0.5 mm.
For Non-Darcian, choose a Non-Darcian flow model from the selection list. The available
options, depending on the modules licensed, are Forchheimer or Ergun.
For Forchheimer, the default Permeability κ (SI unit: m2) uses the value From material,
as defined by the Porous material list. Furthermore, the dimensionless Forchheimer
parameter cF can be defined. The default value is 0.55.
Mass Source
The Mass Source node adds a mass source (or mass sink) Qm to the right-hand side of
the continuity equation: Equation 7-43. This term accounts for mass deposit and/or
mass creation in porous domains. The physics interface assumes that the mass
exchange occurs at zero velocity.
∂ ε
( ρ ) + ∇ ⋅ ( ρu ) = Q m (7-11)
∂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).
Volume Force
Use the Volume Force node to specify the force F on the right-hand side of
Equation 7-44. It then acts on each fluid element in the specified domains. A common
application is to include gravity effects.
ρ- ∂u
+ ( u ⋅ ∇ ) ----- =
u
----
εp ∂ t ε p
(7-12)
1 T 2 –1 Q m
– ∇ p + ∇ ⋅ ----- μ ( ∇u + ( ∇u ) ) – --- μ ( ∇ ⋅ u )I – κ μ + --------u + F
εp 3 ε p2
VOLUME FORCE
Enter the components of Volume force F (SI unit: N/m3).
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.
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.
Temperature
By default, the single-phase flow interfaces are set to model isothermal flow. Hence,
the Temperature is User defined and defaults to 293.15 K. If a Heat Transfer interface
is included in the component, the temperature may alternatively be selected from this
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.
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
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.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 551
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 (7-13)
∂t
∂u
ρ ------- + ρ ( u ⋅ ∇ )u = ∇ ⋅ [ – pI + K ] + F (7-14)
∂t
∂T T ∂ρ ∂p
ρC p ------- + ( u ⋅ ∇ )T = – ( ∇ ⋅ q ) + K:S – ---- ------- ------ + ( u ⋅ ∇ )p + Q (7-15)
∂t ρ ∂T p ∂t
where
1
S = --- ( ∇u + ( ∇u ) T )
2
To close the equation system, Equation 7-13 through Equation 7-15, 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 = 2μS – --- μ ( ∇ ⋅ u )I (7-17)
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 7-15 is decoupled
from Equation 7-13 and Equation 7-14.
2D AXISYMMETRIC FORMULATIONS
A 2D axisymmetric formulation of Equation 7-13 and Equation 7-14 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 7-14. The resulting system of equations is both easier to
converge and computationally less expensive compared to retaining the φ -equation.
The default 2D axisymmetric formulation of Equation 7-13 and Equation 7-14
therefore assumes that
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 553
∂ ⁄ ∂φ = 0
uφ = 0
Compressible Flow
The equations of motion for a single-phase fluid are the continuity equation:
∂ρ
------ + ∇ ⋅ ( ρu ) = 0 (7-18)
∂t
∂u
ρ ------- + ρu ⋅ ∇u = – ∇p + ∇ ⋅ μ ( ∇u + ( ∇u ) T ) – --- μ ( ∇ ⋅ u )I + F
2
(7-19)
∂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 7-19, is parabolic for unsteady flow and elliptic
for steady flow, whereas the continuity equation, Equation 7-18, 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 7-19 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.
The practical Mach number limit is lower than one, however. 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 7-18 reduces to
ρ∇ ⋅ u = 0 (7-20)
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 555
∂u T
ρ + ρ ( u ⋅ ∇ )u = ∇ ⋅ [ – pI + μ ( ∇u + ( ∇u ) ) ] + F (7-21)
∂t
ρUL
Re = ------------
μ
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 = ρ|u|h/(2μ) 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: spf.cellRe).
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.
For a moving wall with translational velocity utr, u in the above equations is replaced
by the relative velocity urel = u−utr.
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.
where t = (ny , −nx) for 2D and t = (nz, −nr) for axial symmetry.
• For 3D components, the velocity is set equal to a given vector uw projected onto
the boundary plane:
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 557
u w – ( n ⋅ u w )n
u = -------------------------------------------- u w
u w – ( n ⋅ u w )n
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 ⋅ n wall = 0 , and adds
a tangential stress
μ
K nt = – --- u slip
β
The Slip Length setting is per default set to Factor of minimum element length. The slip
length β is then defined as β = f h h min , where h min is the smallest element side
(corresponds to the element size in the wall normal direction for boundary layer
elements) and f h is a user input.
In cases where the wall movement is nonzero, Account for the translational wall velocity
in the friction force may be selected to use ( u – u bnd – ( ( u – u bnd ) ⋅ n wall )n wall )
instead of u slip in the friction force. Then, the extrapolated tangential velocity
component is u bnd 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 constraint the velocity field:
• Use default settings. The default settings 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.
DG 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 DG constraints are used.
• Use Pointwise constraints.
• Use DG constraints.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 559
• Use Weak constraints. Weak constraints are not available on Interior Walls.
• Use 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 DG 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 (7-22)
∂n
∂u t
μ -------- = 0
∂n
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 ∂ut/∂n 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.
ALTERNATIVE FORMULATIONS
COMSOL 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 boundary. The mass flow can be specified in a number of ways.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 561
POINTWISE MASS FLUX
The pointwise mass flux sets the velocity at the boundary to:
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.
In addition to the constraint on the total flow across the boundary, the tangential
velocity components are set to zero on the boundary
u×n = 0 (7-23)
ρ
– dbc ρ-------st ( u ⋅ n ) dS = Q sv
∂Ω
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:
Mn
ρ st = --------
Vn
p st M n
ρ st = -----------------
RT st
Equation 7-23 or Equation 7-24 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.
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:
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
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 563
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.
The inlet pressure, Pinl, must be solved for and the its equation is a discrete algebraic
equation (DAE) for Pinl. When, for example, the average velocity is specified, the DAE
reads
( 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 pre-smoother and post-smoother 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 a symmetry boundary.
Algebraic turbulence models need to 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 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:
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 outlett
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
pre-smoother and post-smoother 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:
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 565
μ ( ∇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 (7-24)
∂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 (7-25)
3
( – pI + μ ( ∇u + ( ∇u ) T ) )n = – p 0 n (7-26)
u⋅t = 0 (7-27)
– pI + μ ( ∇u + ( ∇u ) T ) – 2
--- μ ( ∇ ⋅ u )I n = – pˆ 0 n
3
, (7-28)
( – pI + μ ( ∇u + ( ∇u ) T ) )n = – pˆ 0 n
pˆ ≤ p
0 0
u⋅n≥0 (7-29)
Equation 7-28 effectively means that the prescribed pressure is p0 if u⋅n ≥ 0, but
smaller at locations where u⋅n < 0. This means that Equation 7-28 does not completely
prevent backflow, but the backflow is substantially reduced. Backflow is suppressed
also when external forces are acting on the fluid, provided the magnitude of these
forces are of the same order as the dynamic pressure at the outlet.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 567
A pressure condition can also be applied at an inlet. In this case, either the normal stress
is prescribed
n – pI + μ ( ∇u + ( ∇u ) T ) – --- μ ( ∇ ⋅ u )I n = – pˆ 0
T 2
3
(7-30)
n ( – pI + μ ( ∇u + ( ∇u ) T ) )n = – pˆ 0
T
pˆ ≥ p
0 0
together with the tangential condition in Equation 7-27, or, a general flow direction
is prescribed.
T – pI + μ ( ∇u + ( ∇u ) T ) – 2
ru --- μ ( ∇ ⋅ u )I n = – pˆ 0 ( r ⋅ n )
3 u
ˆ (r ⋅ n)
T ( – pI + μ ( ∇u + ( ∇u ) T ) )n = – p
ru 0 u
(7-31)
ˆp ≥ p
0 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 (7-32)
2
T T (7-33)
n ( – pI + μ ( ∇u + ( ∇u ) T ) )n = n ( – p stat I + μ ( ∇u + ( ∇u ) T ) )n
where ptot and |u|2 are averaged over the boundaries using the aveop operator:
1 2
p stat = aveop ( p tot ) – --- ρ ⋅ aveop ( u )
2
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.
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 (7-34)
δV
q· p test ( p )
·
is added to a point in the geometry. As can be seen from Equation 7-34, 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.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 569
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 (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
·
Q = ql
lim · (7-35)
δS → 0
δ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. The time-scale
tensor is the diagonal tensor presented in Ref. 10.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 571
(see for example Ref. 9 and Ref. 10). This simple approach does not, however,
necessarily reflect on the actual time-scales in the physics. A typical example is reacting
flows where the time step is often guided by fast reactions, while the flow develops
relatively slowly. The COMSOL Multiphysics software can therefore replace Δt2 in the
time-scale tensor with measures of type ( 1 ⁄ ( Δt̃ ) 2 ) –1 , which are calculated from
projections of weak expressions in a fashion similar to those in Ref. 11. These measures
of the time scale are used when Use dynamic subgrid time scale check box is selected.
Streamline diffusion is active by default because it is necessary when convection is
dominating the flow.
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.
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 | 573
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.5and 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 which 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 (7-36)
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 575
Solving Equation 7-36 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 7-36:
u – nojac ( u ) T
ρ --------------------------------- + ρ ( u ⋅ ∇ )u = ∇ ⋅ [ – pI + μ ( ∇u + ( ∇u ) ) ] + F
Δt̃
where Δt̃ is a pseudo time step. Since u−nojac(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.3 9 ≈ 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.
• 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 COMSOL Multiphysics is 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 in COMSOL Multiphysics 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
= F t, x,
d x dx
m
dt2 dt
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 577
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”, Comp. Meth. Appl. Mech. Engrg, 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”, Comp. Meth. Appl. Mech. Engrg, 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”, Comp. Meth. Appl. Mech. Engrg, 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”, Computers and Fluids, vol. 36, pp. 12–26, 2007.
THEORY FOR THE LAMINAR FLOW AND CREEPING FLOW INTERFACES | 579
580 | CHAPTER 7: 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 (7-38)
μ
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 (7-39)
∂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
https://www.comsol.com/products/specifications/.
• Gravity effects are not active by default. Select the check box Include
gravity to activate the acceleration of gravity. Setting the elevation D to
zero also turns off gravity effects.
Storage Model
Inserting Darcy’s law (Equation 7-38) into the continuity equation produces the
generalized governing equation
∂ ( ρε ) + ∇ ⋅ ρ – --κ- ( ∇p ) = Q (7-41)
∂t p μ m
∂ ( ρε ) = ε ∂-----
ρ- ∂ε p
p ∂t + ρ ∂t
p
--------
∂t
Define the porosity and the density as functions of the pressure, and apply the chain
rule
∂ρ ∂ε p ∂ρ ∂p ∂ε p ∂p
ε p ------ + ρ -------- = ε p ------ ------ + ρ -------- ------
∂t ∂t ∂p ∂t ∂p ∂t
Insert the definition of fluid compressibility χf = (1/ρ)(∂ρ/∂p) to the right-hand side and
rearrange to arrive at
∂( ρε p ) ∂ε p ∂p ∂p
---------------- = ρ ε p χ f + -------- ------ = ρS ------
∂t ∂p ∂t ∂t
∂p κ
ρS ------ + ∇ ⋅ ρ – --- ( ∇p ) = Q m (7-42)
∂t μ
In this equation, S 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 S 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
interface implements Equation 7-42 using the Storage Model node, which explicitly
includes an option to define S as the linearized storage (SI unit: 1/Pa) using the
compressibility of fluids and porous matrix.
The Storage Model node is 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 https://
www.comsol.com/products/specifications/.
8. Yu-Shu Wu and others, “Gas Flow in Porous Media with Klinkenberg Effects,”
Transport in 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.
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
(7-44)
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) check box is selected, the term (u · ∇)(u/
εp) on the left-hand side of Equation 7-44 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 = −ρβ|u|u, on the right-hand side of Equation 7-44; see
References for the Darcy’s Law Interface for details.
In case of a flow with variable density, Equation 7-43 and Equation 7-44 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
ρ∇ ⋅ u = Q m
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.
1
u ⋅ n = ---
ρ ni ⋅ n (7-45)
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 (7-46)
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 (7-47)
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.
The Battery & Fuel Cells Module has extra functionality for simulating heat
transfer in porous media. The documentation of all features in The Heat Transfer
in Porous Media Interface is found in the Heat Transfer Module User’s Guide,
which is supplied with the Battery Design Module irrespective of whether a
separate Heat Transfer Module license is purchased.
In this chapter:
591
Coupling of Heat Transfer to
Electrochemical Reactions
Irreversible voltage losses in an electrochemical cell can occur due to the following
phenomena:
In addition, reversible heat sources and sinks can appear due to the entropy changes in
the electrode reactions. How these heat sources are defined are described at the end of
this chapter.
Most Electrochemistry interfaces define and announce heat source variables that for
instance can be used by the General Source and the Boundary Heat source nodes in
the Heat Transfer interfaces.
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 xxx.Qh
(domain, Joule heating and porous electrode reactions) and xxx.Qbfc (boundary,
electrode surface reactions), where xxx is the electrochemistry interface identifier.
• Electrochemistry Interfaces
• Multiphysics Coupling Nodes
Q JH = – ( i s ⋅ ∇φ s + i l ⋅ ∇φ l ) (8-1)
• Heat generated = Total reaction enthalpy – Electrical energy leaving the system
Using Faraday’s law for an electrode reaction, m, at the interface between the electron
and ion conducting phase this corresponds to
ΔH m ΔG m
Q m = ------------- – ------------- – η m, tot i m (8-2)
nm F nm F
where ΔHm is the enthalpy change of the reaction, and ΔGm is the Gibbs free energy
of the reaction, ΔGm, defined as
ΔG m = ΔH m – TΔS m
where ΔSm is the net entropy change. The equilibrium potential is related to ΔGm in
the following way:
ΔG m
E eq, m = – -------------
nm F
η m, tot = φ s – φ l – E eq, m
By the relation
∂E eq, m ΔS m
------------------
- = -----------
-
∂T nm F
the local heat source due to the electrochemical conversion process becomes
where the overpotential expression represents the irreversible activation losses, and the
last term is the reversible heat change due to the net change of entropy in the
conversion process.
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 porous electrode joule heating and electrochemical sources are summed up for a
total heat source in the domain according to
α 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
A result of this is that, when the pre-exponential factors CO,m and CR,m differ due to
concentration gradients, we at zero activation overpotential may have a net
charge-transfer current density flowing over the electrode-electrolyte interface. This
local current density obviously should give rise to a heat source. The solution is to add
a concentration overpotential term to the total overpotential when calculating the heat
sources.
where
RT C O, m
η m, conc = ------------ ln --------------
n m F C R, m
nm = α · + α c, m
a, m
is assumed.
The above concentration overpotential addition to the total overpotential is also used
for the Electroanalytical Butler-Volmer kinetics in the Electroanalysis interface.
Thermodynamics
This chapter describes how you can use the thermodynamics functionality to
define thermo-physical and transport properties. The properties in turn 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:
597
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 9-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. 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 ( )
• 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.
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 check box in order to manually control the models used
for thermodynamic properties, transport properties, and surface tension. When this
check box 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-liquid surface tension
• 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
Provider:
Contains information about the thermodynamic system such as the version it was
created in and the manager used to create it. For a built-in thermodynamic system, the
manager corresponds to COMSOL.
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.
Mixture Property:
Lists the available mixture property functions. Note that you have to have a mixture
model defined in order to use these functions. You can define a mixture property by
right-clicking the Thermodynamic System node and selecting Mixture 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 also a liquid phase is available, and the Liquid phase model corresponds
to an equation of state, then the Gas phase model is set to the same model.
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 check box,
see Select Thermodynamic Model.
Figure 9-7: Entering the Binary Interaction Parameters for the Soave-Redlich-Kwong
model.
When the properties of a User-Defined Species has 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
www.cocosimulator.org/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 9-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
properties. Editing the text in the Label text field changes the name of the system.
Below follows a description of the thermodynamic system settings.
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.
Predefined System
A Predefined System uses the built-in database with native functionality to set up one
of the following common systems; dry air, moist air, or water and steam.
• 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
contains water. If instead Water-steam was chosen in the Select System step, the Next
button in that step guides you directly to the Select Thermodynamic Model pane. No
additions of species can be done in the wizard.
Click the Finish button ( ) to exit the Thermodynamic System Wizard and add the
corresponding Predefined System under the Thermodynamics node. Note that the
default node label reflects the chosen 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.
Species Property
A Species Property is used to define and compute a pure species property. The available
properties consist of both parameters and functions. Some examples of available
parameters are molar mass, Lennard Jones diameter, and dipole moment. Some
examples of available functions are density, enthalpy, heat capacity, and viscosity. The
property functions created are either dependent on temperature alone, or both on
temperature and pressure. For all property functions, the first order derivative with
respect to temperature and, when applicable, with respect to pressure are automatically
defined.
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.
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.
Click the Next button ( ) to proceed to the next step in the wizard, which is selecting
the phase for the property.
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.
For a function, this sections displays the arguments for the functions and the first order
derivatives with respect to these arguments.
Plot Parameters
Available for property functions in order to plot a selected function for a given set of
argument values.
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 9-18: Show constant and temperature dependent properties references for species
functions.
The reference for the constant or temperature dependent property is available in the
Comments field in the Node Properties section.
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.
Right-click the relevant Thermodynamic System node (see Figure 9-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
3 Select Species
4 Mixture Property Overview
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.
SETTINGS
Selecting a desired Mixture Property node to display its settings window.
Figure 9-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
The last three examples are often considered more difficult, since they require energy
balances and relations for computing enthalpy and entropy. The Liquid & Gas
Properties Module can handle all of the above cases using the equilibrium calculation
functionality. Phase envelopes, bubble point, and dew point can be calculated for any
number of species.
Right-click the relevant Thermodynamic System node (see Figure 9-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.
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
recommended to use Enthalpy of formation, Entropy of formation, or Internal energy of
formation, since they account for heat of reactions.
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.
Note that the Solution type setting is only available for a built-in thermodynamic
systems. For external thermodynamic systems, the corresponding functionality needs
to be supplied by the thermodynamic software provider. For instance, the
COCO/TEA provider does not support the Normal or Retrograde options. In those
cases, the Solution type should be Undefined.
SETTINGS
Selecting an Equilibrium Calculation node displays the settings including the property
functions, see Figure 9-22.
Generate Chemistry
The Chemistry physics interface includes functionality to automatically define and use
mixture properties by interfacing to a Thermodynamic System node. How to manually
set this coupling up is described in Coupling with the Reaction Engineering and the
Chemistry Interfaces.
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. 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
high concentration solvent. For this choice, also select Solvent. Optionally, select
Concentrated species to model a mixture where all species are assumed to contribute to
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 physics 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 setup. The material node can include properties such as the
density, heat capacity, heat capacity ratio, thermal conductivity and the viscosity. Two
types of property functions can be used. Either functions from the underlying
thermodynamics can be used, or interpolation functions created from these. For
space-dependent models, the interpolation models are more computationally efficient.
1 Select Phase
2 Select Species
3 Select Properties
4 Define Material
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.
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 9-23: Generate Material Wizard; Select Properties with Diffusion coefficient at
infinite dilution added.
Additional properties
The below additional properties 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 = – --- ------- (9-1)
ρ ∂T
For a gas phase material, the speed of sound c, and the isentropic compressibility χf are
also defined as:
∂p 1 ∂ρ (9-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 from 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 is specified.
For the Interpolation points, select Same for all functions to use the same number of
evaluation points for all function. By selecting Individual, the number of evaluation
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.
If the total number of evaluation points for any function, varying temperature and
pressure, is exceeded, a warning is shown.
Define the temperature 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
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.
This Reaction Engineering interface and the Chemistry interface are only
available in a limited set of add-on products. See
https://www.comsol.com/products/specifications/ 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.
Select a thermodynamic system from the Thermodynamic system list. Use the Phase list
to select the phase to be used in the Reaction Engineering interface.
Species Matching
The Species Matching section is activated when the Thermodynamics check box 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 9-25: Matching the species in Reaction Engineering to those in the corresponding
thermodynamic system.
Figure 9-26: Select the Calculate mixture properties check box 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 check box 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 check box 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.
When all species are matched, the interface is fully coupled to Thermodynamics and
functions representing mixture properties, such as the density, are added automatically
under the thermodynamic system that the interface is coupled to.
When the system is fully matched, the mixture property Zmix is defined as:
m
Z mix = ni Zi (9-3)
i=1
∂Z mix ( T, P, n 1, n 2, …, n m )
Z i = ----------------------------------------------------------------------- (9-4)
∂ni T, P, n
j≠i
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 ) = (9-5)
∂Z mix ( T, P, x 1, …, x m )
Z ( T, P, x 1, …, x m ) + ------------------------------------------------------------
mix ∂xi T, P, x
i≠j
m ∂Z mix ( T, P, x 1, …, x m )
x -----------------------------------------------------------
– i ∂xi
-
T, P, x
i=1
i≠j
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 ) (9-6)
i=1
Figure 9-28: 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
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 check box. 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 9-32: 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 (9-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.
Note that some thermodynamic properties, such as the enthalpy and entropy, of a
species or mixture, are estimated from the ideal gas heat capacity and depends on the
thermodynamic model applied for the system (see Thermodynamic Properties
Definitions).
SETTINGS
Selecting a species node under User-Defined Species shows the Settings window
including the definitions of all species properties. Properties are categorized into
sections as seen in Figure 9-35 below. All properties can be edited by expanding the
corresponding section.
References
1. www.colan.org
• 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 ) (9-8)
RT
The equation of state models available in the thermodynamic properties database are:
RT
P = -------- (9-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. 7 is given by
RT aα
P = ------------- – ------------------------------------
- (9-10)
V – b V 2 + 2bV – b 2
2 2
R Tc
a i = Ω A -------------- (9-11)
Pc
RT c
b i = Ω B ----------- (9-12)
Pc
1 1
Ω A = --- + --- Ω B ( 4 + 10Ω B ) (9-13)
3 3
2
α i = [ 1 + ( 0.37464 +1.54226ω i – 0.26992ω i2 ) ( 1 – T r, i ) ] (9-15)
For mixtures
xi xj ( 1 – kPR,i,j )
aα = ( aα ) i ( aα ) j (9-16)
i j
xi bi
b = (9-17)
i
The binary interaction parameters (BIPs), kPR, are symmetric with zeros in the
diagonal:
k PR = k PR,i,j (9-18)
k PR,i,j = 0 (9-19)
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 modificationRef. 8 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 ) ) (9-20)
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.
Soave-Redlich-Kwong
The classical Soave-Redlich-Kwong equation of state Ref. 9 is given by
RT aα
P = ------------- – ----------------------- (9-21)
V – b V( V + b)
1
α = -------- (9-22)
T
2 2.5
R Tc
a i = Ω A ------------------ (9-23)
Pc
RT c
b i = Ω B ----------- (9-24)
Pc
1 1
Ω A = --- + --- Ω B ( 3 + 3Ω B ) (9-25)
3 3
1 2
--- ---
1 3 3 1
ΩB = ------ 2 27 – --- (9-26)
27 3
For mixtures
xi xj ( 1 – kSRK,i,j )
a = ai aj (9-27)
i j
xi bi
b = (9-28)
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 state
is a version of Equation 9-21 modified by Soave Ref. 10, where for pure species i, the
alpha function is modified to
2
α i = [ 1 + ( 0.480 +1.574ω i – 0.176ω i2 ) ( 1 – T r, i ) ] (9-31)
2
α i = [ 1 + ( 0.48508 +1.55174ω i – 0.1561ω i2 ) ( 1 – T r, i ) ] (9-32)
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. 12 - Ref. 14. 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 COMSOL database.
which yields
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
(9-38)
V i, l
F i ≈ exp --------- ( P – P i, sat ) (9-39)
RT
The Poynting correction can often be ignored for moderate pressure. Hence,
Equation 9-37 can be expressed as
P i, sat
φ̂ i, l = γ i φ i, sat --------------- (9-40)
P
If the vapor phase is considered ideal, then φ i, sat = 1 and the above equation reduces
to
P i, sat
φ̂ i, l = γ i --------------- (9-41)
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 (9-43)
Regular Solution
The Scatchard-Hilderbrand equation Ref. 16 for a nonpolar mixture is
where Vi is species molar volume and δi is species solubility parameter, and δav is
( xi Vi δi ) (9-45)
i
δ av = ----------------------------
( 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,i and
the liquid volume at normal boiling point as below:
ΔH vap, i
δ i ≡ --------------------
- (9-46)
V i, l, b
2
V i ( δ i – δ av )
ln γ i = --------------------------------- + ln ( θ i ) + 1 – θ i (9-47)
RT
where
Vi
θ i = ----------------------- (9-48)
( xi Vi )
i
Wilson
Wilson Ref. 19 derived his activity coefficient model from a consideration of
probabilities of neighboring molecules in a liquid
xΛ (9-49)
-----------------------
j j, i
ln γ i = 1 –
- – ln
xj Λi, j
j
x k Λ j, k
j
k
λ i, i = 0 (9-51)
Λ i, i = 1 (9-52)
NRTL
Renon and Prausnitz (Ref. 20) 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
(9-53)
j k
ln γ i = ------------------------------
-+ ------------------------- τ i, j – ----------------------------------
x G
x j G j, i j k k, j x G
k k, j
j k k
A i, j
τ i, j = --------- (9-54)
T
G i, j = exp ( – α i, j τ i, j ) (9-55)
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 (9-56)
T
G i, j = exp ( β i, j – α i, j τ i, j ) (9-57)
The binary interaction parameters, Ai,j, are specified in terms of absolute temperature.
The diagonal values are zero and the matrix is nonsymmetric. All off-diagonal values
must be specified.
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.
If any value for these parameters is missing in the database, it is set to zero (warning
node is created).
A i, i = 0 (9-58)
B i, i = 0 (9-59)
α i, i = 0 (9-60)
α j, i = α i, j (9-61)
τ i, i = 0 (9-62)
G i, i = 1 (9-63)
β i, i = 0 (9-64)
UNIQUAC
Abrams and Prausnitz followed up with another two-liquid model known as Universal
Quasi Chemical equation (UNIQUAC) Ref. 21 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
φi φi
ln γ i, comb = 1 – φ i + ln φ i – --- q i 1 + ---- + ln ----
z
(9-66)
2 θi θi
and the second term is the residual part from chemical interactions between the
molecules,
ri
φ i = ----------------- (9-68)
xj rj
j
qi
θ i = ----------------- (9-69)
xj qj
j
– Δ E i, j
τ i, j = exp ----------------- (9-70)
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 (9-71)
τ i, i = 1 (9-72)
V VDW, i
r i = -----------------------------------
–3
- (9-73)
0.01517 ×10
A VDW, i
q i = -------------------5- (9-74)
2.5 ×10
UNIFAC
The UNIQUAC Functional-group Activity Coefficients (UNIFAC; see Ref. 22) uses
the same equations as UNIQUAC but the parameters are constructed from group
ri = ν k, i r k (9-75)
k
qi = ν k, i q k (9-76)
k
where rk and qk are the values for group k in species i, andνk,i is the number of
occurrences of group k in molecule. The residual term in Equation 9-65 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 --------------------------
- –
----------------------------- (9-78)
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 = ----------------------------------- (9-79)
x i ν k, i
i k
For the calculation of a pure species’ i residual activity we get:
ν m, i
x m = ----------------- (9-80)
ν k, i
k
The volume parameters rk and surface area parameters qk are model-specific
parameters for each group. The binary interaction between groups k and m is
The default group and interaction parameters are those published by the UNIFAC
consortium (Ref. 23 through Ref. 28), with added groups from Balslev and Abildskov
(Ref. 29) 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.
ln φ i, l = ln γ i + ln φ i, l, 0 (9-82)
A i, 1
log φ i, l, 1 = A i, 0 + ---------- + A i, 2 T r, i + A i, 3 T r2, i + A i, 4 T r3, i (9-84)
T r, i
The enthalpy, entropy and Gibbs free energy can be calculated from Equation 9-108
to Equation 9-117.
For liquids the density is defined as the reciprocal of the liquid volume:
1
ρ l = ------ (9-86)
Vl
Equation of State
When an equation of state is selected as the thermodynamic model, the liquid volume
is calculated using the equation of state model. In the other cases, when the
thermodynamic model is not an equation of state, an equation of state can be explicitly
selected to calculate the liquid volume.
Note, when defining the equation of state for vapor and liquid systems, both phases
must use the same equation of state.
Ideal Mixture
For an ideal mixture the liquid volume is computed from the pure species densities:
xi
V l, m = --------
ρ i, l
(9-87)
i
The pure species densities are evaluated from the built-in database.
COSTALD
Hankinson and Thomson Ref. 30 presented the Corresponding States Liquid Density
(COSTALD) equation as
V -
------------ = V r, ref ( 1 – ωV r, δ ) (9-88)
V mix
V r, ref = 1 + a ( 1 – T r ) 1 / 3 + b ( 1 – T r ) 2 / 3 + c ( 1 – T r ) + d ( 1 – T r ) 4 / 3 (9-89)
e + fT r + gT r2 + hT r3
V r, δ = ---------------------------------------------------- (9-90)
T r – 1.00001
1
V mix = ---
4 xi Vi + 3 xi Vi2 / 3 xi Vi1 / 3 (9-91)
i i i
-----
T
T- T < Tc
Tr = c (9-93)
1 T ≥ Tc
ω = xi ωi (9-94)
i
where the volume, Vi and acentric factor, ωi for species i are model specific parameters.
If the COSTALD volume parameter is unspecified, it is estimated from the van der
Waals volume when VVDW,i> 0.3×10-3 m3/mol
2
V i = 5.385 V VDW, i – 5.1022VVDW 3
+ 79.524VVDW (9-95)
,i ,i
4 5 6
– 99.316VVDW, i + 100.88VVDW, i – 1152.7VVDW, i
V i = V c, i (9-96)
If the COSTALD acentric factor, ωi is not specified then it can be set equal to the
generic acentric factor for species i. 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. 31 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:
Vl = R
-
---------------------------
( MW ) i P c, i Z r, i
xi ( MW )i (9-97)
i i i
xi Tc, i
Tc = (9-98)
i
-----
T
T- T < Tc
Tr = c (9-99)
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 (9-100)
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 9-3: UNIT FOR TEMPERATURE-DEPENDENT PROPERTIES.
PROPERTY UNIT
Ideal Gas
The ideal gas law is independent of composition and determines V at given T and P.
Density can be calculated from
1
ρ = ---- (9-101)
V
ln φ̂ i = 0 (9-102)
T
xi Hi, ig, T T
H ig = + C P, i, ig dT (9-103)
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 = xi Si, ig, T ref
– R ln x i + T ref
-----------------
T P ref (9-104)
i
where Si,ig,Tref is the entropy of an ideal gas to the entropy of species at the selected
reference state.
Equation of State
The equation of state determines V at given x, T, and P. Density can be expressed as
Equation 9-101. The partial fugacity coefficients are derived from
P
0 Vi – --------
1 ˆ RT
ln φ̂ i = -------- (9-106)
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
H = H ig – RT 2 xi -------------
∂T
- (9-107)
i
∂ ln φ̂ i
S = S ig – R xi ln φ̂i + T -------------
∂T
- (9-108)
i
G = G ig – RT xi ln φ̂i (9-109)
i
Heat Capacity
∂H
C P = -------- (9-110)
∂T P,x
∂H
C v = -------- (9-111)
∂T v,x
The relationship between heat capacity at constant pressure and constant volume can
be expressed as:
∂V ∂P
C p – C v = T ------- ------- (9-112)
∂T P,x ∂T v,x
∂V 2
T -------
∂T P,x
C v = C P + ------------------------ (9-114)
∂V
-------
∂P T,x
Cp – Cv = R (9-115)
Cp
ϒ = ------- (9-116)
Cv
T
2 ∂ ln γ i
H = xi Hi, ig, T ref
+ T ref
C P, i, ig dT – ΔH i, vap – RT --------------
∂T
(9-117)
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
- (9-118)
i
∂ ln γ i ∂ ln φ̂ i, sat ΔH i, vap
+ ln γ i + T -------------- + ln φ̂ i, sat + T ------------------------ + R ---------------------
∂T ∂T T
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 (9-120)
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 (9-122)
φ̂ i, q
K i, p, q = --------- (9-123)
φ̂ i, p
γ i, q
K i, p, q = --------- (9-124)
γ i, p
xi Mi
M mix = (9-125)
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.
Hf,i,ref is calculated such that it matches the reference state of the package, even if the
species have a different reference state. Similarly, the absolute entropy of each species
is taken into account according to
SF = S + xi Sabs, i (9-128)
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.
S i = ΔS f, i = νj Sabs, j (9-129)
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 (9-130)
Reference State
The reference temperature, pressure and phase can be specified for each package and
for species within a package. The reference phase can be a real phase or an ideal gas. If
a reference temperature, pressure, or phase is unspecified for a particular species, the
package reference temperature, pressure, or phase is used for that species.
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
Vapor
Ideal
xi λi, v + Δλv, P
λv = (9-132)
i
The pressure correction Δλv,P is calculated from the method of Stiel and Thodos, see
Ref. 32, 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 ) ) (9-133)
MT c1 / 6 Z c5
ρ
ρ r = ----- (9-134)
ρc
1
ρ c = ------ (9-135)
Vc
xi xj Vc, i, j
Vc = (9-136)
i j
xi ωi
ω = (9-138)
i
RT c Z c
P c = ----------------- (9-140)
Vc
1
V c, i, j = --- ( V c1,/i3 + V c1, /j3 ) 3 (9-142)
8
T c, i, j = T c, i T c, j (9-143)
A B C
8
ρr < 0.5 A1=2.702×10 B1=0.535 C1=-1
8
0.5 ≤ ρr < 2.0 A2=2.528×10 B2=0.670 C2=-1.069
8
ρr ≥ 2.0 A3=0.574×10 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. 34) provided an equation for the interaction parameters
of the method of Wassiljewa (see Ref. 35) based on the kinetic theory, to provide
mixture thermal conductivity from pure species values
2
T + 3
--- T 9
1 η i, v M j 3 / 4 2 b, i T + --4- T b, i T b, j
φ i, j = --- 1 + ---------- ------- ------------------------------ ---------------------------------------------- (9-147)
4 η j, v M i 3
T + --- T b, i
3
T + --2- T b, j
2
where the pressure correction Δλv,P is calculated from Equation 9-133. 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
x i λ i, l
λ l, m = (9-151)
i
The pressure dependence is based on the work of Missenard (Ref. 52) where
λ l, m , P
----------------- = 1 + QP r0.7 (9-152)
λ l, m
T
T r = ------ (9-154)
Tc
P
P r = ------ (9-155)
Pc
RT c Z c
P c = ----------------- (9-156)
Vc
x i V c, i
Vc = (9-157)
i
x i T c, i
Tc = (9-158)
i
x i Z c, i
Zc = (9-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
(9-160)
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. 53 and Ref. 54). The pressure dependence is introduced using Equation 9-152
through Equation 9-159. All values for critical temperatures, Tc,i, critical volumes, Pc,i
and critical compressibility factors, Zc,i must be specified for all spices i.
The local composition model by Rowley (Ref. 54) uses an ideal and excess
contribution
xi Mi
ω i = -------------------- (9-163)
xj Mj
j
where Gj,i follows from Equation 9-57. The binary interaction terms follow from
ω i ω i, i λ i, l + ω j ω j, j λ j, l
λ i, j = λ j, i = -------------------------------------------------------- (9-165)
ω i ω i, i + ω j ω j, j
λ i, i = λ i, l (9-166)
and
ω i, i = ω i ( ω i + ω j G j, i ) (9-167)
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 = -------------------------------------------------- (9-168)
M i G j, i + M j G i, j
Rowley (Ref. 53) adapted the local composition model by replacing the mixing rule in
Equation 9-165 by the following
M i ( ω i ω i, i )λ i, l + M j ( ω j ω j, j )λ j, l
λ i, j = λ j, i = ---------------------------------------------------------------------------------- (9-169)
M i ( ω i ω i, i ) + M j ( ω j ω j, j )
which he found to produce better model predictions in most cases where both the
Local Composition model and Power Law model have trouble. However, the model
is not as generally applicable; for instance, systems containing H2O are not well
described by this model due to the low molecular weight of H2O.
Water (IAPWS)
VISCOSITY
Vapor
Wilke
Wilke, see Ref. 37, based his method for mixture viscosity of the vapor phase on kinetic
theory:
2
η i, v M j 1 / 4
1 + ---------- --------
η j, v Mi
ψ i, j = ------------------------------------------------------ (9-174)
Mi
8 1 + -------
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. 38) uses the same basic equation as Wilke (Equation 9-173).
However, Equation 9-174 is replaced by
η i, v
ψ i, j = S i, j A i, j ---------
- (9-175)
η j, v
β i, j RM i, j – RM i0.45 ,j
A i, j = -------------------- 1 + ----------------------------------------------------------------------------------------- (9-176)
RM i, j 1 + RM i0.45
2 ( 1 + RM i, j ) + ------------------------------------------------
,j
( β ) ( 1 + RM )
i, j i, j
where
4M i M j 1 / 4 Mi
β i, j = ----------------------------2 , RM i, j = ------- (9-177)
( 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. 39)
Stockmayer’s polar parameter δs,i(Ref. 40 and Ref. 41) are specified for both species i
and j then
Otherwise,
S i, j = 1 (9-179)
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 = ----------------------- (9-180)
T c1 / 6 101325 2 / 3
where ξ is calculated from the correlation of Jossi (Ref. 42), 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 (9-181)
– 0.40758 ρ r3 + 0.093324 ρ r4
ρ
ρ r = ----- (9-182)
ρc
1
ρ c = ------ (9-183)
Vc
RT c Z c
P c = ----------------- , V c =
Vc x i V c, i , T c = x i T c, i (9-184)
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 and Brokaw mixture models.
The vapor viscosity follows from
η v = η v, Wilke + Δη v, P (9-186)
The corresponding states viscosity model of Pedersen (Ref. 43 and Ref. 44) applies to
both vapor and liquid phases of hydrocarbon mixtures. The selected reference species
is CH4.
The CH4 viscosity is calculated from Ref. 45, modified by Pedersen and Fredunsland
(Ref. 46) to avoid issues below 91 K where CH4 becomes solid
η CH = η CH 4, 0 + ρ CH 4 η CH , 1 + F 1 η CH , 2 + F 2 η CH , 3 (9-187)
4 4 4 4
where
H+1
F 1 = -------------- (9-188)
2
1–H
F 1 = -------------- (9-189)
2
exp ( ΔT ) – exp ( – ΔT )
H = ------------------------------------------------------------- (9-190)
exp ( ( ΔT ) + exp ( – ΔT ) )
ΔT = T – 91 (T ∈ K) (9-191)
Here, ρCH4 is used in g/cm3; for the mass-mole conversion of ρCH4, a molecular
weight of MCH4 = 16.042568 g/mol is used.
The first density correction for the moderately dense gas is given by
T 2
η CH4, 1 = L 10 – L 11 1.4 – ln ---------- (9-193)
168
L 12 L 15
η CH4, 2 = exp --------- – L 13 exp ( 10 ρ CH4 ) L 14 – ----------- + (9-194)
T T 3 / 2
ρ CH – ρ c, CH4 L 17 L 18
4 - ( ρ CH ) L 16 + --------
------------------------------------ - + --------- – 1
ρ 4 T 2
c, CH 4 T
L 19 L 22
η CH4, 3 = exp --------- – L 20 exp ( 10 ρ CH 4 ) L 21 – -----------
T T 3 / 2 (9-195)
ρ CH 4 – ρ c, CH 4 L 24 L 25
+ -----------------------------------
- ( ρ CH ) L 23 + --------
4
- + --------- – 1
ρ c, CH T T2
4
with the values of the parameters L1 through L25 are listed in Table 9-5 below:
TABLE 9-5: METHANE VISCOSITY NUMERICAL COEFFICIENTS.
Here, ρCH4 is used in g/cm3; the critical density is given by ρc,CH4 = 0.16284 g/cm3.
The following equation by McCarty (Ref. 47) is solved for the density of CH4
N 15 N 16 ρ CH7
4 N 18 N 19 ρ CH9
4
+ ρ CH
6 – ---------- + ---------- + N 17 ------------- + ρ CH
8 ---------- + ---------- + N 20 -------------
4
T T
2 T 4
T T
2 T
3 N 22 N 23 N 24 N 25 N 26 N 27
+ exp ( – N 21 ρ CH
2 ) ρ CH 2
- – ---------- + ρ CH
--------- 3
5
2
- + ---------- + ρ CH
--------- 4
7 ---------
- + ----------
4
4
T T
4
T T
4
T2 T
3
N 28 N 29 N 30 N 31 N 32 N 33 4
+ ρ CH
9
2
- – ---------- + ρ CH
– --------- 4 2
- + ---------- + ρ CH
11 – ---------
3 2
- – ---------- + N 34 T
13 ---------
3
4
T T
4
T T
4
T T
With the viscosity and density of CH4 defined, the viscosity of any mixture, ηm, can be
calculated from the corresponding states principle
–1
Tc ------ Pc 2 / 3 Mm 1 / 2 α
η m = ------------------ 6 ----------------- --------------- ------------- η CH4, P 0, T 0 (9-197)
T c, CH P c, CH M CH α CH
4 4 4 4
P c, CH α CH
P 0 = -----------------4 P -------------4 (9-199)
Pc α
The following mixing rules are used for the critical properties, see Ref. 48:
x i x j β i, j T c, i T c, j
(9-200)
i j
T c = -----------------------------------------------------------
-
x i x j β i, j
i j
8 x i x j β i, j T c, i T c, j
(9-201)
i j
--------------------------------------------------------------
-
Pc =
2
xi xj βi, j
i j
T c, i 1 / 3 T c, j 1 / 3 3
β i, j = ---------- + ---------- (9-202)
P c, i P c, j
The parameter α is
–3 0.5173
α = 1 + 7.378 ×10 ρ r1.847 M m (9-203)
ρ
CH 4, P 0, T 0
ρ r = --------------------------
- (9-204)
ρ c, CH4
where
T c, CH
T 0 = ------------------4 T (9-205)
Tc
P c, CH
P 0 = -----------------4 P (9-206)
Pc
–3 0.5173
α CH 4 = 1 + 7.378 ×10 ρ r1.847 M CH 4 (9-207)
–4 2.303 2.303
M m = 1.304 ×10 ( M W – MN ) + MN (9-208)
xi Mi
2
i (9-209)
M W = --------------------
-
MN
xi Mi
MN = (9-210)
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 (9-216)
i
The values of pure species log liquid viscosity correlation are mixed ideally using the
weight fractions ωi
ωi ln ηi, l
ln η l, m = (9-217)
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
(9-218)
i
The model is noted in Ref. 51 to provide reasonable results for hydrocarbon mixtures
of similar components.
The model requires that the log liquid viscosity correlation is available for all species i.
3
η l, m =
ω i η i1, /l3
(9-219)
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. 55 - Ref. 58). This
property is referred to as the Maxwell-Stefan diffusivity. The Maxwell-Stefan diffusivity
is symmetric, D i, j = D j, i , and the diagonal elements D i, i are not used. T
Fuller et al. (Ref. 59) 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 = -------------------------------------------------------------------------------
1 1 2
- (9-225)
---
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. 60):
TABLE 9-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
I 29.8
S 22.9
Aromatic Ring -18.3
Heterocyclic Ring -18.3
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. 61) also modified the Chapman-Enskog relation to correlate
binary diffusion coefficient in vapor phase according to:
3.03 – --------------------- T
0.98 1.5
0 –2 MW i, j
D i, j = 10 × -------------------------------------------------------
2
- (9-226)
Pσ i, j Ω D MW i, j
where
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 = ------------------------------- (9-228)
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 (9-229)
-0.15610
Ω D = 1.06036 T∗ + 0.19300 exp ( -0.47635 T∗ ) (9-230)
+ 1.03587 exp ( -1.52996 T∗ ) + 1.76474 exp ( -3.89411 T∗ )
with
T
T∗ = -------- (9-231)
ε 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 (9-232)
LJ
If ε i is not specified in the database, it is instead estimated from:
LJ
εi
--------
- = 1.15T i, l, b (9-233)
k
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 else 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. 63) for liquid phase diffusion coefficients at
infinite dilution is:
0 – 18 T φj Mj
D i, j = 1.858795959 × 10 --------------------
0.6
- (9-235)
η 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, V i, l, b , is required. The
Wilke-Chang association parameter φ j , if unavailable, is set to:
TABLE 9-9: ASSOCIATION PARAMETERS FOR SOLVENT
SOLVENT ASSOCIATION
PARAMETER
Species are identified by their CAS number or SMILES formula. The Wilke-Chang
correlation is not suitable for diffusion of water. If water is the solute, the correction
suggested by Kooijman (Ref. 65) is applied where liquid molar volume of water at
normal boiling point, Vwater,l,b is multiplied by 4.5.
The Correlation by Tyn and Calus (Ref. 66) 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 ------------------------------------- (9-236)
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
3
normal boiling point, Vj,l,b and the parachor, Pj are corrected by a factor of 8 × 10 η j .
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. 67) 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:
0 – 12 1.52 0.07244359601
D i, j = 1.25 × 10 T ------------------------------------------ – 0.292 (9-237)
0.19
V i, l, b
9.58 × 10 -
–6
--------------------------- – 1.12
3 V i, l, b
× ( η j × 10 )
Normal paraffin solutions: In case both the solute and solvent are normal paraffins
(derived from SMILES formula), the correlation reads:
1.29
0 – 16 T Pj
D i, j = 3.8934239 × 10 ---------------------------------------------
0.92 0.23 0.42
- (9-239)
η 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
3
normal boiling point, Vj,l,b and the parachor, Pj are corrected by a factor of 8 × 10 η j .
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. 68) 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
- (9-240)
ηj ( V i, l, b )
For all other systems, the equation for organic solution is used as:
0.265
0 – 15 T ( V j, l, b )
D i, j = 1.459473761 × 10 ----------------------------------
0.907 0.45
- (9-241)
ηj ( V i, l, b )
Where T is temperature, Vi,l,b is liquid volume at normal boiling point and η j is the
viscosity of the solvent.
Erkey-Rodden-Akgerman
ref 6
0 –9 T ( V – V j ) ×10
D i, j = 94.5 × 10 ------------------------------------------------------------------------------------ (9-242)
0.239 0.781 – 20 1.134
Mi Mj ( σ i σ j × 10 )
ref 1 3
Vj = ------- b j N Av σ j (9-243)
2
NAv is Avogadro’s number, and the deviation from closest packing volume is given by
σi
b j = 1.206 + 0.0632 ----- (9-244)
σ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. 70), and for some species are taken from Ref. 69 and
Ref. 71 as:
TABLE 9-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 10−12 mol/m3.
0 0
D i, j, x j → 1 = D i, j = D i, j (9-246)
Similarly,
0 0
D i, j, xi → 1 = D j, i = D j, i (9-247)
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 (9-248)
For binary systems, Equation 9-245 reduces to the Vignes interpolation formula.
Wesseling-Krishna
0 0
D i, j, xk → 1 = D i, j D j, i (9-250)
leading to:
0 ( 1 + xj – xi ) ⁄ 2 0 ( 1 + xi – xj ) ⁄ 2
D i, j = ( D i, j ) ( D j, i ) (9-251)
Kooijman-Taylor
Kooijman and Taylor (Ref. 74) 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 ) (9-252)
leading to:
Wesselingh and Bollen (Ref. 75) asserted that this is a reasonable estimate.
Krishna-van Baten
Krishna and van Baten (Ref. 76), on the basis of data obtained from molecular
dynamic simulations, proposed the following Vignes-based (Ref. 72) 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 ) (9-254)
The model reduces to the Kooijman-Taylor model for xi = xj. The value of D i, j, xk → 1
is undefined in the limit of both x i → 0 and x j → 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, x k → 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 ) (9-255)
– 10
where ε x = 10 is taken as a small composition. The limiting case for both
x i → 0 and x j → 0 also reduces to the Kooijman-Taylor model. This equation leads
to:
n xi + εx
----------------------------- xj + εx
----------------------------- xk
x + x + 2ε x x i + x j + 2ε x
0 xj 0 xi
( D0 ) i j
∏
0
D i, j = ( D i, j ) ( D j, i ) i, k
( D j, k )
(9-256)
k = 1
k ≠ i, j
Surface Tension
Below the available surface tension models are presented.
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 = (9-257)
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. 77), 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
-
i j
σ vl = -------------------------------------------------------------
- (9-258)
x i, l 2
ρ i, l--------
i
References
3. 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.
4. M.A. Trebble and P.R. Bishnoi, “Accuracy and consistency comparisons of ten cubic
equations of state for polar and non-polar compounds”, Fluid Phase Equilibria,
vol. 29, pp. 465–474, 1986.
5. B.E. Poling, J.M. Prausnitz, and J.P. O’Connell, The Properties of Gases and
Liquids, McGraw-Hill, international edition, 2007.
8. 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.
11. M.S. Graboski and T.E. Daubert, “A modified Soave equation of state for phase
equilibrium calculations, 3, systems containing hydrogen,” Industrial &
Engineering Chemistry Process Design and Development, vol. 18, no. 2, pp. 300–
306, 1979.
12. 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.
15. K.C. Chao and J.D. Seader, “A general correlation of vapor-liquid equilibria in
hydrocarbon mixtures,” AIChE Journal, vol. 7, no. 4, pp. 598–605, 1961.
16. J.H. Hildebrand and R.L. Scott, “The solubility of non-electrolytes,” Journal of
Physical Chemistry, vol. 55, no. 4, pp. 619–620, 1951.
17. 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.
19. G.M. Wilson, “Vapor-liquid equilibrium. xi. a new expression for the excess free
energy of mixing,” Journal of the American Chemical Society, 86:127–130, 1964.
21. 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 Journal, vol. 21, no. 1, pp. 116–128, 1975.
30. R.W. Hankinson and G.H. Thomson, “A new correlation for saturated densities
of liquid and their mixtures,” AIChE Journal, vol. 25, no. 4, pp. 653–663, 1979.
31. H.G. Rackett, “Equation of state for saturated liquids,” Journal of Chemical and
Engineering Data, vol. 15, no. 4, pp. 514–517, 1970.
32. L.I. Stiel and G. Thodos, “The thermal conductivity of nonpolar substances in the
dense gaseous and liquid regions,” AIChE Journal, vol. 10, no. 1, pp. 26–30, 1964.
34. A.L. Lindsay and L.A. Bromley, “Thermal conductivity of gas mixtures,”
Industrial and Engineering Chemistry, vol. 42, no. 8, pp. 1508–1511, 1950.
36. 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.
37. C.R. Wilke, “A viscosity equation for gas mixtures,” The Journal of Chemical
Physics, vol. 18, no. 4, pp. 517– 520, 1950.
38. R.S. Brokaw, “Approximate formulas for the viscosity and thermal conductivity of
gas mixtures. ii,” The Journal of Chemical Physics, vol. 42, no. 4), pp. 1140–1147,
1965.
39. 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.
40. W.H. Stockmayer, “Second virial coefficients of polar gases,” The Journal of
Chemical Physics, vol. 9, pp. 398–402, 1941.
41. F.M. Mourits and F.H.A. Rummens, “A critical evaluation of Lennard-Jones and
Stockmayer potential parameters and of some correlation methods,” Canadian
Journal of Chemical Engineering, vol. 55, pp. 3007–3020, 1977.
43. K.S. Pedersen and P.L. Christensen, “Phase Behavior of Petroleum Reservoir
Fluids,” CRC Press/Taylor & Francis Group, 2007.
45. H.J.M. Hanley, W.M. Haynes, and R.D. McCarty, “The viscosity and thermal
conductivity coefficients for dense gaseous and liquid methane,” Journal of Physical
Chemistry, vol. 6, no. 2, pp. 597–609, 1977.
46. K.S. Pedersen and A. Fredenslund, “An improved corresponding states model for
the prediction of oil and gas viscosities and thermal conductivities,” Chemical
Engineering Science, vol. 42, no. 1, pp. 182–186, 1987.
48. S. Murad and K.E. Gubbins, “Corresponding states correlation for thermal
conductivity of dense fluids,” Chemical Engineering Science, 32(5):499–505, 1977.
49. 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.
50. 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.
53. R.L. Rowley, G.L. White, and M. Chiu, “Ternary liquid mixture thermal
conductivities,” Chemical Engineering Science, vol. 43, no. 2, pp. 361–371, 1988.
54. R.L. Rowley, “A local composition model for multicomponent liquid mixture
thermal conductivities,” Chemical Engineering Science, vol. 37, no. 6, pp. 897–904,
1982.
56. J.C. Maxwell, “On the dynamical theory of gases,” Philosophical Transactions of
the Royal Society of London, vol. 157, pp. 49–88, 1867.
57. 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.
59. 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.
60. E.N. Fuller, K. Ensley and J.C. Giddings, “Diffusion of halogenated hydrocarbons
in helium. The effect of structure on collision cross sections,” The Journal of Physical
Chemistry, vol. 73, no. 11, pp. 3679–3685, 1969.
61. 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.
62. 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,” The
Journal of Chemical Physics, vol. 57, pp. 1100–1102, 1972.
66. M.T.Tyn and W.F Calus. Diffusion Coefficients in dilute binary mixtures. Journal
of Chemical and Engineering Data, vol. 20, no. 1, pp. 106–109, 1975.
69. C. Erkey, J.B. Rodden and A. Akgerman, “A correlation for predicting diffusion
coefficients in alkanes”, The Canadian Journal of Chemical Engineering, vol. 68,
pp. 661–665, 1990.
70. A. Bondi, “Van der waals volumes and radii”, Journal of Physical Chemistry,
vol. 68, no. 3, pp. 441-451, 1964.
71. J.O. Hirschfelder, C.F. Curtiss and R.B. Bird, “The Molecular Theory of Gases
and Liquids”, Wiley-Interscience, 1964.
73. J.A. Wesselingh and R. Krishna, “Mass Transfer”, Ellis Horwood Ltd, 1990,
ISBN: 0-13-553165-9.
75. J.A. Wesselingh and A.M. Bollen, “Multicomponent diffusivities from the free
volume theory”, Chemical Engineering Research and Design, 75(6):590–602,
1997.
76. 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,” Industrial and Engineering Chemistry Research,
vol. 44, pp. 6939–6947, 2005.
77. P.H. Winterfield, L.E. Scriven, and H.T. Davis, “An approximate theory of
interfacial tension of multicomponent systems: Applications binary liquid-vapor
tensions,” AIChE Journal, vol. 24, no. 6, pp. 1010–1014, 1978.
79. E.C. Carlson, “Don’t Gamble With Physical Properties For Simulation”,
Chemical Engineering Progress, vol. 92, no. 10, pp. 35–46, 1996.
The Battery Design 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.
701
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.
Glossary
705
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.
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.
transport number The amount of the current that is transported by one of the species
in a binary electrolyte. Also called the transference number.
INDEX| 711
CAPE-OPEN compliant packages 609 current sources, theory 125
cathodes 38 current-controlled current source
cathodic charge transfer coefficient 195 (node) 113
cathodic Tafel equation 204 current-controlled voltage source
CFL number (node) 113
settings 493, 545 cyclic voltammetry 221
change cross-section (node) 90
D Darcy velocity 448, 527
change thickness (out-of-plane) (node)
Darcy’s law interface 513
90
theory 581
charge conservation (node) 80
Debye length 42
charge conservation, piezoelectric
device models, electrical circuits 130
(node) 91
diffusion models 364
charge discharge cycling (node) 182
diode (node) 119
charge relaxation theory 123
diode transistor model 136
charge transfer reaction 194
distributed impedance (node) 100
charge transfer reactions 168
documentation 29
checklist, for modeling 59
domain nodes
chemical equilibrium 394
battery interfaces, shared 264
chronoamperometry 221
battery with binary electrolyte 242
circuit import, SPICE 122
Brinkman equations 545
collector node 116
Darcy’s law 515
common settings 28
electric currents 94
concentration (node)
electrochemistry interfaces 160
battery interfaces 273
electrophoretic transport interface
transport of diluted species 332
416
conduction loss (time-harmonic) (node)
electrostatics 78
82
free and porous media flow 536
contact impedance (node) 101
lead-acid battery 246
convection 448
transport of concentrated species 369
convective terms, diluted species 440
transport of diluted species 323
coulometry 221
double layer capacitance (node) 174
coupling, to the electrical circuits inter-
drain node 117
face 69
Dusty gas model 365
creeping flow (spf) interface 488
E edge electrode (node) 146
critical point 625
edge nodes
current (node) 419
battery interfaces 264
current density (node) 419
Darcy’s law interface 515
current source (node) 187
electric currents 94
712 | I N D E X
electrochemistry interfaces 160 battery interfaces 237
electrode, shell 185 electrochemistry 168
electrostatics 78 electrode surface (node) 165
surface reactions 424 electrode symmetry axis current source
electric currents interface 92 (node) 148
theory 127 electrode, shell interface 184
electric displacement field (node) 85 theory 219
electric fields theory 123 electrode-electrolyte boundary interface
electric insulation (node) (node)
electrode, shell 188 current distribution 177
electric potential 277 electrode-electrolyte interface coupling
electric potential (node) 84 (node)
electrode, shell 189 free and porous media flow 524, 540
electric reference potential (node) 181 transport of diluted species 341, 377
electrical circuit interface 107 electrode-electrolyte interfaces 38
theory 129 electrodes 37
electrical circuits electrolysis 37
modeling techniques 68 electrolyte 193
electroanalysis interface 190 electrolyte (node)
theory 221 battery interfaces 265
electroanalysis, definition 221 primary and secondary current distri-
electrochemical cells 38 bution 143
electrochemical impedance spectrosco- tertiary current distribution 155
py (EIS) 221 electrolyte current (node) 175
electrochemical sensing 221 electrolyte current density (node) 176
electrode 193 electrolyte current source (node) 163
electrode (node) electrolyte line current source (node)
electrochemistry 162 147
electrode, shell 186 electrolyte points current source (node)
electrode current (node) 178 149
electrode current density (node) 178 electrolyte potential 196
electrode current source (node) 162 electrolyte potential (node) 175
electrode line current source (node) 147 electrolyte symmetry axis current
electrode points current source (node) source (node) 148
148 electrolyte-electrode domain interface
electrode potential (node) 180 (node) 174
electrode power (node) 179 electrolytes 37
electrode reaction (node) electrolytes, salt concentration 277
INDEX| 713
electromagnetic heat source (multiphys- solution type 625–626
ics coupling) 702 flash calculations 623
electroneutrality 42 flow continuity (node) 509
electrophoretic transport interface 410 flow rate in SCCMs 502
electrostatics interface 76 fluid and matrix properties (node)
theory 123 Brinkman equations 546
elevation 523 Darcy’s law 517
emailing COMSOL 30 fluid flow
emitter node 116 Brinkman equations theory 587
enthalpy of formation 625 fluid properties (node) 537
entropy of formation 625 flux (node) 359, 421
equation of continuity 123 battery interfaces 274
equilibrium potential 194 transport of concentrated species 383
Equilibrium Reaction transport of diluted species 332, 359,
theory for 438 421
equilibrium reaction (node) 338, 387 flux discontinuity (node) 334
equilibrium reaction group (node) 405 Darcy’s law 528
error message, electrical circuits 68 transport of concentrated species 386
exporting transport of diluted species 334
SPICE netlists 73 fracture flow (node) 534
external I vs. U (node) 119 free and porous matrix properties
external I-terminal (node) 121 (node) 538
external short circuit (node) 180 free and porous media flow interface 535
external surface charge accumulation theory 586
(node) 85 Freundlich exponent 454
external thermodynamic packages 609 fully developed flow 502
external U vs. I (node) 120
G galvanic cells 37
extra dimensions 232, 238
gas constant 486
F faradaic current 51 gas diffusion 460
Faraday’s constant 195 gas reacting fluids 390, 400
Faraday’s law 445 gate node 117
Faraday’s laws of electrolysis 225 Gauss’ law and charge relaxation theory
Fick diffusion laws 223 123
Fick equations and diffusivities 460 Gauss’ law equation 125
Fick’s law approximation diffusion 466 general stress (boundary stress condi-
Fick’s law diffusion model 366 tion) 507
flash calculation Gibbs free energy 398
retrograde solution type 625 gravity 511
714 | I N D E X
ground (node) 83, 188 intrinsic volume averages 587
ground node (node) 108 irreversible reaction 394
INDEX| 715
mixture-averaged diffusion model 366, Ohm’s law and charge relaxation theory
464 123
modeling checklist 59 ohmic drop 222
monolayer adsorption 476 open boundary (node)
MPH-files 30 single-phase flow 506
multicomponent diffusion 462 spf interfaces 506
multiphase flash calculations 610 transport of concentrated species 386
multiphysics couplings transport of diluted species 337
electromagnetic heat source (node) outflow (node)
702 electrophoretic transport 422
mutual inductance (node) 117 transport of concentrated species 385
transport of diluted species 331
N n-Channel MOS transistor 116, 133
outlet (node) 503
n-Channel MOSFET (node) 116
single-phase flow 503
negative electrode selection (node) 275
spf interfaces 503
negative porous electrode (node) 248
overpotential 46, 194
Nernst equation 226
Nernst-Einstein relation 326, 344, 348, P pair contact impedance (node) 101
444 pair nodes
Nernst-Planck equations 41, 191 battery interfaces 264
Nernst-Planck-Poisson equations 42 Brinkman equations 545
Nernst-Planck-Poisson Equations inter- Darcy’s law interface 515
face 408 electric currents 94
netlists, SPICE 72, 122 electrochemistry interfaces 160
no flow (node) 528 electrode, shell 185
no flux (node) 330 electrophoretic transport interface
battery interfaces 273 416
transport of concentrated species 385 electrostatics 78
no slip, wall boundary condition 497, 541 free and porous media flow 536
no viscous stress (open boundary) 506 surface reactions 424
nodes, common settings 28 transport of concentrated species 369
nonconservative formulations 440 transport of diluted species 323
non-faradaic reactions (node) 181 partially saturated porous media (node)
normal current density (node) 188 345
normal stress, normal flow (boundary particle intercalation 266
stress condition) 507 p-Channel MOS transistor 116
NPN bipolar junction transistor 130 p-Channel MOSFET (node) 116
NPN BJT (node) 116 periodic condition (node) 146
transport of diluted species 335
O Ohm’s law 140, 193, 445
716 | I N D E X
periodic flow condition (node) 508 porous matrix double layer capacitance
permeability models 519 (node) 164
persistence porous media and subsurface flow
of thermodynamic packages 613 Brinkman equations interface 543
pervious layer (node) 532 Darcy’s law interface 513
physics interfaces, common settings 28 free and porous media flow interface
PNP BJT (node) 116 535
point charge (node) 89 theory, Brinkman equations 587
point charge (on axis) (node) 89 theory, free and porous media flow
point current source (node) 104 586
point current source (on axis) (node) porous media transport properties
105 (node) 342, 345
point mass source (node) positive electrode selection (node) 276
fluid flow 510 positive porous electrode (node) 248
species transport 336 potential (node) 420
point nodes potentiometry 221
battery interfaces 264 potentiostat 229
Brinkman equations 545 predefined couplings, electrical circuits
Darcy’s law interface 515 69
electric currents 94 pressure (node) 524, 527, 529
electrochemistry interfaces 160 pressure head (node) 531
electrode, shell 185 pressure point constraint (node) 509
electrostatics 78 primary current distribution 39
free and porous media flow 536 primary current distribution interface
surface reactions 424 140
point source theory 191
species transport 441 pseudo time step 483
poroelastic storage (node) pseudo time stepping
Darcy’s law 522 settings 493, 545
porous electrode (node) 144, 156
Q quiescent binary electrolytes
battery interfaces 266
battery with binary electrolyte inter-
porous electrode coupling (node) 340
face 288
free and porous media flow 523, 540
lithium-ion battery interface 277
porous electrode reaction (node) 163,
R reacting fluids, gases and liquids 390, 400
271
Reacting Volume 329, 362
porous electrodes 143, 194, 279
reaction (node) 393
porous matrix adsorption/desorption
reaction coefficients (node) 341
reaction (node) 242
reaction source (node) 272
INDEX| 717
reaction thermodynamics (node) 406 species activity (node) 407
reactions (node) species group (node) 406
surface reactions 426 species source (node) 420
tertiary current distribution 157 species thermodynamics (node) 407
transport of concentrated species 380 SPICE
transport of diluted species 328 exporting 73
reference electrode (node) 181 SPICE netlists 72, 122
reservoir (node) 247 standard cubic centimeters per minute
resistive film 199, 292 502
resistor (node) 109 standard flow rate 502
retardation factor 454 standard settings 28
Reuss average 521 stoichiometric coefficients 290, 398
reversible reaction 394 Stokes equations 488
reversible reaction group (node) 403 Stokes flow 488
storage model (node)
S SCCM, flow rate in 502
Darcy’s law 521
secondary current distribution 39
stratified porous media 452
secondary current distribution interface
subcircuit definition (node) 115
140
subcircuit instance (node) 115
theory 191
superficial volume average, porous me-
sector symmetry (node) 102
dia 587
SEI 268
superficial volume averages, porous me-
SEMI standard E12-0303 501
dia 448
semiconductor device models 130
supporting electrolyte 221
separator (node)
Supporting Electrolytes 444
battery with binary electrolyte inter-
surface charge density (node) 84
face 266
surface concentration (node) 427
current distribution 157
surface equilibrium reaction (node) 340,
lead battery interface 249
388
single-phase flow interface
surface properties (node) 425
laminar flow 489
surface reactions interface 423
sliding wall 499
theory 475
slip, wall boundary condition 497, 541
switch (node) 114
solid electrolyte interface 268
symmetry (node) 505
solid-electrolyte interface, SEI 292
Darcy’s law 528
Soret effect 467
electrochemistry 164
source node 117
spf interfaces 505
space charge density (node) 83
transport of concentrated species 385
species (node) 398
718 | I N D E X
transport of diluted species 333 thickness
fracture 353
T Tafel equation 204
out-of-plane 530
Tafel law 47
thin diffusion barrier (node) 337
technical support, COMSOL 30
Thin Impermeable Barrier 338
tertiary current distribution 39
thin low permittivity gap (node) 87
tertiary current distribution interface
tortuosity factors 450
theory 191
traction boundary conditions 506
tertiary current distribution,
transference number 265
Nernst-Planck interface 150
transformer (node) 117
theory
transport mechanisms 370, 374, 377
battery with binary electrolyte 288
transport number 265, 288
Brinkman equations 587
transport of concentrated species inter-
Darcy’s law 581
face 363
electric currents interface 127
theory 459
electric fields 123
transport of diluted species in porous
electrical circuit interface 129
media interface 322
electroanalysis interface 221
theory 437
electrode, shell interface 219
transport of diluted species interface
electrostatics interface 123
318, 354
free and porous media flow 586
theory 436
lead-acid battery 296
turbulent mixing (node)
lithium-ion battery 277
transport of concentrated species 378
primary current distribution interface
transport of diluted species 327
191
secondary current distribution inter- V voltage source (node) 110
face 191 voltage-controlled current source
surface reactions 475 (node) 113
tertiary current distribution interface voltage-controlled voltage source (node)
191 112
transport of concentrated species in- voltammetry, cyclic 221
terface 459 voltmeter (node) 109
transport of diluted species in porous volume averages 587
media interface 437 volume force (node) 496, 548
transport of diluted species interface free and porous media flow 539
436 spf interfaces 496
thermal diffusion 467
W wall (node)
thermodynamics package 609
free and porous media flow 541
adding 610
single-phase flow 497
INDEX| 719
websites, COMSOL 30
720 | I N D E X