
The Chemical Reaction Engineering Module User’s Guide
Version 6.2 (2023)
COMSOL
/7f089f784141d72d38922335a05b160c959cd60226ed7c889...
ChemicalReactionEngineeringModuleUsersGuide Chemical Reaction Engineering Module
User's Guide
Chemical Reaction Engineering Module User's Guide
© 19982023 COMSOL Protected by patents listed on www.comsol.com/patents, or see Help>About COMSOL Multiphysics on the File menu in the COMSOL Desktop for less detailed lists of U.S. Patents that may apply. Patents pending. This Documentation and the Programs described herein are furnished under the COMSOL Software License Agreement (www.comsol.com/sla) and may be used or copied only under the terms of the license agreement. COMSOL, the COMSOL logo, COMSOL Multiphysics, COMSOL Desktop, COMSOL Compiler, COMSOL Server, and LiveLink are either registered trademarks or trademarks of COMSOL AB. All other trademarks are the property of their respective owners, and COMSOL AB and its subsidiaries and products are not affiliated with, endorsed by, sponsored by, or supported by those trademark owners. For a list of such trademark owners, see www.comsol.com/trademarks.
Version: COMSOL 6.2
Contact Information
Visit the Contact COMSOL page at www.comsol.com/contact to submit general inquiries 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 on the COMSOL Access page at www.comsol.com/support/case. Other useful links include:
· Support Center: www.comsol.com/support · Product Download: www.comsol.com/product-download · Product Updates: www.comsol.com/product-update · COMSOL Blog: www.comsol.com/blogs · Discussion Forum: www.comsol.com/forum · Events: www.comsol.com/events · COMSOL Video Gallery: www.comsol.com/videos · Support Knowledge Base: www.comsol.com/support/knowledgebase
Part number: CM021601
Contents
Chapter 1: User's Guide Introduction
About the Chemical Reaction Engineering Module
16
The Scope of the Chemical Reaction Engineering Module . . . . . . . 16
The Chemical Reaction Engineering Module Physics Interface Guide . . . 17
The Material Database . . . . . . . . . . . . . . . . . . . . . 22
Common Physics Interface and Feature Settings and Nodes . . . . . . 22
Where Do I Access the Documentation and Application Libraries? . . . . 22
Overview of the User's Guide
26
Chapter 2: The Chemistry and Reaction Engineering Interfaces
Overview of the Reaction Engineering and Chemistry
Interfaces
30
Using the Reaction Node. . . . . . . . . . . . . . . . . . . . 31
Using the Species Node . . . . . . . . . . . . . . . . . . . . 34
Using the Equation View Node -- Reactions and Species . . . . . . . 37
Theory for the Reaction Engineering and Chemistry Interfaces 38
Reaction Kinetics and Rate Expressions . . . . . . . . . . . . . . 38 The Equilibrium Constant . . . . . . . . . . . . . . . . . . . 39 Handling of Equilibrium Reactions . . . . . . . . . . . . . . . . 43 Reactor Types in the Reaction Engineering Interface . . . . . . . . . 46 Transport Properties . . . . . . . . . . . . . . . . . . . . . 53 CHEMKIN Data and NASA Polynomials . . . . . . . . . . . . . . 57 Working with Predefined Expressions . . . . . . . . . . . . . . . 58 References for the Reaction Engineering Interface . . . . . . . . . . 60
CONTENTS | 3
The Reaction Engineering Interface
61
Features Nodes Available for the Reaction Engineering Interface . . . . . 70
Initial Values . . . . . . . . . . . . . . . . . . . . . . . . 70
Reaction . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Species . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Reversible Reaction Group . . . . . . . . . . . . . . . . . . . 81
Equilibrium Reaction Group. . . . . . . . . . . . . . . . . . . 83
Species Group . . . . . . . . . . . . . . . . . . . . . . . . 85
Additional Source . . . . . . . . . . . . . . . . . . . . . . 85
Reaction Thermodynamics . . . . . . . . . . . . . . . . . . . 86
Species Activity . . . . . . . . . . . . . . . . . . . . . . . 86
Species Thermodynamics. . . . . . . . . . . . . . . . . . . . 86
Feed Inlet. . . . . . . . . . . . . . . . . . . . . . . . . . 87
Generate Space-Dependent Model . . . . . . . . . . . . . . . . 88
Parameter Estimation . . . . . . . . . . . . . . . . . . . . . 97
Experiment . . . . . . . . . . . . . . . . . . . . . . . . . 98
The Chemistry Interface
101
Feature Nodes Available for the Chemistry Interface . . . . . . . . 107
Reaction . . . . . . . . . . . . . . . . . . . . . . . . . 107
Species . . . . . . . . . . . . . . . . . . . . . . . . . 113
Reversible Reaction Group . . . . . . . . . . . . . . . . . . 117
Equilibrium Reaction Group. . . . . . . . . . . . . . . . . . 118
Species Group . . . . . . . . . . . . . . . . . . . . . . . 120
Reaction Thermodynamics . . . . . . . . . . . . . . . . . . 120
Species Activity . . . . . . . . . . . . . . . . . . . . . . 120
Species Thermodynamics. . . . . . . . . . . . . . . . . . . 121
Study Steps for the Reaction Engineering Interface
122
Reactor Types and Solver Study Steps . . . . . . . . . . . . . . 122
Chapter 3: Chemical Species Transport Interfaces
Overview of Chemical Species Transport Interfaces
129
Available Physics Interfaces . . . . . . . . . . . . . . . . . . 129
Coupling to Other Physics Interfaces . . . . . . . . . . . . . . 131
4 | CONTENTS
Adding a Chemical Species Transport Interface and Specifying the Number of Species . . . . . . . . . . . . . . . . . . . . 132
Theory for the Transport of Diluted Species Interface
134
Mass Balance Equation . . . . . . . . . . . . . . . . . . . . 135
Equilibrium Reaction Theory . . . . . . . . . . . . . . . . . 136
Convective Term Formulation. . . . . . . . . . . . . . . . . 138
Solving a Diffusion Equation Only . . . . . . . . . . . . . . . 139
Mass Sources for Species Transport . . . . . . . . . . . . . . 139
Adding Transport Through Migration . . . . . . . . . . . . . . 141
Supporting Electrolytes . . . . . . . . . . . . . . . . . . . 142
Crosswind Diffusion . . . . . . . . . . . . . . . . . . . . 143
Danckwerts Inflow Boundary Condition . . . . . . . . . . . . . 144
Mass Balance Equation for Transport of Diluted Species in Porous
Media . . . . . . . . . . . . . . . . . . . . . . . . . 145
Convection in Porous Media . . . . . . . . . . . . . . . . . 146
Diffusion in Porous Media . . . . . . . . . . . . . . . . . . 148
Dispersion . . . . . . . . . . . . . . . . . . . . . . . . 149
Adsorption . . . . . . . . . . . . . . . . . . . . . . . . 151
Reactions. . . . . . . . . . . . . . . . . . . . . . . . . 153
Mass Transport in Fractures . . . . . . . . . . . . . . . . . 154
The Packed Bed Feature . . . . . . . . . . . . . . . . . . . 155
References . . . . . . . . . . . . . . . . . . . . . . . . 166
Theory for the Transport of Concentrated Species Interface 168 Multicomponent Mass Transport . . . . . . . . . . . . . . . . 168 Multicomponent Gas Diffusion: MaxwellStefan Description . . . . . 169 Multicomponent Diffusivities . . . . . . . . . . . . . . . . . 171 Multicomponent Diffusion: Mixture-Averaged Approximation . . . . . 173 Multispecies Diffusion: Fick's Law Approximation . . . . . . . . . 176 Multicomponent Thermal Diffusion . . . . . . . . . . . . . . . 177 The Packed Bed Feature . . . . . . . . . . . . . . . . . . . 178 Vapor Transport . . . . . . . . . . . . . . . . . . . . . . 186 Regularization of Reaction Rate Expression . . . . . . . . . . . . 188 References for the Transport of Concentrated Species Interface . . . . 189
CONTENTS | 5
Theory for the Electrophoretic Transport Interface
190
Theory for the Surface Reactions Interface
196
Governing Equations for the Surface Concentrations . . . . . . . . 196
Governing Equations for the Bulk Concentrations . . . . . . . . . 197
ODE Formulations for Surface Concentrations . . . . . . . . . . 199
Surface Reaction Equations on Deforming Geometries . . . . . . . 200
Reference for the Surface Reactions Interface . . . . . . . . . . . 201
Theory for the NernstPlanck Equations Interface
202
Governing Equations for the NernstPlanck Formulation. . . . . . . 202
Convective Term Formulation. . . . . . . . . . . . . . . . . 204
Theory for the Reacting Laminar Flow Interface
205
Pseudo Time Stepping for Mass Transport . . . . . . . . . . . . 205
The Stefan Velocity . . . . . . . . . . . . . . . . . . . . . 205
The Chemical Reaction Rate . . . . . . . . . . . . . . . . . 207
Nonisothermal Reacting Flow . . . . . . . . . . . . . . . . . 208
References for the Reacting Flow Interfaces . . . . . . . . . . . 211
The Transport of Diluted Species Interface
212
The Transport of Diluted Species in Porous Media Interface . . . . . 216
The Transport of Diluted Species in Porous Catalysts Interface . . . . 218
The Transport of Diluted Species in Packed Beds Interface . . . . . . 218
Domain, Boundary, and Pair Nodes for the Transport of Diluted
Species Interface. . . . . . . . . . . . . . . . . . . . . 219
Prescribing Conditions on Fluid-Solid Interfaces . . . . . . . . . . 222
Species Properties . . . . . . . . . . . . . . . . . . . . . 222
Transport Properties . . . . . . . . . . . . . . . . . . . . 223
Solid . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Initial Values . . . . . . . . . . . . . . . . . . . . . . . 226
Mass-Based Concentrations . . . . . . . . . . . . . . . . . . 226
Reactions. . . . . . . . . . . . . . . . . . . . . . . . . 227
No Flux . . . . . . . . . . . . . . . . . . . . . . . . . 228
Inflow . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Outflow . . . . . . . . . . . . . . . . . . . . . . . . . 229
Concentration . . . . . . . . . . . . . . . . . . . . . . . 230
Flux . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
6 | CONTENTS
Symmetry . . . . . . . . . . . . . . . . . . . . . . . . 232 Flux Discontinuity . . . . . . . . . . . . . . . . . . . . . 232 Partition Condition . . . . . . . . . . . . . . . . . . . . . 232 Periodic Condition . . . . . . . . . . . . . . . . . . . . . 233 Line Mass Source . . . . . . . . . . . . . . . . . . . . . . 235 Point Mass Source . . . . . . . . . . . . . . . . . . . . . 235 Open Boundary . . . . . . . . . . . . . . . . . . . . . . 236 Thin Diffusion Barrier . . . . . . . . . . . . . . . . . . . . 236 Thin Impermeable Barrier . . . . . . . . . . . . . . . . . . 237 Equilibrium Reaction . . . . . . . . . . . . . . . . . . . . 237 Surface Reactions . . . . . . . . . . . . . . . . . . . . . 238 Surface Equilibrium Reaction . . . . . . . . . . . . . . . . . 239 Fast Irreversible Surface Reaction . . . . . . . . . . . . . . . 239 Porous Electrode Coupling . . . . . . . . . . . . . . . . . . 239 Reaction Coefficients . . . . . . . . . . . . . . . . . . . . 240 Electrode Surface Coupling . . . . . . . . . . . . . . . . . . 240 Porous Medium . . . . . . . . . . . . . . . . . . . . . . 241 Fluid . . . . . . . . . . . . . . . . . . . . . . . . . . 241 Porous Matrix . . . . . . . . . . . . . . . . . . . . . . . 243 Dispersion . . . . . . . . . . . . . . . . . . . . . . . . 244 Unsaturated Porous Medium . . . . . . . . . . . . . . . . . 244 Liquid . . . . . . . . . . . . . . . . . . . . . . . . . . 245 Gas . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 Adsorption . . . . . . . . . . . . . . . . . . . . . . . . 248 Volatilization . . . . . . . . . . . . . . . . . . . . . . . 250 Packed Bed . . . . . . . . . . . . . . . . . . . . . . . . 250 Pellets . . . . . . . . . . . . . . . . . . . . . . . . . . 251 Diffusion (Transport of Diluted Species) . . . . . . . . . . . . . 253 Shrinking Core Reactions . . . . . . . . . . . . . . . . . . 254 Porous Layer Reactions . . . . . . . . . . . . . . . . . . . 255 Reactions (Pellets) . . . . . . . . . . . . . . . . . . . . . 257 Initial Values (Pellets) . . . . . . . . . . . . . . . . . . . . 258 Pellet-Fluid Interface . . . . . . . . . . . . . . . . . . . . 259 Fluid (Porous Catalyst) . . . . . . . . . . . . . . . . . . . 260 Porous Catalyst . . . . . . . . . . . . . . . . . . . . . . 260 Porous Matrix (Porous Catalyst) . . . . . . . . . . . . . . . . 262 Adsorption (Porous Catalyst) . . . . . . . . . . . . . . . . . 262 Surface Reaction (Porous Catalyst) . . . . . . . . . . . . . . . 265
CONTENTS | 7
Species Source. . . . . . . . . . . . . . . . . . . . . . . 266 Hygroscopic Swelling . . . . . . . . . . . . . . . . . . . . 266 Out-of-Plane Flux . . . . . . . . . . . . . . . . . . . . . 267 Fracture . . . . . . . . . . . . . . . . . . . . . . . . . 269 Fluid (Fracture) . . . . . . . . . . . . . . . . . . . . . . 269 Fracture Material . . . . . . . . . . . . . . . . . . . . . . 270
The Transport of Diluted Species in Fractures Interface
271
Boundary, Edge, Point, and Pair Nodes for the Transport of Diluted
Species in Fractures Interface . . . . . . . . . . . . . . . . 273
Adsorption . . . . . . . . . . . . . . . . . . . . . . . . 274
Concentration . . . . . . . . . . . . . . . . . . . . . . . 276
Dispersion . . . . . . . . . . . . . . . . . . . . . . . . 276
Flux . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
Inflow . . . . . . . . . . . . . . . . . . . . . . . . . . 277
No Flux . . . . . . . . . . . . . . . . . . . . . . . . . 278
Outflow . . . . . . . . . . . . . . . . . . . . . . . . . 278
Reactions. . . . . . . . . . . . . . . . . . . . . . . . . 278
Species Source. . . . . . . . . . . . . . . . . . . . . . . 279
The Transport of Concentrated Species Interface
281
The Transport of Concentrated Species in Porous Media Interface . . . 287
The Transport of Concentrated Species in Porous Catalysts Interface. . 288
The Transport of Concentrated Species in Packed Beds Interface . . . 289
The Transport of Concentrated Species in Vapor Interface . . . . . . 290
Domain, Boundary, and Pair Nodes for the Transport of
Concentrated Species Interface . . . . . . . . . . . . . . . 290
Prescribing Conditions on Fluid-Solid Interfaces . . . . . . . . . . 291
Species Properties . . . . . . . . . . . . . . . . . . . . . 292
Transport Properties . . . . . . . . . . . . . . . . . . . . 292
Porous Medium . . . . . . . . . . . . . . . . . . . . . . 295
Transport Properties (Pellets) . . . . . . . . . . . . . . . . . 295
Reactions (Pellets) . . . . . . . . . . . . . . . . . . . . . 297
Initial Values (Pellets) . . . . . . . . . . . . . . . . . . . . 299
Pellet-Fluid Interface . . . . . . . . . . . . . . . . . . . . 299
Porous Catalyst . . . . . . . . . . . . . . . . . . . . . . 301
Vapor Inflow . . . . . . . . . . . . . . . . . . . . . . . 302
VaporLiquid Interface. . . . . . . . . . . . . . . . . . . . 304
8 | CONTENTS
VaporLiquid-Mixture Interface . . . . . . . . . . . . . . . . 307 Fluid . . . . . . . . . . . . . . . . . . . . . . . . . . 310 Adsorption . . . . . . . . . . . . . . . . . . . . . . . . 314 Porous Matrix . . . . . . . . . . . . . . . . . . . . . . . 316 Surface Reaction . . . . . . . . . . . . . . . . . . . . . . 316 Electrode Surface Coupling . . . . . . . . . . . . . . . . . . 317 Reaction . . . . . . . . . . . . . . . . . . . . . . . . . 318 Reaction Sources . . . . . . . . . . . . . . . . . . . . . . 320 Initial Values . . . . . . . . . . . . . . . . . . . . . . . 320 Mass Fraction . . . . . . . . . . . . . . . . . . . . . . . 321 Flux . . . . . . . . . . . . . . . . . . . . . . . . . . . 322 Inflow . . . . . . . . . . . . . . . . . . . . . . . . . . 323 No Flux . . . . . . . . . . . . . . . . . . . . . . . . . 324 Out-of-Plane Flux . . . . . . . . . . . . . . . . . . . . . 324 Outflow . . . . . . . . . . . . . . . . . . . . . . . . . 326 Symmetry . . . . . . . . . . . . . . . . . . . . . . . . 327 Flux Discontinuity . . . . . . . . . . . . . . . . . . . . . 327 Open Boundary . . . . . . . . . . . . . . . . . . . . . . 328 Equilibrium Reaction . . . . . . . . . . . . . . . . . . . . 328 Surface Equilibrium Reaction . . . . . . . . . . . . . . . . . 329
The NernstPlanck Equations Interface
331
Domain and Boundary Nodes for the NernstPlanck Equations
Interface. . . . . . . . . . . . . . . . . . . . . . . . 334
Species Properties . . . . . . . . . . . . . . . . . . . . . 336
Convection, Diffusion, and Migration . . . . . . . . . . . . . . 336
Electric Insulation . . . . . . . . . . . . . . . . . . . . . 337
No Flux . . . . . . . . . . . . . . . . . . . . . . . . . 338
Initial Values . . . . . . . . . . . . . . . . . . . . . . . 338
Reactions. . . . . . . . . . . . . . . . . . . . . . . . . 338
Concentration . . . . . . . . . . . . . . . . . . . . . . . 339
Flux . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
Symmetry . . . . . . . . . . . . . . . . . . . . . . . . 340
Inflow . . . . . . . . . . . . . . . . . . . . . . . . . . 340
Outflow . . . . . . . . . . . . . . . . . . . . . . . . . 341
Flux Discontinuity . . . . . . . . . . . . . . . . . . . . . 341
Current Density . . . . . . . . . . . . . . . . . . . . . . 342
Current Discontinuity . . . . . . . . . . . . . . . . . . . . 342
CONTENTS | 9
Open Boundary . . . . . . . . . . . . . . . . . . . . . . 343 Reference for the NernstPlanck Equations Interface . . . . . . . . 343
The NernstPlanckPoisson Equations Interface
344
The Electrophoretic Transport Interface
346
Common Settings for the Species Nodes in the Electrophoretic
Transport Interface . . . . . . . . . . . . . . . . . . . 350
Diffusion and Migration Settings . . . . . . . . . . . . . . . . 351
Domain, Boundary, and Pair Nodes for the Electrophoretic Transport
Interface. . . . . . . . . . . . . . . . . . . . . . . . 352
Solvent . . . . . . . . . . . . . . . . . . . . . . . . . 353
Porous Matrix Properties . . . . . . . . . . . . . . . . . . 354
Fully Dissociated Species . . . . . . . . . . . . . . . . . . . 354
Uncharged Species . . . . . . . . . . . . . . . . . . . . . 354
Weak Acid . . . . . . . . . . . . . . . . . . . . . . . . 354
Weak Base . . . . . . . . . . . . . . . . . . . . . . . . 355
Ampholyte . . . . . . . . . . . . . . . . . . . . . . . . 355
Protein . . . . . . . . . . . . . . . . . . . . . . . . . 355
Current Source . . . . . . . . . . . . . . . . . . . . . . 356
Initial Potential. . . . . . . . . . . . . . . . . . . . . . . 356
Current . . . . . . . . . . . . . . . . . . . . . . . . . 356
Current Density . . . . . . . . . . . . . . . . . . . . . . 356
Insulation . . . . . . . . . . . . . . . . . . . . . . . . . 356
Potential . . . . . . . . . . . . . . . . . . . . . . . . . 357
Species Source. . . . . . . . . . . . . . . . . . . . . . . 357
Initial Concentration . . . . . . . . . . . . . . . . . . . . 357
Concentration . . . . . . . . . . . . . . . . . . . . . . . 358
No Flux . . . . . . . . . . . . . . . . . . . . . . . . . 358
Flux . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
Inflow . . . . . . . . . . . . . . . . . . . . . . . . . . 359
Outflow . . . . . . . . . . . . . . . . . . . . . . . . . 359
The Surface Reactions Interface
360
Boundary, Edge, Point, and Pair Nodes for the Surface Reactions
Interface. . . . . . . . . . . . . . . . . . . . . . . . 361
Surface Properties . . . . . . . . . . . . . . . . . . . . . 362
Initial Values . . . . . . . . . . . . . . . . . . . . . . . 363
10 | C O N T E N T S
Reactions. . . . . . . . . . . . . . . . . . . . . . . . . 363 Surface Concentration . . . . . . . . . . . . . . . . . . . . 364
The Vapor Flow Multiphysics Interfaces
365
Laminar Vapor Flow, Concentrated Species. . . . . . . . . . . . 365
Laminar Vapor Flow, Concentrated Species, Moving Mesh . . . . . . 366
Turbulent Vapor Flow, Concentrated Species . . . . . . . . 366 Turbulent Vapor Flow, , Concentrated Species . . . . . . . . 366
Turbulent Vapor Flow, SST, Concentrated Species . . . . . . . . . 367
Turbulent Vapor Flow, Low Re , Concentrated Species . . . . . 367
The Reacting Flow, Concentrated Species Multiphysics
Interface
368
The Reacting Laminar Flow, Concentrated Species Interface . . . . . 368
The Reacting Flow Coupling Feature . . . . . . . . . . . . . . 369
Physics Interface Features . . . . . . . . . . . . . . . . . . 373
The Reacting Flow, Diluted Species Multiphysics Interface
375
The Reacting Laminar Flow, Diluted Species Interface . . . . . . . . 375
The Reacting Flow, Diluted Species Coupling Feature . . . . . . . . 376
Physics Interface Features . . . . . . . . . . . . . . . . . . 378
The Reacting Flow in Porous Media Multiphysics Interfaces
379
The Reacting Flow in Porous Media, Transport of Diluted Species
Interface. . . . . . . . . . . . . . . . . . . . . . . . 379
The Reacting Flow in Porous Media, Transport of Concentrated
Species Interface. . . . . . . . . . . . . . . . . . . . . 380
The Reacting Flow in Porous Catalysts, Transport of Diluted Species
Interface. . . . . . . . . . . . . . . . . . . . . . . . 381
The Reacting Flow in Porous Catalysts, Transport of Concentrated
Species Interface. . . . . . . . . . . . . . . . . . . . . 381
The Reacting Flow in Packed Beds, Transport of Diluted Species
Interface. . . . . . . . . . . . . . . . . . . . . . . . 382
The Reacting Flow in Packed Beds, Transport of Concentrated
Species Interface. . . . . . . . . . . . . . . . . . . . . 383
The Reacting Flow, Diluted Species Coupling Feature . . . . . . . . 383
The Reacting Flow Coupling Feature . . . . . . . . . . . . . . 383
Physics Interface Features . . . . . . . . . . . . . . . . . . 384
C O N T E N T S | 11
The Nonisothermal Reacting Flow Multiphysics Interfaces
385
The Nonisothermal Reacting Laminar Flow Interface . . . . . . . . 385
The Nonisothermal Reacting Turbulent Flow, k- Interface. . . . . . 386 The Nonisothermal Reacting Turbulent Flow, k- Interface . . . . . 387
The Nonisothermal Reacting Turbulent Flow, SST Interface . . . . . 388
The Nonisothermal Reacting Turbulent Flow, Low Re k- Interface . . 390
The Reacting Flow Coupling Feature . . . . . . . . . . . . . . 391
Physics Interface Features . . . . . . . . . . . . . . . . . . 391
The Dispersed Two-Phase Flow with Species Transport
Multiphysics Interfaces
393
The Dispersed Two-Phase Laminar Flow with Species Transport
Interface. . . . . . . . . . . . . . . . . . . . . . . . 393
The Dispersed Two-Phase Flow, Diluted Species Coupling Feature . . . 394
Physics Interface Features . . . . . . . . . . . . . . . . . . 397
The Continuous Phase Transport of Diluted Species Interface. . . . . 398
The Dispersed Phase Transport of Diluted Species Interface . . . . . 399
Transport Properties . . . . . . . . . . . . . . . . . . . . 400
Chapter 4: Fluid Flow Interfaces
Modeling Fluid Flow
404
Available Physics Interfaces . . . . . . . . . . . . . . . . . . 404
Coupling to Other Physics Interfaces . . . . . . . . . . . . . . 405
Chapter 5: Heat Transfer Interfaces
Modeling Heat Transfer
408
Available Physics Interfaces . . . . . . . . . . . . . . . . . . 408
Coupling Heat Transfer with Other Physics Interfaces. . . . . . . . 408
12 | C O N T E N T S
Chapter 6: Thermodynamics
Using Thermodynamic Properties
410
Workflow for Thermodynamics Property Calculations . . . . . . . 410
Thermodynamics . . . . . . . . . . . . . . . . . . . . . . 412
Thermodynamic System . . . . . . . . . . . . . . . . . . . 413
External Thermodynamic Packages . . . . . . . . . . . . . . . 421
External Thermodynamic System . . . . . . . . . . . . . . . . 422
Predefined System . . . . . . . . . . . . . . . . . . . . . 425
Exporting and Importing Thermodynamic Systems . . . . . . . . . 428
Species Property . . . . . . . . . . . . . . . . . . . . . . 429
Mixture Property. . . . . . . . . . . . . . . . . . . . . . 435
Equilibrium Calculation . . . . . . . . . . . . . . . . . . . 436
Generate Chemistry . . . . . . . . . . . . . . . . . . . . 440
Generate Material . . . . . . . . . . . . . . . . . . . . . 442
Coupling with the Reaction Engineering and the Chemistry Interfaces . . 446
Evaluating a Property Function in a Physics Interface . . . . . . . . 451
User-Defined Species . . . . . . . . . . . . . . . . . . . . 451
References . . . . . . . . . . . . . . . . . . . . . . . . 457
Thermodynamic Models and Theory
458
Introduction . . . . . . . . . . . . . . . . . . . . . . . 458
Thermodynamic Models . . . . . . . . . . . . . . . . . . . 458
Selecting the Right Thermodynamic Model . . . . . . . . . . . . 473
Species Property References . . . . . . . . . . . . . . . . . 474
Thermodynamic Properties Definitions . . . . . . . . . . . . . 474
Standard Enthalpy of Formation and Absolute Entropy Terms . . . . . 478
Reference State . . . . . . . . . . . . . . . . . . . . . . 480
Transport Properties . . . . . . . . . . . . . . . . . . . . 480
Surface Tension . . . . . . . . . . . . . . . . . . . . . . 506
References . . . . . . . . . . . . . . . . . . . . . . . . 506
C O N T E N T S | 13
Chapter 7: Glossary
Glossary of Terms
514
Index
517
14 | C O N T E N T S
1
User's Guide Introduction
This guide describes the Chemical Reaction Engineering Module, an optional
package that extends the COMSOL Multiphysics® modeling environment with customized physics interfaces and functionality for the analysis of mass transport, chemical reactions, thermodynamic properties, and other features that are important for chemical engineering simulation. 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. · About the Chemical Reaction Engineering Module · Overview of the User's Guide
15
About the Chemical Reaction Engineering Module
In this section: · The Scope of the Chemical Reaction Engineering Module · The Chemical Reaction Engineering Module Physics Interface Guide · Common Physics Interface and Feature Settings and Nodes · The Material Database · Where Do I Access the Documentation and Application Libraries?
The Scope of the Chemical Reaction Engineering Module
The Chemical Reaction Engineering Module is tailor-made for the modeling of chemical systems primarily affected by chemical composition, reaction kinetics, fluid flow, and temperature as functions of space, time, and each other. It has a number of physics interfaces to model chemical reaction kinetics, mass transport in dilute, concentrated, and electric potential-affected solutions, laminar and porous media flows, and energy transport. Included in these physics interfaces are the kinetic expressions for the reacting systems and models for the definition of mass transport. A variety of ready-made expressions are also accessible in order to calculate a system's thermodynamic and transport properties. Like all COMSOL modules, the physics interfaces described in this guide include all the steps available for the modeling process, which are described in detail in the COMSOL Multiphysics Reference Manual (see Where Do I Access the Documentation and Application Libraries?), for example: · Definitions of parameters and model variables. · Creating, importing, and manipulating a geometry. · Specifying the chemical and transport material properties. · Defining the reaction formulas and physics in the system and on boundaries, and
coupling them to other features.
16 | C H A P T E R 1 : U S E R ' S G U I D E I N T R O D U C T I O N
· Meshing a modeling domain with appropriate consideration given to the reaction system's behavior.
· Solving the equations that describe a system for stationary or dynamic behavior, or as a parametric or optimization study.
· Analyzing results to present for further use.
Once a model is defined, you can go back and make changes to all the branches listed above, while maintaining consistency in the other definitions throughout. You can restart the solver, for example, using the existing solution as an initial guess or even alter the geometry, while the equations and boundary conditions are kept consistent through the associative geometry feature. It is also useful to review the Introduction to the Chemical Reaction Engineering Module included with the module's documentation.
While a major focus of this module is on chemical reactors and reacting systems, it is also extensively used for systems where mass transport is the major component. This includes unit operations equipment, separation and mixing processes, corrosion, chromatography, and electrophoresis. The module is also widely used for educational purposes including courses about chemical engineering, chemical reaction engineering, electrochemical engineering, biotechnology, and transport phenomena.
In addition to its application in traditional chemical industries, it is a popular tool for investigating clean technology processes (for example, catalytic monoliths and reactive filters), applications such as microlaboratories in biotechnology, and in the development of sensors and equipment in analytical chemistry.
The notations and structure in this module were inspired by the book Transport Phenomena by Bird, Stewart, and Lightfoot. The work by H. Scott Fogler, Elements of Chemical Reaction Engineering, was also used as an inspiration.
The Chemical Reaction Engineering Module Physics Interface Guide
The appropriate physics interface for modeling a system is first chosen from the Model Wizard. The branches are visible (AC/DC, Acoustics, Structural Mechanics, and Mathematics) as well as the core physics interfaces (Electrostatics, for example) included with COMSOL Multiphysics. The Heat Transfer in Fluids, Single-Phase Flow, Laminar Flow, and Transport of Diluted Species interfaces are also included in
A B O U T T H E C H E M I C A L R E A C T I O N E N G I N E E R I N G M O D U L E | 17
the base package but have increased functionality with this module. See the COMSOL Multiphysics Reference Manual for details pertaining to the base package.
· Modeling Fluid Flow · Modeling Heat Transfer · Creating a New Model in the COMSOL Multiphysics Reference
Manual
When one or several physics interfaces are chosen from the Model Wizard (or if you open the Add Study window), you select an analysis type (stationary, dynamic, or parametric) and then the modeling interfaces are available as a nodes in the Model Builder along with all the other nodes required for modeling (Definitions, Geometry, and so forth). By adding another physics interface, you can account for a phenomenon not previously described in a model. To do this, right-click a Component node in the Model Builder to open the Add Physics window. You can do this at any stage during the modeling process. This action still retains the existing geometry, equations, boundary conditions, and current solution, which you can build upon for further development of the model. The table below lists all the physics interfaces specifically available or enhanced with this module (in addition to the basic COMSOL Multiphysics license). These physics interfaces form the backbone of the module and are based on the equations for chemical reaction kinetics, chemical species transport, as well as for fluid flow and heat transfer in porous media fundamentals.
In the COMSOL Multiphysics Reference Manual: · Studies and Solvers · The Physics Interfaces · For a list of all the core physics interfaces included with a COMSOL
Multiphysics license, see Physics Interface Guide.
18 | C H A P T E R 1 : U S E R ' S G U I D E I N T R O D U C T I O N
PHYSICS INTERFACE
ICON TAG
Chemical Species Transport
SPACE DIMENSION
AVAILABLE STUDY TYPE
Transport of Diluted Species1
Transport of Concentrated Species
Chemistry
tds
all dimensions stationary; time dependent
tcs
all dimensions stationary; time dependent
chem all dimensions stationary; time dependent
Reaction Engineering NernstPlanck Equations
re
0D
time dependent; stationary plug flow
npe
all dimensions stationary; time dependent
NernstPlanckPoisson Equations
Electrophoretic Transport
Transport of Diluted Species in Porous Media Transport of Concentrated Species in Porous Media Surface Reactions
Transport of Diluted Species in Fractures
Vapor Flow
tds+es el tds
all dimensions
stationary; time dependent; stationary source sweep; small-signal analysis, frequency domain
all dimensions
stationary; stationary with initialization; time dependent; time dependent with initialization
all dimensions stationary; time dependent
tcs
all dimensions stationary; time dependent
sr
all dimensions stationary (3D, 2D, and 2D
axisymmetric models only);
time dependent
dsf
3D, 2D, 2D stationary; time dependent
axisymmetric
Laminar Flow, Concentrated Species
--
3D, 2D, 2D stationary; time dependent
axisymmetric
A B O U T T H E C H E M I C A L R E A C T I O N E N G I N E E R I N G M O D U L E | 19
PHYSICS INTERFACE
ICON TAG
Laminar Flow,
--
Concentrated Species,
Moving Mesh
Reacting Flow
SPACE DIMENSION
3D, 2D, 2D axisymmetric
AVAILABLE STUDY TYPE
stationary; time dependent
Laminar Flow
--
Laminar Flow, Diluted
--
Species1
Nonisothermal Reacting Flow
3D, 2D, 2D stationary; time dependent axisymmetric
3D, 2D, 2D stationary; time dependent axisymmetric
Laminar Flow
--
Reacting Flow in Porous Media
3D, 2D, 2D stationary; time dependent axisymmetric
Transport of Diluted Species
Transport of Concentrated Species
Transport of Diluted Species, Porous Catalyst
Transport of Concentrated Species, Porous Catalyst
Transport of Diluted Species, Packed Bed
Transport of Concentrated Species, Packed Bed
Transport of Diluted Species, Packed Bed, Shrinking Core Model
--
3D, 2D, 2D stationary; time dependent
axisymmetric
--
3D, 2D, 2D stationary; time dependent
axisymmetric
--
3D, 2D, 2D stationary; time dependent
axisymmetric
--
3D, 2D, 2D stationary; time dependent
axisymmetric
--
3D, 2D, 2D stationary; time dependent
axisymmetric
--
3D, 2D, 2D stationary; time dependent
axisymmetric
--
3D, 2D, 2D stationary; time dependent
axisymmetric
20 | C H A P T E R 1 : U S E R ' S G U I D E I N T R O D U C T I O N
PHYSICS INTERFACE
ICON TAG
SPACE DIMENSION
AVAILABLE STUDY TYPE
Dispersed Two-Phase Flow with Species Transport
Laminar Flow
--
3D, 2D,
stationary; time dependent
Fluid Flow
Single-Phase Flow
Creeping Flow Laminar Flow1
spf
3D, 2D, 2D
axisymmetric
spf
3D, 2D, 2D
axisymmetric
Porous Media and Subsurface Flow
stationary; time dependent stationary; time dependent
Brinkman Equations Darcy's Law
br
3D, 2D, 2D stationary; time dependent
axisymmetric
dl
all dimensions stationary; time dependent
Free and Porous Media
fp
Flow, Brinkman
Free and Porous Media
--
Flow, Darcy
Nonisothermal Flow
3D, 2D, 2D stationary; time dependent axisymmetric
3D, 2D, 2D stationary; time dependent axisymmetric
Brinkman Equations
Heat Transfer Heat Transfer in Fluids1
--
3D, 2D, 2D stationary; time dependent;
axisymmetric stationary, one-way NITF;
time dependent, one-way
NITF
ht
all dimensions stationary; time dependent
Heat Transfer in Solids and Fluids1
ht
all dimensions stationary; time dependent
A B O U T T H E C H E M I C A L R E A C T I O N E N G I N E E R I N G M O D U L E | 21
PHYSICS INTERFACE
ICON TAG
SPACE DIMENSION
AVAILABLE STUDY TYPE
Heat Transfer in Porous Media
ht
all dimensions stationary; time dependent
1 This physics interface is included with the core COMSOL Multiphysics software but has added functionality for this module.
The Material Database
The Chemical Reaction Engineering Module includes an additional Liquids and Gases material database with temperature-dependent fluid dynamic and thermal properties.
· Liquids and Gases Material Library · Materials
Common Physics Interface and Feature Settings and Nodes
There are several common settings and sections available for the physics interfaces and feature nodes. Some of these sections also have similar settings or are implemented in the same way no matter the physics interface or feature being used. There are also some physics feature nodes that display in COMSOL Multiphysics. In each module's documentation, only unique or extra information is included; standard information and procedures are centralized 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.
Where Do I Access the Documentation and Application Libraries?
A number of online resources have more information about COMSOL, including licensing and technical information. The electronic documentation, topic-based (or
22 | C H A P T E R 1 : U S E R ' S G U I D E I N T R O D U C T I O N
context-based) help, and the Application Libraries are all accessed through the COMSOL Desktop.
If you are reading the documentation as a PDF file on your computer, the blue links do not work to open an application or content referenced in a different guide. However, if you are using the Help system in COMSOL Multiphysics, these links work to open other modules, application examples, and documentation sets.
THE DOCUMENTATION AND ONLINE HELP
The COMSOL Multiphysics Reference Manual describes the core physics interfaces and functionality included with the COMSOL Multiphysics license. This book also has instructions on how to use COMSOL Multiphysics and how to access the electronic Documentation and Help content. Opening Topic-Based Help The Help window is useful as it is connected to the features in the COMSOL Desktop. To learn more about a node in the Model Builder, or a window on the Desktop, click to highlight a node or window, then press F1 to open the Help window, which then displays information about that feature (or click a node in the Model Builder followed by the Help button ( ). This is called topic-based (or context) help.
To open the Help window: · In the Model Builder, Application Builder, or Physics Builder, click a node
or window and then press F1. · On any toolbar (for example, Home, Definitions, or Geometry), hover the
mouse over a button (for example, Add Physics or Build All) and then press F1. · From the File menu, click Help ( ). · In the upper-right corner of the COMSOL Desktop, click the Help ( ) button.
A B O U T T H E C H E M I C A L R E A C T I O N E N G I N E E R I N G M O D U L E | 23
To open the Help window: · In the Model Builder or Physics Builder, click a node or window and then
press F1. · In the main toolbar, click the Help ( ) button. · From the main menu, select Help>Help.
Opening the Documentation Window
To open the Documentation window: · Press Ctrl+F1. · In the main toolbar, click the Documentation ( ) button. · From the main menu, select Help>Documentation.
THE APPLICATION LIBRARIES WINDOW
Each model or application includes documentation with the theoretical background and step-by-step instructions to create a model or application. The models and applications are available in COMSOL Multiphysics as MPH-files that you can open for further investigation. You can use the step-by-step instructions and the actual models as templates for your own modeling. In most models, SI units are used to describe the relevant properties, parameters, and dimensions, but other unit systems are available. 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. Opening the Application Libraries Window To open the Application Libraries window ( ):
CONTACTING COMSOL BY EMAIL
For general product information, contact COMSOL at info@comsol.com.
COMSOL ACCESS AND TECHNICAL SUPPORT
To receive technical support from COMSOL for the COMSOL products, please contact your local COMSOL representative or send your questions to support@comsol.com. An automatic notification and a case number will be sent to you
24 | C H A P T E R 1 : U S E R ' S G U I D E I N T R O D U C T I O N
by email. You can also access technical support, software updates, license information, and other resources by registering for a COMSOL Access account.
COMSOL ONLINE RESOURCES
COMSOL website Contact COMSOL COMSOL Access Support Center Product Download Product Updates COMSOL Blog Discussion Forum Events COMSOL Application Gallery COMSOL Video Gallery Support Knowledge Base
www.comsol.com www.comsol.com/contact www.comsol.com/access www.comsol.com/support www.comsol.com/product-download www.comsol.com/product-update www.comsol.com/blogs www.comsol.com/forum www.comsol.com/events www.comsol.com/models www.comsol.com/videos www.comsol.com/support/knowledgebase
A B O U T T H E C H E M I C A L R E A C T I O N E N G I N E E R I N G M O D U L E | 25
Overview of the User's Guide
The Chemical Reaction Engineering Module User's Guide is a consummate guide to using COMSOL Multiphysics and the add-on module Chemical Reaction Engineering Module. The information in this guide is specific for this module. Instructions how to use COMSOL in general are included with the COMSOL Multiphysics Reference Manual. The Introduction to the Chemical Reaction Engineering Module contains a quick-start guide to help you get started using this module.
As detailed in the section Where Do I Access the Documentation and Application Libraries? this information can also be searched from the COMSOL Multiphysics software Help menu.
THE CHEMISTRY AND REACTION ENGINEERING INTERFACES
The Reaction Engineering Interface, which is found under the Chemical Species Transport branch, has all of the tools required to simulate chemical reaction kinetics, is described in detail for the Theory for the Reaction Engineering and Chemistry Interfaces.
THE CHEMICAL SPECIES TRANSPORT INTERFACES
The transport and conversion of chemical compounds is denoted as chemical species transport. The Chemical Species Transport Interfaces chapter describes the Transport of Diluted Species, Transport of Diluted Species in Porous Media, and Transport of Concentrated Species interfaces, which are used for the simulation of chemical reactions, and mass chemical compounds transport through diffusion, convection, and electromigration. It also includes the Surface Reactions interface, which models reactions involving surface adsorbed species and species in the bulk of a reacting surface. The Nernst-Planck, The Electrophoretic Transport, Reacting Flow, Laminar Flow, and Transport of Diluted Species in Porous Media interfaces are also described in this chapter. The chapter Chemical Species Transport Interfaces also describes the following multiphysics interfaces included in the Chemical Reaction Engineering Module: Vapor Flow, Reacting Flow, Nonisothermal Flow, Reacting Flow in Porous Media, and Dispersed Two-Phase Flow with Species Transport.
26 | C H A P T E R 1 : U S E R ' S G U I D E I N T R O D U C T I O N
Overview of Chemical Species Transport Interfaces helps you select the best physics interface to use. The rest of the chapter describes the physics interfaces in detail as well as the underlying theory.
THE FLUID FLOW INTERFACES
The Fluid Flow Interfaces chapter describes the physics interfaces under the Porous Media and Subsurface Flow branch, which are the Darcy's Law, Brinkman Equations, Free and Porous Media Flow, Brinkman and Free and Porous Media Flow, Darcy interfaces. To help you select the physics interface to use, see Modeling Fluid Flow.
THE HEAT TRANSFER INTERFACES
The chapter describes The Heat Transfer in Porous Media Interface and includes a section to help choose the right physics interface (Modeling Heat Transfer).
THERMODYNAMICS INPUT
The chapter Thermodynamics describes how to 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.
O V E R V I E W O F T H E U S E R ' S G U I D E | 27
28 | C H A P T E R 1 : U S E R ' S G U I D E I N T R O D U C T I O N
2
The Chemistry and Reaction Engineering Interfaces
This chapter describes the Chemistry (chem) and Reaction Engineering (re)
interfaces, available in the Chemical Species Transport branch ( ). In this chapter: · Overview of the Reaction Engineering and Chemistry Interfaces · Theory for the Reaction Engineering and Chemistry Interfaces · The Reaction Engineering Interface · The Chemistry Interface · Study Steps for the Reaction Engineering Interface See also Chemical Species Transport Interfaces for the additional physics interfaces in the Chemical Species Transport branch ( ).
29
Overview of the Reaction Engineering and Chemistry Interfaces
The Reaction Engineering and Chemistry interfaces share many common features and functionality for defining species and reactions. The main difference is that the Reaction Engineering interface always is defined within the context of a (zero dimensional) reactor model, solving for a number of species dependent variables and an optional heat balance, whereas the Chemistry interfaces solely defines a number of variable expressions, based on species and reactions, that can be used when coupling the Chemistry interface to, for instance, a space-dependent mass transport model.
THE REACTION ENGINEERING INTERFACE
The Reaction Engineering Interface ( ) includes all of the tools required to simulate chemical reaction kinetics in well-defined environments. This includes the automatic set up and simulation of reversible, equilibrium, and irreversible reactions in volumes or on surfaces. A library of predefined reactors is also available, including batch, continuous stirred-tank, semibatch, and plug flow reactors (see Reactor Types in the Reaction Engineering Interface). In addition, the Parameter Estimation feature makes it possible to evaluate kinetic and model parameters from experimental data.
Use the Generate Space-Dependent Model node to create a space-dependent model based on your model created in the Reaction Engineering interface. This automatically sets up the mass balances and source terms for systems where reactions occur, with a copy of all and your original species and reaction definitions recreated in separate a Chemistry node.
The Reaction Engineering interface can also be used for defining and simulating thermodynamic data.
Interfaces to internal or external thermodynamic packages (such as CAPE-OPEN compliant packages), and an import feature for CHEMKIN® files, mean that the thermodynamic properties within reaction kinetics, as well as mass and heat transfer applications, can be described by empirical relations and algebraic expressions. Also see the Theory for the Reaction Engineering and Chemistry Interfaces.
30 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
THE CHEMISTRY INTERFACE
The Chemistry 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.
The Chemistry interface is also created when the Generate Space-Dependent Model feature is used in The Reaction Engineering Interface, collecting all mixture variables and properties for use in a space-dependent model.
Using the Reaction Node
In each Reaction node, specify the reaction Formula (chemical equation) and Reaction type of a single chemical equation.
For each reaction formula entered, specify the reaction type with a delimiter separating the two sides of the equation:
· <=> denotes a reversible reaction · => denotes an irreversible reaction · = denotes a reaction at chemical equilibrium
It is also possible to adjust the reaction type with the Reaction type list (Figure 2-1).
Figure 2-1: After adding a Reaction node, enter the chemical reaction formula (chemical equation) and specify the reaction type. Right-click any Reaction node to disable and enable the corresponding node in the Model Builder. Creating reaction subsets in this way is a straightforward approach to investigate the influence of individual reactions on the overall reaction system. Species that take part only in deactivated reactions are automatically deactivated, as indicated by the unavailable Species feature nodes. If a reaction is deleted, the interface automatically deletes those species that take part only in the deleted reactions.
ABOUT REACTION IDENTIFICATION NUMBERS, VARIABLE SCOPE, AND LABELING
When reaction formulas are entered, each reaction is associated with a unique ID (identification) number (Figure 2-2). The ID number is not a row number but rather an absolute reference number to a given reaction. This means that a reaction keeps its ID number, even if reactions are deleted with a lower number. Furthermore, constants
32 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
and expressions within fields associated with a given reaction are also indexed with the reaction number. The Name prepended to the variable name is called the variable scope. Defaults are re and chem for the Reaction Engineering and Chemistry interface, respectively. All variables set up by the interface are given the same scope. The variable scope can be useful to couple the equations of different physics interfaces.
Name/Variable scope
ID number
Figure 2-2: The ID number of each Reaction node is displayed in front of the reaction formula. As a general labeling rule, the variable name that refers to the contents of a field associated with a Reaction node is given by the physics interface Name, followed by the field name, and ends with the reaction ID number. For example, the contents of the reaction rate field r for Reaction 1 is assigned the variable name re.r_1.
For an example of how to use variables with scope, see Tank Series with Feedback Control: Application Library path Chemical_Reaction_Engineering_Module/Ideal_Tank_Reactors/ tankinseries_control
Using the Species Node
The Reaction Engineering Interface and The Chemistry Interface generate Species nodes in the Model Builder based on the chemical equations entered in the Settings window for Reaction.
Figure 2-3: Species nodes are generated automatically as chemical equations are entered in the Reaction nodes. As with Reaction features you can add, remove, or deactivate Species features by right-clicking a node in the Model Builder. Deactivation of a species automatically deactivates any reactions in which the species is participating. In the Reaction Rate section it is possible to alter the definition of the reaction rate of the species. This will override the settings in the Reaction feature, where the rate is defined by the stoichiometry of the reaction(s) in which the species participates. It is also possible to add individual Species nodes with either reactive or nonreactive species.
CHOOSING THE SPECIES TYPE
For each species entered, it is possible to change its characteristics by selecting its species type -- Bulk species, Surface species, or Solvent. The Type selection has implications in the calculation of thermodynamic and transport properties.
34 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Bulk species and Surface species, defined per reactor volume and area, respectively, set the mixture's physical properties dependent upon its composition. However, configuring a species as a Solvent sets the physical properties of the reacting fluid mixture equal to those of the solvent species; specifically, its density, heat capacity, viscosity, and thermal conductivity. The interface also implements a solute-solvent approximation for the interaction of species in the fluid and describes the transport properties accordingly. In material balances this means that the diffusion coefficient is independent of any of the solute's concentrations, because every solute only interacts with solvent molecules, regardless of the concentration. In addition, the convective term in the flux of species is directly given by the velocity field of the solvent multiplied by the solute concentration.
The Type has implications on the Generate Space-Dependent Model procedure since it determines whether interfaces using a solvent-solute approximation of the reacting fluid mixture (as in The Transport of Diluted Species Interface) or a full multicomponent description of the reacting fluid mixture (as in The Transport of Concentrated Species Interface) should be generated.
Furthermore, the Type affects the reaction kinetics. Solvent sets the species' concentration to a constant value (the initial species concentration). The Reacting Engineering interface does not formulate a mass balance for the solvent species. This setting corresponds to situations where the solvent does not take part in chemical reactions at all, or where it reacts but is present in large excess.
VALID SPECIES NAMES
Valid species names consist of a case-sensitive combination of letters, numbers, charge indication and phase indication. With the exception of the "" and "" signs, the caret character "^", underscore "_", and the enclosing characters "()[]{}", special characters are not allowed. In addition, the first character in a species name must be a letter, or enclosing character, to avoid confusion with the stoichiometric coefficients in the reaction formula.
Charge is indicated in one of the following ways:
· Fe++, Fe(++), Fe(2+)
· Fe^++, Fe^(++), Fe^(2+), Fe^2+
The charge indication, for example (++), is placed last in the species name, but before any phase indication. The charge is automatically read from the species Name field, or Chemical Formula field, and entered in the Charge field in the associated Species feature.
A valid phase indication consists of a valid species name followed by a valid phase. The phase should be placed last. For example, water in gaseous form is written "H2O(g)", and a divalent cation of iron in water can be written "Fe^2+(aq)". Valid phases are: · (g), for gas or vapor · (l), for liquid · (s), for solid · (aq), for aqueous solution · (ads), for adsorbed/surface species · (cd), for condensed phase (solid or liquid) · (fl), for fluid (gas or liquid) · (lc), for crystalline liquid · (cr), for crystalline solid · (am), amorphous solid · (vit), vitreous substance (glass) · (mon), for monomeric form · (pol), for polymeric form · (sln), for solution Using the phases (ads), (s), (l), (aq), or (g) creates adsorbed, solid, liquid, aqueous, or gaseous species with variable names; speciesname_surf, speciesname_solid, speciesname_liquid, speciesname_aq, or speciesname_gas, respectively. The Type field in the Species feature, is filled in automatically depending on which phase that was used. The phases (s), (l), and (g) give rise to Bulk species, while a species with phase indication (ads) results in a Surface species. (aq) gives rise to aqueous species. Note that the Equilibrium Species Vector remains the same despite the presence of any gaseous or liquid species in the system. Similar to the labeling rule applying to Reaction nodes, the variable name referring to the contents of a field associated with a Species node is given by the interface Name, followed by the field name, and ending with the species name. For example, the contents of the Rate expression field R for the species roh is assigned the variable name re.R_roh (for the Reaction Engineering interface). Access the definition of all the variables used by a specific node by displaying the Equation View node. To display the
36 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
node, click the Show More Options button ( ) and select Equation View in the Show More Options dialog box.
· Theory for the Reaction Engineering and Chemistry Interfaces · Variable Naming Convention and Namespace
Using the Equation View Node -- Reactions and Species
To display the Equation View node, click the Show More Options button ( ) and select Equation View in the Show More Options dialog box. Expand any node, for example the Reaction or Species nodes, and click the Equation View node to see the page where the definition of all the variables used by a specific node are listed (Figure 2-4).
Figure 2-4: The definition of variables used by a node are accessible through the Equation View.
Theory for the Reaction Engineering and Chemistry Interfaces
The Reaction Engineering Interface and The Chemistry Interface theory is described in this section.
· Reactor Types in the Reaction Engineering Interface · Transport Properties · CHEMKIN Data and NASA Polynomials · Working with Predefined Expressions · References for the Reaction Engineering Interface
Reaction Kinetics and Rate Expressions
The modeling of reactions in COMSOL uses the mass action law by default. Consider a general reaction belonging to a set of j reactions and involving i species:
f
kj aA + bB + ...
r
kj
xX + yY + ...
(2-1)
For such a reaction set, the reaction rates rj (SI unit: mol/(m3·s)) can be described by the mass action law:
rj = kjf
c
i
i
j
kjr
c
i
i
j
i react
i prod
(2-2)
Here, kjf and kjr denote the forward and reverse rate constants, respectively. The concentration of species i is denoted as ci (SI unit: mol/m3). The stoichiometric coefficients are denoted ij, and are defined as being 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).
In addition to the concentration dependence, the temperature dependence of reaction rates can be included by using the predefined Arrhenius expression for the rate constants:
38 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
k
=
A
-T--T--r--e-f
n
exp
R----E-g---T---
(2-3)
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 volumetric concentrations).
The default settings for the reaction given by Equation 2-1 and assuming equilibrium, yields the equilibrium expression in Equation 2-4:
Kc
=
-c--Xx----c---Yy----.-.--. cAa cBb ...
(2-4)
In the case of reversible reactions, it is also possible to make use of equilibrium relationships in order to indirectly calculate reaction constants. For example, calculate the reverse rate constant from the equilibrium condition in this way:
kr = -k----fKc
(2-5)
The Equilibrium Constant
In general, chemical equilibrium is reached when the Gibbs free energy of the system is minimized. The Gibbs free energy of is defined as
GT P = U + PV TS = H TS
(2-6)
where U is the internal energy, P is pressure, V is volume, T is temperature, S is entropy and H is enthalpy of the system. For a closed system
dU = Q + W = TdS PdV
(2-7)
where Q is (reversible) heat transfer to the fluid and W is (pressure) work in the system. The change in Gibbs free energy can be written as
dG = TdS PdV + PdV + VdP TdS SdT = VdP SdT
(2-8)
Chemical potential i is defined as partial molar Gibbs energy for species
i
=
G ni T P ni nj
(2-9)
where n is the number of mole of species i in the system. At constant temperature, this expression can be integrated as a function of pressure
i
i
d
=
P P
i
v^
i
dP
(2-10)
where v is molar volume and io is chemical potential of species at standard state. For an ideal gas this can be expressed as
i io
=
Rg
T
ln
P-P----oi
(2-11)
The equilibrium criterion can be written as
ii = 0
i
(2-12)
where i is the stoichiometric coefficient and i is the chemical potential of species i in the reaction. We can evaluate the chemical potential as partial molar Gibbs energy of species in mixture as
i io
=
Rg
T
ln
f-f-^-i-io
(2-13)
where
f^i
is
the
fugacity
of
species
i
in
the
mixture,
and
f
o i
is
the
fugacity
of
pure
species
in the standard state. Equation 2-12 can be rewritten as
i
ioi + RgT ln
i
-ff-^-i-io
i
=
0
(2-14)
The equilibrium constant for the reaction, K, is defined as
KT
=
exp
-----R--G---T--o-r--x--n-
=
a
i i
=
i
i
-ff-^-i-io
i
(2-15)
where ai is the activity of species in the system.
40 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Gorxn is the Gibbs free energy of reaction (including formation terms) which is defined, in accordance with Equation 2-6, as
Gorxn = Horxn TSorxn
(2-16)
the enthalpy of reaction, Horxn , and entropy of reaction, Sorxn , both at a given temperature T is defined as
HorxnT =
i
i
Hof
i
+
T
To
C
p
i
dT
(2-17)
SorxnT =
i
iSabs i +
T To
C-----p-----i T
dT
(2-18)
Here To is the temperature at standard state. Hof i and Sabs,i are the standard enthalpy of formation and absolute entropy for each species (these data are available in the COMSOL database).
ACTIVITY
Activity of species, ai is defined by Equation 2-13 as
ai
=
exp
---R-i----g---T----io-
(2-19)
Activity depends on the choice of an arbitrary standard state. The standard state of pure species is usually at 105 Pa and for solute in solution is based on hypothetical
molality or amount concentration also referred as infinite dilute behavior.
The activity of a species in a mixture is expressed by relationship between dimensionless activity coefficients, i, and measured amount of the species in the system.
ai
=
x ixi
=
c
i
--c---i-cref
(2-20)
Activity coefficients are usually estimated by Activity coefficient models.
Gas Phase The standard state is the pure species at ideal gas condition, 1 atm and the equilibrium temperature. Activity of species in mixture is expressed by:
ai
=
-f^---i
f
o i
=
y----i--^---i--P-Po
(2-21)
where f^i and ^ i are the fugacity and fugacity coefficient of species i in the mixture.
Liquid Phase The standard state is pure liquid species at 1 atm and equilibrium temperature. The fugacity of a species in a mixture is given by
f^ i = yiifi
(2-22)
where i is the activity coefficient of species in the mixture and fi is the fugacity of pure species at the equilibrium temperature and pressure. The activity is expressed by
ai
=
y----i----i--f--i fio
(2-23)
where fio is the fugacity of pure species at the equilibrium temperature and 1 atm. The ratio fi fio is given by
-f--i fio
=
exp
----v^---i---RgT
P
P isat
(2-24)
where v^ i is the partial molar volume of species and Psat is species saturated vapor pressure. For liquids it is a weak function of pressure, and can be assumed to be 1 unless
at high pressure.
Dilute Solutions The concentration can in the case of nonideal mixtures be replaced with the activity. In these interfaces, the dimensionless activity (ai) depend on species concentration (ci), activity coefficient i), and the standard state concentration (c0s = 1 mol/m3).
ai
=
--c---i-c0s
i
(2-25)
Additionally, an effective species concentration (ce,i) (SI unit: mol/m3) is used in the reaction rates (Equation 2-2) when activities are utilized.
ce i = cii = aic0s
(2-26)
42 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
AUTOMATICALLY DEFINED EQUILIBRIUM CONSTANTS
Below, the automatically defined equilibrium constants are defined in terms of the equilibrium expression Kc
c
i
i
Kc =
i
cii
=
--i-------p---r-o---d---------
c
i
i
i react
(2-27)
Gas Phase Inserting Equation 2-21 in Equation 2-15 gives:
KT
=
Keq
i
-c--s--u^---mi--P--P----o-
i
(2-28)
where for ideal mixtures, the fugacity coefficients i are equal to 1.
Liquid Phase For low and moderate pressure, the equilibrium constant can be reformulated by substitution of Equation 2-23 to Equation 2-15 as:
KT
=
Kc
i
c---s--u--i-m--
i
(2-29)
Handling of Equilibrium Reactions
EXAMPLE I
The following short example illustrates how the Reaction Engineering interface and the Chemistry interface handle equilibrium reactions in the formulation of the material balance equations.
Consider the reaction:
f
k
A
r
B
k
(2-30)
According to Equation 2-2 the reaction rate (SI unit: mol/(m3·s)) is formulated as:
r = kfcA krcB
where cA and cB (SI unit: mol/m3) are the concentrations of A and B, and kf and kr (SI unit: 1/s) are the forward and reverse rate constants, respectively. The net rate expressions with respect to species A and B are then:
RA = kfcA + krcB = r
RB = kfcA krcB = r
Assuming the reaction in Equation 2-30 is at equilibrium, the reaction rate r is 0:
r = kfcA krcB = 0
The relationship between the forward and reverse reaction rates in Equation 2-30 is given by the following ratio:
Keq = -k----f = c---B-kr cA
(2-31)
The Reaction Engineering interface also sets up mass balances that are solved. The general material balances for species A and B, respectively, are:
cA t
=
RA
=
r
(2-32)
cB t
=
RB
=
r
(2-33)
The rate of consumption of species A equals the production rate of species B, as shown in Equation 2-32 and Equation 2-33.
With the combined information in Equation 2-32, Equation 2-33, and Equation 2-31, the Reaction Engineering interface is able to define the mass balances for the equilibrium system without the reaction rate expressions. The equation system solved for becomes:
t
cA
+
cB
=
0
(2-34)
Keq = c---B-cA
(2-35)
44 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
In general, for a system of reactions contributing to k mass balances and with j reactions being at equilibrium, the reduced system of equations to be solved is composed of k j mass balances and j equilibrium expressions. The elimination process producing the above system of equations is automated, allowing simple modeling of chemical equilibrium reactions together with irreversible and/or reversible reactions.
EXAMPLE II
This example shows how equilibrium reactions are considered in the Reaction Engineering interface using the Equilibrium Species Vector section.
If two nonequilibrium reactions are taking place in a perfectly mixed isothermal reactor of constant volume:
k1f
A
B
k2f B k2r 2C
(2-36)
the corresponding mass balances are:
--d--dt
cA
=
r1
(2-37)
--d--dt
cB
=
r1 r2
(2-38)
--d--dt
cC
=
2r2
(2-39)
Now compare Equation 2-37, Equation 2-38, and Equation 2-39 with the balance equations that the physics interface sets up for the related chemistry, where the second reaction is instead an equilibrium reaction:
f
k1
A
B
(2-40)
K2eq
B
2C
(2-41)
In contrast to the reversible reaction given by Equation 2-36, to make use of the information contained in the equilibrium relation, the mass balances must be reformulated. Mass balances set up for the reactions given by Equation 2-40 and Equation 2-41 are then:
--d--dt
cA
=
r1
--d--dt
2
cB
+
cC
=
2r1
(2-42)
K 2e q
=
c---C2-cB
(2-43)
The equilibrium expression (Equation 2-43) introduces an algebraic relationship between the species' concentrations.
Two species, B or C, can be set as Predefined Dependent Species in the Equilibrium Species Vector section. Selecting B as the dependent species solves Equation 2-42 for the concentration of C, while B is computed from Equation 2-43.
Reactor Types in the Reaction Engineering Interface
MASS BALANCE
The mass balances that are set up in the Reaction Engineering interface are simplified versions of the general mass transport equation. The main assumption is that the reactor is perfectly mixed, meaning that any variations in compositions within the reactor are neglected.
· Mass Balance Equation
46 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
ENERGY BALANCE
The energy balances solved in the Reaction Engineering interface are derived from the general energy balance of a system. The utilized equation follows the perfect mixing assumption and is dependent on the selected reactor as described below.
Theory for Heat Transfer
The following reactor types are available in the Reaction Engineering interface (the Chemistry interfaces does not contain reactor models):
· Batch · Batch, Constant Volume · CSTR, Constant Mass/Generic
· CSTR, Constant Volume · Semibatch · Plug Flow
BATCH
In the batch reactor no mass enters or leaves the system. Common for all reactor models is that reacting fluids in the gas phase are assumed to behave as ideal gases. Liquid mixtures are assumed to be ideal and incompressible.
The species mass balances are given by:
d-------c---i-V-----r-- dt
=
VrRi
(2-44)
which takes into account the effect of changing volume. In Equation 2-44, ci (SI unit: mol/m3) is the species molar concentration, Vr (SI unit: m3) denotes the reactor volume, and Ri (SI unit: mol/(m3·s)) is the species rate expression. For an ideal reacting gas, the energy balance is:
Vr
ci
Cp
i
d----T--dt
=
Q
+
Qext
+
Vr
-d---p-dt
i
(2-45)
In Equation 2-45, Cp,i (SI unit: J/(mol·K)) is the species molar heat capacity, T (SI unit: K) is the temperature, and p (SI unit: Pa) the pressure. On the right-hand side,
Q (SI unit: J/s) is the heat due to chemical reaction, and Qext (SI unit: J/s) denotes heat added to the system. The heat of reaction is:
Q = Vr Hjrj
j
where Hj (SI unit: J/mol) is the enthalpy of reaction, and rj (SI unit: mol/(m3·s)) the reaction rate.
For an incompressible and ideally mixed reacting liquid, the energy balance is:
Vr
ci
Cp
i
d----T--dt
=
Q + Qext
i
(2-46)
Ibuprofen Synthesis: Application Library path Chemical_Reaction_Engineering_Module/Ideal_Tank_Reactors/ ibuprofen_synthesis
BATCH, CONSTANT VOLUME
The constant volume batch reactor is the default reactor. It assumes a closed, perfectly mixed system of constant volume. The species mass balances are:
d----c---i dt
=
Ri
For an ideal reacting gas, the energy balance is given by Equation 2-45. For an incompressible and ideally mixed reacting liquid, the energy balance is given by Equation 2-46.
Neutralization of Chlorine in a Scrubber: Application Library path Chemical_Reaction_Engineering_Module/Ideal_Tank_Reactors/ chlorine_scrubber
48 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
CSTR, CONSTANT MASS/GENERIC
The continuous stirred tank reactor (CSTR) has reacting species entering and leaving the reactor by means of inlet and outlet streams. The reactor is again assumed to be perfectly mixed, so that the species concentrations of the exit stream are the same as the concentrations in the reactor volume.
The species mass balances for the CSTR are given by:
-d------c---i-V-----r-- = dt
vf m cf m vci + RiVr
m
(2-47)
In Equation 2-47, cf,m (SI unit: mol/m3) is the species molar concentration of the associated feed inlet stream vf,m (SI unit: m3/s). Vr (SI unit: m3) denotes the reactor volume and is a function of time.
The reactor volume as a function of time is given by:
d----V-----r =
dt
vf m v + vp
m
(2-48)
In Equation 2-48, vp (SI unit: m3/s) denotes the volumetric production rate. It is given by Equation 2-49 for ideally mixed liquids and by Equation 2-50 for ideal gases.
vp = Vr i R-----i--M-i-----i
Ri =
ijrj
j
(2-49)
vp
=
R-----g---T--p
Vr
Ri
i
(2-50)
where ij is the stoichiometric coefficient of species i in reaction j, Mi (SI unit: kg/mol) denotes the species molecular weight, i (SI unit: kg/m3) the species density, and Ri (SI unit: mol/(m3·s)) is the reaction rate of species i.
When this reactor model is solved for constant mass, the reactor model assumes that the volumetric flow rate of the outlet stream, v (SI unit: m3/s), is adjusted in such a
way that the total mass of the reactor is held constant:
vf mf m
v = --m---------------------------
(2-51)
In contrast, when the model is set to be solved for generic conditions a specific outlet flow stream can be set.
The energy balance for an ideal reacting gas is:
Vr
ciCp
i
d----T--dt
=
Q
+
Qext
+
Vr
d----p-dt
+
vf mi cf mihf mi hi
i
mi
(2-52)
For an incompressible and ideally mixed reacting liquid, the energy balance is:
Vr
ci
Cp
i
d----T--dt
=
Q + Qext +
vf mi cf mihf mi hi
i
mi
(2-53)
Ideal Stirred Tank Reactor System: Application Library path Chemical_Reaction_Engineering_Module/Ideal_Tank_Reactors/ tank_flow_system
CSTR, CONSTANT VOLUME
This reactor type is a CSTR reactor where the reactor volume is constant.
The species mass balances are given by:
-d------c---i-V-----r--- = dt
vf m cf m vci + RiVr
m
Assuming constant reactor volume:
d----V-----r = 0 dt
and setting the volumetric outlet rate to:
(2-54)
50 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
v = vf m + vp
m
Equation 2-54 can be rewritten as:
(2-55)
V
r
d----c---i dt
=
vf i
cf
i
vf i + vp ci + RiVr
(2-56)
The volumetric production rate, vp, is defined as in Equation 2-49 and Equation 2-50.
The energy balance is the same as for the CSTR with Constant Mass/Generic reactor type (Equation 2-53).
Startup of a Continuous Stirred Tank Reactor: Application Library path Chemical_Reaction_Engineering_Module/Tutorials/cstr_startup
SEMIBATCH
In the semibatch reactor, reactants enter the reactor by means of one or several feed inlet streams.
The species mass balances are given by:
d-------c---i-V-----r-- dt
=
vf i
cf i + RiVr
The reactor volume is a function of time given by:
d----V-----r =
dt
vf m + vp
m
(2-57) (2-58)
The volumetric production rate, vp, is defined as in Equation 2-49 and Equation 2-50. An energy balance over the Semibatch reactor results in the same energy balance expression as for the CSTR reactor types (Equation 2-53).
Semibatch Polymerization: Application Library path Chemical_Reaction_Engineering_Module/Ideal_Tank_Reactors/ semibatch_polymerization
PLUG FLOW
In the plug flow reactor the species concentrations and the temperature vary with position. For a tubular reactor configuration, plug flow assumes concentration and temperature gradients to only develop in the axial direction but not in the radial direction of the reactor.
The species mass balances are given by:
-d---F----i dV
=
Ri
(2-59)
where Fi (SI unit: mol/s) is the species molar flow, V (SI unit: m3) is the reactor volume, and Ri (SI unit: mol/(m3·s)) denotes the species rate expression.
In order to evaluate the rate expressions Ri, which are functions of the species concentrations, the physics interface calculates:
ci
=
F-----i v
where v (SI unit: m3/s) is the volumetric flow rate.
For liquids, the volumetric flow rate is given by:
52 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
v =
-F----i--M-----i i i
where Mi (SI unit: kg/mol) denotes the species molecular weight and i (SI unit: kg/m3) the species density
For ideal gases:
so that
v
=
R-----g---T--p
Fi
i
ci
=
-----p------ ----F-----i--RgT Fi
i
where p (SI unit: Pa) is the constant pressure.
Neglecting pressure drop, the energy balance for an ideal reacting gas, as well as an incompressible and ideally mixed reacting liquid is given by:
Fi Cp
i
-d---T--dV
=
Q + Qext
i
(2-60)
Equation 2-60 is similar to the energy balance for the batch reactors (Equation 2-46), but with a reactor volume dependence instead of a time dependence.
Nonisothermal Plug-Flow Reactor: Application Library path Chemical_Reaction_Engineering_Module/Tutorials/nonisothermal_plug_flow
Transport Properties
The Reaction Engineering Interface and The Chemistry Interface can calculate several transport properties that can be accessed in interfaces in space dependent models.
DIFFUSIVITY
The diffusivity is calculated in terms of binary diffusion coefficients. These are available for the following fluid mixtures:
Gases with or Without Solvent The diffusion coefficients are calculated from the following expression based on kinetic gas theory (Ref. 7):
DAB
=
2.628
1022
-----T----3-----M------A-----+-----M------B------------2--------1---0---3---M------A----M------B---pAB
D1
(2-61)
Here, DAB (SI unit: m2/s) is the binary diffusion coefficient, M (SI unit: kg/mol) equals the molecular weight, T (SI unit: K) represents the temperature, p (SI unit: Pa) is the pressure, and (SI unit: m) equals the characteristic length of the Lennard Jones/ Stockmayer potential. In addition, D is the collision integral, given by the relation of Neufeld and others (Ref. 6):
D
=
------c--1------- + ------------c---3------------ + ------------c---5------------ + ------------c---7-----------T*c2 exp c4T* exp c6T* exp c8T*
(2-62)
where the reduced temperature is:
T* = T------k---b-----AB
(2-63)
In Equation 2-62, cx are empirical constants, D is the species dipole moment value (SI unit: Cm) and /kb (SI unit: K) the potential energy minimum value divided by Boltzmann's constant. Tabulated data in the literature frequently lists values of /kb rather than . It should be noted that predefined expressions for binary diffusivities
only treat ideal gas mixtures. Thus, these are applicable as input only for gases at
moderate pressure in multicomponent diffusive transport models.
The binary diffusivity according to Equation 2-61 is also suited for gaseous species in solvent, simply by setting either the component A or B to the solvent. The binary diffusion coefficient is in this case equal to the diffusion coefficient of the bulk species.
Liquid with Solvent The diffusivity of a species A in a solvent B is calculated with the WilkeChang equation (Ref. 8):
DAB
=
3.7·1015
------B----M------B-----1------2---T--BVb0.6A
(2-64)
54 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
where B (SI unit: Ns/m2) denotes the solvent's dynamic viscosity (see Equation 2-69), and Vb,A (SI unit: m3/mol) equals the molar volume at the normal boiling point of the solute species. B is the dimensionless association factor of the solvent, which by default is set to 1.
DYNAMIC VISCOSITY
The dynamic viscosities are computed for the following fluid mixtures:
Gases with Solvent The dynamic viscosity of the mixture is assumed to be the same as that of the solvent. This is given by the kinetic gas theory (Ref. 6 and Ref. 7), with species i being the solvent:
= 2.669 106-----T-------M-----i--i2-----1---0---3----D1
(2-65)
In Equation 2-65 (SI unit: Ns/m2) represents the dynamic viscosity, and D is the dimensionless collision integral given by:
D = b1T i kbb2 + b3 exp b4T i kb
+
b5
exp
b6T
i
kb
+
---4---.--9---9----8-------1----0------4--0----------D4------i kb2Ti kbi6
(2-66)
In Equation 2-65 and Equation 2-66, bx are empirical constants, D (SI unit: Cm) the species dipole moment value, and /kb (SI unit: K) the potential energy minimum value divided by Boltzmann's constant. Tabulated data in the literature frequently lists values of /kb rather than , and (SI unit: Å) is the characteristic length value.
Gases without Solvent The dynamic viscosity of gas mixtures without solvent are calculated according to Ref. 9 with the following expression:
where ij is defined as:
=
n
---------------------j--=-i--n------------------
i
=
1
1
+
-1--xi
xjij
j=1, j i
(2-67)
ij
=
---1-----+-----------i---------j----0---.-5-----M------j------M------i----0---.-2--5------22 21 + Mi Mj0.5
(2-68)
In Equation 2-67 and Equation 2-68, xi is the molar composition and i is computed with Equation 2-65 for each of the species in the mixture.
Liquid with Solvent The dynamic viscosity of the mixture is assumed to the same as that of the solvent. An approximate expression for the temperature dependence of the dynamic viscosity is given by (Ref. 3):
=
103
ref
103
0.2661
+
-T-----2---2--T-3---r--e--f
3 .758
(2-69)
where (SI unit: Ns/m2) is the dynamic viscosity. As inputs for Equation 2-69, the physics interface takes the reference viscosity, ref (SI unit: Pas) at the reference temperature Tref (SI unit: K).
THERMAL CONDUCTIVITY
The thermal conductivity is calculated as well for some types of fluid mixtures:
Gas With or Without Solvent The predefined expression for thermal conductivity comes from the StielThodos equation (Ref. 10), which is defined as:
k
=
----M
1.15
Cp
+
0.88Rg
(2-70)
where k (SI unit: W/(m·K)) is the thermal conductivity and Cp (SI unit: J/(mol·K)) denotes the molar heat capacity. Equation 2-70 is a function of viscosity, as given by Equation 2-65. Equation 2-70 is directly used in the case of a solvent; all parameters being those of the solvent. Without a solvent, however, the following equation is also used:
k
=
1-2
i
=
xiki
1
+
i
=
1
k-x---ii
1
where ki is the thermal conductivity of each species i and xi the molar composition for each of the species in the mixture.
56 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
CHEMKIN Data and NASA Polynomials
CHEMKIN® files can be used to import data for simulation of complex chemical reactions in the gas phase. These input files may contain three basic sets of information -- chemical kinetics, species thermodynamic properties, and species transport properties for either volumetric or surface species. Use imported data to set up and do the following:
· Solve mass and energy balances for ideal reactor systems (reactors, semi-reactors, CSTRs, and plug flow reactors).
· Evaluate species transport properties as a function of reactor conditions. · Evaluate mass, energy, and momentum balances for space-dependent models, and
transfer them to COMSOL Multiphysics.
It is possible to read the input files for kinetics, thermodynamic, and transport properties independently and use these as separate data resources. For example, if a set of reactions is entered into the Reaction Engineering interface, species thermodynamic and transport data can be supplied by reading the appropriate input files. The full functionality of the physics interface is retained even after the import procedure. This means that all expressions and all data imported into the software are available for reference and for editing.
The following CHEMKIN files are compatible:
· Transport CHEMKIN files that supply data used to compute Transport Properties.
· Thermodynamic CHEMKIN files containing data for Gordon and McBride or NASA polynomials (Ref. 4). These polynomials are denoted NASA format and compute the species' heat capacity, molar enthalpy, and molar entropy, in the manner of:
Cp i = Rga1 + a2T + a3T2 + a4T3 + a5T4
(2-71)
hi
=
Rg
a1T
+
-a---22
T2
+
-a---33
T3
+
-a---44
T4
+
-a---55
T5
+
a6
(2-72)
si
=
Rg a 1
ln
T
+
a2T
+
-a---32
T2
+
a----43
T3
+
a----54
T4
+
a7
(2-73)
Here: - Cp,i (SI unit: J/(mol·K)) denotes the species' molar heat capacity, - T (SI unit: K) is the temperature, - Rg the ideal gas constant, 8.314 J/(mol·K), - hi (SI unit: J/mol) is the species' molar enthalpy, and - si (SI unit: J/(mol·K)) represents its molar entropy at standard state.
From the CHEMKIN files the coefficients a1 to a7 are directly imported into the corresponding NASA format fields. Coefficients for NASA polynomials are available as public resources (Ref. 11). Kinetics CHEMKIN files that can be imported in the Reversible Reaction Group feature. These consist of reaction kinetics data, such as activation energy (SI unit: J/ mol).
Homogeneous Charge Compression Ignition of Methane: Application Library path Chemical_Reaction_Engineering_Module/Ideal_Tank_Reactors/ compression_ignition
NOx Reduction in a Monolithic Reactor: Application Library path Chemical_Reaction_Engineering_Module/Tutorials/monolith_3d
Chemical Vapor Deposition of GaAs: Application Library path Chemical_Reaction_Engineering_Module/ Reactors_with_Mass_and_Heat_Transfer/gaas_cvd
Working with Predefined Expressions
You can choose whether to use the predefined expressions as given, use parts of a predefined set of expressions, or replace expressions entirely. A few short examples highlight the use of the predefined expressions used in the Transport Expressions and Thermodynamic Expressions sections to enter the thermodynamic properties of carbon monoxide. The sections also illustrate the possibility to adapt to different modeling situations.
CASE 1
Carbon monoxide is part of a reacting mixture. You want to do several things: make use of the predefined expressions of species Cp as an input to the heat capacity of the reacting mixture (Equation 2-71); use the predefined expression h for each species to
58 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
calculate the heat of reaction (Equation 2-72); and use the predefined expression s for each species to calculate the entropy of reaction (Equation 2-73) and subsequently the equilibrium constant of reaction (See Handling of Equilibrium Reactions).
To accomplish this, enter the seven coefficients of the NASA format, a1 to a7, into the appropriate fields, or import a CHEMKIN Import for Species Properties thermo input file.
CASE 2
Carbon monoxide is part of a reacting mixture. You want to make use of the predefined expressions of species Cp to calculate the heat capacity of the reacting mixture (Equation 2-98).
Polynomials for Cp are available in the literature (Ref. 2, Ref. 3, and Ref. 5) in the frequently used form
Cp = Rg anTn 1
n
n = 1 5
You can directly use the predefined expression for the species' heat capacity, Equation 2-71, also given in the Cp field, by supplying coefficients in the a1 to a5 fields.
You also want to use the predefined expressions h for each species to calculate the heat of reaction (Equation 2-72). An option is to make use of the heat of formation at standard state (298.15 K) to calculate the coefficient a6. Identifying the coefficient a6 of Equation 2-72 is straightforward. In the NASA polynomial format, the species molar enthalpy is related to its heat capacity according to
T
h = CpdT + h0 0
(2-74)
Inserting Equation 2-71 into Equation 2-74, and comparing the result with Equation 2-72, shows that the term a6Rg is identified as the species enthalpy of formation at 0 K, that is, h(0). Evaluate h(0) from the species enthalpy of formation at standard state temperature, Tstd = 298.15 K, which is given by
a6
=
h-------T----s---t--d---Rg
a1Ts
t
d
+
a----22
Ts2t
d
+
a----33
Ts3t
d
+
-a---44
T s4t d
+
-a---55
Ts5t
d
(2-75)
CASE 3
Carbon monoxide is again part of a reacting mixture. It is satisfactory to approximate Cp as being constant. Specify the species enthalpy by making use of the heat of formation at 298 K, h(298), according to the well-known expression
h = CpT 298 K + h298 K
References for the Reaction Engineering Interface
1. H.G. Rackett, "Equation of State for Saturated Liquids," J. Chem. Eng. Data, vol. 15, no. 4, pp. 514517, 1970. 2. R.H. Perry and D.W. Green, Perry's Chemical Engineering Handbook, 7th ed., McGraw Hill, 1997. 3. B.E. Poling, J.M. Prausnitz, and J.P. O'Connell, The Properties of Gases and Liquids, 5th ed., McGraw Hill, 2000. 4. S. Gordon and B.J. McBride, Computer Program for Calculation of Complex Chemical Equilibrium Compositions, Rocket Performance, Incident and Reflected Shocks, and Chapman-Jouquet Detonations, NASA-SP-273, 1971. 5. M. Zabransky, V. Ruzicka Jr., V. Majer, and E.S. Dolmaski, "Heat Capacity of Liquids: Critical Review and Recommended Values," J. Phys. Chem. Ref. Data Volume I and II, Monograph, No. 6, 1996. 6. P.D. Neufeld, A.R. Janzen, and R.A. Aziz, "Empirical Equations to Calculate 16 of the Transport Collision Integrals (l,s)*for the Lennard-Jones (12-6) Potential," J. Chem. Phys., vol. 57, pp. 11001102, 1972. 7. R.S. Brokaw, "Predicting Transport Properties of Dilute Gases," Ind. Eng. Process Design Develop., vol. 8, no. 2, pp. 240253, 1969. 8. C.R. Wilke and P. Chang, "Correlation of Diffusion Coefficients in Dilute Solutions," AIChE J., vol. 1, no. 2, pp. 264270, 1955. 9. C. R. Wilke, "A Viscosity Equation for Gas Mixtures," J. Chem. Phys., vol. 18, no. 4, pp. 517519, 1950. 10. L.I. Stiel and G. Thodos, "The Viscosity of Polar Substances in the Dense Gaseous and Liquid Regions," AIChE J., vol. 10, p. 2629, 1964. 11. See, for example, www.comsol.com/chemical-reaction-engineering-module
60 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
The Reaction Engineering Interface
The Reaction Engineering (re) interface ( ), found under the Chemical Species Transport branch ( ) when adding a physics interface, is used to model several chemical reactor types and the evolution of chemical reactions over time. The mass balance and energy balance equations describing these systems assume perfect or well-defined mixing in the reactor. Essentially, the physics interface simulates, tank, and plug flow chemical reactors to investigate the behavior over time of a chemical reaction.
The reaction kinetics expressions of a reactor can be exported to a space-dependent model, using the Generate Space-Dependent Model feature. This gives you the power to simulate reacting systems as they depend on fluid flow, mass transfer, and heat transfer -- in other words, including space dependencies.
Add physics features from the toolbar, or right-click Reaction Engineering to select features from the context menu. Many of the fields and nodes described in this section are made available when either a Reaction or a Species (or both) subnode is added to the Model Builder. Because nodes and subnodes are accessible at any time, and any change is updated throughout the model, reactions and species are often defined before the settings described in this section.
All predefined constants and expressions can be overwritten by user-defined expressions. This makes it possible to go beyond the modeling assumptions that are the defaults in this physics interface.
· Theory for the Reaction Engineering and Chemistry Interfaces · Features Nodes Available for the Reaction Engineering Interface
The following is a description of the features and fields available in the Settings window for Reaction Engineering.
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 setup) is re.
EQUATION
This section displays the governing equations according to the selection of reactor types in the Reactor section.
REACTOR
Select a Reactor type to define the reaction system. The available reactor types are: Batch, Batch, constant volume, CSTR, constant volume, CSTR, constant mass/generic, Semibatch, and Plug flow. Each reactor type solves a mass balance based on properties typical to the type, such as reactor volume, volumetric production, or flow rate: · Batch: In reactors no mass enters or leaves the system. This type can account for a
variable reactor volume. · Batch, Constant Volume: Same as Batch but where the reactor volume is assumed
to be constant. As this is the situation for most reacting systems, this is the default condition. · CSTR, Constant Mass/Generic: Continuous stirred tank reactors (CSTR) differ from batch reactors, since these allow species to enter and leave the reactor by means of feed inlet streams and outlet streams. The system's volume is allowed to change, such as in a car engine cylinder or a balloon. This reactor model can be solved either for a constant mass condition or by selecting a specific outlet flow. · CSTR, Constant Volume: Same as the CSTR with constant mass/generic reactor but assumes that the volume is constant during operation. · Semibatch: Semibatch reactors differ from batch reactors in that they allow reactants to enter the reactor by means of one or several feed inlet streams. · Plug Flow: In the plug flow reactor, the species concentrations and the temperature vary with position. Plug flow in a tubular configuration means that concentration and temperature gradients develop only in the axial direction, but not in the radial direction. For each Reactor type, additional settings are shown in Table 2-1. If a surface reaction or species is included, except for the Plug flow reactor type, the surface reaction area is
62 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
also a parameter. The parameters and expressions are used in the mass balance equations.
TABLE 2-1: REACTOR TYPE PARAMETERS.
REACTOR TYPE
Batch Batch, constant volume CSTR, constant mass/generic
PARAMETERS TO DEFINE
Reactor volume Vr Reactor volume Vr Volumetric production rate vp and Volumetric outlet rate v
CSTR, constant volume Semibatch Plug flow
Volumetric production rate vp and Reactor volume Vr Volumetric production rate vp Volumetric flow rate v
Volumetric Rate For CSTR, constant volume and Semibatch reactor types, the Volumetric production rate (vp) is available. For Automatic, the in-built Volumetric production rate expression is shown. If User defined is selected, the expression can be changed (SI unit: m3/s). For instance, this enables the setting of zero (0) volumetric production rate, which ignores volume changes due to reactions.
· For liquid phase reactions, the Automatic expression for the Volumetric production rate varies with the reaction rate of each species as defined by:
vp = Vr i R-----i--M-i-----i
Ri =
ijrj
j
(2-76)
The physics interface automatically inserts the stoichiometric coefficients (ij) and reaction rate expressions for each species (Ri) that depend on j number of reactions of a rate (rj), as defined in the Reaction feature node. Furthermore, the values of the molar mass (Mi) and the species density (i) are automatically taken from the Species features.
· For gas phase reactions, the Automatic expression for the Volumetric production rate is similarly given by:
vp
=
R-----g---T--p
Vr
Ri Ri =
ijrj
i
j
(2-77)
For CSTR, constant mass/generic, select Volumetric rate to either Constant mass (Automatic) or Generic. The Constant mass (Automatic) selection shows both the expression for Volumetric production rate (vp) (Equation 2-77 for gas, or
Equation 2-76 for liquid phase reactions) and Volumetric outlet rate (v) (Equation 2-78). The latter is derived from constant mass flow condition through the reactor:
vf m f m
v = --m-------------------------------
(2-78)
The mixture density (f) of m number of feed inlet streams is determined in the same way as in the Mixture Properties section. For Generic both the Volumetric rate properties can be edited (SI unit: m3/s). This means that it is possible to completely
control the volumetric outlet rate from the CSTR.
For the Plug flow reactor, the Volumetric flow rate along the reactor is set. The Automatic definition computes a variable volumetric flow rate that depends on the molar flow rate of each species (Fi). · For liquid phase reactions, the expression is:
v = -F----i--M-----i i i
(2-79)
· and for gas phase reactions:
v
=
R-----g---T--p
Fi .
i
(2-80)
The default value for p (Reactor pressure) is 1 atm in Equation 2-81 and it is set in the Mixture Properties section.
Reactor Volume This input field sets the Reactor volume Vr -- that is, the fluid volume in which chemical reaction takes place. The Batch reactor type can account for a changing volume, thus a time-dependent volume expression can be entered here.
Surface Reaction Area Once a surface reaction, or a surface species, has been added, for all reactor types except Plug flow, the Surface reaction area settings become visible. Here, the area of the
64 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
surface on which the surface reactions take place can be defined. The surface area can either be defined directly as a parameter, or by defining the Surface area to volume ratio.
Reactor Types in the Reaction Engineering Interface
ENERGY BALANCE
From the list select to Exclude or Include the energy balance, which in essence determines whether the system is solved for either isothermal or nonisothermal conditions, respectively. The latter introduces the temperature as a variable in the interface. If Exclude is chosen, enter a Temperature T for the system.
It is possible to incorporate cooling or heating of the reactor. This is done in External heating or cooling (Qext). Enter a negative value to account for cooling or a positive one for heating (SI unit: W). Note that for the Plug Flow reactor type, the External heating or cooling (Q) is defined per reactor volume (SI unit: W/m3).
MIXTURE PROPERTIES
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 except if:
· the Thermodynamics node, including one or more systems, is not added under Global Definitions, or
· no species are added in the Reaction Engineering interface, or · a CHEMKIN file is imported in the Reaction Engineering interface.
Phase Use the Phase list to specify the state of aggregation of the mixture.
Density This setting is available when the Calculate mixture properties check box in the Calculate Transport Properties section has been selected.
Two settings are always available for the mixture Density: Automatic or User defined. The Thermodynamics options is available when the interface is coupled to a Thermodynamic System, and all interface species has been matched to species in the system. In this case the density is defined by a function automatically added under the thermodynamic system coupled to.
The mixture density is transferred to physics interfaces set up by the Generate Space-Dependent Model feature. The density is compiled for both multicomponent and solute-solvent solutions.
The Automatic setting uses the following logic:
· Automatic selected for Liquid, considers the liquid as ideal and incompressible. The liquid mixture density depends on the density of i number of pure species (i) and the species mass fraction (wi).
= ------1-------
w-----i
i i
The mass fraction is given by the species concentration (ci) and the molar mass (Mi).
wi = ----c---i--M------i----
ciMi
i
· Automatic set for Gas calculates the gas mixture density () from the concentrations (ci) and molar masses (Mi) of the mixture species, which are automatically taken from Species features.
= ciMi
i
(2-81)
· If a Type is set to Solvent and the Mixture is Liquid, the mixture density is the same as the solvent density as defined in Density in General parameters in the Species node. When Mixture is Gas, the mixture density is calculated from Equation 2-81 only for the species set as Solvent.
Reactor Pressure The Phase - Gas setting displays the Reactor pressure. For all reactor types, except the Plug flow reactor, select either a pressure computed from the Ideal gas law or from any
66 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
other expression using the User defined option. The Batch and Semibatch reactor types also have the option to keep the reactor pressure Constant during reaction.
For the Plug Flow reactor, the Reactor pressure can be entered in the case of the Reactor section having the Volumetric rate set to Automatic, in which case the User defined alternative is available and a constant pressure fits the conditions.
When the Thermodynamics check box is selected in the Mixture Properties section and the species are fully coupled (see the section below), the reactor pressure is set to Thermodynamics indicating that it is automatically computed.
SPECIES MATCHING
The Species Matching section is activated when the Thermodynamics check box is selected in the Mixture Properties section. The species in the Reaction Engineering interface can be matched to species in the Thermodynamic System. This ensures that the arguments in the thermodynamic system 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 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.
CALCULATE TRANSPORT PROPERTIES
Transport properties are not utilized in the reactor equations available in the Reaction Engineering interface, where perfect mixing is assumed. However, transport properties such as diffusivity, thermal conductivity, and viscosity are of central importance when solving time- and space-dependent models. The physics interface helps to set up detailed expressions of species transport properties and transfers them automatically to the multiphysics model through the Generate Space-Dependent Model feature.
The most general description of a mixture is the one that treats the mixture as a multicomponent solution, where all species interact with each other. A simplified description, but still a common one, assumes that the solution has a solvent that dominates the properties of the solution. The solutes in such a solution interact only with solvent molecules.
Select the Calculate mixture properties check box to enable calculation of mixture transport properties exported from the Reaction Engineering interface. From the list for each property, select the in-built Automatic expression or set a User defined entry. The mixture properties you can transfer for space-dependent models are: · Heat capacity (cp) (SI unit: J/(kg·K)) (this is available when the Energy Balance is
set to Include) · Thermal conductivity (k) (SI unit: W/(m·K)) · Dynamic viscosity () (SI unit: Pa·s) (this is available when a Type is set to Solvent) · Mixture density () (SI unit: kg/m3) (this is available in the Mixture Properties
section) All species properties needed to compute the mixture properties are entered in the Species Transport Expression or Species Thermodynamic Expression in the Species node.
Transport Properties
EQUILIBRIUM SPECIES VECTOR
This section is available when at least one equilibrium reaction has been defined, that is, when a Reaction node incorporates at least one Equilibrium reaction (Reaction type is set to Equilibrium), or when at least one equilibrium reaction has been defined in an Equilibrium Reaction Group. In the Predefined dependent species (separated by `,') text field, edit, if necessary, the species that depends on the composition of the other species according to the Equilibrium expression in the Reaction node. To minimize the impact of any numerical errors, it is recommended to set the species with the highest concentration as dependent species. The default species is set to the leftmost species in the Reaction formula. The Suppress negative concentrations check box exists to aid the computation of equilibrium reaction systems. A selected check box ensures that no negative values of concentrations are accepted as solution to the equilibrium condition.
Example II in Handling of Equilibrium Reactions.
68 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
ACTIVITY
Select the Use activity check box to solve for species activities instead of species concentrations, which is a common approach when nonideal 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.
Activity
CHEMKIN IMPORT FOR SPECIES PROPERTIES
This section enables CHEMKIN® import to simulate complex chemical reactions in gas phase.
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 Thermodynamic Expressions section. For Transport the imported data is entered in the Species Transport Expressions section.
· CHEMKIN Data and NASA Polynomials · Reversible Reaction Group
ADVANCED SETTINGS
To display this section, click the Show More Options button ( Physics Options.
) and select Advanced
The Uniform scaling of concentration variables check box is not selected by default. When selected, all concentration variables are scaled using the same scale factor in the Study node. Enabling uniform scaling can decrease solver time for problems involving many concentration variables.
Features Nodes Available for the Reaction Engineering Interface
The following feature nodes are available from the Reaction Engineering ribbon toolbar (Windows users), Reaction Engineering context menu (Mac or Linux users), or right-click to access the context menu (all users).
· Initial Values · Reaction · Species
· Reaction Thermodynamics1 · Species Activity2 · Species Thermodynamics1
· Reversible Reaction Group
· Feed Inlet
· Equilibrium Reaction Group · Species Group1
· Additional Source
· Generate Space-Dependent Model · Parameter Estimation3 · Experiment3
1 This node is always coupled to reaction group nodes and not available from context menu.
2 This is a subnode and it is only available together with a parent node.
3 This feature is obsolete and will be removed in future versions. Instead use the global Parameter Estimation node together with The Parameter Estimation Study as described in the Optimization Module User's Guide.
Initial Values
The Initial Values node sets the initial values of the dependent variables solved for in the Reaction Engineering interface.
GENERAL PARAMETERS
For CSTR, constant mass and Semi reactor types, in which the reactor volume changes with reaction, an Initial system volume Vr0 can be set.
For nonisothermal conditions (that is, the Energy Balance is set to Include), enter an Initial temperature T0 for the system. For the Plug flow reactor a corresponding Inlet temperature T0,in is entered.
70 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
VOLUMETRIC SPECIES INITIAL VALUES
In the Volumetric Species Initial Values table, the Species column automatically includes all the species in the model. Enter the corresponding values or expression for each species initially in the Concentration (mol/m^3) column.
For the Plug flow reactor an Inlet molar flow rate table is instead shown. Enter the values or expressions representing the inlet conditions of each species in the Molar flow rate (mol/s) column.
SURFACE SPECIES INITIAL VALUES
The Surface Species Initial Values table is displayed when surface species are present in the reactor, that is, when the Type is set to Surface species for at least one species in the reactor. In the Surface concentration (mol/m^2) column, enter the corresponding values or expression for each species initially on the reactive surface area (Ar) within the reactor. The values in the Site occupancy number column are by default set to 1, edit the value if a surface species takes up more than one active site on the reactive surface.
The total surface concentration is restricted by the molar amount of available sites on the reactive surface area. This is defined by the Density of sites s (mol/m2) entry. Make sure that the sum of the entered initial surface concentrations do not surpass the value selected here. Note that the total amount of sites occupied of a surface species cads,i is the Surface concentration (mol/m^2) multiplied with the Site occupancy number s,i. The restriction of the total surface concentration is defined as:
s cads is i
i
(2-82)
EQUILIBRIA
When one or more equilibrium reactions are present, a section which allows the user to enable Mass-preserving initialization is shown. When enabled, the solver will first solve for the values of the species participating in any equilibrium reaction, while disregarding any kinetic reactions. The solution to the equilibrium subproblem is then used as a consistent starting point for the time stepping. The functionality solves a log-transformed version of the problem, which in turn puts a requirement that a finite concentration is present for each building block (atom kinds, charge, and/or a combination thereof). If Settings is changed from Automatic to Manual, the user may change the maximum number of iterations and the absolute tolerance.
Reaction
Use the Reaction node ( ) to implement a chemical reaction involving a number of chemical species. The participating species may represent any kind of molecular entities like atoms, molecules, ions, or radicals.
To add a Reaction node either right-click the Reaction Engineering node or on the Reaction Engineering toolbar click Reaction.
REACTION FORMULA
Formula Enter a chemical equation in the Formula field. The chemical equation should be of the format "A + B arrow C + D". Here, A and B are reactants, C and D are product species, and arrow denotes a reaction arrow. The participating species should be written with Valid Species Names. Valid reaction arrows are "<=>" for reversible reaction, "=>" for irreversible reaction, and "=" for equilibrium reaction. Species can be given trivial names, or their chemical formulas can be used as names. Examples of valid formulas are; "carbon+oxygen=>carbondioxide", and "C(s)+O2(g)=>CO2(g)".
Click Apply to let the interface parse the reaction. This process identifies the participating species as well its stoichiometric coefficients and any charges of ionic species. A Species feature is automatically added for all participating species.
Balance ( ) Use the Balance button to automatically calculate the stoichiometric coefficients such that the number of atoms of each kind are the same on both sides of the reaction. This turns, for example, the formula "H2+O2=>H2O" into "2H2+O2=>2H2O". The balancing involves parsing all participating species for elements in the periodic table. It therefore requires that all species in the Formula field are written either using their chemical formula, say "H2O", or that each species in the reaction have an enabled Chemical Formula field in their Species node. For example, it is possible to balance the formula "H2+O2=>water" as long as there is a Species node with the name "water" already present, and an enabled Chemical Formula.
For automatic reaction balancing to be successful, requires that the problem is well posed. One example of a problem that is not well posed is "C+H2=>CH4+C2H6", in which case any ratio of CH4/C2H6 could be obtained. Another example is "H2=>O2" where not all elements are present on both sides.
72 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Reaction Type Select the Reaction type -- Reversible, Irreversible, or Equilibrium -- or edit the expression directly in the Formula field. In the latter case, specify the reaction type with a delimiter separating the two sides of the equation:
· <=> denotes a Reversible reaction · => denotes an Irreversible reaction · = denotes a reaction at chemical Equilibrium
Each Reaction type has its own set of reaction kinetics:
· When the reaction is Reversible or Irreversible, the rate of reaction rj, for reaction j, contributes to the change in species i in the manner of:
Ri = ijrj
j
(2-83)
where ij is the stoichiometric coefficient. · In the case of an Equilibrium reaction, the equilibrium expression is equal to the
equilibrium constant:
Keq = Keq0
(2-84)
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:
· For an Irreversible reaction type, the reaction rate becomes:
rj = kjf
ciij
i react
(2-85)
· For a Reversible reaction type, the expression instead becomes:
rj = kjf
c
i
i
j
kjr
ciij
i react
i prod
(2-86)
The deduced overall reaction order is shown in text below the respective equation in the Reaction Rate section.
Arbitrary rate expression If the reaction order differs from the stoichiometric coefficients, or if an arbitrary rate expressions is applicable, change Reaction Rate to User defined. An expression field r
appears with the default expression being that from the mass action law. Below this
there are fields to set the reaction order. For a reversible reaction the reverse reaction order may be specified in addition to the forward one. The unit of the rate constant k (or frequency factor A in the case of Arrhenius behavior), is derived from the reaction order, in SI units: (m/mol) 1/s, where equals the order with respect to volumetric species. When surface species are present -- identified by their "(ads)" suffix -- the unit is instead given by m 2/mol/s, where is the order with
respect to surface species.
Consider for example the reaction:
2
S2
O
2 4
+ H2O S2O32
+ 2 HSO3
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:
Change to User Defined Adjust rate expression Override reaction order Note effect on unit
Figure 2-5: The reaction order can be manually specified for a user defined reaction rate.
74 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
RATE CONSTANTS
This section applies for Reversible or Irreversible reactions and defines the reaction rate constants used in the reaction rates.
Forward Rate Constant and Reverse Rate Constant The Forward rate constant kf is used for both Reversible and Irreversible reactions. The Reverse rate constant kr is only used for Reversible reactions (Equation 2-86).
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.
Specify Equilibrium Constant The Specify equilibrium constant check box is available for Reversible reactions. If the check box is selected the rate constants are defined in a different manner with the reverse rate constant being computed from the following expression:
kr = kf Keq0
(2-87)
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.
Use Arrhenius Expressions
When the Use Arrhenius expressions check box is selected the Arrhenius parameters are
automatically used in predefined expressions for the forward and reverse rate constants kfand kr, respectively.
kf = AfT Trefnf exp Ef RgT
(2-88)
kr = ArT Trefnr exp Er RgT
(2-89)
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):
· Forward frequency factor Af and Reverse frequency factor Ar (unit depends on reaction order)
· Forward temperature exponent nfand Reverse temperature exponent nr · Forward activation energy Efand Reverse activation energy Er (SI unit: J/mol)
EQUILIBRIUM SETTINGS
This section is available for equilibrium reactions, and for reversible reactions when the Specify equilibrium constant check box has been selected.
Equilibrium Expression For an equilibrium reaction, specify the Equilibrium expression. When the Equilibrium expression is set to Automatic the following expression is used:
c
i i
j
Keqj
=
--i-------p---r-o---d----------
c
i
i
j
i react
(2-90)
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. This setting requires that the temperature is also solved for by setting Energy Balance to Included.
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.
REACTION THERMODYNAMIC PROPERTIES
This section contains information about thermodynamic properties that relate to a selected reaction and is available when the Energy Balance is set to Include. Several Automatic definitions are available here.
76 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Enthalpy of Reaction The Enthalpy of reaction H (SI unit: J/mol) is calculated by the interface from species properties and the related stoichiometric coefficients:
Hj =
ijhi
ijhi
i prod
i react
(2-91)
Entropy of Reaction The Entropy of reaction S (SI unit: J/(mol·K)) comes from a similar expression:
Sj =
ijsi
ijsi
i prod
i react
(2-92)
In Equation 2-91 and Equation 2-92, hi and si are the species' molar enthalpy and molar entropy, respectively.
Enter these quantities in the 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 2-91 and Equation 2-92 to equate the Gibbs free energy of reaction enables the equilibrium constant to be expressed according to Handling of Equilibrium Reactions.
Heat Source of Reaction The Heat source of reaction (SI unit: W/m3) is automatically computed from the heat
of each reaction j, given by:
Qj = rjHj
Using the Reaction Node
Species
When a Reaction is defined, a Species node ( ) is automatically generated for the participating reactants and products. This feature enables you to review and enter species specific information regarding chemical kinetics, thermodynamics, and transport properties.
It is also possible to add and define an individual Species node: on the Reaction Engineering toolbar click Species or right-click the Reaction Engineering node and select it from the context menu.
NAME
When a Species node is automatically generated using the Formula text field in the Reaction node, the species name is also automatically generated. For a Species node added individually, enter a Name in the field and click Apply. By entering a name consisting of only elements from the periodic table, the chemical formula is added, and molar mass is calculated and added in the Chemical Formula section. The species charge, and type, are also deduced from the species name.
Valid Species Names
TYPE
Select a species type -- Bulk species, Surface species, or Solvent. Bulk species 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 (not solved for) use the syntax c_speciesname, while Surface species uses csurf_speciesname_surf. Surface species is referring to species adsorbed on a reactive surface. 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. For the Plug flow reactor only Bulk species and Solvent are allowed.
Choosing the Species Type
CHEMICAL FORMULA
The Chemical Formula section contains the species chemical formula, Molar mass, M, and Charge, z.
78 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
If the name entered for the species consists of only elements from the periodic table, and optionally charge and phase indication, then the Chemical Formula field will be populated with the name entered in the Name section, and the molar mass and charge will be added to this section. The species molar mass is computed from the mass of occurring individual elements1. The rules for writing chemical formulas are the same as those for Species names.
Valid Species Names
When the species name contains parts not in the periodic table, for example when a descriptive name such as water is used, the molar mass is set to 0.0 kg/mol. If the species name consists of a valid charge or phase indication, then charge and type will be set automatically. In this case, the molar mass needs to be defined in order to achieve mass balanced reactions and correct definitions of mass basis properties. By entering a chemical formula consisting only of elements from the periodic table (and optionally charge and phase indication), the molar mass, and charge are derived automatically.
When needed, the Molar mass can be edited in the corresponding text field. Editing the Chemical formula and pressing apply will override the content in the molar mass and charge fields. The Charge field cannot be edited as long as a chemical formula is enabled.
With an enabled Chemical Formula it is possible to use the trivial name of a species and balance reactions. Having added the Species water, oxygen, and hydrogen, and filled in H2O, O, and H in their respective chemical formula sections, the Formula oxygen+hydrogen=water is balanced into oxygen+2hydrogen=water by clicking Balance in the Reaction node.
It is possible to specify the species density when the fluid Mixture is specified as Liquid. The default value is that of water at 293 K.
REACTION RATE
Change the Automatic default setting to User defined to use a species reaction rate other than the one set up in the associated Reaction node. For individual species, use the User defined option to set a reaction rate other than zero (that is, nonreactive).
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.
Edit either the Rate expression (SI unit: mol/(m3s)), the Surface rate expression (SI unit: mol/(m2s)), 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. The reaction rate is not editable if the species in question participates in an equilibrium reaction and has been selected as a Predefined dependent species in Equilibrium Species Vector.
CONSTANT CONCENTRATION/ACTIVITY
To account for nonideality in the fluid mixture adjust the activity coefficient in the Activity coefficient text field here. The section 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 Reaction Engineering interface Settings window
Click to select the Keep concentration/activity constant check box if the species concentration or activity should be treated as constant.
TRANSPORT EXPRESSIONS
Here the required parameters to compute various transport properties can be edited. To show this section the Calculate mixture properties check box needs to be selected under the Calculate Transport Properties section in the Settings window of the physics interface.
· For a gas mixture, there are maximum five properties to consider: - , the characteristic length (unit: Å) of the LennardJones/Stockmayer potential - /kb (SI unit: K) the potential energy minimum value of the LennardJones/ Stockmayer potential, divided by Boltzmann's constant. Tabulated data in the literature frequently lists values of /kb rather than - D, the dipole moment (SI unit: Debye) - ki, the thermal conductivity of the gas (SI unit: W/(m·K)); and Diffusivity of the species (SI unit: m2/s). The latter two can be set to Automatic, when and /kb have been given.
· For mixtures of gas with solvent, all properties above except the thermal conductivity is shown. This is instead calculated under the Calculate Transport Properties section in the Settings window for the Reaction Engineering interface. This requires that Energy Balance is set to Included.
80 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
· For a liquid mixture, there is only the parameter ki, the thermal conductivity (SI unit: W/(m·K)) to edit.
· For mixtures of liquid with solvent, the thermal conductivity is shown only for the species set as Solvent.
THERMODYNAMIC EXPRESSIONS
The parameters utilized for calculation of thermodynamic mixture and reaction properties are set in this section. It is accessed when the Energy Balance is set to Include for the Reaction Engineering interface, in other words, for nonisothermal conditions.
The Thermodynamic Expressions are by default computed using data in the NASA format. In this case, enter the following to compute the species' heat capacity, Cp (SI unit: J/(molK)), the molar enthalpy, h (SI unit: J/mol), and the molar entropy, s (SI unit: J/(molK)):
· Lower temperature limit Tlo · Middle temperature limit Tmid · Upper temperature limit Thi · Polynomial coefficients alow,k and ahi,k Any coefficients for the thermodynamic polynomials entered into the alow,k fields apply to the temperatures in the range Tlo to Tmid; coefficients entered into the ahi,k fields apply to temperatures in the range Tmid to Thi range. The coefficients can also be imported in the CHEMKIN Import for Species Properties section in the Reaction Engineering node.
Choose the User defined alternative to specify Cp, h, and s directly.
Using the Species Node
Transport Properties
Reversible Reaction Group
The Reversible Reaction Group node ( ) allows input of a large number of reversible reactions in the same table. All reactions are treated in the same way. More than one Reversible Reaction Group can be added to a component. The feature is typically used when importing CHEMKIN kinetics files.
Add the node from the Reaction Engineering toolbar or right-click Reaction Engineering and add it from the context menu.
For the case when reaction kinetics data are entered manually into the Reaction table and nonisothermal conditions apply (Energy Balance is set to Include), right-click to add a Reaction Thermodynamics subnode or select it from the Reaction Engineering toolbar, Attributes menu. In it, the Enthalpy of Reaction (J/mol) for each reaction can be specified.
REACTION TABLE
The reversible reactions in the Reaction table are numbered and contain reactants, products, and kinetic parameters describing the reaction. Use the buttons under the Reaction table to add and sort the reaction details.
· In general, use the Move Up ( ), Move Down ( ), and Delete ( ) buttons and the fields under tables to edit the table contents. Or right-click a table cell and select Move Up, Move Down, or Delete.
· The Add button ( ) adds default reactant, A, and product, B, with a default. Click the corresponding field to edit the reactant, product, or parameters. After editing the Species Group node is also updated. It is created together with the reaction group.
· You can save the parameters to a text file to reuse in other models. Click the Save to File button ( ) and enter a File name in the Save to File dialog 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 LiveLinkTM 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, include a header, or use a separate column for units.
· 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 LiveLinkTM 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.
82 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
CHEMKIN IMPORT FOR KINETICS
Click to select the Import CHEMKIN data check box to import a CHEMKIN Kinetics input file. To import the data directly into the table columns, click Browse to locate the CHEMKIN file to be imported, then click Import.
CHEMKIN Data and NASA Polynomials
MOVE REACTION AND SPECIES
Enter a reaction number in the Moving reaction (with the number) from table text field and click Create Reaction to remove the reaction from the Reaction table to the model tree. This introduces a reaction node named after the reaction number and species names and simultaneously creates corresponding species nodes. This action is powerful, since it enables all the editing possibilities available for Reaction and Species nodes.
Equilibrium Reaction Group
The Equilibrium Reaction Group node ( ) allows for input of a large number of equilibrium reactions in the same table. This node functions in the same way as the Reversible Reaction Group for reversible reactions.
Add the node from the Reaction Engineering toolbar or right-click Reaction Engineering and add it from the context menu.
For the case when reaction kinetics data are entered manually into the Reaction table and nonisothermal conditions apply (Energy Balance is set to Include), right-click to add a Reaction Thermodynamics subnode or select it from the Reaction Engineering toolbar, Attributes menu. In it, the Enthalpy of Reaction (J/mol) for each reaction can be specified.
EQUILIBRIUM REACTION TABLE
The equilibrium reactions in the Reaction table are numbered and contain reactants, products, and equilibrium constants. 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 LiveLinkTM 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, include a header, or use a separate column for units.
· 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 LiveLinkTM 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.
MOVE REACTION AND SPECIES
Enter a reaction number in the Moving reaction (with the number) from table text field and click Create Reaction to remove the reaction from the Reaction table to the model tree. This introduces a reaction node named after the reaction number and species names and simultaneously creates corresponding species nodes. This action is powerful, since it enables all the editing possibilities available for Reaction and Species nodes.
Homogeneous Charge Compression Ignition of Methane: Application Library path Chemical_Reaction_Engineering_Module/Ideal_Tank_Reactors/ compression_ignition
Chemical Vapor Deposition of GaAs: Application Library path Chemical_Reaction_Engineering_Module/ Reactors_with_Mass_and_Heat_Transfer/gaas_cvd
84 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Species Group
The Species Group node ( ) contains information on a molecular level about the volumetric species and the surface species present in the model. The Property for Volumetric Species or Property for Surface Species tables typically collect parameters from when importing CHEMKIN transport files.
This node is automatically created when either the Reversible Reaction Group or the Equilibrium Reaction Group is added. The created species group node is coupled to the corresponding reaction group feature. If a reaction group feature is removed, disabled or enabled, the coupled species group feature will follow the same actions. The species in species group feature are only from its corresponding reaction group feature.
For the case of nonisothermal reactor conditions (Energy Balance is set to Include), a Species Thermodynamics subnode is automatically created in which the thermodynamic properties of the species can be specified.
CHEMKIN
This section allows import of CHEMKIN transport files. To import the data directly into the table columns, click Browse to locate the CHEMKIN file to be imported, then click Import. Note that this section is only shown when transport properties are computed (Calculate mixture properties check box under the Calculate Transport Properties is selected).
CHEMKIN Data and NASA Polynomials
Additional Source
Use the Additional Source node ( ) to add an additional rate expression (SI unit: mol/m3) and/or an additional volumetric production rate (SI unit: m3/s) to the mass balance of certain species.
Add the node from the Reaction Engineering toolbar or right-click Reaction Engineering and add it from the context menu.
ADDITIONAL VOLUMETRIC PRODUCTION RATE
An additional Additional volumetric production rate can be added for some of the available reactor types, namely CSTR, constant mass/generic, CSTR, constant volume, or Semi.
ADDITIONAL RATE EXPRESSION
Here, values or expressions describing additional rates can be entered for selected Species in the column denoted Additional rate expression (mol/m^3*s) within the Volumetric species table.
ADDITIONAL SURFACE SPECIES RATE
Here, values or expressions describing additional surface species rates can be entered for selected Surface species in the column denoted Additional rate expression (mol/ m^2*s) within the Surface species table.
Reaction Thermodynamics
In the Reaction Thermodynamics subnode ( ), the Enthalpy of Reaction (SI unit: 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 Reaction Engineering toolbar, Attributes menu. Alternatively, when the Energy Balance is set to Include, right-click a Reversible Reaction Group or Equilibrium Reaction Group and select it from the context menu.
Species Activity
The Species Activity subnode ( ) creates variables for the activities for 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 Activity is a subnode to the Species Group node. It is automatically generated when nonideality in the fluid mixture is accounted for; when the Use activity check box is selected in the Activity section.
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
86 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
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 Energy Balance is set to Include.
THERMODYNAMICS PROPERTIES OF SPECIES
Select a Type selection for the thermodynamic properties. The NASA format alternative requires the setting of several polynomial constants and is typically used together with CHEMKIN import. The User defined alternative only requires input of Species molar enthalpy (SI unit: J/mol) and Species molar capacity (SI unit: J/(mol·K)).
CHEMKIN IMPORT FOR THERMODYNAMIC DATA
This section allows import of thermodynamic CHEMKIN transport files. To import the data directly into the table columns, click Browse to locate the CHEMKIN file to be imported, then click Import. Note that this can only be done for the NASA format option.
· CHEMKIN Data and NASA Polynomials
Feed Inlet
The Feed Inlet ( ) feature is used for adding inlet streams to the reactor. After adding a Reaction node and setting its Reactor to CSTR, constant volume, CSTR, constant mass/generic, or Semi, add a Feed Inlet node from the Reaction Engineering toolbar or right-click the Reaction Engineering node to add it from the context menu.
FEED INLET PROPERTIES
Edit the Volumetric feed rate (vf) (SI unit: m3/s) to fit the modeling conditions. The Feed inlet temperature (Tf) is required as input when nonisothermal conditions are investigated (Energy Balance is set to Include).
FEED INLET CONCENTRATION
This section is available when Energy Balance is set to Exclude. For each of the Species, enter a value or expression in the table for the Concentration (mol/m^3) to set the composition of the inlet stream.
FEED INLET CONCENTRATION AND ENTHALPY
This section is available when Energy Balance is set to Include. For each of the Species, enter values or expressions in the table for the Concentration (mol/m^3) and Enthalpy (J/mol) to set both the composition and enthalpy of the feed inlet stream. Note that in the rightmost column of the Feed inlet concentration and enthalpy table, it is possible to select that the thermodynamic properties are taken from a Species node instead.
· CSTR, Constant Mass/Generic · CSTR, Constant Volume · Semibatch
Generate Space-Dependent Model
It is often relevant to perform an extended analysis of the reaction model. For example, to study how a reacting system's detailed geometry impacts the concentration and temperature distributions. Use the Generate Space-Dependent Model feature tool to export the properties within the Reaction Engineering interface to other physics interfaces using a space-dependent geometry. Properties that are exported are reaction kinetics, thermodynamics, and transport parameters. To add this feature, on the Reaction Engineering toolbar click Generate Space-Dependent Model ( ) or right-click the Reaction Engineering node to add it from the context menu. Note that only a single Generate Space-Dependent Model node can be added.
SELECTING THE GEOMETRY AND PHYSICS INTERFACES
To utilize the Generate Space-Dependent Model feature, select which geometry and physics interfaces to create in the following manner: 1 Select the component to use: 1D Axisymmetric, 1D, 2D, 2D Axisymmetric, 3D, or
an existing component in the Model Builder. 2 Select the physics interfaces in each category (chemical species transport, fluid flow
heat transfer). 3 Select a study type. Then click the Create/refresh button to create the space-dependent model and the selected physics interfaces (see Figure 2-6).
88 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
If more interfaces are needed in a component after the initial model generation, select the appropriate component and the new interface(s) and click Create/Refresh to introduce the interface into it.
Figure 2-6: Using the Generate Space-Dependent Model node the properties of a Reaction Engineering interface is transferred to physics interfaces in a space-dependent component (1D, 1D Axisymmetric, 2D, 2D Axisymmetric, or 3D).
COMPONENT SETTINGS
Select a Component to use. Either specify the space dimension of a new component -- 1D, 1Daxi, 2D, 2Daxi, or 3D -- or select a component already present in the Model Builder.
PHYSICS INTERFACES
Select the applicable physics interfaces to create from the Chemical species transport, Fluid flow, and Heat transfer lists. The physics interfaces available are based on the specific modules installed. These include the Chemical Reaction Engineering Module, the MEMS Module, the Heat Transfer Module, and the Subsurface Flow Module. Note that a mass balance physics interface must always be selected when generating a space-dependent model. If desired, physics interfaces for fluid flow, heat transfer, or other features affecting the reacting system can be added later separately from the physics interfaces created by the Generate Space-Dependent Model feature. The Chemistry Interface is always created and added when generating a space-dependent model. It generates and announces global variables for the reaction kinetics, thermodynamics, and transport properties. The variables generated are available for all space-dependent interfaces. Figure 2-7 displays an application where a Reactions feature uses reaction rates defined by a Chemistry interface. The syntax chem points to the default Name of the Chemistry node.
90 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Figure 2-7: The Chemistry node generates global variables from rate variables and properties defined in the Reaction Engineering interfaces, and announces these to be used in relevant sections of other generated space-dependent interfaces. The Reaction Rates within a Reactions feature in a Transport of Dilute Species interface illustrate this.
SURFACE REACTIONS
When surface species are present (that is, when the Type is set to Surface species for at least one species in the reactor), the surface reactions can be implemented in the space-dependent model in three different ways. · When Transport of Diluted Species in Porous Catalysts or Transport of Concentrated
Species in Porous Catalysts is selected, the surface reactions will be modeled using a Surface Reaction node under the Porous Catalyst feature. · When Transport of Diluted Species in Packed Beds or Transport of Concentrated Species in Packed Beds is selected, the surface reactions will be modeled using a Reactions node under the subnode Pellets of Packed Bed feature. · When any other chemical species transport interface (except these mentioned above) is selected, the surface reactions will be modeled using a separate Surface Reaction interface defined on the boundaries of the geometry. The surface reaction rates of species will be represented by a Flux feature in the created chemical species transport interface. A feature for volumetric reactions is also added and set up, in accordance with the reaction kinetics defined in the Reaction Engineering interface, when clicking the Create/Refresh button in the Space-Dependent Model Generation section. In Figure 2-8, the surface reaction kinetics in a Reacting Engineering interface has been implemented in a Packed Bed feature using a Reactions subfeature. Note that the surface reaction rates are defined by the Chemistry interface with the Define variables for porous pellets being checked under Pellet Chemistry section.
92 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Figure 2-8: A Packed Bed feature with a Reactions subfeature can be automatically created, from a Reaction Engineering interface including surface species, using the Generate Space-Dependent Model feature.
· The Packed Bed Feature · The Transport of Diluted Species Interface
Chemical Species Transport The following Chemical Species Transport interfaces are available with the Chemical Reaction Engineering Module:
· The Transport of Diluted Species Interface · The Transport of Diluted Species in Porous Media Interface · The Transport of Diluted Species in Porous Catalysts Interface · The Transport of Diluted Species in Packed Beds Interface
· The Transport of Concentrated Species Interface · The Transport of Concentrated Species in Porous Media Interface · The Transport of Concentrated Species in Porous Catalysts Interface · The Transport of Concentrated Species in Packed Beds Interface · The NernstPlanck Equations Interface
The model generation automatically defines the dependent variables for all species. The Transport of Diluted Species, Transport of Diluted Species in Porous Media, Transport of Diluted Species in Porous Catalysts, Transport of Diluted Species in Packed Beds, and Nernst-Planck Equations interfaces use the default variable names according to the syntax cspeciesname, referring to species concentrations in mole per volume. The Transport of Concentrated Species, Transport of Concentrated Species in Porous Media, Transport of Concentrated Species in Porous Catalysts, and Transport of Concentrated Species in Packed Beds interfaces use the syntax wspeciesname for default variable names, referring to the species weight fraction. The initial values for the dependent species variables in the space-dependent model are based on the initial species values collected in the Reaction Engineering interface.
The parallel set of dependent variables on extra dimension are created for both the Transport of Diluted Species in Packed Beds and Transport of Concentrated Species in Packed Beds. For the Transport of Concentrated Species in Packed Beds, a pressure dependent variable on extra dimension is also created.
For surface species, dependent variables are defined on extra dimension (Transport of Diluted Species in Packed Beds and Transport of Concentrated Species in Packed Beds) or base geometry (all other chemical species interfaces).
Binary diffusion coefficients can be computed and transferred to a space-dependent model. The available diffusion models for the mass balance physics interfaces sometimes require the binary diffusion coefficients of the mixture, describing all pairwise diffusion interactions between species. Under the assumption of an ideal gas the mass transfer interface for Transport of Concentrated Species can utilize the binary diffusion coefficient. The Transport of Diluted Species and Nernst-Planck Equations interfaces assumes that the chemical species being transported are present in small amounts and are diluted in a solvent. The binary diffusion coefficient in these cases (in the presence of a solvent species) become the diffusion coefficient of the bulk species.
Fluid Flow The model generation process can be selected to generate a Fluid Flow interface.
94 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
There are these separate momentum balance physics interfaces: · The Single-Phase Flow, Laminar Flow Interface · The Darcy's Law Interface (in the CFD Module User's Guide) · The Free and Porous Media Flow, Brinkman Interface (in the CFD Module User's
Guide) Species density (see Equation 2-93, Equation 2-94, and Equation 2-95) and dynamic viscosity can for some mixture options be transferred from the Reaction Engineering interface to the Fluid Flow interfaces.
Transport Properties
NOx Reduction in a Monolithic Reactor: Application Library path Chemical_Reaction_Engineering_Module/Tutorials/monolith_3d Hydrocarbon Dehalogenation in a Tortuous Microreactor: Application Library path Chemical_Reaction_Engineering_Module/ Reactors_with_Mass_Transfer/tortuous_reactor Protein Adsorption: Application Library path Chemical_Reaction_Engineering_Module/Mixing_and_Separation/ protein_adsorption
Heat Transfer In the Reaction Engineering interface, time- and space-dependent energy balance equations can also be set up. In the model generation process the physics interface generates expressions used by the Heat Transfer interface, such as the heat generated by a chemical reaction. It also generates expressions for physical transport properties. There are two heat transfer interfaces under Heat transfer: · Heat Transfer in Fluids · Heat Transfer in Porous Media Several expressions for the species density, heat capacity, and thermal conductivity are available and can be transferred from the Reaction Engineering interface.
The densities are available from the Calculate Transport Properties section in the interface, where the fluid mixture properties are selected. The density depends on the Species settings and is computed as follows for:
· Liquid, if assuming the liquid to be ideal and incompressible. The liquid mixture density depends on the density of i number of pure species, i, and the species weight fraction, wi.
= ------1-------
w-----i
i i
(2-93)
The volume fraction is given by the species concentration, ci, and the molar mass, Mi.
wi = ----c---i--M------i----
ciMi
i
(2-94)
· Gas mixture density depends on the concentrations and molar masses of the mixture species.
= ciMi
i
(2-95)
For mixtures with solvent all values are taken from the species set as solvent.
The heat capacity, cp (SI unit: J/(mol·kg)), of the mixture is calculated by the species' molar heat capacity, Cp (SI unit: J/(mol·kg)) according to
cp =
wi
C-----p--- --i Mi
i
(2-96)
where M is the molar mass (SI unit: kg/mol) and wi the weight fraction.
Porous media type The Porous media type is available when Transport of Diluted Species in Packed Beds or Transport of Concentrated Species in Packed Beds is selected for Chemical species transport and the Heat Transfer in Porous Media is selected for Heat transfer. There are tree options the Porous media type:
· Local thermal equilibrium
96 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
· Local thermal nonequilibrium · Packed bed
These options are the same as that for Porous Medium feature under Heat Transfer in Porous Media interface. The heat balance equation is set up inside pellets when the Packed bed is selected.
STUDY TYPE
Select a Study Type, either Stationary or Time Dependent. It is also possible to edit this choice after the space-dependent model has been generated.
Parameter Estimation
This feature is obsolete and will be removed in future versions. Instead use the global Parameter Estimation node together with The Parameter Estimation Study as described in the Optimization Module User's Guide.
The Parameter Estimation node ( ) and related subnodes have the options and settings for the definition of parameter estimation calculations based on the predefined reactor types in the Reaction Engineering interface. Add the node from the Reaction Engineering toolbar or right-click Reaction Engineering and add it from the context menu.
ESTIMATION PARAMETERS
The parameters to be estimated are defined in the Estimation parameters table. The parameter names are entered in the Parameter column. An Initial value is also required for each variable. To connect the estimated parameters to the model, make sure that the same parameter naming is used within the rest of the Reaction Engineering interface.
Bounds for the parameter values are specified in the Lower bound and Upper bound columns of the Estimation parameters table. These are applicable when the SNOPT optimization solver method is used. The default solver method for parameter estimation is LevenbergMarquardt, which currently does not support parameter bounds. Enter a Scale indicating a typical magnitude of the control variable. The relative solver tolerances refer to variables rescaled with respect to this scale, and it may also influence the search pattern of some optimization solvers.
Experiment
This feature is obsolete and will be removed in future versions. Instead use the global Parameter Estimation node together with The Parameter Estimation Study as described in the Optimization Module User's Guide.
The Experiment node organizes the data and the conditions for a particular experiment. This is also where experimental variables are associated with model variables in order to set up the parameter estimation. Right-click the Parameter Estimation node to add one or more Experiment nodes. You can also select it from the Reaction Engineering toolbar, Attributes menu, enabled when the Parameter Estimation node is selected. Notice that the Experiment node requires the Optimization Module.
EXPERIMENTAL DATA
Experimental data is read into the software by importing comma-separated value files, CSV files. After import, identifiers display in the Data column of the Experimental Data table (Figure 2-9). If the CSV files have column headers, these are used to identify the columns. If the data file does not have column headers, the columns are identified by a number. It is assumed that the first column corresponds to the independent variable for time (t). In the Model variables column, the measured data is correlated with model variables by entering the proper variable names or expressions. The Use column controls whether to include data in the parameter estimation calculation or not. Data column entries require associated Model variables to be accounted for the parameter estimation calculations. In the Unit column, enter the unit of the imported experimental data. In the Weight column, enter a strictly positive value. The difference between the value of the Model variable and the Data column value is squared and multiplied with the Weight and a factor 0.5 to give the contribution to the total objective for each measured value.
98 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Imported data can be inspected in the corresponding Table node located under the Results branch (Figure 2-9). An Experiment Table is created each time the Import button is clicked.
Figure 2-9: The content of imported data files is presented in a Table.
EXPERIMENTAL PARAMETERS
Each Experiment node can be associated with user-defined parameters during the parameter estimation. For example, concentration transients can be measured for a number of different isothermal conditions. Parameter name and Parameter expression are added from a list. The list is populated with the parameters that are defined in the Parameters under Global Definitions in the Model Builder.
INITIAL STATES
A given experiment usually determines the initial values for the dependent variables in the reactor model, such as the initial concentrations for isothermal reactor models and initial concentrations and temperature for nonisothermal reactor models. Initial conditions that change from one experiment to another need to be provided in the Initial States section. An entry in the Parameter names column is added by choosing from a list of predefined variable names corresponding to the initial state of the reactor model.
Degradation of DNA in Plasma: Chemical_Reaction_Engineering_Module/ Ideal_Tank_Reactors/dna_degradation Finding Kinetic Arrhenius Parameters Using Parameter Estimation: Chemical_Reaction_Engineering_Module/Tutorials/activation_energy
100 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
The Chemistry Interface
This physics interface can be used to create reaction kinetics and optionally compute mass transport and thermodynamic properties for direct use in 1D, 2D, or 3D models. This is similar to The Reaction Engineering Interface, except that it does not solve for an ideal reactor model.
The Chemistry (chem) interface ( ) is found under the Chemical Species Transport branch ( ) when adding a physics interface. The Chemistry interface is also created when the Generate Space-Dependent Model feature is used in the Reaction Engineering interface, collecting all mixture variables and properties for use in a space-dependent model.
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.
· Theory for the Reaction Engineering and Chemistry Interfaces · Transport Properties · Feature Nodes Available for the Chemistry Interface
The following is a description of the features and fields available in the Settings window for the Chemistry interface.
SETTINGS
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern
<name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is chem.
MODEL INPUT
This section sets the Temperature, Pressure, and Electrode potential (only available with a Battery Design Module, Corrosion Module, Electrochemistry Module, Electrodeposition Module, or Fuel Cell & Electrolyzer Module license) to be used by the current interface. Use the lists to select a temperature, pressure, or electrode potential defined and announced by another interface in the model. For example, when a heat transfer interface is also included, the temperature solved for is available in the Temperature list.
For Temperature or Pressure, you can also select Common model input to use a globally available common model input. In all three cases, select User defined to manually define the variable in question.
MIXTURE PROPERTIES
Type Use this setting to define specify what kind of mixture assumption is used. For Diluted Species the mixture is composed of low concentration solutes present in a solvent. For Concentrated Species a mixture where no single species is considered to be in excess is assumed.
Select Diluted species from the Type list to use the concentration variables from a Transport of Diluted Species interface in the Species Matching section. The same setting should be used for any other interface solving for molar concentrations using a diluted species assumption. Select Concentrated species from the Type list to use the mass fractions from a Transport of Concentrated Species interface.
Thermodynamics All property parameters and property functions required by the interface can be automatically created by coupling to a system added to the Thermodynamics node. To do so, click the Thermodynamics 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.
102 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Phase Use the Phase list to specify the state of aggregation of the mixture.
Density
The mixture density settings are only available when you have selected the Calculate mixture properties check box in the Calculate Transport Properties section.
Density always has two settings available: Automatic or User defined. The Thermodynamics options is available when the interface is coupled to a Thermodynamic System, and all interface species has been matched to species in the system. In this case the density is defined by a function automatically added under the thermodynamic system coupled to.
The Automatic setting uses the following logic:
· When Phase is set to Liquid, Automatic assumes that the liquid is ideal and incompressible. The liquid mixture density depends on the density of i number of pure species (i) and the species weight fraction (wi).
= ------1-------
w-----i
i i
The weight fraction is given by the species concentration (ci) and the molar mass (Mi).
wi = ----c---i--M------i----
ciMi
i
· When Phase is set to Gas, Automatic calculates the gas mixture density () from the concentrations (ci) and molar masses (Mi) of the mixture species, which are automatically taken from Species features.
= ciMi
i
(2-97)
· If the Type, for one of the present species, is set to Solvent, and the Mixture is Liquid, the mixture density is the same as the solvent density. The species density is defined in the General parameters section of the corresponding Species node. When Mixture
is Gas, the mixture density is calculated from Equation 2-97 only for the species set as Solvent.
SPECIES MATCHING
This section is used to match species solved for in space dependent physics interfaces to the species defined in Chemistry. By doing so the variables for the reaction kinetics and the mixture properties defined by Chemistry can be applied to study chemically reacting or composition dependent systems.
Species Solved For Use this list to populate the inputs in the Bulk species table with dependent variables from a certain mass transfer interface. The Species solved for list contains all present interfaces of the Type selected in the Mixture Properties section. For example, when the Type is Diluted species, all Transport of Diluted Species interfaces or variants thereof, such as Transport of Diluted Species in Porous Media interface, are available in the list.
Bulk Species Use the Bulk species table to specify the concentrations to be used as arguments in reaction kinetics variables, for example the reaction rate. Reaction kinetics variables are generated by the species features (Species and Species Group) and by the reaction features (Reaction, Reversible Reaction Group, and Equilibrium Reaction Group).
The bulk species concentrations are also used in the mixture properties, both for transport properties like the density and viscosity, and thermodynamic properties like the enthalpy or heat capacity.
When a mass transfer interface has been selected in the Species solved for list, use the Molar concentration column to select one of the dependent variables in the selected interface to the corresponding Species in Chemistry. When using a concentrated species interface (defined by the Type list in the Mixture Properties section), instead use the Mass fraction column to select a dependent variable for each species in Chemistry. For a consistent set up, the species molar mass in the Transport of Concentrated Species interface is updated to the one defined in the Chemistry interface.
The Molar concentration and Mass fraction columns also includes a User defined option, in which case a constant, parameter, or variable expression can be entered in the Value column.
104 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Thermodynamics Coupling When the Thermodynamics is enabled, the species in the Chemistry interface can be coupled to the species in the Thermodynamic System. This is needed to ensure that arguments for the thermodynamic functions are correctly defined. Use the drop-down lists in the From Thermodynamics column to match each species in the Chemistry to a species in the coupled thermodynamic system. For each thermodynamics-coupled species, the required property parameters and functions are added under the corresponding thermodynamic system. When all species are matched, the Chemistry is considered fully coupled and functions representing mixture properties, such as the density, are also added automatically under the same thermodynamic system.
Surface Species The Surface Species table is available when there is at least one surface species (with "(ads)" as suffix).
Specify the concentration of surface species in the table in this section.
The species present in this section will not be used to define mixture properties.
Solid Species The Solid Species table is available when there is at least one solid species (with "(s)" as suffix).
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 The Aqueous Species table is available when there is at least one aqueous species (with "(aq)" as suffix).
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.
Equilibrium Reaction Rate Table This table is only available when equilibrium reactions are present in the interface. Use the Reaction rate column to specify the rate for each equilibrium reaction. By doing so the postprocessing variable for the total reaction rate for each species, of form chem.Rsum_species, will be updated correctly. For a mass transport interface, say Transport of Diluted Species, the reaction rate needed for an equilibrium reaction is typically a dependent variable. In that case, the name of the variable can be found in the Shape Function section of the Equation View of the node.
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.
CALCULATE TRANSPORT PROPERTIES
Select the Calculate mixture properties check box (selected as default) to calculate mixture properties that can be picked up in the space-dependent model interfaces. The properties that can be calculated are shown beneath the check box. Consider also if the built-in Automatic expressions fit the model or if User defined expressions are more suitable. In general, the Chemistry interface calculates properties in the same way as the Reaction Engineering interface.
Transport Properties
ACTIVITY
This section is available when the Thermodynamics check box is cleared. Select the Use activity check box to solve for species activities instead of species concentrations, which is a common approach when nonideal 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.
Activity
CHEMKIN IMPORT FOR SPECIES PROPERTIES
It is available when the Thermodynamics check box is cleared. This section enables CHEMKIN® import to simulate complex chemical reactions in gas phase. 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
106 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
the NASA format fields in the Species node's Thermodynamic Expressions section; for Transport, the imported data is entered in its Transport Expressions section.
· CHEMKIN Data and NASA Polynomials · Reversible Reaction Group
PELLET CHEMISTRY
Select the check box Define variables for porous pellets when the Chemistry interface is used to model transport and reactions in porous pellets using the Packed Bed feature. In this case an extra dimension, used to represent solid pellets, or particles, is present in each point of the domain. In this extra dimension both bulk and surface species concentrations are solved for. For correct pellet chemistry make sure to input the intraparticle concentrations in the Species Matching section. When Define variables for porous pellets is selected, reaction rates as well as the mixture properties defined by Chemistry become available in the Packed Bed node and its subnodes.
For more information see the Packed Bed feature in the Transport of Diluted Species interface.
Feature Nodes Available for the Chemistry Interface
The following feature nodes are available from the Chemistry ribbon toolbar (Windows users), Chemistry context menu (Mac or Linux users), or right-click to access the context menu (all users).
· Equilibrium Reaction Group
· Species
· Reaction · Reaction Thermodynamics1
· Reversible Reaction Group
· Species Activity
· Species Group · Species Thermodynamics1
1 This is a subnode and it is only available together with a parent node.
Reaction
To add a Reaction node ( ) either right-click the Chemistry node or in the Chemistry toolbar click Reaction.
REACTION FORMULA
Formula Enter a chemical equation in the Formula field. The chemical equation should be of the format "A + B arrow C + D". Here, A and B are reactants, C and D are product species, and arrow denotes a reaction arrow. The participating species should be written with Valid Species Names. Valid reaction arrows are "<=>" for reversible reaction, "=>" for irreversible reaction, and "=" for equilibrium reaction. Species can be given trivial names, or their chemical formulas can be used as names. Examples of valid formulas are; "carbon+oxygen=>carbondioxide", and "C(s)+O2(g)=>CO2(g)".
Click Apply to make the interface examine the species taking part in the chemical equation, and automatically add the associated Species features to the Model Builder.
Balance ( ) Use the Balance button to automatically calculate the stoichiometric coefficients such that the number of atoms of each kind are the same on both sides of the reaction. This turns, for example, the formula "H2+O2=>H2O" into "2H2+O2=>2H2O". The balancing involves parsing all participating species for elements in the periodic table. It therefore requires that all species in the Formula field are written either using their chemical formula, say "H2O", or that each species in the reaction have an enabled Chemical Formula field in their Species node. For example, it is possible to balance the formula "H2+O2=>water" as long as there is a Species node with the name "water" already present, and an enabled Chemical Formula.
For automatic reaction balancing to be successful, requires that the problem is well posed. One example of a problem that is not well posed is "C+H2=>CH4+C2H6", in which case any ratio of CH4/C2H6 could be obtained. Another example is "H2=>O2" where not all elements are present on both sides.
Reaction Type Select the Reaction type -- Reversible, Irreversible, or Equilibrium -- or edit the expression directly in the Formula field. In the latter case, specify the reaction type with a delimiter separating the two sides of the equation:
· <=> denotes a Reversible reaction · => denotes an Irreversible reaction · = denotes a reaction at chemical Equilibrium
108 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Each Reaction type has its own set of reaction kinetics:
· If the reaction is Reversible or Irreversible, the reaction rate for reaction i contributes to the change in species i as follows:
Ri = ijrj
j
(2-98)
where ij is the stoichiometric coefficient.
· If it is an Equilibrium reaction, the equilibrium expression is equal to the equilibrium constant:
Keq = Keq0
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:
· For an Irreversible reaction type, the reaction rate becomes:
rj = kjf
ciij
i react
(2-99)
· For a Reversible reaction type, the expression instead becomes:
rj = kjf
ciij kjr
c
i
i
j
i react
i prod
(2-100)
The deduced overall reaction order is shown in text below the respective equation in the Reaction Rate section.
Arbitrary Rate Expression If the reaction order differs from the stoichiometric coefficients, or if an arbitrary rate expressions is applicable, change Reaction Rate to User defined. An expression field r appears with the default expression being that from the mass action law. Below this there are fields to set the reaction order. For a reversible reaction the reverse reaction order may be specified in addition to the forward one. The unit of the rate constant k (or frequency factor A in the case of Arrhenius behavior), is derived from the reaction order, in SI units: (m/mol) 1/s, where equals the order with respect to volumetric species. When surface species are present -- identified by their "(ads)"
suffix -- the unit is instead given by m 2/mol/s, where is the order with respect to surface species.
Consider for example the reaction:
2
S2
O
2 4
+ H2O S2O32
+ 2 HSO3
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:
Change to User defined Adjust rate expression Specify reaction order Note effect on unit
Figure 2-10: The reaction order can be manually specified for a user defined reaction rate.
RATE CONSTANTS
This section applies for Reversible or Irreversible reactions and defines the reaction rate constants used in the reaction rates. Forward Rate Constant and Reverse Rate Constant The Forward rate constant kf is used for both Reversible and Irreversible reactions. The Reverse rate constant kr is only used for Reversible reactions (Equation 2-99). 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.
110 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Specify Equilibrium Constant The Specify equilibrium constant check box is available for Reversible reactions. If the check box is selected the rate constants are defined in a different manner with the reverse rate constant being computed from the following expression:
kr = kf Keq0
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.
Use Arrhenius Expressions When the Use Arrhenius expressions check box is selected the Arrhenius parameters are automatically used in predefined expressions for the forward and reverse rate constants kfand kr, respectively.
kf = AfT Trefnf exp Ef RgT
kr = ArT Trefnr exp Er RgT
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): · Forward frequency factor Af and Reverse frequency factor Ar (unit depends on
reaction order) · Forward temperature exponent nfand Reverse temperature exponent nr · Forward activation energy Efand Reverse activation energy Er (SI unit: J/mol)
EQUILIBRIUM SETTINGS
This section is available for equilibrium reactions, and for reversible reactions when the Specify equilibrium constant check box has been selected.
Equilibrium Expression For an equilibrium reaction, specify the Equilibrium expression. When the Equilibrium expression is set to Automatic the following expression is used:
c
i i
j
Keqj
=
--i-------p---r-o---d----------
c
i i
j
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.
REACTION THERMODYNAMIC PROPERTIES
This section contains information about thermodynamic properties that relate to a selected reaction. Several Automatic definitions are available here.
Enthalpy of Reaction The Enthalpy of reaction H (SI unit: J/mol) is calculated by the interface from species properties and the related stoichiometric coefficients:
Hj =
ijhi
ijhi
i prod
i react
(2-101)
Entropy of Reaction The Entropy of reaction S (SI unit: J/(mol·K)) comes from a similar expression:
112 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Sj =
ijsi
ijsi
i prod
i react
(2-102)
In Equation 2-101 and Equation 2-102, 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 2-101 and Equation 2-102 to equate the Gibbs free energy of reaction enables the equilibrium constant to be expressed according to Equation 2-101.
Heat Source of Reaction The Heat source of reaction (SI unit: W/m3) is automatically computed from the heat
of each reaction j, given by:
Qj = Hjrj
Using the Reaction Node
Species
When a Reaction is defined, a Species node ( ) is automatically generated for the participating reactants and products. This feature enables you to review and enter species specific information regarding chemical kinetics, thermodynamics, and transport properties.
It is also possible to add and define an individual Species node: in the Chemistry toolbar click Species or right-click the Chemistry node and select it from the context menu.
NAME
When a Species node is automatically generated using the Formula text field for the Reaction node, the Name is also automatically generated.
For a Species node added individually, enter a Name in the field and click Apply. By entering a name consisting of elements from the periodic table, the molar mass is
calculated and added in the Chemical Formula section. The species charge, and type, are also deduced from the species name.
Valid Species Names
TYPE
Select a species type -- Bulk species, Surface species, or Solvent. The latter is only available when a diluted solution is assumed. That is when Type is set to Diluted Species in the Mixture Properties section (in the interface level). Bulk species and Solvent are solved for volumetric concentrations (SI unit: mol/m3), while Surface species are solved for surface concentration (SI unit: mol/m2). The compositions for Bulk species and Solvent use the syntax c_speciesname, while Surface species uses csurf_speciesname_surf. When Surface species is selected, the corresponding reaction formula introduces (ads) after the species notation and changes the species' name to speciesname_surf. Additionally, the Species node name is updated in a similar fashion.
CHEMICAL FORMULA
The Chemical Formula section contains the species chemical formula, Molar mass, M, and Charge, z. If the name entered for the species consists of only elements from the periodic table, and optionally charge and phase indication, then the Chemical Formula field will be populated with the name entered in the Name section, and the molar mass and charge will be added to this section. The species molar mass is computed from the mass of occurring individual elements2. The rules for writing chemical formulas are the same as those for Species names.
Valid Species Names
When the species name contains parts not in the periodic table, for example when a descriptive name such as water is used, the molar mass is set to 0.0 kg/mol and the charge to zero. In this case, the molar mass needs to be defined in order to achieve
2. 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.
114 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
mass balanced reactions and correct definitions of mass basis properties. By entering a chemical formula consisting only of elements from the periodic table (and optionally charge and phase indication), the molar mass, and charge are derived automatically.
When needed, the Molar mass can be edited in the corresponding text field. Editing the Chemical formula and pressing apply will override the molar mass and charge fields.The Charge field cannot be edited as long as a chemical formula is enabled.
With an enabled Chemical Formula it is possible to use the trivial name of a species and balance reactions. Having added the Species water, oxygen, and hydrogen, and filled in H2O, O, and H in their respective chemical formula sections, the Formula oxygen+hydrogen=water is balanced into oxygen+2hydrogen=water by clicking Balance in the Reaction node.
It is possible to specify the species density when the fluid Mixture is specified as Liquid. The default value is that of water at 293 K.
REACTION RATE
Change the Automatic default setting to User defined to use a species reaction rate other than the one set up in the associated Reaction node. For individual species, use the User defined option to set a reaction rate other than zero (that is, nonreactive). Edit either the Rate expression (SI unit: mol/(m3·s)), the Surface rate expression (SI unit: mol/(m2·s)), or both. For a bulk species, both expressions appear if surface reactions are present since the reaction of the species can depend both on bulk reaction R and surface reaction Rads rates. For a surface species, only the surface reaction rate Rads appears.
ADDITIONAL SOURCE
The Additional Source section is available in order to include additional rate contribution for the species to the reaction kinetics. When the Additional source check box is selected, add an Additional rate expression in the text field (SI unit: mol/m3).
CONSTANT CONCENTRATION/ACTIVITY
To account for nonideality in the fluid mixture, adjust the activity coefficient in the Activity coefficient input field. This input field is only shown if activity instead of concentration has been chosen in the interface, that is, the Use activity check box is selected on the Chemistry interface Settings window
Click to select the Keep concentration/activity constant check box if the species concentration or activity should be treated as constant.
TRANSPORT EXPRESSIONS
Here the required parameters to compute various transport properties can be edited. To show this section the Calculate mixture properties check box needs to be selected under the Calculate Transport Properties section.
· For a gas mixture, there are maximum five properties to consider: , the characteristic length (unit: Å) of the LennardJones/Stockmayer potential; kb, the energy minimum (SI unit: K) of the LennardJones/Stockmayer potential; D, the dipole moment (SI unit: Debye); ki, the thermal conductivity of the gas (SI unit: W/(m·K)); and Diffusivity of the species (SI unit: m2/s). The latter two can be set as Automatic, when theoretical Transport Parameters expressions are available.
· For mixtures of gas with solvent, all properties above except the thermal conductivity is shown. This is instead calculated under the Calculate mixture properties section in the Settings window for the Chemistry interface.
· For a liquid mixture, there is only the parameter ki, the thermal conductivity (SI unit: W/(m·K)) to edit.
· For mixtures of liquid with solvent, the thermal conductivity is shown only for the species set as Solvent.
THERMODYNAMIC EXPRESSIONS
The parameters utilized for calculation of thermodynamic mixture and reaction properties are set in this section.
The Thermodynamic Expressions are by default computed using data input in the NASA format. In this case, enter the following to compute the species' heat capacity, Cp (SI unit: J/(molK)), the molar enthalpy, h (SI unit: J/mol), and the molar entropy, s (SI unit: J/(molK)):
· Lower temperature limit Tlo · Middle temperature limit Tmid · Upper temperature limit Thi · Polynomial coefficients alow,k and ahi,k Any coefficients for the thermodynamic polynomials entered into the alow,k fields apply to the temperatures in the range Tlo to Tmid; coefficients entered into the ahi,k fields apply to temperatures in the range Tmid to Thi range. The coefficients can also be imported in the CHEMKIN Import for Species Properties section in the Chemistry node.
116 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Choose the User defined alternative to specify Cp, h, and s directly.
Using the Species Node
Reversible Reaction Group
The Reversible Reaction Group node ( ) allows input of a large number of reversible reactions in the same table. All reactions are treated in the same way. More than one Reversible Reaction Group can be added to a component. The feature is typically used when importing CHEMKIN kinetics files.
Add the node from the Chemistry toolbar or right-click Chemistry and add it from the context menu.
For the case when reaction kinetics data are entered manually into the Reaction table and temperature dependent reaction kinetics apply, right-click to add a Reaction Thermodynamics subnode or select it from the Chemistry toolbar, Attributes menu. In it, the Enthalpy of Reaction (J/mol) for each reaction can be specified.
REACTION TABLE
The 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 LiveLinkTM 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 LiveLinkTM 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.
CREATE REACTION AND SPECIES
Enter a reaction number in the Moving reaction (with the number) from table text field and click Create Reaction to remove the reaction from the Reaction table to the model tree. This introduces a reaction node named after the reaction number and species names and simultaneously creates corresponding species nodes. This action is powerful, since it enables all the editing possibilities available for Reaction and Species nodes.
CHEMKIN IMPORT FOR KINETICS
Click to select the Import CHEMKIN data check box to import a CHEMKIN Kinetics input file. To import the data directly into the table columns, click Browse to locate the CHEMKIN file to be imported, then click Import.
CHEMKIN Data and NASA Polynomials
Equilibrium Reaction Group
The Equilibrium Reaction Group node ( ) allows for input of a large number of equilibrium reactions in the same table. This node functions in the same way as the Reversible Reaction Group for reversible reactions. Add the node from the Chemistry toolbar or right-click Chemistry and add it from the context menu. For the case when reaction kinetics data are entered manually into the Reaction table and temperature dependent reaction kinetics apply, right-click to add a Reaction
118 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Thermodynamics subnode or select it from the Chemistry toolbar, Attributes menu. In it, the Enthalpy of Reaction (J/mol) for each reaction can be specified.
REACTION TABLE
The equilibrium reactions in the table are numbered and contain reactants, products, and kinetic parameters describing the reaction. Use the buttons under the Reaction table to add and sort the reaction details.
· In general, use the Move Up ( ), Move Down ( ), and Delete ( ) buttons and the fields under tables to edit the table contents. Or right-click a table cell and select Move Up, Move Down, or Delete.
· The Add button ( ) adds default reactant, A, and product, B, with a default. Click the corresponding field to edit the reactant, product, or parameters. After editing the Species Group node is also updated. It is created together with the reaction group.
· You can save the parameters to a text file to reuse in other models. Click the Save to File button ( ) and enter a File name in the Save to File dialog 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 LiveLinkTM 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 LiveLinkTM 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.
Chemical Vapor Deposition of GaAs: Application Library path Chemical_Reaction_Engineering_Module/ Reactors_with_Mass_and_Heat_Transfer/gaas_cvd
Species Group
The Species Group node ( ) contains information on a molecular level about the volumetric species and the surface species present in the model. The Property for Volumetric Species or Property for Surface Species tables typically collect parameters from when importing CHEMKIN transport files. This node is automatically added when either the Reversible Reaction Group or the Equilibrium Reaction Group is used. For the case of temperature dependent reaction kinetics, a Species Thermodynamics subnode is automatically created in which the thermodynamic properties of the species can be specified.
CHEMKIN
This section allows import of CHEMKIN transport files. To import the data directly into the table columns, click Browse to locate the CHEMKIN file to be imported, then click Import. Note that this section is only shown when transport properties are computed (Calculate mixture properties check box under the Calculate Transport Properties is selected).
CHEMKIN Data and NASA Polynomials
Reaction Thermodynamics
The Reaction Thermodynamics subnode ( ), the Enthalpy of Reaction (J/mol) of each reaction can be specified. This node overrides all the automatically calculated reaction enthalpies as defined in the Species Thermodynamics subnode. Add the Reaction Thermodynamics node from the Chemistry toolbar, Attributes menu. Alternatively, right-click a Reversible Reaction Group or Equilibrium Reaction Group to add the Reaction Thermodynamics subnode.
Species Activity
The Species Activity node ( ) creates variables for the activities of all the species/ surface species present in the Species Group parent feature. Edit the Activity coefficient field in the Species Activity or Surface Species Activity tables by clicking in these.
120 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
Species Activity is a subnode to the Species Group node. It is automatically generated when nonideality in the fluid mixture is accounted for; when the Use activity check box is selected in the Activity section.
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.
THERMODYNAMIC PROPERTIES OF SPECIES
Select a Type selection for the thermodynamic properties. The NASA format alternative requires the setting of several polynomial constants and is typically used together with CHEMKIN import. The User defined alternative only requires input of Species molar enthalpy (J/mol) and Species molar capacity (J/(mol·K)).
CHEMKIN IMPORT FOR THERMODYNAMIC DATA
This section allows import of thermodynamic CHEMKIN transport files. To import the data directly into the table columns, click Browse to locate the CHEMKIN file to be imported, then click Import. Note that this can only be done for the NASA format option.
· CHEMKIN Data and NASA Polynomials
Study Steps for the Reaction Engineering Interface
Reactor Types and Solver Study Steps
The predefined CSTR, Batch, and Semibatch reactor types available in the Reaction Engineering interface set up equations describing how species concentrations in a perfectly mixed system change with time. Time Dependent is the correct study type to use for these reactor types. The simulation time is specified in the settings of the Time Dependent study step. The predefined Plug flow reactor type sets up equations for stationary conditions describing how species molar flow rates (SI unit: mol/s) vary with the reactor volume. Stationary Plug Flow is the correct study type to use for this reactor type. The reactor volume is specified in the Stationary Plug Flow study step feature Note that selecting the Reaction Engineering interface and the Time Dependent study sets up the Batch, constant volume reactor type by default. The Time Dependent study is also suitable for all CSTR reactors and the Semibatch reactor. However, if the reactor type is changed to Plug flow, then the Time Dependent study step needs to be replaced with a Stationary Plug Flow step. Combining a Reaction Engineering interface with the Stationary Plug Flow study does not set up a Plug flow reactor type by default. In that situation, the Plug Flow reactor type needs to be set manually in the Reaction Engineering interface.
122 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
124 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
126 | C H A P T E R 2 : T H E C H E M I S T R Y A N D R E A C T I O N E N G I N E E R I N G I N T E R F A C E S
3
Chemical Species Transport Interfaces
The Chemical Species Transport branch ( ) includes a number of subbranches to
describe mass transport and chemical reactions. The physics interfaces are summarized in the first section, and then described in detail throughout this chapter. All physics interfaces include features for defining arbitrary reaction kinetics, to be used as mass sources and sinks, as well as arbitrary mass transport parameters. · Overview of Chemical Species Transport Interfaces · Theory for the Transport of Diluted Species Interface · Theory for the Transport of Concentrated Species Interface · Theory for the Electrophoretic Transport Interface · Theory for the Surface Reactions Interface · Theory for the NernstPlanck Equations Interface · Theory for the Reacting Laminar Flow Interface · The Transport of Diluted Species Interface · The Transport of Diluted Species in Porous Media Interface · The Transport of Diluted Species in Fractures Interface · The Transport of Concentrated Species Interface
127
· The Transport of Concentrated Species in Porous Media Interface · The NernstPlanck Equations Interface · The NernstPlanckPoisson Equations Interface · The Electrophoretic Transport Interface · The Surface Reactions Interface · The Vapor Flow Multiphysics Interfaces · The Reacting Flow, Concentrated Species Multiphysics Interface · The Reacting Flow, Diluted Species Multiphysics Interface · The Reacting Flow in Porous Media Multiphysics Interfaces · The Nonisothermal Reacting Flow Multiphysics Interfaces · The Dispersed Two-Phase Flow with Species Transport Multiphysics Interfaces For a detailed description and background of the The Chemistry Interface and The Reaction Engineering Interface see The Chemistry and Reaction Engineering Interfaces chapter.
128 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Overview of Chemical Species Transport Interfaces
In this section: · Available Physics Interfaces · Coupling to Other Physics Interfaces · Adding a Chemical Species Transport Interface and Specifying the Number of
Species
Available Physics Interfaces
THE SURFACE REACTIONS (SR) INTERFACE
The Surface Reactions Interface ( ) models reactions involving surface adsorbed species and species in the bulk of a reacting surface. The physics interface is typically active on a model boundary and is coupled to a mass transport physics interface active on a model domain. The Surface Reactions interface can be used together with other Chemical Species Transport interfaces, the Reacting Flow interfaces, and the Electrochemistry interfaces. Predefined expressions for the growth velocity of the reacting surface makes it easy to set up models with moving boundaries. Also see the Theory for the Surface Reactions Interface.
The Electrochemistry interfaces require the addition of the Battery Design Module, the Corrosion Module, the Electrochemistry Module, the Electrodeposition Module, or the Fuel Cell & Electrolyzer Module.
THE TRANSPORT OF DILUTED SPECIES, AND THE TRANSPORT OF DILUTED SPECIES IN POROUS MEDIA (TDS) INTERFACES
The mass transfer equations account for chemical species transport by diffusion, convection, and migration due to an electric field (electrokinetic flow)--either alone or in combination. The Transport of Diluted Species Interface ( ) is an enhanced version of the physics interface included with the basic COMSOL Multiphysics license and is applicable for solutions (either fluid or solid) where the transported species have concentrations at least one order of magnitude less than the solvent. The settings for this physics interface can be chosen so as to simulate chemical species transport
O V E R V I E W O F C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S | 129
through diffusion (Fick's law), convection (when coupled to fluid flow), and migration (when coupled to an electric field -- electrokinetic flow). Also see the Theory for the Transport of Diluted Species Interface.
The Transport of Diluted Species in Porous Media Interface ( ) is tailored for the modeling of solute transport in porous media. The physics interface supports cases where either the solid phase substrate is exclusively immobile, or when a gas-filling medium is also assumed to be immobile.
THE TRANSPORT OF CONCENTRATED SPECIES, AND THE TRANSPORT OF CONCENTRATED IN POROUS MEDIA SPECIES INTERFACES
The Transport of Concentrated Species Interface ( ) is used for modeling transport in gas or liquid mixtures where no component is clearly dominant. Often the concentrations of the participating species are of the same order of magnitude, and the molecular effects of respective species on each other needs to be considered. This physics interface supports transport through Fickian diffusion, a mixture-average diffusion model, and as described by the Maxwell-Stefan equations. These take into account the diffusion properties of all species with respect to each other. Convective transport and transport by migration in electric fields are also accounted for by this physics interface. Also see the Theory for the Transport of Concentrated Species Interface.
The Transport of Concentrated Species in Porous Media Interface ( ) is tailored for the modeling of gas or liquids mixtures in porous media.
THE NERNSTPLANCK EQUATIONS (NPE) INTERFACE
The NernstPlanck Equations Interface ( ) includes a migration term, along with convection and diffusion mass transport, together with an equation that guarantees electroneutrality. A term to describe the electric potential is also provided in the physics interface itself. Also see the Theory for the NernstPlanck Equations Interface.
THE VAPOR FLOW INTERFACES
The Vapor Flow multiphysics interfaces can be used to model vapor transport in multicomponent mixtures in contact with liquids. Laminar Vapor Flow, Concentrated Species ( ) includes features for evaporation and condensation at vaporliquid interfaces. The Laminar Vapor Flow, Concentrated Species, Moving Mesh ( ) can be used to also track the motion of the interface resulting from the mass transfer.
130 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
THE REACTING FLOW IN POROUS MEDIA INTERFACES
The Reacting Flow in Porous Media, Transport of Diluted Species Interface ( ) (found under the Chemical Species Transport>Reacting Flow in Porous Media branch ( ) when adding a physics interface), is a multiphysics interface treating diluted reacting mixtures transported by a porous media flow. The velocity field automatically to the mass transport.
The Reacting Flow in Porous Media, Transport of Concentrated Species Interface( ) found under the Chemical Species Transport>Reacting Flow in Porous Media branch ( ) when adding a physics interface), is a multiphysics interface treating concentrated reacting mixtures transported by a porous media flow. The couplings between velocity field and mixture density are set up automatically.
THE DISPERSED TWO-PHASE LAMINAR FLOW WITH SPECIES TRANSPORT INTERFACE
The Dispersed Two-Phase Laminar Flow with Species Transport Interface ( ) (found under the Chemical Species Transport>Dispersed Two-Phase Flow with Species Transport branch ( ) when adding a physics interface) is a multiphysics interface treating two-phase flow, including a dispersed phase, coupled to chemical species transport in both fluid phases.
The next sections, Coupling to Other Physics Interfaces and Adding a Chemical Species Transport Interface and Specifying the Number of Species provide more information to help you start modeling.
Coupling to Other Physics Interfaces
When using this module you are often simulating applications that can be described by the mass transport interfaces in the Chemical Species Transport branch. Yet, as a lot of mass transport is dependent on convection, couplings to Fluid Flow interfaces are required. COMSOL Multiphysics and the Chemical Reaction Engineering Module include physics interfaces for laminar flow as well as porous media flow. More advanced descriptions of fluid flow, such as turbulent flow and multiphase flow, require the CFD Module.
Most chemical reactions or other type of material processing, such as casting, either require or produce heat, which in turn affects both the reaction and other physical processes connected to the system. Heat transfer through conduction and convection, when flow is laminar, as well as through porous media are supported in this module. More extensive description of heat transfer, such as in turbulent flow or involving
O V E R V I E W O F C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S | 131
radiation, require the Heat Transfer Module. The Heat Transfer Module also includes turbulent flow. COMSOL Multiphysics easily supports simulations of electrostatics or DC-based physical phenomena, even if conductivity is nonlinear. If the electric field is AC/DC in nature, or if the system is affected by electromagnetic waves, then the AC/DC Module and RF Module have appropriate physics interfaces for these phenomena. Some applications of electrochemical reactions, particularly in electrochemical power source applications, are better handled by the Battery Design Module.
Adding a Chemical Species Transport Interface and Specifying the Number of Species
A chemical species transport interface can be added when first creating a new model, or at any time during the modeling process.
Creating a New Model in the COMSOL Multiphysics Reference Manual
1 To add a physics interface: - Select New to open the Model Wizard, after selecting a space dimension, go to the Select Physics page. - From the Home toolbar click Add Physics ( ). Or right-click the Component node in the Model Builder and select Add Physics. Go to the Add Physics window.
2 Under Chemical Species Transport, navigate to the physics interface to add and double-click it. There are other ways to add a physics interface depending on whether you are in the Model Builder or Add Physics window: - In the Model Wizard, click Add or right-click and select Add Physics ( ). The physics interface displays under Added physics interfaces. - In the Add Physics window, click Add to Component ( ) or right-click and select Add to Component.
132 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
3 Specify the number of species (concentrations or mass fractions) and the names: - In the Model Wizard, on the Review Physics Interface page under Dependent Variables. - In the Add Physics window, click to expand the Dependent Variables section. - After adding the physics interface, you can also edit this information--click the node in the Model Builder, then, in the Settings window under Dependent Variables, specify the information.
4 Continue by adding more physics interfaces and specifying the number of species (concentrations or mass fractions) that are to be simulated in a mass transport interface when adding that interface.
5 In the Dependent Variables section, enter the Number of species. To add a single species, click the Add Concentration button ( ) underneath the table or enter a value into the Number of species field. Click the Remove Concentration button ( ) underneath the table if required.
6 The Transport of Concentrated Species interface and the NernstPlanck Equations interface both need to contain at least two species (the default). Also edit the strings or names directly in the table. The names must be unique for all species (and all other dependent variables) in the model.
7 For the NernstPlanck Equations interface, an electric potential variable is also required.
The Reaction Engineering interface can automatically set up the reacting species and their dependent variables. If you plan on using chemical reactions from a Reaction Engineering interface in a species transport interface, the Generate Space Dependent Model feature is recommended to set up the transport interface.
O V E R V I E W O F C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S | 133
Theory for the Transport of Diluted Species Interface
The Transport of Diluted Species Interface provides a predefined modeling environment for studying the evolution of chemical species transported by diffusion and convection as well as migration due to an electric field. The physics interface assumes that all species present are dilute; that is, that their concentration is low compared to a solvent fluid or solid. As a rule of thumb, a mixture containing several species can be considered dilute when the concentration of the solvent is more than 90 mol%. Due to the dilution, mixture properties such as density and viscosity can be assumed to correspond to those of the solvent.
When studying mixtures that are not dilute, the mixture and transport properties depend on the composition, and a different physics interface is recommended. See The Transport of Concentrated Species Interface in the for more information.
Fick's law governs the diffusion of the solutes, dilute mixtures, or solutions, while the phenomenon of ionic migration is sometimes referred to as electrokinetic flow. The Transport of Diluted Species interface supports the simulations of chemical species transport by convection, migration, and diffusion in 1D, 2D, and 3D as well as for axisymmetric components in 1D and 2D.
In this section:
· Adding Transport Through Migration
· Convective Term Formulation · Crosswind Diffusion · Danckwerts Inflow Boundary
Condition · Equilibrium Reaction Theory
· Mass Balance Equation · Mass Sources for Species Transport · Solving a Diffusion Equation Only · Supporting Electrolytes · The Packed Bed Feature · References
Note: Some features explained in this section require certain add-on modules. For details see https://www.comsol.com/products/specifications/
134 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The section also includes the theory for The Transport of Diluted Species in Porous Media Interface:
· Adsorption · Convection in Porous Media · Diffusion in Porous Media · Dispersion
· Mass Balance Equation for Transport of Diluted Species in Porous Media
· Mass Transport in Fractures · Reactions
Mass Balance Equation
The default node attributed to the Transport of Diluted Species interface models chemical species transport through diffusion and convection and solves the mass conservation equation for one or more chemical species i:
---c---i t
+
Ji
+
u
ci
=
Ri
(3-1)
Equation 3-1 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.
· ci is the concentration of the species (SI unit: mol/m3) · Di denotes the diffusion coefficient (SI unit: m2/s) · Ri is a reaction rate expression for the species (SI unit: mol/(m3·s))
· u is the mass averaged velocity vector (SI unit: m/s) · Ji is the mass flux diffusive flux vector (SI unit: mol/(m2·s))
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
Ji = Dci
(3-2)
An input field for the diffusion coefficient is available.
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 135
When Migration in Electric Fields is activated, the migration term is also added to the diffusive flux vector as shown in the section Adding Transport Through Migration.
The third term on the left side of Equation 3-1 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 3-1), 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.
Equilibrium Reaction Theory
The feature Equilibrium Reaction is described in this section. A chemical equilibrium reaction system is defined by the stoichiometry of the reaction and the relation between the chemical activities of the chemical species participating in the reaction (the equilibrium condition).
The kinetics of the reaction is so fast that the equilibrium condition is fulfilled at all times in all space coordinates.
The equilibrium condition is commonly based on the stoichiometric coefficients, i (dimensionless), of the reaction; the species activities of the reacting species ai (dimensionless); and an equilibrium constant, Keq (1) according to:
a
i i
Keq
=
--i-------p---r-o---d--u---c--t--s---------
a
i i
i reactants
where the species activities are defined as
ai
=
c
i
--c---ica0
where ca0 (SI unit: mol/m3) is the standard molarity, and c,i (dimensionless) an activity coefficient.
136 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Defining the stoichiometric coefficients positive for products and negative for reactants, the above equilibrium condition can also be written:
Keq =
a
i i
i
The Equilibrium Reaction node solves for a reaction rate so that the equilibrium condition is always fulfilled in the domain. It is available for the Chemical Reaction Engineering Module; Battery Design Module; Corrosion Module; Electrochemistry Module; Electrodeposition Module; and Fuel Cell & Electrolyzer Module.
c,i is set to unity when the Equilibrium constant is selected in the Settings window. For nonunity activity coefficients, a user defined equilibrium condition can be used.
EQUILIBRIUM REACTIONS AND INFLOW BOUNDARY CONDITIONS
Contradictory constraints arise if the boundary conditions for concentrations or activities are set so that the domain equilibrium condition is not fulfilled. Special treatment is therefore needed at Inflow boundaries, where the concentrations are set for all species in the mass transport interfaces.
One way of avoiding competing constraints on an inflow boundary is to add an additional reaction coordinate degree of freedom, solved for to create a set of modified inflow concentrations that fulfill the domain equilibrium condition. The reaction coordinate gives rise to a concentration shift, which is the offset to the inflow concentrations provided by the user. The shift for each species obeys the stoichiometry of the reaction and the equilibrium expression. The modified inflow concentrations are then used in the boundary conditions for the domain mass transport equations. The resulting modified inflow concentrations can be seen as the stationary solution for a batch reactor with the user inflow concentrations as initial concentrations. In addition, the domain reaction rate degree of freedom of the equilibrium reaction is constrained to zero on all Inflow boundaries.
EQUILIBRIUM REACTIONS AND CONCENTRATION BOUNDARY CONDITIONS
No special treatment is made with regards to input concentration values of the Concentration boundary node. Using this feature, you can explicitly set one or a set of concentrations, and the equilibrium condition acts on the rest of the concentrations.
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 137
However, there is no solution to the problem if more concentrations than the number of species minus the number of equilibrium reactions are set using this feature.
EQUILIBRIUM REACTIONS AND TIME-DEPENDENT SIMULATIONS
Spurious oscillations may occur in a time-dependent problem if the initial conditions do not fulfill the equilibrium condition. Since equilibrium reactions are assumed to be infinitely fast, the solution is to initialize the problem using an additional study step, solving for a stationary problem with all nonequilibrium reaction rates set to zero. Manual scaling of the reaction rate dependent variables is needed in this study step.
Convective Term Formulation
The default node attributed to The Transport of Diluted Species Interface assumes chemical species transport through diffusion and convection (depending on the modules licensed, a check box to activate migration is available) and implements the mass balance equation in Equation 3-1.
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:
nonconservative:
---ct
+
u
c
=
Ji + R
(3-3)
conservative:
---c-- + cu t
=
Ji + R
(3-4)
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.
138 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Solving a Diffusion Equation Only
Remove the convection term from Equation 3-3 and Equation 3-4 by clearing the Convection check box in the Transport Mechanisms section for The Transport of Diluted Species Interface. The equation then becomes
---c-t
=
Ji + R
Mass Sources for Species Transport
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 unit: mol/(m3·s)), in a small volume V and then letting the size of the volume tend to zero while keeping the total mass flux constant. Given a point source strength, q p,c
(SI unit: mol/s), this can be expressed as
lim
V 0
Q c = q p,c
V
(3-5)
An alternative way to form a point source is to assume that mass is injected/extracted through the surface of a small object. Letting the object surface area tend to zero while keeping the mass flux constant results in the same point source. For this alternative approach, effects resulting from the physical object's volume need to be neglected.
The weak contribution
q p,ctestc is added at a point in the geometry. As can be seen from Equation 3-5, 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.
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 139
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.
The finite element representation of Equation 3-5 corresponds to a finite concentration at a point with the effect of the point source spread out over a region around the point. The size of the region depends on the mesh and on the strength of the source. A finer mesh gives a smaller affected region but also a more extreme concentration value. It is important not to mesh too finely around a point source since this can result in unphysical concentration values. It can also have a negative effect on the condition number for the equation system.
LINE SOURCE
A line source can theoretically be formed by assuming a source of strength Q l,c (SI unit: mol/(m3·s)), located within a tube with cross section S and then letting S tend
to zero while keeping the total mass flux per unit length constant. Given a line source strength, q l,c (SI unit: mol/(m·s)), this can be expressed as
lim
S 0
Q l,c = q l,c
S
(3-6)
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.
The weak contribution
q l,ctestc
is added on lines in 3D or at points in 2D (which represent cut-through views of lines). Line sources can also be added on the axisymmetry line in 2D axisymmetry components. It cannot, however, be added on geometrical lines in 2D since those represent physical planes.
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.
140 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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, these shared physics nodes are renamed as follows:
· 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).
Adding Transport Through Migration
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/
In addition to transport due to convection and diffusion, the Transport of Diluted Species interface supports ionic species transport by migration. This is done by selecting the Migration in Electric Field check box under the Transport Mechanisms section for the physics interface. The mass balance then becomes:
ci t
+
Dici
zium
iF
ciV
+
ciu
=
Ri
(3-7)
where · ci (SI unit: mol/ m3) denotes the concentration of species i · Di (SI unit: m2/s) is the diffusion coefficient of species i · u (SI unit: m/s) is the fluid velocity · F (SI unit: A·s/mol) refers to Faraday's constant · V (SI unit: V) denotes the electric potential · zi (dimensionless) is the charge number of the ionic species, and · um,i (SI unit: mol·s/kg) is its ionic mobility
In this case the diffusive flux vector is
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 141
Ji = Dici zium iFciV
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 NernstEinstein relation can in many cases be used for relating the species mobility to the species diffusivity according to
um i
=
--D-----iRT
where R (SI unit: J/(mol·K)) is the molar gas constant and T (SI unit: K) is the temperature.
Note: In the NernstPlanck 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 NernstPlanck Equations Interface. This interface is included in the Chemical Reaction Engineering Module.
Supporting Electrolytes
In electrolyte solutions, a salt can be added to provide a high electrolyte conductivity and decrease the ohmic losses in a cell. These solutions are often called supporting electrolytes, buffer solutions, or carrier electrolytes. The added species, a negative and a positive ion pair, predominates over all other species. Therefore, the supporting electrolyte species can be assumed to dominate the current transport in the solution. In addition, the predominant supporting ions are usually selected so that they do not react at the electrode surfaces since the high conductivity should be kept through the process, that is, they should not be electroactive species. This also means that the concentration gradients of the predominant species in a supporting electrolyte are usually negligible.
142 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Modeling and solving for a supporting electrolyte in the Electrostatics or Secondary Current Distribution interfaces will give a potential distribution that drives the migration in the Transport of Diluted Species Interface.
The current density vector is proportional to the sum of all species fluxes as expressed by Faraday's law:
i = F ziNi
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:
i = F zj2um j F cj
j
(3-8)
Equation 3-8 is simply Ohm's law for ionic current transport and can be simplified to
i =
(3-9)
where is the conductivity of the supporting electrolyte. A current balance gives the current and potential density in the cell
i = 0
which, in combination with Equation 3-9, yields:
= 0
(3-10)
Equation 3-10 can be easily solved using the Electrostatics or Secondary Current Distribution interface and, when coupled to the Transport in Diluted Species interface, the potential distribution shows up in the migration term.
Crosswind Diffusion
Transport of diluted species applications can often result in models with a very high cell Péclet number -- that is, systems where convection or migration dominates over diffusion. Streamline diffusion and crosswind diffusion are of paramount importance to obtain physically reasonable results. The Transport of Diluted Species interface
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 143
provides two crosswind diffusion options using different formulations. Observe that crosswind diffusion makes the equation system nonlinear even if the transport equation is linear.
DO CARMO AND GALEÃO
This is the formulation described in Numerical Stabilization in the COMSOL Multiphysics Reference Manual. The method reduces over- and undershoots to a minimum, even for anisotropic meshes. In some cases, the resulting nonlinear equation system can be difficult to converge. This can happen when the cell Péclet number is very high and the model contains many thin layers, such as contact discontinuities. You then have three options: · Refine the mesh, especially in regions with thin layers. · Use a nonlinear solver with a constant damping factor less than one. · Switch to the Codina crosswind formulation.
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.
Danckwerts Inflow Boundary Condition
Constraining the composition to fixed values at an inlet to a reactor may sometimes result in issues with unreasonably high reaction rates or singularities at the inlet boundary. These problems may many times be mitigated by using a flux boundary condition instead, based on the upstream concentrations and the fluid velocity at the boundary. In chemical engineering, this type of flux boundary condition is also known as a Danckwerts condition. Use the Danckwerts condition to specify inlet conditions for domains where high reaction rates are anticipated in the vicinity to the inlet (Ref. 2). Given an upstream concentration ci,0, the Danckwerts inflow boundary condition prescribed the total flux as
144 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
n Ji + uci = n uci 0
(3-11)
Mass Balance Equation for Transport of Diluted Species in Porous Media
VARIABLY SATURATED POROUS MEDIA
The following equations for the molar concentrations, ci, describe the transport of solutes in a variably saturated porous medium for the most general case, when the pore space is primarily filled with liquid but also contain pockets or immobile gas:
t
lci
+
t c P
i
+
t(gcG
i)
+
u
ci
=
DD
i
+
De
i c i
+
Ri
+
S
i
(3-12)
On the left-hand side of Equation 3-12, 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 3-12 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 = psThe resulting gas volume fraction in the case of an unsaturated porous medium is
g = p l = 1 sp
On the right-hand side of Equation 3-12, 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 3-12 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.
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 145
Adsorption The time evolution of the adsorption, the solute transport to or from the solid phase, is defined by assuming that the amount of solute adsorbed to the solid, cP,i, is a function of the concentration in the fluid ci. This implies that the solute concentration in the liquid and solid phase are in instant equilibrium. The adsorption term can be expanded to give
t
cP
i
=
cP ci
i c i t
cP
i
s
p t
=
K P,i ct i
cP
is
p t
(3-13)
where KP,i cP,ici is the adsorption isotherm.
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
tgcG i
=
gccGi
i c i t
+
kG
icit g
=
g
kG
i
ci t
+
kG
icit g
(3-14)
where kG,i cG,ici is the linear volatilization.
SATURATED POROUS MEDIA
In the case of transport in a saturated porous medium,l = p, and the governing equations are
t
pci
+
t
cP
i
+
u
ci
=
DD i + De ici + Ri + Si
(3-15)
Convection in Porous Media
Convection (also called advection) describes the movement of a species, such as a pollutant, with the bulk fluid velocity. The velocity field u corresponds to a superficial volume average over a unit volume of the porous medium, including both pores and matrix. This velocity is sometimes called Darcy velocity, and defined as volume flow
146 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
rates per unit cross section of the medium. This definition makes the velocity field continuous across the boundaries between porous regions and regions with free flow.
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:
ua
=
--u-p
ua
=
-u-l
Saturated Unsaturated
where p is the porosity and l = sp the liquid volume fraction, and s the saturation, a dimensionless number between 0 and 1.
Figure 3-1: 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.
CONVECTIVE TERM FORMULATION
The Transport of Diluted Species in Porous Media interface includes two formulations of the convective term. The conservative formulation of the species equations in Equation 3-12 is written as:
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 147
t
l
ci
+
t
cP
i
+
t(gcG
i)
+
uci
=
DD i + De ici + Ri + Si
(3-16)
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 3-12.
When using the nonconservative formulation, which is the default, the fluid is assumed incompressible and divergence free: u = . The nonconservative formulation improves the stability of systems coupled to a momentum equation (fluid flow equation).
To switch between the two formulations, click the Show button ( ) and select Advanced Physics Options. In the section Advanced Settings select either Nonconservative form (the default) or Conservative form. The conservative formulation should be used for compressible flow.
Diffusion in Porous Media
The effective diffusion in porous media, De, depends on the structure of the porous material and the phases involved. Dependent on whether the transport of diluted species occurs in free flow or in saturated or unsaturated porous media, the effective diffusivity is defined as:
De = DF
Free Flow
De
=
----pL
DL
Saturated Porous Media
De
=
-----l L
DL
Unsaturated Porous Media
De
=
-----l L
DL
+
----gG
kG
DG
Unsaturated
with
Volatilization
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
148 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
compute the tortuosity factors in partially saturated porous media according to the Millington and Quirk model (Ref. 3):
L = l7 3p2 ,G = g7 3p2 and Bruggeman model
L = l5 2p2 ,G = g5 2p2 For saturated porous media l = p. The fluid tortuosity for the Millington and Quirk model is
L = p1 3 and for the Bruggeman model the tortuosity is defined as
L = p1 2 User defined expressions for the tortuosity factor can also be applied.
Dispersion
The contribution of dispersion to the mixing of species typically overshadows the contribution from molecular diffusion, except when the fluid velocity is very low. The spreading of mass, as a fluid travel through a porous medium is caused by several contributing effects. Local variations in fluid velocity lead to mechanical mixing referred to as dispersion occurs because the fluid in the pore space flows around solid particles, so the velocity field varies within pore channels. The spreading in the direction parallel to the flow, or longitudinal dispersivity, typically exceeds the transverse dispersivity from up to an order of magnitude. Being driven by the concentration gradient alone, molecular diffusion rate is low relative to the mechanical dispersion, except at very low fluid velocities.
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 149
Figure 3-2: Spreading of fluid around solid particles in a porous medium. The dispersion is controlled through the dispersion tensor DD. The tensor components can either be given by user-defined values or expressions or derived from the directional dispersivities. Using the longitudinal and transverse dispersivities in 2D, the dispersivity tensor components are (Ref. 5):
DDii = L-u-u--i2- + Tu--u--j2DDij = DDji = L T-u---iu--u----j In these equations, DDii (SI unit: m2/s) are the principal components of the dispersivity tensor, and DDji and DDji are the cross terms. The parameters L and T (SI unit: m) specify the longitudinal and transverse dispersivities; and ui (SI unit: m/ s) stands for the velocity field components. In order to facilitate modeling of stratified porous media in 3D, the tensor formulation by Burnett and Frind (Ref. 4) can be used. Consider a transverse isotropic media, where the strata are piled up in the z direction, the dispersivity tensor components are:
150 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
DLxx = 1-u-u--2- + 2-v-u--2- + 3-w--u--2DLyy = 1-v-u--2- + 2u--u--2- + 3-w--u--2DLzz = 1-w--u--2- + 3-u-u--2- + 3-v-u--2DLxy = DLyx = 1 2u--u---vDLxz = DLzx = 1 3u---u--w--DLyz = DLzy = 1 3v---u-w---
(3-17)
In Equation 3-17 the fluid velocities u, v, and w correspond to the components of the velocity field u in the x, y, and z directions, respectively, and 1 (SI unit: m) is the longitudinal dispersivity. If z is the vertical axis, 2 and 3 are the dispersivities in the transverse horizontal and transverse vertical directions, respectively (SI unit: m). Setting 2 = 3 gives the expressions for isotropic media shown in Bear (Ref. 5 and Ref. 6).
Adsorption
As species travel through a porous medium they typically attach to (adsorb), and detach (desorb) from the solid phase, which slows chemical transport through the porous medium. Adsorption and desorption respectively reduces or increases species concentrations in the fluid. The adsorption properties vary between chemicals, so a plume containing multiple species can separate into components (Ref. 7). The Adsorption feature includes four predefined and one user defined relationships to predict the solid concentrations, cPi from the concentration in the liquid phase, ci:
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 151
cP
=
cPmax
-----K-----L---c-----1 + KLc
cP = KF -c--cr--e--f N
cP
=
c
Pmax
-------------------b----T---c-------------------1 + bTcNT1 NT
cP
=
-----------------------K-----B---c---0---c------------------------
cS
c
1
+
KB
1
c--c-S-
Langmuir Freundlich Toth BET
(3-18)
The above equations contains the following parameters:
· Freundlich (Ref. 8)
- Freundlich constant KF (SI unit:·mol/kg), Freundlich exponent NF (dimensionless), and reference concentration cref (SI unit: mol/m3).
· Langmuir (Ref. 9) - Langmuir constant KL (SI unit: m3/mol), and adsorption maximum cPmax (SI unit: mol/kg).
· Toth (Ref. 10) - Toth constant bT (SI unit: m3/mol), Toth exponent NT (dimensionless), and adsorption maximum cPmax (SI unit: mol/kg).
· BET (BrunauerEmmettTeller, Ref. 11)
- BET constant KB (dimensionless), the monolayer adsorption capacity c0 (SI unit: mol/kg) and the saturation concentration, cS (SI unit: mol/m3).
These predefined expressions are adsorption isotherms that describe the amount of species sorbed to the solid. Applying the isotherms, as defined in the Adsorption section above, assumes that adsorption is at equilibrium locally. This implies that the species phase transfer, between the fluid and the solid phase (within the porous medium), is much faster than the transport within the fluid phase.
Using a Species Source feature, arbitrary expressions can be entered to define, for example, nonequilibrium and temperature-dependent adsorption laws, in the manner of Fetter (Ref. 12), or Bear and Verruijt (Ref. 13).
The retardation factor, RF, describes how adsorption slows the solute velocity, uc, relative to the average linear velocity of the fluid, ua, as in
152 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
RF
=
1
+
----b
---c---P-c
=
u-u---ac-
If the contaminant moves at the average linear velocity of the fluid for RF = 1. For RF > 1, the contaminant velocity is lower than the fluid velocity owing to residence time on solids.
Reactions
Chemical reactions of all types influence species transport in porous media. Examples include biodegradation, radioactive decay, transformation to tracked products, temperature- and pressure-dependent functions, exothermic reactions, and endothermic reactions. The reactions represent change in species concentration per unit volume porous medium per time. Reaction terms are used on the right-hand side of the governing equation to represent these processes. For reactions in a fluid phase, multiply the expression by the fluid volume fraction . Similarly, solid phase reaction expressions include the bulk density, b, and gas phase reactions include the gas volume fraction, av.
The following expressions define some common types of reactions:
RLi
=
-l--n----2-Li
ci
Radioactive decay -- liquid
RPi
=
b
-l--n----2-Pi
---c--c-P--i--i
ci
Radioactive decay -- solid
RGi
=
-l--n----2-Gi
av
---c---cG----i
ci
Radioactive
decay
--
gas
RLk = Lici
Creation from parent cLi -- liquid
RPk
=
bP
i
---c--c-P--i--i
ci
Creation from sorbed parent cPi -- solid
RGk = av---c---cG----i ci Reaction -- gas
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.
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 153
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. 14:
T
=
R exp
E-----a-----T-----------T----R---- RuTTR
(3-19)
In Equation 3-19, T denotes the current absolute temperature, TR denotes the reference absolute temperature, Ea is the activation energy, and Ru is the universal gas constant.
Mass Transport in Fractures
When thin fractures occur in porous media, fluid flow tends to move faster along the fracture than in the surrounding media. The transport of chemical species therefore also occur also faster in the direction of the fractures.
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 3-12. The resulting equation is:
dfr
-------b---c---P-----i t
+
-------p---c--i t
+
t
De
itci
+
u
tci
=
dfrRi + dfrSi + n0
(3-20)
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:
ci = nci + tci
154 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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:
ci = tci Using The Transport of Diluted Species in Fractures Interface, the transport along fracture boundaries alone is solved for. In this case the transport in the surrounding porous media neglected and the out-of plane flux n0 vanishes.
See Fracture for more information about the boundary feature solving Equation 3-20. See The Transport of Diluted Species in Fractures Interface for more information about the physics interface solving the equation on boundaries only.
The Packed Bed Feature
The Packed Bed feature, available to users of the Chemical Reaction Engineering Module, adds a domain feature that can simulate regions filled with reactive porous pellets, as in packed bed reactors. The theory for the Packed Bed feature available in the Transport of Diluted Species interface is presented below. The pellets in the bed are simulated with the Extra Dimension technology provided by the COMSOL software: A 1D, 2D, or 3D domain represents the bed volume. The extra dimension is the added radial microscale dimension inside each pellet. There are two types of pellets, acting as porous catalyst and reactant (Shrinking Core) respectively. For the porous catalyst pellet, the whole radius is mapped to the extra dimension, while for the Shrinking Core pellet, the radial length of porous reacted outer-layer is mapped to the extra dimension.
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 155
PELLET: POROUS CATALYST
The species diffuse from packed bed into porous pellet where they go through catalytic reactions, then diffuse back into the packed bed.
For an example of how to use the Packed Bed, see the model example A Multiscale 3D Packed Bed Reactor, file path Chemical_Reaction_Engineering_Module/Reactors_with_Porous_Catalysts/ packed_bed_reactor_3d
Outflow
Macroscale: c Concentration in fluid passing through bed
Microscale:
cpe
Concentration in porous pellet
Inflow
Pellet of radius rpe
Figure 3-3: Schematic showing the macroscale (bed volume) and the microscale (pellet).
The transport and reaction equations inside the pellets are solved on an extra dimension attached to the 1D, 2D, or 3D physics interfaces, including axisymmetric cases.
The equations inside the spherical pellet are solved as spherical transport equations on nondimensional radial coordinates on the domain 0-1.
156 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The model equations assume spherical particles (pellets) of a radius rpe. Modeling assumptions for cylinders, flakes, and user-defined shapes can also be used. Consider
the microscale concentration cpe inside an individual porous pellet or pellets, and the macro-concentration c in the packed bed gas volume.
The pellet radius input can be:
The model equation for the bulk (macroscale) species is, for example:
bt(ci) + u ci + Db ici = Ri
(3-21)
· b is the bed porosity. · The dependent variable c for each chemical species i represents the interparticle
concentration, that is, the concentration based on unit volume of fluid flowing between the pellets.
· Ri is the species interparticle reaction rate in the bed. This corresponds to reactions occurring in the macropores between the pellets in the bed. Note that Ri is the reaction rate per unit volume of bed.
Looking inside a pellet: Assuming no concentration variations in the space-angle (, ) direction, but only in the radial (r) direction of the spherical pellet allows a spherically symmetric reaction-diffusion transport equation inside the pellet. If rdim (SI unit: m) is the spatial radial coordinate in the pellet, and rpe is the pellet radius, the nondimensional coordinate r = rdim/rpe can be defined. The modeling domain on r goes from 0 to 1.
0 (center)
r_pe (pellet perimeter)
0
1
Figure 3-4: Modeling domain in a pellet for dimensional (top) and nondimensional (bottom) coordinates.
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 157
A shell mole balance across a spherical shell at radius rdim (SI unit: m), and a subsequent variable substitution r rdim/rpe gives the following transport equation on the pellet domain 0 r 1:
4
r2
rpe2
pe
t(cpe
i)
+
r2 Dpe
i c pe
i
=
r 2 r pe 2 Rpe
i
(3-22)
· pe is the pellet (microscale) porosity. · cpe,i is the intraparticle concentration of species i in moles/m3 of fluid volume
inside the micropores.
· Rpe,i is the pellet reaction rate. This corresponds to reactions taking place inside the pellets. Note that the user input of Rpe,i is per unit volume of pellet.
Assuming that the pellet bed is homogenized, that is that pellets are present in an averaged sense in each point of the geometry, the equation to be solved in the packed bed is:
4
N
r2
r pe 2 pe
t(c
pe
i)
+
r 2 D pe
i c pe
i
=
r 2 r pe 2 R pe
i
(3-23)
where N is the number of pellets per unit volume of bed:
N = ---1------------b---Vpe
Dividing Equation 3-22 by 4r2rpe2 (the pellet area times r2), the governing equation inside each pellet is:
pe t(c pe
i)
+
-------a-------r2rpe2
r2 D pe
i c pe
i
=
Rpe i
(3-24)
The effective diffusion coefficient in the equations above depends on the porosity pe, tortuosity , and physical gas diffusivity D in the manner of
Dpe
=
---p---e--D--- .
The available models for the porous media tortuosity are the one by Millington and Quirk (Ref. 3),
= pe1 3 Dpe = pe4 3D ,
(3-25)
158 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
the Bruggeman model,
= pe1 2 Dpe = pe3 2D
(3-26)
and the Tortuosity model, where the tortuosity expression is entered as user defined input.
These are readily used for both gaseous and liquid fluids along with various types of pellet shapes. For instance, the first model has been shown to fit mass transport in soil-vapor and soil-moisture well.
Equation 3-22 can be solved for two types of boundary conditions at the interface between the pellet surface and the fluid in this feature.
· Continuous concentration: assuming that all resistance to mass transfer to/from the pellet is within the pellet and no resistance to pellet-fluid mass transfer is on the bulk fluid side. The concentration in the fluid will thus be equal to that in the pellet pore just at the pellet surface: cpe,i = ci . This constraint also automatically ensures flux continuity between the internal pellet domain and the free fluid domain through so-called reaction forces in the finite element formulation.
· Film resistance (mass flux): The flux of mass across the pellet-fluid interface into the pellet is possibly rate determined on the bulk fluid side by film resistance. The resistance is expressed in terms of a film mass transfer coefficient, hDi, such that:
Ni,inward = hD ici cpe i ,
(3-27)
where Ni, inward is the molar flux from the free fluid into a pellet and has the unit moles/(m2·s).
With the film resistance formulation above, the free fluid Equation 3-21 needs to be amended for flux continuity so that
bt(ci) + u ci + Db ici = Ri Ni,inwardSb
(3-28)
where Sb (SI unit: m2/m3) is the specific surface area exposed to the free fluid of the packed bed (not including the inside of the pores).
For the case of randomly packed spherical pellets, the specific surface area exposed to the free fluid is (Ref. 15):
Sb
=
---3--rpe
1
b
(3-29)
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 159
The mass transfer coefficient in Equation 3-27 can be computed from the fluid properties and flow characteristics within the porous media. For this, the Sherwood, Sh, number defined as the ratio between the convective mass transfer coefficient and the diffusive mass transfer coefficient is often used:
Sh = h-----L-D
where L is a characteristic length (for spheres, typically the radius), and D is the diffusion coefficient in the fluid. From the Sherwood number definition, the mass transfer coefficient can be computed.
Three commonly used empirical expressions for the calculation of the Sherwood number are the Frössling relation (Ref. 16):
Sh = 2 + 0.552Re1 2Sc1 3 ,
(3-30)
which was measured on pellets in the size region 1 mm, the Rosner relation (Ref. 17)
Sh = Sc0.40.4Re1 2 + 0.2Re2 3 ,
(3-31)
and the Garner and Keey relation (Ref. 16)
Sh = 0.94Re1 2Sc1 3 ,
(3-32)
which was measured for Re numbers greater than 250.
All three depend on the Reynolds, Re, and Schmidt, Sc, numbers. The first describing the fluid flow regime (laminar versus turbulent) and the second, the ratio between the viscous diffusion rate and the molecular (mass) diffusion rate. In the expressions, properties such as velocity, u, dynamic viscosity, , and density, , of the fluid are included.
Re
=
----u----L--
Sc
=
------D
Surface Species Surface species correspond to species bound to the solid interface within the porous pellet, which is also in contact with the pore fluid. The surface species hence only exists within the pellet. The surface species are assumed to be immobile, and the
160 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
concentration is only dependent on the reaction rate of surface reactions involving the species:
cpes t
=
R ps es
(3-33)
It can be noted that there is no mass flux of surface species within the pellet or across the pellet outer surface and the bulk fluid. The unit of surface species concentration cpes is amount per area, and the corresponding surface reaction rate unit is amount per area and time.
When surface species are present, the equation governing transport of bulk species inside the each pellet is:
pe t(c pe
i)
+
-------a-------r2rpe2
r 2 D pe
i c pe
i
=
Rpe i + Sb,reacRpse
(3-34)
The second term on the right hand side represents species production or removal due to surface reactions in the pellet. It is composed of the reactive specific area Sb,reac, the area per volume available for surface reactions, and the surface reaction rate Rpse . It should be noted that the surface reaction rate for a bulk species Rpse and the surface reaction rate for a surface species Rpses are related but not identical since the species may represent different molecules.
Nonspherical Particles For nonspherical pellets (of any shape), the relations above can be applied approximately by reinterpreting the pellet radius rpe as
rpe
=
3
V-----p--eApe
(3-35)
(Ref. 18), where Vpe and Ape are the volume and external surface, respectively, of a single pellet of any shape. Since the specific surface Spe (SI unit: m2/m3) of one pellet is defined as
Spe
=
A-----p--eVpe
it follows by insertion of Equation 3-35 that
Spe
=
---3--- . rpe
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 161
For a packed bed of which the packing has a porosity b, the specific surface of the bed will be
Sb
=
Spe1 b
=
-A----p--eVpe
1
b
or
Sb
=
---3--rpe
1
b
(3-36)
for any pellet shape. Now rpe and Sb can be calculated for any shape and inserted in equations Equation 3-22 and Equation 3-28. Some common specific shapes have automatic support:
Cylinders
For cylindrical shapes, applying Equation 3-35 gives
rpe
=
3 -V----p--eApe
=
3
-----------------r---2---c--y--l-L-----c--y--l-----------2rcylLcyl + 2r2cyl
=
---------------1---------------- . -----2------ + -----2------3rcyl 3Lcyl
(3-37)
It is common practice to assume that the top and bottom surface of cylindrical pellets have negligible effect on the mass transfer to and from the internals of the pellet, or, rcyl « Lcyl . Equation 3-37 then simplifies to
rpe
=
3-2
rcyl
and Equation 3-36 to
Sb
=
---2---- 1 rcyl
b
Flakes
The derivation for a disc-shaped catalyst pellet is exactly the same as for cylindrical pellets, except that the assumption is reversed about the end surfaces and the envelope surface: rflake » wflake , where wflake is the thickness of the disc. This gives
rpe
=
3-2
wflake
162 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
and
Sb
=
------2------- 1 wflake
b
.
Surface Reaction Surface reactions can also be simulated inside the pellet. Surface species are introduced in pellet by adding them in the Surface Species section of the Pellets node available under Packed Bed.
A bulk species can take part in both volumetric and surface reactions. The total reaction rate for a bulk species within a pellet is defined as:
R = Rpe + Rpe,s Sb,reac
Here Rpe is the reaction rate for bulk reactions occurring inside the pellet. Rpe,s and Sb are the reaction rate and the reactive specific surface area for a surface reaction occurring inside the pellet, on the interface between the solid matrix and the fluid.
Heat Source The heat source of endothermic or exothermic reactions inside the pellet needs to be accounted for in the heat transfer on the bulk level if the heat balance is not solved within the pellet. Thermal equilibrium is assumed in each pellet, and the source is averaged across the pellet:
QpedV
Qbed
=
V--------------------Vpe
1
b
(W/m3)
If there are multiple pellet sizes i in the bed the heat source computed by summing over all sizes:
Qbed = Qbed, i v,i
i
Here v,i is the volume fraction of pellet i in the pellet mix.
PELLET: SHRINKING CORE
Species diffuse from packed bed through porous reacted shell layer onto the pellet core surface where they take part in heterogeneous reactions. With the solid species inside pellet core consumed in the reactions, the unreacted core is shrinking, and at the same time the reaction products diffuse through the reacted layer back into the packed bed.
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 163
Figure 3-5: Schematic showing Shrinking Core Model.
The core shrinking rate depends on the heterogeneous reaction rate and the properties of pellet,
drc dt
=
Rsolid
M------s---o--l-i--dpe
(3-38)
· rc is the pellet core radius (m) · Rsolid is the surface reaction rate (mol/(m2·s)) for solid species · Msolid is the solid species molar mass · pe is the pellet core density
If there are two or more species, the term (RsolidMsolid) is mass weighted, assuming same consuming pace is held along the r direction for all solid species.
The transport and reaction equations inside the porous reacted shell (layer) are solved on a normalized dimensionless extra dimension S (0-1) which is based on the thickness (r) of the reacted layer.
164 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The general form of the mass transport equation inside reacted layer is
c t
=
Dc + R
The shell mole balance across a spherical shell at radius r (rc r rpe),
rp rc
e
4
r2
c t
dr
=
rpe rc
r4
r2
D
c r
dr
+
rpe 4r2Rdr
rc
and weak form,
rpe rc
4
r2
c t
c^
Dcrrc^
+
R
c^
=
0
Defining extra dimension coordinate s as
s = ---r---------r---c--rpe rc
The integration can be written as
(3-39)
rpe dr = rc
1 dr ds 0 ds
For time derivative in moving coordinate system,
(3-40)
cTIME = ct + ddcxxTIME
(3-41)
On the extra dimension(s), the mass transport equation to be solved inside the reacted layer is (from Equation 3-39, 3-40, and 3-41).
4
Npe
r2
pr r TIME
dc dr
rTIME
c^
Dcrcc^
+
Rc^
dr ds
=
0
where pr is the porosity inside the reacted pellet.
For the pellet shapes, diffusion process and heat sources, they are similar to that for porous catalyst pellet. The shape can be both spherical and nonspherical particles, and the characteristics and properties of the pellet are defined in the Pellet node under Porous Material. The heat sources are contributed from the bulk reactions and Shrinking Core reactions (surface reactions).
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 165
Shrinking Core Reactions The pellet core consuming rate depends on the rate of Shrinking Core Reactions, Equation 3-38. The solid species in the pellet core take part in the heterogeneous reactions as reactants. The pellet core is shrinking with the proceedings of the surface reactions. If there are two or more solid species, the shrinking rate is the mass weighted consuming rate, and here it is supposed that all solid species shrinks at the same pace along the radial direction. Boundary Conditions
Outer Surface
There are two types of boundary conditions on interface between the pellet outer surface and the fluid in the bed: Continuous concentration and Film resistance (mass flux). They are the same as that for catalyst pellet.
Core Surface
The core consuming reactions always exist on the core surface. Besides the solid species in the pellet core, there could be also bulk transport species that participate in the heterogeneous reactions. The surface reaction rate for the bulk species is a kind of the mass flux (Jpe,i) between the core surface and the porous reacted layer. The mass source for species Cpe,i is
Rpe i = Ss areaJpe i + cpe iprddrTIME
where
Ss area = 4rc2
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. 325342, 1993. 2. P.V. Danckwerts, "Continuous flow systems: Distribution of residence times", Chem. Eng. Sci., vol. 2, no. 1, 1953. 3. R.J. Millington and J.M. Quirk, "Permeability of Porous Solids", Trans. Faraday Soc., vol. 57, pp. 12001207, 1961.
166 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
4. R.D. Burnett and E.O. Frind, "An Alternating Direction Galerkin Technique for Simulation of Groundwater Contaminant Transport in Three Dimensions: 2. Dimensionality Effects", Water Resour. Res., vol. 23, no. 4, pp. 695705, 1987. 5. J. Bear, Hydraulics of Groundwater, McGraw Hill, 1979. 6. J. Bear, Dynamics of Fluids in Porous Media, Elsevier Scientific Publishing, 1972. 7. D.M. Mackay, D.L. Freyberg, P.V. Roberts, and J.A. Cherry, "A Natural Gradient Experiment on Solute Transport in a Sand Aquifer: 1. Approach and Overview of Plume Movement", Water Resour. Res., vol. 22, no. 13, pp. 20172030, 1986. 8. H.M.F. Freundlich, "Über die Adsorption in Lösungen" (in German), Z. Phys. Chem., vol 57, pp. 385470, 1906 9. I. Langmuir, "The Constitution and Fundamental Properties of Solids and Liquids, Part I Solids", J. Amer. Chem. Soc., vol. 38, pp. 22212295, 1916. 10. J. Toth, "State equation of the solid gas interface layer", Acta Chem. Acad. Hung. vol. 69, pp. 311317, 1971. 11. S. Brunauer, P.H. Emmett, E. Teller, "Adsorption of gases in multimolecular layers", J. Am. Chem. Soc., vol. 60 (2), pp. 309319, 1938. 12. C.W. Fetter, Contaminant Hydrogeology, Prentice Hall, 1999. 13. J. Bear and A. Verruijt, Modeling Groundwater Flow and Pollution, D. Reidel Publishing, 1994. 14. I. Langmuir, "Chemical Reactions at Low Temperatures", J. Amer. Chem. Soc., vol. 37, 1915. 15. J.M. Coulson and J.F. Richardson, Chemical Engineering, vol. 2, 4th ed., Pergamon Press, Oxford, U.K., 1991. 16. J.M. Coulson and J.F. Richardson, Chemical Engineering, vol. 1, 4th ed., Pergamon Press, Oxford, U.K., 1991. 17. D.E Rosner, Transport Processes in Chemically Reacting Flow Systems, ISBN-13: 978-1483130262, ButterworthHeinemann, 1986. 18. R.B. Bird, W.E. Stewart, and E.N. Lightfoot, Transport Phenomena, 2nd ed., John Wiley & Sons, Inc., 2007.
T H E O R Y F O R T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 167
Theory for the Transport of Concentrated Species Interface
The Transport of Concentrated Species Interface theory is described in this section:
· Multicomponent Mass Transport · Multicomponent Gas Diffusion: MaxwellStefan Description · Multicomponent Diffusivities · Multicomponent Diffusion: Mixture-Averaged Approximation · Multispecies Diffusion: Fick's Law Approximation · Multicomponent Thermal Diffusion · The Packed Bed Feature · Vapor Transport · Regularization of Reaction Rate Expression · References for the Transport of Concentrated Species Interface
Multicomponent Mass Transport
Suppose a reacting flow consists of a mixture with i1, ..., Q species and j = 1, ..., N reactions. Equation 3-131 then describes the mass transport for an individual species:
t
i
+
i
u
=
ji + Ri
(3-42)
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:
· i is the mass fraction (1) · ji (SI unit: kg/(m2·s)) is the mass flux relative to the mass averaged velocity, and · Ri (SI unit: kg/ (m3·s)) is the rate expression describing its production or
consumption.
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.
168 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Summation of the transport equations over all present species gives Equation 3-43 for the conservation of mass
t
+
u
=
0
(3-43)
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:
t
i
+
u
i
=
ji + Ri
(3-44)
Q 1 of the species equations are independent and possible to solve for using Equation 3-44. 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:
Q
1 = 1 i
i=2
(3-45)
Multicomponent Gas Diffusion: MaxwellStefan Description
The MaxwellStefan formulation for a multicomponent mixture defines N 1 (with N being the number of active species in the model) force balances according to
k
i
x-D---i--xi--k-k-
---j---i-i
---j--k-k---
=
dk
k
i
x-D---i--xi--k-k-
--D-----kT-k
-D----i-iT--
ln
T
where
· Dik (SI unit: m2/s) are the binary MaxwellStefan diffusivities · T (SI unit: K) is the temperature · DiT (SI unit: kg/ m·s)) are the thermal diffusion coefficients, and · dk (SI unit: 1/m) is the diffusional driving force acting on species k.
(3-46)
T H E O R Y F O R T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 169
By inverting the above set of equations, the mass flux relative to the mass average velocity, ji, can be defined by the generalized Fick equations (Ref. 1):
Q
ji = i
D~ ikdk DiTln T
k=1
where D~ ik (SI unit: m2/s) are the multicomponent Fick diffusivities.
(3-47)
For ideal gas mixtures the diffusional driving force is (Ref. 1)
Q
dk
=
------1-------cRgT
pk kp kgk + k
lgl
l=1
(3-48)
where
· c (SI unit: mol/m3) is the total molar concentration
· Rg is the universal gas constant 8.314 J/(mol·K) · p (SI unit: Pa) is the total pressure
· pk (SI unit: Pa) is the partial pressure, and · k (SI unit: kg/m3) is the density of species k, and · gk (SI unit: m/s2) is an external force (per unit mass) acting on species k. In the
case of an ionic species the external force arises due to the electric field.
When an external force applies equally to all species (such as for gravity), the last two terms disappear.
As can be seen in Equation 3-47 and Equation 3-48, 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
dk
=
xk
+
-1p
xk kp kgk + k
lgl
l=1
(3-49)
The mole fraction xk is given by
170 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
xk
=
------kMk
M
(3-50)
and the mean molar mass M (SI unit: kg/mol) by
Q
--1--- =
------i
M
Mi
i=1
When using the MaxwellStefan diffusion model, the transport equations for the species' mass are
t
i
+
u
i
=
i k
Q =
D~ ikdk
1
+
DiT ---T--T--
+
Ri
Q
dk
=
xk
+
-1p
xk kp kgk + k
lgl
l=1
(3-51)
Multicomponent Diffusivities
The multicomponent Fick diffusivities, D~ ik , are needed to solve Equation 3-51. The diffusivities are symmetric
D~ ik = D~ ki
and are related to the multicomponent MaxwellStefan diffusivities, Dik, through the following relation (Ref. 2)
adjBijk
x----i--x---k-
Dik
=
ik
-----j------i----------------------------D~ ijadjBijk
,
Bikj
=
D~ kj D~ ij,
ij
ji
(3-52)
where (adjBi)jk is the jkth component of the adjoint of the matrix Bi.
For low-density gas mixtures, the multicomponent MaxwellStefan diffusivities, Dij, can be replaced with the binary diffusivities for the species pairs that are present.
T H E O R Y F O R T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 171
Solving for Equation 3-52 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--- + ---------3-2-----
D~ 12
=
-------------x---1---D-----2---3-------------------------x---2---D-----1---3-----------------x---3---D-----1---2--------x---1-------- + --------x---2-------- + --------x---3--------
D12D13 D12D23 D23D13
For four components or more, COMSOL Multiphysics obtains the multicomponent Fick diffusivities numerically through matrix inversion derived from the matrix properties defined in Ref. 2. The program starts with the multicomponent Maxwell SD~teikfa,nudsiinffgustihveityfomlloatwriixngDeikqutoatcioonm: pute the multicomponent Fick diffusivity matrix,
D~ ij = Nij q
(3-53)
where ij, the indices in the matrices D~ and N, range from 1 to the number of species,
Q.
The elements of the matrix N in Equation 3-53 are defined as
Nij = P1ij where P1 is the inverse of a matrix P defined as
(3-54)
Pij
=
-----i------j q
C~ ij
The matrix C~ in turn is defined as
x----i--x---j
C~ ij
=
Dij
ij
C~ ik i = j
kj
The term q in Equation 3-53 is a scalar value that provides numerical stability and should be of the same order of magnitude as the multicomponent MaxwellStefan
172 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
diffusion coefficients. The physics interface therefore defines q as the sum of the multicomponent MaxwellStefan diffusion coefficients:
n 1 n
q =
Dij
i = 1 j = i+1
This definition for q works well in most cases. In rare cases, it might be necessary to change the value to obtain convergence.
Because the multicomponent Fick diffusivity matrix is apply Equation 3-54 to the upper triangle elements of
Ds~ym. Tmheetrreicm, iatinisinsgufefilceimenetnttsoare
obtained by swapping the indices in the matrix.
Multicomponent Diffusion: Mixture-Averaged Approximation
The mixture-averaged diffusion model assumes that the relative mass flux due to molecular diffusion is governed by a Fick's law type approximation.
Assuming that the diffusive flux, relative to the mass averaged velocity, is proportional to the mole fraction gradient, the mass flux is defined as:
jmd i
=
i
Dim
-----x---i xi
(3-55)
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 ,
xi
=
------i Mi
M
Equation 3-55 can be expressed in terms of the mass fractions (i) in the manner of
jmd i = Dimi + iDim---M--M----
Using Equation 3-55 together with the MaxwellStefan equations, where isobaric and isothermal conditions have been assumed, the following expression for the mixture-averaged diffusion coefficients can be derived (Ref. 3):
T H E O R Y F O R T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 173
Dim
=
------1--------------i-----
N k
i
D--x---ik--k-
(3-56)
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:
jmd i
=
i D im
*
---------i i
=
Dim*i
(3-57)
For this assumption, using Equation 3-57 together with the MaxwellStefan equations, also assuming isobaric and isothermal conditions, the following expression for the mixture-averaged diffusion coefficients can be derived (Ref. 3):
-----1------ =
D im *
N k
i
D--x---ik--k-
+
------x---i----1 i
N k
i
D-----i-k-k-
(3-58)
THE MIXTURE-AVERAGED DIFFUSION COEFFICIENT
When using the mixture-averaged model, the diffusion is proportional to a single diffusion coefficient. The coefficient describes the diffusion of species i relative to the remaining mixture and is referred to as the mixture-averaged diffusion coefficient. The coefficient is explicitly given in terms of the multicomponent MaxwellStefan diffusivities Dik. As a consequence, no matrix inversion operation is required as for the MaxwellStefan diffusion model (when using four or more species). For low-density gas mixtures, the Dik components can be replaced by the binary diffusivities for the species pairs present.
MIXTURE DIFFUSION CORRECTION
It should be noted that models for the multicomponent diffusivities based on Fick's law are approximations. One drawback of this is that the net diffusive mass flux, the sum of all mass fluxes relative to the mass averaged velocity, is not constrained to zero. To account for this we add a flux, defined by a correction velocity uc, to enforce a zero net diffusive flux in the manner of:
N i=
1
jmd
i
=
N i=
1
i u d, i
+
uc
=
0
(3-59)
Hence the correction velocity is:
uc =
N i=
1
iud,i
(3-60)
174 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Here ud,i is the diffusion velocity resulting from the flux assumption in Equation 3-55 or Equation 3-57. Note that the correction velocity is a constant correction (same for all species), but varies in space.
Using the correction velocity together with Equation 3-55 (flux proportional to the mole fraction gradient), the resulting diffusive flux is
jmd i
=
Dimi
iDim
-----M---M
+
i
N i=
1
-M-----i M
Dim
xi
(3-61)
If instead Equation 3-57 is used (flux proportional to the mass fraction gradient), the resulting diffusive flux is
jmd i = Dim*i + i
N i=
1
Dim
* i
(3-62)
PORE WALL INTERACTIONS
In porous media, the diffusion models may be extended to account for species collisions with the pore walls.
For the Fick's law or the Mixture-averaged diffusion models, the diffusion coefficient DiM is corrected with the Wall diffusion coefficient DiW in the following way
D iM W
=
---1-----
+
---1-----
-1
DiM DiW
For the Maxwell-Stefan diffusion model, the following term is added to the species force balance (Equation 3-46)
+
-----x---i----DiW eff
---j---i-i
+
uW
=
di +
The wall velocity uW, representing the velocity of the fluid in a representative region adjacent to the pore wall, is here defined as
uW
=
------p----p---A-----A------+-------k------D---------xkW------k----e-----f---f-------j----k-k-----'-------x---k------
k DkW eff
(3-63)
where the modified fluxes jk' have been calculated using the modified driving forces
T H E O R Y F O R T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 175
dk'
=
xk
+
-1p
xk
p
(3-64)
It should be noted that uW can become nonzero also in the absence of pressure gradients. For a proper description of the fluid momentum balance, uW needs to be added either as a contributing velocity (Darcy's law) or as a corresponding volume force F 1uW (Brinkman equations).
The MaxwellStefan model formulated in this way correctly captures the Klinkenberg effect, and has large similarities with other models in literature incorporating Knudsen diffusion such as the Dusty Gas Model and the (Modified) Binary Friction Model. In addition, for the limit of vanishing permeabilities ( 0), the formulation reduces to the Lightfoot model for membrane transport.
ADDITIONAL TRANSPORT MECHANISMS
Apart from molecular diffusion, transport due to thermal diffusion and migration of charged species in an electric field can be accounted for by adding the following terms to the diffusive flux:
ji
=
DiT
-----T-T
+
izium
iF
where
· DiT (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.
Multispecies Diffusion: Fick's Law Approximation
Using a Fick's law approximation, the relative mass flux due to molecular diffusion is governed by
jmd i
=
i
DiF
kl
-----x---i xi
(3-65)
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
176 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
jmd i = DiF kli
(3-66)
In the equations above DiF 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,
DiF kk = Di0
These coefficients are typically more readily available compared to the binary diffusion diffusivities, especially for liquid mixtures.
The mixture diffusion correction described above for the mixture-averaged diffusion can also be applied in this case. Correspondingly, the resulting diffusive flux is
jmd i
=
DiF
k l i
i D iF
kl
-----M---M
+
i
N i=
1
-M-----i M
DiF
k l x i
(3-67)
when using Equation 3-65 and
jmd i = DiF kli + i
N i=
1
DiF
k l i
(3-68)
when instead using Equation 3-66.
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.
Multicomponent Thermal Diffusion
Mass diffusion in multicomponent mixtures due to temperature gradients is referred to as the Soret effect. This occurs in mixtures with high temperature gradients and large variations in molecular weight (or size) of the species. Typically species with high molecular weight accumulate in lower temperature regions while the diffusion due to the Soret effect transports species with low molecular weight to higher temperature regions. In COMSOL Multiphysics, thermal diffusion is included by prescribing the thermal diffusion coefficients DiT . In a multicomponent mixture, the sum of the thermal diffusion coefficients is zero:
T H E O R Y F O R T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 177
Q
DiT = 0
i=1
The Packed Bed Feature
The Packed Bed feature, available to users of the Chemical Reaction Engineering Module, adds a domain feature that can simulate regions filled with reactive porous pellets, as in packed bed reactors. Below the theory for the Packed Bed feature in the Transport of Concentrated Species interfaces is presented.
The pellets in the bed are simulated with the Extra Dimension technology provided by the COMSOL software: A 1D, 2D, or 3D domain represents the bed volume. The extra dimension is the added radial microscale dimension inside each pellet.
Outflow
Macroscale:
Mass fraction in fluid passing through bed
Microscale:
pe
Mass fraction in porous pellet
Inflow
Pellet of radius rpe
Figure 3-6: Schematic showing the macroscale (bed volume) and the microscale (pellet).
178 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The equations of mass and momentum transfers inside the pellets are solved on an extra dimension attached to the 1D, 2D, or 3D physics interfaces, including axisymmetric cases.
The equations inside the spherical pellet are solved as a spherical transport equations on a nondimensional radial coordinate on the domain 0-1.
The model equations assume spherical particles (pellets) of a radius rpe. Modeling assumptions for cylinders, flakes, and user-defined shapes can also be used. Consider the microscale mass fraction pe,i inside an individual porous pellet or pellets, and the macro mass fraction i in the packed bed volume.
The pellet radius input can be:
· One uniform pellet radius, which can be space dependent f (x, y, z). · Binary, ternary, and so on, mix up to 5 radii. The user inputs a table with the mix of
sizes (1 mm, 2 mm, for example), and volume fraction of each. Different chemical reactions per pellet size can be specified.
The model equations in the macroscale (base geometry) for the species mass fraction i and velocity (Darcy's Law) are, for example:
bt i + Ji + u i = Ri
(3-69)
t
b
+
u
=
Qm
(3-70)
· b is the bed porosity. · The dependent variable, i, represents the interparticle mass fraction (for each
chemical species i) in the fluid flowing between the pellets.
· Ji is the diffusive mass flux of species i. · Ri is the species reaction rate (kg/(m3·s)) in the bed. This corresponds to reactions
occurring in the pore space outside of the pellets. Note, that Ri is the reaction rate per unit volume of bed. · Qm is the mass source (kg/(m3·s)).
Looking inside a pellet: Assuming no concentration variations in the space-angle (, ) direction, but only in the radial (r) direction of the spherical pellet allows a spherically symmetric reaction-diffusion transport equation inside the pellet. If rdim (SI unit: m) is the spatial radial coordinate in the pellet, and rpe is the pellet radius, the
T H E O R Y F O R T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 179
nondimensional coordinate r = rdim/rpe can be defined. The modeling domain on r goes from 0 to 1.
0 (center)
r_pe (pellet perimeter)
0
1
Figure 3-7: Modeling domain in a pellet for dimensional (top) and nondimensional (bottom) coordinates.
A shell mass balance across a spherical shell at radius rdim (SI unit: m), and a subsequent variable substitution r rdim/rpe gives the following mass transport equation on the pellet domain 0 r 1, Equation 3-21 becomes
4N
r2
rpe2
pe
t(pe
i)
+
r 2 J p e
i
+
r 2 r pe u pe
pe
i
=
(3-71)
4
N
r2
2
rpe
Rpe,
i
·
N is the number of pellets per unit volume of bed, N = volume.
---1------------b---Vpe
,
Vpe
is
the
pellet
· pe is the pellet (microscale) porosity.
· pe,i is the intraparticle species mass fraction of fluid volume element inside the pore channel in the pellet.
· Jpe,i is the mass flux for species i inside pellet. It is similar to the mass flux in Transport of Concentrated Species.
· upe is the velocity of mass bulk in the pellet.
· Rpe,i is the pellet reaction rate for species i. This corresponds to reactions taking place inside the pellets. Note that the user input of Rpe,i is per unit volume of pellet.
The velocity u is calculated from the pressure gradient:
180 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
upe = ----pp---eeppe
· pe is the permeability inside pellet. · pe is the dynamic viscosity inside pellet. The equation for pressure ppe (based on Equation 3-70) in the pellet domain, 0 r 1, is
4
N
r2
rpe2
pe
---p----p---e t
+
r2
r2 u pe
=
r 2 r pe 2
Qm
(3-72)
The mass flux Ji in Equation 3-22, with the diffusion model being Mixture-averaged, is
J pe, i
=
pe D i m pe
i
+
pepe,
iDim
-----M------p--e--,--nMpe,n
+
De
T i
---T--T--p--pe---e
where De,iT is the effective thermal diffusion coefficient, and Dim is
Dim
=
--1-------------p---e--,--i-x----p--e--,--k--
k i De ik
If the diffusion model is MaxwellStefan, the equation for mass flux Ji is
(3-73)
Jpe,i
=
pe pe, i
k
De
ikdk
+
De
T i
---T--T--p--pe---e
(3-74)
where dk is
dk
=
xpe,k
+
---1---ppe
xpe,
k
pe, k p pe
where De,ik is the effective binary diffusion coefficient. It depends on the porosity pe, tortuosity , and binary diffusion coefficient Dik:
De ik
=
---p---e--D-----i--k
The available models for the porous media tortuosity are the one by Millington and Quirk (Ref. 4):
T H E O R Y F O R T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 181
= pe1 3 De ik = pe4 3Dik ;
(3-75)
the Bruggeman model:
= pe1 2 De ik = pe3 2Dik ;
(3-76)
and the Tortuosity model, where the tortuosity expression is entered as user-defined input.
These models are readily used for both gaseous and liquid fluids along with various types of pellet shapes.
Equation 3-22 and Equation 3-72 can be solved for two types of boundary conditions at the interface between the pellet surface and the fluid in this feature.
· Mass fraction constraint: assuming that all resistance to mass transfer to/from the pellet is within the pellet and no resistance to pellet-fluid mass transfer is on the bulk fluid side. The mass fraction and pressure in the fluid will thus be equal to that in the pellet pore just at the pellet surface: pe,i = i and ppe = pA . These constraints also automatically ensure flux continuity between the internal pellet domain and the free fluid domain through so-called reaction forces in the finite element formulation.
· Film resistance (mass flux): The flux of mass across the pellet-fluid interface into the pellet is possibly rate determined on the bulk fluid side by film resistance. The resistance is expressed in terms of a film mass transfer coefficient, hDi, such that:
Ni,inward = hD,ici cpe,iMi ,
(3-77)
where Ni, inward is the mass flux from the free fluid into a pellet and has the unit kg/(m2·s), Mi is the molar mass.
With the film resistance formulation above, the equation for mass transfer (Equation 3-22) needs to be amended for flux continuity so that
4 N r2 r pe 2 pe t(pe
i)
+
r2 Jpe, i
+
r 2 r pe u pe
pe
i
=
4
N
r2 r pe 2
Rpe,
i
Ni
inward Sb
(3-78)
182 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
where Sb (SI unit: m2/m3) is the specific surface area exposed to the free fluid of the packed bed (not including the inside of the pores).
For the case of randomly packed spherical pellets, the specific surface area exposed to the free fluid is (Ref. 5):
Sb
=
---3--rpe
1
b
(3-79)
The total mass source Qmass is
Qmass = Ni inwardSb
i
The equation for pressure (Equation 3-72) becomes
4
N
r2
r pe 2 pe
---p----p---e t
+
r2
r2 u pe
=
r2 rpe2 Qm
Qmass
(3-80)
The mass transfer coefficient in Equation 3-27 can be computed from the fluid properties and flow characteristics within the porous media. For this, the Sherwood, Sh, number defined as the ratio between the convective mass transfer coefficient and the diffusive mass transfer coefficient is often used:
Sh = h-----L-D
where L is a characteristic length (for spheres, typically the radius), and D is the diffusion coefficient in the fluid. From the Sherwood number definition, the mass transfer coefficient can be computed.
Three commonly used empirical expressions for the calculation of the Sherwood number are the Frössling relation (Ref. 6):
Sh = 2 + 0.552Re1 2Sc1 3 ,
(3-81)
which was measured on pellets in the size region 1 mm, the Rosner relation (Ref. 7)
Sh = Sc0.40.4Re1 2 + 0.2Re2 3 ,
(3-82)
and the Garner and Keey relation (Ref. 6)
Sh = 0.94Re1 2Sc1 3 ,
(3-83)
T H E O R Y F O R T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 183
which was measured for Re numbers greater than 250.
All three depend on the Reynolds, Re, and Schmidt, Sc, numbers. The first describing the fluid flow regime (laminar versus turbulent) and the second, the ratio between the viscous diffusion rate and the molecular (mass) diffusion rate. In the expressions, properties such as velocity, u, dynamic viscosity, , and density, , of the fluid are included.
Re
=
----u----L--
Sc = ------D
NONSPHERICAL PARTICLES
For nonspherical pellets (of any shape), the relations above can be applied approximately by reinterpreting the pellet radius rpe as
rpe
=
3
V-----p--eApe
(3-84)
(Ref. 8), where Ape is the external surface of a single pellet of any shape. Since the specific surface Spe (SI unit: m2/m3) of one pellet is defined as
Spe
=
A-----p--eVpe
it follows by insertion of Equation 3-35 that
Spe
=
---3--- . rpe
For a packed bed of which the packing has a porosity b, the specific surface of the bed will be
Sb
=
Spe1 b
=
-A----p--e- 1 Vpe
b
or
Sb
=
---3--rpe
1
b
(3-85)
184 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
for any pellet shape. Now rpe and Sb can be calculated for any shape and inserted in equations Equation 3-22, Equation 3-72, Equation 3-28 and Equation 3-80. Some common specific shapes have automatic support:
Cylinders For cylindrical shapes, applying Equation 3-35 gives
rpe
=
3 V-----p--eApe
=
3 -----------------r---2---c--y--l--L----c--y--l-----------2rcylLcyl + 2r2cyl
=
---------------1---------------- . -----2------ + -----2------3rcyl 3Lcyl
(3-86)
It is common practice to assume that the top and bottom surface of cylindrical pellets have negligible effect on the mass transfer to and from the internals of the pellet, or, rcyl « Lcyl . Equation 3-37 then simplifies to
rpe
=
3-2
rcyl
and Equation 3-36 to
Sb
=
---2---- 1 rcyl
b
Flakes The derivation for a disc-shaped catalyst pellet is exactly the same as for cylindrical pellets, except that the assumption is reversed about the end surfaces and the envelope surface: rflake » wflake , where wflake is the thickness of the disc. This gives
rpe
=
3-2
wflake
and
Sb
=
------2------- 1 wflake
b
.
HEAT SOURCE
The heat source of endothermic or exothermic reactions inside the pellet needs to be accounted for in the heat transfer on the bulk level if the heat balance is not solved within the pellet. In this case, thermal equilibrium is assumed in each pellet. To account for the heat evolution in the bulk, the source is averaged across the pellet:
T H E O R Y F O R T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 185
QpedV
Qbed
=
V--------------------Vpe
1
b
(W/m3)
If there are multiple pellet sizes i in the bed the heat source computed by summing over all sizes:
Qbed = Qbed, i v,i
i
Here v,i is the volume fraction of pellet i in the pellet mix.
Vapor Transport
Three boundary features are available for vapor transport; the Vapor Inflow, the VaporLiquid Interface, and the VaporLiquid-Mixture Interface feature. All three features prescribe the equilibrium vapor pressure for one or several vapor species, either at an inlet connected to an upstream system involving liquids, or at a vaporliquid interface. Evaporation or condensation occurs when the partial pressure in the adjacent gas domain differs from the vapor pressure at the interface. Below the conditions prescribed at the interface and the resulting heat of evaporation is defined.
VAPOR PRESSURE
Water The saturated water pressure psat,w (Pa) at a liquid water surface is defined as a function of temperature T using the correlation:
psat,wT = 610.7 107.5T 273.15 T 35.85 The resulting vapor molar concentration (mol/m3) at the interface is
ceq,w
=
-p---e--q---,-w------T----- RT
and the corresponding mass fraction
eq w
=
-c--e---q--,-w----M------w-
186 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
where R is the universal gas constant, Mw is the molar mass of water, and the vapor density.
Thermochemistry Coupling This option can be used when coupled to a Thermodynamic System through a Chemistry interface. In this case the Thermodynamics node can provide not only the thermodynamic functions for physicochemical properties in vapor phase, but also the fugacity and density for the liquid phase. The thermodynamic functions are affected by the thermodynamics models selected in the system. Most prominently, the fugacity is dependent on the liquid phase model in the Thermodynamics System.
For a multicomponent vaporliquid interface at equilibrium, the fugacity (Pa) of all components should be the same in both the vapor and the liquid phase
fiLT p l i = fiVT p v i
Here fiL is the fugacity in the liquid phase, and fiV the fugacity in the vapor phase for component i. The fugacity in each phase depends on the temperature and pressure, as well as on its mass fraction in the liquid (l,i) and vapor phase (v,i), respectively. Using the Thermochemistry coupling, functions for the fugacity fi = fiL = fiV at the interface are created automatically.
Using the fugacity instead of the pressure, the vapor molar concentration and the vapor mass fraction an the at the vaporliquid interface are defined as
ceq i
=
---f--i--RT
and
0 i
=
-f--i--M-----i
HEAT OF VAPORIZATION
Water The heat flux due to vaporization or condensation of water is
Qvap w = Hvap wjw + usw n
where Hvap, w denotes the heat of vaporization of water, jw is the water mass flux at the interface, us is the Stefan velocity, and n a normal unit vector.
T H E O R Y F O R T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 187
Other Liquids The heat flux due to vaporization or condensation of a multicomponent solution is
Qvap = Hvap ijm i = Hvap iji + usi n
where Hvap,i is heat of vaporization of species i. The evaporative heat flux is defined and announced by the vaporliquid interface feature for use when modeling heat transfer. It can for example be applied using a Boundary Heat Source feature in Heat Transfer in Fluids Interface.
Regularization of Reaction Rate Expression
The flexibility of COMSOL means that a reaction can result in nearly any reaction rate contribution Ric to a mass fraction i. But a reactant, r, can physically only be consumed if r 0 and a product, k, can only be formed if k 1. The Reaction feature in Transport of Concentrated Species Interface contains a way to regularize
make the rate expression contributions comply to these restrictions.
When selected the "core", or unregularized reaction rate contribution, Ric, to a mass fraction i is replaced by
Ri
=
1-2
------R----ic----------R-----ic------maxi idl
max
i
0
+
1-2
----------R-----ic---+-------R----ic-----------max1 i idl
max
1
i
0
(3-87)
The first term on the right hand side of Equation 3-87 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 3-87 is active if Ric 0, that is if i is a product. The reaction rate contribution, Ri, is equal to the "core" reaction rate, Ric, as long as i 1 idl. As i approaches one, the regularization damps out positive Ric and for i 1, Ri for product i is equal to zero.
The damping limits, idl, should be in an order of magnitude that can be considered numerical noise for species i. The damping limits are per default set to 1e6, which is appropriate for most applications. It can be advantageous to lower some limits when working with for example catalytic trace species and the limits can sometimes be raised to gain additional robustness.
188 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
References for the Transport of Concentrated Species Interface
1. C.F. Curtiss and R.B. Bird, "Multicomponent Diffusion", Ind. Chem. Res., vol. 38 pp. 25152522, 1999. 2. R.B. Bird, W.E. Stewart, and E.N. Lightfoot, Transport Phenomena, 2nd ed., John Wiley & Sons, 2005. 3. R.J. Kee, M.E. Coltrin, and P. Glarborg, Chemically Reacting Flow, John Wiley & Sons, 2003. 4. R.J. Millington and J.M. Quirk, "Permeability of Porous Solids", Trans. Faraday Soc., vol. 57, pp. 12001207, 1961. 5. J.M. Coulson and J.F. Richardson, Chemical Engineering, vol. 2, 4th ed., Pergamon Press, Oxford, U.K., 1991. 6. J.M. Coulson and J.F. Richardson, Chemical Engineering, vol. 1, 4th ed., Pergamon Press, Oxford, U.K., 1991. 7. D.E Rosner, Transport Processes in Chemically Reacting Flow Systems, ISBN-13: 978-1483130262, Butterworth-Heinemann, 1986. 8. R.B. Bird, W.E. Stewart, and E.N. Lightfoot, Transport Phenomena, 2nd ed., John Wiley & Sons, Inc., 2007.
T H E O R Y F O R T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 189
Theory for the Electrophoretic Transport Interface
The Electrophoretic Transport Interface models transport of charged and uncharged species, and in addition sets up a charge balance equation for the electrolyte potential.
The species concentrations are denoted, ci (SI unit: mol/m3), and the potential, l (SI unit: V).
The species are transported by diffusion, migration, and (optionally) convection according the NernstPlanck set of equations. The total flux of species i is denoted Ni (SI unit: mol/(m2·s)) according to
Ni = Dici zium iFcil + uci = Ji + uci
(3-88)
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.
CHARGE BALANCE EQUATION
The current vector, il (A/m2), is defined as
il = ziNi
i
(3-89)
where the summation is made over all species in the electrolyte.
The governing equation for the electrolyte potential is
il = Ql
(3-90)
where Ql (SI unit: A/m3) is the electrolyte current source stemming from, for example, porous electrode reactions. For nonporous electrode domains this source term is usually zero.
190 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
PROTON AND HYDROXIDE CONCENTRATIONS AND ELECTRONEUTRALITY
Assuming the total number of species to be N 2, the assumption of electroneutrality is
N+2
zici = 0
i=1
(3-91)
In water-based systems the species H+ and OH- are always present. The auto ionization reaction for water is
H2O H+ + OH-
(3-92)
This reaction is fast, following the equilibrium relation
cH+cOH- = Kw 1 mol2dm6
(3-93)
where Kw 1014.
Now, the electroneutrality condition, including the two additional species H+ and OH-, reads
N
c H
+
cOH-
+
zici = 0
i=1
(3-94)
Combining these two equations results in the following algebraic expressions for the concentrations of H+ and OH-.
cH+
=
-- + 2
----24
+
Kw
1
mol2dm6
and
(3-95)
where
cOH-
=
-- + 2
----24
+
Kw
1
mol2dm6
N
=
zici
i=1
(3-96) (3-97)
T H E O R Y F O R T H E E L E C T R O P H O R E T I C T R A N S P O R T I N T E R F A C E | 191
MASS BALANCE EQUATIONS FOR DISSOCIATION SPECIES
Assume a set of species Si describing k dissociation steps from
S
z0 k
+
k
S
z0 + k k1
1
+
H+
Ka 1
=
---H-----+--------S----kz---0--+---1-k-------1---Skz0 + k
(3-98)
to
S
z0 k
+
1
S
z0 0
+
H+
Ka k
=
---H-----+--------S----0z---0-- S1z0 + 1
(3-99)
where z0 is the charge (valence) of species S0 (which has no dissociable protons) and Ka,j is the acid (equilibrium) constant of the jth dissociation reaction. The brackets "[ ]" here represent the species activity. The charge of each species is always deductible from the index i according to z0+i and will be dropped from now on.
If the proton activity is known, any species Sm may be expressed using any other species Sl according to
Sm
=
------H--------m---------l----S----l------
kl
Ka j
j = km+1
(3-100)
if m l and
km
Sm = Hm lSl
Ka j
j = kl+1
(3-101)
if l m.
Setting m i and denoting the flux of species i by Ni using equation Equation 3-88, the mass balance equation for the concentration ci of each subspecies i in the dissociation chain is
----c---i t
+
Ni
=
Req i k i Req i k i + 1 + Ri
(3-102)
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.
192 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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
k
k
----c---i t
+
Ni
=
Ri
i=0
i=0
(3-103)
AVERAGE IONIZATION FORMULATION FOR LARGE MOLECULES
Large protein molecules are typically subject to a large number of dissociation steps.
As an alternative way to a long chain of dissociation steps for describing protein transport, you can instead formulate the protein transport based on the average number of protons (1) removed from the molecule. is typically provided as a function of pH, based on experimental data. The average charge of the species then is z = z0 , so that the flux of the species is written as:
Ni = Dci zumFcil + uci
(3-104)
and similarly the addition to the charge neutrality condition is zci .
When considering the contribution to the current and the charge balance equation you
need to take into account that the to the "average squared charge",
squared average charge, z2 = z02 + 2z0 + 2 =
z2 z2
=
2z+0
2
2 , is not (Ref. 1).
equal
The addition to the current density vector is
il = FzDici + z2umcil
(3-105)
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
=
c
H+
d
d cH+
+
2
And from this you can derive the average squared charge according to
(3-106)
z2
=
cH
+
d
d cH+
+
z2
=
c
H+
d
d cH+
z
+
z2
(3-107)
DIFFUSIVITY-MOBILITY RELATIONS
The Stokes radius r of a molecule is related to the diffusivity according to
T H E O R Y F O R T H E E L E C T R O P H O R E T I C T R A N S P O R T I N T E R F A C E | 193
r = ----k----T------6D
(3-108)
where is the (SI unit: Pa·s) is the dynamic viscosity and k the Boltzmann constant.
For small molecules, there is the frequently used NernstEinstein relation between the diffusivity and the mobility
um
=
---D----RT
(3-109)
For larger molecules, such as proteins, the mobility may instead be calculated based on the DebyeHückelHenry expression (Ref. 2 ) according to
um
=
----------e---f---------r------------6F1 + r
=
------D-----f---------r--------RT1 + r
(3-110)
where (1/m) is the Debye parameter, which depends on the ionic strength of the solution, is defined for ideal solutions as
2
=
2----e---2---N-----A-0kT
N
z i2 c i
i=1
(3-111)
where is the dielectric constant of the fluid and 0 the permittivity of free space. ( z2 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 DebyeHückelHenry expression approaches the NernstEinstein mobility as r 0.
For larger molecules (macro ions), where the distance between the charges is large compared to 1/, the LinderstrømLang 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
2
=
2----e---2---N-----A-0kT
N i
=
M 1
zi2ci
+
i
=
N
N M
+
1
abs(zi)ci
(3-112)
194 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
REFERENCES
1. R.A. Mosher, D.A. Saville, and W. Thormann, The Dynamics of Electrophoresis, VCH Verlagsgesellschaft mbH, Weinheim, Germany, 1992. 2. R.A. Mosher, P. Gebauer, J. Caslavska, and W. Thormann, "Computer Simulation and Experimental Validation of the Electrophoretic Behavior of Proteins. 2. Model Improvement and Application to Isotachophoresis," Anal. Chem., vol. 64, pp. 2991 2997, 1992.
T H E O R Y F O R T H E E L E C T R O P H O R E T I C T R A N S P O R T I N T E R F A C E | 195
Theory for the Surface Reactions Interface
The Surface Reactions Interface solves for an arbitrary number of surface concentrations, cs,i (SI unit: mol/m2), referring to species adsorbed on a reactive surface, and an arbitrary number of bulk concentrations cb,k (SI unit: mol/m3), referring to the species in the solid material that constitutes the bulk of the reactive surface.
In this section:
· Governing Equations for the Surface Concentrations · Governing Equations for the Bulk Concentrations · ODE Formulations for Surface Concentrations · Surface Reaction Equations on Deforming Geometries · Reference for the Surface Reactions Interface
Governing Equations for the Surface Concentrations
Transport of adsorbed species occurs in the tangential direction along the surface. The Surface Reactions interface models the tangential flux in the surface dimension, the surface molar flux, Nt,i (SI unit: mol/(m·s)) (the subscript t refers to the tangential direction), as governed by diffusion according to Fick's law:
Nt i = Ds itcs i where Ds,i (SI unit: m2/s) is the surface diffusion coefficient for species i. The governing equation for the surface concentrations is written as:
cs i t
=
t Nt i + Rs i
(3-113)
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).
196 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Writing the density of sites of the surface as s (SI unit: mol/m2) and the site occupancy number for each species as i (dimensionless), the surface coverages can be calculated from:
i
=
----i--c---s----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
Governing Equations for the Bulk Concentrations
BULK SPECIES RATES AND GROWTH VELOCITY
The reaction rate for a bulk species of index k, being added to the bulk due to surface reactions is defined as Rb,k (SI unit: mol/(s·m2)). The reaction rate in mass basis, rb,k (SI unit: kg/(s·m2)) for species k, is given by:
rk = MkRb 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:
vb k
=
r---b-----kk
where k is the species density (SI unit: kg/m3).
TOTAL RATES AND VELOCITY
To get the corresponding total values, a summation for all bulk species is made according to:
T H E O R Y F O R T H E S U R F A C E R E A C T I O N S I N T E R F A C E | 197
Rb tot = Rb k
k
rb tot = rb k
k
vb tot = vb k
k
FRACTIONAL RATES AND VELOCITY
The fractional deposition rates are calculated by:
Rb frac k
=
--R-----b-----k-Rb tot
rb frac k
=
--r---b-----k-rb tot
vb frac k
=
--v---b-----k--vb tot
The fractional deposition rates can be used as measures of the local fractional composition in a deposited layer at a certain thickness or time.
ACCUMULATED BULK QUANTITIES
By solving for the bulk species concentrations for each time step, the accumulated mass and thickness changes of the bulk material can be calculated.
The bulk concentration, cb,k (SI unit: mol/m2), for species k is governed by the equation:
cb k t
=
Rb k
(3-114)
The bulk concentration in mass basis, mb,k (SI unit: kg/m2) for a species k, can be derived from:
mb k = Mkcb k
198 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
leading to the bulk thickness sb,k (SI unit: m) of species k according to:
sb k
=
m------b-----kk
TOTAL BULK QUANTITIES
The total bulk concentration is calculated according to:
cb tot = cb k
k
The deposited total mass, mb,tot (SI unit: kg/m2) is
mb tot = mb k
k
and the total bulk thickness, stot (SI unit: m) is
sb tot = sk
k
FRACTIONAL QUANTITIES
The fractional bulk concentration, bulk mass, and thickness (all dimensionless) are calculated according to:
cb frac k
=
--c---b-----k-cb tot
mb frac k
=
--m------b-----k-mb tot
sb frac k
=
--s---b-----k-sb tot
ODE Formulations for Surface Concentrations
The surface of a 1D geometry has a 0 dimension, hence no surface transport can be modeled and the governing equation is reduced to an ODE:
T H E O R Y F O R T H E S U R F A C E R E A C T I O N S I N T E R F A C E | 199
cs i t
=
Rs i
Surface Reaction Equations on Deforming Geometries
If a Surface Reaction interface is used in conjunction with a Deformed Geometry or a Moving Mesh interface, the boundary concentration can either be assumed to be transported with the deforming geometry (moving mesh), with no compensation for the stretching (the Compensate for boundary stretching check box is not selected), or the species can be assumed to "float" on the mesh (the Compensate for boundary stretching check box is selected, which is the default). In the latter case the following is assumed in regard to the coupling between the surface species and bulk species and the mesh movement:
· Expansion or contraction of the boundary dilutes or increases concentration of the species, respectively, so that the surface integral (in spatial coordinates) of the species is kept constant.
· Tangential mesh movement has no impact on the local concentration in spatial coordinates, that is, the tangential transport of surface and bulk species does not move with the mesh in the tangential direction.
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 3-113 and Equation 3-114, respectively.
cs
it
ln
A
cb
k
t
ln
A
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.
Second, the resulting unwanted tangential convection, imposed by the mesh movement, is compensated for by the adding following terms to the right-hand side of Equation 3-113 and Equation 3-114, respectively:
t cs ivt mesh
t cb kvt mesh
200 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
where vt,mesh is the mesh velocity in the tangential direction. This convectional term needs often to be stabilized using methods such as streamline diffusion or isotropic diffusion.
Reference for the Surface Reactions Interface
1. R.J. Kee, M.E. Coltrin, and P. Glarborg, Chemically Reacting Flow, Chapter 11, John Wiley & Sons, 2003.
T H E O R Y F O R T H E S U R F A C E R E A C T I O N S I N T E R F A C E | 201
Theory for the NernstPlanck Equations Interface
The NernstPlanck Equations Interface theory is described in this section: · Governing Equations for the NernstPlanck Formulation · Convective Term Formulation
Governing Equations for the NernstPlanck Formulation
The following version of the NernstPlanck equation treats transport by convection, diffusion, and migration of each dissolved species:
ci t
+
ciu
=
Dicium iF ciV + Ri
=
Ji + Ri
(3-115)
where Ji is the molar flux relative to the convective transport, and Ri (SI unit: mol/ (m3 ·s)) is the reaction term. The velocity, u, is equal to the velocity of the solvent. This implies that the solute's contribution to the solvent's velocity, through shear or any other forces, is negligible in comparison to the solvent's contribution to the solute. Equation 3-115 introduces one variable for the concentration of each of the dissolved species and the electric potential, V.
Apart from the transport equations, the physics interface assumes that the electroneutrality condition holds:
zici = 0
(3-116)
that is that the net charge in every control volume is zero. This means that Q 1, where Q is the number of species present, can be solved for using Equation 3-115. The remaining species concentration is computed from the electroneutrality condition. This means that boundary conditions for this species cannot be specified, although it takes part in the boundary condition descriptions for the current density. Often, the species chosen to be computed from electroneutrality is the oppositely charged ion, to the electroactive species, from a supporting electrolyte.
202 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
To compute the electric potential, taking the transport of every charged species into account, create the following linear combination of the n mass balance equations, where each mass balance equation is weighted with the factor Fzi:
F
n
z i ct i
+
F
n
ziNi
=F
n
ziRi
i=1
i=1
i=1
(3-117)
The first term in Equation 3-117 is zero, which can be shown by taking the time derivative of the electroneutrality condition. The expression under the divergence operator is the total current density vector, defined by:
n
i = F ziDici zium i F ciV
i=1
(3-118)
Notice that no convective term is included in the expression for the current density, which is also a result of the electroneutrality condition.
It is now possible to rewrite Equation 3-117 as:
n
i = F ziRi
i=1
(3-119)
This equation states the conservation of electric charge and is the one solved for to compute the electric potential.
Equation 3-115, Equation 3-116, and Equation 3-119 are sufficient for describing the potential and concentration distribution in an electrochemical cell or in an electrolyte subjected to an electric field.
A useful observation from Equation 3-118 is that the ionic conductivity, defined in absence of concentration gradients, is implicitly given by:
n
= F 2 zi2cium i
i=1
Furthermore, the potential gradient caused by the presence of a concentration gradient under situations with zero current becomes:
T H E O R Y F O R T H E N E R N S T P L A N C K E Q U A T I O N S I N T E R F A C E | 203
n
Dici
i=1
V = -----------------------------------
n
zium iFci
i=1
In the field of electrochemistry, this is known as the junction potential.
Convective Term Formulation
When modeling mass transport in the NernstPlanck Equations interface, two formulations are available for the convective term: a conservative and a nonconservative formulation. Equation 3-115 shows the conservative formulation.
In the nonconservative formulation the velocity is moved out of the divergence operator, which improves the stability of systems coupled to a momentum balance (fluid-flow equation). This is only applicable to systems that contain incompressible fluids. In these fluids, the following continuity equation is satisfied:
u = 0
(3-120)
and Equation 3-115 can be rewritten as:
ci t
+
Dici
zium
iFciV
+
u
ci
=
Ri
(3-121)
which can be called the nonconservative formulation and is the default formulation in the NernstPlanck Equations interface.
Specify the equation formulation in the Advanced Settings section of the Nernst Planck Equations interface.
204 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Theory for the Reacting Laminar Flow Interface
The following sections describe theory applicable for the Reacting Flow interface: · Pseudo Time Stepping for Mass Transport · The Stefan Velocity · The Chemical Reaction Rate · Nonisothermal Reacting Flow · References for the Reacting Flow Interfaces
Pseudo Time Stepping for Mass Transport
In order to improve the solution robustness, pseudo time stepping can be used for the Transport of Concentrated Species interface when solving a stationary model. Using pseudo time stepping, a fictitious time derivative term:
-----i-------n----o---j-t~-a--c----------i-- is added to the left-hand side of the mass fraction equations. Here is the fluid mixture density, i is the mass fraction (dimensionless) of species i, and t~ is the pseudo time step. Since inojac(i) is always zero, this term does not affect the final solution. It does, however, affect the discrete equation system and effectively transforms a nonlinear iteration into a time step of size t~ .
For a description of the pseudo time step term for the NavierStokes equations and the pseudo time step see Pseudo Time Stepping for Laminar Flow Models and Pseudo Time Stepping in the COMSOL Multiphysics Reference Manual.
The Stefan Velocity
Heterogeneous reactions on fluid-solid surfaces can affect the mass, momentum, and energy balances at the interface separating the fluid and the solid. On the reacting surface, the production or destruction rate, rs,i (SI unit: mol/(m2·s)), of a fluid phase
T H E O R Y F O R T H E R E A C T I N G L A M I N A R F L O W I N T E R F A C E | 205
species is balanced by the total mass flux of the species. The mass balance for species i on a boundary representing a fluid-solid interface is given by
n ji + iu = rs,iMi
(3-122)
Here, n is the unit normal pointing out of the fluid domain, u is the mass averaged velocity of the fluid mixture (SI unit: m/s), ji denotes the mass flux of species i relative to the mixture (typically due to diffusion), and Mi is the species molar mass (SI unit: kg/mol). Summing the mass balances at the surface, over all species, results in an
effective mixture velocity:
N
n us =
r s, i M i
i=1
(3-123)
referred to as the Stefan velocity, here denoted us. To reach Equation 3-123 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 3-123 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:
N
n us =
n j0 i + 0 iu
i=1
(3-124)
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
206 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
selecting Account for Stefan velocity in the Flux or Mass Fraction features in The Transport of Concentrated Species interface.
The resulting Stefan velocity based on mass transport boundary conditions is computed as
N
n j0 i
n us
=
-----i---=----1-----------------------N
1
i
0
i
(3-125)
Using a Reacting Flow interface, the Stefan velocity, defined in the manner of Equation 3-125, 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.
The Chemical Reaction Rate
For laminar flow, or when the Turbulent-reaction model is set to None in a Reaction feature (in Transport of Concentrated Species), the default (Automatic) reaction rate used by the Reaction feature is based on the mass action law. Consider a general reaction belonging to a set of j reactions and involving i species:
f
kj aA + bB + ...
r
kj
xX + yY + ...
(3-126)
For such a reaction set, the reaction rates rj (SI unit: mol/(m3·s)), can be described by the mass action law:
rj = kjf
c
i
i
j
kjr
c
i
ij
i react
i prod
(3-127)
Here, kjf and kjr 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).
T H E O R Y F O R T H E R E A C T I N G L A M I N A R F L O W I N T E R F A C E | 207
In addition to the concentration dependence, the temperature dependence can be included by using the predefined Arrhenius expressions for the rate constants:
k
=
ATn
exp
R----E-g---T---
Here, A denotes the frequency factor, n the temperature exponent, E the activation
energy (SI unit: J/mol) and Rg the gas constant, 8.314 J/(mol·K). The pre-exponential factor, including the frequency factor A and the temperature factor Tn, is given the units (m3/mol) 1/s, where is the order of the reaction (with
respect to the concentrations).
Nonisothermal Reacting Flow
When a Chemistry interface and a Heat Transfer interface are used in the Nonisothermal Reacting Flow multiphysics coupling, the heat equation is modified to account for reactions and diffusion.
In presence of chemical reactions, the enthalpy (SI unit: J/kg) is a function of temperature, pressure and the mixture composition. For a mixture of N components, the mass fractions verify the condition 1 ... N 1. Therefore the enthalpy is a function of the temperature, pressure, and only N 1 mass fractions:
H^ = H^ T p 1 N 1
Assuming the same velocity for the convection term of all components, the mass fractions follow the equation:
---t
i
+
u
i
=
ji + Ri
On the other hand, using the chain rule, the enthalpy variation is written:
D--D----H-t^--
=
----H-^-T
p
D-----T--j Dt
+
----H-^-p
T
j
D------pDt
+
N
i=
1 1
----H--^-i
D----------i Dt
T p j i
which can be rewritten using the partial molar enthalpies:
Hi
=
----H--^-ni
T p nj i
208 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
D------H-^-Dt
=
----H-^-T
p
j
D------T-Dt
+
----H-^-p
N
T
j
D------pDt
+
i
=
1
-H-----i Mi
ji
+
Ri
Additionally, the heat balance equation in terms of internal energy is written:
D------E-Dt
=
q + Qvd + Q
where Qvd is the heat source from viscous dissipation, and Q represents additional sources. The heat flux q consists in a term of conduction and a term of diffusion:
N
q = qcond + qdiff = kT +
-H-----i Mi
ji
i=1
Enthalpy and internal energy are linked through the formula
E
=
H^
p-
,
we
can
thus
rewrite the heat balance equation in terms of enthalpy:
----H-^-T
p
j
D------T-Dt
+
----H-^-p
N
T
j
1
D-----p-Dt
+
i
=
1
-H-----i Mi
ji
+
Ri
=
q + Qvd + Q
Introducing the heat capacity at constant pressure Cp (SI unit: J/(kg·m3), and the coefficient of thermal expansion p (SI unit: 1/K) gives:
N
Cp
D------T-Dt
p
T
D------pDt
+
-H-----i Mi
ji
+
Ri
=
q + Qvd + Q
i=1
The term with the pressure derivative is the work of pressure forces Qp. The enthalpy variation due to the gradient of species mass flux can be partly simplified with the diffusion part of the heat flux. The heat source of reaction can be written in terms of enthalpies of reaction Hi instead of partial enthalpies (see Ref. 1). The temperature derivative term can be expanded to make the convective term appear. We finally obtain the temperature equation for a free flow with N species and M reactions:
Cp
----T-- + u T t
+ kT = Qdiff + Qreact + Qvd + Qp + Q
T H E O R Y F O R T H E R E A C T I N G L A M I N A R F L O W I N T E R F A C E | 209
N
Qdiff =
ji
M-H-----ii
i=1
M
Qreact = Hiri
i=1
Qvd = pI + :u
Qp
=
pT
----p-- + u p t
For reacting flows moving through the interstices of a porous medium, the heat sources of reaction and diffusion are only accounted for the temperature of the fluid phase. While the porosity is already accounted for in the diffusion term through the mass flux, the heat source of reaction has to be multiplied by the porosity. Also, in presence of a porous catalyst, both reactions in the bulk and reactions at the surface are accounted for in the reaction source term:
Mbulk
Msurf
Qreact = p
Hiri Sarea
Hsi rsi
i=1
i=1
where p is the porosity of the medium (SI unit: 1), Sarea is the specific surface area (SI unit: 1/m), and rsi is the surface reaction rate (SI unit: mol/(m2·s)).
An additional source term is added to model convective heat transfer between the fluid and the porous matrix to get the temperature equation for nonisothermal reacting flows in porous media:
fCp f
----T----f t
+
u
Tf
+ kfTf = Qdiff + Qreact + Qvd + Qp + Qs f + Q
This equation is the one that is solved when the Porous medium type of the Porous Medium feature is set to Local thermal nonequilibrium, since both fluid and porous matrix temperatures are solved separately. With the Local thermal equilibrium approach, the equation is written for the common temperature, and in terms of effective material properties for the time derivative term and conduction term:
210 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Cp
e
ff
----T-t
+
fCp
fu
T
+
keffT
=
Qdiff + Qreact + Qvd + Qp + Q
References for the Reacting Flow Interfaces
1. H.A. Jakobsen, Chemical Reactor Modeling: Multiphase Reactive Flows, Springer, 2008.
T H E O R Y F O R T H E R E A C T I N G L A M I N A R F L O W I N T E R F A C E | 211
The Transport of Diluted Species Interface
The Transport of Diluted Species (tds) interface ( ), found under the Chemical Species Transport branch ( ), is used to calculate the concentration field of a dilute solute in a solvent. Transport and reactions of the species dissolved in a gas, liquid, or solid can be handled with this interface. The driving forces for transport can be diffusion by Fick's law, convection when coupled to a flow field, and migration, when coupled to an electric field. The interface supports simulation of transport by convection and diffusion in 1D, 2D, and 3D as well as for axisymmetric components in 1D and 2D. The dependent variable is the molar concentration, c. Modeling multiple species transport is possible, whereby the physics interface solves for the molar concentration, ci, of each species i.
SETTINGS
The Label is the default physics interface name. The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter. The default Name (for the first physics interface in the model) is tds.
DOMAIN SELECTION
If any part of the model geometry should not partake in the mass transfer model, remove that part from the selection list.
OUT-OF-PLANE THICKNESS
For 2D components, the Thickness field (default value: 1 m) defines a parameter for the thickness of the geometry perpendicular to the two-dimensional cross-section. Both constant and varying thicknesses are supported. The value of this parameter is used, among other things, to automatically calculate molar flow rates from the total molar flux.
212 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
CROSS-SECTIONAL AREA
For 1D components, enter a Cross-sectional area Ac (SI unit: m2) to define a parameter for the area of the geometry perpendicular to the 1D component. Both constant and varying areas are supported. The value of this parameter is used, among other things, to automatically calculate molar flow rates from the total molar flux. The default is 1 m2.
TRANSPORT MECHANISMS
Mass transport due to diffusion is always included. Use the check boxes available under Additional transport mechanisms to control other transport mechanisms. Note: Some of the additional transport mechanisms listed below are only available in certain products. For details see https://www.comsol.com/products/specifications/. · 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.
Transport of ionic species in an electric field is available in a limited set of add-on products. See https://www.comsol.com/products/ specifications/ for more details on availability.
Mass Transport in Porous Media The Mass transport in porous media check box activates functionality specific to species transport in porous media: · Porous Medium · Unsaturated Porous Medium · Porous Electrode Coupling · Packed Bed · Porous Catalyst
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 213
· Volatilization · Species Source
Note: Mass transport in porous media is only available in a limited set of add-on products. See https://www.comsol.com/products/ specifications/ for more details on availability.
CONSISTENT STABILIZATION
To display this sections, click the Show button ( ) and select Stabilization. · 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. Its 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
214 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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 ( Advanced Physics Options.
) and select
The Compute boundary fluxes check box is activated by default so that COMSOL Multiphysics computes predefined accurate boundary flux variables. 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.
The flux variables affected in the interface are:
· 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 selected. The smoothing can provide a more well-behaved flux value close to singularities.
For details about the boundary fluxes settings, see Computing Accurate Fluxes in the COMSOL Multiphysics Reference Manual.
The Value type when using splitting of complex variables setting should in most pure mass transfer problems be set to Real, which is the default. It makes sure that the dependent variable does not get affected by small imaginary contributions, which can occur, for example, when combining a Time Dependent or Stationary study with a frequency-domain study. For more information, see Splitting Complex-Valued Variables in the COMSOL Multiphysics Reference Manual.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 215
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.
FURTHER READING
· Theory for the Transport of Diluted Species Interface · Numerical Stabilization 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 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.
· Effective Diffusivity in Porous Materials: Application Library path COMSOL_Multiphysics/Diffusion/effective_diffusivity
· Micromixer: Application Library path COMSOL_Multiphysics/ Fluid_Dynamics/micromixer
The Transport of Diluted Species in Porous Media Interface
This interface ( ), found under the Chemical Species Transport branch ( ), is used to calculate the species concentration and transport in free and porous media. The interface is the same as the Transport of Diluted Species interface but it uses other defaults: The Mass Transport in Porous Media property is selected, and a Porous Medium node is added by default. The interface includes reaction rate expressions and solute sources for modeling of species transport and reaction in porous media. This interface is dedicated to modeling transport in porous media, including immobile and mobile phases, where the chemical species may be subjected to diffusion, convection, migration, dispersion, adsorption, and volatilization in porous media. It
216 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
supports cases where either the solid phase substrate is exclusively immobile, or when a gas-filling medium is also assumed to be immobile. 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 adsorption, volatilization, dispersion and diffusion, migration, and the velocity field to model convection. 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
· Mass Balance Equation for Transport of Diluted Species in Porous Media
· Domain, Boundary, and Pair Nodes for the Transport of Diluted Species Interface
· Variably Saturated Flow and Transport -- Sorbing Solute: Application Library path Subsurface_Flow_Module/Solute_Transport/ sorbing_solute Web link: https://www.comsol.com/model/ variably-saturated-flow-and-transport-8212-sorbing-solute-490
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 217
The Transport of Diluted Species in Porous Catalysts Interface
This interface ( ), found under the Reacting Flow in Porous Media multiphysics node ( ), on the Chemical Species Transport branch ( ), is used to study the impact of adsorption, and heterogeneous reactions, as a gas or liquid containing solute species is moving through the interstices of a porous medium. Adsorption and desorption of bulk species onto, or from, the fluid-solid interface can be studied, as well as heterogeneous reactions involving both bulk species and surface species bound to the fluid-solid interface. Volumetric reactions occurring in the pores can also be included. The interface is the same as the Transport of Diluted Species interface, but it has a Porous Catalyst node added by default. All other features for transport and reactions in porous media are also always available.
The main feature of the interface is the Porous Catalyst node which adds the governing equations for the concentrations of all solute species in the bulk, and the equations for surface species. It has two default subnodes, Fluid and Porous Matrix, that in turn are used to define the physical properties of each phase, and to prescribe the transport properties. The latter are typically the flow field, and when applicable, the electric field. The Adsorption and Surface Reaction (Porous Catalyst) subnodes can be added to implement adsorption/desorption and heterogeneous reactions occurring on the fluid-solid interface.
When this physics interface is added, the following default nodes are also added to the Model Builder -- Porous Catalyst, 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 Catalysts to select physics features from the context menu.
SETTINGS
The rest of the settings are the same as in The Transport of Diluted Species Interface.
The Transport of Diluted Species in Packed Beds Interface
This interface ( ), found under the Reacting Flow in Porous Media multiphysics node ( ), on the Chemical Species Transport branch ( ), is used to model reactors filled with catalyst pellets. The interparticle macropores (void between pellets), and the intraparticle micropores (pores inside the pellets) result in a system with bimodal porosity. The Transport of Diluted Species in Packed Beds interface can be used to study interparticle and intraparticle mass transport, as well as reactions, in detail.
218 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Heterogeneous reactions and as volumetric reactions, both in the pore fluid inside the pellets and in the bulk fluid in the bed, can also be studied. The pellets are available in each point of the bed domain, and are defined using an extra dimension describing the pellet radius. The interface is the same as the Transport of Diluted Species interface, but it has a Packed Bed node added by default. All other features for transport and reactions in porous media are also always available. The main feature of the interface is the Packed Bed node which adds the governing equations for the concentrations of all bulk species, and the equations for surface species. It has two subnodes, Fluid and Pellets, that in turn are used to define the physical properties corresponding to each phase. The latter node is also used to define volumetric and heterogeneous intraparticle reactions. The Packed Bed node requires the use of a Porous Material (described in the COMSOL Multiphysics Reference Manual) for defining phase-specific properties, and for sharing them among different physics interfaces. A packed bed containing several pellet types can be modeled by adding multiple Pellets nodes to the Porous Material. When this physics interface is added, the following default nodes are also added to the Model Builder -- Packed Bed, No Flux (the default boundary condition), and Initial Values. From the Physics toolbar, add other nodes that implement, for example, boundary conditions, reaction rate expressions, and species sources. Optionally, right-click Transport of Diluted Species in Packed Beds to select physics features from the context menu.
SETTINGS
The rest of the settings are the same as The Transport of Diluted Species Interface.
Domain, Boundary, and Pair Nodes for the Transport of Diluted Species Interface
The Transport of Diluted Species Interface has the following domain, boundary, point, and pair nodes, listed in alphabetical order, available from the Physics ribbon toolbar
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 219
(Windows users), Physics context menu (Mac or Linux users), or by right-clicking to access the context menu (all users).
· To add a node, go to the Physics toolbar, no matter what operating system you are using.
· Contextual subnodes (attributes) are available by clicking the parent node in the Model Builder, and then selecting the subnode from the Attributes menu.
220 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
· Adsorption · Adsorption (Porous Catalyst) · Concentration · Continuity on Interior Boundaries · Diffusion (Transport of Diluted
Species) · Dispersion · Electrode Surface Coupling · Equilibrium Reaction · Fast Irreversible Surface Reaction · Fluid · Fluid (Porous Catalyst) · Flux · Flux Discontinuity · Fracture · Gas · Inflow · Initial Values · Initial Values (Pellets) · Line Mass Source · Liquid · Mass-Based Concentrations · No Flux · Open Boundary · Out-of-Plane Flux · Outflow · Packed Bed · Partition Condition
· Pellet-Fluid Interface · Pellets · Periodic Condition · Point Mass Source · Porous Catalyst · Porous Layer Reactions · Porous Matrix · Porous Matrix (Porous Catalyst) · Porous Medium · Porous Electrode Coupling · Reaction Coefficients · Reactions · Reactions (Pellets) · Shrinking Core Reactions · Solid · Species Properties · Species Source · Surface Reactions · Surface Reaction (Porous Catalyst) · Surface Equilibrium Reaction · Symmetry · Thin Diffusion Barrier · Thin Impermeable Barrier · Transport Properties · Unsaturated Porous Medium · Volatilization
Some features require certain add-on modules. For details see https:// www.comsol.com/products/specifications/
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 221
For axisymmetric components, COMSOL Multiphysics takes the axial symmetry boundaries (at r 0) into account and automatically adds an Axial Symmetry node that is valid on boundaries representing the symmetry axis.
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.
Prescribing Conditions on Fluid-Solid Interfaces
Defining conditions on interfaces between different phases, typically a wall in contact with a fluid, it is worthwhile to be careful with how variables in the conditions are evaluated. COMSOL Multiphysics supports that variables are defined differently on adjacent domains (or any other geometry dimension). Evaluating a variable with differing definitions, the mean value is returned on a boundary separating the different domains. The density, pressure, or temperature are examples of variables that may differ in a fluid and a solid. In order to specify on which side a variable is evaluated, the up and down operators (described in the COMSOL Multiphysics Reference Manual) can be used.
Species Properties
Use this node to define parameters specific to each of the species. It is available when the Migration in electric field check box is selected in the Transport Mechanisms section of the interface. The node will change its label depending on what inputs are available in the node. If only Charge is available, it will be labeled "Species charges".
CHARGE
Enter the charge number zc (dimensionless, but requires a plus or minus sign) for each species.
ACTIVITY
This section is available when the Species Activity combo box is set to Debye-Hückel or User defined.
222 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
If Debye-Hückel is selected, enter the ion size number, a0, for each species. If User defined is selected, enter the activity coefficient, f, for each species.
Transport Properties
The settings in this node are dependent on the check boxes selected under Transport Mechanisms in 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.
MODEL INPUTS
The temperature model input is always available. Select the source of the Temperature. For User defined, enter a value or expression for the temperature in the input field. This input option is always available. You can also select the temperature solved for by a Heat Transfer interface added to the model component. These physics interfaces are available for selection in the Temperature list.
CONVECTION
If transport by convection is active, the velocity field of the solvent needs to be specified. Select the source of the Velocity field. For User defined, enter values or expressions for the velocity components in the input fields. This input option is always available. You can also select the velocity field solved for by a Fluid Flow interface added to the model component. These physics interfaces are available for selection in the Velocity field list.
DIFFUSION
Use this section to specify diffusion coefficients describing the diffusion of each species in the solvent fluid. Use the Source list to select 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.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 223
Select Chemistry to use a diffusion coefficient from a Chemistry interface added to model component. Diffusion coefficients are automatically defined when Calculate transport properties is selected on the interface level of a Chemistry interface. All defined diffusion coefficients 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/.
MIGRATION IN ELECTRIC FIELD
This section is available when the Migration in electric field check box is selected. From the Electric potential list, select the source of the electric field.
· Enter a value or expression for the Electric potential V, which is User defined; this input option is always available.
· Select the electric potential solved by an AC/DC-based interface that has also been added to the model.
· Select the electric potential defined or solved by Electrochemistry interface that has been added to the component.
By default the Mobility is set to be calculated based on the species diffusivity and the temperature using the Nernst-Einstein relation. For User defined, and under Mobility, select the appropriate scalar or tensor type -- Isotropic, Diagonal, Symmetric, or Full -- and type in the value of expression of the mobility um,c. Enter the Charge number zc (dimensionless, but requires a plus or minus sign) for each species.
The temperature (if you are using mobilities based on the NernstEinstein 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/.
224 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
EXAMPLE MODELS
· Separation Through Dialysis: Application Library path Chemical_Reaction_Engineering_Module/Mixing_and_Separation/dialysis Web link: https://www.comsol.com/model/ separation-through-dialysis-258
· Transport in an Electrokinetic Valve: Application Library path Microfluidics_Module/Fluid_Flow/electrokinetic_valve Web link: https://www.comsol.com/model/ transport-in-an-electrokinetic-valve-603
Solid
Use this node to describe diffusion in a solid phase domain. In this feature, the activities of the species are assumed to be ideal.
DIFFUSION
Specify the diffusion coefficients describing the diffusion of each species in the solid. Enter a value or expression for the Diffusion coefficient Dc of each species in the corresponding input field. This can be a scalar value for isotropic diffusion or a tensor describing anisotropic diffusion. Select the appropriate tensor type -- Isotropic, Diagonal, or Symmetric that describes the diffusion transport, and then enter the values in the corresponding element (one value for each species).
ADVANCED
This section is only available with the Advanced Physics Options selected and when the model contains a split between the material frame and the spatial frame. A split of these frames occurs when using a Moving Mesh node or a Structural Mechanics interface like Solid Mechanics. In such a model, the reference geometry (the material frame) differs from the deformed geometry (the spatial frame). The diffusive transport of species is solved for on the material frame, but the equation is adjusted for geometry deformations so that species conservation is achieved on the spatial frame. Use the Diffusion model to define the frame of reference for the diffusion tensor. Select Reference geometry based (Lagrangian) to specify the diffusion tensor in the undeformed geometry, implying that the diffusion is defined in the material frame
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 225
(indicated by coordinates X, Y, Z). This is the preferred setting for an anisotropic diffusion in combination with solid body translation or rotation. Also in general when the diffusion tensor components have been measured in an undeformed geometry. Select Deformed geometry based (Eulerian) to specify the diffusion tensor in the deformed geometry. This means that the diffusion is defined in the spatial frame (indicated by coordinates x, y, z). Use this setting when the diffusion tensor components have been measured in a deformed geometry. The Advanced Physics Options is found in the Show More Options dialog box, accessed by clicking the Show More Options button ( ). Note that multiple species are only available for certain COMSOL Multiphysics add-on products. See details: https://www.comsol.com/products/specifications/.
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.
226 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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.
Several reaction nodes can be used to account for different reactions in different parts for the modeling geometry.
REACTION RATES
Add a rate expression Ri (SI unit: mol/(m3·s)) for species i. Enter a value or expression in the field. Note that if you have the Chemistry interface available, provided with the Chemical Reaction Engineering Module, the reaction rate expressions can be automatically generated and picked up using the drop-down list. 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 in the case of using the volume of a particular phase (applicable when modeling an unsaturated porous medium). · For Total volume, the reaction expressions, in mol/(m3·s), are specified per unit
volume of the model domain (multiplied by unity). · For Pore volume, the reaction expressions, in mol/(m3·s), are specified per unit
volume of total pore space. The reaction expressions will be multiplied by the domain porosity, p. (p equals unity for nonporous domains). · For Liquid phase, the reaction expressions, in mol/(m3·s), are specified per unit volume of liquid in the pore space. The expressions will be multiplied by the liquid volume fraction l. (l equals the porosity (p) on Porous Medium domains). · For Gas phase, the reaction expressions, in mol/(m3·s), are multiplied by the gas volume fraction g p lg equals 0 for Porous Medium domains.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 227
FURTHER READING
See the theory chapter on chemical species transport, starting with the section Mass Balance Equation.
· Fine Chemical Production in a Plate Reactor: Application Library path Chemical_Reaction_Engineering_Module/ Reactors_with_Mass_and_Heat_Transfer/plate_reactor Web link: https://www.comsol.com/model/ fine-chemical-production-in-a-plate-reactor-8589
No Flux
This node is the default boundary condition on exterior boundaries. It should be used on boundaries across which there is no mass flux, typically solid walls where no surface reactions occur. The condition applied for each species corresponds to
n Dc = 0 where n denotes the outward pointing normal of the boundary. When the mass transport includes migration of ionic species, the no flux condition is:
n Dc zumFc = 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. When including the convection, the no flux condition prescribed is
n Dc + uc = 0 or
n Dc zumFc + uc = 0 when migration of ionic species is included.
228 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Inflow
Use this node to specify all species concentrations at an inlet boundary. 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.
BOUNDARY CONDITION TYPE
The option Concentration constraint constrains the concentration values on the boundary by the use of pointwise constraints. The other option, Flux (Danckwerts) can be used when the concentration at the boundary is not known, or when it varies in a nontrivial manner. This may, for example, be useful when reactions with high reaction rates occur in the vicinity of the inlet. In this case the concentration far upstream of the boundary is instead prescribed. The Flux (Danckwerts) condition prescribes the total flux defined by the upstream concentration and the fluid velocity at the boundary.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced Physics Options. You can find details about the different constraint settings in the section Constraint Reaction Terms in the COMSOL Multiphysics Reference Manual.
FURTHER READING
See the theory chapter in the section 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:
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 229
n Dc = 0 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. When defining conditions on boundaries between different phases, see the section Prescribing Conditions on Fluid-Solid Interfaces.
CONSTRAINT SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options. You can find details about the different constraint settings in the section Constraint Reaction Terms in the COMSOL Multiphysics Reference Manual.
Flux
This node can be used to specify the species molar flux across a boundary. The flux can for example occur due to chemical reactions or a phase change at the boundary. The flux can also represent the transport to or from a surrounding environment currently not included model. The prescribed flux of a species c is by default defined as
n Dc = J0 where n denotes the outward pointing normal of the boundary. When the mass transport includes migration of ionic species, the flux is defined as:
n Dc zumFc = J0
230 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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 . When defining conditions on boundaries between different phases, see the section Prescribing Conditions on Fluid-Solid Interfaces.
CONVECTION
By default, the flux due to diffusion and migration in an electric field is prescribed. This is the appropriate flux condition when the relative velocity at the boundary is zero. When the fluid velocity is not equal to that of the boundary, it is often convenient to prescribe the total flux, including the convection. To do this select Include in the Convection section. When including the convection, the prescribed flux is defined as:
n Dc + uc = J0
or n Dc zumFc + uc = J0
when migration of ionic species is included.
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 = kccb c
where kc is a mass transfer coefficient and cb is the bulk concentration, the typical concentration far into the surrounding exterior domain.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 231
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. This boundary condition is identical to that of the No Flux node.
Flux Discontinuity
This node represents a discontinuity in the mass flux across an interior boundary:
n J + ucu J + ucd = N0
J = Dc zumFc
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 relation between the concentration of a solute species in two adjoining immiscible phases. It can for example be used on interior boundaries separating two liquid phases, a gas-liquid interface, or on a boundary separating a liquid phase and a solid or porous media.
Select Partition coefficient from the Relation list to prescribe a linear relationship
between the concentration on either side of a boundary. For a species concentration ci, the ratio between the concentration on the upside and on the downside of the boundary (ci,u and ci,d respectively) is then defined in terms of a partition coefficient Ki in the manner of
Ki
=
c---i----uci d
Use the associated input field to prescribe the partition coefficient for each species.
232 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Select User defined from the Relation list to set up a nonlinear relation between the up and downside concentrations. For such relations f(ci)u=f(ci)d, where f(ci)u is the expression enforced on the upside. Use the associated input fields to enter the upside and downside expressions for each species. The up and downside of the selected boundary is indicated with a red arrow in the Graphics window. The arrow points from the downside into the upside. Select the Reverse direction check box to reverse the direction of the arrow on the selected boundary, and update the definition of the up and downside concentrations accordingly.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
FURTHER READING
For an example of using a partition condition, see this application example:
Separation Through Dialysis: Application Library path Chemical_Reaction_Engineering_Module/Mixing_and_Separation/dialysis
Periodic Condition
The Periodic Condition node can be used to define periodicity for the mass transport between two sets of boundaries. The node prescribes continuity in the concentration and the mass flux between the "source" and the "destination" side, respectively. Note that these names are arbitrary and does not influence the direction in which mass is transported. It is dictated by mass transfer equations in the adjacent domains.
BOUNDARY SELECTION
The node can be activated on more than two boundaries, in which case the feature tries to identify two separate surfaces that each consist of one or several connected boundaries.
DESTINATION SELECTION
For more complex geometries, it might be necessary to specify the destination selection manually. To do so, right-click the Periodic Condition node and choose Manual
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 233
Destination Selection. You can then specify the boundaries that constitute the destination surfaces in the Destination Selection section.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( ) and select Advanced Physics Options in the Show More Options dialog box. This section contains settings for specifying the type of constraint and whether to use a pointwise or weak constraint. See Constraint Settings in the COMSOL Multiphysics Reference Manual for more information.
ORIENTATION OF SOURCE
To display this section, click the Show More Options button ( ) and select Advanced Physics Options in the Show More Options dialog box. For information about the Orientation of Source section, see Orientation of Source and Destination in the COMSOL Multiphysics Reference Manual.
ORIENTATION OF DESTINATION
This section appears if the setting for Transform to intermediate map in the Orientation of Source section is changed from the default value, Automatic, and Advanced Physics Options is selected in the Show More Options dialog box. For information about the Orientation of Destination section, see Orientation of Source and Destination in the COMSOL Multiphysics Reference Manual.
MAPPING BETWEEN SOURCE AND DESTINATION
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 Mapping Between Source and Destination section, see Mapping Between Source and Destination in the COMSOL Multiphysics Reference Manual.
FURTHER READING
For an example of using a periodic condition, see this application example:
The KdV Equation and Solitons: Application Library path COMSOL_Multiphysics/Equation_Based/kdv_equation
234 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Line Mass Source
The Line Mass Source feature models mass flow originating from a tube or line region with an infinitely small radius.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
SELECTION
The Line Mass Source feature is available for all dimensions, but the applicable selection differs between the dimensions.
MODEL DIMENSION APPLICABLE GEOMETRICAL ENTITY
2D
Points
2D Axisymmetry Points not on the symmetry axis and the symmetry axis
3D
Edges
SPECIES SOURCE
Enter the source strength, q l,c , for each species (SI unit: molm·s)). A positive value results in species injection from the line into the computational domain, and a negative value means that the species is removed from the computational domain.
Line sources located on a boundary affect the adjacent computational domains. This effect makes the physical strength of a line source located in a symmetry plane twice the given strength.
FURTHER READING
See the section Mass Sources for Species Transport.
Point Mass Source
The Point Mass Source feature models mass flow originating from an infinitely small domain around a point.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 235
SPECIES SOURCE
Enter the source strength, q p,c , for each species (SI unit: mols). A positive value results in species injection from the point into the computational domain, and a negative value means that the species is removed from the computational domain. Point sources located on a boundary or on an edge affect the adjacent computational domains. This has the effect, for example, that the physical strength of a point source located in a symmetry plane is twice the given strength.
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.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
EXTERIOR CONCENTRATION
Enter a value or expression for the Exterior concentration.
Thin Diffusion Barrier
Use this boundary condition to model a thin layer through which mass is transported by diffusion only. The node is applicable on interior boundaries and can be used to avoid meshing thin structures.
236 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
THIN DIFFUSION BARRIER
Specify the Layer thickness, ds, and input a Diffusion coefficient, Ds,c, for each of the species included.
Thin Impermeable Barrier
This feature models a thin mass transfer barrier. It is available on interior boundaries and introduces a discontinuity in the concentration across the boundary. On each side, a no-flux condition is prescribed for the mass transport implying that it acts as a barrier. The feature can be used to avoid meshing thin structures. Solving a model involving coupled fluid flow and mass transfer, the Thin Impermeable Barrier feature can be combined with an Interior Wall feature in order to model a thin solid wall.
Equilibrium Reaction
Use this node to model a reaction where the kinetics is so fast that the equilibrium condition is fulfilled at all times. The node solves for an additional degree of freedom (the reaction rate Req) to fulfill the equilibrium condition at all times in all space coordinates. 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.
· A necessary requirement for this is feature to be available is that two or more species are solved for by the interface.
· This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
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).
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 237
Selecting Equilibrium constant defines an equilibrium condition based on the stoichiometric coefficients, the species activities, and the law of mass action. For User defined, enter an Equilibrium expression Eeq (dimensionless).
STOICHIOMETRIC COEFFICIENTS
Enter a value for the stoichiometric coefficientc (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 · Equilibrium Reaction Theory
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.
SURFACE REACTION RATE
Specify the surface reaction rate J0 of each species resulting from the reactions. 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 list. When defining conditions on boundaries between different phases, see the section Prescribing Conditions on Fluid-Solid Interfaces.
FURTHER READING
For an example of using the Surface Reactions node, see this application example:
Chemical Vapor Deposition of GaAs: Application Library path Chemical_Reaction_Engineering_Module/ Reactors_with_Mass_and_Heat_Transfer/gaas_cvd
238 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Surface Equilibrium Reaction
Use this node to model an equilibrium reaction on a boundary (surface). The settings for this node are similar to Equilibrium Reaction. Note that a necessary requirement for this is feature to be available is that two or more species are solved for by the interface. When defining conditions on boundaries between different phases, see the section Prescribing Conditions on Fluid-Solid Interfaces.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
Fast Irreversible Surface Reaction
This boundary node defines an irreversible 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. When defining conditions on boundaries between different phases, see the section Prescribing Conditions on Fluid-Solid Interfaces.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
Porous Electrode Coupling
Use this node to add a molar source in a domain that is coupled to one or multiple Porous Electrode Reaction nodes of an Electrochemistry Interface. The molar source is calculated from the number of electrons, stoichiometric coefficients, and volumetric current densities of the coupled porous electrode reactions specified in the Reaction Coefficients subnodes.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 239
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. Note that if you are also modeling the momentum transport and expect a nonnegligible total mass source or sink, which is often the case in gas diffusion electrodes, you need to also add a corresponding Porous Electrode Coupling node in the Fluid Flow interface.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
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. Enter the Number of participating electrons nm (dimensionless) and the Stoichiometric coefficient vc (dimensionless) as explained in the theory section linked below. Use multiple subnodes to couple to multiple reactions.
Electrode Surface Coupling
Use this node to define a flux boundary condition based on current densities of one or multiple Electrode Reaction nodes in an Electrochemistry interface. 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.
240 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Note that if you are also modeling the momentum transport and expect a nonnegligible total mass flux over the boundary, which is often the case for gas diffusion electrodes, you need to also add a corresponding Electrode Surface Coupling node in the Fluid Flow interface.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
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.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
Species transport through a porous medium is affected both by properties of the fluid phase, and as well as properties of the solid matrix. These properties are defined in the Fluid and Porous Matrix subnodes respectively. The 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. 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 a porous medium. It is used as a subnode to Porous Medium, Porous Catalyst, and Packed Bed.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 241
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.
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.
Select Chemistry to use a diffusion coefficient from a Chemistry interface added to model component. Diffusion coefficients are automatically defined when Calculate transport properties is selected on the interface level of a Chemistry interface. All defined diffusion coefficients 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
242 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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).
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/.
MIGRATION IN ELECTRIC FIELD
This section is available when the Migration in electric field check box is selected. From the Electric potential list, select the source of the electric field.
· 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.
Enter the Charge number zc for each species.
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.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 243
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
p
=
1
-----b-pe
For User defined, enter a value or expression for the porosity.
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 in 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.
For User defined, specify the dispersion components in terms of constants or expressions. Select Isotropic, Diagonal, Symmetric, or Full to enable the appropriate tensor components.
Unsaturated 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.
244 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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 convection and diffusion, the node contains functionality to include species evolution through adsorption, dispersion, and volatilization.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
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. Add an Adsorption or a Dispersion subfeature to the Unsaturated Porous Medium to account for the corresponding transport mechanism.
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.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 245
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. For Liquid volume fraction, enter a value for l (dimensionless) between 0 and the value of the porosity.
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.
Select Chemistry to use a diffusion coefficient from a Chemistry interface added to model component. Diffusion coefficients are automatically defined when Calculate transport properties is selected on the interface level of a Chemistry interface. All defined diffusion coefficients 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
246 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
reduced diffusivity in the liquid. 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 L,i (dimensionless). 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/.
MIGRATION IN ELECTRIC FIELD
This section is available when the Migration in electric field check box is selected. From the Electric potential list, select the source of the electric field. · 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. Enter the Charge number zc for each species.
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.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 247
Adsorption
Use this node to model adsorption of the (fluid phase) solute species onto the surface of the porous matrix. It is available as a subnode to the Porous Medium and the Unsaturated Porous Medium nodes.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
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:
cP
=
cPmax
-----K-----L---c-----1 + KLc
KP
=
---c---Pc
=
----K----L---c---P---m----a--x---1 + KLc2
Enter a Langmuir constant kL,c (SI unit: m3/mol) and an Adsorption maximum cp,max,c (SI unit: mol/kg).
· For Freundlich:
248 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
cP
=
KF
-c--cr--e--f
N
KP
=
---c---Pc
=
N c---Pc
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:
cP
=
c
Pmax
-------------------b----T---c--------------------
1
+
bTcNT
1
NT
and
KP
=
---c---Pc
=
cPmaxbT1 + bTcNT1 + -N--1---T
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):
cP
=
-----------------------K-----B---c---0---c------------------------
cS
c
1
+
KB
1
c--c-S-
and
KP
=
---c---Pc
=
--K----B----c---0---c--S--------K-----B---------1------c---2----+-----c---S2---c cS2cS + KB 1c2
Enter a BET constant KB,c (dimensionless), a Monolayer adsorption capacity c0,c (SI unit: mol/kg), and an Saturation concentration cS,c (SI unit: mol/m3). · For User defined enter an Adsorption isotherm cP,c (SI unit: mol/kg):
cP = fc For more information, see Adsorption in the theory section.
FURTHER READING
See the theory chapter in the section Mass Balance Equation for Transport of Diluted Species in Porous Media.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 249
Volatilization
This feature is available when the Mass transfer in porous media check box is selected in the Settings window for the physics interface.
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 Jc = hckG,cc cGatm,c
where hc is the mass transfer coefficient, kG,c the volatilization coefficient, and cGatm,c the concentration in the surrounding atmosphere.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
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
hc
=
D-----G----cds
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.
Packed Bed
Use this feature to model a packed bed reactor filled with solid catalytic pellets. The bed pellets are porous, forming a bimodal porosity in the reactor. In addition to mass transfer and reactions in the fluid between the pellets (interparticle processes), the same processes can also be studied inside the pellets (intraparticle). The pellets are available in each point of the bed domain, and are defined using an extra dimension describing the pellet radius.
250 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The Packed Bed includes two subnodes, Fluid and Pellets, which in turn are used to define the physical properties of the corresponding phase. The latter node is also used to define volumetric reactions, as well as heterogeneous reactions, occurring within the porous pellets. The Packed Bed node requires a Porous Material (described in the COMSOL Multiphysics Reference Manual) on the domains occupied by the bed. Using the porous material it is possible to model a bed comprised of any number of pellet types by adding multiple pellet nodes. For information on the equations solved in the pore space and inside the pellets see the section The Packed Bed Feature, in the Theory for the Transport of Diluted Species Interface chapter. When using the corresponding feature for concentrated mixtures, see The Packed Bed Feature in the Theory for the Transport of Concentrated Species Interface chapter. For an application using the Packed Bed feature, see
· A Multiscale 3D Packed Bed Reactor: Application Library path Chemical_Reaction_Engineering_Module/Reactors_with_Porous_Catalysts/ packed_bed_reactor_3d Web link: https://www.comsol.com/model/ a-multiscale-3d-packed-bed-reactor-17019
DOMAIN SELECTION
From the Selection list, choose the domains with porous material. Note that all domains chosen needs to be occupied by a Porous Material.
BED PROPERTIES
Use the Porosity list to specify the bed porosity, that is the volume fraction not occupied by the pellets. Select From material to use the bed porosity defined by the Porous Material. Select User defined to enter a constant or an expression.
Pellets
Use the Pellets node to define intraparticle transport and reactions in a packed bed. For the Transport of Diluted Species, there are two types of pellets, acting as porous catalyst and reactant (Shrinking Core model) respectively. For the porous catalyst pellets, the node focuses on the diffusion and reactions inside pellet; while for the
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 251
Shrinking Core pellets, the pellet is shrinking with the proceeding of the solid species consuming reactions. The node focuses on the core consuming reactions on the core surface besides the diffusion and reactions inside the porous reacted layer.
DOMAIN SELECTION
The pellets in use are listed in the domain selection. This corresponds to all Pellet nodes added to the Porous Material on the domains defining the packed bed.
PELLET TEMPERATURE (TRANSPORT OF CONCENTRATED SPECIES)
This section is only available in a Transport of Concentrated Species interface, where the intraparticle flow velocity and pressure is solved for.
Use this section to specify the temperature in the pellets. Select From fluid to use the temperature in the fluid surrounding the pellets. When the pellet temperature is solved for, for example using a Heat Transfer in Pellets interface, the corresponding temperature is also available.
SURFACE SPECIES
This section is only available in a Transport of Diluted Species interface with Pellet Type selected as Porous Catalyst and a Transport of Concentrated Species interface.
Add species to this table to account for surface reactions occurring inside the pellets. The surface species added are dependent variables and their concentrations (amount per area) will be solved for together with that of the other (bulk) species inside the pellets. The surface reaction rate for each surface species is defined in the Reactions subnode.
When surface reactions are defined in a Chemistry interface, these surface species should be coupled to those defined in the Pellets node. This is achieved in the Settings window of said Chemistry interface. First, select the Define variables for porous pellets check box in the Pellet Chemistry section. Then choose the relevant packed bed interface in the Species solved for list in the Species Matching section. Finally, type in the dependent variable name in the Surface species table. The dependent variable is found in the Shape Functions section in the Equation View for Pellets.
When the check box in the Pellet Chemistry section is used, the Chemistry interface describes the chemistry in the interior of the pellets. To also study the chemistry in the bulk fluid surrounding the pellets in the Packed Bed, add an additional Chemistry interface and keep said check box cleared.
252 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
When using the Transport of Concentrated Species interface, the molar mass of each surface species is required to convert between molar and mass basis. For a surface species already defined in a Chemistry interface, say O2(ads), select Molar mass for O2(ads) for the corresponding surface species (using the column Molar mass from). Select User defined to instead enter a constant value or an expression in the column Molar mass (kg/mol).
SOLID CORE
This section is only available in a Transport of Diluted Species interface with Pellet Type selected as Shrinking Core model. The Pellet density specifies the density of unreacted core. The default selection is User defined. It can also be From material. There can be some solid substances (supporting material, for example) inside the pellet core that do not participate in the core consuming reactions. These substances are classified as matrix. Enter the mass fraction for Mass fraction of inert matrix. Its default value is 0. Select or enter the molar mass and mass fraction for solid species in Solid core species table. The molar mass can be picked up from Chemistry (with Define variables for porous pellets being checked under Pellet Chemistry section) from column Molar mass from. If User defined is selected from Molar mass from column, then the corresponding cell under column Molar mass (kg/mol) is enabled, where you can enter the expression for the molar mass. Finally, enter the mass fraction for each solid species under the column Solid mass fraction (1). The mass fractions in the table will be normalized 1, then multiplied by (1-wmatrix).
REACTED LAYER
This section is only available in a Transport of Diluted Species interface with Pellet Type selected as Shrinking Core model. Enter a porosity for the porous reacted layer. The default selection is User defined. It can also be From material.
Diffusion (Transport of Diluted Species)
Use this node to define species diffusion properties inside porous pellets of a packed bed.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 253
DOMAIN SELECTION
The node inherits all valid domains from its parent feature. For the invalid domains, not applicable is shown.
DIFFUSION
Select Diffusion model -- Millington and Quirk model (the default), Bruggeman model, Tortuosity model, or User defined to describe the effective correction of the diffusion coefficient in the pellet. In the case of the Tortuosity model, a tortuosity factor for the tortuosity pe within the pellet is required. Use this section to specify diffusion models and diffusion coefficients inside the reactive pellets. From the Diffusion coefficient list, select diffusion coefficient for different species. If a User defined diffusion model is selected, an Effective diffusion coefficient Dpeff,c (SI unit: m2/s) is entered. The default value is 1·10-9 m2/s. Diffusion coefficients calculated in Chemistry are available in the list when Chemistry (with the Define variables for porous pellets selected under Pellet Chemistry section) is coupled to the Packed Bed feature.
Shrinking Core Reactions
Use this node to define reactions occurring on the surface of the solid pellet core. The pellet core can consist or one of more solid phase species. Core consumption occurs when the solid species are consumed by surface reactions on the core outer surface (facing the porous layer). Core consuming reactions can also involve bulk species. In this case the bulk species are removed or produced at the core surface.
DOMAIN SELECTION
The node inherits all valid domains from its parent feature. For invalid domains, not applicable is shown.
PELLET
Select All to apply the core consumption reactions for all available pellets types. Or, select one of the pellet types in the list.
CORE CONSUMING REACTIONS
If there is one solid species only, the core shrinking rate depends on the consumed rate of this species. If there are more than one solid species, the core shrinking rate depends
254 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
on the weighted mass consumed rate of all species, assuming that the same consumed rate is held for all species along the core axial direction. In the Core species reaction rate table, select the reaction rate (SI unit: mol/(m2·s)) for solid species under the column Surface reaction rate. Select the Define variables for porous pellets check box in the Pellet Chemistry section to couple the reaction rate to the chemistry. With User defined selected from the column Surface reaction rate, enter a reaction-rate expression in the column Surface rate expression (mol/(m^2*s)).
For bulk species that take part in the core consuming reactions, or other surface reactions on the core surface, the reaction rate is some kind of molar flux between core surface and reacted layer. Select bulk species reaction rate (or molar flux, SI unit: mol/(m2·s)) for bulk species i from the Jpe, i list. The reaction rate can be picked up from the chemistry by selecting the Define variables for porous pellets check box. Enter a reaction-rate expression when User defined is selected from the list.
HEAT SOURCE
Specify the Heat source (QsRc) evolved from core surface reactions. When multiple pellets types are present, all respective heat source are included.
The heat sources are most conveniently picked up from a surface reaction in a Chemistry interface (with the Define variables for porous pellets selected in the Pellet Chemistry section). In that case, the heat source expression can be selected from the list. Otherwise, you can enter an expression in the text field.
The heat source can be applied in a Heat Transfer in Packed Beds interface by using a Heat Source node added to the Pellets feature.
The total heat source (including heat from Porous Layer Reactions nodes) can be applied in a Heat Transfer in Porous Media interface by using a Heat Source feature.
Porous Layer Reactions
The porous layer (reacted) extends to the core center with the proceeding of the core consuming reactions. During the process, bulk species (gas) diffuse from base geometry into the reacted layer (in pellet), and at the same time the products from the consuming reactions (on core surface) diffuse through the reacted layer out into base geometry. This node describes the reactions for these species during the diffusion process.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 255
Several Porous Layer Reactions nodes can be used to account for different reaction mechanisms in porous layer and different pellets in the porous material.
DOMAIN SELECTION
The domain selection inherits all valid domains from its parent feature. For the invalid domains, it shows not applicable.
PELLET
Select All or one of existing pellets for the node.
REACTING VOLUME
A reaction takes usually place in the porous part (fluid) of the pellet, but can also in the whole volume of the pellet. When specifying reaction rate for a bulk species, the specified reaction rate has the basis of the pore volume, or the total volume. With the Pore volume selected, the reaction expression in mol/(m3·s) will be multiplied by porous layer's porosity pr.
REACTION RATES
Select a reaction rate (SI unit: mol/(m3·s)) for bulk species i from Rpe, i list. Enter a reaction rate expression when User defined is selected from the list. Alternatively, if reaction rate expressions have been defined in a Chemistry interface (with the Define variables for porous pellets selected under Pellet Chemistry section), they can be chosen from the list.
HEAT SOURCE
Specify the Heat source originating from the heat (Qpe) of the bulk reactions inside the porous layer. With several pellets being added, their heat sources will be summed up. The heat sources are most conveniently picked up from a Chemistry interface (with the Define variables for porous pellets selected under Pellet Chemistry section) that defines the reaction rate and the heat of reactions. In that case, the heat source expression can be selected from the list. Otherwise you can enter an expression in the text field. The heat source (on extra dimension) in a Porous Layer Reactions node can be picked by Heat Source feature under the Pellets feature of heat transfer interface. The total heat source (including heat from Shrinking Core Reactions nodes, on base domain) can be used by a Heat Source feature in any of the heat transfer interfaces.
256 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Reactions (Pellets)
DOMAIN SELECTION
The domain selection inherits all valid domains from its parent feature. For the invalid domains, it shows not applicable. Several Reactions nodes can be used to account for different reaction mechanisms in different domains and pellets in the porous material.
PELLET
This section is invisible for default Reactions node. It is visible for later added Reactions nodes. Select All or one of existing pellets for the nondefault Reactions nodes.
REACTING VOLUME
A reaction takes usually place in the porous part (fluid) of the pellet, but can also in the whole volume of the pellet. When specifying reaction rate for a bulk species, the specified reaction rate has the basis of the pore volume, or the total volume. With the Pore volume selected, the reaction expression in mol/(m3·s) will be multiplied by pellet's porosity pe.
REACTION RATES
Select a reaction rate (SI unit: mol/(m3·s)) for bulk species i from Rpe, i list. Enter a reaction rate expression when User defined is selected from the list. Alternatively, if reaction rate expressions have been defined in a Chemistry interface (with the Define variables for porous pellets selected under Pellet Chemistry section), they can be chosen from the list.
SURFACE REACTION RATES
The section is available when one or more surface species have been added in the Surface Species section of its parent feature (Pellets). Specify the Reactive specific surface area (total surface reaction area per cubic meter) Sb,reac for all surface reactions. Under Surface reaction rate for bulk species, specify the rate expression Rspe,i (SI unit: mol/(m2·s)) for the surface reaction rate of each bulk species i participating in the surface reaction. Furthermore, specify the surface reaction rates for the surface species in the Reaction rate for surface species table.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 257
If several pellet types have been defined, one set of surface reaction rates per pellet type can be set by selecting specific pellet under Pellet section. If surface reaction rate expressions have been defined in a Chemistry interface (with the Define variables for porous pellets selected under Pellet Chemistry section), they can be chosen from the list.
HEAT SOURCE
Specify the Heat source originating from the heat of chemical reactions inside the pellet. Both heat source Qpe from bulk reactions in the fluid, and heat source Qspe (available when there is one or more surface species) resulting from surface reactions can be defined. With several pellets being added, their heat sources will be summed up. The heat sources are most conveniently picked up from a Chemistry interface (with the Define variables for porous pellets selected under Pellet Chemistry section) that defines the reaction rate and the heat of reactions. In that case, the heat source expression can be selected from the list. Otherwise you can enter an expression in the text field. The heat source (inside pellet, on extra dimension) in a Reactions node can be picked by Heat Source feature under the Pellets feature of heat transfer interface. The total heat source (from all pellet (s), on base domain) of all Reactions nodes can be used by a Heat Source feature in any of the heat transfer interfaces.
Initial Values (Pellets)
DOMAIN SELECTION
The domain selection inherits all valid domains from its parent feature. For the invalid domains, it shows not applicable. Several Initial Values nodes can be used to set different initial values for different domains and pellets.
PELLET
This section is invisible for default Initial Values node. It is visible for later added Initial Values nodes. Select All or one of existing pellets for the nondefault Initial Values nodes.
INITIAL VALUES
Specify the initial value cpe0i (SI unit: mol/m3) for species i in the initial value list.
258 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
SURFACE CONCENTRATION INITIAL VALUES
Specify the initial values for surface species under the column Surface concentration (mol/m2) in the table.
Pellet-Fluid Interface
DOMAIN SELECTION
The domain selection inherits all valid domains from its parent feature. For the invalid domains, it shows not applicable. Several Pellet-Fluid Interface nodes can be used to specify different boundary conditions between fluid and pellet out-surface for different domains and pellets.
PELLET
This section is invisible for the default Pellet-Fluid Interface node. It is visible for Pellet-Fluid Interface nodes if several Pellet-Fluid Interface nodes are present. Select All or one of existing pellets for the nondefault Pellet-Fluid Interface nodes.
PELLET-FLUID INTERFACE
The Coupling type list is selectable for the default Pellet-Fluid Interface node, but it is disabled for nondefault Pellet-Fluid Interface nodes because it is supposed that there should be only one type of boundary condition in a packed bed. There are two Coupling type options for the coupling of concentration between the pellet internals and the surrounding fluid: · Continuous concentration, assuming that all resistance to mass transfer to/from the
pellet is within the pellet and no resistance to pellet-fluid mass transfer is on the bulk fluid side. The concentration in the fluid will thus be equal to that in the pellet pore just at the pellet surface: cpe,i ci. This constraint also automatically ensures flux continuity between the internal pellet domain and the free fluid domain through so-called reaction forces in the finite element formulation. · Film resistance (mass flux): The flux of mass across the pellet-fluid interface into the pellet is assumed to be rate determined on the bulk fluid side, by film resistance. The resistance is expressed in terms of a film mass transfer coefficient, hD,i, such that the inward flux is
Ni,inward = hD ici cpe i
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 259
For the Active specific surface area (SI unit: m-1) select either the Automatic setting that calculates the specific surface area from the pellet shape, or User defined. Specify the Mass transfer parameters -- Automatic (the default), or User defined to define the film mass transfer coefficient. · Mass transfer parameters with Automatic selected. Specify one of the models from the
Sherwood number expression list to compute the Sherwood number. There are three models available: Frössling, Rosner, and Garner and Keey. The Frössling equation is the default and probably the most commonly used for packed spheres. All of these are based on the dimensionless Reynolds (Re) and Schmidt (Sc) numbers, which are computed from Density and Dynamic viscosity. Both of these two properties are specified in the Fluid node under the Packed Bed feature. · Mass transfer parameters with User defined selected. Specify the type of Parameter -- Mass transfer coefficient (the default), or Sherwood number, and enter the selected quantity in the corresponding text field.
Fluid (Porous Catalyst)
Use this feature to specify mass transfer properties in the fluid filling the pores of a porous catalyst medium. The settings of this node are similar to those of the Fluid node of a porous medium.
Porous Catalyst
Use this feature to model adsorption, desorption, and heterogeneous reactions, as a gas or liquid is moving through the interstices of a catalytic porous medium. The mass transfer in the fluid inside the porous matrix is treated using the Linear Driving Force model and a lumped mass transfer coefficient. A catalyst is a substance that increases the rate of a reaction without itself being consumed. The catalytic process usually consists of the following steps: · The adsorbate transfers across the fluid-adsorbent boundary layer to the adsorbent
surface · The adsorbate is adsorbed on the adsorbent surface · Chemical reactions on the surface involving the adsorbate
260 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
· Desorption of reaction products (adsorbate) from the adsorbent surface into the fluid-adsorbent boundary layer
· Adsorbate transfers across the boundary layer to the bulk fluid.
Species transport through a porous medium is affected both by properties of the fluid phase, as well as by properties of the solid matrix. These properties are defined in the Fluid and Porous Matrix subnodes respectively.
Add an Adsorption or a Surface Reaction subfeature to the Porous Catalyst to model adsorption or heterogeneous reactions. To model volumetric reactions in the fluid phase (bulk), add a Reactions subnode under Fluid.
MODEL INPUT
Specify the temperature to be used in the catalyst. The temperature will be used for the adsorption isotherms and the rate of surface reactions.
· By default, the Common model input option corresponds to the minput.T variable, set to 293.15 K by default. To edit the minput.T variable, click the Go to Source button ( ), and in the Default Model Inputs node under Global Definitions, set a value for the Temperature in the Expression for remaining selection section.
· Select User defined to enter a value or an expression for the temperature (SI unit: K). This input is always available.
· If available, select a temperature defined by a Heat Transfer interface present in the model. For example, select Temperature (ht) to use the temperature defined by the Heat Transfer in Porous Media interface using the Name ht.
REACTIVE SPECIFIC SURFACE AREA
Enter a specific surface area for the adsorption and surface reaction processes. The default value is 1·107 1/m.
CONCENTRATION INPUT
Select a Concentration input -- Molar concentration (mol/(m2)) (the default) or Amount per solid mass (mol/kg). This parameter determines the unit for initial values of adsorbed species and user-defined surface species.
ADSORBED SPECIES
Specify which of the bulk species that can be adsorbed to the catalyst (adsorbent). The surface concentrations (SI unit: mol/m2) of the adsorbed species, named cads_j corresponding to bulk species j, are solved for. The rate of adsorption is defined in the
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 261
Adsorption subnode. With an adsorbed species being selected, its initial value field is activated. Enter the initial value in accordance with the Concentration input.
SURFACE SPECIES
There could be extra surface species besides the adsorbed bulk species and their corresponding adsorbed sites on adsorbent surface. These additional surface species could take part in catalytic reactions. The surface reaction rate is defined in the Surface Reaction subnode. Add a user-defined surface species in the Surface species table by clicking the Add button under the table. The concentration (SI unit: mol/m2) of all surface species added are solved for. To define the surface reaction kinetics add a Surface Reaction subnode. When using the Transport of Concentrated Species interface, the molar mass of each surface species is required to convert between molar and mass basis. For a surface species already defined in a Chemistry interface, say O2(ads), select Molar mass for O2(ads) for the corresponding surface species (using a the column Molar mass from). Select User defined to instead enter a constant or expression in the column Molar mass (kg/mol).
Porous Matrix (Porous Catalyst)
DOMAIN SELECTION
The domain selection inherits all valid domains from its parent feature.
MATRIX PROPERTIES
Specify the porous material porosity from Porosity -- From material (the default), User defined. The default value for User defined is 0.3. The density of the porous material can be defined either from the Dry bulk density -- From material (the default), User-defined, or from Solid phase density -- From material (the default), User-defined. The default values of User-defined for both Dry bulk density and Solid phase density are 1400 kg/m3.
Adsorption (Porous Catalyst)
The adsorption process can be regarded as being under equilibrium if the adsorption rate is very fast and mass transfer resistance is negligible. In such case, the adsorption depends only on the amount of adsorbent, concentration (or pressure) of adsorbate
262 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
and temperature. This kind of isotherm adsorption process is implemented in the Adsorption subfeature of the Porous Medium and Unsaturated Porous Medium features.
In general, the adsorption process deviates to some extent from its equilibrium state. This is dealt with in the adsorption kinetics. With the assumption that the species adsorption processes are independent of each other, and using the Linear Driving Force (LDF) model to represent the adsorbed species-solid (catalyst) mass transfer rate, the overall adsorption rate (SI unit: mol/(m3·s)) is:
Rads i = hici cequ i ,
(3-128)
where
cequ i = cP e i .
Here, ci is the concentration of bulk species i; cequ, i (SI unit: mol/m3) is the average equilibrium adsorption concentration of bulk species i; hi is the lumped mass transfer coefficient, which can be estimated from empirical equations based on the mass transfer mechanism; (SI unit: kg/m3) is the adsorbate density; and cP,e,i (SI unit: mol/kg) is the equilibrium concentration of the adsorbed species, derived from the adsorption isotherm. The adsorption rate for bulk species i defined by Equation 3-128 is thus equivalent to
Rads i = hicP i cP e iSarea .
(3-129)
For an adsorbed species the corresponding adsorption rate (SI unit: mol/(m2·s)) is expressed as
Rads i = hicP i cP e i .
DOMAIN SELECTION
The domain selection inherits all the domain selections from its parent feature. Several adsorption features can be added to the same domain.
ADSORPTION
Adsorption parameters can be set only for the species that are selected under Adsorbed Species section in the Porous Catalyst feature.
Select the Adsorption isotherm for individual species check box to set different adsorption isotherm models for each adsorbed species. The equations for the different
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 263
models are shown in the Equation section. Select the adsorption isotherm from the Adsorption isotherm list. Choose among Langmuir, Freundlich, Toth, BET, or User defined.
With Adsorption isotherm for individual species cleared, all species use the same adsorption isotherm model. In this case, Adsorption isotherm is available directly below the Adsorption isotherm for individual species check box.
Use the Species check box to choose the species that are adsorbed. For each selected adsorbate, there are three parameters to fill in; Adsorption isotherm (available when the check box Adsorption isotherm for individual species is selected), adsorption model specific parameters and Mass transfer coefficient.
Select an adsorption isotherm for each adsorbate (available with Adsorption isotherm for individual species being selected).
The adsorption model specific parameters for species i are:
· Langmuir: 1 Langmuir constant kL,i (SI unit: m3/mol) 2 Adsorption maximum cp,max,i (SI unit: mol/kg). · Freundlich: 1 Freundlich constant kF,i (SI unit: mol/kg) 2 Freundlich exponent NF,i (dimensionless) 3 Reference concentration cref,i (SI unit: mol/m3). · Toth: 1 Adsorption maximum cp,max,i (SI unit: mol/kg) 2 Toth constant bT,i (SI unit: m3/mol) 3 Toth exponent NT,i (dimensionless). · BET (Brunauer-Emmett-Teller): 1 Monolayer adsorption capacity c0,i (SI unit: mol/kg) 2 Saturation concentration cS,i (SI unit: mol/m3) 3 BET constant KB,i (dimensionless). · User defined:
1 Adsorption isotherm cP,i (SI unit: mol/kg): The last parameter to enter for each adsorbate is the Mass transfer coefficient hi (SI unit: m/s).
264 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Surface Reaction (Porous Catalyst)
The Surface Reaction subnode under Porous Catalyst is used to define surface reaction source terms to the mass transport within the catalyst.
DOMAIN SELECTION
From the Selection list, choose the domains (from its parent feature) on which the surface reaction rate is defined.
Several Surface Reaction nodes can be used to account for different surface reactions in different parts for the modeling geometry.
SURFACE REACTION RATE FOR BULK SPECIES
The bulk species (defined as dependent variables in physics interface) can also take part in a surface reaction. Select a surface reaction rate (SI unit: mol/(m2·s)) for species i from Rsi list. Enter a reaction rate expression when User defined is selected from the list. Alternatively, if surface reaction rate expressions have been defined in a Chemistry interface, they can be chosen from the list.
SURFACE REACTION RATE FOR ADSORBED SPECIES
This section is available when at least one species is selected under the Adsorbed Species section in the Porous Catalyst feature. Select a surface reaction rate (SI unit: mol/(m2·s)) for adsorbed species cads_i from Rscads_i list. If User defined is selected from the list, enter a surface reaction rate expression. Alternatively, if surface reaction rate expressions have been defined in a Chemistry interface, they can be chosen from the list.
REACTION RATE FOR SURFACE SPECIES
This section is available when there is at least one species added to the surface species table under the Surface Species section in the Porous Catalyst feature.
In the surface reaction rate table, there are three columns, Surface species, Surface reaction rate and Surface rate expression (mol/(m2·s)). Select a surface reaction rate (SI unit: mol/(m2·s)) from the column Surface reaction rate for a surface species which is defined in the parent feature. With User defined being selected, the table cell at the same row under column Surface rate expression (mol/ (m2·s)) is editable (otherwise it is read-only), and enter a surface reaction rate expression. Alternatively, if surface reaction rate expressions have been defined in a
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 265
Chemistry interface, they can be chosen from the list under column Surface reaction rate.
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.
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. 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. Hygroscopic swelling is an effect of internal strain caused by changes in moisture content. This volumetric strain can be written as
hs = hMmcmo cmo,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/.
266 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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.
Out-of-Plane Flux
The out-of-plane flux node is used to prescribe a flux in an out-of-plane domain, and it can be used to reduce a model geometry to 2D, or even 1D, when the concentration variation is small in one or more directions. This could be the case for example when the object to model is thin or slender. Figure 3-8 shows examples of possible situations in which this type of geometry reduction can be applied.
Jz
Jup
Jdown
Figure 3-8: Geometry reduction from 3D to 1D (top) and from 3D to 2D (bottom).
For a 1D component this node adds a single out-of-plane molar flux J0,z,i for species i. For a 2D component two fluxes can be prescribed for each species; J0,u,i for the upside of the domain, and J0,d,i for the downside of the domain.
The fluxes are added as a source contribution to the right-hand side of the transport equation. For example, in 2D components with diffusion, convection, and out-of-plane flux present, the mass transfer of species i is defined by the mass conservation equation
---c---i t
+
Ji
+
u
ci
=
Ri + Sopf i ,
(3-130)
where Sopf,i is the out-of-plane source for species i
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 267
Sopf i
=
J----0-----i dz
=
-J---0-----u------i---+-----J----0-----d------i . dz
For external convection on the upside and the downside of the domain, the out-of-plane flux is
J0 i = kc u icb u i ci + kc d icb d i ci
where kc is a mass transfer coefficient and cb is the bulk concentration, the typical concentration far into the surrounding exterior domain. The prescribed flux, J0, can include any arbitrary user-specified expressions. It can be a constant or a function of a
dependent variable or independent variables.
UPSIDE INWARD FLUX
For 1D components, enter the cross-sectional perimeter Pc to get the out-of-plane flux
J0 i = PcJ0 z i .
The default value of Pc is the circumference. Either keep the default value, for a circular cross-section shape, or edit the value to get a user-defined shape of the out-of-plane cross-section.
The available flux type options are General inward flux and External convection. Select the Species 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.
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 = kccb c
where kc is a mass transfer coefficient and cb is the bulk concentration, the typical concentration far into the surrounding exterior domain.
DOWNSIDE INWARD FLUX
The available options are General inward flux and External convection. The settings are the same as for the Upside Inward Flux section.
268 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
FURTHER READING
For an example of using the Out-of-Plane Flux node, see this application example:
Mass Transfer from a Thin Domain: Application Library path Chemical_Reaction_Engineering_Module/Tutorials/thin_domain
Fracture
Use this node to model mass transport along thin fractures in porous media. The node assumes that the transport in the tangential direction along the fracture is dominant as a result of lower flow resistance. The Fracture feature has two default subfeatures -- the Fluid (Fracture) subfeature where convection and diffusion are specified and the Fracture Material subfeature where the porosity p is defined.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
FRACTURE PROPERTIES
Specify a value for the Fracture thickness dfr. For the Fracture boundary condition, there are a number of Attributes available which can be accessed either via the Physics Ribbon toolbar (for Windows) or by right-clicking on the Fracture node. These attributes are identical to the Boundary, Edge, Point, and Pair Nodes for the Transport of Diluted Species in Fractures Interface.
Fluid (Fracture)
Use this node to specify the mass transfer in the mobile fluid solvent filling the pores of a fracture. It uses the same input options as the Fluid subfeature under the Porous Medium feature. There are further details about the settings.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N T E R F A C E | 269
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.
CONVECTION
If transport by convection is active, the velocity field of the solvent needs to be specified. Select an option from the Velocity field list to specify the convective velocity along the fracture. For a consistent model, use a Fracture feature in a Darcy's Law interface to compute the fluid flow velocity in the fracture.
For User defined, enter values or expressions for the velocity components in the table shown
DIFFUSION
Use this section to specify diffusion coefficients describing the diffusion of each species in the solvent fluid.
The Diffusion settings are similar to those for the diffusion coefficients in the Fluid node under Porous Medium.
Fracture Material
Specify the Porosity, p (dimensionless) of the porous matrix. This is by default taken From material. Select From pellet bed densities to compute the porosity from the (dry bulk) Bed density b and the (single phase) Pellet density pe through the relation
p
=
1
-----b-pe
For User defined, enter a value or expression for the porosity.
270 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The Transport of Diluted Species in Fractures Interface
The Transport of Diluted Species in Fractures (dsf) interface ( ), found under the Chemical Species Transport branch ( ), is used to model the transport of a solute species along thin porous fractures, taking into account diffusion, dispersion, convection, and chemical reactions. The fractures are defined by boundaries and the solute species is assumed to be present in a solvent. 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.
This interface is only available in a limited set of add-on products. For a detailed overview of which interfaces are available in each product, visit https://www.comsol.com/products/specifications/
SETTINGS
The Label is the default physics interface name. The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter. The default Name (for the first physics interface in the model) is dsf.
BOUNDARY SELECTION
If the model geometry includes boundaries that should not be included in the mass transfer simulation, remove those from the selection list.
OUT-OF-PLANE THICKNESS
For 2D components, the Thickness field (default value: 1 m) defines a parameter for the thickness of the geometry perpendicular to the two-dimensional cross-section. Both constant and varying thicknesses are supported. The value of this parameter is used,
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N F R A C T U R E S I N T E R F A C E | 271
among other things, to automatically calculate molar flow rates from the total molar flux.
TRANSPORT MECHANISMS
Use the Convection check box, available under Additional transport mechanisms, to control whether to also include convective transport.
CONSISTENT STABILIZATION
To display this sections, click the Show button ( ) and select Stabilization. Use this section to control the application of the available consistent stabilization methods; Streamline diffusion and Crosswind diffusion.
· When the Crosswind diffusion 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. Its default value is 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 ( Advanced Physics Options.
) and select
272 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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 Concentration c by default. A dependent variable name must be unique with respect to all other dependent variables in the component. Add or remove species variables in the model and also change the names of the dependent variables that represent the species concentrations. Enter the Number of species. Use the Add concentration ( ) and Remove concentration ( ) buttons as needed.
FURTHER READING
· Mass Transport in Fractures in the theory section. · Numerical Stabilization in the COMSOL Multiphysics Reference
Manual. · 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 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.
Boundary, Edge, Point, and Pair Nodes for the Transport of Diluted Species in Fractures Interface
The Transport of Diluted Species Interface has the following boundary, edge, point, and pair nodes, listed in alphabetical order, available from the Physics ribbon toolbar
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N F R A C T U R E S I N T E R F A C E | 273
(Windows users), Physics context menu (Mac or Linux users), or by right-clicking to access the context menu (all users).
· Concentration · Flux · Fracture · Inflow · Initial Values
· No Flux · Outflow · Reactions · Species Source
Furthermore, there are the following attributes to the Fracture node
· Adsorption · Dispersion
Adsorption
Use this node to model adsorption of the fluid phase species onto the porous media surface of the fracture.
MATRIX PROPERTIES
Use the Porous material list to define a material specifying the matrix properties on the current selection. By default the Boundary material is used as The Transport of Diluted Species Interface is active on boundaries only. The Density of the porous media is needed when modeling adsorption to the surface of the porous matrix. By default the option From material is selected.
ADSORPTION
Select an Adsorption isotherm -- Langmuir (the default), Freundlich, Toth, BET, or User defined to specify how to compute cP, the amount of species sorbed to the solid phase (moles per unit dry weight of the solid). Also activate the check box for the species ci for which adsorption takes place.
· For Langmuir:
274 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
cP
=
cPmax
-----K-----L---c-----1 + KLc
---c---P- = ----K----L---c---P---m----a--x---c 1 + KLc2
Enter a Langmuir constant kL,c (SI unit: m3/mol) and an Adsorption maximum cp,max,c (SI unit: mol/kg):
· For Freundlich:
cP = KF-c--cr--e--f N
---c---Pc
=
N
c---Pc
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:
cP
=
c
Pmax
-------------------b----T---c--------------------
1
+
bTcNT
1
NT
and
---c---Pc
=
c Pmax b T 1
+
bTc
N
T
1
+
-N--1---T
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):
cP
=
-----------------------K-----B---c---0---c------------------------
cS
c
1
+
KB
1
c--c-S-
and
--K----B----c---0---c--S--------K-----B---------1------c---2----+-----c---S2---c cS2cS + KB 1c2
Enter a BET constant KB,c (dimensionless), a Monolayer adsorption capacity c0,c (SI unit: mol/kg), and a Saturation concentration cS,c (SI unit: mol/m3). · For User defined:
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N F R A C T U R E S I N T E R F A C E | 275
cP = fc
Enter an adsorption isotherm cP,c (SI unit: mol/kg). For more information, see Adsorption in the theory section.
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 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.
Dispersion
Local variations in the velocity as the fluid flows around solid particles lead to mechanical mixing, referred to as dispersion. Use this feature to account for dispersion in a Fracture. This subfeature is available when the Convection check box is selected in 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.
276 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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. For User defined, specify the dispersion components in terms of constants or expressions. Select Isotropic, Diagonal, Symmetric, or Full to enable the appropriate tensor components.
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 dfrDec = dfrN0 where N0 is an arbitrary user-specified flux expression. For example, N0 can represent a flux due to chemical reactions, or a phase change. A positive N0 implies that the concentration inside the fracture increases.
INWARD FLUX
The available options are General inward flux and External convection. If the latter is chosen, define a Mass transfer coefficient and a Bulk concentration. Specify the flux of each species individually. To use another boundary condition for a specific species, make sure that the check box for the mass fraction of that species is unchecked.
Inflow
Use this node to specify all species concentrations at a fracture inlet. The condition is applied in points in 2D and along edges in 3D. If you want to specify the concentration of a subset of the partaking species, this can be done by using the Concentration node instead.
CONCENTRATION
For the concentration of each species c0,c (SI unit: mol/m3), enter a value or expression.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N F R A C T U R E S I N T E R F A C E | 277
BOUNDARY CONDITION TYPE
This section in the settings is only available for some products. Search for "Inflow" on the page: https://www.comsol.com/products/specifications/ for more details on availability. The option Concentration constraint constrains the concentration values on the boundary by the use of pointwise constraints. 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. See further details in the theory section.
CONSTRAINT SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options. You can find details about the different constraint settings in the section Constraint Reaction Terms in the COMSOL Multiphysics Reference Manual.
FURTHER READING
See the theory chapter in the section Danckwerts Inflow Boundary Condition.
No Flux
This node can be used to specify that the species flux across a boundary of a porous fracture is zero. The condition is applied in points in 2D and along edges in 3D.
Outflow
Set this condition at fracture outlets where species are transported out of the model domain by fluid motion. The condition is applied in points in 2D and along edges in 3D. It is assumed that convection is the dominating transport mechanism across outflow boundaries, and therefore that diffusive transport can be ignored, that is:
n Dec = 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.
278 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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, included with the Chemical Reaction Engineering Module, the reaction rate expressions can be automatically generated and picked up using the drop-down list.
REACTING VOLUME
When specifying reaction rates for a species in a fracture, the specified reaction rate may have the basis of the pore volume of the fracture, or the total volume. · For Total volume, the reaction expressions in are specified per unit volume of the
fracture. The reaction expressions will be multiplied by the fracture thickness dfr. · For Pore volume, the reaction expressions in mol/(m3·s) are specified per unit
volume of total pore space in the fracture. The reaction expressions will be multiplied by the fracture thickness dfr and the fracture porosity, p.
Species Source
In order to account for consumption or production of species in a fracture, the Species Source node adds source terms expressions Si to the right-hand side of the species transport equations.
BOUNDARY SELECTION
From the Selection list, choose the boundaries on which to define expressions that govern the source term in the transport equations. If there are several different parts of the fracture, with subsequent and different sources occurring within them, it might be necessary to remove some boundaries from the selection. The sources in these can then be defined using an additional Species Source node.
T H E T R A N S P O R T O F D I L U T E D S P E C I E S I N F R A C T U R E S I N T E R F A C E | 279
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.
280 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The Transport of Concentrated Species Interface
The Transport of Concentrated Species (tcs) interface ( ), found under the Chemical Species Transport branch ( ) when adding a physics interface, is used to study gaseous and liquid mixtures where the species concentrations are of the same order of magnitude and none of the species can be identified as a solvent. In this case, properties of the mixture depend on the composition, and the molecular and ionic interactions between all species need to be considered. The physics interface includes models for multicomponent diffusion, where the diffusive driving force of each species depends on the mixture composition, temperature, and pressure.
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.
It supports simulations of transport by convection, migration, and diffusion in 1D, 2D, and 3D as well as for axisymmetric components in 1D and 2D. The physics interface defines the equations for the species mass fractions, including a diffusion model (Mixture-averaged, MaxwellStefan, or Fick's law).
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:
· The evolution of a chemical species transported by convection and diffusion. · The migration in an electric field in the case of ionic species, in mixtures and
solutions that cannot be deemed as being diluted. · Concentrated solutions or gas mixtures, where the concentration of all participating
species are of the same order of magnitude, and their molecular and ionic interaction with each other therefore must be considered. This implies that the diffusive transport of a single species is dependent on the mixture composition, and possibly on the temperature, the electric potential, the pressure, or any combination.
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.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 281
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 tcs.
EQUATION
The basic equation for the conservation of mass of a species i is:
t
i
+
i
u
=
ji + Ri
(3-131)
Using the continuity equation, the sum of all species equations, the equation can be recast in its nonconservative form:
t(i) + u i = ji + Ri
(3-132)
This form of the equation is the one used in the Transport of Concentrated Species interface. The equation displayed in the interface changes depending on the active transport mechanisms, the selected diffusion model, and the type of reactions modeled.
OUT-OF-PLANE THICKNESS
For 2D components, the Thickness field (default value: 1 m) defines a parameter for the thickness of the geometry perpendicular to the two-dimensional cross-section. Both constant and varying thicknesses are supported. The value of this parameter is used, among other things, to automatically calculate mass flow rates from the total mass flux.
CROSS-SECTIONAL AREA
For 1D components, enter a Cross-sectional area Ac (SI unit: m2) to define a parameter for the area of the geometry perpendicular to the 1D component. Both constant and
varying areas are supported.The value of this parameter is used, among other things, to automatically calculate mass flow rates from the total mass flux. The default is 1 m2.
282 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
TRANSPORT MECHANISMS
The Transport of Concentrated Species interface always accounts for transport due to convection and 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 MaxwellStefan 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 MaxwellStefan diffusivities of all component pairs are known. · The Mixture-averaged option is less computationally expensive than the Maxwell Stefan model. It is a simpler model that can be used when variations in the partial pressures and temperature can be assumed to not affect the multicomponent diffusion. The model includes stabilization but requires the multicomponent MaxwellStefan diffusivities of all component pairs. · The Fick's law model is a general model that should be used when the diffusion is assumed Fickian, or when no multicomponent diffusivities are available. Also, when molecular diffusion is not the dominating transport mechanism and a robust but low order model is wanted, the Fick's law options should be used. The model includes stabilization.
Additional Transport Mechanisms Under Additional transport mechanisms, click to select or clear any combination of check boxes as needed.
Migration in Electric Field Select the Migration in electric field check box to activate migration of ionic species due to an electric field. The resulting migration term is part of the relative mass flux vector.
Mass Transport in Porous Media The Mass transport in porous media check box activates functionality specific to species transport in porous media. When selected the following domain features are enabled:
· Porous Medium · Porous Catalyst · Packed Bed · Porous Electrode Coupling
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 283
MaxwellStefan Diffusion Model When using the MaxwellStefan diffusion model the relative mass flux vector is
ji = i
Q
D~ ikdk
D-----iT-T
T
k=1
where D~ ik (SI unit: m2/s) are the multicomponent Fick diffusivities, dk (SI unit: 1/ m) is the diffusional driving force, T (SI unit: K) is the temperature, and DiT (SI unit: kg/(m·s)) is the thermal diffusion coefficient.
The diffusional driving force is defined as
Q
dk
=
xk
+
-1p
xk kp kgk + k
lgl
l=1
(3-133)
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
gk = z-M--k---F-k--
(3-134)
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.
Mixture-Averaged Diffusion Model When using the Mixture-averaged diffusion model, the diffusive flux is formulated in terms of a mixture-averaged diffusion coefficient representing the diffusion of each species into the resulting mixture. The diffusion coefficient is based on the multicomponent MaxwellStefan diffusivities Dik. The Mixture-averaged diffusion model is computationally less expensive, and significantly more robust than the MaxwellStefan Diffusion Model, but constitutes an approximation of the multicomponent flux. For information on the flux formulation in this case see Multicomponent Diffusion: Mixture-Averaged Approximation.
Fick's Law Diffusion Model When using the Fick's law diffusion model, the diffusive flux is formulated in terms of a Fickian diffusion coefficient. The Fick's law diffusion model is computationally less expensive and significantly more robust than the MaxwellStefan Diffusion Model, but
284 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
constitutes an approximation of the multicomponent flux. For information on the flux formulation in this case see Multispecies Diffusion: Fick's Law Approximation.
SPECIES
Select the species that this physics interface solves for using the mass constraint in Equation 3-135 (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 minimize the impact of any numerical and model introduced errors, use the species with the highest concentration. By default, the first species is used.
Q
1 = 1 i
i=2
(3-135)
CONSISTENT AND INCONSISTENT STABILIZATION
To display this section, click the Show button ( ) and select Stabilization.
· Two consistent stabilization methods are available -- 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 wi reg 1
Regularized mass fractions are used for the calculation of composition-dependent material properties, such as the density.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 285
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 Species section. More information on this correction is available in the theory section Multicomponent Diffusion: Mixture-Averaged Approximation.
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.
Pseudo Time Stepping 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 CourantFriedrichs Lewy condition) is determined by a PID regulator. For more information, see Pseudo Time Stepping for Mass Transport.
DISCRETIZATION
To display all settings available in this section, click the Show button ( Advanced Physics Options.
) and select
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.
· Domain, Boundary, and Pair Nodes for the Transport of Concentrated Species Interface
· Theory for the Transport of Concentrated Species Interface
286 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
· Species Transport in the Gas Diffusion Layers of a PEM: Application Library path Fuel_Cell_and_Electrolyzer_Module/Fuel_Cells/ pem_gdl_species_transport_2d Web link: https://www.comsol.com/model/ species-transport-in-the-gas-diffusion-layers-of-a-pem-260
DEPENDENT VARIABLES
Add or remove species in the model and also change the names of the dependent variables that represent the species concentrations. Specify the Number of species. There must be at least two species. To add a single species, click the Add concentration button ( ) under the table. To remove a species, select it in the list and click the Remove concentration button ( ) under the table. Edit the names of the species directly in the table.
The species are dependent variables, and their names must be unique with respect to all other dependent variables in the component.
Adding a Chemical Species Transport Interface and Specifying the Number of Species
The Transport of Concentrated Species in Porous Media Interface
This interface ( ), found under the Chemical Species Transport branch ( ), is used to calculate the chemical composition in a fluid mixture transported through the interstices of a porous media. The interface is the same as the Transport of Concentrated Species interface but it has a Porous Medium node added by default. All other features for porous media transport is always available. This interface is dedicated to analyzing mass transport in porous media where the chemical species may be subjected to convection, diffusion, and migration in an electric field. The interface also includes reaction rate expressions and source terms for modeling chemical reactions in porous media. It is also possible to include regions with free flow. The main feature of the interface is the Porous Medium node which adds the governing equations for the mass fractions of all present species. It has two subnodes, Fluid and
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 287
Porous Matrix, which in turn are used to define the physical properties corresponding to each phase, and to prescribe the transport properties. The latter are typically the flow field, and when applicable, the electric field. The Porous Medium node supports the use of a Porous Material (described in the COMSOL Multiphysics Reference Manual) for defining phase-specific properties, and for sharing them among different physics interfaces.
When this physics interface is added, the following default nodes are also added to the Model Builder -- Porous Medium, No Flux (the default boundary condition), and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for example, boundary conditions, reaction rate expressions, and species sources. You can also right-click Transport of Concentrated Species in Porous Media to select physics features from the context menu.
SETTINGS
The rest of the settings are the same as The Transport of Concentrated Species Interface.
The Transport of Concentrated Species in Porous Catalysts Interface
This interface ( ) is used to study the impact of adsorption, and heterogeneous reactions, as a gas or liquid is moving through the interstices of a porous medium. Adsorption and desorption of bulk species onto, or from, the fluid-solid interface can be studied, as well as heterogeneous reactions involving both bulk species and surface species bound to the fluid-solid interface. Volumetric reactions occurring in the pore space can also be included. The interface is the same as the Transport of Concentrated Species interface, but it has a Porous Catalyst node added by default. All other features for transport and reactions in porous media are also always available.
The main feature of the interface is the Porous Catalyst node which adds the governing equations for the mass fractions of all bulk species, and the equations for surface species. It has two subnodes, Fluid and Porous Matrix, which in turn are used to define the physical properties corresponding to each phase, and to prescribe the transport properties. The latter are typically the flow field, and when applicable, the electric field. The Adsorption and Surface Reaction subnodes can be added to implement adsorption/ desorption and heterogeneous reactions occurring on the fluid-solid interface.
When this physics interface is added, the following default nodes are also added to the Model Builder -- Porous Catalyst, No Flux (the default boundary condition), and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for example,
288 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
boundary conditions, reaction rate expressions, and species sources. You can also right-click Transport of Concentrated Species in Porous Catalyst to select physics features from the context menu.
SETTINGS
The rest of the settings are the same as The Transport of Concentrated Species Interface.
The Transport of Concentrated Species in Packed Beds Interface
This interface ( ) is used to model reactors filled with catalytic pellets. The bed pellets are porous, forming a bimodal porosity in the reactor. In addition to transport in the pore space between the pellets, interparticle transport and reactions can be studied in detail. Both heterogeneous reactions and volumetric reactions can be studied within the pellets, as well as volumetric reactions in the pore space. The pellets are available in each point of the bed domain, and are defined using an extra dimension describing the pellet radius. The interface is the same as the Transport of Concentrated Species interface, but it has a Packed Bed node added by default. All other features for transport and reactions in porous media are also always available.
The main feature of the interface is the Packed Bed node which adds the governing equations for the mass fractions of all bulk species, and the equations for surface species. It has two subnodes, Fluid and Pellets, which in turn are used to define the physical properties corresponding to each phase. The latter node is also used to define volumetric reactions, as well as heterogeneous reactions, occurring within the porous pellets. The Packed Bed node requires the use of a Porous Material (described in the COMSOL Multiphysics Reference Manual) for defining phase-specific properties, and for sharing them among different physics interfaces. A packed bed containing several pellet types can be modeled by adding multiple pellet nodes to the porous material.
When this physics interface is added, the following default nodes are also added to the Model Builder -- Packed Bed, No Flux (the default boundary condition), and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for example, boundary conditions, reaction rate expressions, and species sources. You can also right-click Transport of Concentrated Species in Packed Beds to select physics features from the context menu.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 289
SETTINGS
The rest of the settings are the same as The Transport of Concentrated Species Interface.
The Transport of Concentrated Species in Vapor Interface
This interface ( ) is used to model mass transport to or from vapor mixtures in contact with liquids. The vapor transfer to or from water or any liquid mixture present on boundaries or in adjacent domains can be studied. The physics interface is the same as the Transport of Concentrated Species interface, but it includes three features for vapor transfer from liquids; Vapor Inflow, VaporLiquid Interface, and Vapor Liquid-Mixture Interface. The first two features are added by default in the interface. All other features for transport and reactions in the Transport of Concentrated Species interface are also always available.
Domain, Boundary, and Pair Nodes for the Transport of Concentrated Species Interface
The Transport of Concentrated Species Interface has these domain, boundary, 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).
In general, to add a node, go to the Physics toolbar, no matter what operating system you are using. Subnodes are available by clicking the parent node and selecting it from the Attributes menu.
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.
For axisymmetric components, COMSOL Multiphysics takes the axial symmetry boundaries (at r = 0) into account and automatically adds an Axial Symmetry node to the component that is valid on the axial symmetry boundaries only.
290 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
These nodes are described in this section or as indicated:
· Adsorption · Electrode Surface Coupling · Equilibrium Reaction · Fluid · Flux · Flux Discontinuity · Inflow · Initial Values · Initial Values (Pellets) · Mass Fraction · No Flux · Open Boundary · Out-of-Plane Flux · Outflow · Packed Bed1 · Surface concentration Initial Values · Pellets1
· Porous Matrix · Porous Medium · Porous Catalyst · Reaction · Reactions (Pellets) · Reaction Sources · Species Properties · Surface Equilibrium Reaction · Surface Reaction · Symmetry · Thin Impermeable Barrier1 · Transport Properties · Transport Properties (Pellets) · Vapor Inflow · VaporLiquid Interface · VaporLiquid-Mixture Interface
Some features require certain add-on modules. See details https:// www.comsol.com/products/specifications/ 1 The node is described for the Transport of Diluted Species interface.
Prescribing Conditions on Fluid-Solid Interfaces
Defining conditions on interfaces between different phases, typically a wall in contact with a fluid, it is worthwhile to be careful with how variables in the conditions are evaluated. COMSOL Multiphysics supports that variables are defined differently on adjacent domains (or any other geometry dimension). Evaluating a variable with differing definitions, the mean value is returned on a boundary separating the different domains. The density, pressure, or temperature are examples of variables that may differ in a fluid and a solid. In order to specify on which side a variable is evaluated, the
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 291
up and down operators (described in the COMSOL Multiphysics Reference Manual) can be used.
Species Properties
Use this node to define parameters specific to each of the species. The node will change its label depending on what inputs are available in the node. If only Molar Mass is available, it will be labeled "Species Molar Masses".
MOLAR MASS
Enter a value or expression for the Molar mass Mw for each species. The default value is 0.032 kg/mol, which is the molar mass of O2 gas.
CHARGE
This section is available when the Migration in electric field check box is selected in the Transport Mechanisms section of the interface. Enter the charge number zw (dimensionless, but requires a plus or minus sign) for each species.
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 options available in this feature differs between COMSOL products. (See https:/ /www.comsol.com/products/specifications/).
MODEL INPUTS
Specify the temperature and pressure to be used in the physics interface. The temperature model input is used when calculating the density from the ideal gas law, but also when thermal diffusion is accounted for by supplying thermal diffusion coefficients. The pressure model input is used in the diffusional driving force in Equation 3-133 (that is, when a MaxwellStefan Diffusion Model is used) and when calculating the density from the ideal gas law.
292 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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: = --p---M-----RgT
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
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 293
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.
When using a MaxwellStefan Diffusion Model or a Mixture-Averaged Diffusion Model, select the Binary diffusion input type (Table or Matrix) and specify the Maxwell Stefan diffusivities in the table or matrix, then enter the Thermal diffusion coefficients DwT . When using a Fick's Law Diffusion Model, specify the Diffusion coefficient DwF and the Thermal diffusion coefficients DwT for each of the species.
MaxwellStefan Diffusivity Matrix Using a MaxwellStefan Diffusion Model or a Mixture-Averaged Diffusion Model, the MaxwellStefan diffusivity matrix Dik (SI unit: m2/s) can be specified by a table or matrix. For a simulation involving Q species the MaxwellStefan diffusivity matrix is a Q-by-Q symmetric matrix, where the diagonal components are 1. Enter values for the upper triangular components, Dij, which describe the interdiffusion between species i and j. For the table input type, only upper triangular components (Dij) are listed. The name of species pair consists of species in the first and second column. For the matrix input type, the numbering of the species corresponds to the order, from top to bottom, used for all the input fields for species properties (see for example the molar mass fields in the Density section). The MaxwellStefan diffusivity matrix is used to compute the multicomponent Fick diffusivities as described in Multicomponent Diffusivities.
Diffusion Coefficient Using a Fick's Law Diffusion Model, the diffusion is by default assumed to be isotropic and governed by one Diffusion coefficient DwF (SI unit: m2/s) for each species. To allow for a general representation, it is also possible to use diffusion matrices (diagonal, symmetric, or anisotropic).
Thermal Diffusion Coefficient To model thermal diffusion, prescribe the Thermal diffusion coefficients DiT (SI unit: kg/(m·s)), by entering one thermal diffusion coefficient for each species in the corresponding field. In a multicomponent mixture, the sum of the thermal diffusion coefficients is zero. The default value for all thermal diffusion coefficients is 0.
294 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Specify the molecular and thermal diffusivities of the present species based on the selected Diffusion model.
MIGRATION IN ELECTRIC FIELD
This section is available when the Migration in electric field check box is selected for the Transport of Concentrated Species interface.
Electric Potential · Select User defined to enter a value or expression for the electric potential. This input
is always available. · If required, select an electric potential defined by an AC/DC interface that is
present in the model (if any). For example, select Electric potential (ec) to use the electric field defined by the Current Conservation node cucn1 in an Electric Currents interface ec. Settings for the mobilities are used for the Mixture-averaged and Fick's law transport models. By default the mobility is set to be calculated based on the species diffusivities and the temperature using the Nernst-Einstein relation. To manually specify the mobilities, select User defined for the mobility um,c (SI unit: s·mol/kg) and enter one value for each species. The temperature (if you are using mobilities based on the NernstEinstein relation) is taken from the Model Inputs section.
Porous Medium
Use this node to model the composition in a gas or liquid mixture as it is transported though the interstices of solid porous medium. In addition to transport due to convection and diffusion, the node contains functionality to include species evolution through reactions in the fluid phase. Species transport in a porous medium is affected both by properties of the fluid phase as well as properties of the solid matrix. These properties are defined in the Fluid node and the Porous Matrix node respectively. The 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.
Transport Properties (Pellets)
Use this node to specify transport properties of the fluid mixture inside porous pellets.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 295
DOMAIN SELECTION
The domain selection inherits all valid domains from its parent feature. For the invalid domains, not applicable is shown.
FLUID AND MATRIX PROPERTIES
Select Fluid density -- Ideal gas, or User defined to enter an expression for the density of the fluid inside pellets. If a density variable is defined in Chemistry with the Define variables for porous pellets selected (in the Pellet Chemistry section), the density can be selected from the list.
Select Dynamic viscosity -- User defined for the fluid inside pellets. Enter a number or expression for the viscosity . If a viscosity variable is defined in Chemistry with the Define variables for porous pellets selected (in the Pellet Chemistry section), the viscosity can be selected from this list.
Select Permeability -- From material or User defined for the fluid inside pellets. If User defined is selected, enter a permeability expression for . The default value is 1·10-12 m2.
DIFFUSION
To account for the effect of porosity in the binary diffusivities, select an Effective diffusivity model -- Millington and Quirk model, Bruggeman model, Tortuosity model, or No correction. Using one of the first three models, the effective transport factor, fe, is defined from the porosity and the fluid tortuosity factor in the manner of:
fe
=
---p---e pe
(3-136)
For No correction, the effective transport factor is set to one.
· For the Millington and Quirk model, the effective transport factor is pe = pe1 3 . · For the Bruggeman model, the effective transport factor is pe = pe1 2 . · For the Tortuosity model, specify the tortuosity factor pe.
The species diffusivities are automatically adjusted for porous media transport using the effective transport factor.
Select Binary diffusion input type -- Table (the default), or Matrix to input the binary diffusion coefficients.
· Table. In the Maxwell-Stefan diffusivities table, the first (Species 1) and second (Species 2) columns are the species names for a binary diffusion coefficient. Select a
296 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
diffusivity from the Diffusivity column. If User defined is selected, enter a binary diffusion coefficient expression in the Diffusion coefficient (m2/s) column (this column is editable with the User defined selected, otherwise read only). If there are diffusivity variables defined in the Chemistry interface (with Define variables for porous pellets selected in the Pellet Chemistry section), these diffusivities can be selected from the Diffusivity column. · Matrix. In the Maxwell-Stefan diffusivity matrix, enter the diffusivity expressions in the upper part of the matrix. The default values are 1·10-5 m2/s. Enter the thermal diffusion coefficient for different species under the Thermal diffusion coefficient list.
Reactions (Pellets)
DOMAIN SELECTION
The domain selection inherits all valid domains from its parent feature. For the invalid domains, not applicable is shown. Several Reactions nodes can be used to account for different reaction mechanisms in different domains and pellets in the porous material.
PELLET
This section is invisible for default Reactions node. It is visible for later added Reactions nodes. Select All or one of existing pellets for the nondefault Reactions nodes.
REACTING VOLUME
A reaction takes usually place in the porous part (fluid) of the pellet, but can also in the whole volume of the pellet. When specifying reaction rate for a bulk species, the specified reaction rate has the basis of the pore volume, or the total volume. With the Pore volume selected, the reaction expression in kg/(m3·s) will be multiplied by pellet's porosity pe.
REACTION RATES
Select a reaction rate (SI unit: kg/(m3·s)) for bulk species i from Rpe, i list. Enter a reaction rate expression when User defined is selected from the list. Alternatively, if reaction rate expressions have been defined in a Chemistry interface (with the Define
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 297
variables for porous pellets checked under Pellet Chemistry section), they can be chosen from the list.
SURFACE REACTION RATES
The section is available when one or more surface species have been added in the Surface Species section of its parent feature (Pellets). Specify the Reactive specific surface area (total surface reaction area per cubic meter) Sb,reac for all surface reactions. Under Surface reaction rate for bulk species, specify the rate expression Rspe,i (SI unit: kg/(m2·s)) for the surface reaction rate of each bulk species i participating in the surface reaction. Furthermore, specify the surface reaction rates for the surface species in the Reaction rate for surface species table. If several pellet types have been defined, one set of surface reaction rates per pellet type can be set by selecting specific pellet under Pellet section. If surface reaction rate expressions have been defined in a Chemistry interface (with the Define variables for porous pellets checked under Pellet Chemistry section), they can be chosen from the list.
HEAT SOURCE
Specify the Heat source originating from the heat of chemical reactions inside the pellet. Both heat source Qpe from bulk reactions in the fluid, and heat source Qspe (available when there is one or more surface species) resulting from surface reactions can be defined. With several pellets being added, their heat sources will be summed up. The heat sources are most conveniently picked up from a Chemistry interface (with the Define variables for porous pellets checked under Pellet Chemistry section) that defines the reaction rate and the heat of reactions. In that case, the heat source expression can be selected from the list. Otherwise you can enter an expression in the text field. The heat source (inside pellet, on extra dimension) in a Reactions node can be picked by Heat Source feature under the Pellets feature of heat transfer interface. The total heat source (from all pellet (s), on base domain) of all Reactions nodes can be used by a Heat Source feature in any of the heat transfer interfaces.
298 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Initial Values (Pellets)
DOMAIN SELECTION
The domain selection inherits all valid domains from its parent feature. For the invalid domains, it shows not applicable. Several Initial Values nodes can be used to set different initial values for different domains and pellets.
PELLET
This section is invisible for default Initial Values node. It is visible for later added Initial Values nodes. Select All or one of existing pellets for the nondefault Initial Values nodes.
INITIAL VALUES
Specify the Mixture specification -- Mass fractions (the default), Mole fractions, or Molar concentrations for different initial value types inside the pellet(s). · Mass fractions. Enter the Pressure Pep0 (Pa) for the initial pressure value, and enter
the Mass fractions wpe0,i for species i. · Mole fractions. Enter the Pressure Pep0 (Pa) for the initial pressure value, and enter
the Mole fractions xpe0,i for species i. · Molar concentrations. Enter the Temperature Tpe0 (SI unit: k) for the initial
temperature value. Specify the Initial pressure -- Ideal gas (the default), or User defined for different types of initial pressure. Enter the Pressure Pep0 (Pa) for the initial pressure value if User defined is selected. Enter the Molar concentrations cpe0,i for species i.
SURFACE CONCENTRATION INITIAL VALUES
Specify the initial values for Surface species under the column Surface concentration (mol/m2) in the table.
Pellet-Fluid Interface
DOMAIN SELECTION
The domain selection inherits all valid domains from its parent feature. For the invalid domains, it shows not applicable.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 299
Several Pellet-Fluid Interface nodes can be used to specify different boundary conditions between fluid and pellet out-surface for different domains and pellets.
PELLET
This section is invisible for default Pellet-Fluid Interface node. It is visible for later added Pellet-Fluid Interface nodes.
Select All or one of existing pellets for the nondefault Pellet-Fluid Interface nodes.
PELLET-FLUID INTERFACE
The Coupling type list is selectable for the default Pellet-Fluid Interface node, but it is disabled for nondefault Pellet-Fluid Interface nodes because it is supposed that there should be only one type of boundary condition in a packed bed.
There are two Coupling type options for the coupling of concentration between the pellet internals and the surrounding fluid:
· Continuous concentration, assuming that all resistance to mass transfer to/from the pellet is within the pellet and no resistance to pellet-fluid mass transfer is on the bulk fluid side. The concentration in the fluid will thus be equal to that in the pellet pore just at the pellet surface: cpe,i ci. This constraint also automatically ensures flux continuity between the internal pellet domain and the free fluid domain through so-called reaction forces in the finite element formulation.
· Film resistance (mass flux): The flux of mass across the pellet-fluid interface into the pellet is possibly rate determined on the bulk fluid side, by film resistance. The resistance is expressed in terms of a film mass transfer coefficient, hDi, such that: Ni,inward = hD ici cpe i . The Film resistance (mass flux) option computes the inward surface flux, hDi is the mass transfer coefficient (SI unit: m/s) and is calculated with the default Automatic setting from a dimensionless Sherwood number expression or with User defined mass transfer coefficients.
The Active specific surface area (SI unit: m-1) is required to couple the mass transfer between the pellets and the bed fluid. Select either the Automatic setting that calculates the specific surface area from the shape information given above, or User defined that is available for explicit surface area specification.
Specify the Mass transfer parameters -- Automatic (the default), or User defined to set the mass transfer parameters.
· Mass transfer parameters with Automatic selected. Specify one of the models from the Sherwood number expression list to compute the Sherwood number. There are three models available: Frössling, Rosner, and Garner and Keey. The Frössling equation is
300 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
the default and probably the most commonly used for packed spheres. All of these are based on the dimensionless Reynolds (Re) and Schmidt (Sc) numbers, which are computed from Density and Dynamic viscosity. Both of these two parameters are specified in the Fluid node under the Packed Bed feature. They can be taken From material or choose the User defined alternative. They could also be picked up from Chemistry if the species in the Chemistry are coupled to that of the current Transport of Concentrated Species interface. · Mass transfer parameters with User defined selected. Specify the type of Parameter -- Mass transfer coefficient (the default), or Sherwood number to be user defined. Enter the mass transfer coefficients and Sherwood numbers for Mass transfer coefficient and Sherwood number, respectively.
Porous Catalyst
The catalyst is a kind of substance that increases the rate of a reaction without itself being consumed. The catalytic process usually consists of following steps: · Adsorbate transfers across the fluid-adsorbent boundary layer to adsorbent surface; · Adsorbate is absorbed on the adsorbent surface; · Chemical reaction of adsorbate on the surface; · Desorption of reaction products (adsorbate) from the adsorbent surface into the
fluid-adsorbent boundary layer; · Adsorbate transfers from the boundary layer into bulk fluid. if the resistance in boundary layer is neglected, the five steps above may be reduced to three steps: · Adsorption on to the adsorbent surface; · Surface reaction at adsorbent surface; · Desorption from adsorbent surface. Use this feature to model a catalytic process where it concerns surface reaction and adsorption. It has four subnodes. Two of them are default: Fluid and Porous Matrix, and other two are selective: Surface Reaction and Adsorption.
REACTIVE SPECIFIC SURFACE AREA
Enter a specific surface area for the adsorption and surface reaction processes. The default value is 1·107 1/m.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 301
CONCENTRATION INPUT
Select a Concentration input -- Molar concentration (mol/(m2)) (the default), Amount per solid mass (mol/kg). This parameter determines the unit for initial values of adsorbed species and user-defined surface species.
ADSORBED SPECIES
Specify these species which are adsorbate to the catalyst (adsorbent). The concentrations (for example, cads_i for species i) of adsorbed species are defined as dependent variables and solved. The rate of adsorption is defined in Adsorptions subnode. With an adsorbed species being selected, its initial value field is activated. Enter the initial value according to the concentration type which is decided by the selected value from Concentration input.
SURFACE SPECIES
There could be extra surface species besides the adsorbed species (coupled to physics interface dependent variables) and their corresponding adsorbed sites on adsorbent surface. These extra surface species (also called user-defined species) could take part in catalytic reactions. The concentrations (for example, csurf_j for species j) of them are solved. The surface reaction rate is defined in the Surface Reaction subnode. Add a user-defined surface species in the Surface species table by clicking the Add button under the table. The default name is cs<n> (n is a series number). The name can be changed into any valid name.
Vapor Inflow
Use this node to model a vapor inflow originating from an upstream gas mixture in contact with a liquid. The upstream liquid can either be water or a liquid mixture involving any number of components.
VAPOR INFLOW
Select an entry from the Upstream liquid system list. The available options are Water, Thermochemistry coupling, and User defined. · Use Water to model incoming water vapor. Saturated vapor, or vapor at a specific
relative humidity can be applied. · Thermochemistry coupling can be selected in models that contains a
Thermodynamic System coupled to a Chemistry interface. In this case all
302 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
thermodynamic properties needed (vapor pressure or fugacity, heat of evaporation, liquid phase density) are automatically added to the Thermodynamic system. · Selecting User defined in the Upstream liquid system list, the vapor pressure, Pi, and for each of the species can be manually defined.
For Water and User defined input the Upstream temperature Tustr. For Thermochemistry coupling also input the Upstream absolute pressure Pustr. Below the settings are detailed for the respective entries of the Upstream liquid system.
· When Water is selected, use the Water vapor species list to identify the species solved for that corresponds to water vapor. When needed select to define a Relative humidity.
· For Thermochemistry coupling also select an interface from the Chemistry list. In order for a Chemistry interface to be available, it needs fulfill the following criteria: - The interface should include at least one species. - The interface should be set to consider a concentrated mixture. This is applied by selecting Concentrated species in the Type list at the top of the Mixture Properties section (in the settings window of the interface). - The interface should be coupled to a Thermodynamics System. In the Mixture Properties section, select Thermodynamics and chose an appropriate entry from the Thermodynamic system list. - The selected system needs to include both a vapor and a liquid phase. - Gas phase mixture properties should be produced by selecting Gas in the Phase list of the Mixture Properties section. - The interface cannot have Define variables for porous pellets enabled in the Pellet Chemistry section.
Vapor Species in Equilibrium with Upstream Liquid When a Thermochemistry coupling is used, select the vapor species which are in equilibrium with the liquid using the check boxes next to the respective species. When a species is correctly coupled, the mass fraction variable as well as the chemical formula and compound name is indicated, for example as "wA, C3H6O (acetone)". If the species is not correctly coupled, the corresponding label is "wA, Not coupled". To inspect the coupling, use the Go to source button to navigate to the Chemistry interface. In the Species Matching section make sure that each species is coupled both to a mass fraction solved for as well as to a species From thermodynamics.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 303
Other Species For the species that are not in equilibrium with the liquid, specify the vapor pressure at the inlet. This could for example be species which are not soluble in the upstream liquid.
Liquid Phase Use this section to specify the composition in the Upstream liquid system when using a Thermochemistry coupling.
Select a Liquid phase concentration type -- Mass fraction, Molar fraction, or Volume Fraction. Use the Composition table to specify the corresponding concentration of each species in the liquid.
TRANSIENT INITIALIZATION
When prescribing boundary conditions in time-dependent problems, and in particular vapor pressure conditions, it is important not to introduce a discontinuity with respect to the conditions in the domain. When this happens the solver may struggle to converge and resort to small time steps. When using transient initialization a smooth step function, fs, transitions the boundary condition, from the domain initial value, 0, to the condition to be applied on the boundary, eq, over a small time span t. The smoothed value applied on the boundary, bnd, is defined as
bnd = eqfst + 01 fst
where
fst0 = 0 , fst0 + t = 1
(3-137)
When Duration is set to Automatic the initialization time is automatically defined as a fraction of the time between the initial and the last output
t = 1 103tEnd t0
Select User defined to manually define the duration of the transient initialization t.
VaporLiquid Interface
Use this feature to account for evaporation or condensation at a vaporliquid interface. The feature prescribes the vapor pressure as a function of the composition in the liquid and the temperature and pressure at the interface. Single species liquids as well as multi component liquid mixtures can be modeled. Local concentration gradients introduced
304 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
by the vapor pressure result in a species transfer to or from the interface. A vapor pressure higher than the partial pressure in the surrounding domain will result in evaporation of the species in question. Correspondingly, when the vapor pressure is lower than the surrounding partial pressure, condensation occurs.
The feature can be used on exterior boundaries to solve for mass transfer due to evaporation or condensation. The resulting mass flow and latent heat of evaporation are defined and announced and available for use in physics interfaces for fluid flow and heat transfer. The VaporLiquid Interface feature solves for mass transfer to or from a gas phase domain. To also model the resulting composition changes in an adjacent liquid phase, use the VaporLiquid-Mixture Interface.
To solve for the motion of the vaporliquid interface, resulting from the phase transfer, use a fluid flow interface including a Fluid-Fluid Interface feature (described in the CFD Module User's Guide). When solving for heat transfer apply the latent heat of evaporation using a Boundary Heat Source feature (described in the Heat Transfer Module User's Guide).
The VaporLiquid Interface feature can also be used on stationary boundaries. This is for example efficient when the mass transfer is low and would only lead to insignificant variations of the interface position.
BOUNDARY SELECTION
Select the boundaries that represent an interface separating a vapor and liquid phase domain. The boundaries should be exterior to the domains where vapor transport modeled.
VAPOR EQUILIBRIUM
Use this section to select how the equilibrium vapor pressure is defined. The vapor pressure is applied on the vapor side of the interface and drives the condensation or evaporation.
Vapor pressure In the Vapor property list, select Vapor pressure to prescribe the corresponding quantity at the vaporliquid interface. It is also possible to instead prescribe the vapor phase Mass Fraction.
The composition in the liquid phase is controlled from the Liquid list:
· Use Water to model condensation or evaporation to or from liquid water. In this case predefined expressions for the saturated vapor pressure and heat of evaporation are used.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 305
· Thermochemistry coupling can be selected in models that contains a Thermodynamic System coupled to a Chemistry interface. In this case all thermodynamic properties needed at the interface (vapor pressure or fugacity, heat of evaporation, liquid phase density) are automatically added to the Thermodynamic system.
· Selecting User defined from the Liquid list, the equilibrium vapor pressure, Pvap,i, and heat of vaporization Hvap,i, for evaporating or condensing species can be manually defined.
Below the settings are detailed for the respective entries in the Liquid list.
· When Water is selected, use the Water vapor species list to identify the species solved for that corresponds to water vapor. The saturated water vapor pressure is prescribed to the species selected.
· For Thermochemistry coupling also select an interface from the Chemistry list. In order for a Chemistry interface to be available, it needs fulfill the following criteria: - The interface should include at least one species. - The interface should be set to consider a concentrated mixture. This is applied by selecting Concentrated species in the Type list at the top of the Mixture Properties section (in the settings window of the interface). - The interface should be coupled to a Thermodynamics System. In the Mixture Properties section, select Thermodynamics and chose an appropriate entry from the Thermodynamic system list. - The selected system needs to include both a vapor and a liquid phase. - Gas phase mixture properties should be produced by selecting Gas in the Phase list of the Mixture Properties section. - The interface cannot have Define variables for porous pellets enabled in the Pellet Chemistry section.
Evaporating/Condensing Species When a Thermochemistry coupling is used, select the evaporating or condensing species using the check boxes next to the respective species. When a species is correctly coupled, the mass fraction variable as well as the chemical formula and compound name is indicated, for example as "wA, C3H6O (acetone)". If the species is not correctly coupled, the corresponding label is "wA, Not coupled". To inspect the coupling, use the Go to source button to navigate to the Chemistry interface. In the Species Matching section make sure that each species is coupled both to a mass fraction solved for as well as to a species From thermodynamics.
306 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Liquid Phase Use this section to specify the liquid phase composition when using a Thermochemistry coupling.
Select a Liquid phase concentration type -- Mass fraction, Molar fraction, or Volume Fraction. Use the Composition table to specify the corresponding concentration of each species in the liquid.
Mass Fraction To define the vapor side condition directly, select Mass fraction from the Vapor property list. For each of the evaporating or condensing species, specify the equilibrium mass fraction, 0,i, and heat of vaporization Hvap,i.
TRANSIENT INITIALIZATION
When prescribing boundary conditions in time-dependent problems, and in particular vapor pressure conditions, it is important not to introduce a discontinuity with respect to the conditions in the domain. When this happens the solver may struggle to converge and resort to small time steps. When using transient initialization a smooth step function, fs, transitions the boundary condition, from the domain initial value, 0, to the condition to be applied in the boundary, eq, over a small time span t. The smoothed value applied on the boundary, bnd, is defined as
bnd = eqfst + 01 fst
where
fst0 = 0 , fst0 + t = 1
(3-138)
When Duration is set to Automatic the initialization time is automatically defined as a fraction of the time between the initial and the last output
t = 1 103tEnd t0 Select User defined to manually define the duration of the transient initialization t.
VaporLiquid-Mixture Interface
Use this feature to account for evaporation or condensation at a vaporliquid interface. The feature prescribes the vapor pressure as a function of the composition in the liquid and the temperature and pressure at the interface. Local concentration gradients introduced by the vapor pressure results in a transport of species to or from the
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 307
interface. A vapor pressure higher than the partial pressure in the surrounding domain will result in evaporation of the species in question. Correspondingly, in regions where the vapor pressure is lower than in the surrounding partial pressure, condensation occurs. The mass transfer to or from the vapor domain is accounted for by applying a corresponding fluxes for the species on the liquid side.
The feature can be used on interior boundaries to solve for mass phase transfer due to evaporation or condensation. The resulting mass flow and latent heat of evaporation are defined and announced and available for use in physics interfaces for fluid flow and heat transfer. The VaporLiquid-Mixture Interface feature solves for the mass transfer to or from a gas phase as well as the composition changes in the adjacent liquid. When the liquid phase contains a single species it is more efficient to use the VaporLiquid Interface feature.
To solve for the motion of the vaporliquid interface, resulting from the phase transfer, use a fluid flow physics interface including a Fluid-Fluid Interface feature (described in the CFD Module User's Guide). When solving for heat transfer apply the latent heat of evaporation using a Boundary Heat Source feature (described in the Heat Transfer Module User's Guide).
BOUNDARY SELECTION
Select the interior boundaries that represent an interface separating a vapor and liquid phase domain.
VAPOR EQUILIBRIUM
Use this section to select how the equilibrium vapor pressure is defined. The vapor pressure is applied on the vapor side of the interface and drives the condensation or evaporation.
Vapor pressure In the Vapor property list, select Vapor pressure to prescribe the corresponding quantity at the vaporliquid interface. It is also possible to instead prescribe the vapor phase Mass Fraction.
The composition in the liquid phase is controlled from the Liquid list:
· Use Water to model condensation or evaporation to or from a liquid water domain. In this case predefined expressions for the saturated vapor pressure and heat of evaporation are used.
· Thermochemistry coupling can be selected in models that contains a Thermodynamic System coupled to a Chemistry interface. In this case all
308 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
thermodynamic properties needed at the interface (vapor pressure or fugacity, heat of evaporation, liquid phase density) are automatically added to the Thermodynamic system. · Selecting User defined from the Liquid list, the equilibrium vapor pressure, Pvap,i, and heat of vaporization Hvap,i, for evaporating or condensing species can be manually defined.
Below the settings are detailed for the respective entries in the Liquid list.
· When Water is selected, use the Water vapor species list to identify the species solved for that corresponds to water vapor. The saturated water vapor pressure is prescribed to the species selected.
· For Thermochemistry coupling also select an interface from the Chemistry list. In order for a Chemistry interface to be available, it needs fulfill the following criteria: - The interface should include at least one species. - The interface should be set to consider a concentrated mixture. This is applied by selecting Concentrated species in the Type list at the top of the Mixture Properties section (in the settings window of the interface). - The interface should be coupled to a Thermodynamics System. In the Mixture Properties section, select Thermodynamics and chose an appropriate entry from the Thermodynamic system list. - The selected system needs to include both a vapor and a liquid phase. - Gas phase mixture properties should be produced by selecting Gas in the Phase list of the Mixture Properties section. - The interface cannot have Define variables for porous pellets enabled in the Pellet Chemistry section.
Evaporating/Condensing Species When a Thermochemistry coupling is used, select the evaporating or condensing species using the check boxes next to the respective species. When a species is correctly coupled, the mass fraction variable as well as the chemical formula and compound name is indicated, for example as "wA, C3H6O (acetone)". If the species is not correctly coupled, the corresponding label is "wA, Not coupled". To inspect the coupling, use the Go to source button to navigate to the Chemistry interface. In the Species Matching section make sure that each species is coupled both to a mass fraction solved for as well as to a species From thermodynamics.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 309
Liquid Side Indicate the side in the interface that corresponds to a liquid using the red arrow in the Graphics interface. The arrow should point from the vapor into the liquid. Select Reverse direction when needed. Note, when modeling a moving interface, by using a Fluid-Fluid Interface feature (described in the CFD Module User's Guide), the Normal Direction defined there needs to be aligned with the liquid side direction. When aligned the interface will move into the liquid during evaporation and into the vapor during condensation.
Mass Fraction To define the vapor side condition directly, select Mass fraction from the Vapor property list. For each of the evaporating or condensing species, specify the equilibrium mass fraction, 0,i, and heat of vaporization Hvap,i.
TRANSIENT INITIALIZATION
When prescribing boundary conditions in time-dependent problems, and in particular vapor pressure conditions, it is important not to introduce a discontinuity with respect to the conditions in the domain. When this happens the solver may struggle to converge and resort to small time steps. When using transient initialization a smooth step function, fs, transitions the boundary condition, from the domain initial value, 0, to the condition to be applied in the boundary, eq, over a small time span t. The smoothed value applied on the boundary, bnd, is defined as
bnd = eqfst + 01 fst
where
fst0 = 0 , fst0 + t = 1
(3-139)
When Duration is set to Automatic the initialization time is automatically defined as a fraction of the time between the initial and the last output
t = 1 103tEnd t0
Select User defined to manually define the duration of the transient initialization t.
Fluid
Use this node to specify the mass transport in a fluid phase filling the pores of a porous medium. It is used as a subnode to Porous Medium, Porous Catalyst, or Packed Bed.
310 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
MODEL INPUTS
Specify the temperature and pressure in the fluid. The temperature model input is used when calculating the density from the ideal gas law, but also when thermal diffusion is accounted for by supplying thermal diffusion coefficients. The pressure model input is used in the diffusional driving force in Equation 3-133 (that is, when a MaxwellStefan Diffusion Model is used) and when calculating the density from the ideal gas law. In a Porous Catalyst the temperature affecting is assumed to be the same in the fluid and the solid (thermal equilibrium). For temperature dependent reactions to use the same temperature as the fluid phase, the temperature is in this case given in the Porous Catalyst node. Temperature Select the source of the Temperature field T: · Select User defined to enter a value or an expression for the temperature. · When present, select a temperature defined by a Heat Transfer interface in the
model. 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. · When present, select a pressure defined by a Fluid Flow interface present in the model. For example, select Absolute pressure (spf) to use the pressure defined in a Laminar Flow interface with spf as the name.
DENSITY
Use this section to define the density of the fluid phase, and to specify the molar masses of the participating species.
VISCOSITY
When the Fluid node is present in a Packed Bed, use this section to define the viscosity of the fluid phase. The fluid viscosity is used when solving for the flow inside the pellets. Select From material to use the viscosity defined in the material, or select User defined to enter a constant or expression in the corresponding input field.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 311
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:
= --p---M-----RgT
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 values or expressions for the velocity components. This input is always available.
· Select a velocity field defined by a Fluid Flow interface that solves for the velocity of the fluid. For example, select Velocity field (spf) to use the velocity field defined by in a Single-Phase Flow, Laminar Flow interface with spf as the Name.
When the interface is used in a reacting flow multiphysics coupling, the velocity is automatically defined and the input is disabled.
DIFFUSION
Specify the species molecular and thermal diffusivities in fluid phase in the manner described for the 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:
fe
=
---pF
(3-140)
For No correction, the effective transport factor is set to one. · For the Millington and Quirk model, the effective transport factor is F = p1 3 .
312 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
· For the Bruggeman model, the effective transport factor is F = p1 2 . · For the Tortuosity model, specify the tortuosity factor F. Select either Isotropic to
define a scalar value, or Diagonal or Symmetric to define anisotropic tensor values.
The species diffusivities and mobilities are automatically adjusted for porous media transport using the effective transport factor.
MIGRATION IN ELECTRIC FIELD
This section is available when the Migration in electric field check box is selected in the Transport Mechanisms section of the interface. Select the source of the Electric potential V:
· Select User defined to enter a value or expression for the electric potential.
· When present, select an electric potential defined by an AC/DC interface that is present in the model. For example, select Electric potential (ec) to use the electric field defined an Electric Currents interface ec.
Settings for the mobilities are needed for the Mixture-averaged and Fick's law diffusion models. By default the mobility is set to be calculated based on the species diffusivities (adjusted by the Effective diffusivity model in the Diffusion section) using the Nernst-Einstein relation. To manually specify the mobilities, select User defined for the mobility um,w and enter one value for each species.
The temperature (if you are using mobilities based or the NernstEinstein relation) is taken from the Model Inputs section.
PORE WALL INTERACTIONS
In porous media, it is possible to include Pore Wall Interactions. This accounts for species collisions with the surrounding media, that is, the pore walls. For the Fick's law and Mixture-averaged diffusion models, the diffusion coefficient DiM is corrected with the Wall diffusion coefficient DiW in the following way
D iM W
=
---1-----
+
---1-----
-1
DiM DiW
For the Maxwell-Stefan diffusion model, the following term is added to the species force balance
+
-----x---i----DiW eff
---j---i-i
+
uW
=
di
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 313
For weakly adsorbing gases, the Knudsen formula can be applied for computing the wall diffusivities, based on the Pore diameter dpore (SI unit: m). For other cases, choose User defined.
For isobaric systems featuring concentration gradients in porous media, concentration gradients may give rise to nonzero fluid velocity as a result of the wall interactions. This effect can be modeled using the Maxwell-Stefan diffusion model in combination Pore Wall Interactions. For this case the wall velocity variable uW (tcs.uW) can be used to contribute to the fluid momentum balance (either as a Contributing Velocity in Darcy's law, or as a Volume Force in either the Brinkman Equations or Free and Porous Media Flow, Brinkman interfaces. The multiphysics Reacting Flow nodes incorporates this contribution from uW automatically.
Adsorption
The adsorption process can be regarded as being under equilibrium if the adsorption rate is very fast and other mass transfer resistance is negligible. In such cases, the adsorption depends only on the amount of the adsorbent, concentration (or pressure) of adsorbate and temperature. This kind of isotherm adsorption process is implemented in Adsorption subfeature of the Porous Medium and Unsaturated Porous Medium features in the Transport of Diluted Species in Porous Media.
In general, the adsorption process deviates, to some extent, from its equilibrium state. This is dealt with in the adsorption kinetics. With the assumption of species adsorption process being independent of each other and the Linear Driving Force (LDF) model being used to represent the adsorbed species-solid (catalyst) mass transfer rate, the overall adsorption rate is
Rads i = hici cequ i
(3-141)
where
cequ i = cP e i
here ci is bulk mixture concentration of species i; cequ, i is the equilibrium concentration of the same species when adsorbed (amount per volume); h i is the lumped mass transfer coefficient, which can be estimated from empirical equations based on the mass transfer mechanism; is the dry bulk density of the material; and
314 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
cP,e, i is the adsorbed equilibrium concentration (amount per solid mass) defined from an isotherm adsorption model.
DOMAIN SELECTION
The domain selection inherits the all domain selections from its parent feature. Several Adsorption nodes can be added to the same domain.
ADSORPTION
Adsorption parameters can be set only for these species which are selected under Adsorbed Species section in the Porous Catalyst feature. Select Adsorption isotherm for individual species check box to set different isotherm adsorption models for individual species. The equations for different models are shown under Equation section. With Adsorption isotherm for individual species unchecked, all species use the same isotherm model. In this case, the Adsorption isotherm direct downAdsorption isotherm for individual species is available, and specify an adsorption isotherm from one of models, Langmuir, Freundlich, Toth, BET, or User defined. From the Species list, select these species which are adsorbate. With the species being selected as adsorbate, there are three kinds of parameters, Adsorption isotherm (available when check box Adsorption isotherm for individual species is checked), adsorption model parameters and mass transfer coefficient. Select an adsorption isotherm for each adsorbate (available with Adsorption isotherm for individual species being checked). Enter adsorption model parameters for species i, parameters are: · For Langmuir:
Enter a Langmuir constant kL,i (SI unit: m3/mol) and an Adsorption maximum cp,max,i (SI unit: mol/kg). · For Freundlich: Enter a Freundlich constant kF,i (SI unit: mol/kg), a Freundlich exponent NF,i (dimensionless), and a Reference concentration cref,i (SI unit: mol/m3). · For Toth: Enter an Adsorption maximum cp,max,i (SI unit: mol/kg), a Toth constant bT,i (SI unit: m3/mol), a Toth exponent NT,i (dimensionless).
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 315
· For BET (Brunauer-Emmett-Teller): Enter a Monolayer adsorption capacity c0,i (SI unit: mol/kg), a Saturation concentration cS,i (SI unit: mol/m3), and a BET constant KB,i (dimensionless).
· For User defined enter an Adsorption isotherm cP,i (SI unit: mol/kg): The last parameter for adsorbate is the Mass transfer coefficient hi (SI unit: m/s).
Porous Matrix
This node defines the porosity, defined as the volume fraction occupied by a fluid phase, when modeling transport in a Porous Medium or a Porous Catalyst.
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 volume fractions given in Solid and Immobile Fluids subnodes under the Porous Material node.
For User defined, enter a value or expression for the porosity.
DENSITY
In a Porous Catalyst, the dry bulk density of the porous medium is needed. This is used to compute mass phase transfer due to adsorption or desorption.
Select Dry bulk density when this quantity is known. Or select Solid phase density to instead compute the dry bulk density from the solid phase one. In both cases the density definition can be taken From material or User defined.
Surface Reaction
The Surface Reaction subnode under Porous Catalyst is used to define surface reaction source terms to the mass transport within the catalyst.
DOMAIN SELECTION
From the Selection list, choose the domains (from its parent feature) on which the surface reaction rate is defined.
316 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Several Surface Reaction nodes can be used to account for different surface reactions in different parts for the modeling geometry.
SURFACE REACTION RATE FOR BULK SPECIES
The bulk species (defined as dependent variables in physics interface) can also take part in a surface reaction. Select a surface reaction rate (SI unit: kg/(m2·s)) for species i from Rsi list. Enter a reaction rate expression when User defined is selected from the list. Alternatively, if surface reaction rate expressions have been defined in a Chemistry interface, they can be chosen from the list.
SURFACE REACTION RATE FOR ADSORBED SPECIES
This section is available when at least one species is selected under the Adsorbed Species section in the Porous Catalyst feature. Select a surface reaction rate (SI unit: kg/(m2·s)) for adsorbed species cads_i from Rscads_i list. If User defined is selected from the list, enter a surface reaction rate expression. Alternatively, if surface reaction rate expressions have been defined in a Chemistry interface, they can be chosen from the list.
REACTION RATE FOR SURFACE SPECIES
This section is available when there is at least one species is added to the surface species table under the Surface Species section in the Porous Catalyst feature.
In the surface reaction rate table, there are three columns, Surface species, Surface reaction rate, and Surface rate expression (kg/(m2·s)). Select a surface reaction rate (SI unit: kg/(m2·s)) from the column Surface reaction rate for a surface species which is defined in the parent feature. With User defined being selected, the table cell at the same row under column Surface rate expression (kg/(m2·s)) is editable (otherwise it is read-only), and enter a surface reaction rate expression. Alternatively, if surface reaction rate expressions have been defined in a Chemistry interface, they can be chosen from the list under column Surface reaction rate.
Electrode Surface Coupling
Use this node to define a flux boundary condition based on current densities of one or multiple Electrode Reaction (described in the Electrochemistry Module User's Guide) nodes in an Electrochemistry interface.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 317
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. The molar fluxes are multiplied by the species molar masses to obtain the corresponding mass fluxes.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
MASS TRANSFER TO OTHER PHASES
When using the Reacting Flow coupling feature to model coupled momentum and mass transport, boundary conditions that results in a nonnegligible mass flux can be consistently handled by accounting for The Stefan Velocity. Select Account for Stefan velocity to update the Stefan velocity in accordance with the mass flux from the electrode reactions. One example that may benefit from this is when modeling gas diffusion electrodes.
Reaction
Use the Reaction node to specify the reaction kinetics for a single homogeneous chemical reaction. The resulting mass source terms for the species involved in the reaction are automatically defined and added on the selected domains. For turbulent flow, the Reaction node includes the Eddy-dissipation turbulent-reactions model.
REACTION RATE
Select a Reaction rate -- Automatic (the default), or User defined. Selecting Automatic the laminar flow reaction rate is computed using the mass action law For User defined, input a custom expression or constants for the Reaction rate r. Specify the reaction stoichiometry by entering values for the stoichiometric coefficients (dimensionless) of each species. Enter negative values for reactants and positive values for products.
RATE CONSTANTS
When the Use Arrhenius expressions check box is not selected, input custom expressions or constants for the Forward rate constant kf and Reverse rate constant kr.
318 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
When the Use Arrhenius expressions check box is selected, enter values for the following parameters of the forward and reverse reactions: · Forward frequency factor Af and Reverse frequency factor Ar (dimensionless) · Forward activation energy Ef and Reverse activation energy Er · Forward temperature exponent nf and Reverse temperature exponent nr
(dimensionless)
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.
When the Turbulent-reaction model is set to Eddy-dissipation, turbulent flow will be accounted for in the reaction mass sources. In this case, enter values for the Turbulent reaction model parameters ED and ED (dimensionless). The Eddy-dissipation model also requires an estimation of the turbulent mixing time of the fluid flow turbulence. When a Fluid Flow interface defining it is present in the model, it can be selected from the Turbulence time scale list. For example, select Turbulence time scale (spf/fp1) to use the time scale defined by the Fluid Properties node fp1 in a Turbulent Flow, k- interface with the Name set to spf.
REGULARIZATION
Select Rate expression in order to regularize the individual rate expressions that are added to each species. If the mass fraction for a reactant species i becomes smaller than its damping limit, idl, the rate expression added to species i is reduced linearly. If i 0 for a reactant species, the reaction rate contribution to that species is completely removed. Similarly, if the mass fraction for a product species j becomes larger than 1 jdl, the rate expression added to that species is damped linearly. If j 1 for a product species, the reaction rate contribution to that species is completely removed. The default value for the damping limit, idl, is 106, which is appropriate for most applications, but can require adjustment when working with for example catalytic trace species.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 319
Regularization of the rate expressions adds considerable stability to the reaction expressions, but should optimally only be used as a mean to reach convergence. If the regularization is active in too large parts of the domain, the mass balance can become affected since the regularization acts on the contributions to each individual species, not the reaction as a whole.
Reaction Sources
Use the Reaction Sources node to define mass source terms from one or more chemical reactions. Both homogeneous reactions as well as heterogeneous reactions occurring in a porous media can be studied. The node also includes the possibility to pick up automatically defined source term definitions from a Chemistry interface.
REACTIONS
Add an expression for the reaction mass source, Ri, for each individual species present, except for the one computed from the mass constraint (see Species). Enter a value or expression in the field for the corresponding species.
Select the Mass transport to other phases 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.
320 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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 (01 for example) · Mole fractions to enter mole fractions (x01 for example) · Molar concentrations (SI unit: mol/m3) to enter molar concentrations (c01 for
example) · Number densities (SI unit: 1/m3) to enter number densities (n01 for example) · Densities (SI unit: kg/m3) to enter densities (01 for example) Enter a value or expression in the field for each species except for the one computed from the mass constraint.
INITIAL MIXTURE DENSITY
When the selecting Molar concentrations, Number densities, or Densities are selected from the Mixture specification list, the should also be specified. Select Ideal gas or User defined from the Initial mixture density list.
· For Ideal gas, also specify the Initial pressure p0 and the Initial Temperature T0. Note that dependent variables solved for are evaluated to zero for initial values. When solving for pressure or temperature together with the mass fractions, apply the initial values from the corresponding interfaces here as well.
· For User defined, input a custom for the Initial mixture density m0.
Mass Fraction
The Mass Fraction node adds boundary conditions for the species mass fractions. For example, the following condition specifies the mass fraction of species i: i = i,0. Set the mass fractions of all species except the one computed from the mass constraint. This ensures that the sum of the mass fractions is equal to one (see Species). This node is available for exterior and interior boundaries.
When defining conditions on boundaries between different phases, see the section Prescribing Conditions on Fluid-Solid Interfaces.
MASS FRACTION
Specify the mass fraction for each species individually. Select the check box for the species to specify the mass fraction, and enter a value or expression in the
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 321
corresponding field. To use another boundary condition for a specific species, click to clear the check box for the mass fraction of that species.
MASS TRANSFER TO OTHER PHASES
When using the Reacting Flow coupling feature to model coupled momentum and mass transport, boundary conditions that results in a nonnegligible mass flux can be consistently handled by accounting for The Stefan Velocity.
Select Account for Stefan velocity to update the Stefan velocity in accordance with the prescribed mass fractions. Examples of cases that may benefit from this are, for example, when modeling surface reactions or phase change on an exterior boundary.
CONSTRAINT SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options.
Flux
The Flux node is available on exterior boundaries and can be used to specify the mass flux. The boundary mass flux for each species is defined in the manner of
n ji = j0 i
(3-142)
where n denotes the outward pointing normal of the boundary. The prescribed flux j0,i can contain an arbitrary flux expression. It can, for example, be used to represent a heterogeneous reaction or a separation process occurring at the boundary. The flux can, for example, be a function of i, the temperature, the pressure or even the electric potential.
When defining conditions on boundaries between different phases, see the section Prescribing Conditions on Fluid-Solid Interfaces.
CONVECTION
By default, the flux due to diffusion and migration in an electric field is prescribed. This is the appropriate flux condition when the relative velocity at the boundary is zero. When the fluid velocity is not equal to that of the boundary, for example due to a fluid injection, it is often convenient to prescribe the total flux including convection. To do so select Include in the Convection section. In this case the prescribed flux is defined as:
n ji + ui = j0
322 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
MASS TRANSFER TO OTHER PHASES
When using the Reacting Flow coupling feature to model coupled momentum and mass transport, boundary conditions that results in a nonnegligible mass flux can be consistently handled by accounting for The Stefan Velocity.
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.
External convection Set Flux type to External convection to prescribe a mass flux to or from an exterior domain (not modeled) assumed to include convection. The exterior can for example include a forced convection to control the temperature or to increase the mass transport. In this case the prescribed mass flux corresponds to
j0 i = k ib i i
(3-143)
where ki is a mass transfer coefficient and b,i is the bulk mass fraction, the typical mass fraction far into the surrounding exterior domain.
Inflow
The Inflow node adds a boundary condition for an inflow boundary, defining the composition of the mixture. The node is available for exterior boundaries. The mixture composition can be specified using the following quantities:
· Mass fractions: i 0,i · The mole fraction: xi x0,i · The molar concentration: ci c0,i · The number density, which describes the number of particles per volume: ni n0,i
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 323
· The density: i 0,i · The mass flow rates. The node requires input for all species. (The Mass Fraction node can be used to specify boundary mass fractions for a subset of the active species in the interface.)
INFLOW
Select a Mixture specification: · Mass fractions (the default) to enter mass fractions (01, for example) · Mole fractions to enter mole fractions (x01 for example) · Molar concentrations (SI unit: mol/m3) to enter molar concentrations (c01, for
example) · Number densities (SI unit: 1/m3) to enter number densities (n01, for example) · Densities (SI unit: kg/m3) to enter densities (01, for example) · Mass flow rates (SI unit: kg/s) to enter the total mass flow over the boundary
(Jin1, for example) Enter a value or expression in the field for each species except for the one computed from the mass constraint.
CONSTRAINT SETTINGS
To display this section, click the Show button ( ) and select Advanced Physics Options.
No Flux
The No Flux node is the default boundary condition available for exterior boundaries. It should be used on boundaries across which there is no mass flux, typically exterior solid walls where no surface reactions occur. The condition applied for each species corresponds to
n ji = 0
where n denotes the outward pointing normal of the boundary.
Out-of-Plane Flux
The out-of-plane flux node is used to prescribe a flux in an out-of-plane domain, and it can be used to reduce a model geometry to 2D, or even 1D, when the variation of mass fraction is small in one or more directions. This could be the case for example
324 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
when the object to model is thin or slender. Figure 3-8shows examples of possible situations in which this type of geometry reduction can be applied.
jz
jup
jdown
Figure 3-9: Geometry reduction from 3D to 1D (top) and from 3D to 2D (bottom).
For a 1D component this node adds a single out-of-plane mass flux j0,z,i for species i. For a 2D component two fluxes can be prescribed for each species; j0,u,i for the upside of the domain, and j0,d,i for the downside of the domain.
The fluxes are added as a source contribution to the right-hand side of the transport equation. For example, in 2D components with diffusion, convection, and out-of-plane flux present, the mass transfer of species i is defined by the mass conservation equation
t(i) + u i + ji = Ri + Sopf i ,
(3-144)
where Sopf,i is the out-of-plane source for species i
Sopf i
=
j---0----i dz
=
j---0-----u------i---+----j---0-----d-----i dz
.
For external mass transfer on the upside and the downside of the domain, the out-of-plane flux is
j0 i
=
kw
u
i
wb
u
i
wi
+
kw
d
i
wb
d
i
wi
where ki is a mass transfer coefficient and b,i is the bulk mass fraction, the typical mass fraction far into the surrounding exterior domain. The prescribed flux, j0, can include any arbitrary user-specified expressions. It can be a constant or a function of a
dependent variable or independent variables.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 325
UPSIDE INWARD FLUX
For 1D components, enter the cross-sectional perimeter Pc to get the out-of-plane flux j0 i = Pcj0 z i .
The default value of Pc is the circumference. Either keep the default value, for a circular cross-section shape, or edit the value to get a user-defined shape of the out-of-plane cross-section. The available options are General inward flux and External convection. Specify the Inward flux for each species individually. Select the Species check box for the species for which to specify the flux, and enter a value or expression in the corresponding field. To use another boundary condition for a specific species, click to clear the check box for the flux of that species. Use a positive value for an inward flux. Set Flux type to External convection to prescribe a mass flux to or from an exterior domain (not modeled) assumed to include convection. The exterior can for example include a forced convection to control the temperature or to increase the mass transport. In this case the prescribed mass flux corresponds to
j0 i = k ib i i where ki is a mass transfer coefficient and b,i is the bulk mass fraction, the typical mass fraction far into the surrounding exterior domain.
DOWNSIDE INWARD FLUX
The available options are General inward flux and External convection. The settings are the same as for the Upside Inward Flux section.
FURTHER READING
For an example of using the Out-of-Plane Flux node, see this application example:
Mass Transfer from a Thin Domain: Application Library path Chemical_Reaction_Engineering_Module/Tutorials/thin_domain
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
326 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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: · For the MaxwellStefan Diffusion Model:
n i Dikdk = 0
k
· For the Mixture-Averaged Diffusion Model: n Dimi = 0
· For the Fick's Law Diffusion Model:
n Difi = 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 iu + ji = 0
This boundary condition is identical to the No Flux node, but applies to all species and cannot be applied to individual species. The Symmetry node is available for exterior boundaries.
Flux Discontinuity
The Flux Discontinuity node represents a discontinuity in the mass flux across an interior boundary:
n Nd Nu = N0
N = iu + ji
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
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 327
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) · Molar concentrations (SI unit: mol/m3) to enter molar concentrations (c0,1, for
example) · Number densities (SI unit: 1/m3) to enter number densities (n0,1, for example)
and to describe the number of particles per volume n n0 · Densities (SI unit: kg/m3) to enter densities (0,1, for example)
A concentration quantity other than the mass fractions can only be used when all species are defined.
Equilibrium Reaction
Use this node to model a reaction where the kinetics is assumed so fast that the equilibrium condition is fulfilled at all times. The node solves for an additional degree
328 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
of freedom (the reaction rate Req) to fulfill the equilibrium condition at all times in all space coordinates.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability.
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
a
i
i
Keq
=
--i-------p---r-o---d--u---c--t--s---------
a
i
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.
ai
=
--c---ica0
Enter a value or expression for the dimensionless Equilibrium constant Keq, and the Unit activity concentration Ca0.
Select User defined from the list to instead enter a manually defined Equilibrium expression Eeq.
STOICHIOMETRIC COEFFICIENTS
Enter a value for the stoichiometric coefficient for all participating species. Use negative values for reactants and positive values for products in the modeled reaction. Species with a stoichiometric coefficient value of 0 are not affected by the Equilibrium Reaction node.
Surface Equilibrium Reaction
Use this node to model an equilibrium reaction on a boundary (surface). The kinetics of the reaction is assumed so fast that the equilibrium condition is fulfilled at all times.
T H E T R A N S P O R T O F C O N C E N T R A T E D S P E C I E S I N T E R F A C E | 329
The node solves for an additional degree of freedom (the mass flux Jeq) to fulfill the equilibrium condition at all times in all space coordinates along the boundary.
This feature is only available in a limited set of add-on products. See https://www.comsol.com/products/specifications/ for more details on availability. The settings for this node are the same as for Equilibrium Reaction except for the setting in the section below.
MASS TRANSFER TO OTHER PHASES
When using the Reacting Flow coupling feature to model coupled momentum and mass transport, boundary conditions that results in a nonnegligible mass flux can be consistently handled by accounting for The Stefan Velocity. 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.
330 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The NernstPlanck Equations Interface
Ionic solutions subjected to electric fields are affected by migration transport in
addition to the existing mass transport by diffusion and convection. Migration implies that positive ions migrate from positive to negative potential, and vice versa for negatively charged ions. The flux of the ionic species i in the solution is given by the mass flux vector (SI unit: mol/(m2·s))
Ni = Dici zium iFciV + ciu
(3-145)
where ci denotes the concentration of species i (SI unit: mol/ m3), Di is the diffusion coefficient of species i (SI unit: m2/s), u is the solvent velocity (SI unit: m/s), F refers to Faraday's constant (SI unit: s·A/mol), Vdenotes the electric potential (SI unit: V), zi is the charge number of the ionic species (dimensionless), and um,i its ionic mobility (SI unit: s·mol/kg).
There are three physics interfaces for this type of transport. In the NernstPlanck Equations (npe) interface ( ), found under the Chemical Species Transport branch ( ) when adding a physics interface, the transport of every charged species is accounted for, and is solved for in combination with the electroneutrality condition.
The NernstPlanck Equations interface supports modeling of transport by convection, diffusion, and migration of dissolved ionic species in 1D, 2D, and 3D as well as for axisymmetric models in 1D and 2D. The dependent variables are the species concentrations, ci, and the electric potential, V. The physics interface is tailored for modeling of electrochemical cells and corrosion processes and offers a straightforward way to perform tertiary current distribution analysis.
The physics interface has the equations, boundary conditions, and rate expression terms for modeling mass transport of ionic species by convection, diffusion, and migration, solving for the species concentrations and the electric potential. The main feature is the Convection, Diffusion, and Migration node, which adds the equation for the species concentration and the potential and provides an interface for defining species properties and model inputs.
When this physics interface is added, these default physics nodes are also added to the Model Builder -- Convection, Diffusion and Migration, No Flux (the default boundary condition for species concentrations), Electric Insulation (the default boundary
T H E N E R N S T P L A N C K E Q U A T I O N S I N T E R F A C E | 331
condition for the electric field), and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for example, boundary conditions and rate expression terms. You can also right-click NernstPlanck Equations 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 npe.
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 molar flow rates from the total molar flux.
CROSS-SECTIONAL AREA
For 1D components, enter a Cross-sectional area Ac (SI unit: m2) to define a parameter for the area of the geometry perpendicular to the 1D component. The value of this parameter is used, among other things, to automatically calculate molar flow rates from the total molar flux. The default is 1 m2.
SPECIES
Select the species that the physics interface computes from the electroneutrality condition in Equation 3-145. That is, its value comes from the fact that the net charge in every control volume is zero. Select the preferred species in the From electroneutrality list. To minimize the impact of any numerical errors, use the species with the highest concentration. By default, the software uses the first species.
DEPENDENT VARIABLES
Add or remove species in the model and also change the names of the dependent variables that represent the species concentrations.
332 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Specify the Number of species. There must be at least two species. To add a single species, click the Add species button ( ). To remove a species, select it in the list and click the Remove species button ( ).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 model.
ADVANCED SETTINGS
To display this section, click the Show More Options 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.
Convective Term Formulation
DISCRETIZATION
To display all settings available in this section, click the Show More Options button ( ) and select Advanced Physics Options. For more information about these settings, see the Discretization section under The Transport of Diluted Species Interface.
CONSISTENT AND INCONSISTENT STABILIZATION
To display this section, click the Show More Options button ( ) and select Stabilization. Any settings unique to this physics interface are listed below. The crosswind diffusion implementation used in the NernstPlanck Equations interface is based on Codina (Ref. 1). · When the Crosswind diffusion check box is selected, the Lower gradient limit glim
(SI unit: mol/m4) field defaults to 0.1[mol/m^3)/npe.helem, where npe.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
T H E N E R N S T P L A N C K E Q U A T I O N S I N T E R F A C E | 333
components are neglected. This setting is usually accurate enough and is faster to compute. If required, select Full residual instead.
· Domain and Boundary Nodes for the NernstPlanck Equations Interface
· Theory for the NernstPlanck Equations Interface · Convective Term Formulation
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.
Domain and Boundary Nodes for the NernstPlanck Equations Interface
The NernstPlanck Equations Interface has these domain and boundary physics nodes available.
DOMAIN NODES
· Species Properties · Convection, Diffusion, and Migration · Reactions · Equilibrium Reaction is described for the Transport of Diluted Species interface · Initial Values
BOUNDARY CONDITIONS
In the NernstPlanck Equations interface, there are separate boundary conditions for the species concentrations and for the electric potential. This means that there are two active boundary conditions on each boundary. Many different combinations of boundary conditions can be set for the electric field and concentration fields on a boundary, but not all combinations are relevant.
334 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
SPECIES CONCENTRATION BOUNDARY CONDITIONS
The following boundary conditions for the species concentrations are available on exterior boundaries:
· Concentration · Flux · No Flux (the default boundary
condition for species concentrations)
· Symmetry · Inflow · Outflow
For interior boundaries, continuity in the concentration of all species is the default boundary condition. In addition, the Flux Discontinuity boundary condition is available on interior boundaries.
ELECTRIC POTENTIAL BOUNDARY CONDITIONS
The following boundary conditions for the electric potential are available on exterior boundaries:
· Current Density · Electric Insulation (the default boundary condition for the electric potential) · Electric Potential (described for the Electrostatics interface in the COMSOL
Multiphysics Reference Manual)
For interior boundaries, continuity in the electric potential is the default boundary condition. In addition, the following boundary conditions are available on interior boundaries:
· Current Discontinuity · Electric Potential (described for the Electrostatics interface in the COMSOL
Multiphysics Reference Manual)
EDGES AND POINTS
The Point Mass Source and Line Mass Source features are also available and described for the Transport of Diluted Species interface.
The links to the physics nodes described in the COMSOL Multiphysics Reference Manual do not work in the PDF, only from the online help.
T H E N E R N S T P L A N C K E Q U A T I O N S I N T E R F A C E | 335
For axisymmetric models, COMSOL Multiphysics takes the axial symmetry boundaries (at r = 0) into account and automatically adds an Axial Symmetry node to the model that is valid on the axial symmetry boundaries only.
Species Properties
Use this node to define parameters specific to each of the species. The node will change its label depending on what inputs are available in the node. If only Charge is available, it will be labeled "Species charges".
CHARGE
Enter the charge number zc (dimensionless, but requires a plus or minus sign) for each species.
ACTIVITY
This section is available when the Species Activity combo box is set to Debye-Hückel or User defined. If Debye-Hückel is selected, enter the ion size number, a0, for each species. If User defined is selected, enter the activity coefficient, f, for each species.
Convection, Diffusion, and Migration
The Convection, Diffusion, and Migration is the main physics interface node which adds the concentration and electric field variables and the NernstPlanck equations governing them.
MODEL INPUTS
The temperature model input is always available, and set to Common model input by default. 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
component (if any). For example, select Temperature (ht) to use the temperature defined by the Heat Transfer in Fluids interface with the ht name.
336 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
CONVECTION
This section is available when the Convection check box is selected.
The velocity field for the convection of the solvent, which is used in the convective term, needs to be specified as feature input. 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
Select a Material from the list (when applicable and available). The default is None.
Specify the Diffusion coefficient Di for each species. This can be a scalar value for isotropic diffusion or a tensor describing anisotropic diffusion. Enter the values in the field (one for each species).
MIGRATION IN ELECTRIC FIELD
Specify the Mobility and the Charge number of the ionic species. These properties affect the migration of ionic species. By default the Mobility is set to be calculated based on the species diffusivities and the temperature using the NernstEinstein relation. To manually specify the mobility, select User defined for the mobility um,i and enter one value for each species.
Enter the Charge number zi (dimensionless, but requires a plus or minus sign) for each species.
Specify the temperature (if you are using mobilities based on the NernstEinstein relation) in the Model Inputs section.
Electric Insulation
The Electric Insulation node is the default boundary condition for the electric field. It provides a boundary condition for the electric field that means that the boundary is electrically insulated; that is, there is no current flowing across the boundary:
n i = 0
(3-146)
T H E N E R N S T P L A N C K E Q U A T I O N S I N T E R F A C E | 337
No Flux
The No Flux node is the default boundary condition on 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 Dc zumFcV = 0 where n denotes the outward pointing normal of the boundary.
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. In this case the no flux condition is:
n Dc zumFcV + uc = 0
Initial Values
The Initial Values node adds initial values for the concentrations ci and the electric potential V that can serve as an initial condition for a transient simulation or as an initial guess for a nonlinear solver. Add more Initial Values nodes from the Physics toolbar.
INITIAL VALUES
Enter values or expressions for the initial value of the Concentration ci (SI unit: mol/ m3) (except the one that a mass constraint determines) and for the Electric potential V (SI unit: V). The default concentration values are 0 mol/m3 and the default electric potential is 0 V.
Reactions
In order to account for consumption or production of species, the Reactions node adds rate expressions Ri, which appear on the right-hand side of the species transport equations.
338 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
REACTIONS
Add a rate expression Ri (SI unit: mol/(m3·s)) for each of the species solved for. Enter a value or expression in the field of the corresponding species.
Concentration
The Concentration node adds a boundary condition for the species concentrations: for example the following condition specifies the concentration of species, ci:
ci = ci 0
Set the concentration of all species except the one computed from the electroneutrality condition, which ensures that the net charge is zero. See Species.
CONCENTRATION
Specify the concentration ci (SI unit: mol/m3) for each species individually. Select the check box for the species to specify the concentration, 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 that species' mass fraction.
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( Physics Options.
) and select Advanced
Flux
The Flux node can be used to specify the species flux across a boundary. The species flux, for example at the surface of an electrode, is defined as:
n Dc zumFcV = J0
where n denotes the outward pointing normal of the boundary. The flux J0 can be any function of concentration and electric potential (and indeed temperature if heat transfer is included in the model), often provided by a kinetic expression. In electrochemistry, this function usually depends on concentration and exponentially on the electric potential through either the Tafel equation or the Butler-Volmer equation.
T H E N E R N S T P L A N C K E Q U A T I O N S I N T E R F A C E | 339
CONVECTION
By default, the flux due to diffusion and migration in an electric field is prescribed. This is the appropriate flux condition when the relative velocity at the boundary is zero. When the fluid velocity is not equal to that of the boundary, it is often convenient to prescribe the total flux, including the convection. To do this select Include in the Convection section. When including the convection, the prescribed flux is defined as:
n Dc zumFcV + uc = J0
INWARD FLUX
Specify the inward species flux for each species individually. Select the check box for the species to prescribe a flux for and enter a value or expression for the Inward flux J0. To use another boundary condition for a specific species, click to clear the check box for that species' flux. Use a positive value for an inward flux.
Symmetry
The Symmetry node can be used to represents a boundaries where the concentration is symmetric; that is, there is no species flux in the normal direction across the boundary. This boundary condition is identical to that of the No Flux condition.
Inflow
The Inflow node adds a boundary condition for an inflow boundary, where the concentration for all species is specified in the manner of ci = ci 0 .
This condition is identical to the Concentration node, but is applied to all species and cannot be applied to individual species.
CONCENTRATION
Specify the concentration ci (SI unit: mol/m3) of each species individually by entering a value or expression in the corresponding field.
BOUNDARY CONDITION TYPE
The option Concentration constraint constrains the concentration values on the boundary by the use of pointwise constraints. The other option, Flux (Danckwerts) can be used when the concentration at the boundary is not known, or when it varies in a nontrivial manner. This may, for example,
340 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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.
Danckwerts Inflow Boundary Condition
CONSTRAINT SETTINGS
To display this section, click the Show More Options button ( Physics Options in the Show More Options dialog box.
) and select Advanced
Outflow
The Outflow condition assumes that convection and migration is the dominating transport mechanism across the outflow boundary, and therefore that diffusive transport can be ignored, that is:
n Dc = 0
Flux Discontinuity
The Flux Discontinuity node represents a discontinuity in the species flux across an interior boundary:
n Nu Nd = N0 i
N = ciu + Ji
where the value of N0,i specifies the size of the flux jump, evaluated from the up to the down side of the boundary. This boundary condition is only available on interior boundaries.
FLUX DISCONTINUITY
Specify the jump in species flux, using a positive value for increasing flux when going from the down to the up side of the boundary. The normal direction (nx,ny,nz) ((nr,nz) in axisymmetric models) points in the direction from the downside toward the upside of an interior boundary and can be plotted for visualization.
Select the check boxes for the species to specify a Flux discontinuity N0 (SI unit: mol/ (m2·s)) and enter a value or expression for the mass flux jump in the corresponding
T H E N E R N S T P L A N C K E Q U A T I O N S I N T E R F A C E | 341
field. To use another boundary condition for a specific species, click to clear the check box for that species' flux discontinuity.
Current Density
The Current Density node provides a boundary condition for the electric field which makes it possible to set the total current density at a boundary. The condition is defined as:
n i = i0
(3-147)
where n denotes the normal vector to the boundary and i0 is the inward current density.
It is common to combine this boundary condition with concentration conditions for the species. Such a combination is useful in cases where the flow in an electrochemical cell is vigorous and in cases where the whole cell is not treated in a model, most often when the opposite electrode is a far away. Half-cell investigations are very applicable for this type of condition.
INWARD CURRENT DENSITY
Specify the current density i0 (SI unit: A/m2). Use a positive value for an inward current flow.
Current Discontinuity
The Current Discontinuity node represents a discontinuity in the current density across an interior boundary:
n iu id = i0
n
i = F zi Dici zium iFciV
k=1
where the value of i0 specifies the size of the current density jump evaluated from the up to the down side of the boundary. This boundary condition is only available on interior boundaries.
342 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
CURRENT DISCONTINUITY
Specify i0 (SI unit: A/m2), the jump in current density, using a positive value for increasing current density when going from the up to the down side of the boundary. The normal direction (nx,ny,nz) ((nr,nz) in axisymmetric models) points in the direction from the downside toward the upside of an interior boundary and can be plotted for visualization.
Open Boundary
Use the Open Boundary node to set up mass transport across boundaries where both convective inflow and outflow can occur. Specify an exterior species concentration on parts of the boundary where fluid flows into the domain. A condition equivalent to the Outflow node applies to 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 provided as a Model Input to the Nernst Planck Equations interface. The potential is assumed to be constant in the normal direction across the boundary.
EXTERIOR CONCENTRATION
Enter a value or expression for the exterior concentration c0,c2 (SI unit: mol/m3).
Reference for the NernstPlanck Equations Interface
1. R. Codina, "A Discontinuity-capturing Crosswind-dissipation Stabilization for the Finite Element Solution of the Convection-diffusion Equation", Computer Methods in Applied Mechanics and Engineering, vol. 110, pp. 325342, 1993.
T H E N E R N S T P L A N C K E Q U A T I O N S I N T E R F A C E | 343
The NernstPlanckPoisson Equations Interface
The Nernst-Planck-Poisson Equations interface ( ), found under the Chemical Species Transport branch ( ) when adding a physics interface, is a predefined multiphysics interface for modeling transport of electrolyte species without the otherwise common assumption of local electroneutrality. This allows for simulating charge separation that typically arises close to an electrode surface, where ions in the electrolyte are attracted and repelled by unscreened excess charge on the electrode. The charge separation region, also called the diffuse double layer, normally extends a few nanometers away from the electrode surface into the electrolyte. The study of the charge separation is important to applications that consider very thin layers of electrolyte, such as electrochemical capacitors, atmospheric corrosion problems, ion-selective field effect transistors (ISFETs), and nanoelectrochemistry. The NernstPlanckPoisson Equations predefined multiphysics interface adds ( ) (with Migration enabled), which solves for the NernstPlanck equations without charge neutrality, and The Electrostatics Interface( ), that solves for the Poisson's equation. A ( ) multiphysics node is also added. This node computes the local space charge, based on the local concentrations and species charges in the Transport of Diluted Species interface, and adds it to Poisson's Equation in the Electrostatics interface. Finally, a ( ) multiphysics node is added that applies the potential dependent variable in the Electrostatics interface into the migration term of the Transport of Diluted Species interface.
· The Multiphysics Branch in the COMSOL Multiphysics Reference Manual.
· The Transport of Diluted Species Interface · The Electrostatics Interface Diffuse Double Layer: Application Library path Chemical_Reaction_Engineering_Module/Electrokinetic_Effects/ diffuse_double_layer
344 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
T H E N E R N S T P L A N C K P O I S S O N E Q U A T I O N S I N T E R F A C E | 345
The Electrophoretic Transport Interface
The Electrophoretic Transport (el) interface ( ), found under the Chemical Species Transport branch ( ), is used to solve for the electrophoretic transport of an arbitrarily number of species in water-based system, subject to potential gradients. The species transported can be any combination of weak and strong acids and bases, ampholytes, and uncharged species. The transport of masses and charge is based on the NernstPlanck equations for molecular transport, in combination with electroneutrality, dissociation equilibria for weak acids, bases, and ampholytes as well as the water autoionization reaction. The physics interface can simulate most forms of electrophoresis modes, such as zone electrophoresis, isotachophoresis, isoelectric focusing, and moving boundary electrophoresis. Gel electrophoresis can be simulated by the inclusion of immobile charged species. 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.
Zone Electrophoresis: Application Library path Chemical_Reaction_Engineering_Module/Electrokinetic_Effects/ zone_electrophoresis
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.
346 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
DOMAIN SELECTION
If any part of the model geometry should not partake in the mass transfer model, remove that part from the selection list.
OUT-OF-PLANE THICKNESS
For 2D components, enter a value or expression for the out-of-plane Thickness d (SI unit: m). The value of d determines the size of the domain perpendicular to the modeled 2D cross section. This value yields, for example, the correct total current when the current density is obtained from a 2D simulation.
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.
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.
T H E E L E C T R O P H O R E T I C T R A N S P O R T I N T E R F A C E | 347
CONSISTENT STABILIZATION
To display this sections, click the Show More Options button ( Stabilization in the Show More Options dialog box.
) and select
· 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 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 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. Use the conservative formulation for compressible flow.
DISCRETIZATION
To display all settings available in this section, click the Show More Options button ( ) and select Advanced Physics Options in the Show More Options dialog box.
The concentration variables are set to use Linear elements by default.
The potential variable is set to use Quadratic elements by default.
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
348 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
in postprocessing results but does not create extra dependent variables on the boundaries for the fluxes. The flux variables affected in the interface are: · <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. 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. 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 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
· Theory for the Electrophoretic Transport Interface · Numerical Stabilization 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 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.
T H E E L E C T R O P H O R E T I C T R A N S P O R T I N T E R F A C E | 349
Common Settings for the Species Nodes in the Electrophoretic Transport Interface
The interface features the following species nodes, applicable on the domain level:
· Ampholyte · Fully Dissociated Species · Uncharged Species · Weak Acid · Weak Base
Each species node add a dependent variable for the concentration. The initial and boundary condition, as well as adding additional source reaction terms, for each species concentration is controlled by adding subnodes to the species nodes:
· 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
350 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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 an 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.
Diffusion and Migration Settings
All species, except when the Immobile Species check box has been enabled, may be transported by diffusion, and charged species are also transported by migration in the electric field. For dissociation species you may choose to set the transport parameters to be the Same for all species appearing in the different dissociation steps, or you may use Individual settings for each subspecies. Typically the mobilities and diffusivities for small species are related by the Nernst-Einstein relation, and when this relation is enabled you can choose whether to specify either the Diffusivity (SI unit: m2/s) or the Mobility (SI-unit: s·mol/kg). The Debye-Hückel-Henry relation is commonly used for larger molecules, such as proteins.
Note: There are other definitions of the migration transport equations in the literature which use mobilities expressed in m2/(V·s), whereas COMSOL Multiphysics uses s·mol/kg. To convert mobilities expressed in m2/(V·s) to the corresponding values in s·mol/kg, you typically divide by the Faraday constant, F_const (about 96,485 C/mol).
EFFECTIVE TRANSPORT PARAMETER CORRECTION
If Mass transfer in porous media is enabled on the interface top node, you may use the settings of this section in the species nodes to account for the changed mass transport in a porous domain due to the lowered porosity and the increased tortuosity.
T H E E L E C T R O P H O R E T I C T R A N S P O R T I N T E R F A C E | 351
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.
IONIC STRENGTH CONTRIBUTION
To display this section, click the Show More Options button ( Physics Options in the Show More Options dialog box.
) and select Advanced
The Debye-Hückel-Henry relation makes use of the ionic strength for calculating the species mobility from the diffusivity. All charged species contribute to the ionic strength, either assuming the species contributing to an Ideal solution or by using the Linderstrøm-Lang assumption. The latter is usually used for macromolecules.
Domain, Boundary, and Pair Nodes for the Electrophoretic Transport Interface
The interface has the following domain, boundary, 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).
To add a node, go to the Physics toolbar, no matter what operating system you are using. Subnodes are available by clicking the parent node and selecting it from the Attributes menu.
352 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
· Ampholyte · Concentration · Current · Current Density · Current Source · Flux · Fully Dissociated Species · Inflow · Initial Concentration · Initial Potential · Insulation
· No Flux · Outflow · Porous Matrix Properties · Potential · Protein · Species Source · Solvent · Uncharged Species · Weak Acid · Weak Base
For axisymmetric components, COMSOL Multiphysics takes the axial symmetry boundaries (at r 0) into account and automatically adds an Axial Symmetry node that is valid on boundaries representing the symmetry axis.
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.
Solvent
The settings of this node are used to define the properties of the aqueous solvent.
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.
T H E E L E C T R O P H O R E T I C T R A N S P O R T I N T E R F A C E | 353
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.
Porous Matrix Properties
Use this node, available if Mass transfer in porous media has been enabled on the interface top-node, to define the Porosity (electrolyte volume fraction) and Tortuosity of a domain. The porosity should be a number between 0 and 1.
Fully Dissociated Species
Use this node to define a fully dissociated charged species, such as strong bases and acids. The Charge number, Z0 (unitless), defines the species charge. 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. See also Common Settings for the Species Nodes in the Electrophoretic Transport Interface and Diffusion and Migration Settings.
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.
354 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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. The Average charge, Z (unitless) parameter is typically a function of pH and may be added as an analytical function or an interpolation polynomial under Definitions. The average squared charge, used in the electrolyte potential equation, is calculated automatically based on Z . See also Common Settings for the Species Nodes in the Electrophoretic Transport Interface and Diffusion and Migration Settings.
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.
T H E E L E C T R O P H O R E T I C T R A N S P O R T I N T E R F A C E | 355
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. This node is typically used to model electrode surfaces or boundaries facing an electrolyte reservoir (containing an electrode). 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. This node is typically used to model electrode surfaces where the electrode kinetics depends on the electrolyte potential. 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:
356 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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 ( Physics Options in the Show More Options dialog box.
) and select Advanced
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.
In order to account for consumption or production of species, for example in porous electrodes or as a result of reversible reactions, the Species Source node adds source terms expressions S (SI unit: mol/(m3·s) to the right-hand side of the transport equation of the parent species.
Initial 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 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.
T H E E L E C T R O P H O R E T I C T R A N S P O R T I N T E R F A C E | 357
Concentration
This node may be added as a subnode to any species node. See also Common Settings for the Species Nodes in the Electrophoretic Transport Interface This condition node adds a boundary condition for the parent species concentration. Use the node to, for instance, specify the inlet concentration at the boundary facing an electrolyte reservoir.
No Flux
This node may be added as a subnode to any species node. See also Common Settings for the Species Nodes in the Electrophoretic Transport Interface. This node is the default boundary condition on exterior boundaries. It represents boundaries where no mass flows in or out of the boundaries. Hence, the total flux is zero.
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.
INWARD FLUX
Enter a value or expression for the species mass flux J0. Use a minus sign when specifying a flux directed out of the system. 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 = kccb c where kc is a mass transfer coefficient and cb is the bulk concentration, the typical concentration far into the surrounding exterior domain.
358 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Inflow
This node is available when you select the Convection check box on the physics interface Settings window. Use this node to specify the species concentrations at an inlet boundary.
BOUNDARY CONDITION TYPE
The option Concentration constraint constrains the concentration values on the boundary by the use of pointwise constraints. When using this option the boundary condition is identical to the Concentration node. The other option, Flux (Danckwerts) can be more stable and fast to solve when high reaction rates are anticipated in the vicinity of the inlet. Oscillations on the solutions can also be avoided in such cases. The latter condition uses a flux boundary condition based on the velocity across the boundary and the concentration values.
Outflow
Set this condition at outlets where species are transported out of the model domain by migration or fluid motion. It is assumed that migration and convection are the dominating transport mechanisms across outflow boundaries, and therefore that diffusive transport can be ignored; that is:
n Dc = 0
T H E E L E C T R O P H O R E T I C T R A N S P O R T I N T E R F A C E | 359
The Surface Reactions Interface
The Surface Reactions (sr) interface ( ), found under the Chemical Species Transport branch ( ) when adding a physics interface, is used to model the chemical reactions of surface and bulk species on a boundary. Surface species can be transported in the tangential direction of the surface by Fick's law whereas bulk species are assumed to be immobile on the surface. The physics interface supports simulation of surface reactions on boundaries in 1D, 2D, and 3D as well as for axisymmetric components in 1D and 2D. The dependent variables are the surface concentrations, cs,i (SI unit: mol/m2) and the bulk concentrations, cb,i (SI unit: mol/m2). 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.
360 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Enter the Number of bulk species. Use the Add bulk concentration ( ) and Remove bulk concentration ( ) buttons as needed. The same number of Bulk concentrations cb, cb2, cb3, ... 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.
CONSISTENT AND INCONSISTENT STABILIZATION
To display these sections, click the Show More Options button ( Stabilization in the Show More Options dialog box.
) and select
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.
See Surface Reaction Equations on Deforming Geometries for more information.
· Boundary, Edge, Point, and Pair Nodes for the Surface Reactions Interface
· Theory for the Surface Reactions Interface
Protein Adsorption: Application Library path Chemical_Reaction_Engineering_Module/Mixing_and_Separation/ protein_adsorption
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),
T H E S U R F A C E R E A C T I O N S I N T E R F A C E | 361
Physics context menu (Mac or Linux users), or right-click to access the context menu (all users).
In general, to add a node, go to the Physics toolbar, no matter what operating system you are using.Subnodes are available by clicking the parent node and selecting it from the Attributes menu.
These nodes are described in this section: · 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.
SPECIES CONSERVATION ON DEFORMING GEOMETRY
The Compensate for boundary stretching check box is selected by default. Click to clear the check box if required.
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. This section is only present if the number of surface species is 1 or higher.
362 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
SURFACE DIFFUSION
Select a Surface material from the list. The default is None. For each surface concentration species, the default Diffusion coefficient Di (SI unit: m2/ s) is User defined. Select Isotropic, Diagonal, Symmetric, or Full depending on the characteristics of the surface, and then enter values or expressions in the field or matrix. This section is only present if the number of surface species is 1 or higher.
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). This section is only present if the number of bulk species is 1 or higher.
Surface Reaction Equations on Deforming Geometries
Initial Values
The Initial Values node allows the initial value or guess for the surface and bulk concentrations.
INITIAL VALUES
Based on the number of surface species and number of bulk species entered for the physics interface under Dependent Variables section, enter values for the same number of Surface concentration cs, cs2, cs3, ... (SI unit: mol/m2) and Bulk concentration cb, cb2, cb3, ... (SI unit: mol/m2) in each field.
Reactions
The Reactions node adds rate expression terms to the species transport equations in order to account for consumption or production of species due to reactions.
REACTION RATE FOR SURFACE SPECIES
Add a reaction rate expression, Rs,cs1,cs2... (SI unit: mol/(m2·s)), for each surface species taking part in a surface reaction. This section is only present if the number of surface species is 1 or higher.
T H E S U R F A C E R E A C T I O N S I N T E R F A C E | 363
REACTION RATE FOR BULK SPECIES
Add a reaction rate expression, Rb,cb1,cb2... (SI unit: mol/(m2·s)), for each bulk species taking part in a surface reaction.
This section is only present if the number of bulk species is 1 or higher.
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 ( Physics Options in the Show More Options dialog box.
) and select Advanced
364 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The Vapor Flow Multiphysics Interfaces
The Vapor Flow multiphysics interfaces are predefined multiphysics interfaces, available in the Chemical Reaction Engineering Module, that couples fluid flow with the Transport of Concentrated Species in Vapor interface. Selecting a Vapor Flow multiphysics interface under the Chemical Species Transport>Vapor Flow branch of the Model Wizard, a Fluid Flow interface and a Transport of Concentrated Species in Vapor interface are added to the Model Builder. In addition, the Multiphysics node is added, which includes the multiphysics coupling feature Reacting Flow. The Reacting Flow feature predefines and controls the couplings between the separate interfaces in order to facilitate easy set up of models. The The Transport of Concentrated Species in Vapor Interface includes three dedicated boundary features for vapor transfer. The Vapor Inflow feature can be used to prescribe inflow conditions resulting from an upstream system involving a liquid. The VaporLiquid Interface feature ca n be used to model condensation and evaporation to or from a gas mixture in contact with a liquid. In the case of a liquid with multiple components, the VaporLiquid-Mixture Interface can be used to also model the composition in the liquid. In this section: · Laminar Vapor Flow, Concentrated Species · Laminar Vapor Flow, Concentrated Species, Moving Mesh · Turbulent Vapor Flow, Concentrated Species · Turbulent Vapor Flow, , Concentrated Species · Turbulent Vapor Flow, SST, Concentrated Species · Turbulent Vapor Flow, Low Re , Concentrated Species
Laminar Vapor Flow, Concentrated Species
The Laminar Flow, Concentrated Species ( ) version of the Vapor Flow multiphysics interface is used to simulate species transport in a vapor mixture coupled to laminar flow. The interface contains functionality for mass transfer at vaporliquid surfaces and
T H E V A P O R F L O W M U L T I P H Y S I C S I N T E R F A C E S | 365
combines the Transport of Concentrated Species in Vapor and the Laminar Flow interfaces. The Reacting Flow multiphysics coupling, which is added automatically, couples vapor mass transport and fluid flow.
Laminar Vapor Flow, Concentrated Species, Moving Mesh
The Laminar Flow, Concentrated Species, Moving Mesh ( ) version of the Vapor Flow multiphysics interface is used to simulate species transport in a vapor mixture coupled to laminar flow. The interface contains functionality for mass transfer at vaporliquid surfaces, as well as functionality for tracking the moving vaporliquid interface. The interface combines the Transport of Concentrated Species in Vapor and the Laminar Flow interfaces. The Reacting Flow multiphysics coupling, which is added automatically, couples vapor mass transport and fluid flow.
Turbulent Vapor Flow, Concentrated Species
The Turbulent Flow, -, Concentrated Species ( )version of the Vapor Flow multiphysics interface is used to simulate species transport in a vapor mixture coupled to turbulent flow. The interface contains functionality for mass transfer at vaporliquid surfaces and combines the Transport of Concentrated Species in Vapor and the Turbulent Flow, k- interfaces. The Reacting Flow multiphysics coupling, which is added automatically, couples vapor mass transport and turbulent fluid flow. This interface requires a license for the CFD Module or the Heat Transfer Module.
Turbulent Vapor Flow, , Concentrated Species
The Turbulent Flow, -, Concentrated Species ( )version of the Vapor Flow multiphysics interface is used to simulate species transport in a vapor mixture coupled to turbulent flow. The interface contains functionality for mass transfer at vaporliquid surfaces and combines the Transport of Concentrated Species in Vapor and the Turbulent Flow, k- interfaces. The Reacting Flow multiphysics coupling, which is added automatically, couples vapor mass transport and turbulent fluid flow.
366 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
This interface requires a license for the CFD Module.
Turbulent Vapor Flow, SST, Concentrated Species
The Turbulent Flow, SST, Concentrated Species ( )version of the Vapor Flow multiphysics interface is used to simulate species transport in a vapor mixture coupled to turbulent flow. The interface contains functionality for mass transfer at vaporliquid surfaces and combines the Transport of Concentrated Species in Vapor and the Turbulent Flow, SST, interfaces. The Reacting Flow multiphysics coupling, which is added automatically, couples vapor mass transport and turbulent fluid flow. This interface requires a license for the CFD Module or the Heat Transfer Module.
Turbulent Vapor Flow, Low Re , Concentrated Species
The Turbulent Flow, Low Re -, Concentrated Species ( )version of the Vapor Flow multiphysics interface is used to simulate species transport in a vapor mixture coupled to turbulent flow. The interface contains functionality for mass transfer at vaporliquid surfaces and combines the Transport of Concentrated Species in Vapor and the Turbulent Flow, Low Re k- interfaces. The Reacting Flow multiphysics coupling, which is added automatically, couples vapor mass transport and turbulent fluid flow. This interface requires a license for the CFD Module or the Heat Transfer Module.
T H E V A P O R F L O W M U L T I P H Y S I C S I N T E R F A C E S | 367
The Reacting Flow, Concentrated Species Multiphysics Interface
Reacting Flow, Concentrated Species is a predefined multiphysics interface, available in the Chemical Reaction Engineering Module, that couples fluid flow with mass transport and reactions. Selecting Laminar Flow, Concentrated Species under the Chemical Species Transport>Reacting Flow branch of the Model Wizard or Add Physics windows, a Laminar Flow interface and a Transport of Concentrated Species interface are added to the Model Builder. In addition, the Multiphysics node is added, which includes the multiphysics coupling feature Reacting Flow. The Reacting Flow feature predefines and controls the couplings between the separate interfaces in order to facilitate easy set up of models. In this section: · The Reacting Laminar Flow, Concentrated Species Interface · The Reacting Flow Coupling Feature · Physics Interface Features
The Reacting Laminar Flow, Concentrated Species Interface
The Reacting Laminar Flow ( ) multiphysics interface is used to simulate laminar flow coupled to species transport in a gas or liquid. 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.
ON THE CONSTITUENT PHYSICS INTERFACES
The equations solved by the Laminar Flow interface are the NavierStokes equations for conservation of momentum and the continuity equation for conservation of mass. A
368 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Fluid Properties feature is active by default on the entire interface selection. A Porous Medium feature can be added in order to model flow in porous media by solving the Brinkman equations. The Transport of Concentrated Species interface solves for an arbitrary number of mass fractions. The species equations include transport by convection, diffusion and, optionally, migration in an electric field.
The Reacting Laminar Flow interface triggers pseudo time stepping for the flow equations when Use pseudo time stepping for stationary equation form in the Fluid Flow interface is set to Automatic from physics.
The Reacting Flow Coupling Feature
Use the Reacting Flow ( ) multiphysics coupling to simulate mass transport and reactions in a gas or liquid mixture where the fluid flow can be dependent on the mixture composition. When a Heat Transfer and a Chemistry interface are selected, use this coupling to simulate heat transfer additionally to mass transport and reactions. The coupling adds the heat source of reaction when a heat transfer interface is selected. No additional heat source needs to be defined to account for it in the heat transfer interface. It also accounts for the multiphysics stabilization terms, for work due to pressure forces and viscous dissipation. Select a Fluid Flow interface and a Species transport interface to couple fluid flow with mass transport. Chemistry and Heat Transfer are optional. They can be set to None when the coupling is used to simulate isothermal mixtures. When a Chemistry interface is selected and Heat Transfer is set to None, fluid properties are taken from the Chemistry interface. Set the Temperature to evaluate the fluid properties synchronized with all the physics interfaces at the given temperature. Select a Chemistry interface and Heat Transfer interface in order to account for the heat of reaction, enthalpy diffusion, viscous heating and mass fluxes contributing to the heat and energy balance.
When Chemistry is set to None and a Heat Transfer interface is selected, the coupling is solved in the same way as when no Heat Transfer interface is selected. Thermodynamic properties are required by the Heat Transfer interface.
T H E R E A C T I N G F L O W , C O N C E N T R A T E D S P E C I E S M U L T I P H Y S I C S I N T E R F A C E | 369
The pressure, velocity, and temperature variables of the Reacting Flow coupling node are set to the Common Model Input values of the Default Model Inputs node on the complementary selection, that is, all domains except those from the Selection list. It allows to couple multiple fluid flow or transport of species interfaces with a single heat transfer interface. See Default Model Inputs in the COMSOL Multiphysics Reference Manual for details.
DOMAIN LEVEL SYNCHRONIZATION
The Reacting Flow coupling synchronizes the features from a Chemistry interface, Heat Transfer interface, Single-Phase Flow, or Brinkman Equations, interface and a Transport of Concentrated Species interface. When the Chemistry interface is not selected, the density in the Single-Phase Flow interface is automatically synchronized to the one defined by the Transport of Concentrated Species interface.
The velocity field used by the Transport of Concentrated Species interface and Heat Transfer interface is synchronized to the one computed in the Single-Phase Flow interface.
When a Chemistry interface is selected, the Reacting Flow coupling synchronizes the definition of the thermal conductivity, density, heat capacity, enthalpy, and dynamic viscosity with the other coupled physics interfaces. The reference temperature is taken from the Heat Transfer interface.
THE STEFAN VELOCITY
The Reacting Flow coupling feature automatically couples mass transfer on boundaries and applies a corresponding velocity contribution for the flow. Prescribing a net mass boundary flux in the Transport of Concentrated Species interface, either using a Flux or Mass Fraction feature, the Reacting Flow feature computes The Stefan Velocity and applies this in Wall features using the same selection.
MASS TRANSFER TO OTHER PHASES IN POROUS MEDIA
When coupled to the Brinkman Equations interface, the Reacting Flow node automatically computes the net mass source or sink in a Reactions (when Mass transfer to other phases is enabled) node in the Transport of Concentrated Species interface and adds the corresponding source/sink to the momentum equations of the Fluid and Matrix Properties domains.
370 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
TURBULENT MASS TRANSFER
When a turbulence model is used, the Reacting Flow coupling applies turbulence modeling for the mass transport in the following manners: · Turbulent heat transfer and mass transport are added, defined from the turbulent
viscosity and a turbulent Schmidt number (for more information, see Turbulent Mass Transport Models). · Temperature and mass transport wall functions. When a turbulence model using wall functions is used for the fluid flow, the Reacting Flow coupling automatically adds wall functions for the temperature and mass transport on the same boundaries (for more information, see Mass Transport Wall Functions).
SETTINGS
The Label is the default multiphysics coupling feature name. The Name is used primarily as a scope prefix for variables defined by the coupling node. Refer to such variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different coupling nodes or physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter. The default Name (for the first multiphysics coupling feature in the model) is nirf1.
DOMAIN SELECTION
The Reacting Flow coupling is automatically defined on the intersection of the selections for the coupled interfaces. When modeling porous media transport a Porous Medium feature, applied on the same domains, is needed in all coupled transport interfaces. Reacting Flow coupling supports porous media transport in Fluid flow and Species transport interfaces. The Selection list displays the domains where the coupling feature is active.
COUPLED INTERFACES
This section defines the physics involved in the multiphysics coupling. The Fluid flow, Species transport, Chemistry, Heat Transfer lists include all applicable physics interfaces.
T H E R E A C T I N G F L O W , C O N C E N T R A T E D S P E C I E S M U L T I P H Y S I C S I N T E R F A C E | 371
The default values depend on how this coupling node is created. · If it is added from the Physics ribbon (Windows users), Physics contextual toolbar
(Mac and Linux users), or context menu (all users), then the first physics interface of each type in the component is selected as the default. · If it is added automatically when a multiphysics interface is chosen in the Model Wizard or Add Physics window, then the two participating physics interfaces are selected. You can also select None from a list to uncouple the node from a physics interface. Click the Go to Source buttons ( ) to move to the main physics interface node for the selected physics interface. Click the Show or Hide Physics Properties Settings button ( ) to toggle the display of physics properties settings affecting the coupling feature. When a turbulence model is used, turbulent heat and mass transfer is automatically accounted for (see the settings in the Turbulence section below). Using Reacting Flow, the heat and mass transfer treatment at walls follows that applied for the fluid flow. Therefore the Wall treatment setting is also displayed when using a turbulence model. For more information on turbulent mass transfer at walls, see the section Mass Transport Wall Functions in the CFD Module User's Guide.
If a physics interface is deleted and then added to the model again, then in order to reestablish the coupling, you need to choose the physics interface again from the Fluid flow, Species transport, Chemistry and Heat Transfer lists. This is applicable to all multiphysics coupling nodes that would normally default to the once present interface. See Multiphysics Modeling Workflow in the COMSOL Multiphysics Reference Manual.
MASS TRANSPORT TURBULENCE MODEL
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
372 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
Ni T
=
-----T--ScT
i
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.
HEAT TRANSFER TURBULENCE MODEL
This section is available when a Heat Transfer interface is selected and the fluid flow interface uses a turbulence model. Select an option from the Heat transport turbulence model list: Kays-Crawford (the default), Extended Kays-Crawford, or User-defined turbulent Prandtl number.
For Extended Kays-Crawford, enter a Reynolds number at infinity Reinf (dimensionless). For User-defined turbulent Prandtl number, enter a Turbulent Prandtl number prT (dimensionless).
When the flow interface uses a RANS turbulence model, the conductive heat flux is defined as
q = k + kTT
with the turbulent thermal conductivity defined as
kT
=
----T----C----pPrT
where T is defined by the flow interface, and PrT depends on the Heat transport turbulence model. See Turbulent Conductivity for details.
The Turbulence model type used by the fluid flow interface can be displayed by selecting the Show or Hide Physics Property Settings button at the right of the Fluid flow list.
Physics Interface Features
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).
In general, to add a node, go to the Physics toolbar, no matter what operating system you are using.
T H E R E A C T I N G F L O W , C O N C E N T R A T E D S P E C I E S M U L T I P H Y S I C S I N T E R F A C E | 373
LAMINAR FLOW
The available physics features for The Laminar Flow interface are listed in the section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow in the COMSOL Multiphysics Reference Manual.
TRANSPORT OF CONCENTRATED SPECIES
The available physics features for The Transport of Concentrated Species interface are listed in the section Domain, Boundary, and Pair Nodes for the Transport of Concentrated Species Interface.
374 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The Reacting Flow, Diluted Species Multiphysics Interface
Reacting Flow, Diluted Species is a predefined multiphysics interface, available in the Chemical Reaction Engineering Module, that couples fluid flow with mass transport and reactions. Selecting Laminar Flow, Diluted Species under the Chemical Species Transport>Reacting Flow branch of the Model Wizard or Add Physics windows, a Laminar Flow interface and a Transport of Diluted Species interface are added to the Model Builder. In addition, the Multiphysics node is added, which includes the multiphysics coupling feature Reacting Flow, Diluted Species. The Reacting Flow, Diluted Species feature predefines and controls the couplings between the separate interfaces in order to facilitate easy set up of models. In this section: · The Reacting Laminar Flow, Diluted Species Interface · The Reacting Flow, Diluted Species Coupling Feature · Physics Interface Features
The Reacting Laminar Flow, Diluted Species Interface
The Reacting Laminar Flow, Diluted Species multiphysics interface ( ) is used to simulate laminar flow coupled to transport of dilute solutes in a gas or liquid. It combines the Laminar Flow, and Transport of Diluted Species interfaces. The Reacting Flow, Diluted Species 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 mass transfer solves for the development of one or several solutes dissolved in a gas or liquid solvent. The interface can be used for stationary and time-dependent analysis in 2D, 2D axial symmetry, and 3D. On the constituent physics interfaces: The equations solved by the Laminar Flow interface are the NavierStokes equations for conservation of momentum and the continuity equation for conservation of mass. A
T H E R E A C T I N G F L O W , D I L U T E D S P E C I E S M U L T I P H Y S I C S I N T E R F A C E | 375
Fluid Properties feature is active by default on the entire interface selection. A Porous Medium feature can be added in order to model flow in porous media by solving the Brinkman equations.
The Transport of Diluted Species interface solves for an arbitrary number of concentrations. The species equations include transport by convection, diffusion and, optionally, migration in an electric field.
The Reacting Flow, Diluted Species Coupling Feature
The Reacting Flow, Diluted Species ( ) multiphysics coupling is used to simulate mass transport and reactions in a gas or liquid.
DOMAIN LEVEL SYNCHRONIZATION
The Reacting Flow, Diluted Species coupling synchronizes the features from a Single-Phase Flow, or Brinkman Equations, interface and a Transport of Diluted Species interface. When added, the velocity field used by the Transport of Diluted Species interface is synchronized to the one computed in the fluid flow interface.
TURBULENT MASS TRANSFER
When a turbulence model is used, the Reacting Flow, Diluted Species coupling applies turbulence modeling for the mass transport in the following manners:
· Turbulent mass transport is added, defined from the turbulent viscosity and a turbulent Schmidt number (for more information, see Turbulent Mass Transport Models).
· Mass transport wall functions. When a turbulence model using wall functions is used for the fluid flow, the Reacting Flow coupling automatically adds wall functions for the mass transport on the same boundaries (for more information, see Mass Transport Wall Functions).
SETTINGS
The Label is the default multiphysics coupling feature name.
The Name is used primarily as a scope prefix for variables defined by the coupling node. Refer to such variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different coupling nodes or physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first multiphysics coupling feature in the model) is rfd1.
376 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
DOMAIN SELECTION
The Reacting Flow, Diluted Species 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. The default values depend on how this coupling node is created. · If it is added from the Physics ribbon (Windows users), Physics contextual toolbar
(macOS 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 Fluid Flow 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.
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 -- KaysCrawford, High Schmidt Number, or User-defined turbulent Schmidt number. For User-defined turbulent Schmidt number, enter a Turbulent Schmidt number ScT (dimensionless).
T H E R E A C T I N G F L O W , D I L U T E D S P E C I E S M U L T I P H Y S I C S I N T E R F A C E | 377
The turbulent mass transfer added to the concentration equations is defined as
JT i
=
-----T--ScT
ci
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.
Physics Interface Features
Physics nodes are available from the Physics ribbon toolbar (Windows users), Physics context menu (macOS or Linux users), or right-click to access the context menu (all users).
In general, to add a node, go to the Physics toolbar, no matter what operating system you are using.
LAMINAR FLOW
The available physics features for The Laminar Flow interface are listed in the section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow in the CFD Module User's Guide.
TRANSPORT OF DILUTED SPECIES
The available physics features for The Transport of Diluted Species interface are listed in the section Domain, Boundary, and Pair Nodes for the Transport of Diluted Species Interface.
378 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The Reacting Flow in Porous Media Multiphysics Interfaces
The Chemical Reaction Engineering Module includes a number of predefined multiphysics interfaces that couple fluid flow in porous media with mass transport and reactions in porous media. Selecting a multiphysics interface under the Chemical Species Transport>Reacting Flow in Porous Media branch of the Model Wizard or Add Physics windows, a Brinkman Equations interface combined with either the Transport of Diluted Species in Porous Media interface or the Transport of Concentrated Species interfaces are added to the Model Builder. In addition, the Multiphysics node is added, which includes the multiphysics coupling feature. The multiphysics coupling feature controls the coupling between the separate interfaces in order to facilitate easy setup of models. In this section: · The Reacting Flow in Porous Media, Transport of Diluted Species Interface · The Reacting Flow in Porous Media, Transport of Concentrated Species Interface · The Reacting Flow in Porous Catalysts, Transport of Diluted Species Interface · The Reacting Flow in Porous Catalysts, Transport of Concentrated Species
Interface · The Reacting Flow in Packed Beds, Transport of Diluted Species Interface · The Reacting Flow in Packed Beds, Transport of Concentrated Species Interface · The Reacting Flow, Diluted Species Coupling Feature · The Reacting Flow Coupling Feature · Physics Interface Features
The Reacting Flow in Porous Media, Transport of Diluted Species Interface
The Reacting Flow in Porous Media, Transport of Diluted Species interface ( ) is used to study the flow and chemical composition of a gas or liquid moving through the interstices of a porous medium.
T H E R E A C T I N G F L O W I N P O R O U S M E D I A M U L T I P H Y S I C S I N T E R F A C E S | 379
It combines the Brinkman Equations, and Transport of Diluted Species in Porous Media interfaces. The Reacting Flow, Diluted Species multiphysics coupling feature, which is added automatically, couples the fluid flow and mass transport. A Porous Material node, including a Fluid and a Solid subnode, is also added to the component. The interface can be used for stationary and time-dependent analysis in 2D, 2Daxi, and 3D. On the constituent physics interfaces: The Brinkman Equations interface computes the fluid velocity and pressure fields of single-phase flow in porous media in the laminar flow regime. A Porous Medium feature is active by default on the entire interface selection. The Transport of Diluted Species in Porous Media interface computes the species concentration in free and porous media, assuming that the species are solutes, dissolved in a solvent of significantly higher concentration. A Porous Medium feature is active by default on the entire interface selection.
The Reacting Flow in Porous Media, Transport of Concentrated Species Interface
The Reacting Flow in Porous Media, Transport of Concentrated Species interface ( ) is used to study the flow and chemical composition of a gas or liquid moving through the interstices of a porous medium. The fluid can consist of a mixture of species where the individual concentrations are of comparable order of magnitude. It combines the Brinkman Equations, and Transport of Concentrated Species interfaces. The Reacting Flow multiphysics coupling feature, which is added automatically, couples the fluid flow and mass transport. A Porous Material node is also added to the component. The interface can be used for stationary and time-dependent analysis in 2D, 2Daxi, and 3D. On the constituent physics interfaces: The Brinkman Equations interface computes the fluid velocity and pressure fields of single-phase flow in porous media in the laminar flow regime. A Porous Medium feature is active by default on the entire interface selection.
380 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The Transport of Concentrated Species in Porous Media interface solves for an arbitrary number of mass fractions in free and porous media. In the current multiphysics interface a Porous Medium feature is active by default on the entire interface selection.
The Reacting Flow in Porous Catalysts, Transport of Diluted Species Interface
The Reacting Flow in Porous Catalysts, Transport of Diluted Species interface ( ) is used to study the impact of adsorption and heterogeneous reactions involving chemical species, as a gas or liquid is moving through the interstices of a porous medium. It combines the Brinkman Equations interface ( ), and the Transport of Diluted Species in Porous Catalysts interface ( ). The Reacting Flow, Diluted Species multiphysics coupling, which is added automatically, couples fluid flow and mass transport. A Porous Material node, including a Fluid and a Solid subnode, is also added to the component. The interface can be used for stationary and time-dependent analysis in 2D, 2Daxi, and 3D. On the constituent physics interfaces: The Brinkman Equations interface computes the fluid velocity and pressure fields of single-phase flow in porous media in the laminar flow regime. A Porous Medium feature is active by default on the entire interface selection. The Transport of Diluted Species in Porous Catalysts interface solves for the concentration of an arbitrary number of bulk species, and optionally, an arbitrary number of surface species and porous media. The bulk species are assumed to be solutes, dissolved in a solvent of significantly higher concentration. In the current multiphysics interface a Porous Catalyst feature is active by default on the entire interface selection.
The Reacting Flow in Porous Catalysts, Transport of Concentrated Species Interface
The Reacting Flow in Porous Catalysts, Transport of Concentrated Species interface ( ) is used to study the impact of adsorption and heterogeneous reactions involving chemical species, as a gas or liquid is moving through the interstices of a porous medium.
T H E R E A C T I N G F L O W I N P O R O U S M E D I A M U L T I P H Y S I C S I N T E R F A C E S | 381
It combines the Brinkman Equations interface ( ), and the Transport of Concentrated Species in Porous Catalysts interface ( ). The Reacting Flow, Diluted Species multiphysics coupling, which is added automatically, couples fluid flow and mass transport. A Porous Material node is also added to the component.
The interface can be used for stationary and time-dependent analysis in 2D, 2Daxi, and 3D.
On the constituent physics interfaces:
The Brinkman Equations interface computes the fluid velocity and pressure fields of single-phase flow in porous media in the laminar flow regime. A Porous Medium feature is active by default on the entire interface selection.
The Transport of Concentrated Species in Porous Catalysts interface solves for the concentration of an arbitrary number of fluid phase mass fractions, and optionally, an arbitrary number of surface species in porous media. In the current multiphysics interface a Porous Catalyst feature is active by default on the entire interface selection.
The Reacting Flow in Packed Beds, Transport of Diluted Species Interface
The Reacting Flow in Packed Beds, Transport of Diluted Species interface ( ) is used to model a reactor filled with porous catalytic pellets. In addition to interparticle mass transport, intraparticle transport of chemical species and reactions can be studied in detail.
It combines the Brinkman Equations interface ( ), and a Transport of Diluted Species in Packed Beds interface ( ). The Reacting Flow, Diluted Species multiphysics coupling, which is added automatically, couples fluid flow and mass transport. A Porous Material node, including a Fluid and a Solid subnode, is also added to the component.
The interface can be used for stationary and time-dependent analysis in 2D, 2Daxi, and 3D.
On the constituent physics interfaces:
The Brinkman Equations interface computes the fluid velocity and pressure fields of single-phase flow in porous media in the laminar flow regime. A Porous Medium feature is active by default on the entire interface selection.
The Transport of Diluted Species in Packed Beds interface solves for the concentration of an arbitrary number of bulk species, and optionally, an arbitrary number of surface
382 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
species in porous pellets. The bulk species are assumed to be solutes, dissolved in a solvent of significantly higher concentration. In the current multiphysics interface a Packed Bed feature is active by default on the entire interface selection.
The Reacting Flow in Packed Beds, Transport of Concentrated Species Interface
The Reacting Flow in Packed Beds, Transport of Concentrated Species interface ( ) is used to model a reactor filled with porous catalytic pellets. In addition to interparticle mass transport, intraparticle transport of chemical species and reactions can be studied in detail. It combines the Brinkman Equations interface ( ), and a Transport of Concentrated Species in Packed Beds interface ( ). The Reacting Flow multiphysics coupling, which is added automatically, couples fluid flow and mass transport. A Porous Material node, including a Fluid and a Solid subnode, is also added to the component. The interface can be used for stationary and time-dependent analysis in 2D, 2Daxi, and 3D. On the constituent physics interfaces: The Brinkman Equations interface computes the fluid velocity and pressure fields of single-phase flow in porous media in the laminar flow regime. A Porous Medium feature is active by default on the entire interface selection. The Transport of Concentrated Species in Packed Beds interface solves for the concentration of an arbitrary number of fluid phase mass fractions, and optionally, an arbitrary number of surface species in porous pellets. In the current multiphysics interface a Packed Bed feature is active by default on the entire interface selection.
The Reacting Flow, Diluted Species Coupling Feature
For the settings of this feature see The Reacting Flow, Diluted Species Coupling Feature.
The Reacting Flow Coupling Feature
For the settings of this feature see The Reacting Flow Coupling Feature.
T H E R E A C T I N G F L O W I N P O R O U S M E D I A M U L T I P H Y S I C S I N T E R F A C E S | 383
Physics Interface Features
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).
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.
TRANSPORT OF DILUTED SPECIES
The available physics features for The Transport of Diluted Species interface are listed in the Domain, Boundary, and Pair Nodes for the Transport of Diluted Species Interface section.
TRANSPORT OF CONCENTRATED SPECIES
The available physics features for The Transport of Concentrated Species interface are listed in the Domain, Boundary, and Pair Nodes for the Transport of Concentrated Species Interface section.
384 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The Nonisothermal Reacting Flow Multiphysics Interfaces
Nonisothermal Reacting Flow is a predefined multiphysics interface, available in the Chemical Reaction Engineering Module, that couples fluid flow and heat transfer with species transport and reactions. Selecting an entry in the Chemical Species Transport>Nonisothermal Reacting Flow branch of the Model Wizard, or Add Physics windows, the following four physics interfaces are added to the Model Builder: · Chemistry · Transport of Concentrated Species · Laminar Flow, or a turbulent flow equivalent like Turbulent Flow, k-. · Heat Transfer in Fluids In addition, the Multiphysics node is added, which includes the multiphysics coupling feature Reacting Flow. The Reacting Flow feature predefines and controls the couplings between the separate interfaces in order to facilitate set up of models. In this section: · The Nonisothermal Reacting Laminar Flow Interface · The Nonisothermal Reacting Turbulent Flow, k- Interface · The Nonisothermal Reacting Turbulent Flow, k- Interface · The Nonisothermal Reacting Turbulent Flow, SST Interface · The Nonisothermal Reacting Turbulent Flow, Low Re k- Interface · The Reacting Flow Coupling Feature · Physics Interface Features
The Nonisothermal Reacting Laminar Flow Interface
The Nonisothermal Reacting Laminar Flow ( ) multiphysics interface is used to simulate laminar flow and heat transfer coupled to species transport in a gas or liquid moving either in a free flow or through the interstices of a porous medium. It combines the Chemistry, Transport of Concentrated Species, Laminar Flow, and Heat Transfer in Fluids interfaces. The Reacting Flow multiphysics coupling, which is added
T H E N O N I S O T H E R M A L R E A C T I N G F L O W M U L T I P H Y S I C S I N T E R F A C E S | 385
automatically, couples fluid flow, heat transfer, and mass transfer. The species transport supports both a mixture, where the concentrations are of comparable order of magnitude, and low-concentration solutes in a solvent.
The multiphysics coupling takes into account the heat of reaction in the fluid and at the surface of a porous catalyst, enthalpy diffusion, and contributing mass fluxes. In addition, the temperature dependency of the chemical properties and reactions are accounted for.
The interface can be used for stationary and time-dependent analysis in 2D, 2D axial symmetry, and 3D.
On the constituent physics interfaces:
The Chemistry interface defines thermodynamic properties and transport properties of the fluid. Provided that properties of each species have been defined, composition dependent mixture properties such as the heat capacity, the density, and the heat conduction are defined. The Chemistry interface also defines reaction rates for species involved in the chemical reactions added to the system.
The Transport of Concentrated Species interface solves for an arbitrary number of mass fractions. The species equations include transport by convection, diffusion and, optionally, migration in an electric field. A Transport Properties feature is active by default on the entire interface selection
The equations solved by the Laminar Flow interface are the NavierStokes equations for conservation of momentum and the continuity equation for conservation of mass. A Fluid Properties feature is active by default on the entire interface selection.
The Heat Transfer interface solves for conservation of energy. A Fluid feature is active by default on the entire interface selection.
The Nonisothermal Reacting Turbulent Flow, k- Interface
The Nonisothermal Reacting Turbulent Flow, k- ( ) multiphysics interface is used to simulate flow in the turbulent regime, heat transfer, and species transport and in a gas or liquid moving either in a free flow or through the interstices of a porous medium. This interface requires a license for either the CFD Module or the Heat Transfer Module.
It combines the Chemistry, Transport of Concentrated Species, Turbulent Flow, k-, and Heat Transfer in Fluids interfaces. The Reacting Flow multiphysics coupling, which is added automatically, couples fluid flow, heat transfer and mass transfer. The species
386 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
transport supports both a mixture, where the concentrations are of comparable order of magnitude, and low-concentration solutes in a solvent.
The multiphysics coupling takes into account the heat of reaction in the fluid and at the surface of a porous catalyst, enthalpy diffusion, and contributing mass fluxes. In addition, the temperature dependency of the chemical properties and reactions are accounted for.
The interface can be used for stationary and time-dependent analysis in 2D, 2D axial symmetry, and 3D.
On the constituent physics interfaces:
The Chemistry interface defines thermodynamic properties and transport properties of the fluid. Provided that properties of each species have been defined, composition dependent mixture properties such as the heat capacity, the density, and the heat conduction are defined. The Chemistry interface also defines reaction rates for species involved in the chemical reactions added to the system.
The Transport of Concentrated Species interface solves for an arbitrary number of mass fractions. The species equations include transport by convection, diffusion and, optionally, migration in an electric field. Mass transfer close to walls is modeled using wall functions
The equations solved by the Turbulent Flow, k- interface are the NavierStokes equations for conservation of momentum and the continuity equation for conservation of mass. Turbulence effects are modeled using the standard two-equation k- model with realizability constraints. Flow close to walls is modeled using wall functions.
The Heat Transfer interface solves for conservation of energy. A Fluid feature is active by default on the entire interface selection. Heat transfer close to walls is modeled using wall functions.
The Nonisothermal Reacting Turbulent Flow, k- Interface
The Nonisothermal Reacting Turbulent Flow, k- ( ) multiphysics interface is used to simulate flow in the turbulent regime, heat transfer, and species transport and in a gas or liquid moving either in a free flow or through the interstices of a porous medium. This interface requires a license for the CFD Module.
It combines the Chemistry, Transport of Concentrated Species, Turbulent Flow, k-, and Heat Transfer in Fluids interfaces. The Reacting Flow multiphysics coupling, which is
T H E N O N I S O T H E R M A L R E A C T I N G F L O W M U L T I P H Y S I C S I N T E R F A C E S | 387
added automatically, couples fluid flow, heat transfer and mass transfer. The species transport supports both a mixture, where the concentrations are of comparable order of magnitude, and low-concentration solutes in a solvent.
The multiphysics coupling takes into account the heat of reaction in the fluid and at the surface of a porous catalyst, enthalpy diffusion, and contributing mass fluxes. In addition, the temperature dependency of the chemical properties and reactions are accounted for.
The interface can be used for stationary and time-dependent analysis in 2D, 2D axial symmetry, and 3D.
On the constituent physics interfaces:
The Chemistry interface defines thermodynamic properties and transport properties of the fluid. Provided that properties of each species have been defined, composition dependent mixture properties such as the heat capacity, the density, and the heat conduction are defined. The Chemistry interface also defines reaction rates for species involved in the chemical reactions added to the system.
The Transport of Concentrated Species interface solves for an arbitrary number of mass fractions. The species equations include transport by convection, diffusion and, optionally, migration in an electric field. Mass transfer close to walls is modeled using wall functions
The equations solved by the Turbulent Flow, k- interface are the NavierStokes equations for conservation of momentum and the continuity equation for conservation of mass. The fluid flow turbulence is modeled using the Wilcox revised k- model with realizability constraints. Flow close to walls is modeled using wall functions.
The Heat Transfer interface solves for conservation of energy. A Fluid feature is active by default on the entire interface selection. Heat transfer close to walls is modeled using wall functions.
The Nonisothermal Reacting Turbulent Flow, SST Interface
The Nonisothermal Reacting Turbulent Flow, SST ( ) multiphysics interface is used to simulate flow in the turbulent regime, heat transfer, and species transport and in a gas or liquid moving either in a free flow or through the interstices of a porous medium. This interface requires a license for either the CFD Module or the Heat Transfer Module.
388 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
It combines the Chemistry, Transport of Concentrated Species, Turbulent Flow, SST, and Heat Transfer in Fluids interfaces. The Reacting Flow multiphysics coupling, which is added automatically, couples fluid flow, heat transfer and mass transfer. The species transport supports both a mixture, where the concentrations are of comparable order of magnitude, and low-concentration solutes in a solvent.
The multiphysics coupling takes into account the heat of reaction in the fluid and at the surface of a porous catalyst, enthalpy diffusion, and contributing mass fluxes. In addition, the temperature dependency of the chemical properties and reactions are accounted for.
The interface can be used for stationary and time-dependent analysis in 2D, 2D axial symmetry, and 3D.
On the constituent physics interfaces:
The Chemistry interface defines thermodynamic properties and transport properties of the fluid. Provided that properties of each species have been defined, composition dependent mixture properties such as the heat capacity, the density, and the heat conduction are defined. The Chemistry interface also defines reaction rates for species involved in the chemical reactions added to the system.
The Transport of Concentrated Species interface solves for an arbitrary number of mass fractions. The species equations include transport by convection, diffusion and, optionally, migration in an electric field. Mass transfer close to walls is modeled using wall functions
The equations solved by the Turbulent Flow, SST interface are the NavierStokes equations for conservation of momentum and the continuity equation for conservation of mass. The fluid flow turbulence is modeled using the SST model. The SST model is a low-Reynolds number model which means that it resolves the velocity, pressure, and concentrations all the way down to the wall. For that reason this physics interface is suited for studying mass transfer at high Schmidt numbers. The SST model depends on the distance to the closest wall, and the interface therefore includes a wall distance equation.
The Heat Transfer interface solves for conservation of energy. A Fluid feature is active by default on the entire interface selection. Heat transfer close to walls is modeled using wall functions.
T H E N O N I S O T H E R M A L R E A C T I N G F L O W M U L T I P H Y S I C S I N T E R F A C E S | 389
The Nonisothermal Reacting Turbulent Flow, Low Re k- Interface
The Nonisothermal Reacting Turbulent Flow, Low Re k- ( ) multiphysics interface is used to simulate flow in the turbulent regime, heat transfer, and species transport and in a gas or liquid moving either in a free flow or through the interstices of a porous medium. This interface requires a license for either the CFD Module or the Heat Transfer Module.
It combines the Chemistry, Transport of Concentrated Species, Turbulent Flow, Low Re k-, and Heat Transfer in Fluids interfaces. The Reacting Flow multiphysics coupling, which is added automatically, couples fluid flow, heat transfer and mass transfer. The species transport supports both a mixture, where the concentrations are of comparable order of magnitude, and low-concentration solutes in a solvent.
The multiphysics coupling takes into account the heat of reaction in the fluid and at the surface of a porous catalyst, enthalpy diffusion, and contributing mass fluxes. In addition, the temperature dependency of the chemical properties and reactions are accounted for.
The interface can be used for stationary and time-dependent analysis in 2D, 2D axial symmetry, and 3D.
On the constituent physics interfaces:
The Chemistry interface defines thermodynamic properties and transport properties of the fluid. Provided that properties of each species have been defined, composition dependent mixture properties such as the heat capacity, the density, and the heat conduction are defined. The Chemistry interface also defines reaction rates for species involved in the chemical reactions added to the system.
The Transport of Concentrated Species interface solves for an arbitrary number of mass fractions. The species equations include transport by convection, diffusion and, optionally, migration in an electric field. Mass transfer close to walls is modeled using wall functions
The equations solved by the Turbulent Flow, Low Re k- interface are the NavierStokes equations for conservation of momentum and the continuity equation for conservation of mass. The fluid flow turbulence is modeled using the AKN low-Reynolds number k-e model. The low-Reynolds number model resolves the velocity, pressure, and concentrations all the way down to the wall. For that reason this physics interface is suited for studying mass transfer at high Schmidt numbers. The
390 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
AKN model depends on the distance to the closest wall, and the interface therefore includes a wall distance equation. The Heat Transfer interface solves for conservation of energy. A Fluid feature is active by default on the entire interface selection. Heat transfer close to walls is modeled using wall functions.
The Reacting Flow Coupling Feature
For the settings of this feature see The Reacting Flow Coupling Feature.
Physics Interface Features
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).
In general, to add a node, go to the Physics toolbar, no matter what operating system you are using.
CHEMISTRY
The available physics features for the Chemistry interface are listed in the section Feature Nodes Available for the Chemistry Interface.
LAMINAR FLOW
The available physics features for The Laminar Flow interface are listed in the section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow in the CFD Module User's Guide.
TURBULENT FLOW
The available physics features for a single-phase flow interface using a turbulence model, for example the Turbulent Flow, k- interfaceis listed in the section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow in the CFD Module User's Guide.
T H E N O N I S O T H E R M A L R E A C T I N G F L O W M U L T I P H Y S I C S I N T E R F A C E S | 391
TRANSPORT OF CONCENTRATED SPECIES
The available physics features for the Transport of Concentrated Species interface are listed in the section Domain, Boundary, and Pair Nodes for the Transport of Concentrated Species Interface.
HEAT TRANSFER
The available physics features for the Heat Transfer interface are listed in the section The Heat Transfer Features in the COMSOL Multiphysics Reference Manual.
392 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The Dispersed Two-Phase Flow with Species Transport Multiphysics Interfaces
Dispersed Two-Phase Flow with Species Transport is a predefined multiphysics interface that couples dispersed two-phase flow with mass transport in both the continuous phase and in the dispersed phase. Selecting Laminar Flow under the Chemical Species Transport>Dispersed Two-Phase Flow with Species Transport branch of the Model Wizard or Add Physics windows, a Mixture Model, Laminar Flow interface along with a Continuous Phase Transport of Diluted Species interface and a Dispersed Phase Transport of Diluted Species interface are added to the Model Builder. In addition, the Multiphysics node is added, including the multiphysics coupling feature Dispersed Two-Phase Flow, Diluted Species. The Dispersed Two-Phase Flow, Diluted Species feature predefines and controls the couplings between the separate interfaces in order to facilitate easy setup of models. In this section: · The Dispersed Two-Phase Laminar Flow with Species Transport Interface · The Dispersed Two-Phase Flow, Diluted Species Coupling Feature · Physics Interface Features · The Continuous Phase Transport of Diluted Species Interface · The Dispersed Phase Transport of Diluted Species Interface
The Dispersed Two-Phase Laminar Flow with Species Transport Interface
This multiphysics interface ( ) is used to simulate two-phase flow, in the laminar regime, coupled to transport of dilute solutes in each the two fluid phases. It combines the Mixture Model, Laminar Flow, the Continuous Phase Transport of Diluted Species interface and the Dispersed Phase Transport of Diluted Species interface.
T H E D I S P E R S E D T W O - P H A S E F L O W W I T H S P E C I E S T R A N S P O R T M U L T I P H Y S I C S I N T E R F A C E S | 393
The Dispersed Two-Phase Flow, Diluted Species multiphysics coupling, which is added automatically, couples the two-phase flow with mass transport. The mass transport interfaces solve for the development of one or several solutes present in the continuous and dispersed fluid phase. The interface can be used for stationary and time-dependent analysis in 2D, 2D axial symmetry, and 3D. On the constituent physics interfaces: · The Mixture Model, Laminar Flow interface solves one set of NavierStokes equations
for the momentum of the mixture. The pressure distribution is calculated from a mixture-averaged continuity equation and the velocity of the dispersed phase is described by a slip model. The volume fraction of the dispersed phase is tracked by solving a transport equation for the volume fraction. · The Continuous Phase Transport of Diluted Species interface solves for an arbitrary number of solute concentrations present in the continuous phase. The species equations include transport by convection, and diffusion within the phase, as well as reactions and solute extraction between the continuous and dispersed phase. · The Dispersed Phase Transport of Diluted Species interface solves for an arbitrary number of solute concentrations present in the dispersed phase. The species equations include transport by convection, and diffusion within the phase, as well as reactions and solute extraction between the continuous and dispersed phase.
The Dispersed Two-Phase Flow, Diluted Species Coupling Feature
The Dispersed Two-Phase Flow, Diluted Species ( ) multiphysics coupling is used to simulate the fluid flow of a liquid containing a dispersed phase, together with mass transport occurring in the continuous phase and the dispersed phase. The coupling feature also support mass transfer (solute extraction) between the phases.
DOMAIN LEVEL SYNCHRONIZATION
The Dispersed Two-Phase Flow, Diluted Species coupling synchronizes the features in a Mixture Model interface, with those in the transport interfaces for each of the phases (Continuous Phase Transport of Diluted Species and Dispersed Phase Transport of Diluted Species). When added, the velocity field and the volume fraction of each of the phases, computed by the Mixture Model interface, is synchronized to the species transport interface for each phase.
394 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
SOLUTE EXTRACTION
Extraction is the process where a species is transferred between two immiscible phases due to different relative solubilities in each phase. Physically this transfer process occurs at the phase separating interfaces, the bubble or droplet surfaces in the case of dispersed two phase flow.
Use the check boxes to select which of the species that can be dissolved in both phases and is subjected to extraction. When multiple species are present in each phase, the species in the two mass transport interfaces are paired by position, from top to bottom, in the Concentrations list (in the Dependent Variables section when selecting an interface). During extraction, the species in the continuous phase physics interface is transferred into, or from, the corresponding species in the dispersed phase physics interface. The rate at which species is removed from the continuous phase is
Re,c = kmKpcc cdas = Re,d
(3-148)
where cc and cd are the concentration in the continuous and the dispersed phase respectively. Kp is the partition coefficient determining the phase partitioning at equilibrium, as is the dispersed phase specific surface area (m2/m3), and km is a mass transfer coefficient governing the transport from the bubble or droplet surfaces to the bulk of each phase. Note same source term but with opposite sign is added for the corresponding species in the dispersed phase.
Assuming that the dispersed phase particles are spherical, the specific surface area is computed from the dispersed phase volume fraction d and the particle radius rp in the manner of
as
=
3--------drp
(3-149)
When modeling phase transfer with a net mass change between the phases, and a corresponding change in the particle radius, Solve for interfacial area can be enabled in the settings of the coupled Mixture Model interface. In this case the resulting specific area is used in the extraction rate.
SETTINGS
The Label is the default multiphysics coupling feature name.
The Name is used primarily as a scope prefix for variables defined by the coupling node. Refer to such variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different coupling nodes or physics
T H E D I S P E R S E D T W O - P H A S E F L O W W I T H S P E C I E S T R A N S P O R T M U L T I P H Y S I C S I N T E R F A C E S | 395
interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter. The default Name (for the first multiphysics coupling feature in the model) is dds1.
DOMAIN SELECTION
The Dispersed Two-Phase Flow, Diluted Species 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 lists Dispersed Two-Phase Flow, Continuous phase species, and Dispersed phase species include the applicable physics interfaces of each kind. The default values depend on how this coupling node is created. · If it is added from the Physics ribbon (Windows users), Physics contextual toolbar
(macOS 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 Mixture Model, Laminar Flow is deleted, then the Dispersed Two-Phase Flow 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.
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 using the lists in the Coupled Interfaces section. 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.
396 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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 concentration equations is defined as
JT i
=
-----T--ScT
ci
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.
Physics Interface Features
Physics nodes are available from the Physics ribbon toolbar (Windows users), Physics context menu (macOS or Linux users), or right-click to access the context menu (all users).
In general, to add a node, go to the Physics toolbar, no matter what operating system you are using.
MIXTURE MODEL, LAMINAR FLOW
The available physics features for The Mixture Model Laminar Flow interface are listed in the section Domain and Boundary Nodes for the Mixture Model Interfaces in the CFD Module User's Guide.
CONTINUOUS PHASE TRANSPORT OF DILUTED SPECIES AND DISPERSED PHASE TRANSPORT OF DILUTED SPECIES
These interfaces are versions of the Transport of Diluted Species interface. The interfaces extends the functionality by supporting phase specific mass transport. Porous media transport, and migration in an electric field, are however not supported in the interfaces for phase specific mass transport. Apart from Transport Properties, the available features are described in the section Domain, Boundary, and Pair Nodes for the Transport of Diluted Species Interface.
T H E D I S P E R S E D T W O - P H A S E F L O W W I T H S P E C I E S T R A N S P O R T M U L T I P H Y S I C S I N T E R F A C E S | 397
The Continuous Phase Transport of Diluted Species Interface
The Continuous Phase Transport of Diluted Species interface is used to calculate the concentration of one or several a dilute solutes present in a continuous phase in a fluid with multiple immiscible phases. Transport and reactions of the species within the continuous phase can be handled with this interface. The driving forces for transport can be convection by the continuous phase velocity, diffusion by Fick's law, and turbulent diffusion, when the interface is used in a The Dispersed Two-Phase Flow, Diluted Species Coupling Feature.
The interface supports simulation of transport 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. It should be noted that the concentration solved for is the total concentration
ci = ccc i
(3-150)
comprised of the phase volume fraction, c, and the continuous phase concentration cc,i. For each concentration solved for, the interface defines a variable tds.phs_<concentration> corresponding to the phase concentration (cc,i). This can be used in boundary conditions and reaction rate expressions when the phase
concentration is to be prescribed or used.
The Continuous Phase Transport of Diluted Species interface is a version of the Transport of Diluted Species interface. Except for the transport mechanism settings described below, the interface settings are identical to those available in the The Transport of Diluted Species Interface.
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.
· Phase specific transport is enabled by default. When enabled, the Phase type can be set to Continuous or Dispersed. Clear the Phase specific transport check box to disable the support for a volume fraction and phase specific transport.
398 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
The Dispersed Phase Transport of Diluted Species Interface
The Dispersed Phase Transport of Diluted Species interface is used to calculate the concentration of one or several a dilute solutes present in a dispersed phase in a fluid with multiple immiscible phases. Transport and reactions of the species within the continuous phase can be handled with this interface. The driving forces for transport can be convection by the dispersed phase velocity, diffusion by Fick's law, and turbulent diffusion, when the interface is used in a The Dispersed Two-Phase Flow, Diluted Species Coupling Feature.
The interface supports simulation of species transport 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. It should be noted that the concentration solved for is the total concentration
ci = dcd i
(3-151)
comprised of the phase volume fraction, d, and the dispersed phase concentration cd,i. For each concentration solved for, the interface defines a variable tds.phs_<concentration> corresponding to the phase concentration (cd,i). This can be used in boundary conditions and reaction rate expressions when the phase concentration is to be prescribed or used.
The Dispersed Phase Transport of Diluted Species interface is a version of the Transport of Diluted Species interface. Except for the transport mechanism settings described below, the interface settings are identical to those available in the The Transport of Diluted Species Interface.
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.
· Phase specific transport is enabled by default. When enabled, the Phase type can be set to Continuous or Dispersed. Clear the Phase specific transport check box to disable the support for a volume fraction and phase specific transport.
T H E D I S P E R S E D T W O - P H A S E F L O W W I T H S P E C I E S T R A N S P O R T M U L T I P H Y S I C S I N T E R F A C E S | 399
Transport Properties
Use this node to define the volume fraction, the convective velocity, and the diffusion coefficient to use for the phase specific transport in a Continuous Phase Transport of Diluted Species interface or a Dispersed Phase Transport of Diluted Species interface.
Conservation of mass of a species i in an immiscible fluid phase is formulated as
----------i t
+
iu
=
Dii + Rm i
(3-152)
where is the phase volume fraction, i the species density, and u the (mass averaged) velocity of the phase, Di is the diffusion coefficient, and Rm,i is the species mass source. Using the species density definition i = cp,iMi, where cp,i is the species phase concentration, and diving by the molar mass Mi, the conservation equation becomes
-------c---p-----i t
+
c p
iu
=
Dicp i + Ri
(3-153)
Choosing to solve for the total concentration ci = cp,i, the equation is
---c---i t
+
ciu
=
Dici + Ri
(3-154)
The following equations are solved for the total species concentration in the continuous and the dispersed phase respectively
---c---c-----i t
+
cc
iuc
=
Dc i + DT icc i + Rc i
(3-155)
---c---d-----i t
+
cd
iud
=
Dd i + DT icd i + Rd i
(3-156)
Here DT,i is a turbulent dispersion coefficient accounting for the enhanced transport in turbulent flow. It is added by the Dispersed Two-Phase, Diluted Species coupling feature when the Mixture Model interface is using a turbulence model.
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.
400 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
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.
VOLUME FRACTION
Specify the phase volume fraction. Select the source of the Volume fraction, continuous phase or the source of the Volume fraction, dispersed phase. When using a Dispersed Two-Phase Flow, Diluted Species coupling feature, the volume fraction is automatically coupled to the one computed by the Mixture Model interface in the same coupling.
CONVECTION
If transport by convection is active, the velocity field of the phase in question needs to be specified. Select the source of the Velocity field, continuous phase or the source of the Velocity field, dispersed phase. When using a Dispersed Two-Phase Flow, Diluted Species coupling feature, the velocity is automatically coupled to the one computed by the Mixture Model interface in the same coupling.
DIFFUSION
Use this section to specify diffusion coefficients describing the diffusion of each species in the respective phase.
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.
Select Chemistry to use a diffusion coefficient from a Chemistry interface added to model component. Diffusion coefficients are automatically defined when Calculate transport properties is selected on the interface level of a Chemistry interface. All defined diffusion coefficients 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).
T H E D I S P E R S E D T W O - P H A S E F L O W W I T H S P E C I E S T R A N S P O R T M U L T I P H Y S I C S I N T E R F A C E S | 401
402 | C H A P T E R 3 : C H E M I C A L S P E C I E S T R A N S P O R T I N T E R F A C E S
4
Fluid Flow Interfaces
The functionality for simulating fluid flow in free, porous media is found under
the Fluid Flow branch ( ) when adding a physics interface. The documentation of the available interfaces and features can be found in the CFD Module User's Guide in the chapters Single-Phase Flow Interfaces and Porous Media and Subsurface Flow Interfaces.
403
Modeling Fluid Flow
In this section: · Available Physics Interfaces · Coupling to Other Physics Interfaces
Available Physics Interfaces
This module primarily models the transport and conversion of mass in chemical reactors and other reacting systems. Many of these applications include transport through convection, and the module includes a number of physics interfaces for the simulation of fluid flow, particularly within porous media. As with all other physical descriptions simulated by COMSOL Multiphysics, any description of fluid flow can be directly coupled to any other physical process. This is particularly relevant for systems based on turbulent or multiphase flow, which are supported by the CFD Module. For detailed descriptions of the fluid-flow interfaces listed below, see the CFD Module User's Guide. The Fluid Flow branch ( ) has a number of subbranches to describe momentum transport. The Laminar Flow Interface ( ), found under the Single-Phase Flow branch ( ) when adding a physics interface, is used to model laminar flow described by the Navier-Stokes equations. It is also possible to extend this physics interface to study nonisothermal or non-Newtonian flow. The Creeping Flow Interface ( ), also under the Single-Phase Flow branch ( ), is used to model flow fluid flows at very low Reynolds numbers, also referred to as Stokes flow. This typically occurs in fluid systems with high viscosity or small geometrical length scales (for example in microfluidics and MEMS devices). The rest of the available physics interfaces for fluid flow are found under the Porous Media and Subsurface Flow branch ( ). The Darcy's Law Interface ( ) is used to model fluid movement through interstices in a porous medium where a homogenization of the porous and fluid media into a single medium is done. This physics interface combines the continuity equation and an equation of state for the pore fluid (or gas), can be used to model low velocity flows, for which the pressure gradient is the major driving force.
404 | C H A P T E R 4 : F L U I D F L O W I N T E R F A C E S
Darcy's law can be used in porous media where the fluid is mostly influenced by the frictional resistance within the pores. When the size of the interstices are larger and the fluid is influenced by itself, the kinetic potential from fluid velocity, pressure, and gravity must be also be considered, and The Brinkman Equations Interface ( ) is the appropriate physics interface to use. The Brinkman equations extend Darcy's law to describe the dissipation of the kinetic energy by viscous shear, similar to the Navier-Stokes equation. Consequently, they are well suited to transitions between slow flow in porous media, governed by Darcy's law, and fast flow in channels described by the Navier-Stokes equations. The equations and boundary conditions that describe these types of phenomena are also found in The Free and Porous Media Flow, Brinkman Interface ( ). The Free and Porous Media Flow, Darcy Interface ( ) models porous media flow connected to free flow domains. This multiphysics interface couples the Laminar Flow interface with the Darcy's Law interface over their common boundaries. The next section briefly discusses coupling to other physics interfaces.
Coupling to Other Physics Interfaces
Often, you are simulating applications that couple fluid flow in free porous media to another type of phenomenon described in another physics interface. This can include chemical reactions and mass transport, as covered in the Chemical Species Transport branch, or energy transport in porous media found in the Heat Transfer branch. More advanced descriptions of fluid flow, such as turbulent and multiphase flow, can be found in the CFD Module. More extensive descriptions of heat transfer, such as that in turbulent flow or systems including radiation, can be found in the Heat Transfer Module. Furthermore, some applications that involve electrochemical reactions and porous electrodes, particularly in electrochemical power source applications, are better handled by the Battery Design Module.
M O D E L I N G F L U I D F L O W | 405
406 | C H A P T E R 4 : F L U I D F L O W I N T E R F A C E S
5
Heat Transfer Interfaces
The functionality for simulating heat transfer in free and porous media is found
under the Heat Transfer branch ( ) when adding a physics interface. The documentation of all features in the Heat Transfer in Porous Media interface can be found in the Heat Transfer Module User's Guide, in the chapter Heat Transfer Interfaces.
407
Modeling Heat Transfer
Available Physics Interfaces
Heat transfer is an important part of chemical reaction engineering. Most chemical reactions either require or produce heat, which in turn affects both the reactions themselves and other physical processes connected to the system. The heat transfer branch includes a number of physics interfaces for the simulation of heat transfer, particularly in porous media. As with all other physical descriptions simulated by COMSOL Multiphysics, any description of heat transfer can be directly coupled to any other physical process. This is particularly important for systems based on chemical reactions and mass transfer, along with fluid flow. You can manipulate these physics interfaces with respect to including source and sink terms or, in other words, account for exothermic or endothermic chemical reactions.
If you also have the Heat Transfer Module there are additional Heat Transfer interface features, such as radiation, available.
Coupling Heat Transfer with Other Physics Interfaces
The Reaction Engineering Interface includes support for setting up and simulating chemical reactions, including reaction kinetics through the temperature-dependent Arrhenius expression and mass action law. This physics interface also has support for including and calculating thermodynamic data as temperature-dependent expressions. The Reaction Engineering interface can generate a space-dependent model using any heat transfer interface to benefit from the bidirectional dependence between heat transfer and chemical reactions. More advanced descriptions of fluid flow, such as turbulent and multiphase flow, require the CFD Module. In addition, the Heat Transfer Module also includes more detailed descriptions and tools for simulating energy transport, such as radiation.
408 | C H A P T E R 5 : H E A T T R A N S F E R I N T E R F A C E S
6
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: · Using Thermodynamic Properties · Thermodynamic Models and Theory
409
Using Thermodynamic Properties
In this section: · Workflow for Thermodynamics Property Calculations · Thermodynamics · Thermodynamic System · External Thermodynamic Packages · External Thermodynamic System · Predefined System · Exporting and Importing Thermodynamic Systems · Species Property · Mixture Property · Equilibrium Calculation · Generate Chemistry · Generate Material · Coupling with the Reaction Engineering and the Chemistry Interfaces · Evaluating a Property Function in a Physics Interface · User-Defined Species · References
Workflow for Thermodynamics Property Calculations
The thermodynamic properties database, together with the thermodynamic calculator, make it possible to evaluate physical properties of fluids such as heat capacity, thermal conductivity, density, and diffusivity, as well as equilibrium compositions of two phases at equilibrium. The properties can be calculated for pure fluids, mixtures, and for two-phase fluid systems consisting of pure species as well as mixtures. Using the thermodynamics functionality involves the following main steps:
410 | C H A P T E R 6 : T H E R M O D Y N A M I C S
1 Add the Thermodynamics node and create a thermodynamic system to add properties for a selected set of chemical compounds, referred to as chemical species in this manual. A thermodynamic system can be created in the following ways: - A built-in Thermodynamic System uses the built-in, or user-defined, property database with native functionality for thermodynamic property calculations. - An External Thermodynamic System uses properties from an installed external package provider. For more information on how to enable the use of external packages see the Installing External Thermodynamic Packages -- An Example. - 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-steam.
2 Once a thermodynamic system is set up, 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 modeling. By specifying the composition and phase of the mixture, a Material node can automatically be set up. The material node can include properties such as density, heat capacity, heat capacity ratio, thermal conductivity and viscosity.
3 Users of the Reaction Engineering, or Chemistry interface can couple chemical species in these interfaces with the chemical species in the thermodynamic system. When Coupling with the Reaction Engineering and the Chemistry Interfaces the required property parameters and functions are automatically added and visualized as nodes under the corresponding thermodynamic system node.
4 As an alternative to the functions automatically set up when using Generate Material or coupling to, for example, Chemistry, functions or constants can be set up manually for any thermodynamic system. This is accomplished using the thermodynamic features Species Property, Mixture Property or Equilibrium Calculation. You can, for example, create a Species Property function describing the density of a fluid, and use this function in a fluid-flow interface. With Mixture Property you can define mixture functions, that is, functions that depend on the composition of a mixture, describing for example density, enthalpy, or heat capacity.
The functionalities described in Step 2 4 generate functions and constants, defined by a thermodynamic system, that can be used in any physics interface in COMSOL Multiphysics. The functions are used to evaluate fluid properties that depend on variables such as temperature, pressure, and mixture composition. For more information, see Evaluating a Property Function in a Physics Interface.
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 411
Thermodynamics
To access the functionality for thermodynamic calculations, right-click the Global Definitions node in the Model Builder tree and select Thermodynamics ( ). When the model includes a Component, Thermodynamics is also available in the Physics toolbar. Using the Reaction Engineering or Chemistry interfaces, Thermodynamics is also available on the Reaction Engineering or Chemistry toolbar.
Figure 6-1: The Thermodynamics is always available under Global Definitions. Thermodynamic properties given as parameters or functions are collected in a so called thermodynamic system. Each thermodynamic system includes a set of available species and phases, as well as different models used for the thermodynamic property calculations, for example an equation of state such as PengRobinson. Select Thermodynamic System in the context menu to add a thermodynamic system that uses the built-in database included with COMSOL Multiphysics. As an alternative, selecting External Thermodynamic System can make use of an installed thermodynamics software to make the corresponding calculations. The option Predefined System, allows you to set up one of the following systems; Dry air, Moist air, or Water-steam. It is also possible to import previously created and stored thermodynamic systems by selecting Import Thermodynamic System (see Exporting and Importing Thermodynamic Systems).
412 | C H A P T E R 6 : T H E R M O D Y N A M I C S
In addition to creating thermodynamic systems, you can also define User-Defined Species in Thermodynamics. Use User-Defined Species to add new species that are not available in the COMSOL database. You can also edit available species in the database.
Figure 6-2: Adding Thermodynamic Systems to the Thermodynamics node. Note that external package providers have been installed. When a thermodynamic system has been added, thermodynamic and transport properties are defined by functions. These can be used to describe properties for pure species, mixtures, and for gas-liquid (or liquid-liquid) systems at equilibrium.
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.
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 413
To create a Thermodynamic System, start the Thermodynamic System Wizard in one of the following ways: · Right-click the Global Definitions node, select Thermodynamics and choose
Thermodynamic System. · Using the Reaction Engineering interface, choose Thermodynamic System from the
Thermodynamics section of the Reaction Engineering toolbar. · Correspondingly, using the Chemistry interface, choose Thermodynamic System
from the Thermodynamics section of the Chemistry toolbar. The Thermodynamic System Wizard contains the following steps: 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.
Figure 6-3: Thermodynamic System Wizard: Select System.
SELECT SPECIES
Use the Species Type filter text field to search among the available species in the COMSOL database or the User-Defined Species. Species can be searched for by typing the name, CAS number, or the chemical formula. Using a formula, all species whose chemical formula includes a combination of the given atoms are listed. For example, when searching for ammonia NH3 or H3N can be used. Select one or more species in the list and click the Add Selected button ( ) to add species to the Selected species table. You can also press the Enter key to add either the
414 | C H A P T E R 6 : T H E R M O D Y N A M I C S
first species in the list, or the species that have been selected. To remove species from the Selected species table, use either the Remove Selected button ( ) or the Remove All button ( ), both located below the table. Click the Next button ( ) to proceed to the next step in the wizard.
Figure 6-4: Thermodynamic System Wizard: Select Species.
SELECT THERMODYNAMIC MODEL
The Thermodynamic model controls the relations between the intensive thermodynamic properties of the system such as pressure, specific volume, and temperature. It also controls how extensive properties like enthalpy, entropy, or the heat capacity of the system are computed. Furthermore, the Thermodynamic model specifies the default models used to compute transport properties. The following Thermodynamic Models are available for all phases: · PengRobinson · PengRobinson (Twu) · SoaveRedlichKwong · SoaveRedlichKwong (GraboskiDaubert) 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.
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 415
When the system includes one or more liquid phases, the following additional models are also available (in the Liquid phase model list): · ChaoSeader (GraysonStreed) · Wilson · NRTL · UNIFAC VLE · UNIQUAC · Regular Solution · Extended Regular Solution · Ideal Solution These models correspond to activity models. To calculate properties of water and steam, use the Water (IAPWS) model. This is available for systems that include a single water species. For recommendations regarding the appropriate thermodynamic model, based on the available phases and the system pressure level, see the section Selecting the Right Thermodynamic Model. 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 thermal conductivity
416 | C H A P T E R 6 : T H E R M O D Y N A M I C S
· Liquid viscosity · Liquid volume For systems with both vapor and liquid phases, all of the above properties are available, as well as Gas-liquid surface tension.
Figure 6-5: Thermodynamic System Wizard: Advanced thermodynamic model options available for a Vapor-liquid system. 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
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 417
the text in the Label text field changes the name of the system. Below follows a description of the thermodynamic system settings.
Figure 6-6: Thermodynamic System Settings. Species: Lists the species included in the thermodynamic system. You can change the list of species by right-clicking the Thermodynamic System node and selecting Add or Remove Species. Phases: Lists the phases included in the thermodynamic system. You can add or remove phases, such as gas, liquid, or liquid-vapor, by right-clicking the Thermodynamic System node and selecting Define System. Species Property: Lists the parameters and functions that describe thermodynamics and transport properties for pure species. Such functions may describe density, heat capacity, thermal conductivity, or other thermodynamic and transport properties. For more information, see Species Property.
418 | C H A P T E R 6 : T H E R M O D Y N A M I C S
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 both gas and liquid phases are available, and the Liquid phase model is set to an equation of state, then the Gas phase model is set to the same model automatically. Property Models: Displays the settings for the available individual property models. The property models can be changed by selecting different values from the combo box in the Model column. For example, for Gas thermal conductivity you can select Kinetic theory or Ideal from the corresponding combo box. You can also select the property model in the last step of the thermodynamic system wizard by selecting the Advanced option check box, see Select Thermodynamic Model. Binary Interaction Parameters: This section can be used to inspect and edit binary interaction parameters. Select a pair of species (first and second column, Species 1 and Species 2) as shown in Figure 6-7 to edit the corresponding binary interaction parameter currently in use. In cases that the thermodynamic model has more than one type of binary interaction parameter, each type of the interaction parameter will be shown in a column in the table.
Figure 6-7: Entering the Binary Interaction Parameters for the SoaveRedlichKwong model. When a binary interaction parameter is not available in the database for a pair of species, the parameter value is set to zero (default value).
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 419
MODIFYING AN EXISTING SYSTEM
It is possible to modify an existing thermodynamic system, for example by changing the included species or phases. To do so, right-click the Thermodynamic System node and select Add or Remove Species, or Define System from the context menu. Both of these options are available for systems created using Thermodynamic System. For a Predefined System, the option Add or Remove Species is available for Dry Air and Moist Air. For a Water-steam system, neither of the two options are available. When the properties of a User-Defined Species have been changed, select Update From Species for the changes to take effect in the thermodynamic system.
Figure 6-8: Modifying the species and phases of a thermodynamic system. Add or Remove Species Selecting Add or Remove Species takes you to the Select Species step in the Thermodynamic System Wizard. Use the Add Species button ( ) to add a species to the Selected Species list. To remove a species, select it in the list and use the Remove Species button ( ). Make sure to click the Finish button ( ) in order for the changes to take effect. Note that adding or removing species 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 for how to update this coupling.
420 | C H A P T E R 6 : T H E R M O D Y N A M I C S
Define System Selecting Define System takes you to the Select System step in the Thermodynamic System Wizard. You can select the desired system from the list. 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.
Update From Species This option is available in a Thermodynamic System that includes a User-Defined Species. Use it to update the system following a change in the species properties.
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.
External Thermodynamic Packages
The thermodynamics functionality includes support for creating properties from external thermodynamic packages. In order to use external packages, the external software has to be CAPE-OPEN compliant. Thermodynamics in COMSOL Multiphysics supports the CAPE-OPEN Thermo 1.1 and the CAPE-OPEN Thermo 1.0 standards. CAPE-OPEN is an open interface standard for chemical process simulation software (Ref. 1). This standard defines rules and interfaces that allows linking between compliant software. Some examples of CAPE-OPEN compliant software are: · COCO/TEA (Free of charge package provider; see Ref. 2). · MultiflashTM (KBC Advanced Technologies plc). · VMGThermoTM (Virtual Materials Group, Inc.). · Simulis® Thermodynamics (ProsSim SA).
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 421
· Aspen Properties, aspenONE® (Aspen Technology, Inc.). · COMThermo® packages (comes with Aspen HYSYS®).
Accessing external thermodynamic systems allows species properties, mixture properties, as well as phases equilibrium calculations (gas-vapor, liquid-liquid) to be obtained from external software, such as the ones listed above.
INSTALLING EXTERNAL THERMODYNAMIC PACKAGES -- AN EXAMPLE
TEA is a thermodynamics thermodynamic system that handles the physical and thermodynamic property calculations for the simulation environment COCO. The property data bank contains more than 190 commonly used chemicals, and the package exhibits more than 100 property calculation routines with their analytical or numerical derivatives. COCO is maintained by AmsterCHEM and is free to download from the Internet (Ref. 2).
To use the external physical and thermodynamic property calculations from COCO/TEA in COMSOL Multiphysics models, you need to go through the following steps:
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.
External Thermodynamic System
The following assumes that you have installed external thermodynamic packages from a CAPE-OPEN compliant software in the manner outlined in Installing External Thermodynamic Packages -- An Example.
Locate the Thermodynamics node and right-click to add an External Thermodynamic System (Figure 6-2). Using a Reaction Engineering or Chemistry interface, you can also add an external package by choosing External Thermodynamic System from the Thermodynamics section of the Reaction Engineering or Chemistry toolbar.
422 | C H A P T E R 6 : T H E R M O D Y N A M I C S
SELECT PROPERTY PACKAGE
All installed packages, from providers such as COCO/TEA, Aspen Properties, and so on, are available in the Thermodynamic System Wizard (Figure 6-9). Select one of the packages and click the Finish button ( ) in the upper right corner of the wizard in order to add the package as an External Thermodynamic System node under the Thermodynamics node. 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 6-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.
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 423
Provider Contains information about the external thermodynamic system provider such as version, CAPE-OPEN compliance, and a short description of the external software that provides the thermodynamic system. Species Lists the species included in the selected thermodynamic system. Phases Lists the phases included in the selected thermodynamic system for example gas, liquid, gas-vapor, or liquid-liquid. Species Properties Lists the parameter values or the functions that describe species properties, for example molar mass, and properties available for pure compounds, such as density as a function of temperature.
424 | C H A P T E R 6 : T H E R M O D Y N A M I C S
Mixture Properties Lists the available functions that describe mixture properties. One example is the density of a nonideal mixture as a function of composition.
Figure 6-10: Settings window for an External Thermodynamic System. The thermodynamic functionality supports package persistence. This means that an MPH-file for a model that uses a thermodynamic system stores that package definition in the file. You can use the mph-file to access a thermodynamic system defined in the corresponding model without having to store the thermodynamic system as a separate file.
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.
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 425
To create a Predefined System, start the Thermodynamic System Wizard in one of the following ways: · Right-click the Global Definitions node, select Thermodynamics and choose Predefined
System. · Using the Reaction Engineering interface, choose Predefined System from the
Thermodynamics section of the Reaction Engineering toolbar. · Correspondingly, using the Chemistry interface, choose Predefined System from the
Thermodynamics section of the Chemistry toolbar. The Thermodynamic System Wizard that opens is identical to the wizard used to create a Thermodynamic System, but with the important difference that all settings have been entered for the chosen predefined system. The wizard contains the following steps: 1 Select System 2 Select Species 3 Select Thermodynamic Model
SELECT SYSTEM
In the Select System window, choose one of the predefined systems in the list. Choose among Dry air, Moist air, and Water-steam. Click the Next button ( ) to proceed to the next step in the wizard.
Figure 6-11: Thermodynamic System Wizard: Select Predefined System.
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.
426 | C H A P T E R 6 : T H E R M O D Y N A M I C S
To add more species to the Dry air and Moist air systems, use the Species Type filter text field to search among the available species in the COMSOL database or the User-Defined Species. Species can be searched for by typing the name, CAS number, or the chemical formula. Select one or more species in the list and click the Add Selected button ( ) to add species to the Selected species table. To remove species from the Selected species table, use either the Remove Selected button ( ) or the Remove All button ( ), both located below the table. Click the Next button ( ) to proceed to the next step in the wizard.
Figure 6-12: Thermodynamic System Wizard: Select Species.
SELECT THERMODYNAMIC MODEL
This last step of the Thermodynamic System Wizard allows you to choose what thermodynamic model to use. For the system Dry air and Moist air, the Ideal Gas law is chosen by default. For Water-steam, the model Water (IAPWS) is used. For more information about this step in the Thermodynamic System Wizard, see Select Thermodynamic Model for Thermodynamic System. 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.
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 427
SETTINGS
Selecting a Predefined System node shows its Settings window with a description of the package content and the available properties. For information about the content in the Settings window, see Settings for Thermodynamic System and Predefined System.
MODIFYING A PREDEFINED SYSTEM
Please see Modifying an Existing System for information about how to modify an existing thermodynamic system.
Exporting and Importing Thermodynamic Systems
EXPORT THERMODYNAMIC SYSTEM
Right-click the thermodynamic system node for the thermodynamic system that you want to export (Figure 6-8) and select Export Thermodynamic System. Use the Select File window to store the thermodynamic 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.
IMPORT THERMODYNAMIC SYSTEM
Right-click the Thermodynamics node and select Import Thermodynamic System (Figure 6-2). Use the Select File window to navigate to a thermodynamic system file and click Open.
It is possible to manually modify the species properties, such as parameters and temperature-dependent functions, in the created Thermodynamic System by using Export Thermodynamic System and Import Thermodynamic System. In the saved xml file from Export thermodynamic system, there are all parameters and temperature-dependent properties for species, which are saved inside a <Compound CompID="name"></Compound> block. For example, to edit the acentric factor of methane from 0.01141 to 0.2 perform the following steps · Open the saved xml file for the thermodynamic system · Find the compound methane which starts with the line:
<Compound CompID="methane">
· Find the line with the acentric factor and change it to
<AcentricFactor >0.2</AcentricFactor>.
428 | C H A P T E R 6 : T H E R M O D Y N A M I C S
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 6-1: UNIT FOR TEMPERATURE-DEPENDENT PROPERTIES.
PROPERTY
Liquid density
UNIT
mol/m3
Ideal heat capacity
J/mol/K
Ln vapor pressure
1
Heat of vaporization
J/mol
Vapor viscosity
Pa·s
Ln liquid viscosity
1
Vapor thermal conductivity
W/m/K
Liquid thermal conductivity
W/m/K
Surface tension
N/m
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
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 429
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. The second-order derivatives with respect to temperature and pressure are available for property functions of density and molar volume. Right-click the relevant Thermodynamic System node (see Figure 6-8), Predefined System node, or the relevant External Thermodynamic System node, and select Species Property ( ) to start the Species Property Wizard. The Species Property Wizard contains the following steps: 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.
430 | C H A P T E R 6 : T H E R M O D Y N A M I C S
Click the Next button ( ) to proceed to the next step, selecting the phase.
Figure 6-13: Species Property Wizard; Select Properties.
SELECT PHASE
Use the list to specify the phase for the species property. The available phases correspond to the ones defined for the thermodynamic system.
Figure 6-14: Species Property Wizard; Select Phase. Note that for parameters (constants) this step is skipped. 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.
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 431
Click the Next button ( ) to proceed to the Species Property Overview in the wizard.
Figure 6-15: Species Property Wizard; the Select Species step.
SPECIES PROPERTY OVERVIEW
The final step of the wizard presents an overview of the parameters and functions defined for the corresponding property. Click the Finish button ( ) to exit the wizard and add the species property to the current thermodynamic system.
THE SPECIES NODE UNDER A SYSTEM
When creating a species properties, the resulting parameters and functions are collected under a node with the species name. You can create new functions from an existing species node under the system. Right-click the species and select Species Property to start the Species Property Wizard.
Figure 6-16: Create a Species Property from an existing species node.
432 | C H A P T E R 6 : T H E R M O D Y N A M I C S
SETTINGS
Selecting a Species Property node shows the settings for such property.
Figure 6-17: Species Property settings. 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 parameter, this section also displays the numerical value. 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.
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 433
Apply a Lower limit and an Upper limit for each argument, and click the Plot button ( ) to plot the function using the given argument range. You can also click the Create Plot button ( ) in order to create a plot group, under the Results node. Properties Window To see the reference for constant or temperature dependent functions, right-click on the function and select Properties. This opens the Properties window.
Figure 6-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.
Figure 6-19: Properties window for species function.
434 | C H A P T E R 6 : T H E R M O D Y N A M I C S
Mixture Property
A Mixture Property is used to compute a property function that depends on the concentration of the species in a thermodynamic system. Some examples of the available property functions are density, enthalpy, heat capacity, and surface tension. Apart from the composition, the mixture property functions are also dependent on temperature and pressure. The first-order derivatives with respect to temperature and pressure are automatically defined. The second-order derivatives with respect to temperature and pressure are available for property functions of density and molar volume. Right-click the relevant Thermodynamic System node (see Figure 6-8), Predefined System node, or the relevant External Thermodynamic System node, and select Mixture Property to start the Mixture Property Wizard. The Mixture Property Wizard contains the following steps: 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
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 435
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.
MIXTURE PROPERTY OVERVIEW
The final step of the wizard displays an overview of the functions that the wizard has added. Click the Finish button ( ) to exit the wizard and add the properties to the current thermodynamic system.
SETTINGS
Selecting a desired Mixture Property node to display its settings window.
THE MIXTURE NODE UNDER A SYSTEM
When creating mixture properties, the resulting functions are collected under the Mixture node. You can create new functions from an existing Mixture node. Right-click the node and select Mixture Property from the context menu to start the Mixture Property Wizard.
Figure 6-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.
436 | C H A P T E R 6 : T H E R M O D Y N A M I C S
Equilibrium calculations involve combining the VLE-equations with material balances for the chemical species, and in some cases with an energy balance. Flash calculations are typically used to obtain estimates of: · Bubble point at given temperature. · Bubble point at given pressure. · Dew point at given temperature. · Dew point at given pressure. · Equilibrium conditions at given pressure and temperature. · Equilibrium conditions at given pressure and enthalpy. · Equilibrium conditions at given pressure and entropy. · Equilibrium conditions at given internal energy and specific volume. The last three examples are often considered more difficult, since they require energy balances and relations for computing enthalpy and entropy. Thermodynamics in COMSOL Multiphysics 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 6-8), Predefined System node, or the relevant External Thermodynamic System node, and select Equilibrium Calculation to start the Equilibrium Calculation Wizard. The Equilibrium Calculation Wizard consists of the following steps: 1 Select species 2 Equilibrium Specifications 3 Equilibrium Function Overview The Equilibrium Calculation settings include three types of equilibrium functions. · 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.
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 437
SELECT SPECIES
Select one or more of the species available in the thermodynamic system and use the Add Selected button ( ) to add them to the Selected species table. Click the Next button ( ) to proceed to the next step in the wizard.
EQUILIBRIUM SPECIFICATIONS
Use the Amount base unit list to use either kg or mol as base unit. Select two Equilibrium conditions that define the current equilibrium, for example a given pressure and a temperature. These equilibrium conditions are used as arguments in the equilibrium functions, in addition to the composition (overall fractions of species). The available equilibrium conditions are: Temperature, Pressure, Phase fraction, Energy (or Internal energy of formation), Enthalpy (or Enthalpy of formation), Specific volume, Density, and Entropy (or Entropy of formation). For chemical reactions, it is recommended to use Enthalpy of formation, Entropy of formation, or Internal energy of formation, since they account for heat of reactions.
Figure 6-21: Equilibrium Calculation Wizard; Equilibrium Specifications. 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
438 | C H A P T E R 6 : T H E R M O D Y N A M I C S
temperature (at constant pressure and composition) is kept positive and the derivative of the vapor phase fraction with respect to pressure (at constant temperature and composition) is kept negative. Using Retrograde means that the opposite sign of the previous mentioned derivatives are enforced.
For a single species, the critical point is the highest pressure and temperature at which two phases (liquid and vapor) are distinguishable. However, for some multispecies systems, the critical point is a point between the dew point and the bubble point. In this case, the critical point does not represent the maximum pressure or the maximum temperature of vapor-liquid coexistence. This phenomenon is known as retrograde condensation. This means that under isothermal conditions, when the pressure decreases, some of the vapor condenses into liquid instead of expanding or vaporizing. An example of such system is formation of liquid hydrocarbons in a gas reservoir as the pressure decreases below the dew point pressure. In this case, setting Solution type to Normal or Retrograde may not be sufficient to distinguish between the two solutions.
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.
Click the Next button ( ) to proceed to the next step.
EQUILIBRIUM FUNCTION OVERVIEW
In this step, you can review all the functions including units and arguments. Click the Finish button ( ) to exit the wizard and add functions at equilibrium state to the current thermodynamic system.
THE EQUILIBRIUM CALCULATION NODE
When creating an Equilibrium Calculation, the resulting functions are collected under the Mixture node. You can create new functions from an existing Mixture node. Right-click it and select Equilibrium Calculation to start the Equilibrium Calculation Wizard (see Figure 6-20).
SETTINGS
Selecting an Equilibrium Calculation node displays the settings including the property functions, see Figure 6-22.
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 439
Plot Parameters: Can be used to evaluate and plot the equilibrium function for a range of argument values. First specify which of the included functions to plot. Then apply a Lower limit and Upper limit for each argument and click the Plot button ( ).
Figure 6-22: Settings window; Equilibrium calculation.
Generate Chemistry
The Chemistry interface includes functionality to automatically define and use mixture properties by interfacing to a Thermodynamic System node. How to manually set this coupling up is described in Coupling with the Reaction Engineering and the Chemistry Interfaces.
440 | C H A P T E R 6 : T H E R M O D Y N A M I C S
The Generate Chemistry Wizard can be used to directly create a Chemistry interface from an existing Thermodynamics System node. The resulting Chemistry interface is automatically populated with the selected species, and is set up to be fully coupled to the thermodynamics. This means for example that functions for mixture properties, like the density enthalpy, are automatically defined and used in the generated Chemistry interface.
Right-click the relevant Thermodynamic System node, Predefined System node, or External Thermodynamic System node, and select Generate Chemistry to start the Generate Chemistry Wizard.
The Generate Chemistry Wizard contains the following steps:
1 Select Species 2 Chemistry Settings
SELECT SPECIES
Select the species to be included in the list. Use the Add All button ( ) to add all species in the thermodynamic system. It is also possible to select a subset of the available species. In that case use the Add Selected button ( ) to add species. The Selected species table is updated as you add species.
Click the Next button ( ) to proceed to the next step in the wizard.
CHEMISTRY SETTINGS
The table at the top shows the selected species and their respective chemical formula. For each species, a corresponding Species feature will be added in the Chemistry interface. As an option, use the Name in Chemistry columns to specify another name of the species in Chemistry. This means that the species name could be different in Thermodynamics and Chemistry for a species. By default the chemical formula is used.
Component Use the Component list to select the model component to which the Chemistry interface will be added. The already existing components are shown in the top of the list. A new component can be created by selecting the desired space dimension.
Mass Transfer The Mass transfer list controls the intended mixture type for the Chemistry interface. Select Diluted species to model a mixture where the species are assumed diluted in a 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
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 441
the mixture properties. In the resulting Chemistry interface the Type setting in the Mixture Properties section is defined accordingly. Phase Select the Phase of the mixture from the Phase list. Included in the list are the phases available in the Thermodynamic System from which the Chemistry is generated. Click the Finish button ( ) to create the desired Chemistry interface and exit the wizard.
Generate Material
Once a thermodynamic system is defined, it can be used to define a multitude of property functions. The Generate Material option provides a fast route to defining the material properties most commonly required for fluid flow, heat transfer and mass transfer. By specifying the composition and the phase of the mixture, a Material node can automatically be set up. The material node can include properties such as the density, heat capacity, heat capacity ratio, thermal conductivity, viscosity, and the diffusivity. Two types of property functions can be used, either functions from the underlying thermodynamics or interpolation functions created from these. For space-dependent models, the interpolation models are more computationally efficient. Right-click the relevant Thermodynamic System node (or an External Thermodynamic System node or Predefined System node), and select Generate Material to start the Generate Material Wizard. The Generate Material Wizard contains the following steps: 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.
442 | C H A P T E R 6 : T H E R M O D Y N A M I C S
SELECT SPECIES
Select the species to be included in the list. Use the Add All button ( ) to add all species in the thermodynamic system. It is also possible to select a subset of the available species. In that case use the Add Selected button ( ) to add species. The Selected species table is updated as you add species. Notice that when using Generate Material for the Predefined System Water-steam this step is not included in the wizard. Material Composition Specify the mixture composition in terms of the Mole fractions or Mass fractions of all species. The fractions should sum to one. This setting is only available for systems with more than one component, and for materials with more than one selected species. Click the Next button ( ) to proceed to the next step in the wizard.
SELECT PROPERTIES
Use this step to select the material properties to be included. For a liquid phase material the following properties are available: · 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 ( )
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 443
When adding the Diffusion coefficient at infinite dilution, also select which of the species is the solvent. The material will include one diffusion coefficient for each of the remaining (solute) species.
Figure 6-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
iso
=
1--
-----T
(6-1)
For a gas phase material, the speed of sound c, and the isentropic compressibility f are also defined as
c = ----p--
f
=
--1--- -----p
Click the Next button ( ) to proceed to the next step.
(6-2)
444 | C H A P T E R 6 : T H E R M O D Y N A M I C S
DEFINE MATERIAL
Component Use the Component list to select where the Material will be added. The already existing components are shown in the top of the list. A new component can be created by selecting the desired space dimension. Select Global at the end of the list to add the material under Global Definitions. A global material can be utilized in any component, through the use of a Material Link. It can also be used to define phase specific properties when linked to a subnode of a Porous Material.
Function Type The material can be set up to use functions defined under the thermodynamics system, or interpolation functions defined from these. The interpolation functions are significantly faster to evaluate, especially for space dependent models, but requires that the temperature range and the pressure range are specified.
Select Thermodynamics to base the material properties on functions in the current thermodynamic system. The required functions are created, if not already present, and added to the system. When evaluating material properties, the underlying thermodynamics functions are called.
Select Interpolation to generate interpolation functions for the material properties. In this case the required functions are first created and added to the system. Next, the functions are evaluated in a number of sampling points over a given range, for both temperature and pressure. The result of the evaluation is stored and used to define interpolation functions for all material properties.
For the Interpolation points, select Same for all functions to use the same number of evaluation points for all functions. 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 and pressure ranges 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
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 445
define the number of evaluation points in the Number of points field. The underlying functions are evaluated at uniformly distributed positions across the temperature and pressure range. When Individual has been selected for the Interpolation points, the Ranges and interpolation points can be specified per function to be created. Click the Finish button ( ) to create the specified Material and exit the wizard.
Coupling with the Reaction Engineering and the Chemistry Interfaces
Using the Reaction Engineering or Chemistry interfaces, all species property parameters and property functions required by these interfaces can be created automatically by coupling to an existing Thermodynamic System, Predefined System, or External Thermodynamic System under Thermodynamics. Examples of species properties that can be created automatically are molar mass, heat capacity, enthalpy, and entropy for each species. Parameters and functions for these properties are created by the thermodynamic system. The Reaction Engineering and Chemistry interfaces can also be used to define transport properties for the resulting mixture (all species in the interface). When coupled, the following mixture properties can be automatically created: heat capacity, density, thermal conductivity, and dynamic viscosity.
The 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.
Note that using a thermodynamic system significantly increases the modeling capabilities in the Reaction Engineering and Chemistry interfaces. All ideal and nonideal thermodynamic models, for gases and liquids, are directly available and also automatically updated by editing the settings for the thermodynamic system in use. The Chemistry interface can furthermore be used to make the mixture properties readily available in space-dependent models for modeling of mass transport, heat transfer, or fluid flow.
446 | C H A P T E R 6 : T H E R M O D Y N A M I C S
REACTION ENGINEERING
Mixture Properties You can couple a Reaction Engineering interface with an existing thermodynamic system in the Reaction Engineering interface's settings window. You need to have at least one species defined in the Reaction Engineering interface in order to couple it to a thermodynamic system. You can make this coupling in the Settings window for the Reaction Engineering interface by selecting the Thermodynamics check box in the Mixture Properties section. 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.
Figure 6-24: Coupling Reaction Engineering Interface with Thermodynamics. 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.
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 447
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 6-25: Matching the species in Reaction Engineering to those in the corresponding thermodynamic system. Calculate Transport Properties When the interface is fully coupled to a thermodynamic system, property functions for the mixture transport properties are created automatically when the Calculate mixture properties check box is selected. The properties calculated by the thermodynamic system display Thermodynamics in the corresponding list; see below.
Figure 6-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.
448 | C H A P T E R 6 : T H E R M O D Y N A M I C S
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. For each species matched, the species property parameters and functions required by the Chemistry interface are automatically created and added under the corresponding thermodynamic system. When 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.
Figure 6-27: Matching concentration variables in a Chemistry interface, as well as species in a coupled Thermodynamic System. Calculate Transport Properties When the interface is fully coupled to a thermodynamic system, property functions for the mixture transport properties are created automatically when the Calculate mixture properties check box is selected. The properties calculated by the thermodynamic system display Thermodynamics in the corresponding list; see Figure 6-26.
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 449
MIXTURE PROPERTY DEFINITIONS WHEN COUPLING TO THERMODYNAMICS
When all species in a physics interface (Reaction Engineering or Chemistry) are matched to the corresponding species in a thermodynamic system, the mixture properties are calculated based on the composition of the mixture. For example, consider Zmix(T, P, n1, ..., nm), which denotes a generic extensive mixture property for a mixture of m number of species. The property function's arguments are the temperature T, the pressure P, and the number of moles, n, for each species.
When the system is fully matched, the mixture property Zmix is defined as
m
Zmix =
niZi
i=1
(6-3)
where Zi is the partial molar of species i:
Zi=
---Z-----m----i--x-----T-------P-------n--n--1--i----n----2--------------n----m-----
T
P
nj
i
(6-4)
The definition of partial molar properties can be rewritten using mole fraction derivatives as:
ZiT P n1 nm= ZiT P x1 xm=
(6-5)
Zm
i
x
T
P
x1
xm
+
---Z-----m----i--x-----T-------P----x---ix----1--------------x----m----
T
P
xi
j
i
m =1
xi
---Z-----m----i--x-----T-------P----x---ix----1--------------x---m-----
T
P
xi
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
Zmix =
niZiT P
i=1
using the pure species properties Zi ZmixTPxi =10...0.
(6-6)
450 | C H A P T E R 6 : T H E R M O D Y N A M I C S
Evaluating a Property Function in a Physics Interface
The functions set up using a thermodynamic system in Thermodynamics can be used directly in any physics interfaces in COMSOL Multiphysics, in the same way as for standard functions. Simply type in the function name with the proper arguments in the appropriate field of the model to use the function. Figure 6-28 shows an example of this from the Reaction Engineering interface. In this example, the Species Thermodynamic Expressions section gets input for the molar entropy, the enthalpy and the heat capacity of toluene. These functions, generated using Species Property for a thermodynamic system containing toluene, have been entered in the corresponding input fields using the appropriate arguments.
Figure 6-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
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 451
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. When creating a user-defined species it is recommended to add the following common material properties: · Molecular mass · Critical properties · Acentric factor · Absolute entropy · Standard enthalpy of formation · Ideal gas heat capacity · Vapor pressure · Heat of vaporization · Saturated liquid density · Transport properties
EXAMPLE MODEL
For an example of using a User-Defined Species see this application example:
Dissociation in a Tubular Reactor: Application Library path Chemical_Reaction_Engineering_Module/Thermodynamics/dissociation
THE USER-DEFINED SPECIES WIZARD
To create a User-Defined Species, start the User-Defined Species Wizard in one of the following ways: · Right-click the Global Definitions node, select Thermodynamics and choose
User-Defined Species. · If the model already includes the Thermodynamics node, right-click it and choose
User-Defined Species. · Using the Reaction Engineering or Chemistry interface, choose User-Defined Species
from the Thermodynamics section of the Reaction Engineering or Chemistry toolbar. The User-Defined Species Wizard contains the following steps: 1 Enter Name and Formula 2 Enter Parameters
452 | C H A P T E R 6 : T H E R M O D Y N A M I C S
3 Define Properties
ENTER NAME AND FORMULA
Enter the Name, CAS number, and the Chemical formula for the new species.
Figure 6-29: User-Defined Species Wizard; Enter Name and Formula. 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.
Figure 6-30: User-Defined Species Wizard; edit an available species by selecting Use species from database as template. Click the Next button ( ) to proceed to the next step.
ENTER PARAMETERS
Define the necessary parameter for the new species.
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 453
Constants Use this table to define material constants such as molar mass, critical temperature, and standard enthalpy of formation.
Figure 6-31: User-Defined Species Wizard; Enter material constants. Structure information If you want to use the UNIFAC model, specify the structure formula, the UNIFAC groups and their number occurrences.
Figure 6-32: User-Defined Species Wizard; Specify the structure information in the Enter Parameters step.
454 | C H A P T E R 6 : T H E R M O D Y N A M I C S
Model parameters Specify the parameters for the thermodynamic models and transport models in use.
Figure 6-33: User-Defined Species Wizard; Specify model parameters. Click the Next button ( ) to proceed to the next 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
fT = a0 + a1T + a2T2 + a3T3
(6-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.
The following temperature dependent properties are necessary in order to compute the basic set of mixture properties when including the User-Defined Species in a thermodynamic system:
· Ideal gas heat capacity · Liquid density · Vapor pressure · Heat of vaporization
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).
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 455
Click the Finish button ( ) in the top of the Settings window to finalize the species and add it to the User-Defined Species node under Thermodynamics.
Figure 6-34: User-Defined Species Wizard; specify temperature-dependent properties.
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 6-35 below. All properties can be edited by expanding the corresponding section.
When a species properties has been changed, any Thermodynamic System that includes the species needs to be updated for the changes to take effect (see Update From Species).
456 | C H A P T E R 6 : T H E R M O D Y N A M I C S
Figure 6-35: The Settings window for a User-Defined Species.
References
1. www.colan.org 2. Cape Open to Cape Open Simulation Environment, www.cocosimulator.org/index_download.html
U S I N G T H E R M O D Y N A M I C P R O P E R T I E S | 457
Thermodynamic Models and Theory
In this section:
· 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: · Equation of State Models · Liquid Phase Models
EQUATION OF STATE MODELS
An equation of state (EOS) model is an algebraic relation between the absolute pressure (P), the molar volume (V), and the absolute temperature (T). An equation of state that is at least cubic in volume and in the form of
Z
-P----V--RT
=
fvV T
(6-8)
458 | C H A P T E R 6 : T H E R M O D Y N A M I C S
where Z is the compressibility factor and R the universal gas constant, can be used to describe both gases and liquids. The cubic equations of state are widely used to describe the gaseous and liquid volumetric behavior of pure fluids and also all other properties with extensions to mixtures. A comprehensive comparison of different cubic EOS models can be found in Ref. 2 and Ref. 3.
The equations of state models available in the thermodynamic properties database are:
· Ideal Gas Law · PengRobinson · PengRobinson (Twu) · SoaveRedlichKwong · SoaveRedlichKwong (GraboskiDaubert) · Water (IAPWS)
Ideal Gas Law The ideal gas law equation of state is
P
=
R-----T--V
(6-9)
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.
PengRobinson The classical PengRobinson (PR) equation of state Ref. 5 is given by
where for species i
P = ---R-----T---- ---------------a--------------------V b V2 + 2bV b2
(6-10)
ai
=
A
R-----2---T----c2Pc
(6-11)
bi
=
B
R-----T-----c Pc
(6-12)
A
=
1-3
+
1-3
B
4
+
10
B
(6-13)
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 459
B
=
------6---3------1024
0.03125
(6-14)
1--
=
3----32---57----16---8--
+
----2---7----2048
2 3
The alpha function, i, is given by i = 1 + 0.37464 +1.54226i 0.26992i21 Tr i2
For mixtures
(6-15) (6-16)
a =
xixj1 kPR,i,j aiaj
ij
(6-17)
b = xibi
i
(6-18)
The binary interaction parameters (BIPs), kPR, are symmetric with zeros in the diagonal:
kPR = kPR,i,j
(6-19)
kPR,i,j = 0
(6-20)
When binary interaction parameters are missing in the database for a set of species, the
value is set to zero (a warning node is created). The values for critical temperature, Tc, critical pressure, Pc, and acentric factor, i must be specified for all species.
PengRobinson (Twu) For the Twu modification (Ref. 6) of the PengRobinson model, the alpha function, i, is replaced by
i = T + RNiMi 1 exp Li1 TrN iiMi
(6-21)
The binary interaction parameters kPR, are used for the Twu modification. Acentric factor, i, is not used in this model but critical temperature and critical pressure must be specified for all species. The species specific fit parameters Li, Mi, Ni can be determined by fitting the pure species phase equilibrium to the vapor pressure curve.
460 | C H A P T E R 6 : T H E R M O D Y N A M I C S
SoaveRedlichKwong The classical SoaveRedlichKwong equation of state Ref. 7 is given by
P = ---R-----T---- --------a-------------V b VV + b
with
(6-22)
and for the pure species i,
= ---1---T
ai
=
A
R-----2---T----c2---.-5Pc
(6-23) (6-24)
bi
=
B
R-----T-----c Pc
(6-25)
A
=
1-3
+
1-3
B
3
+
3
B
(6-26)
For mixtures
B
=
--1----
1--
23
2--
273
27
1-3
(6-27)
a =
xixj1 kSRK,i,j aiaj
ij
(6-28)
b = xibi
i
(6-29)
The binary interaction parameters, kSRK, are symmetric with zero in the diagonal:
kSRK,i,j = kSRK,j,i
(6-30)
k
SRK
,i,j
=
0
(6-31)
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 SoaveRedlichKwong equation of
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 461
state is a version of Equation 6-22 modified by Soave Ref. 8, where for pure species i, the alpha function is modified to
i = 1 + 0.480 +1.574i 0.176i21 Tr i2
(6-32)
SoaveRedlichKwong (GraboskiDaubert) The Graboski and Daubert Ref. 9 modification of the SoaveRedlichKwong equation of state replaces alpha function by
i = 1 + 0.48508 +1.55174i 0.1561i21 Tr i2
(6-33)
except for H2, where it is replaced by H2 = 1.202 exp0.30228Tr H2
(6-34)
Water (IAPWS) The International Association for the Properties of Water and Steam (IAPWS) provides a set of correlations to compute properties of water in different states. The correlations available in COMSOL correspond to the version named Industrial Formulation 1997 (IF-97) Ref. 10 - Ref. 12. The correlations are valid in the following ranges:
273.15 K T 1073.15 K
p 100 MPa
(6-35)
1073.15 K T 2273.15 K
p 50 MPa
(6-36)
The following water and steam properties, available by creating a Species Property, are computed using the IAPWS correlations: density, volume, enthalpy, internal energy, Helmholtz energy, heat capacity at constant pressure, and heat capacity at constant volume. The amounts present in the vapor and liquid phase can be computed using an Equilibrium Calculation.
Other parameters and thermodynamic properties available for the system are provided from the COMSOL database.
LIQUID PHASE MODELS
Activity coefficient models Activity coefficient models are used to describe liquid mixtures at low to moderate pressures and temperatures where the equations of state are inadequate. When using activity coefficient models, the partial fugacity for species i in the liquid phase is defined as
462 | C H A P T E R 6 : T H E R M O D Y N A M I C S
f^i l = xiii satPi satFi
(6-37)
which yields
^ i l
=
ii
sat
-P----i----s-a--t P
Fi
(6-38)
where the activity coefficient, i, describes the nonideal liquid phase and ^ i satPi 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
Fi
=
exp
P
-V----i----l
dp
RT Pi sat
(6-39)
For an incompressible liquid, an approximation of the Poynting correction can be done according to
Fi
exp
V-----i----l RT
P
Pi
sat
(6-40)
The Poynting correction can often be ignored for moderate pressure. Hence, Equation 6-38 can be expressed as
^ i l
=
i
i
s
at
-P----i----s-a--t P
(6-41)
If the vapor phase is considered ideal, then i sat = 1 and the above equation reduces to
^ i l
=
i
-P----i----s-a--t P
(6-42)
This reduction can be selected explicitly in case the vapor phase is not ideal.
The logarithmic transformation of Equation 6-38 is: ln ^ i l = ln i + ln i sat + ln Pi sat ln P + ln Fi
(6-43)
Ideal Solution For an ideal solution the activity coefficient is equal to one, which gives:
lni = 0
(6-44)
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 463
Regular Solution The ScatchardHildebrand equation Ref. 14 for a nonpolar mixture is
ln i
=
V-----i-------i-----------a--v-----2RT
(6-45)
where Vi is species molar volume and i is species solubility parameter, and av is
xiVii
av = ---i-------------------------
xiVi
i
(6-46)
The volume parameter, Vi, is set equal the liquid volume, Vi,l,b at normal boiling point which must be specified for all species. The solubility parameter, i must be specified for all species and can be estimated from the normal heat of vaporization, Hvap,iand the liquid volume at normal boiling point as below:
i
-----H-----v--a--p-----i Vi l b
(6-47)
Extended Regular Solution The extended ScatchardHildebrand equation adds the Flory and Huggins correction to the regular solution model Ref. 16:
ln i
=
V-----i-------i-----------a--v-----2- + RT
ln i + 1 i
(6-48)
where
i = ---------V-----i---------
xiVi
i
(6-49)
Wilson Wilson Ref. 17 derived his activity coefficient model from a consideration of probabilities of neighboring molecules in a liquid
464 | C H A P T E R 6 : T H E R M O D Y N A M I C S
lni = 1
j
-----x----j------j----i-----
xkj k
ln
j
xji j
k
(6-50)
i j
=
-V----w------j Vw i
exp
---T-i----j
(6-51)
where the Wilson volume parameter, Vw,i, is a species-specific parameter describing volume. If the volume parameter is not available, the liquid volume at normal boiling point is used. The Wilson binary interaction parameters i,j are specified in terms of absolute temperature. The binary interaction parameter matrix is nonsymmetric and with zeros in its diagonal. All off-diagonal values must be specified
i i = 0
(6-52)
i i = 1
(6-53)
NRTL Renon and Prausnitz (Ref. 18) formulated a three parameter activity coefficient model that is able to describe liquid-liquid equilibrium; the nonrandom two-liquid (NRTL) model:
xjj iGj i lni = ---j---------------------------- +
xjGj i
j
-----x----j-G-----j----i-----
xkGk j
i
j
---k-----x---k------k-----j--G-----k-----j
xkGk j
j
k
k
(6-54)
i j
=
A-----i----j T
(6-55)
Gi j = exp i ji j
(6-56)
The three parameters are Ai,j, Aj,i, and i,j. A more general form is implemented here:
i j
=
A-----i----j T
+
Bi
j
(6-57)
Gi j = exp i ji ji j
(6-58)
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 465
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.
The randomness parameters, i,j, have values of zero on the diagonal and the matrix is symmetric. All off-diagonal values must be specified. Alternatively one can set the more generic form directly specifying parameter i,j for which diagonal values are zero and the matrix is nonsymmetric. For each pair of species at least i,j or i,j should be specified.
If any value for these parameters is missing in the database, it is set to zero (warning node is created).
Ai i = 0
(6-59)
Bi i = 0
(6-60)
i i = 0
(6-61)
j i = i j
(6-62)
i i = 0
(6-63)
Gi i = 1
(6-64)
i i = 0
(6-65)
UNIQUAC Abrams and Prausnitz followed up with another two-liquid model known as Universal Quasi Chemical equation (UNIQUAC) (see Ref. 19), which is formulated in terms of two activity coefficients:
ln i = ln i comb + ln i res
(6-66)
The first term is the combinatorial part contributes to the Gibbs free energy originating from size and shape effects as
ln i comb
=
1
i
+
ln i
-z2
qi
1
+
----i i
+
ln
----ii
(6-67)
466 | C H A P T E R 6 : T H E R M O D Y N A M I C S
and the second term is the residual part from chemical interactions between the molecules,
lni res
=
q i 1
ln
---j-----x---j--q----j-----j---i
xjqj
j
-----x---j--q----j----j----i----
xjqjk
j
j
k
(6-68)
where
i = -------r---i------
xjrj
j
(6-69)
i = -------q---i-------
xjqj
j
(6-70)
i j
=
exp
-------T-E----i----j
(6-71)
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.
Ei i = 0
(6-72)
i i = 1
(6-73)
The volume parameters, ri, and surface area parameters, qi, are model-specific parameters for each species. If the parameters are not specified, they can be derived from the van der Waals volume, VVDW,i, and area, AVDW,i, respectively
ri
=
----------V-----V---D----W----,--i--------0.01517 103
(6-74)
qi
=
---A-----V---D----W----,--i--2.5 105
(6-75)
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 467
For all species ri or VVDW,i and qi or AVDW,i must be specified.
UNIFAC The UNIQUAC Functional-group Activity Coefficients (UNIFAC; see Ref. 20) uses the same equations as UNIQUAC but the parameters are constructed from group contributions. The model can be used if UNIQUAC parameters are not available for all species. The activity coefficients are calculated from Equation 6-66. The combinatorial part follows from equation Equation 6-67, where
ri = k irk
k
(6-76)
qi = k iqk
k
(6-77)
where rk and qk are the values for group k in species i, andk,i is the number of occurrences of group k in molecule. The residual term in Equation 6-66 is calculated
from a summation over functional groups:
ln i res = k i ln k res ln i k res
k
(6-78)
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
lnk res
=
qk
1
ln
---l-----x---l--q----l-----l----k-
xlql
j
-----x---l--q----l-----k-----l----
xlql
m
l
l
m
(6-79)
where xl and xm are the compositions of functional group l and m in the mixture
xim i
xm
=
---------i--------------------------
xi
k i
i
k
For the calculation of a pure species' i residual activity we get:
(6-80)
468 | C H A P T E R 6 : T H E R M O D Y N A M I C S
xm = -------m------i---
k i
k
(6-81)
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
k m
=
exp
A-----kT-----m--
(6-82)
The binary interaction parameters, Ak,m, are specified in terms of absolute temperature. The diagonal values are zero, the matrix is nonsymmetric. All off-diagonal values must be specified.
The default group and interaction parameters are those published by the UNIFAC consortium (Ref. 21 through Ref. 26), with added groups from Balslev and Abildskov (Ref. 27) but can be modified per package or database. The groups must be specified for all species. Note that the interaction parameter matrix is sparse, and a package can only be used if all interaction parameters for all used groups are specified.
ChaoSeader (GraysonStreed) The ChaoSeader model Ref. 13 correlates liquid phase partial coefficients for pure species, for use of hydrogen and hydrocarbon mixtures at elevated pressure and temperatures. It is expressed by
ln i l = ln i + ln i l 0
(6-83)
The activity is based on the ScatchardHildebrand equation Ref. 14 and presented in Equation 6-45 to Equation 6-47. ChaoSeader specific values for liquid volume, Vi, and solubility parameter, i, are used.
If Vi is unspecified, it can be estimated by
a molar volume at normal boiling point b van der Waals volume c from the Rackett model, Equation 6-80, at normal boiling point temperature. If the ChaoSeader specific solubility parameter, i, is not specified, the generic solubility parameter is used.
The fugacity coefficient for pure species i is correlated as
log i l 0 = log i l 1 + ilog i l 2
(6-84)
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 469
log i l 1
=
Ai
0
+
A-----i----1Tr i
+
Ai
2Tr
i
+
Ai
3 T r2
i
+
Ai
4Tr3
i
+Ai 7Tr2 i + Ai 6Tr i + Ai 5Pr i + Ai 9Tr i + Ai 8Pr2 i log Pr i
(6-85)
log i l 2
=
Ai
10
+
A-----i----1--2Tr i
+
Ai
11Tr
i
+
Ai
13Tr3
i
+
Ai
14 P r
i
0.6
(6-86)
A ChaoSeader specific acentric factor i is used. If it is unknown, it can be set equal to the generic acentric factor. The parameter values are taken from the later publication of Grayson and Streed Ref. 15 and given in Table 6-2.
TABLE 6-2: CHAOSEADER GRAYSONSTREED FUGACITY COEFFICIENT PARAMETERS.
H2
CH4
OTHER
ALL
Ai,0
1.50709
1.36822
2.05135
Ai,10
-4.23893
Ai,1
2.74283
-1.54831 -2.10899 Ai,11
8.65808
Ai,2
-0.02110
Ai,12
-1.22060
Ai,3
0.00011
0.02889
-0.19396 Ai,13
-3.15224
Ai,4
-0.01076 0.02282
Ai,14
-0.02500
Ai,5
0.008585 0.10486 0.08852
Ai,6
-0.02529
Ai,7
-0.00872
Ai,8
-0.00353
Ai,9
0.00203
The corresponding vapor phase model is RedlichKwong equation of state. The ChaoSeader (GraysonStreed) model is valid when
- 255 K < T < 533 K - P < 6.89 MPa - Pr < 0.8 - 0.5 < Tr,i < 1.3, for all hydrocarbons except CH4 - xCH4 < 0.3 - For systems that include CH4 or H2S:
xiTr i 0.93
i
470 | C H A P T E R 6 : T H E R M O D Y N A M I C S
The enthalpy, entropy, and Gibbs free energy can be calculated from Equation 6-109 to Equation 6-118.
LIQUID VOLUME MODELS
When an activity coefficient model or the ChaoSeader (GraysonStreed) model is used, a liquid volume model must be explicitly selected. It is also possible to assign a liquid volume model when an equation of state is used.
For liquids the density is defined as the reciprocal of the liquid volume:
l
=
--1--Vl
(6-87)
Using a cubic equation of state, the solution has 1, 2, or 3 different roots for the volume. The liquid density is defined as the root producing the highest density, and the vapor density as the root producing the lowest density.
Equation of State When an equation of state is selected as the liquid phase model, the liquid volume is by default set to be calculated using the same equation of state model. The other liquid volume models; Ideal Mixture, COSTALD, and Rackett are also available.
Note, the vapor phase model and the liquid volume cannot use different equation of state models.
Ideal Mixture For an ideal mixture the liquid volume is computed from the pure species densities (corresponding to the saturated liquid density):
Vl m =
---x---i-i i l
(6-88)
In this case the pure species densities corresponds to the saturated liquid density, which is available as a temperature dependent correlation for all species in the built-in database.
COSTALD Hankinson and Thomson Ref. 28 presented the Corresponding States Liquid Density (COSTALD) equation as
-----V------Vmix
=
Vr ref1 Vr
(6-89)
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 471
Vr ref = 1 + a1 Tr1/3 + b1 Tr2/3 + c1 Tr + d1 Tr4/3 (6-90)
Vr
=
e-----+-----f--T----r----+-----g---T-----r2----+-----h----T----r-3Tr 1.00001
Vmix
=
1-4
xi
Vi
+
3
x i V i2
/
3
xi
Vi1
/
3
i
i
i
2
xi Tc iVi
Tc
=
------i----------------------------------Vmix
(6-91) (6-92)
(6-93)
Tr
=
--T--Tc
1
T Tc T Tc
(6-94)
= xii
i
(6-95)
where the volume, Vi, and acentric factor, ifor species i are model specific
parameters. If the COSTALD volume parameter is unspecified, it is estimated from the van der Waals volume when VVDW,i> 0.310-3 m3/mol
Vi = 5.385 VVDW i 5.1022VV2DW i + 79.524VV3DW i 99.316VV4DW i + 100.88VV5DW i 1152.7VV6DW i
(6-96)
otherwise, it can be set equal to the critical volume as
Vi = Vc i
(6-97)
If the COSTALD acentric factor, i is not specified, it can be set equal to the generic acentric factor for species i. A critical temperature, Tc,i must be specified for all species.
The correlation parameter values are:
TABLE 6-3: REDUCED VOLUME CORRELATION PARAMETERS IN COSTALD.
a
-1.52816
e
-0.296123
b
1.43907
f
0.386914
472 | C H A P T E R 6 : T H E R M O D Y N A M I C S
TABLE 6-3: REDUCED VOLUME CORRELATION PARAMETERS IN COSTALD.
c
-0.81446
g
d
0.190454
h
-0.0427258 -0.0480645
Rackett The Rackett equation Ref. 29 computes the liquid density at the saturation point, and can be used to describe liquid density at any pressure using the assumption that the liquid is incompressible. The equation and its condition can be expressed as:
Vl
=
R
i
-------x---i--T-----c----i-------
MWiPc i
i
1
+
1
T
2 r
2 7
Zr i
i
xi M W i
(6-98)
Tc = xiTc i
i
(6-99)
Tr
=
--T--Tc
1
T Tc T Tc
(6-100)
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:
Zr i = Zc i
(6-101)
Selecting the Right Thermodynamic Model
Which thermodynamic model is the most appropriate depends on a number of things, for example the nature of the properties to be used, the operational pressure and temperature, and not least the availability of the required model parameters. One general introduction to how to select thermodynamic models, as well as estimating missing parameters and validating properties can be found in Ref. 77.
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 473
Below is a decision tree that can be used as a guide for choosing the thermodynamic model:
Figure 6-36: Decision tree to select thermodynamics model.
Species Property References
All references used for the included constants and temperature-dependent properties are available in the database file. The reference comments can be inspected in the settings window by right-clicking a species property node (under a Thermodynamic System) and selecting Properties.
Thermodynamic Properties Definitions
The thermodynamic properties provided are listed as species and mixture property in a Property package.
474 | C H A P T E R 6 : T H E R M O D Y N A M I C S
Ideal Gas The ideal gas law is independent of composition and determines V at given T and P. Density can be calculated from
= -1-V
(6-102)
The partial fugacity coefficients
ln^ i = 0
(6-103)
The ideal gas enthalpy for mixture
T
Hig =
i
xiHi ig Tref +
T
re
f
C
P
i
i
g
dT
(6-104)
where Hi,ig,Tref relates the enthalpy of an ideal gas to the enthalpy at the selected reference state for species i.
The ideal gas entropy for species i
Sig =
i
xiSi ig Tref R ln xi +
T Tref
-C----P------i---i--gT
dT
R
ln
-P--P--r-e--f
(6-105)
where Si,ig,Tref is the entropy of an ideal gas to the entropy of species at the selected reference state.
The Gibbs free energy follows from
Gig = Hig TSig
(6-106)
Equation of State The equation of state determines V at given x, T, and P. Density can be expressed as Equation 6-102. The partial fugacity coefficients are derived from
ln^ i
=
---1----RT
P 0
V^ i
R---P--T---
(6-107)
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:
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 475
H = Hig RT2
xi
----l--n-T----^---i
i
S = Sig R xi ln ^ i + T----l--n-T----^---i
i
(6-108) (6-109)
G = Gig RT xi ln^ i
i
(6-110)
Heat Capacity
The heat capacity at constant pressure is calculated from
CP
=
----HT---
P,x
(6-111)
It is available when the enthalpy is available. The heat capacity at constant volume is defined by
Cv
=
----HT---
v,x
(6-112)
The relationship between the heat capacity at constant pressure and constant volume can be expressed as
Cp Cv
=
T
----VT--
P,x
----TP--
v,x
(6-113)
were v is a function of T and P. A Taylor expansion of vat constant composition gives
v
=
----VT--
P,x
T
+
----VP--
T,x
P
=
0
Rearranging equations above gives
(6-114)
Cv
=
CP
+
T---------------VT---------P2---,--x
----VP--
T,x
(6-115)
Cv is available if Cp and volume are available and fluid is compressible by means of volume is pressure dependent. For ideal gas Equation 6-113 express as
476 | C H A P T E R 6 : T H E R M O D Y N A M I C S
Cp Cv = R
(6-116)
Specific heat capacity ratio is defined as
= C-----pCv
(6-117)
Activity Coefficient Models The enthalpy, entropy, and Gibbs free energy follow from the activity coefficients and the ideal gas contributions in Equation 6-104 Equation 6-106. The activity coefficients describe the deviation of chemical potentials from the ideal liquid phase, so heats of vaporization need to be accounted for
H =
i
xi
Hi
ig
Tref
+
T T
re
f
C
P
i
i
g
dT
H
i
vap
R
T2
----l--n-------i T
RT2----l--n-----^-T--i----s--a---t
(6-118)
S =
i
xi
Si
i g
Tref
R
ln
xi
+
T Tref
-C----P------i---i--gT
dT
R
ln
P---P--i--r--se--af---t
+
ln i
+
T ----l--n-T------i
+
ln ^ i
sat
+
T
----l--n-----^---i----s--a---t T
+
R ----H-----Ti----v---a--p-
(6-119)
T
G =
i
xiHi ig Tref +
Tref
CP
i
igdT
T
Si
i g
Tref
+
T Tref
C-----P-----i----i--gT
dT
+
RT
ln
xi
+
ln i
+
ln ^ i
sat
+
ln
P---iP----sr--ae--tf---
(6-120)
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 = xi^ iP
(6-121)
Internal energy is calculated from
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 477
U = H PV + xiUi ig ref
i
(6-122)
where Ui,ig,ref is the enthalpy of an ideal gas to the species enthalpy at the selected reference state.
Helmholtz energy is calculated from
A = U TS = G PV
(6-123)
The K-values for phases p and q are taken from Ki p q = -^^---ii----pq-
If only liquid phases are defined, the K-value calculation is reduced to
(6-124)
Ki p q
=
---i----qi p
(6-125)
Mmix = xiMi
i
(6-126)
Standard Enthalpy of Formation and Absolute Entropy Terms
Formation terms are not included in the enthalpy, entropy, or internal energy. If the enthalpy of formation is specified for all species, EnthalpyF (HF) represent the enthalpy including the formation terms. If the absolute entropy of all species are specified then the EntropyF (SF) includes the absolute entropy.
At reference conditions, the heat of any reaction relates to the heat of formation as
Hreac,ref = iHf ref
i
(6-127)
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.
The following enthalpy expression should be used:
HF = H + xiHf i ref
i
(6-128)
478 | C H A P T E R 6 : T H E R M O D Y N A M I C S
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 + xiSabs i
i
(6-129)
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.
In database, a set of parameters introduced to define Absolute entropy and Standard enthalpy of formation for ideal gas and different phases (Vapor, liquid, Solid, and Aqueous infinite dilution). One can use these parameters to calculate Gibbs free energy of reaction when different phases are available (See Electrode reaction).
SPECIES GIBBS FREE ENERGY OF FORMATION
As the COMSOL ThermoDB does not include entropy of formation of species, entropy Equation 6-129 and in consequence Gibbs free energy Equation 6-110 are estimated from absolute entropy's value. Therefore, the absolute value of entropy of formation and Gibbs free energy of formation of the species are not correct. However, for our applications these absolute values are not required while the value of entropy and Gibbs free energy change of reaction (the difference value) are correct.
If user needs the absolute value of entropy of formation, it is possible to estimate it by:
Si = Sf i = jSabsj
j
(6-130)
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
N2g + 3H2g 2NH3
(6-131)
Sf NH3 = 2Sabs NH3 Sabs N2 + 3Sabs H2
(6-132)
The values from RHS of Equation 6-132 can be extracted from COMSOLThermoDB. This value should be used in Equation 6-128 to estimate the absolute value of Gibbs free energy of species.
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 479
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
THERMAL CONDUCTIVITY
Vapor
Ideal
The thermal conductivity correlations is according to:
v = xii v + v P
i
(6-133)
The pressure correction v,P is calculated from the method of Stiel and Thodos, see Ref. 30, which is applicable for r 3, but is less accurate for H2, strongly polar gases, and gases with a high degree of hydrogen bonding, such as H2O and NH3
v P
=
---------P-----c2---/--3---------MTc1 / 6Zc5
A
exp
Br
+
C
(6-134)
480 | C H A P T E R 6 : T H E R M O D Y N A M I C S
r
=
---c
c
=
--1--Vc
The mixing rules are as suggested by Yorizane, see Ref. 31:
Vc = xi xjVc i j
ij
(6-135) (6-136) (6-137)
xi xjVc i jTc i j
Tc
=
---i-------------j------------------------------------Vc
= xii
i
Zc = 0.2910.08
Pc
=
R-----T-----c--Z----cVc
M = xiMi
i
where the binary constants are
Vc i j
=
1-8
Vc1/i3
+
Vc1/j3
3
Tc i j = Tc iTc j
The Stiel and Thodos coefficients are
TABLE 6-4: PRESSURE CORRECTION PARAMETERS.
r0.5 0.5r2.0 r2.0
A
A1=2.702E8 A2=2.528E8 A3=0.574E8
B
B1=0.535 B2=0.670 B3=1.155
(6-138) (6-139) (6-140) (6-141) (6-142)
(6-143) (6-144)
C
C1=-1 C2=-1.069 C3= 2.016
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 481
However, in order to ensure 0th-order continuity at r 0.5 and r 2.0, the following coefficients for r 2.0 are recalculated from
A2
=
-A----1---C----1-----+----A-----1---e---x---p-------0---.--5-----B----1-----------A-----3---C----3---------A----3----e---x---p------2----.-0-----B-----3--- exp 2.0 B2 exp 0.5 B1
(6-145)
C2
=
-A----1---C-----1---e---x---p-------2---.--0-----B----2-------+-----A----1---e---x----p------0---.--5-----B----1------e---x---p-------2---.--0-----B----2---A1C1 + A1 exp 0.5 B1 A3C3 A3 exp 2.0 B3
-A----3---C-----3---e---x---p-------2---.--0-----B----2-------+-----A----3---e---x----p------0---.--5-----B----2------e---x---p-------2---.--0-----B----3---A1C1 + A1 exp 0.5 B1 A3C3 A3 exp 2.0 B3
(6-146)
The vapor thermal conductivity correlation must be available for all species. Also
critical volumes, Vc,i, critical temperatures, Tc,i, molecular weights Mi, and acentric factors i must be specified for all species.
Kinetic Theory
Lindsay and Bromley (see Ref. 32) provided an equation for the interaction parameters of the method of Wassiljewa (see Ref. 33) based on the kinetic theory, to provide mixture thermal conductivity from pure species values
v =
----x---i-----i----v----
+
v
P
i
xji j
j
(6-147)
i j
=
1-4
1
+
----i----vj v
M-M-----ij
3
/
4
T------+--------32--------T-----b-----i
T
+
32--
Tb
j
2
-T-----+--T------+----94-----32------T---T-b---b--i--T-i---b-----j
(6-148)
where the pressure correction v,P is calculated from Equation 6-134. Both vapor thermal conductivity correlation i,v and the vapor viscosity correlation i,v must be available for all species. In addition, all normal boiling points Ti,b, molecular weights Mi, critical volumes Vc,i, critical temperatures Tc,i, and acentric factors i must be specified.
Water (IAPWS)
The International Association of the Properties of Water and Steam recommend an equation Ref. 34 which is valid in the following range:
482 | C H A P T E R 6 : T H E R M O D Y N A M I C S
273.15 K T 773.15 K
p 100 MPa
(6-149)
773.15 K T 923.15 K
p 70 MPa
(6-150)
923.15 K T 1073.15 K
p 40 MPa
(6-151)
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
l m = xii l
i
(6-152)
The pressure dependence is based on the work of Missenard (Ref. 51) where
where Q is correlated as
----l----m------P-l m
=
1 + QPr0.7
(6-153)
Q = -0.013693477 + 0.057427673Tr + 0.001617831Tr ln P1 (6-154)
and the following mixing rules are used
Tr
=
--T--Tc
(6-155)
Pr
=
--P--Pc
(6-156)
Pc
=
R-----T-----c--Z----cVc
(6-157)
Vc = xiVc i
i
(6-158)
Tc = xiTc i
i
(6-159)
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 483
Zc = xiZc i
i
(6-160)
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------ = ---x---i--
l2 m
i l i
(6-161)
All liquid thermal conductivity correlations must be specified. The model is valid for pure compound thermal conductivity values that are no more apart than a factor of 2 (Ref. 52 and Ref. 53). The pressure dependence is introduced using Equation 6-153 through Equation 6-160. All values for critical temperatures, Tc,i, critical volumes, Pc,i and critical compressibility factors, Zc,i must be specified for all spices i.
Local Composition
The local composition model by Rowley (Ref. 53) uses an ideal and excess contribution
l m = l ideal + l excess
(6-162)
The ideal part is based on mass fractions
l ideal = ii l
i
i = ----x----i-M------i----
xjMj
j
The excess term is based on NRTL local concentrations
(6-163) (6-164)
484 | C H A P T E R 6 : T H E R M O D Y N A M I C S
ijGj ij i i l
l excess = ---i--------j-------------------------------------------------------
jGj i
j
(6-165)
where Gj,i follows from Equation 6-58. The binary interaction terms follow from
i j
=
j i
=
-----i------i----i-----i----l---+----------j------j----j-----j----l ii i + jj j
(6-166)
which is symmetric, and on the diagonal,
i i = i l
(6-167)
and
i i = ii + jGj i
(6-168)
with i is the composition in the binary mixture of species i and j and the local composition is equi-molar
i = ---------------M------i------G-----j----i-------------Mi Gj i + Mj Gi j
(6-169)
All liquid thermal conductivity correlations must be specified. The pressure
dependence is introduced using Equation 6-153 Equation 6-160. All values for critical temperatures Tc,i, critical volumes Pc,i, critical compressibility factors Zc,i, and molecular weights Mi must be specified for all compounds i. In addition, all NRTL binary interaction parameters Ai,j must be specified. Unspecified values for NRTL interaction parameters Bi,j are set to zero. The randomness parameters i,j have values of zero on the diagonal and the matrix is symmetric. All off-diagonal values must be
specified. NRTL model is presented in Equation 6-54 to Equation 6-65.
Local Composition (Modified)
Rowley (Ref. 52) adapted the local composition model by replacing the mixing rule in Equation 6-166 by the following
i j
=
j i
=
M------i---------i------i----i--------i----l---+-----M------j--------j-------j---j--------j----l Miii i + Mjjj j
(6-170)
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 485
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)
The International Association of the Properties of Water and Steam recommend an equation Ref. 34 which is valid in the following range:
273.15 K T 773.15 K
p 100 MPa
(6-171)
773.15 K T 923.15 K
p 70 MPa
(6-172)
923.15 K T 1073.15 K
p 40 MPa
(6-173)
VISCOSITY
Vapor
Wilke
Wilke, see Ref. 35, based his method for mixture viscosity of the vapor phase on kinetic theory:
v =
----x---i------i----v----
i
xji j
j
(6-174)
i j
=
---1-----+-----------------ij--------vv-------M-M------------ij-----1---/--4------2-
8
1
+
-MM-----ij
(6-175)
The vapor viscosity correlation i,v must be available for all species. In addition, all molecular weights Mi must be specified.
Brokaw
Brokaw (see Ref. 36) uses the same basic equation as Wilke (Equation 6-174). However, Equation 6-175 is replaced by
486 | C H A P T E R 6 : T H E R M O D Y N A M I C S
i j = Si jAi j
----i----vj v
and the interaction parameter is defined as
(6-176)
Ai j
=
----------i----j----RMi j
1
+
2-------1----+-----R-----M---R---i--M--j----i-+---j-------------R---------1M-i--------j-+--i-0-----.--Rj4--1----5---M---+--------i--0R----.--j--4--M--5---------i--------j-----
(6-177)
where
i j
=
---M--4----iM---+---i--MM------jj----2-
1
/
4
,
RMi j
=
M------i Mj
(6-178)
The vapor viscosity correlation, i,v must be available for all species i. In addition, all molecular weights Mi must be specified. If LennardJones energy i (see Ref. 37) Stockmayer's polar parameter s,i(Ref. 38 and Ref. 39) are specified for both species i and j then
Otherwise,
Si j
=
-------------1----+-------------T--i------2----j---+-----14---------s-----i-----s----j------------
1
+
-T-i
+
1-4
s
i
1
+
-T-j
+
1-4
s
j
Si j = 1
(6-179) (6-180)
Davidson
The Davidson method, see Ref. 40, requires fewer compound specific parameters than Brokaw, while reported accuracy is almost as good, and in the case of H2, even surpasses it. The Davidson model only requires molar masses and the viscosities of the pure gases. The model is based on fluidity, which is defined to be the reciprocal viscosity.
f
=
-1
(6-181)
The fluidity of the mixture is then calculated as
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 487
f
=
i
j
-----y---i--y----j----
i j
EiA
j
(6-182)
where yi is the momentum fraction of species i; Ei,j is the momentum transfer coefficient of the species pair i, j; and A is an empirical species-independent parameter
set to 1/3. The momentum fraction is given by
yi = -------x---i------M------i------
xj Mj
j
and the momentum transfer coefficient is taken as
(6-183)
Ei j
=
2--------M------i------M------j Mi + Mj
(6-184)
High Pressure Modification
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:
v P
=
-----M-T-----tc1--P-/--6-c2---/--3-
1----0---1-1--3--0--2---5-7---2---/--3-
(6-185)
where is calculated from the correlation of Jossi (Ref. 41), which is applicable for r 3.0. It is less accurate for H2, strongly polar gases and gases with a high degree of hydrogen bonding such as H2O and NH3.
The correction factor is due to using pressure, atm, and viscosity, cP, units in Jossi's correlation. It is expressed as:
1--
+ 14 = 1.0230 + 0.23364r + 0.58533 r2 0.40758 r3 + 0.093324 r4
(6-186)
r
=
---c
(6-187)
488 | C H A P T E R 6 : T H E R M O D Y N A M I C S
c
=
--1--Vc
The following mixture rules are used
Pc
=
R-----T-----c--Z----c- , Vc
Vc
=
xiVc i , Tc =
i
xiTc i
i
(6-188) (6-189)
Zc = xiZc i , Mt = xiMi
i
i
(6-190)
The values for critical volumes, Vc,i, critical temperatures, Tc,i, critical compressibility factors, Zc,i and molecular weights, Mi must be specified for all species i.
The high pressure correction is available for the Wilke, Brokaw, and Davidson mixture models. The vapor viscosity follows from
v = v Wilke + v P
(6-191)
where v,Wilke is calculated from Equation 6-174.
Pedersen Corresponding States Model
The corresponding states viscosity model of Pedersen (Ref. 42 and Ref. 43) applies to both vapor and liquid phases of hydrocarbon mixtures. The selected reference species is CH4.
The CH4 viscosity is calculated from Ref. 44, modified by Pedersen and Fredenslund (Ref. 45) to avoid issues below 91 K where CH4 becomes solid
CH4
=
CH4
0
+
CH4
CH
4
1
+
F1CH4
2
+
F 2 CH 4
3
(6-192)
where
F1
=
H-------+-----1-2
(6-193)
F1
=
-1---------H--2
(6-194)
H
=
---e---x----p----------T-------------e---x---p-------------T-------expT + expT
(6-195)
T = T 91 K
T K
(6-196)
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 489
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 dilute gas part is given by
CH4 0
=
----L----1T
+
T---L--2--2-/--3-
T---L--1--3-/--3-
+ L4L5T1/3 + L6T2 3 L7T + L8T4 3 L9T5/3
(6-197)
The first density correction for the moderately dense gas is given by
CH4 1
=
L10
L11
1.4
ln
1----6---T8------K--
2
The remainder is given by the empirical correlation
(6-198)
CH4 2
=
exp
L-----1--2T
L13
exp
10
CH
4
L
14
T--L---3-1--/-5-2-
+
----C----H---4---c----C----H--c--4---C---H----4
CH
4
L
16
+
L-----1--7T
+
L--T---1-2-8-
1
(6-199)
The correction term for solid CH4
CH4 3
=
exp
-L----1--9T
L20
exp
10
CH
4
L
21
T--L---3-2--/-2-2-
+
----C---H-----4-c-----C---H--c---4-C----H----4
CH4
L
23
+
L-----2--4T
+
L--T---2-2-5-
1
(6-200)
with the values of the parameters L1 through L25 are listed in Table 6-5 below:
TABLE 6-5: METHANE VISCOSITY NUMERICAL COEFFICIENTS.
L1 2.090975·105 L2 2.647269·105 L3 1.472818·105
L10 1.696985927 L11 0.133372346 L12 188.73011594
L4 47167.40
L13 10.35060586
L5 9491.827
L14 17.571599671
L6 1219.979
L15 3019.3918656
L7 96.27993
L16 0.042903609488
L19 9.74602 L20 44.6055 L21 18.0834 L22 4126.66 L23 0.976544 L24 81.8134 L25 15649.9
490 | C H A P T E R 6 : T H E R M O D Y N A M I C S
TABLE 6-5: METHANE VISCOSITY NUMERICAL COEFFICIENTS.
L8 4.274152
L17 145.29023444
L9 0.08141531
L18 6127.6818706
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. 46) is solved for the density of CH4
P
=
N 1 CH 4 T
+
2 CH4
N2
T
+
N3
T
N4
+
N------5T
N-T----2-6-
(6-201)
+
3 CH
4
N7
T
N8
+
N------9T
N--T----12--0-
+
4 CH
4
N
11
T
+
N12
+
----N-T----1--3-
+
N14C5 H4
+
6 CH
4
N------1--5T
+
-N-T----1-2-6-
+
N17
----C7----H----4 T
+
8 CH4
N------1--8T
+
N--T----1-2-9-
+
N
20
----C9---H-----4 T
+
exp
N21
2 CH
4
C3 H
4
N------2--2T2
-N-T----2-3-3-
+
5 CH
4
N------2--4T2
+
N--T----2-4-5-
+
7 CH4
N------2--6T2
+
N--T----2-3-7-
+
9 CH
4
N------2--8T2
N--T----2-4-9-
+
11 CH
4
N------3--0T2
+
N--T----3-3-1-
+
C13H
4
N------3--2T2
-N-----3--3T3
+
N34T4
where CH4 is used in mol/l.
TABLE 6-6: COEFFICIENTS IN THE FUNCTIONAL FORM OF THE MCCARTY EOS.
N1 0.08205616 N2 0.018439486666
N13 2.8685285973
N25
N14 0.11906973942·10-3 N26
N3 1.0510162064
N15 0.0085315715699 N27
N4 16.057820303
N16 3.8365063841
N28
N5 848.44027562
N17 0.24986828379·10-4 N29
N6 42738.409106
N18 0.57974531455·10-5 N30
N7 0.76565285254·10-3 N19 0.0071648329297
N31
N8 0.48360724197
N20 0.12577853784·10-3 N32
N9 85.195473835
N21 0.0096
N33
N10 16607.434721
N22 22240.102466
N34
N11 0.37521074532·10-4 N23 1.4800512328·106
N12 0.028616309259
N24 50.498054887
1.6428375992·106
0.21325387196
37.791273422 0.1185701681·10-4
31.630780767 0.4100678294·10-5
0.0014870043284 3.151226153·10-9 0.2167077474·10-5 0.2400055107·10-4
With the viscosity and density of CH4 defined, the viscosity of any mixture, mcan be calculated from the corresponding states principle
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 491
m
=
T-----c-T---C--c--H----4
----16
P-----c-P---C--c--H----4
2
/
3
M---M---C---m-H----4
1
/
2
-----C---H----4
CH
4
P
0
T
0
(6-202)
where the CH4 viscosity CH4,P0,T0 is calculated at temperature T0 and pressure P0:
T0
=
-T----c-T---C-c---H----4
T
-----C---H----4
(6-203)
P0
=
-P----c-P---C-c---H----4
P
-----C---H----4
(6-204)
The following mixing rules are used for the critical properties, see Ref. 47:
xixji j Tc iTc j
Tc = ---i--------j------------------------------------------------
xixji j
ij
(6-205)
8
xixji j Tc iTc j
Pc
=
-------i--------j------------------------------------------------
2
xixji j
ij
i j
=
T-P----cc----ii
1
/
3
+
T-P----cc----jj
1
/
3
3
The parameter is
= 1 + 7.378103r1.847M0m.5173
where
r
=
----C----H----4----P---0----T---0 c CH4
T0
=
-T----c-T---C-c---H----4
T
(6-206)
(6-207) (6-208) (6-209) (6-210)
492 | C H A P T E R 6 : T H E R M O D Y N A M I C S
P0
=
-P----c-P---C-c---H----4
P
with c,CH4 0.16284 g/cm3. For CH4
CH4
=
1
+
7.378
103
1.847 r
M0C.H51473
(6-211) (6-212)
where Equation 6-209 is used. The mixture molecular weight is a function of the weight-averaged molecular weight and the number-averaged molecular weight
Mm = 1.304104MW2.303 MN2.303 + MN
(6-213)
xi Mi2
MW
=
---i----------------MN
(6-214)
MN = xiMi
i
(6-215)
where the power in Equation 6-213 is determined by fitting to experimental viscosity data.
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)
The International Association of the Properties of Water and Steam recommend an equation Ref. 48Ref. 49 for industrial application which is valid in the following range:
273.16 K T 1173.15 K
0 p pt
(6-216)
Tmp T 1173.15 K
pt p 300 MPa
(6-217)
Tmp T 873.15 K
300 MPa p 350 MPa
(6-218)
Tmp T 433.15 K
350 MPa p 500 MPa
(6-219)
Tmp T 373.15 K
500 MPa p 1000 MPa
(6-220)
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 493
where Tm is the pressure dependent melting temperature and pt is the triple-point pressure. In accordance with industrial application recommendations, critical region correction is not applied.
Liquid The following mixture models are available for liquid viscosity.
Molar Logarithmic Mixing
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
i
where m,l is the mixture viscosity of liquids.
(6-221)
Mass Logarithmic Mixing
The values of pure species log liquid viscosity correlation are mixed ideally using the weight fractions i
ln l m = i ln i l
i
(6-222)
Pedersen Corresponding States Model
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
l m
=
xii1 /l3 3
i
(6-223)
The model is noted in Ref. 50 to provide reasonable results for hydrocarbon mixtures of similar components.
494 | C H A P T E R 6 : T H E R M O D Y N A M I C S
The model requires that the log liquid viscosity correlation is available for all species i.
Cubic mass mixing
The mass fraction equivalent of the previous model is
l m
=
ii1 /l3 3
i
(6-224)
The model requires that the log liquid viscosity correlation is available for all species i.
Water (IAPWS)
The International Association of the Properties of Water and Steam recommend an equation Ref. 48Ref. 49 for industrial application which is valid in the following range:
273.16K T 1173.15K
0 p pt
(6-225)
Tmp T 1173.15 K
pt p 300 MPa
(6-226)
Tmp T 873.15 K
300 MPa p 350 MPa
(6-227)
Tmp T 433.15 K
350 MPa p 500 MPa
(6-228)
Tmp T 373.15 K
500 MPa p 1000 MPa
(6-229)
where Tm is the pressure dependent melting temperature and pt is the triple-point pressure. In accordance with industrial application recommendations, critical region correction is not applied.
DIFFUSIVITY
Two types of diffusion coefficients are supported. Diffusion coefficients in infinitely diluted systems, and MaxwellStefan 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 MaxwellStefan diffusion coefficient Di j , represents the inverse drag coefficient of species i moving past species j (Ref. 54Ref. 57). This
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 495
property is referred to as the MaxwellStefan diffusivity. The MaxwellStefan diffusivity is symmetric, Di j = Dj i , and the diagonal elements Di i are not used.
Gas Phase Diffusion Coefficient at Infinite Dilution The following models are available for the diffusion coefficients at infinite dilution in the vapor phase:
· FullerSchettlerGiddings · WilkeLee
Automatic When the Gas diffusivity property model is set to Automatic, the Fuller SchettlerGiddings model is used, provided that the Fuller diffusion volume is known for both species (i and j), otherwise the WilkeLee model is used.
FullerSchettlerGiddings
Fuller and others (Ref. 58) modified the ChapmanEnskog relation to correlate binary diffusion coefficient for species i and j in the vapor phase according to the Fuller SchettlerGiddings (FGS) model:
1.01325 102T1.75 ---1--- + ---1---
Di0 j
=
-----------------------------------------------------------M------i--------M------j
P
i
1--
3 v +
j
v
13--
2
(6-230)
where T denotes the temperature (K), Mi the molecular weight of species i (g/mol) and P is the pressure (Pa). vi are the atomic diffusion volumes (Fuller diffusion volume, cm3), which are estimated using group contribution for each species
(Ref. 59):
TABLE 6-7: ATOMIC AND STRUCTURAL DIFFUSION VOLUME INCREMENTS.
GROUP
C H O N F Cl Br
CONTRIBUTION
15.9 2.31 6.11 4.54 14.7 21 21.9
496 | C H A P T E R 6 : T H E R M O D Y N A M I C S
TABLE 6-7: ATOMIC AND STRUCTURAL DIFFUSION VOLUME INCREMENTS.
GROUP
I
CONTRIBUTION
29.8
S
22.9
Aromatic Ring
-18.3
Heterocyclic Ring -18.3
For some simple molecules the values below, determined from regression, are used:
TABLE 6-8: DIFFUSION VOLUMES OF ATOM AND SIMPLE MOLECULES.
SPECIES
He
FULLER DIFFUSION VOLUME
2.67
Ne Ar Kr Xe H2 D2 N2 O2 CO CO2 N2O NH3 H2O SF6 Cl2 Br2 SO2 Air
5.98 16.2 24.5 32.7 6.12 6.84 18.5 16.3 18 26.9 35.9 20.7 13.1 71.3 38.4 69 41.8 19.7
WilkeLee
Wilke and Lee (Ref. 60) also modified the ChapmanEnskog relation to correlate binary diffusion coefficient in vapor phase according to:
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 497
where
Di0 j
=
102
3----.--0---3---------------------M-0-------.---9-W------8-----i--------j-----T----1---.-5Pi2 jD MWi j
(6-231)
MWi j
=
----------2-------------1--- + ---1---
Mi Mj
(6-232)
The length scale i,j for the interaction is taken from the LennardJones diameter parameters of species i and j:
i j
=
-------iL---J-----+--------jL----J--- 2
If iLJ is not specified in the database, it is instead estimated from:
1--
iLJ = 1.18 108Vi3 l b
where Vi,l,b is the molar volume of species at normal boiling point. The collision integral D is evaluated from (Ref. 61):
D = 1.06036 T-0.15610 + 0.19300 exp -0.47635 T + 1.03587 exp -1.52996 T + 1.76474 exp -3.89411 T
(6-233) (6-234) (6-235)
with
T = ---T---i j
(6-236)
The energy scale i,j for the interaction is taken from the LennardJones energy parameters of species i and j:
i j = iLJjLJ If iLJ is not specified in the database, it is instead estimated from:
---iL----Jk
=
1.15Ti l b
(6-237) (6-238)
498 | C H A P T E R 6 : T H E R M O D Y N A M I C S
where k is the Boltzmann constant and Ti,l,b is the normal boiling point temperature.
Gas Phase MaxwellStefan Diffusivity For gas phase diffusion the MaxwellStefan diffusivities are defined from the models for gas phase diffusivity at infinite dilution
Di j = Di0 j
i j
(6-239)
All models for gas phase diffusion at infinite dilution are symmetric, the diffusivity of species i in species j equals that of species j in species i. In addition, under the ideal gas assumption, the MaxwellStefan diffusion coefficient matches the Fick diffusion coefficient. This implies that the MaxwellStefan gas diffusivities provided are independent of composition.
Liquid Phase Diffusion Coefficients at Infinite Dilution The following models are available for the diffusion coefficients at infinite dilution in liquid phase:
· WilkeChang · TynCalus · HaydukMinhas · SiddiqiLucas · ErkeyRoddenAkgerman
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 ErkeyRoddenAkgerman 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.
· If a temperature correlation is available for species i and j, it is used.
· If the solvent is water, the SiddiqiLucas correlation (for aqueous systems) is used.
· If the solute and solvent are both normal paraffins, the HaydukMinhas correlation (for normal paraffins) is used.
· If the solvent is a normal paraffin, and the liquid density correlation for the solvent is available, and the solute is hydrogen, carbon-monoxide or carbon-dioxide, the ErkeyRoddenAkgerman correlation (for normal paraffins) is used.
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 499
· If parachors Pi and Pj are both available, and the liquid volume at normal boiling point, Vi,l,b is available for the solvent, the TynCalus correlation is used.
· If parachors Pi and Pj are both available, the HaydukMinhas correlation is used. · If the solute and solvent are both organic molecules and the liquid volume at normal
boiling point, Vi,l,b is available for the solvent, the SiddiqiLucas method is used. · If the molecular weight Mj is available for the solvent, the WilkeChang correlation
is used.
· If the solvent is a normal paraffin, and the liquid density correlation for the solvent is available, and the solute is a normal paraffin, the ErkeyRoddenAkgerman correlation (for normal paraffins) is used.
· If the solvent is a normal paraffin, and the liquid density correlation for the solvent is available, and the LennardJones diameter for the solute is available, the Erkey RoddenAkgerman correlation (for normal paraffins) is used.
For the SiddiqiLucas method, a molecule is considered organic if it has at least one C atom bound to anything other than O or C atoms. This is determined by the SMILES formula, if available. If, for any pair of species, the required input data for none of the above models is available, the entire property liquid diffusion coefficient at infinite dilution is not available.
WilkeChang
The correlation by Wilke and Chang (Ref. 62) for liquid phase diffusion coefficients at infinite dilution is:
Di0 j
=
1.858795959
1018
T-------------j-M------j jVi0.l6 b
(6-240)
Molecular weight, Mj, and log liquid viscosity correlation, ln j, for species j and liquid molar volume at normal boiling point for species i, Vi,l,b, is required. The Wilke Chang association parameter j, if unavailable, is set to:
TABLE 6-9: ASSOCIATION PARAMETERS FOR SOLVENT.
SOLVENT
Water Methanol Ethanol Others
ASSOCIATION PARAMETER
2.26 (Ref. 63)
1.9
1.5
1
500 | C H A P T E R 6 : T H E R M O D Y N A M I C S
Species are identified by their CAS number or SMILES formula. The WilkeChang correlation is not suitable for diffusion of water. If water is the solute, the correction suggested by Kooijman (Ref. 64) is applied where liquid molar volume of water at normal boiling point, Vwater,l,b is multiplied by 4.5.
TynCalus
The Correlation by Tyn and Calus (Ref. 65) for liquid diffusion coefficients at infinite dilution reads:
Di0 j
=
8.93 1016-T-------V-----i16------l---b------P----j0---.-6--
j
V j13--
l
b
Pi0.6
(6-241)
The log liquid viscosity correlation ln j should be available for species j, The liquid volume at normal boiling point, Vi,l,b and parachor, Pi should be available for both species i and j.
If the solvent is nonpolar (dipole moment is zero), and the solvent is methanol, ethanol or1-butanol or if the solvent is a mono-hydroxy alcohol, both the liquid volume at normal boiling point, Vj,l,b and the parachor, Pj are corrected by a factor of 8 × 103j.
If the solute is water, both the liquid volume at normal boiling point, Vi,l,b and parachor, Pi for the solute are corrected by a factor 2. This factor also applies if it is detected from the SMILE formula that the species is an organic acid (a carboxyl group is found), except in the cases where the solvent is water, methanol, or n-butanol.
HaydukMinhas
Hayduk and Minhas (Ref. 66) suggested three different correlations for liquid diffusion coefficients at infinite dilution.
Aqueous Solutions: in case the solvent is water (derived from CAS number or SMILES formula), the correlation reads:
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 501
Di0 j
=
1
.25
1012
T 1.52
0----.--0---7---2----4---4---3----5---9---6----0---1--
0.292
Vi0.l19b
j
10
3
9----.--5---8----------1---0------6 Vi l b
1.12
(6-242)
Normal paraffin solutions: In case both the solute and solvent are normal paraffins (derived from SMILES formula), the correlation reads:
Di0 j
=
7.30889362
1016T1.47
-------j--------1---0---3--------1-------0-----.---V2--------i-----l-----1b------0----------6------0---.-7---9--1--- Vi0.l71b
(6-243)
For all other systems, the correlation is:
Di0 j
=
3.8934239
1016
------------T----1---.-2---9-------P----j-----------j0.92 Vj0.l23b P i0.42
(6-244)
If the solvent is nonpolar (dipole moment is zero), and the solvent is methanol, ethanol or1-butanol or if the solvent is a mono-hydroxy alcohol, both the liquid volume at normal boiling point, Vj,l,b and the parachor, Pj are corrected by a factor of 8 103j .
If the solute is water, both the liquid volume at normal boiling point, Vi,l,b and parachor, Pi for solute are corrected by a factor 2. This factor also applies if it is detected from the SMILES formula that the species is an organic acid (a carboxyl group is found), except in the cases where the solvent is water, methanol, or n-butanol.
SiddiqiLucas
Siddiqi and Lucas (Ref. 67) suggested correlations for liquid diffusion coefficients at infinite dilution for aqueous system (including gases) and for organic solutions. For normal paraffins systems, they recommended the HaydukMinhas model.
For aqueous solutions:
Di0 j
=
1.295436901
1017
------------------T--------------------j1.026 Vi0.l54b73
(6-245)
For all other systems, the equation for organic solution is used as:
502 | C H A P T E R 6 : T H E R M O D Y N A M I C S
Di0 j
=
1.459473761
1015
------T------V-----j0---.-l2--6--b-5-------- j0.907 V i0.l45b
(6-246)
Where T is the temperature, Vi,l,b is the liquid volume at normal boiling point and j is the viscosity of the solvent.
ErkeyRoddenAkgerman
The correlation by Erkey and others (Ref. 68) for liquid diffusion coefficients at infinite dilution in normal paraffins is:
Di0 j
=
94.5
109
------------------------T-------V----------V----jr---e--f--------1---0---6--------------------
M i0.239 M j0.781 i j
1020
1.134
(6-247)
where the reference volume is
Vjref
=
---1--2
bjNAv
j3
(6-248)
NAv is Avogadro's number, and the deviation from closest packing volume is given by
bj
=
1.206 +
0.0632
----ij
(6-249)
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 LennardJones diameter, i is estimated from Bondi group contribution method (Ref. 69), and for some species are taken from Ref. 68 and
Ref. 70 as:
TABLE 6-10: MOLECULAR DIAMETERS FOR SPECIES.
SPECIES
1010 (M)
H2
2.92
CO
3.72
CO2 n-CjH2j+2
3.97 (21.82+32.44*j)1/3
To prevent the diffusion coefficients from becoming negative, the minimum difference of (V Vjref) is considered to be 1012 mol/m3.
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 503
Liquid Phase MaxwellStefan Diffusivity The MaxwellStefan liquid diffusion coefficients are calculated from the liquid diffusion coefficients at infinite dilution. The diagonal values should be ignored and are set to zero. The Vignes (Ref. 71) model for diffusion in binary solutions can be extended to multicomponent systems (Ref. 72):
n
Di j =
Di j xk 1xk
k=1
(6-250)
where Di j xk 1 denotes the MaxwellStefan liquid diffusion coefficient for species i and j in the limited of pure species k. If k = j, it represents a binary system of species i and j where i is infinitely diluted. In addition, at infinite dilution the thermodynamics factor (activity) (Ref. 57) becomes unity and the MaxwellStefan diffusivity equals to Fick diffusivity:
Di j xj 1
=
0
Di
j
=
Di0 j
(6-251)
Similarly,
Di j xi 1
=
0
Dj
i
=
Dj0 i
(6-252)
Models for the Di j xk 1 for k i and k j remain to be defined in such a way that symmetry is ensured:
Di j = Dj i
(6-253)
and to ensure continuity if both species i and j vanish:
xliim0Di j xk 1
=
lim D
xj 0
i
j
x
k
1
(6-254)
For binary systems, Equation 6-250 reduces to the Vignes interpolation formula.
WesselinghKrishna
Wesselingh and Krishna (Ref. 72) proposed:
leading to:
Di j xk 1 = Di0 jDj0 i
(6-255)
504 | C H A P T E R 6 : T H E R M O D Y N A M I C S
Di j = Di0 j1 + xj xi 2Dj0 i1 + xi xj 2
(6-256)
KooijmanTaylor
Kooijman and Taylor (Ref. 73) found on a limited number of systems that this provides better results:
Di j xk 1 = Di0 kDj0 k
k i j
(6-257)
leading to:
n
Di j
=
D
0 i
j
xj
D
0 j
i
xi
Di0 kDj0 kxk
k=1 k i j
(6-258)
Wesselingh and Bollen (Ref. 74) asserted that this is a reasonable estimate.
Krishnavan Baten
Krishna and van Baten (Ref. 75), on the basis of data obtained from molecular dynamic simulations, proposed the following Vignes-based (Ref. 71) interpolation:
Di j xk 1
=
Di0
k
-x---i--x+---i--x---j
Dj0
k
x----i--x+---j--x---j
k i j
(6-259)
The model reduces to the KooijmanTaylor model for xi = xj. The value of Di j xk 1 is undefined in the limit of both xi 0 and xj 0. From a physical point of view this is inconsequential as the value cancels out in the expressions obtained for the fluxes
using the MaxwellStefan equations. Nevertheless, in order to obtain well-defined
values and composition derivatives of Di j xk 1 itself, the equation is modified to:
Di j xk 1
=
Di0
k
-x---i--+--x---ix---+-j--+----x-2-------x
Dj0
k
x----i--+--x---jx---+j---+----x-2-------x
k i j (6-260)
where x 1010 is taken as a small composition. The limiting case for both xi 0 and xj 0 also reduces to the KooijmanTaylor model. This equation leads to:
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 505
Di j
=
D
0 i
j
xj
D
0 j
i
xi
n
D i0
k
x----i--+--x---ix---+-j--+----x-2-------x
D j0
k
x----i--+--x---jx---+-j--+----x-2-------x
xk
k = 1
k i j
(6-261)
Surface Tension
Below the available surface tension models are presented.
GAS-LIQUID SURFACE TENSION
Ideal The gas-liquid surface tension is predicted by ideally mixing the pure species correlations. It is independent of pressure, vapor temperature or composition.
vl = xi li vl
i
(6-262)
where the vapor-liquid surface tension correlations, i,vl, must be specified for all species i, and are evaluated at the temperature of the liquid phase.
Winterfeld Following Winterfeld (Ref. 76), the vapor-liquid surface tension is predicted by mixing the pure species correlations according to
x----i----l--x---j----l----------i---v---l------j----v--l
vl
=
---i--------j-----------------------i----l-----j----l--------------
i
-x---ii----ll 2
(6-263)
It is independent of pressure, vapor temperature and composition. The vapor-liquid surface tension correlations and liquid density correlations must be specified for all species i, and are evaluated at the temperature of the liquid phase.
References
1. A. Akerberg, CFD analyses of the gas flow inside the vessel of a hot isostatic press, Master of Science Thesis, KTH School of Industrial Engineering and Management, Stockholm, Sweden, 2012.
506 | C H A P T E R 6 : T H E R M O D Y N A M I C S
2. 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. 465474, 1986.
3. B.E. Poling, J.M. Prausnitz, and J.P. O'Connell, The Properties of Gases and Liquids, McGraw Hill, international edition, 2007.
4. M.C. Clapeyron, "Mémoire sur la puissance motrice de la chaleur," Journal de l'École polytechnique, vol. 23, pp. 153190, 1834 (in French).
5. D.Y. Peng and D. Robinson, "A new two-constant equation of state," Industrial and Engineering Chemistry: Fundamentals, vol. 15, pp. 5964, 1976.
6. C.H. Twu, J.E. Coon, and J.R. Cunningham, "A new generalized alpha function for a cubic equation of state, Part 1, PengRobinson equation," Fluid Phase Equilibria, vol. 105, pp. 4959, 1995.
7. O. Redlich and J.N.S. Kwong, "On the thermodynamics of solutions an equation of state, fugacities of gaseous solutions," Chem. Rev., vol. 44, no. 1, pp. 233244, 1949.
8. G. Soave, "Equilibrium constants from a modified RedlichKwong equation of state," Chem. Eng. Sci., vol. 27, no. 6, pp. 11971203, 1972.
9. M.S. Graboski and T.E. Daubert, "A modified Soave equation of state for phase equilibrium calculations, 3, systems containing hydrogen," Ind. Eng. Chem. Process. Des. Dev., vol. 18, no. 2, pp. 300306, 1979.
10. J.R. Cooper, "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", The International Association for the Properties of Water and Steam, IAPWS R7-97, 2012.
11. K. Watanabe, "Revised Supplementary Release on Backward Equations for the Functions T(p,h), v(p,h) and T(p,s), v(p,s) for Region 3 of the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam," The International Association for the Properties of Water and Steam, Kyoto, Japan, Sep. 2004.
12. F. Marsik, "Supplementary Release on Backward Equations for Specific Volume as a Function of Pressure and Temperature v(p,T) for Region 3 of the IAPWS Industrial Formulation 1997 for the Thermodynamics Properties of Water and Steam," The International Association for the Properties of Water and Steam, Santorini, Greece, July 2005.
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 507
13. K.C. Chao and J.D. Seader, "A general correlation of vapor-liquid equilibria in hydrocarbon mixtures," AIChE J., vol. 7, no. 4, pp. 598605, 1961. 14. J.H. Hildebrand and R.L. Scott, "The solubility of non-electrolytes," J. Phys. Chem., vol. 55, no. 4, pp. 619620, 1951. 15. H.G. Grayson and C.W. Streed, "Vapor-liquid equilibria for high temperature, high pressure hydrogen-hydrocarbon systems," 6th World Petroleum Congress, 19 26 June, Frankfurt am Main, Germany, IV, pp. 169180, 1963. 16. J.H. Hildebrand, J.M. Prausnitz, and R.L. Scott. Regular and Related Solutions, Van Nostrand Reinhold Co., 1970. 17. G.M. Wilson, "Vapor-liquid equilibrium. xi. a new expression for the excess free energy of mixing," J. Am. Chem. Soc., vol. 86, pp. 127130, 1964. 18. H. Renon and J.M. Prausnitz, "Local compositions in thermodynamic excess functions for liquid mixtures," AIChE J., vol. 14, no. 1, pp. 135144, 1968. 19. D.S. Abrams and J.M. Prausnitz, "Statistical thermodynamics of liquid mixtures: A new expression for the excess Gibbs energy of partly or completely miscible systems," AIChE J., vol. 21, no. 1, pp. 116128, 1975. 20. A. Fredenslund, R.L. Jones, and J.M. Prausnitz, "Group-contribution estimation of activity coefficients in nonideal liquid mixtures," AIChE J., vol. 21, no. 6, pp. 10861099, 1975. 21. S. Skjold-Joergensen, B. Kolbe, J. Gmehling, and P. Rasmussen, "Vapor-liquid equilibria by unifac group contribution. revision and extension," Ind. Eng. Chem. Process. Des. Dev., vol. 18, no. 4, pp. 714722, 1979. 22. J. Gmehling, P. Rasmussen, and A. Fredenslund, "Vapor-liquid equilibria by unifac group contribution. revision and extension. 2," Ind. Eng. Chem. Process. Des. Dev., vol. 21, no. 1, pp. 118127, 1982. 23. E.A. Macedo, U. Weidlich, J. Gmehling, and P. Rasmussen, "Vapor-liquid equilibria by unifac group contribution. 3. Revision and extension," Ind. Eng. Chem. Process. Des. Dev., vol. 22, no. 4, pp. 676678, 1983. 24. D. Tiegs, J. Gmehling, P. Rasmussen P, and A. Fredenslund, "Vapor-liquid equilibria by unifac group contribution. 4. Revision and extension," Ind. Eng. Chem. Process. Des. Dev., vol. 26, no. 1, pp. 159161, 1987.
508 | C H A P T E R 6 : T H E R M O D Y N A M I C S
25. H.K. Hansen, P. Rasmussen, A. Fredenslund, M. Schiller, and J. Gmehling, "Vapor-liquid equilibria by unifac group contribution. 5. Revision and extension," Ind. Eng. Chem. Process. Des. Dev., vol. 30, no. 10, pp. 23522355, 1991.
26. R. Wittig, J. Lohmann, and J. Gmehling, "Vapor-liquid equilibria by unifac group contribution. 6. Revision and extension," Ind. Eng. Chem. Process. Des. Dev., vol. 42, no. 1, pp. 183188, 2003.
27. K. Balslev and J. Abildskov, "Unifac parameters for four new groups," Ind. Eng. Chem. Res., vol. 41, pp. 20472057, 2002.
28. R.W. Hankinson and G.H. Thomson, "A new correlation for saturated densities of liquid and their mixtures," AIChE J., vol. 25, no. 4, pp. 653663, 1979.
29. H.G. Rackett, "Equation of state for saturated liquids," J. Chem. Eng. Data, vol. 15, no. 4, pp. 514517, 1970.
30. L.I. Stiel and G. Thodos, "The thermal conductivity of nonpolar substances in the dense gaseous and liquid regions," AIChE J., vol. 10, no. 1, pp. 2630, 1964.
31. M. Yorizane, S. Yoshimura, H. Masuoka, and H. Yoshida, "Thermal conductivities of binary gas mixtures at high pressures: nitrogen-oxygen, nitrogen-argon, carbon dioxide-argon, and carbon dioxide-methane," Industrial & Engineering Chemistry Fundamentals, vol. 22, no. 4, pp. 458463, 1983.
32. A.L. Lindsay and L.A. Bromley, "Thermal conductivity of gas mixtures," Industrial and Engineering Chemistry, vol. 42, no. 8, pp. 15081511, 1950.
33. A. Wassiljewa, "Heat conduction in gas mixtures," Physikalische Zeitschrift, vol. 5, no. 22, pp. 737742, 1904.
34. J.R. Cooper, "Release on the IAPS Formulation 1985 for the Thermal Conductivity of Ordinary Water Substance," The International Association for the Properties of Water and Steam, Berlin, Germany, Sep. 2008.
35. C.R. Wilke, "A viscosity equation for gas mixtures," J. Chem. Phys., vol. 18, no. 4, pp. 517 520, 1950.
36. R.S. Brokaw, "Approximate formulas for the viscosity and thermal conductivity of gas mixtures. ii," J. Chem. Phys., vol. 42, no. 4, pp. 11401147, 1965.
37. J.E. LennardJones, "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. 441462, 1924.
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 509
38. W.H. Stockmayer, "Second virial coefficients of polar gases," J. Chem. Phys., vol. 9, pp. 398402, 1941.
39. F.M. Mourits and F.H.A. Rummens, "A critical evaluation of LennardJones and Stockmayer potential parameters and of some correlation methods," Can. J. Chem. Eng., vol. 55, pp. 30073020, 1977.
40. T.A. Davidson, "A Simple and Accurate Method for Calculating Viscosity of Gaseous Mixtures", Report of Investigations 9456, United States Department of the Interior, Bureau of Mines, 1993.
41. J.A. Jossi, L.I. Stiel, and G. Thodos, "The viscosity of pure substances in the dense gaseous and liquid phases," AIChE J., vol. 8, no. 1, pp. 5963, 1962.
42. K.S. Pedersen and P.L. Christensen, "Phase Behavior of Petroleum Reservoir Fluids," CRC Press/Taylor & Francis Group, 2007.
43. K.S. Pedersen, A. Fredenslund, P.L. Christensen, and P. Thomassen, "Viscosity of crude oils," Chem. Eng. Sci., vol. 39, no. 6, pp. 10111016, 1984.
44. H.J.M. Hanley, W.M. Haynes, and R.D. McCarty, "The viscosity and thermal conductivity coefficients for dense gaseous and liquid methane," J. Chem. Phys., vol. 6, no. 2, pp. 597609, 1977.
45. K.S. Pedersen and A. Fredenslund, "An improved corresponding states model for the prediction of oil and gas viscosities and thermal conductivities," Chem. Eng. Sci., vol. 42, no. 1, pp. 182186, 1987.
46. R.D. McCarty, "A modified Benedict-Webb-Rubin equation of state for methane using recent experimental data," Cryogenics, pp. 276280, May 1974.
47. S. Murad and K.E. Gubbins, "Corresponding states correlation for thermal conductivity of dense fluids," Chem. Eng. Sci., vol. 32, no. 5, pp. 499505, 1977.
48. J.R. Cooper, "Revised Release on the IAPWS Formulation 2008 for the Viscosity of Ordinary Water Substance", The International Association for the Properties of Water and Steam, Berlin, Germany, Sep. 2008.
49. K. Daucik, "Revised Release on the Pressure along the Melting and Sublimation Curves of Ordinary Water Substance", The International Association for the Properties of Water and Steam, Plzen, Czech Republic, Sep. 2011.
50. J. Gabitto and M. Barrufet, "Experimental and theoretical determination of heavy oil viscosity under reservoir conditions," Technical reports, Office of Fossil Energy, USDOE Office of Fossil Energy, United States, 2002.
510 | C H A P T E R 6 : T H E R M O D Y N A M I C S
51. A. Missenard, "Conductivité thermique des liquides organiques d'une serie ou d'un `groupe de liquides'," Revue Générale de Thermique, vol. 101, no. 5, pp. 649 660, 1970 (in French).
52. R.L. Rowley, G.L. White, and M. Chiu, "Ternary liquid mixture thermal conductivities," Chem. Eng. Sci., vol. 43, no. 2, pp. 361371, 1988. 53. R.L. Rowley, "A local composition model for multicomponent liquid mixture thermal conductivities," Chem. Eng. Sci., vol. 37, no. 6, pp. 897904, 1982.
54. W.D. Niven, "The Scientific Papers of James Clerk Maxwell", Cambridge University Press, 1890.
55. J.C. Maxwell, "On the dynamical theory of gases," Philos. Trans. R. Soc., vol. 157, pp. 4988, 1867.
56. J. Stefan, "Uber das Gleichgewicht und die Bewegung, insbesondere die Diffusion von Gasgemengen," Sitzungsbrichte der Kaiserlichen Akademie der Wissenschaften Wien, 2te Abteilung a, vol. 63, pp. 63124, 1871.
57. R. Taylor and R. Krishna, "Multicomponent Mass Transfer," Wiley-Interscience, 1993.
58. E.N. Fuller, P.D. Schettler and J.C. Giddings, "A new method for prediction of binary gas-phase diffusion coefficients," Industrial and Engineering Chemistry, vol. 5, pp. 1927, 1966.
59. E.N. Fuller, K. Ensley and J.C. Giddings, "Diffusion of halogenated hydrocarbons in helium. The effect of structure on collision cross sections," J. Phys. Chem., vol. 73, no. 11, pp. 36793685, 1969.
60. C.R. Wilke and C.Y. Lee, "Estimation of diffusion coefficients for gases and vapors," Industrial and Engineering Chemistry, vol. 47, no. 6, pp. 12531257, 1955.
61. P.D. Neufeld, A.R. Janzen, and R.A. Aziz, "Empirical equations to calculate 16 of the transport collision integrals l s for the LennardJones (12-6) potential," J. Chem. Phys., vol. 57, pp. 11001102, 1972.
62. C.R. Wilke and P. Chang, "Correlation of diffusion coefficients in dilute solutions," AICHE J., vol. 1, no. 2, pp. 264270, 1972. 63. W. Hayduk and H. Laudie, "Prediction of diffusion coefficients for nonelectrolytes in dilute aqueous solutions," AICHE J., vol. 20, no. 3, pp. 611615, 1974.
T H E R M O D Y N A M I C M O D E L S A N D T H E O R Y | 511
64. H.A. Kooijman, "A modification of the Stokes-Einstein equation for diffusivities in dilute binary mixture," Ind. Eng. Chem., vol. 41, pp. 33263328, 2002. 65. M.T. Tyn and W.F Calus, "Diffusion coefficients in dilute binary mixtures," J. Chem. Eng. Data, vol. 20, no. 1, pp. 106109, 1975. 66. W.Hayduk and B.S.Minhas, "Correlation for prediction of molecular diffusivities in liquids," Can. J. Chem. Eng., vol. 60, no. 2, pp. 295299, 1983. 67. M.A. Siddiqi and K. Lucas, "Correlations for prediction of diffusion in liquids", Can. J. Chem. Eng., vol. 64, pp. 839843, 1986. 68. C. Erkey, J.B. Rodden and A. Akgerman, "A correlation for predicting diffusion coefficients in alkanes", Can. J. Chem. Eng., vol. 68, pp. 661665, 1990. 69. A. Bondi, "van der Waals Volumes and Radii", J. Phys. Chem., vol. 68, no. 3, pp. 441-451, 1964. 70. J.O. Hirschfelder, C.F. Curtiss and R.B. Bird, "The Molecular Theory of Gases and Liquids", Wiley-Interscience, 1964. 71. A. Vignes, "Diffusion in Binary Solutions," Ind. Eng. Chem. Fundam., vol. 5, pp. 189199, 1966. 72. J.A. Wesselingh and R. Krishna, "Mass Transfer", Ellis Horwood Ltd, 1990, ISBN: 0-13-553165-9. 73. H.A. Kooijman and R. Taylor, "Estimation of diffusion coefficients in multicomponent liquid systems", Ind. Eng. Chem., vol. 30, pp. 12171222, 1991. 74. J.A. Wesselingh and A.M. Bollen, "Multicomponent diffusivities from the free volume theory", Chem. Eng. Res. Des., vol. 75, no. 6, pp. 590602, 1997. 75. R. Krishna and J.M. van Baten, "The Darken relation for multicomponent diffusion in liquid mixtures of linear alkanes: An investigation using molecular dynamics (MD) simulations," Ind. Eng. Chem., vol. 44, pp. 69396947, 2005. 76. P.H. Winterfeld, L.E. Scriven, and H.T. Davis, "An approximate theory of interfacial tension of multicomponent systems: Applications binary liquid-vapor tensions," AICHE J., vol. 24, no. 6, pp. 10101014, 1978 77. E.C. Carlson, "Don't Gamble With Physical Properties For Simulation", Chem. Eng. Prog., vol. 92, no. 10, pp. 3546, 1996.
512 | C H A P T E R 6 : T H E R M O D Y N A M I C S
7
Glossary
This Glossary of Terms contains application-specific terms used in the Chemical
Reaction Engineering Module software and documentation. For finite element modeling terms, mathematical terms, and geometry and CAD terms, see the glossary in the COMSOL Multiphysics Reference Manual. For references to more information about a term, see the index.
513
Glossary of Terms
absorption Uptake of a gas into the bulk of a liquid. Gas absorption takes place for example in the liquid of a scrubber tower where an up-streaming gas is washed by a down-going flow of a scrubber solution.
adsorption Attachment of a molecule or atom to a solid surface. Adsorption involves a chemical bond between the adsorbed species and the surface.
anisotropy Variation of a transport property in different directions in a material. Is often obtained from homogenization of regular structures, for example, monolithic structures in tubular reactors.
Arrhenius rate equation Expression that relates the rate constant of a chemical reaction to the exponential of the temperature.
batch reactor Reactor characterized by its operation, which means that the reactor does reaches steady state.
bipolar plate Electrically conducting plate connected to the anode on one side and to the cathode on the other side in an electrochemical cell.
Brinkman equations Extension of Darcy's law in order to include the transport of momentum through shear in porous media flow.
Butler-Volmer equation Expression that relates the reaction rate of an electron transfer reaction on an electrode surface to the exponential of the overpotential. The equation can be derived from the Arrhenius rate equation by accounting for the contribution of the electric potential to the activation energy.
boundary layer Region in a fluid close to a solid surface. This region is characterized by large gradients in velocity and is often treated with approximate methods because it is difficult to geometrically resolve the large gradients found there.
chemisorption See adsorption.
continuous reactor Reactor that operates without interruption. This type of reactor is characterized by its steady-state operation.
514 | C H A P T E R 7 : G L O S S A R Y
diffusion layer Fictitious layer in a fluid close to a solid surface where a chemical reaction takes place. The flux of species perpendicular to the surface in this layer is dominated by diffusion.
Darcy's law Equation that gives the velocity vector as proportional to the pressure gradient. Often used to describe flow in porous media.
electrokinetic flow Transport of fluid or charged particles within a fluid by means of electric fields.
electroneutrality condition Condition that states that the sum of charges in a control volume in an electrolyte should be zero.
electrophoresis Migration of charged electrolyte ions in an electric field.
electroosmosis Onset of a flow due to the application of an external electric field or due to the formation of an electric field created by ion transport in membranes, for example.
Euler flow Flow at high velocities, where incompressibility of the fluid is of importance whereas the influence of viscous momentum transport is negligible.
Fick's laws The first law relates the concentration gradients to the diffusive flux of a solute infinitely diluted in a solvent. The second law introduces the first law into a differential material balance for the solute.
fully developed laminar flow Laminar flow along a channel or pipe that only has velocity components in the main direction of the flow. The velocity profile perpendicular to the flow does not change downstream in the flow.
HagenPoiseuille equation See Poiseuille's law.
heterogeneous reaction Reaction that takes place at the interface between two phases.
homogeneous reaction Reaction that takes place in the bulk of a solution.
law of the wall See wall function.
Maxwell-Stefan equations Set of equations that describe the diffusion of solutes and solvent in a concentrated solution. In such a solution, the solutes interact with each other and with the solvent.
G L O S S A R Y O F T E R M S | 515
migration The transport of charged species in an electrolyte due to the electric force imposed by the electric field.
monolithic reactor Catalytic reactor made of one single piece of solid material. Incorporates a catalytic structure in its often porous structure.
NavierStokes equations Equations for the momentum balances coupled to the equation of continuity for a Newtonian incompressible fluid.
NernstPlanck equation Equation that describes the flux of an ion through diffusion, convection, and migration in an electric field. The equation is valid for diluted electrolytes.
Newtonian flow Flow characterized by a constant viscosity or a viscosity that is independent of the shear rate in the fluid.
physisorption See adsorption.
Poiseuille's law Equation that relates the mass rate of flow in a tube as proportional to the pressure difference per unit length and to the fourth power of the tube radius. The law is valid for fully developed laminar flow.
Soret effect Mass diffusion in multicomponent mixtures due to temperature gradients.
specific surface area Internal surface area of a porous structure given in area per unit volume, which yields the unit one over unit length. Often used to characterize the structure of porous catalysts.
streamline-diffusion stabilization A numerical technique for stabilization of the numeric solution to a convection-dominated PDE by artificially adding diffusion in the direction of the streamlines.
surface molar flux the tangential flux in the surface dimension as governed by diffusion according to Fick's law.
wall function Semi-empirical expression for the anisotropic flow close to a solid surface used in turbulence models. Often based on negligible variations in pressure gradient in the direction tangential to the surface.
516 | C H A P T E R 7 : G L O S S A R Y
Index
A AC/DC Module 132 activation energy 39 adding species 132 additional sources (node) 85 adsorption 248, 274 Application Libraries window 24 application library examples CHEMKIN 58 convection and diffusion 225 migration in electric field 225 surface reactions 361 transport of concentrated species 287 transport of diluted species 216 variables with scope 33 Arrhenius parameters 75, 111 association factor of solvents 55
B batch reactor (constant volume) 48 batch reactors, defined 62 batch reactors, theory 47 Battery Design Module 132 boundary electrolyte potential 357 boundary nodes Nernst-Planck equations 334 surface reactions 361 transport of concentrated species 290 transport of diluted species 219, 352 Butler-Volmer equation 339
C CAPE-OPEN compliant packages 421 CFD Module 131 chemical equilibrium 31, 73, 108 chemical formula identification number 32 chemistry interface theory 38 CHEMKIN 30, 57
common settings 22 concentration (node)
Nernst-Planck equations 339 transport of diluted species 230 concentration of species 132 concentration variables, scaling 69 continuity equation, Nernst-Planck equa-
tions 204 convection 146 convection, diffusion, and migration
(node) Nernst-Planck equations 336 convective terms 35 convective terms, diluted species 138 convective terms, Nernst-Planck equa-
tions 203 critical point 438 CSTR (constant volume), defined 62 CSTR (constant volume), theory 49 CSV files 98 current (node) 356 current density (node) 342, 356 current discontinuity (node) 342
D Darcy velocity 146 defining species concentration 132 diffusion models 283 diffusivity gas phase, solvents 54 liquid phase, solvents 54 dipole moment transport parameter 80, 116 documentation 23 domain nodes electrophoretic transport interface 352 Nernst-Planck equations 334
I N D E X | 517
518 | I N D E X
transport of concentrated species 290 transport of diluted species 219
E edge nodes surface reactions 361
electric insulation (node) 337 electrode-electrolyte interface coupling
(node) transport of diluted species 240, 317 electrophoretic transport interface 346 emailing COMSOL 24 EnthalpyF 438 EntropyF 438 Equilibrium Reaction theory for 136 equilibrium reaction (node) 237, 328 equilibrium reaction group (node) 83,
118 equilibrium reactions 45 experiment (node) 98 external thermodynamic packages 421
F Faraday's law 143 feed inlet (node) 87 Fick equations and diffusivities 170 Fick's law approximation diffusion 176 Fick's law diffusion model 284 flash calculation retrograde solution type 438 solution type 438439 flash calculations 436 flux (node) 277, 358 Nernst-Planck equations 339 transport of concentrated species 322 transport of diluted species 230, 277, 358 flux discontinuity (node) 232 Nernst-Planck equations 341 transport of concentrated species 327 transport of diluted species 232
frequency factors 39 Freundlich exponent 152
G gas constant 39, 208 gas diffusion 169 gas phase solvents 56 gas reacting fluids 65, 79, 103, 115 Gibbs free energy 77, 113
H half-cell 342 Heat Transfer Module 132 Hygroscopic Swelling 266
I importing CHEMKIN files 57
inflow (node) 229, 359 Nernst-Planck equations 340 transport of concentrated species 323
initial values (node) Nernst-Planck equations 338 reaction engineering 70 surface reactions 363 transport of concentrated species 320 transport of diluted species 226
insulation (node) 356 internet resources 22 irreversible reaction 31, 73, 108
J junction potentials 204
K kinetic gas theory 54 knowledge base, COMSOL 25 Knudsen diffusion 313
L labeling rules, reaction nodes 33 Langmuir constant 152 Lennard-Jones potential 80 LennardJones potential 116 line mass source (node) species transport 235 line source species transport 140
liquid reacting fluids 65, 79, 103, 115
M mass action law 38 mass action law, laminar flow 207 mass based concentrations (node) 226 mass fraction (node) 321 mass fractions 132 mass transport 168 MaxwellStefan diffusion model 284 MaxwellStefan diffusivity matrix 172 mixture-averaged diffusion model 173, 284 monolayer adsorption 197 MPH-files 24 multicomponent diffusion 171 multiphase flash calculations 422
N NernstEinstein relation 142, 224, 243, 247
Nernst-Planck equations interface 331 theory 202
NernstPlanckPoisson Equations interface 344
no flux (node) 228 Nernst-Planck equations 338 transport of concentrated species 324
nodes, common settings 22 nonconservative formulations 138, 204
O Ohm's law 143 open boundary (node) Nernst-Planck equations 343 transport of concentrated species 328 transport of diluted species 236 outflow (node) electrophoretic transport 359 Nernst-Planck equations 341 transport of concentrated species 326 transport of diluted species 229
P Packed bed 178
packed bed reactors 155 nonspherical particles 161, 184
pair nodes electrophoretic transport interface 352 surface reactions 361 transport of concentrated species 290 transport of diluted species 219
partially saturated porous media (node) 245
periodic condition (node) transport of diluted species 233
persistence of thermodynamic packages 425
physics interfaces 17 physics interfaces, common settings 22 plug flow reactors 52, 62 point mass source (node)
species transport 235 point nodes
surface reactions 361 transport of diluted species 219 point source species transport 139 porous electrode coupling (node) 239 porous media transport properties
(node) 241, 244, 295 potential (node) 357 predefined expressions, reaction engi-
neering 58 pseudo time step 205
R reacting fluids, gases and liquids 65, 79, 103, 115
Reacting Volume 227, 279 reaction (node) 72, 107 reaction coefficients (node) 240 reaction engineering interface 61, 65
theory 38
I N D E X | 519
520 | I N D E X
reaction selection list 32 reaction terms 202 reaction thermodynamics (node) 86, 120 reactions (node)
Nernst-Planck equations 338 reacting flow, laminar flow 318 surface reactions 363 transport of concentrated species 320 transport of diluted species 227 reactor types batch (constant volume) 48 batch, defined 62 batch, theory 47 CSTR (constant volume), defined 62 CSTR (constant volume), theory 49 plug flow, definition 62 plug flow, theory 52 semibatch, definition 62 semibatch, theory 51 removing species 132 retardation factor 152 reversible reaction 31, 73, 108 reversible reaction group (node) 81, 117 Reynolds number 373 RF Module 132
S selecting chemical species transport interfaces 127 space dimensions and physics interfaces 17
semibatch reactors 51, 62 solute-solvent approximations 35 solvents, association factor of 55 solver time, discretization and 69 Soret effect 177 space dimensions 17 species (node) 77, 113 species activity (node) 86, 120
species group (node) 85, 120 species names, syntax for 35 species source (node) 357 species thermodynamics (node) 86, 121 species types 35 standard settings 22 Stiel-Thodos equation 56 Stockmayer potential 80, 116 stoichiometric coefficients 77, 113 stratified porous media 150 superficial volume averages, porous me-
dia 146 Supporting Electrolytes 142 supporting electrolytes
theory, Nernst-Planck equations 202 surface concentration (node) 364 surface equilibrium reaction (node) 239,
329 surface properties (node) 362 surface reactions interface 360
theory 196 symmetry (node)
Nernst-Planck equations 340 transport of concentrated species 327 transport of diluted species 232
T Tafel equation 339 technical support, COMSOL 24 temperature exponents 39 theory chemistry interface 38 Nernst-Planck equations 202 reaction engineering 38 surface reactions 196 transport of concentrated species interface 168 transport of diluted species in porous media interface 135 transport of diluted species interface
134 thermal conductivity 56 thermal diffusion 177 thermodynamics package 421
adding 422 thickness
fracture 269 thin diffusion barrier (node) 236 Thin Impermeable Barrier 237 tortuosity factors 148 transport mechanisms 292, 313 transport of concentrated species in po-
rous media interface 287 transport of concentrated species inter-
face 281 theory 168 transport of diluted species in porous
media interface 216 theory 135 transport of diluted species interface
212, 271 theory 134 turbulent Prandtl number 373
U uniform scaling 69
V vapor transport 186 variable scope 33
W websites, COMSOL 25 Wilke-Chang equation 54
I N D E X | 521
522 | I N D E X
Acrobat Distiller 17.0 (Windows)