CF D Module Users Guide
CF D Module Users Guide
Users Guide
Contact Information
Visit the Contact COMSOL page at www.comsol.com/contact to submit general
inquiries, contact Technical Support, or search for an address and phone number. You can
also visit the Worldwide Sales Offices page at www.comsol.com/contact/offices for
address and contact information.
If you need to contact Support, an online request form is located at the COMSOL Access
page at www.comsol.com/support/case. Other useful links include:
Support Center: www.comsol.com/support
Product Download: www.comsol.com/product-download
Product Updates: www.comsol.com/support/updates
COMSOL Blog: www.comsol.com/blogs
Discussion Forum: www.comsol.com/community
Events: www.comsol.com/events
COMSOL Video Gallery: www.comsol.com/video
Support Knowledge Base: www.comsol.com/support/knowledgebase
Part number: CM021301
C o n t e n t s
Chapter 1: Introduction
About the CFD Module
20
26
30
Modeling Strategy . . . . . . . . . . . . . . . . . . . . . . 30
Geometric Complexities . . . . . . . . . . . . . . . . . . . . 31
Material Properties . . . . . . . . . . . . . . . . . . . . . . 31
Defining the Physics Interfaces and Features
. . . . . . . . . . . . 32
Meshing . . . . . . . . . . . . . . . . . . . . . . . . . . 33
The Choice of Solver and Solver Settings. . . . . . . . . . . . . . 34
The CFD Module Physics Interface Guide . . . . . . . . . . . . . 35
Common Physics Interface and Feature Settings and Nodes. . . . . . . 42
The Liquids and Gases Materials Database . . . . . . . . . . . . . 42
44
CONTENTS
|3
Interfaces
50
. . . . . . . . . . . . . . . . 58
. . . . . . . . . . . . . . . . . . . . . . . . . . 95
96
4 | CONTENTS
100
101
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
102
Rotating Domain . . . . . . . . . . . . . . . . . . . . . .
102
Rotating Wall . . . . . . . . . . . . . . . . . . . . . . .
103
104
104
Contact Angle . . . . . . . . . . . . . . . . . . . . . . .
105
106
107
Compressible Flow . . . . . . . . . . . . . . . . . . . . .
109
109
110
Incompressible Flow . . . . . . . . . . . . . . . . . . . .
111
111
112
Gravity
. . . . . . . . . . . . . . . . . . . . . . . . .
113
116
117
120
Laminar Inflow . . . . . . . . . . . . . . . . . . . . . . .
122
Laminar Outflow . . . . . . . . . . . . . . . . . . . . . .
122
Mass Flow . . . . . . . . . . . . . . . . . . . . . . . .
123
No Viscous Stress . . . . . . . . . . . . . . . . . . . . .
124
125
125
127
128
129
132
134
136
138
140
141
CONTENTS
|5
143
143
144
146
Turbulence Modeling . . . . . . . . . . . . . . . . . . . .
146
150
153
155
162
164
167
170
Inlet Values for the Turbulence Length Scale and Turbulent Intensity . .
172
173
174
174
175
177
Frozen Rotor . . . . . . . . . . . . . . . . . . . . . . .
178
180
References . . . . . . . . . . . . . . . . . . . . . . . .
181
C h a p t e r 4 : H e a t Tr a n s f e r a n d N o n - I s o t h e r m a l F l ow
Interfaces
Modeling Heat Transfer in the CFD Module
184
184
186
6 | CONTENTS
188
188
Interfaces . . . . . . . . . . . . . . . . . . . . . . .
188
189
190
Coupling Features . . . . . . . . . . . . . . . . . . . . .
191
191
Non-Isothermal Flow . . . . . . . . . . . . . . . . . . . .
193
Flow Coupling . . . . . . . . . . . . . . . . . . . . . . .
196
Marangoni Effect . . . . . . . . . . . . . . . . . . . . . .
197
199
199
201
206
206
207
210
211
213
215
. . . . . .
Domain, Boundary, Edge, Point, and Pair Nodes for the High Mach
Number Flow Laminar and Turbulent Interfaces . . . . . . . . .
216
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
217
Fluid
. . . . . . . . . . . . . . . . . . . . . . . . . .
218
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . .
220
Outlet . . . . . . . . . . . . . . . . . . . . . . . . . .
222
Symmetry . . . . . . . . . . . . . . . . . . . . . . . .
223
224
224
Sutherlands Law . . . . . . . . . . . . . . . . . . . . . .
226
CONTENTS
|7
227
231
232
234
234
235
235
239
240
. . . . . . . . .
240
241
242
244
246
247
248
Domain, Boundary, Point, and Pair Nodes for the Laminar and
Turbulent Flow, Two-Phase, Level Set and Phase Field Interfaces. . .
The Three-Phase Flow, Phase Field Interface
250
252
252
253
254
256
256
258
Domain and Boundary Nodes for the Laminar and Turbulent Bubbly
8 | CONTENTS
Flow Interfaces . . . . . . . . . . . . . . . . . . . . .
260
Fluid Properties . . . . . . . . . . . . . . . . . . . . . .
262
Gravity
263
. . . . . . . . . . . . . . . . . . . . . . . . .
Mass Transfer . . . . . . . . . . . . . . . . . . . . . . .
264
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
265
Wall. . . . . . . . . . . . . . . . . . . . . . . . . . .
265
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . .
267
Outlet . . . . . . . . . . . . . . . . . . . . . . . . . .
268
Symmetry . . . . . . . . . . . . . . . . . . . . . . . .
270
270
272
272
275
Domain and Boundary Nodes for the Mixture Model Laminar and
Turbulent Flow Interfaces . . . . . . . . . . . . . . . . .
277
Mixture Properties . . . . . . . . . . . . . . . . . . . . .
278
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
281
Wall. . . . . . . . . . . . . . . . . . . . . . . . . . .
281
Mass Transfer . . . . . . . . . . . . . . . . . . . . . . .
283
Gravity
. . . . . . . . . . . . . . . . . . . . . . . . .
284
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . .
285
Outlet . . . . . . . . . . . . . . . . . . . . . . . . . .
286
Symmetry . . . . . . . . . . . . . . . . . . . . . . . .
287
288
288
291
Domain, Boundary, Point, and Pair Nodes for the Euler-Euler Model
Interfaces . . . . . . . . . . . . . . . . . . . . . . .
293
Phase Properties . . . . . . . . . . . . . . . . . . . . . .
293
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
295
Wall. . . . . . . . . . . . . . . . . . . . . . . . . . .
296
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . .
297
Outlet . . . . . . . . . . . . . . . . . . . . . . . . . .
298
Gravity
. . . . . . . . . . . . . . . . . . . . . . . . .
299
Volume Force . . . . . . . . . . . . . . . . . . . . . . .
300
301
301
304
CONTENTS
|9
Phase Initialization . . . . . . . . . . . . . . . . . . . . .
Numerical Stabilization
304
. . . . . . . . . . . . . . . . . . .
306
306
307
307
310
311
311
315
317
318
318
. . . . . . . . .
321
322
324
326
327
327
333
338
C h a p t e r 7 : Po r o u s M e d i a a n d S u b s u r f a c e F l ow
Interfaces
Modeling Porous Media and Subsurface Flow
340
340
341
343
345
Domain, Boundary, Edge, Point, and Pair Nodes for the Darcys
10 | C O N T E N T S
Law Interface . . . . . . . . . . . . . . . . . . . . . .
346
348
Mass Source
. . . . . . . . . . . . . . . . . . . . . . .
349
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
349
Pressure . . . . . . . . . . . . . . . . . . . . . . . . .
349
Mass Flux. . . . . . . . . . . . . . . . . . . . . . . . .
350
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . .
350
Symmetry . . . . . . . . . . . . . . . . . . . . . . . .
350
No Flow . . . . . . . . . . . . . . . . . . . . . . . . .
351
Flux Discontinuity . . . . . . . . . . . . . . . . . . . . .
351
Outlet . . . . . . . . . . . . . . . . . . . . . . . . . .
351
353
355
356
Forchheimer Drag . . . . . . . . . . . . . . . . . . . . .
357
Mass Source
. . . . . . . . . . . . . . . . . . . . . . .
357
Volume Force . . . . . . . . . . . . . . . . . . . . . . .
358
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
358
Fluid Properties . . . . . . . . . . . . . . . . . . . . . .
359
361
Domain, Boundary, Point, and Pair Nodes for the Free and Porous
Media Flow Interface . . . . . . . . . . . . . . . . . . .
362
Fluid Properties . . . . . . . . . . . . . . . . . . . . . .
363
364
Volume Force . . . . . . . . . . . . . . . . . . . . . . .
365
Forchheimer Drag . . . . . . . . . . . . . . . . . . . . .
365
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
366
366
367
Domain, Boundary, and Pair Nodes for the Two-Phase Darcys Law
Interface. . . . . . . . . . . . . . . . . . . . . . . .
368
369
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
370
No Flux . . . . . . . . . . . . . . . . . . . . . . . . .
371
CONTENTS
| 11
371
Mass Flux. . . . . . . . . . . . . . . . . . . . . . . . .
371
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . .
372
Outlet . . . . . . . . . . . . . . . . . . . . . . . . . .
372
373
373
. . . . . . . . . . . . . .
375
. . . . . . . . . . . . . . . .
375
376
377
378
378
379
Darcys Law . . . . . . . . . . . . . . . . . . . . . . . .
379
Capillary Pressure . . . . . . . . . . . . . . . . . . . . .
380
C h a p t e r 8 : C h e m i c a l S p e c i e s Tr a n s p o r t I n t e r f a c e s
Modeling Chemical Species Transport
384
384
386
387
389
392
12 | C O N T E N T S
Species Interface. . . . . . . . . . . . . . . . . . . . .
394
Transport Properties . . . . . . . . . . . . . . . . . . . .
395
Turbulent Mixing . . . . . . . . . . . . . . . . . . . . . .
397
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
398
Mass-Based Concentrations . . . . . . . . . . . . . . . . . .
398
Reactions. . . . . . . . . . . . . . . . . . . . . . . . .
399
No Flux . . . . . . . . . . . . . . . . . . . . . . . . .
400
Inflow . . . . . . . . . . . . . . . . . . . . . . . . . .
400
Outflow . . . . . . . . . . . . . . . . . . . . . . . . .
401
Concentration . . . . . . . . . . . . . . . . . . . . . . .
401
Flux . . . . . . . . . . . . . . . . . . . . . . . . . . .
402
Symmetry . . . . . . . . . . . . . . . . . . . . . . . .
403
Flux Discontinuity . . . . . . . . . . . . . . . . . . . . .
403
Periodic Condition . . . . . . . . . . . . . . . . . . . . .
403
404
405
Open Boundary . . . . . . . . . . . . . . . . . . . . . .
405
406
406
Equilibrium Reaction . . . . . . . . . . . . . . . . . . . .
406
407
407
Reaction Coefficients . . . . . . . . . . . . . . . . . . . .
408
408
409
411
Volatilization . . . . . . . . . . . . . . . . . . . . . . .
412
412
Reactions. . . . . . . . . . . . . . . . . . . . . . . . .
415
Species Source. . . . . . . . . . . . . . . . . . . . . . .
416
Hygroscopic Swelling . . . . . . . . . . . . . . . . . . . .
417
418
424
Transport Properties . . . . . . . . . . . . . . . . . . . .
425
429
Turbulent Mixing . . . . . . . . . . . . . . . . . . . . . .
432
Reaction . . . . . . . . . . . . . . . . . . . . . . . . .
432
Reaction Sources . . . . . . . . . . . . . . . . . . . . . .
434
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
434
Mass Fraction . . . . . . . . . . . . . . . . . . . . . . .
435
Flux . . . . . . . . . . . . . . . . . . . . . . . . . . .
436
Inflow . . . . . . . . . . . . . . . . . . . . . . . . . .
436
CONTENTS
| 13
No Flux . . . . . . . . . . . . . . . . . . . . . . . . .
437
Outflow . . . . . . . . . . . . . . . . . . . . . . . . .
437
Symmetry . . . . . . . . . . . . . . . . . . . . . . . .
438
Flux Discontinuity . . . . . . . . . . . . . . . . . . . . .
438
Open Boundary . . . . . . . . . . . . . . . . . . . . . .
439
440
440
441
442
442
443
444
446
448
448
Domain, Boundary, Point, and Pair Nodes for the Reacting Flow in
Porous Media (rfcs) Interface . . . . . . . . . . . . . . . .
450
Transport Properties . . . . . . . . . . . . . . . . . . . .
451
Diffusion . . . . . . . . . . . . . . . . . . . . . . . . .
452
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
452
Reacting Boundary . . . . . . . . . . . . . . . . . . . . .
453
453
Domain, Boundary, Point, and Pair Nodes for the Reacting Flow in
14 | C O N T E N T S
455
Transport Properties . . . . . . . . . . . . . . . . . . . .
456
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
457
458
458
460
461
462
. . . . . . . . . . . . . . .
462
464
Supporting Electrolytes . . . . . . . . . . . . . . . . . . .
466
Crosswind Diffusion
467
. . . . . . . . . . . . . . . . . . . .
468
References . . . . . . . . . . . . . . . . . . . . . . . .
468
469
471
471
472
473
474
Turbulent Mixing . . . . . . . . . . . . . . . . . . . . . .
475
475
476
476
477
478
479
482
Turbulent Reactions . . . . . . . . . . . . . . . . . . . . .
483
485
486
487
487
488
. . . .
490
490
493
494
Domain, Boundary, Edge, Point, and Pair Nodes for the Thin-Film
Flow Branch Interfaces . . . . . . . . . . . . . . . . . .
495
Fluid-Film Properties . . . . . . . . . . . . . . . . . . . .
495
Border. . . . . . . . . . . . . . . . . . . . . . . . . .
500
CONTENTS
| 15
Perforations. . . . . . . . . . . . . . . . . . . . . . . .
502
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
503
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . .
503
Outlet . . . . . . . . . . . . . . . . . . . . . . . . . .
504
Wall. . . . . . . . . . . . . . . . . . . . . . . . . . .
504
Symmetry . . . . . . . . . . . . . . . . . . . . . . . .
504
505
Thin-Film Flow. . . . . . . . . . . . . . . . . . . . . . .
505
506
Flow Models . . . . . . . . . . . . . . . . . . . . . . .
510
517
518
521
Boundary Conditions . . . . . . . . . . . . . . . . . . . .
523
Cavitation . . . . . . . . . . . . . . . . . . . . . . . .
524
526
16 | C O N T E N T S
530
. . . .
531
531
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
532
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . .
533
Initial Interface . . . . . . . . . . . . . . . . . . . . . . .
533
No Flow . . . . . . . . . . . . . . . . . . . . . . . . .
533
534
Domain, Boundary, and Pair Nodes for the Phase Field Interface . . . .
535
535
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
536
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . .
537
Initial Interface . . . . . . . . . . . . . . . . . . . . . . .
538
Wetted Wall . . . . . . . . . . . . . . . . . . . . . . .
538
539
Domain, Boundary, and Pair Nodes for the Ternary Phase Field
Interface. . . . . . . . . . . . . . . . . . . . . . . .
540
Mixture Properties . . . . . . . . . . . . . . . . . . . . .
540
Initial Values. . . . . . . . . . . . . . . . . . . . . . . .
541
Inlet . . . . . . . . . . . . . . . . . . . . . . . . . . .
541
Outlet . . . . . . . . . . . . . . . . . . . . . . . . . .
542
Symmetry . . . . . . . . . . . . . . . . . . . . . . . .
542
Wetted Wall . . . . . . . . . . . . . . . . . . . . . . .
542
544
544
546
546
547
548
549
549
549
. . . . . . . . . . .
551
551
552
. . . . . . . . . . . . . . . . . .
552
553
554
554
554
556
558
CONTENTS
| 17
18 | C O N T E N T S
Introduction
This guide describes the CFD Module, an optional add-on package for COMSOL
Multiphysics that provides you with tools for computational fluid dynamics, CFD.
The modeling of fluid flow is an increasingly important part in development of new
equipment and processes.
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 CFD Module
Overview of the Users Guide
19
20 |
CHAPTER 1: INTRODUCTION
21
Set up an appropriate mesh for the modeling domain with consideration given to the
fluid-flow systems behavior
Solving the equations that describe a system for stationary or dynamic behavior, or
as a parametric or optimization study
Collecting and analyzing results to present for further use in other analyses.
Once a model is defined, you can go back and make changes in all of the branches
listed, 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.
The COMSOL Multiphysics Reference Manual describes the core physics interfaces
and functionality included with the COMSOL Multiphysics license. This book also has
instructions about how to use COMSOL Multiphysics and how to access the
electronic Documentation and Help content.
22 |
CHAPTER 1: INTRODUCTION
displays information about that feature (or click a node in the Model Builder followed
by the Help button (
). This is called topic-based (or context) help.
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 (
).
) button.
).
) button.
23
):
) Applications
24 |
CHAPTER 1: INTRODUCTION
COMSOL website
www.comsol.com
Contact COMSOL
www.comsol.com/contact
Support Center
www.comsol.com/support
Product Download
www.comsol.com/product-download
Product Updates
www.comsol.com/support/updates
Discussion Forum
www.comsol.com/community
Events
www.comsol.com/events
www.comsol.com/video
www.comsol.com/support/knowledgebase
25
To help you navigate through this guide, see the Contents, Glossary, and Index.
QUICK START GUIDE
The Quick Start Guide includes some basic modeling strategies to get you started
modeling fluid flow in your particular application area. For example, it gives some tips
about how to control your material properties and how to set the optimal mesh to
make solving the model easier and quicker. It also includes a summary of all the physics
interfaces included with the CFD Module.
THE PHYSICS INTERFACES
The CFD Module both extends physics interfaces available with COMSOL
Multiphysics and provides additional physics interfaces. As a result, the module
contains a wide range of physics interfaces for modeling various types of momentum
transport. You can simulate laminar and turbulent flow, Newtonian and
non-Newtonian flow, isothermal and non-isothermal flow, multiphase flow, and flow
in porous media. The CFD Module also provides interfaces for modeling flows that
occur in thin-films or in bounded regions, and in stationary and rotating domains.
On top of this, the CFD Module includes physics interfaces for modeling heat transfer,
and transport and reactions of chemical species. These are typical phenomena that
occur in fluid flow and are strongly coupled to the flow field.
26 |
CHAPTER 1: INTRODUCTION
Single-Phase Flow
The Single-Phase Flow Interfaces chapter describes the many physics interfaces
available for laminar and turbulent flow. Modeling Single-Phase Flow helps you choose
the best Fluid Flow interface for your particular application.
Multiphase Flow
The Multiphase Flow Interfaces chapter describes physics interfaces to model flows
with more than one phase, for example flows with two fluids or flows with dispersed
droplets or particles. To help you select which physics interface to use see Modeling
Multiphase Flow.
Thin-Film Flow
The Thin-Film Flow Interfaces chapter describes physics interfaces that model flow in
thin regions such as lubrication shells and fluid bearings.
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 |
CHAPTER 1: INTRODUCTION
29
Modeling Strategy
Modeling and simulating fluid flow is a cost-effective way for engineers and scientists
to understand, develop, optimize, and control designs and processes.
One of the most important things to consider before setting up a model is the accuracy
that is required in the simulation results. This determines the level of complexity in the
model.
Since fluid flow simulations are often computationally demanding, a multi-stage
modeling strategy is usually required. This implies using a simplified model as a
starting point in the project. Complexities can then be introduced gradually so that the
effect of each refinement of the model description is well understood before
introducing new complexities.
Complexities in the modeling process can be introduced at different stages in order to
achieve the desired accuracy. They can be introduced in the description of the
30 |
geometry, the physical properties, and in the governing equations. The Model Builder,
which shows the sequence of operations in the model tree, is designed with this
strategy in mind.
In addition to fluid flow, COMSOL Multiphysics and the CFD Module have
predefined couplings for fluid flow and other phenomena. Examples of these couplings
are heat transfer for free convection and transport of chemical species in simulations of
reacting flows. Set up your own couplings by defining mathematical expressions of the
dependent variables (velocity, pressure, temperature, and so forth) in the physics
interfaces for arbitrary multiphysics combinations.
Geometric Complexities
A complicated 3D CAD drawing is usually not the best starting point for the modeling
process. A 2D representation of a cross section of the geometry can give valuable initial
estimates of the flow field that can be used when setting up the full 3D model. For
example, you might be able to determine the pressure variations and the nature of the
flow, or whether or not a turbulence model is needed. This provides information about
where in the final geometry the most amount of change occurs, if a more advanced
fluid-flow model and/or better resolution is required, and what parts of the modeling
process are more sensitive than others.
Simplifying the geometry reduces the simulation time. Making use of symmetry planes
can cut down the geometry to one half or even less of the original size. Rounding-off
corners is another way to reduce mesh resolution. Resolving small geometric parts
requires a fine mesh, but the parts themselves can have a negligible effects on the fluid
field as a whole.
Material Properties
Depending on the accuracy required in a simulation, the effort put in acquiring data
for the fluid properties can also vary. In many cases, the dependencies of the fluid
properties on pressure and temperature have to be taken into account.
For a pressure-driven flow, it is usually a good approach to first set up a model using
constant density and viscosity, to get a first estimate of the flow and pressure fields.
31
Once the model works with constant properties it can be extended by adding the
accurate expressions for density and viscosity.
For free convection the density variations drive the flow. The fluid properties
dependencies on the modeled variables, for example temperature, then have to be
accounted for from the beginning. In difficult cases, with large temperature variations,
it can be beneficial to run a time-dependent simulation even if the purpose of the
simulation is to get the results at steady-state.
32 |
Meshing
The mesh used in a fluid flow simulation depends on the fluid flow model and on the
accuracy required in the simulation. A fluid flow model can inherently require a fine
resolution in order to converge, even though the results might not require a
correspondingly high accuracy. In such cases, it can be a good idea to change the fluid
flow model. An example is the low-Reynolds number k- model which gives a very
accurate description of the flow near solid walls, but requires a very fine mesh there.
In many cases, the standard k- model with wall functions can deliver an accurate
enough result at a much lower computational cost. In other cases, the requirement of
accuracy in the results can limit the maximum element size.
There are a number of different mesh types and meshing strategies for fluid flow
modeling in COMSOL Multiphysics.
UNSTRUCTURED MESHES
Free-meshing techniques generate unstructured meshes that can be used for most
types of geometries. The mesh-generating algorithms are highly automated, often
creating a good quality mesh from minimal user input. This mesh type is therefore a
good choice when the geometry of the domain is evident but the behavior of the
mathematical model in it is unknown. Yet, unstructured meshes tend to be isotropic
or homogeneous in nature, so that they fail to take advantage of the different
resolution requirements in the stream-wise and cross-stream directions.
STRUCTURED MESHES
33
structured or unstructured. As is the case for structured meshes, the model geometry
determines if a swept mesh is applicable. Swept meshes are typically ideal when the
cross section in the sweep direction is constant, which is the case for channels and
pipes, for example. Revolving a mesh around a symmetry axis is another useful sweep
operation.
BOUNDARY LAYER MESHES
A boundary layer mesh is a mesh with an element distribution that is stacked or dense
in the direction normal to a boundary. It is created by inserting structured layers of
elements along specific boundaries and merging the outer layer with the surrounding
structured or unstructured mesh. This type of mesh is useful for many fluid flow
applications especially when coupled to mass and energy transfer, where thin boundary
layers need to be resolved. This is also the default physics-induced mesh for fluid flow.
MESH CONVERGENCE
34 |
N is the number of degrees of freedom in the model. This means that a direct solver
becomes prohibitively expensive for large problems. Large 3D models therefore get
iterative solver suggestions per default. The memory requirement for an iterative solver
optimally scales as N. The drawback with iterative solvers is that they are less robust
than direct solvers. A model can converge with a direct solver but fail with an iterative
solver. Large models therefore require more care when being set up than small models
do.
For well-posed models, there are possibilities to tune the default solvers to gain
performance. This is especially true for time-dependent models with a variety of solver
settings providing options to reduce the computational time.
PHYSICS INTERFACE
ICON
TAG
SPACE
DIMENSION
all dimensions
tds
35
PHYSICS INTERFACE
TAG
SPACE
DIMENSION
tcs
all dimensions
3D, 2D, 2D
axisymmetric
Turbulent Flow, k-
3D, 2D, 2D
axisymmetric
Turbulent Flow, k-
3D, 2D, 2D
axisymmetric
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
Transport of
Concentrated Species
ICON
Reacting Flow
Laminar Flow
Turbulent Flow
rfds
3D, 2D, 2D
axisymmetric
Transport of
Concentrated Species
rfcs
3D, 2D, 2D
axisymmetric
Creeping Flow
spf
3D, 2D, 2D
axisymmetric
Laminar Flow(1)
spf
3D, 2D, 2D
axisymmetric
Fluid Flow
Single-Phase Flow
36 |
PHYSICS INTERFACE
ICON
TAG
SPACE
DIMENSION
Turbulent Flow,
Algebraic yPlus
spf
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
spf
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
Turbulent Flow, k-
spf
3D, 2D, 2D
axisymmetric
Turbulent Flow, k-
spf
3D, 2D, 2D
axisymmetric
spf
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
spf
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
Turbulent Flow,
Spalart-Allmaras
spf
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
Turbulent Flow
rmspf
3D, 2D
Rotating Machinery,
Turbulent Flow,
Algebraic yPlus
rmspf
3D, 2D
Rotating Machinery,
Turbulent Flow, L-VEL
rmspf
3D, 2D
Rotating Machinery,
Turbulent Flow, k-
rmspf
3D, 2D
37
PHYSICS INTERFACE
ICON
TAG
SPACE
DIMENSION
tffs
3D
Thin-Film Flow,
Domain
tff
2D
tffs
2D and 2D
axisymmetric
bf
3D, 2D, 2D
axisymmetric
bf
3D, 2D, 2D
axisymmetric
Mixture Model,
Laminar Flow
mm
3D, 2D, 2D
axisymmetric
Mixture Model,
Turbulent Flow
mm
3D, 2D, 2D
axisymmetric
Euler-Euler Model,
Laminar Flow
ee
3D, 2D, 2D
axisymmetric
Euler-Euler Model,
Turbulent Flow
ee
3D, 2D, 2D
axisymmetric
3D, 2D, 2D
axisymmetric
Thin-Film Flow
Multiphase Flow
Bubbly Flow
Mixture Model
Euler-Euler Model
38 |
PHYSICS INTERFACE
ICON
TAG
SPACE
DIMENSION
3D, 2D, 2D
axisymmetric
Laminar Two-Phase
Flow, Phase Field
3D, 2D, 2D
axisymmetric
Turbulent Two-Phase
Flow, Phase Field
3D, 2D, 2D
axisymmetric
3D, 2D
time dependent
Turbulent Two-Phase
Flow, Level Set
Two-Phase Flow, Phase Field
br
3D, 2D, 2D
axisymmetric
Darcys Law
dl
all dimensions
tpdl
3D, 2D, 2D
axisymmetric
fp
3D, 2D, 2D
axisymmetric
3D, 2D, 2D
axisymmetric
Turbulent Flow,
Algebraic yPlus(2)
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
Turbulent Flow,
L-VEL(2)
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
Non-Isothermal Flow
Laminar Flow(2)
Turbulent Flow
39
PHYSICS INTERFACE
ICON
TAG
SPACE
DIMENSION
3D, 2D, 2D
axisymmetric
3D, 2D, 2D
axisymmetric
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
Turbulent Flow,
Spalart-Allmaras(2)
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
hmnf
3D, 2D, 2D
axisymmetric
Turbulent Flow, k-
hmnf
3D, 2D, 2D
axisymmetric
Turbulent Flow,
Spalart-Allmaras
hmnf
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
ht
all dimensions
ht
all dimensions
3D, 2D, 2D
axisymmetric
Heat Transfer
40 |
PHYSICS INTERFACE
ICON
TAG
SPACE
DIMENSION
Turbulent Flow,
Algebraic yPlus
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
3D, 2D, 2D
axisymmetric
3D, 2D, 2D
axisymmetric
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
Turbulent Flow,
Spalart-Allmaras(2)
3D, 2D, 2D
axisymmetric
stationary with
initialization; transient with
initialization
Level Set
ls
all dimensions
Phase Field
pf
all dimensions
terpf
3D, 2D, 2D
axisymmetric
time dependent
Turbulent Flow
Mathematics
Moving Interface
(1)
This physics interface is included with the core COMSOL package but has added
functionality for this module.
(2)
This physics interface is a predefined multiphysics coupling that automatically adds all the
physics interfaces and coupling features required.
41
42 |
43
44 |
the more complex problem. The next section gives you an overview of each of the
Single-Phase Flow interfaces to help you choose.
NAME
COMPRESSIBILITY
TURBULENT
MODEL TYPE
TURBULENCE
MODEL
NEGLECT
INERTIAL TERM
(STOKES
FLOW)
Creeping Flow
spf
Incompressible
flow
None
n/a
Stokes Flow
Laminar Flow
spf
Incompressible
flow
None
n/a
None
Turbulent Flow,
Algebraic yPlus
spf
Incompressible
flow
RANS
Algebraic
yPlus
None
Turbulent Flow,
L-VEL
spf
Incompressible
flow
RANS
L-VEL
None
Turbulent Flow, k-
spf
Incompressible
flow
RANS
k-
None
Turbulent Flow, k-
spf
Incompressible
flow
RANS
k-
None
spf
Incompressible
flow
RANS
SST
None
spf
Incompressible
flow
RANS
Low
Reynolds
number k-
None
Turbulent Flow,
Spalart-Allmaras
spf
Incompressible
flow
RANS
SpalartAllmaras
None
Rotating Machinery,
Laminar Flow
rmspf
Compressible
flow (Ma<0.3)
None
None
None
45
NAME
COMPRESSIBILITY
TURBULENT
MODEL TYPE
TURBULENCE
MODEL
NEGLECT
INERTIAL TERM
(STOKES
FLOW)
Rotating Machinery,
Turbulent Flow,
Algebraic yPlus
rmspf
Compressible
flow (Ma<0.3)
RANS
Algebraic
yPlus
None
Rotating Machinery,
Turbulent Flow,
L-VEL
rmspf
Compressible
flow (Ma<0.3)
RANS
L-VEL
None
Rotating Machinery,
Turbulent Flow, k-
rmspf
Compressible
flow (Ma<0.3)
None
RANS, k-
None
CREEPING FLOW
46 |
Many materials in the material libraries use temperature- and pressure-dependent property
values. If the density is affected by temperature, a non-isothermal flow interface may be
applicable (see The Non-Isothermal Flow and Conjugate Heat Transfer, Laminar Flow
and Turbulent Flow Interfaces).
Figure 3-1: The Settings window for the Laminar Flow interface. Model incompressible or
compressible flow, laminar or turbulent flow, Stokes flow and/or porous media flow.
Combinations are also possible.
47
TU R B U L E N T F L OW
48 |
through induction and microwave heating, which are simulated using the AC/DC
Module and RF Module, respectively. Many applications involve the effect of
fluid-imposed loads on structural applications, for example, fluid-structure interaction
(FSI). The Structural Mechanics Module and MEMS Module have physics interfaces
specifically for these multiphysics applications.
49
50 |
The equations solved by the Creeping Flow interface are the Stokes equations for
conservation of momentum and the continuity equation for conservation of mass.
The Creeping Flow interface can be used for stationary and time-dependent analyses.
The main feature is the Fluid Properties node, which adds the Stokes equations and
provides an interface for defining the fluid material and its properties. Except where noted
below, see The Laminar Flow Interface for all other settings.
PHYSICAL MODEL
By default, the Neglect inertial term (Stokes flow) check box is selected. If unchecked, or, if
the Turbulence model type is changed to RANS, the inertial terms are included in the
computations.
DISCRETIZATION
By default, the Creeping Flow interface uses P2+P1 elements. Contrary to general laminar
and turbulent single-phase flow simulations employing purely linear P1+P1 elements,
P2+P1 elements are well suited for Creeping flow simulations.
CONSISTENT STABILIZATION
This check box is selected by default and should remain selected for optimal performance.
The consistent stabilization method does not perturb the original transport equation.
The Laminar Flow Interface
Theory for the Single-Phase Flow Interfaces
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
51
The equations solved by the Laminar Flow interface are the Navier-Stokes equations for
conservation of momentum and the continuity equation for conservation of mass.
The Laminar Flow interface can be used for stationary and time-dependent analyses.
Time-dependent studies should be used in the high-Reynolds number regime as these
flows tend to become inherently unsteady.
When the Laminar Flow interface is added, the following default nodes are also added in
the Model Builder: Fluid Properties, Wall (the default boundary condition is No slip), and
Initial Values. Other nodes, that implement, for example, boundary conditions and volume
forces, can be added from the Physics toolbar or from the context menu displayed when
right-clicking Laminar Flow.
SETTINGS
52 |
PHYSICAL MODEL
Compressibility
Depending of the fluid properties and the flow regime, three options are available for the
Compressibility option. In general the computational complexity increases from
Incompressible flow to Weakly compressible flow to Compressible flow (Ma<0.3) but the
underlying hypotheses are increasingly more restrictive in the opposite direction.
When the Incompressible flow option (default) is selected, the incompressible form of the
Navier-Stokes and continuity equations is applied. In addition, the fluid density is
evaluated at the Reference pressure level and at the Reference temperature defined in
Reference values. The fluid dynamic viscosity is evaluated at the Reference temperature.
The Weakly compressible flow option models compressible flow when the pressure
dependency of the density can be neglected. When selected, the compressible form of the
Navier-Stokes and continuity equations is applied. In addition, the fluid density is
evaluated at the Reference pressure level defined in Reference values.
When the Compressible flow (Ma<0.3) option is selected, the compressible form of the
Navier-Stokes and continuity equations is applied. Ma < 0.3 indicates that the inlet and
outlet conditions, as well as the stabilization, may not be suitable for transonic and
supersonic flow. For more information, see The Mach Number Limit.
Swirl Flow
The velocity component, u, in the azimuthal direction can be included for 2D
axisymmetric components by selecting the Swirl flow check box. While u can be nonzero,
there can be no gradients in the direction. Also see General Single-Phase Flow Theory.
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
53
Include gravity
When the Include gravity check-box is selected a global Gravity feature is shown in the
interface model tree and the buoyancy force is included in the Navier-Stokes equations.
When the Include gravity check-box is selected, the option Use reduced pressure changes
the pressure formulation from using the total pressure (default) to using the reduced
pressure. This option is suitable for configurations where the density changes are very
small, otherwise the default formulation can be used. For more information, see Gravity.
Natural convection is induced by variations in magnitude of the buoyancy
force which is defined from the density. For incompressible flow the
density is constant, hence the buoyancy force is homogeneous and natural
convection can not be modeled. Nevertheless, using the Non Isothermal
Flow multiphysics coupling, the buoyancy force is defined using the
thermal expansion coefficient and the temperature. Hence in this case
natural convection is accounted for following Bousinesqs approximation.
(3-1)
where is the fluids dynamic viscosity, u is the velocity field, and dz is the channel
thickness. This term represents the resistance that the parallel boundaries impose on the
flow; however, it does not account for any changes in velocity due to variations in the
cross-sectional area of the channel.
Reference values
Reference values are global quantities used to evaluate the density and viscosity of the fluid
when the Incompressible flow or the Weakly compressible flow option is selected and to
define the gravity force.
54 |
Reference pressure level There are generally two ways to include the pressure in fluid flow
computations: either to use the absolute pressure pA=p+pref, or the gauge pressure p.
When pref is nonzero, the physics interface solves for the gauge pressure whereas material
properties are evaluated using the absolute pressure. The reference pressure level is also
used to define the reference density.
Reference temperature The reference temperature is used to define the reference density.
Reference position When Include gravity is selected, the reference position can be defined.
It corresponds to the location where the total pressure (that includes the hydrostatic
pressure) is equal to the Reference pressure level.
D EPENDE N T VAR IA BL ES
The following dependent variables (fields) are defined for this physics interfacethe
Velocity field u and its components, and the Pressure p.
The Projection Method for the Navier-Stokes Equations requires additional dependent
variables. These are the Corrected velocity field uc and the Corrected pressure pc.
If required, the names of the field, component, and dependent variable may be edited.
Editing the name of a scalar dependent variable changes both its field name and the
dependent variable name. If a new field name coincides with the name of another field of
the same type, the fields share degrees of freedom and dependent variable names. A new
field name must not coincide with the name of a field of another type or with a component
name belonging to some other field. Component names must be unique within a model
except when two fields share a common field name.
ADVANCED SETTINGS
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
55
default Automatic option, the local CFL number (from the CourantFriedrichsLewy
condition) is determined by a PID regulator.
Pseudo Time Stepping for Laminar Flow Models
The Projection Method for the Navier-Stokes Equations
Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow
Theory for the Single-Phase Flow Interfaces
A different turbulence model can be selected under Turbulence model. Laminar or creeping
flow may simulated by changing the Turbulence model type to None.
56 |
Brinkman Equations interface in the respective modules documentation. Applying the Fluid
and Matrix Properties on a subset of the domains enables studies of coupled porous-media
The turbulence model parameters for the Algebraic yPlus model, a and Ba, have been
optimized for turbulent pipe flow. For certain cases, better performance can be obtained
by tuning the model parameters.
D EPENDE N T VAR IA BL ES
The following dependent variables (fields) are defined for this physics interface:
Velocity field u
Pressure p
Reciprocal wall distance G
Wall distance in viscous units yPlus (dimensionless)
The Algebraic yPlus interface requires a Wall Distance Initialization study step in the study
previous to the Stationary or Time Dependent study step.
For study information, see Stationary with Initialization, Transient with Initialization, and
Wall Distance Initialization in the COMSOL Multiphysics Reference Manual.
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
57
PHYSICAL MODEL
A different turbulence model can be selected under Turbulence model. Laminar or creeping
flow may simulated by changing the Turbulence model type to None.
Turbulence model parameters, l and El, have been optimized for internal flow. For
certain cases, better performance can be obtained by tuning the model parameters.
D E P E N D E N T VA R I A BL E S
The following dependent variables (fields) are defined for this physics interface:
Velocity field u and its components
Pressure p
Reciprocal wall distance G
Tangential velocity in viscous units uPlus (dimensionless)
The L-VEL interface requires a Wall Distance Initialization study step in the study
previous to the Stationary or Time Dependent study step.
For study information, see Stationary with Initialization, Transient with Initialization, and
Wall Distance Initialization in the COMSOL Multiphysics Reference Manual.
58 |
The Turbulent Flow, k- interface can be used for stationary and time-dependent analyses.
The main feature is Fluid Properties, which adds the RANS equations and the transport
equations for k and , and provides an interface for defining the fluid material and its
properties. When this physics interface is added, the following default nodes are also added
in the Model Builder: Fluid Properties, Wall (the default boundary condition is Wall
functions), and Initial Values.
Except where included below, see The Laminar Flow Interface for all the other settings.
PHYSICAL MODEL
A different turbulence model can be selected under Turbulence model. Laminar or creeping
flow may simulated by changing the Turbulence model type to None.
The Turbulence model property disables the Neglect inertial term (Stokes flow) check box,
and for 2D components also the Shallow Channel Approximation check box.
TU R B U L E N C E M O D E L PA R A M E T E R S
Turbulence model parameters are optimized to fit as many flow types as possible, but for
some special cases, better performance can be obtained by tuning the model parameters.
For this physics interface the parameters are Ce1, Ce2, C, k, e, v, and B.
D EPENDE N T VAR IA BL ES
The following dependent variables (fields) are defined for this physics interface:
Velocity field u and its components
Pressure p
Turbulent kinetic energy k
Turbulent dissipation rate ep
The Projection Method for the Navier-Stokes Equations requires additional dependent
variables. These are the Corrected velocity field uc and the Corrected pressure pc.
ADVANCED SETTINGS
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
59
The Uscale and Lfact parameters are used to calculate absolute tolerances for the
turbulence variables. The scaling parameters must only contain numerical values, units or
parameters defined under Global Definitions. The scaling parameters cannot contain
variables. The parameters are used when a new default solver for a transient study step is
generated. If you change the parameters, the new values take effect the next time you
generate a new default solver
The Laminar Flow Interface
Pseudo Time Stepping in the COMSOL Multiphysics Reference
Manual
Theory for the Turbulent Flow Interfaces
60 |
PHYSICAL MODEL
A different turbulence model can be selected under Turbulence model. Laminar or creeping
flow may simulated by changing the Turbulence model type to None.
The Turbulence model property disables the Neglect inertial term (Stokes flow) check box,
and for 2D components also the Shallow Channel Approximation check box.
TU R B U L E N C E M O D E L PA R A M E T E R S
Turbulence model parameters are optimized to fit as many flow types as possible, but for
some special cases, better performance can be obtained by tuning the model parameters.
For this physics interface the parameters are , k, w, 0, 0, v, and B.
D EPENDE N T VAR IA BL ES
The following dependent variables (fields) are defined for this physics interface:
Velocity field u and its components
Pressure p
Turbulent kinetic energy k
Specific dissipation rate om
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
61
When this physics interface is added, the following default nodes are also added in the
Model Builder: Fluid Properties, Wall (the default boundary condition is No slip), and Initial
Values.
Except where included below, see The Laminar Flow Interface and The Turbulent Flow,
k-e Interface for all the other settings.
PHYSICAL MODEL
A different turbulence model can be selected under Turbulence model. Laminar or creeping
flow may simulated by changing the Turbulence model type to None.
The Turbulence model property disables the Neglect inertial term (Stokes flow) check box,
and for 2D components also the Shallow Channel Approximation check box.
TU R B U L E N C E M O D E L P A R A M E T E R S
Turbulence model parameters are optimized to fit as many flow types as possible, but for
some special cases, better performance can be obtained by tuning the model parameters.
For this physics interface the parameters are a1, 0, 1, 2, 1, 2, k1, k2, w1,and w2.
D E P E N D E N T VA R I A BL E S
The following dependent variables (fields) are defined for this physics interface:
Velocity field u and its components
Pressure p
Turbulent kinetic energy k
Specific dissipation rate om
Reciprocal wall distance G
The SST interface requires a Wall Distance Initialization study step in the study previous to
the Stationary or Time Dependent study step.
For study information, see Stationary with Initialization, Transient with Initialization, and
Wall Distance Initialization in the COMSOL Multiphysics Reference Manual.
62 |
The equations solved by the Turbulent Flow, Low Re k- interface are the
Reynolds-averaged Navier-Stokes (RANS) equations for conservation of momentum and
the continuity equation for conservation of mass. Turbulence effects are modeled using
the AKN two-equation k- model with realizability constraints. The AKN model is a
so-called low-Reynolds number model, which means that it resolves the flow all the way
down to the wall. The AKN model depends on the distance to the closest wall. The physics
interface therefore includes a wall distance equation.
The Turbulent Flow, Low Re k- interface can be used for stationary and time-dependent
analyses.
Except where included below, see The Laminar Flow Interface and The Turbulent Flow,
k-e Interface for all the other settings.
PHYSICAL MODEL
A different turbulence model can be selected under Turbulence model. Laminar or creeping
flow may simulated by changing the Turbulence model type to None.
The Turbulence model property disables the Neglect inertial term (Stokes flow) check box,
and for 2D components also the Shallow Channel Approximation check box.
TU R B U L E N C E M O D E L PA R A M E T E R S
Turbulence model parameters are optimized to fit as many flow types as possible, but for
some special cases, better performance can be obtained by tuning the model parameters.
For this physics interface the parameters are Ce1, Ce2, C, k, e, and v.
D EPENDE N T VAR IA BL ES
The following dependent variables (fields) are defined for this physics interface:
Velocity field u and its components
Pressure p
Turbulent kinetic energy k
Turbulent dissipation rate ep
Reciprocal wall distance G
The Low Reynolds number k- interface requires a Wall Distance Initialization study step
in the study previous to the Stationary or Time Dependent study step.
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
63
For study information, see Stationary with Initialization, Transient with Initialization, and
Wall Distance Initialization in the COMSOL Multiphysics Reference Manual.
The Laminar Flow Interface
Pseudo Time Stepping in the COMSOL Multiphysics Reference
Manual
Theory for the Turbulent Flow Interfaces
A different turbulence model can be selected under Turbulence model. Laminar or creeping
flow may simulated by changing the Turbulence model type to None.
The Turbulence model property disables the Neglect inertial term (Stokes flow) check box,
and for 2D components also the Shallow Channel Approximation check box.
64 |
TU R B U L E N C E M O D E L PA R A M E T E R S
Turbulence model parameters are optimized to fit as many flow types as possible, but for
some special cases, better performance can be obtained by tuning the model parameters.
For this physics interface the parameters are Cb1, Cb2, Cv1, v, Cw2, Cw3, v, and Crot.
ADVANCED SETTINGS
The following dependent variables (fields) are defined for this physics interface:
Velocity field u and its components
Pressure p
Reciprocal wall distance G
Undamped turbulent kinematic viscosity
The Spalart-Allmaras interface requires a Wall Distance Initialization study step in the
study previous to the Stationary or Time Dependent study step.
For study information, see Stationary with Initialization, Transient with Initialization, and
Wall Distance Initialization in the COMSOL Multiphysics Reference Manual.
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
65
Open Boundary
Fan
Outlet
Flow Continuity
Fluid Properties
Pipe Connection1
Grille
Gravity
Initial Values
Screen
Inlet
Symmetry
Interior Fan
Vacuum Pump
Interior Wall
Volume Force
1
Wall
Fluid Properties
The Fluid Properties node adds the momentum and continuity equations solved by the
physics interface, except for volume forces which are added by the Volume Force feature.
The node also provides an interface for defining the material properties of the fluid.
For the Turbulent Flow interfaces, the Fluid Properties node also adds the equations for
the turbulence transport equations.
66 |
MODEL INPUTS
Fluid properties, such as density and viscosity, can be defined through user inputs,
variables, or by selecting a material. For the latter option, additional inputs, for example
temperature and/or pressure, may be required to define these properties.
Temperature
By default, the single-phase flow interfaces are set to model isothermal flow. If a Heat
Transfer interface is included in the component, the temperature field may alternatively be
selected from this physics interface. All physics interfaces have their own tags (Name). For
example, if a Heat Transfer in Fluids interface is included in the component, the
Temperature (ht) option is available for T.
Absolute Pressure
This input appears when a material requires the absolute pressure as a model input. The
absolute pressure is used to evaluate material properties, but it also relates to the value of
the calculated pressure field. There are generally two ways to calculate the pressure when
describing fluid flow: either to solve for the absolute pressure or for a pressure (often
denoted gauge pressure) that relates to the absolute pressure through a reference pressure.
The choice of pressure variable depends on the system of equations being solved. For
example, in a unidirectional incompressible flow problem, the pressure drop over the
modeled domain is probably many orders of magnitude smaller than the atmospheric
pressure, which, when included, may reduce the stability and convergence properties of
the solver. In other cases, such as when the pressure is part of an expression for the gas
volume or the diffusion coefficients, it may be more convenient to solve for the absolute
pressure.
The default Absolute pressure pA is p+pref, where p is the dependent pressure variable from
the Navier-Stokes or RANS equations, and pref is from the user input defined at the
physics interface level. When pref is nonzero, the physics interface solves for a gauge
pressure. If the pressure field instead is an absolute pressure field, pref should be set to 0.
The Absolute pressure field can be edited by clicking Make All Model Inputs Editable (
and entering the desired value in the input field.
FLUID PROPERTIES
Density
If density variations with respect to pressure are to be included in the computations, the
flow must be set to compressible (at the physics interface level).
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
67
Dynamic Viscosity
The Dynamic viscosity describes the relationship between the shear rate and the shear
stresses in a fluid. Intuitively, water and air have low viscosities, and substances often
described as thick (such as oil) have higher viscosities.
Using the built-in variable for the shear rate magnitude, spf.sr, makes it possible to
define arbitrary expressions of the dynamic viscosity as a function of the shear rate.
For laminar flow, the Non-Newtonian power law may be used to model the viscosity of a
non-Newtonian fluid. The following model parameters are required for the Non-Newtonian
power law:
Fluid consistency coefficient m
Flow behavior index n
For the Turbulent Flow, k-, Turbulent Flow, k-, and Rotating Machinery, Turbulent
Flow k- interfaces, an upper limit on the mixing length is required.
When the Mixing length limit lmix,lim is set to Automatic, it is evaluated to the shortest side
of the geometry bounding box. If the geometry is, for example, a complicated system of
slim entities, this measure can be too high. In such cases, it is recommended that the
mixing length limit is defined manually.
DISTANCE EQUATION
For the Turbulent Flow, Low Reynolds number k-, Turbulent flow, Algebraic yPlus,
Turbulent Flow, L-VEL, Turbulent flow, SST, and the Turbulent Flow, Spalart-Allmaras
interfaces, a Wall Distance interface is included.
68 |
When the Reference length scale lref is set to Automatic, it is evaluated to one tenth of the
shortest side of the geometry bounding box. The solution to the wall distance equation is
controlled by the parameter lref. The distance to objects larger than lref is represented
accurately, while objects smaller than lref are effectively diminished by appearing to be
farther away than they actually are. This is a desirable feature in turbulence modeling
because small objects would have too large an impact on the solution if the wall distance
were measured exactly. The automatic value is usually a good choice but the value can
become too high if the geometry consists of several slim entities. In such cases, it is
recommended that the reference length scale is defined manually.
Volume Force
The Volume Force node specifies the volume force F on the right-hand side of the
momentum equation.
u
2
T
+ ( u )u = pI + ( u + ( u ) ) --- ( u )I + F
t
3
If several volume-force nodes are added to the same domain, then the sum of all
contributions are added to the momentum equation.
Initial Values
The initial values serve as initial conditions for a transient simulation or as an initial guess
for a nonlinear solver in a stationary simulation. Note that for a transient
compressible-flow simulation employing a material for which the density depends on the
pressure (such as air), discontinuities in the initial values trigger pressure waves even when
the Mach number is small. The pressure waves must be resolved and this puts a restriction
on the time step.
I N ITI AL VAL U ES
Initial values or expressions should be specified for the Velocity field u and the Pressure p.
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation (named
Compensate for hydrostatic pressure for compressible flows) checkbox is available and
selected by default. When it is selected, the hydrostatic pressure is automatically added to
the pressure entered in p user input.
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
69
In the Turbulent Flow interfaces, initial values for the turbulence variables should also
specified. Depending on the turbulent flow interface being used, additional initial values
may be required for:
Turbulent kinetic energy k
Turbulent dissipation rate ep
Reciprocal wall distance G
Specific dissipation rate om
Undamped turbulent kinematic viscosity 0
Wall distance in viscous units yPlus (dimensionless). Under normal circumstances the
default value need not be changed.
Tangential velocity in viscous units uPlus (dimensionless). Under normal circumstances
the default value need not be changed.
Wall
The Wall node includes a set of boundary conditions describing fluid-flow conditions at
stationary, moving, and leaking walls. For turbulent flow, the description may involve wall
functions and/or asymptotic expressions for certain turbulence variables.
BOUNDARY CONDITION
Slip
Moving Wall
Sliding Wall
Leaking Wall
Wall Functions
Slip Velocity
The default for laminar flow, and the turbulence models: Low Reynolds number
k-, SST, Algebraic yPlus, L-VEL, and Spalart-Allmaras
No Slip
No slip is the default boundary condition for a stationary solid wall for laminar flow (and
SST, Low Re k-, Algebraic yPlus, L-VEL, and Spalart-Allmaras turbulence models). The
condition prescribes u = 0; that is, the fluid at the wall is not moving.
70 |
Slip
The Slip option prescribes a no-penetration condition, un=0. It is implicitly assumed that
there are no viscous effects at the slip wall and hence, no boundary layer develops. From
a modeling point of view, this can be a reasonable approximation if the main effect of the
wall is to prevent fluid from leaving the domain.
Sliding Wall
The Sliding wall boundary condition is appropriate if the wall behaves like a conveyor belt;
that is, the surface is sliding in its tangential direction. A velocity is prescribed at the wall
and the boundary itself does not have to actually move relative to the reference frame.
For 3D components, values or expressions for the Velocity of sliding wall uw should be
specified. If the velocity vector entered is not in the plane of the wall, COMSOL
Multiphysics projects it onto the tangential direction. Its magnitude is adjusted to be
the same as the magnitude of the vector entered.
For 2D components, the tangential direction is unambiguously defined by the direction
of the boundary. For this reason, the sliding wall boundary condition has different
definitions in different space dimensions. A single entry for the Velocity of the
tangentially moving wall Uw should be specified in 2D.
For 2D axisymmetric components when Swirl flow is selected in the physics interface
properties, the Velocity of moving wall, component vw may also be specified.
Moving Wall
For an arbitrary wall movement, the condition u = uw may be prescribed. In this case, the
components of the Velocity of moving wall uw should be specified.
Specifying this boundary condition does not automatically cause the associated wall to
move. An additional Moving Mesh interface needs to be added to physically track the wall
movement in the spatial reference frame.
Leaking Wall
This boundary condition may be used to simulate a wall where fluid is leaking into or
leaving the domain with the velocity u = ul through a perforated wall. The components
of the Fluid velocity ul on the leaking wall should be specified.
Slip Velocity
In the microscale range, the flow condition at a boundary is seldom strictly no slip or slip.
Instead, the boundary condition is something in between, and there is a Slip velocity at the
boundary. Two phenomena account for this velocity: noncontinuum effects and the flow
induced by a thermal gradient along the boundary. The components of Velocity of moving
wall: uw should be specified. Zero values are used for a stationary wall.
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
71
When the Use viscous slip check box is selected, the default Slip length Ls is User defined.
Another value or expression may be entered if the default value is not applicable. For
Maxwells model values or expressions for the Tangential momentum accommodation
coefficient av and the Mean free path should be specified. Tangential accommodation
coefficients are typically in the range of 0.85 to 1.0 and can be found in G. Kariadakis, A.
Beskok, and N. Aluru, Microflows and Nanoflows, Springer Science and Business Media,
2005.
When the Use thermal creep check box is selected, a thermal creep contribution with
Thermal slip coefficient T is activated. Thermal slip coefficients are typically between 0.3
and 1.0 and can be found in G. Kariadakis, A. Beskok, and N. Aluru, Microflows and
Nanoflows, Springer Science and Business Media, 2005.
This boundary condition is not compatible with the projection method.
Wall Functions
The Wall functions boundary condition replaces the no-slip condition on solid walls for
certain turbulence models such as the k- and k- models. Wall functions are used to
model the thin region with large gradients in flow variables near the wall.
When Apply wall roughness is selected, a Sand roughness model, derived from the
experiments by Nikuradse, is applied. More general roughness types can be specified by
selecting Generic roughness.
For Sand roughness an Equivalent sand roughness height kseq should be specified.
For Generic roughness a Roughness height ks and a dimensionless Roughness parameter Cs
should be specified.
72 |
wall with prescribed velocity uw in a turbulent flow. Component values or expressions for
the Velocity of moving wall uw should be specified.
The Apply wall roughness option is available for the Moving wall (wall functions). See Wall
Functions for details.
CONSTRAINT SETTINGS
Inlet
This condition should be used on boundaries for which there is a net flow into the domain.
To obtain a numerically well-posed problem, it is advisable to also consider the Outlet
conditions when specifying an Inlet condition. For example, if the pressure is specified at
the outlet, the velocity may be specified at the inlet, and vice versa. Specifying the velocity
vector at both the inlet and the outlet may cause convergence difficulties.
BOUNDARY CONDITION
The available Boundary condition options for an inlet are Velocity, Laminar inflow, Mass flow,
and Pressure. After selecting a Boundary Condition from the list, a section with the same or
a similar name displays underneath. For example, if Velocity is selected, a Velocity section,
where further settings are defined, is displayed.
VE L O C I T Y
The Normal inflow velocity is specified as u = nU0, where n is the boundary normal
pointing out of the domain and U0 is the normal inflow speed.
The Velocity field option sets the velocity vector to u = u0. The components of the inlet
velocity vector u0 should be defined for this choice.
PRESSURE CONDITIONS
This option specifies the normal stress, which in most cases is approximately equal to the
pressure. If the reference pressure pref, defined at the physics interface level, is equal to 0,
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
73
the value of the Pressure p0, at the boundary, is the absolute pressure.Otherwise, p0 is the
relative pressure at the boundary.
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation (named
Compensate for hydrostatic pressure for compressible flows) checkbox is available and
This boundary condition is applicable when the fluid enters the domain from a long pipe
or channel, in which the laminar flow profile is fully developed. The normal stress at the
inlet is determined from the flow conditions at the entrance to a fictitious channel of
length Lentr appended to the boundary. The inflow can be specified by the Average velocity
Uav, the Flow rate V0, or the Entrance pressure pentr.
For the Entrance pressure option, when Include gravity is selected and Use reduced pressure
not selected in the interface Physical model section, the Compensate for hydrostatic pressure
approximation (named Compensate for hydrostatic pressure for compressible flows)
checkbox is available and selected by default. When it is selected, the hydrostatic pressure
is automatically added to the pressure entered in pentr user input.
The Entrance length Lentr should be significantly greater than 0.06ReD, where Re is the
Reynolds number and D is the inlet length scale (hydraulic diameter), in order that the
flow can adjust to a fully developed laminar profile.
The Constrain outer edges to zero option forces the laminar profile to go to zero at the
bounding points or edges of the inlet channel. Otherwise the velocity is defined by the
boundary condition of the adjacent boundary in the computational domain. For example,
74 |
if one end of a boundary with a Laminar inflow condition connects to a slip boundary, the
laminar profile will have a maximum at that end.
MASS FLOW
The mass flow at an inlet can be specified by the Mass flow rate, the Pointwise mass flux,
the Standard flow rate, or the Standard flow rate (SCCM).
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
75
For 2D components, the Channel thickness dbc is used to define the area across which the
mass flow occurs. This setting is not applied to the whole model. Line or surface integrals
of the mass flow over the boundary evaluated during post-processing or used in
integration coupling operators do not include this scaling automatically. Such results
should be appropriately scaled when comparing them with the specified mass flow.
No additional inlet conditions are required for the algebraic turbulence models: Algebraic
yPlus and L-VEL.
For the Turbulent Flow, Spalart-Allmaras interface, a value or expression for the Undamped
turbulent kinematic viscosity 0 should be specified.
For transport-equation turbulence models, apart from the Spalart-Allmaras turbulence
model, the following settings are available under the Specify turbulence length scale and
intensity option (see Table 3-2 for the default values):
Turbulent intensity IT
Turbulence length scale LT
Reference velocity scale Uref
When Specify turbulence variables is selected, values or expressions for the dependent
turbulence variables should be defined. Availability is based on the physics interface and
the boundary condition chosen.
Turbulent kinetic energy k0
Turbulent dissipation rate, 0
Specific dissipation rate 0
76 |
VARIABLE
INLET
OPEN
BOUNDARY
BOUNDARY
STRESS
Turbulent intensity
(dimensionless)
IT
0.05
0.005
0.01
LT
0.01
0.1
0.1
k0
0.005
2.510-3
110-2
0.005
1.110-4
110-3
20
0.5
0.5
Undamped turbulent
kinematic viscosity (m2/s)
3*spf5.nu
2
3
Open Boundary k = --- ( I T U ref ) ,
2
3 4 k3 / 2
= C
(3-2)
----------LT
34
3
2 ---
C 3 ( I T U ref ) 2
= ------------ ----------------------------
LT
2
(3-3)
For the Open Boundary and Boundary Stress options, and with any Turbulent Flow
interface, inlet conditions for the turbulence variables also need to be specified. These
conditions are used on the parts of the boundary where un < 0, that is, where flow enters
the computational domain.
For the k- and SST turbulence models the Turbulent intensity IT and Turbulence length
scale LT values are related to the turbulence variables via the following equations,
Equation 3-4 for the Inlet and Equation 3-5 for the Open Boundary:
2
3
Inlet k = --- ( U I T ) ,
2
k
= -------------------------1
*
( 0 ) / 4 LT
(3-4)
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
77
2
3
Open Boundary k = --- ( I T U ref ) ,
2
3 ( I T U ref )
1
= ------------------------- ----------------------------
1
/
4
*
2
( 0 ) LT
(3-5)
CONSTRAINT SETTINGS
Outlet
This condition should be used on boundaries for which there is a net outflow from the
domain. To obtain a numerically well-posed problem, it is advisable to also consider the
Inlet conditions when specifying an Outlet condition. For example, if the velocity is
specified at the inlet, the pressure may be specified at the outlet, and vice versa. Specifying
the velocity vector at both the inlet and the outlet may cause convergence difficulties.
Selecting appropriate outlet conditions for the Navier-Stokes equations is a nontrivial task.
Generally, if there is something interesting happening at an outflow boundary, the
computational domain should be extended to include this phenomenon.
BOUNDARY CONDITION
The available Boundary condition options for an outlet are Pressure, Laminar outflow, and
Velocity.
PRESSURE CONDITIONS
This option specifies the normal stress, which in most cases is approximately equal to the
pressure. The tangential stress component is set to zero. If the reference pressure pref,
78 |
defined at the physics interface level, is equal to 0, the value of the Pressure p0, at the
boundary, is the absolute pressure. Otherwise, p0 is the relative pressure at the boundary.
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation (named
Compensate for hydrostatic pressure for compressible flows) checkbox is available and
This boundary condition is applicable when the flow exits the domain into a long pipe or
channel, at the end of which a laminar flow profile is fully developed. The normal stress at
the outlet is determined from the flow conditions at the end of a fictitious channel
appended to the outlet boundary. The outflow can be specified by the Average velocity Uav,
the Flow rate V0, or the Exit pressure pexit.
For the Entrance pressure option, when Include gravity is selected and Use reduced pressure
not selected in the interface Physical model section, the Compensate for hydrostatic pressure
approximation (named Compensate for hydrostatic pressure for compressible flows)
checkbox is available and selected by default. When it is selected, the hydrostatic pressure
is automatically added to the pressure entered in pexit user input.
The Exit length Lexit should be significantly greater than 0.06ReD, where Re is the
Reynolds number and D is the outlet length scale (hydraulic diameter), in order that the
flow can adjust to a fully developed laminar profile.
The Constrain outer edges to zero option forces the laminar profile to go to zero at the
bounding points or edges of the outlet channel. Otherwise the velocity is defined by the
boundary condition of the adjacent boundary in the computational domain. For example,
if one end of a boundary with a Laminar outflow condition connects to a slip boundary, the
laminar profile will have a maximum at that end.
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
79
CONSTRAINT SETTINGS
Symmetry
The Symmetry boundary condition prescribes no penetration and vanishing shear stresses.
The boundary condition is a combination of a Dirichlet condition and a Neumann
condition:
u n = 0,
pI + ( u + ( u ) T ) 2
--- ( u )I n = 0
u n = 0,
( pI + ( u + ( u ) T ) )n = 0
for the compressible and incompressible formulations. The Dirichlet condition takes
precedence over the Neumann condition, and the above equations are equivalent to the
following equation for both the compressible and incompressible formulations:
u n = 0,
K ( K n )n = 0
K = ( u + ( u ) T )n
BOUNDARY SELECTION
For 2D axial symmetry, a boundary condition does not need to be defined for the
symmetry axis at r = 0. The software automatically provides a condition that prescribes
ur = 0 and vanishing stresses in the z direction and adds an Axial Symmetry node that
implements these conditions on the axial symmetry boundaries only.
CONSTRAINT SETTINGS
Open Boundary
The Open Boundary condition describes boundaries in contact with a large volume of fluid.
Fluid can both enter and leave the domain on boundaries with this type of condition.
80 |
BOUNDARY CONDITIONS
The Boundary condition options for open boundaries are Normal stress and No viscous
stress.
Normal Stress
The Normal stress f0 condition implicitly imposes p f0 .
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation (named
Compensate for hydrostatic pressure for compressible flows) checkbox is available and
selected by default. When it is selected, the hydrostatic pressure is automatically added to
the pressure entered in f0 user input.
No Viscous Stress
The No Viscous Stress condition specifies vanishing viscous stress on the boundary. This
condition does not provide sufficient information to fully specify the flow at the open
boundary and must at least be combined with pressure constraints at adjacent points.
The No viscous stress condition prescribes:
( u + ( u ) T ) 2
--- ( u )I n = 0
3
( u + ( u ) T )n = 0
for the compressible and the incompressible formulations. This condition can be useful in
some situations because it does not impose any constraint on the pressure. A typical
example is a model with volume forces that give rise to pressure gradients that are hard to
prescribe in advance. To make the model numerically stable, this boundary condition
should be combined with a point constraint on the pressure.
This boundary condition is not compatible with the projection method equation form.
TU R B U L E N C E C O N D I T I O N S
Boundary Stress
The Boundary Stress node adds a boundary condition that represents a general class of
conditions also known as traction boundary conditions.
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
81
BOUNDARY CONDITION
The Boundary condition options for the boundary stress are General stress, Normal stress,
and Normal stress, normal flow.
General Stress
When General stress is selected, the components for the Stress F should be specified. The
total stress on the boundary is set equal to the given stress F:
pI + ( u + ( u ) T ) 2
--- ( u )I n = F
3
( pI + ( u + ( u ) T ) )n = F
for the compressible and the incompressible formulations.
This boundary condition implicitly sets a constraint on the pressure that for 2D flows is
u n
p = 2 ---------- n F
n
(3-6)
Normal Stress
Normal Stress is described for the Open Boundary node.
3
T
n ( pI + ( u + ( u ) T ) )n = f 0 ,
tu = 0
tu = 0
(3-7)
82 |
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation (named
Compensate for hydrostatic pressure for compressible flows) checkbox is available and
selected by default. When it is selected, the hydrostatic pressure is automatically added to
the pressure entered in f0 or phydron is added to F depending of the selected option.
n = 0
k n = 0
n = 0
for k and
If Normal Stress, Normal Flow is selected as the Boundary condition, then to Apply reaction
terms on all dependent variables, the All physics (symmetric) option should be selected.
Alternatively, the Individual dependent variables could be selected to restrict the reaction
terms as needed.
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
83
Screen
The Screen condition models interior wire-gauzes, grilles, or perforated plates as thin
permeable barriers. Common correlations are included for resistance and refraction
coefficients. The Screen boundary condition can only be applied on interior boundaries.
S C R E E N TY P E
The available options for the Screen type are Wire gauze, Square mesh, Perforated plate, and
User defined. The settings are defined by the equations shown based on the selection
(excluding User defined) which in turn adjusts what is available in the Parameters section.
PARAMETERS
If Wire gauze, Square mesh, or Perforated plate is selected as the Screen type, values or
expressions for the Solidity s (ratio of blocked area to total area of the screen) should be
specified.
For Wire gauze a value or expression for the Wire diameter d should also be specified.
The User defined options requires the dimensionless Resistance coefficient K.
For all screen types, the Refraction defaults to Wire gauze. With the User defined option,
a different Refraction coefficient (dimensionless) can be specified.
Screen Boundary Condition
Theory for the Non-Isothermal Screen Boundary Condition
Vacuum Pump
The Vacuum Pump node models the effective outlet pressure created by a vacuum pump
device that is attached to the outlet.
PARAMETERS
The Static pressure curve option defines a lumped curveLinear, Static pressure curve data,
or User defined.
Linear
For the Linear option, values or expressions should be specified for the Static pressure at
no flow pnf and the Free delivery flow rate V0,fd.
The static pressure curve value is equal to the static pressure at no flow rate when V0 < 0
and equal to 0 when the flow rate is larger than the free delivery flow rate.
84 |
User Defined
The User defined option can be used to enter a different value or expression. The flow rate
across the selection where this boundary condition is applied is defined by phys_id.V0
where phys_id is the name (for example, phys_id is spf by default for this physics
interface). In order to avoid unexpected behavior, the function used for the fan curve is
the maximum of the user-defined function and 0.
STATIC PRESSURE CUR VE DATA
This section displays when Static pressure curve data is selected as the Static pressure curve.
In the table, values or expressions for the Flow rate and Static pressure curve should be
specified. Alternatively, a text file can be imported by clicking the Load from file button
(
) under the table.
UNITS
This section is available when Static pressure curve data is selected as the Static pressure
curve. Units can be specified here for the Flow rate and Static pressure curve.
STATIC PRESSURE CUR VE INTERPOLATION
This section is available when Static pressure curve data is selected as the Static pressure
curve. The available options for the Interpolation function type are Linear, Piecewise cubic,
and Cubic spline.
The extrapolation method always returns a constant value. In order to avoid problems with
undefined data, the function used for the boundary condition is the maximum of the
interpolated function and 0.
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
85
through the corresponding source boundary. This corresponds to a situation where the
geometry is a periodic part of a larger geometry. If the boundaries are not parallel to each
other, the velocity vector is automatically transformed.
If the boundaries are curved, it is recommended to only include two boundaries.
No input is required when Compressible flow (Ma<0.3) is selected for Compressibility under
the Physical Model section for the physics interface. Typically when a periodic boundary
condition is used with a compressible flow, the pressure is the same at both boundaries and
the flow is driven by a volume force.
PRESSURE DIFFERENCE
This section is available when Incompressible flow is selected for Compressibility under the
Physical Model section for the physics interface.
A value or expression should be specified for the Pressure difference, psrc pdst. This
pressure difference can, for example, drive the fully developed flow in a channel.
To set up a periodic boundary condition, both boundaries must be selected in the Periodic
Flow Condition node. COMSOL Multiphysics automatically assigns one boundary as the
source and the other as the destination. To manually set the destination selection, a
Destination Selection subnode is available from the context menu (by right-clicking the
parent node) or from the Physics toolbar, Attributes menu. All destination sides must be
connected.
CONSTRAINT SETTINGS
ORIENTATION OF SOURCE
For information about the Orientation of Source section, see Orientation of Source and
Destination in the COMSOL Multiphysics Reference Manual.
This boundary condition is not compatible with the projection method equation form.
Fan
The Fan condition is used to define the flow direction (inlet or outlet) and the fan
parameters on exterior boundaries. The Interior Fan condition is available on interior
boundaries.
86 |
FLOW DIRECTION
The Flow direction can be set to Inlet or Outlet. When a boundary has been selected, an
arrow displays in the Graphics window to indicate the selected flow direction. The arrow
can be updated if the selection changes by clicking any node in the Model Builder and then
clicking the Fan node again to update the Graphics window.
The Inlet Flow direction controls in which direction the fluid enters the domain.
For Normal flow it sets the tangential velocity component to zero.
For User defined an Inflow velocity direction du (dimensionless) should be specified. The
magnitude of du does not matter, only the direction. du must point into the domain.
For Swirl flow (which is available for 3D or 2D axisymmetric when the Swirl flow
checkbox in Physical Model Properties is checked) it specifies a swirl flow on the
downstream side of the fan based on the Rotation axis base point rbp, Revolutions per
time f, Rotational direction and Swirl ratio csf.
PARAMETERS
When Inlet is selected as the Flow direction, the Input pressure pinput defines the pressure
at the fan inlet.
When Outlet is selected as the Flow direction, the Exit pressure pexit defines the pressure at
the fan outlet.
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation (named
Compensate for hydrostatic pressure for compressible flows) checkbox is available and
selected by default. When it is selected, the hydrostatic pressure is automatically added to
the pressure entered in pinput or pexit user input.
For either flow direction, Static pressure curve specifies a fan curveLinear, Static pressure
curve data, or User defined.
Linear
For both Inlet and Outlet flow directions, if Linear is selected, values or expressions for the
Static pressure at no flow pnf and the Free delivery flow rate V0,fd should be specified. The
static pressure curve is equal to the static pressure at no flow rate when V0 < 0 and equal
to 0 when the flow rate is larger than the free delivery flow rate.
User Defined
With the User defined option, a different value or expression for the Static pressure curve
can be specified. The flow rate across the selection where this boundary condition is
applied is defined by phys_id.V0 where phys_id is the name (for example, phys_id is
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
87
spf by default for laminar single-phase flow). In order to avoid unexpected behavior, the
function used for the fan curve returns the maximum of the user-defined function and 0.
This section is available when Static pressure curve data is selected as the Static pressure
curve. Units can be specified for the Flow rate and Static pressure.
STATIC PRESSURE CUR VE DATA
When Static pressure curve data is selected as the Static pressure curve, a table appears,
where values or expressions the Flow rate and Static pressure can be specified or imported
) under the table. Units can be
from a text file by clicking the Load from file button (
specified for the Flow rate and the Static pressure curve.
STATIC PRESSURE CUR VE INTERPOLATION
This section is available when Static pressure curve data is selected as the Static pressure
curve. The available options for the Interpolation function type are Linear, Piecewise cubic,
and Cubic spline.
The extrapolation method always returns a constant value. In order to avoid problems with
undefined data, the function used for the boundary condition returns the maximum of the
interpolated function and 0.
TURBULENCE CONDITIONS ON FAN OUTLET
When Inlet is selected as the Flow direction and the Turbulence model has transport
equations for the turbulent kinetic energy, k, and turbulent dissipation rate, , or specific
dissipation rate, , the values of the Turbulent kinetic energy and the Turbulent dissipation
rate or Specific dissipation rate on the downstream side of the fan should be specified.
Alternatively, the Reference velocity scale can be used to specify default values.
88 |
Interior Fan
The Interior Fan condition represents interior boundaries where a fan condition is set using
a fan pressure curve to avoid an explicit representation of the fan. The Interior Fan defines
a boundary condition on a slit for laminar flow. That means that the pressure and the
velocity can be discontinuous across this boundary.
One side represents a flow inlet; the other side represents the fan outlet. The fan boundary
condition ensures that the mass flow rate is conserved between its inlet and outlet:
inlet
u n +
u n = 0
outlet
This boundary condition acts like a pressure boundary condition on each side of the fan.
The pressure at the fan outlet is fixed so that the mass flow rate is conserved. On the fan
inlet the pressure is set to the pressure at the fan outlet minus the pressure drop induced
by the fan. The pressure drop is defined from the static pressure curve, and is usually a
function of the flow rate. To define a fan boundary condition on an exterior boundary, the
Fan condition should be used instead.
INTERIOR FAN
The Flow direction can be defined by selecting Along normal vector or Opposite to normal
vector. This defines which side of the boundary is the fans inlet and which side is the fans
outlet.
TURBULENCE CONDITIONS ON FAN OUTLET
When using a Turbulence model which has transport equations for the turbulent kinetic
energy, k, and turbulent dissipation rate, , or specific dissipation rate, , the values of the
Turbulent kinetic energy and the Turbulent dissipation rate or Specific dissipation rate on the
downstream side of the fan should be specified. Alternatively, the Reference velocity scale
can be used to specify default values.
After a boundary has been selected, an arrow displays in the Graphics window to indicate
the selected flow direction. If the selection changes, the arrow can be updated by clicking
any node in the Model Builder and then clicking the Interior fan node again to update the
Graphics window.
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
89
The rest of the settings for this section are the same as for the Fan node. See Linear and
Static Pressure Curve Data for details.
Interior Wall
The Interior Wall boundary condition can only be applied on interior boundaries.
It is similar to the Wall boundary condition available on exterior boundaries except that it
applies on both sides of an internal boundary. It allows discontinuities (velocity, pressure,
and turbulence variables) across the boundary. The Interior Wall boundary condition can
be used to avoid meshing thin structures by applying no-slip conditions on interior curves
and surfaces instead. Slip conditions and conditions for a moving wall can also be
prescribed. The Interior Wall boundary condition is only available for single-phase flow. It
is compatible with laminar and turbulent flow.
BOUNDARY CONDITION
The available Boundary condition options are No slip (for laminar flow), Wall functions (for
turbulent flow), Slip, or Moving wall.
No Slip
The No slip condition prescribes u = 0 on both sides of the boundary; that is, the fluid at
the wall is not moving.
Wall Functions
For the k- and k- turbulence models, the Wall functions boundary condition is used to
model the thin region with large gradients in flow variables near a stationary, solid wall.
When Apply wall roughness is selected, a Sand roughness model, derived from the
experiments by Nikuradse, is applied. More general roughness types can be specified by
selecting Generic roughness.
For Sand roughness an Equivalent sand roughness height kseq should be specified.
For Generic roughness a Roughness height ks and a dimensionless Roughness parameter Cs
should be specified.
90 |
Slip
The Slip condition prescribes a no-penetration condition, un=0. It implicitly assumes that
there are no viscous effects on either side of the slip wall and hence, no boundary layer
develops. From a modeling point of view, this can be a reasonable approximation if the
important effect is to prevent the exchange of fluid between the regions separated by the
interior wall.
Moving Wall
Applying this boundary condition does not automatically cause an associated geometry
change. An additional Moving Mesh interface must be added to physically track the wall
movement in the spatial reference frame.
If the wall moves, so must the fluid on both sides of the wall. Hence, this boundary
condition prescribes u = uw. The components of the Velocity of moving wall uw should be
specified.
CONSTRAINT SETTINGS
Wall
Moving Mesh Interface in the COMSOL Multiphysics Reference
Manual
This boundary condition is not compatible with the projection method.
Grille
The Grille boundary condition models the pressure drop caused by having a grille that
covers the inlet or outlet.
PARAMETERS
When Inlet is selected as the Flow direction, the Input pressure pinput defines the pressure
at the fan inlet.
When Outlet is selected as the Flow direction, the Exit pressure pexit defines the pressure at
the fan outlet.
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation (named
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
91
Compensate for hydrostatic pressure for compressible flows) checkbox is available and
selected by default. When it is selected, the hydrostatic pressure is automatically added to
the pressure entered in pinput or pexit user input.
When Quadratic loss is selected for the Static pressure curve, the Quadratic loss coefficient
qlc should be specified. qlc defines the static pressure curve which is a piecewise quadratic
function equal to 0 when the flow rate is < 0, equal to V02qlc when the flow rate is > 0.
See Fan for other settings for the Laminar Flow interface. Note that for the Turbulent
Flow interfaces, Quadratic loss is the only available option for Static pressure curve.
TURBULENCE CONDITIONS
When Inlet is selected as the Flow direction and the Turbulence model has transport
equations for the turbulent kinetic energy, k, and turbulent dissipation rate, , or specific
dissipation rate, , the Specify turbulent length scale and intensity and Specify turbulence
variables options are available for the turbulence conditions on the downstream side of the
grille. Alternatively, the Reference velocity scale can be used to specify default values.
Pipe Connection
This feature is available with a license for the Pipe Flow Module. For details, see Pipe
Connection the in the Pipe Flow Module Users Guide.
Flow Continuity
The Flow Continuity condition is suitable for pairs where the boundaries match; it
prescribes that the flow field is continuous across the pair.
A Wall subnode is added by default and it applies to the parts of the pair boundaries where
a source boundary lacks a corresponding destination boundary and vice versa. The Wall
feature can be overridden by any other boundary condition that applies to exterior
boundaries. By right-clicking the Flow Continuity node, additional Fallback feature
subnodes can be added.
This boundary condition is not compatible with the projection method.
92 |
The relative pressure value is set by specifying the Pressure p0. Or, if the reference pressure
pref defined at the physics interface level is equal to zero, p0 represents the absolute
pressure.
When Include gravity is selected and Use reduced pressure not selected in the interface
Physical model section, the Compensate for hydrostatic pressure approximation (named
Compensate for hydrostatic pressure for compressible flows) checkbox is available and
selected by default. When it is selected, the hydrostatic pressure is automatically added to
the pressure entered in p0 user input.
CONSTRAINT SETTINGS
The source Mass flux, q p should be specified. A positive value results in mass being ejected
from the point into the computational domain. A negative value results in mass being
removed from the computational domain.
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
93
The Line Mass Source feature is available for all dimensions, but the applicable selection
differs between the dimensions.
MODEL DIMENSION
2D
Points
2D Axisymmetry
3D
Edges
SOURCE STRENGTH
The source Mass flux, q l , should be specified. A positive value results in mass being ejected
from the line into the computational domain and a negative value means that mass is
removed from the computational domain.
94 |
Line sources located on a boundary affect the adjacent computational domains. This, for
example, has the effect that a line source located on a symmetry plane has twice the given
strength.
Gravity
This feature requires at least one of the following licenses: CFD Module, Heat Transfer
Module.
The Gravity global feature is automatically added when Include gravity is selected at the
interface level in the Physical Model settings. It defines the gravity forces from the
Acceleration of gravity value.
ACCELERATION OF GRAVITY
The Acceleration of gravity (SI unit m/s, default value -gconstez in 2Daxi and 3D and
-gconstey in 2D) is used to define the gravity forces. It should be a global quantity.
T H E C R E E P I N G F L O W , L A M I N A R F L O W , A N D TU R B U L E N T F L O W I N T E R F A C E S
95
)
when adding a physics interface, are used for modeling flow where one or more of the
boundaries rotate in a periodic fashion. This is used for mixers and propellers.
The physics interfaces support compressible and incompressible flow, the flow of
non-Newtonian fluids described by the Power Law and Carreau models, and also
turbulent flow. The physics interfaces also support creeping flow, although the shallow
channel approximation is redundant.
In this section:
The Rotating Machinery, Laminar Flow Interface
The Rotating Machinery, Turbulent Flow, Algebraic yPlus Interface
The Rotating Machinery, Turbulent Flow, L-VEL Interface
The Rotating Machinery, Turbulent Flow, k-e Interface
Domain, Boundary, Point, and Pair Nodes for the Rotating Machinery Interfaces
96 |
When this physics interface is added, the following default physics nodes are also added in
the Model BuilderFluid Properties, Wall, Rotating Wall, and Initial Values. Then, from the
Physics toolbar, add other nodes that implement, for example, boundary conditions and
volume forces. You can also right-click Rotating Machinery, Laminar Flow to select physics
features from the context menu. See Rotating Domain, Initial Values, and Rotating Wall.
It should be noted that only one physics interface at a time can be used to control the solid
body rotation in the machinery under investigation. If more than one rotating machinery
interface is added to the same component, the last interface in the list (top to bottom) will
control the rotation.
SETTINGS
T H E R O T A T I N G M A C H I N E R Y , L A M I N A R A N D TU R B U L E N T F L O W I N T E R F A C E S
97
98 |
TU R B U L E N C E M O D E L PA R A M E T E R S
The turbulence model parameters for the Algebraic yPlus model, a and Ba, have been
optimized for turbulent pipe flow. For certain cases, better performance can be obtained
by tuning the model parameters.
D EPENDE N T VAR IA BL ES
The following dependent variables (fields) are defined for this physics interface:
Velocity field u
Pressure p
Reciprocal wall distance G
Wall distance in viscous units yPlus (dimensionless)
T H E R O T A T I N G M A C H I N E R Y , L A M I N A R A N D TU R B U L E N T F L O W I N T E R F A C E S
99
features, see Domain, Boundary, Point, and Pair Nodes for the Rotating Machinery
Interfaces.
A part for the interface settings defined below, see the advanced settings for the The
Rotating Machinery, Laminar Flow Interface, and the settings in The Creeping Flow,
Laminar Flow, and Turbulent Flow Interfaces.
TU R B U L E N C E M O D E L P A R A M E T E R S
The turbulence model parameters for the L-VEL model, l and El, have been optimized
for internal flow. For certain cases, better performance can be obtained by tuning the
model parameters.
D E P E N D E N T VA R I A BL E S
The following dependent variables (fields) are defined for this physics interface:
Velocity field u
Pressure p
Reciprocal wall distance G
Tangential velocity in viscous units uPlus (dimensionless)
100 |
Physics toolbar, add other nodes that implement, for example, boundary conditions and
volume forces. You can also right-click Rotating Machinery, Turbulent Flow, k- to select
physics features from the context menu. For information about the available physics
features, see Domain, Boundary, Point, and Pair Nodes for the Rotating Machinery
Interfaces.
A part for the defined settings below, see the advanced settings for the The Rotating
Machinery, Laminar Flow Interface, and the settings in The Creeping Flow, Laminar Flow,
and Turbulent Flow Interfaces.
TU R B U L E N C E M O D E L PA R A M E T E R S
Turbulence model parameters are optimized to fit as many flow types as possible, but for
some special cases, better performance can be obtained by tuning the model parameters.
For this physics interface the parameters are Ce1, Ce2, C, k, e, v, and B.
D EPENDE N T VAR IA BL ES
The following dependent variables (fields) are defined for this physics interface:
Velocity field u and its components
Pressure p
Turbulent kinetic energy k
Turbulent dissipation rate ep
Domain, Boundary, Point, and Pair Nodes for the Rotating Machinery
Interfaces
All versions of the Rotating Machinery, Fluid Flow interfaces include the following unique
domain, boundary, point, and pair physics nodes.
Contact Angle
Rotating Wall
Initial Values
Rotating Domain
The 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).
T H E R O T A T I N G M A C H I N E R Y , L A M I N A R A N D TU R B U L E N T F L O W I N T E R F A C E S
101
The following nodes, also available in the Rotating Machinery, Fluid Flow interfaces, are
described for the Laminar Flow interface:
No Viscous Stress
Flow Continuity
Fluid Properties
Inlet
Screen
Interior Wall
Symmetry
Volume Force
Open Boundary
Wall
Outlet
Initial Values
The node prescribes initial values for the dependent variables solved for. The initial values
can serve as initial conditions for a transient simulation, or as an initial guess for a nonlinear
solver.
IN ITIA L VA LUES
Enter values or expressions for the initial value of the Velocity field u and for the Pressure p.
When using a turbulence model, also enter values or expressions for the turbulence
variables solved for.
Rotating Domain
This node defines a domain as rotating with respect to a stationary coordinate system. The
mesh inside the domain, including external or internal boundaries, is defined to rotate as
a solid body. The node prescribed the rotation rotational frequency and direction as well
as the axis of rotation. If there is more than one rotating domain, these must not intersect.
The angular displacement, (SI unit: rad), of the rotating domain is computed from a
specified angular velocity w (SI unit: rad/s) by solving the ODE
d------= w( t) .
dt
102 |
(3-8)
Since the angular displacement is solved for, the domain rotation can be specified using
any type of angular velocity (constant, analytic, interpolation function, and so forth).
ROTATING DOMAIN
3D Components
For 3D components, select the Axis of rotation, the z-axis is the default. If the x-axis is
selected, it corresponds to a rotational axis (1, 0, 0) with the origin as the base point. This
is the same for the y-axis and z-axis. For User defined enter values for the Rotation axis base
point rbp and Rotation axis direction rax.
Select a Rotational frequencyRevolutions per time (the default) or Angular velocity.
For Revolutions per time enter a value or expression in the field and select a Rotational
directionPositive angular velocity or Negative angular velocity. The angular velocity in
this case is defined as the input multiplied by 2.
For Angular velocity enter an Angular velocity w.
2D Components
For 2D components, enter coordinates for the Rotation axis base point rbp. The default is
the origin (0, 0).
Select a Rotational frequencyRevolutions per time or Angular velocity.
For Revolutions per time enter a value or expression in the field and select a Rotational
directionClockwise or Counterclockwise. The angular velocity in this case is defined as
the input multiplied by 2.
For Angular velocity enter an Angular velocity w.
Rotating Wall
This feature applies boundary conditions to external boundaries of a Rotating Domain.
For laminar flow conditions corresponding to no slip (with respect to the rotating wall)
are prescribed.
For turbulence models using wall functions, corresponding conditions accounting for the
rotation of the wall are prescribed.
T H E R O T A T I N G M A C H I N E R Y , L A M I N A R A N D TU R B U L E N T F L O W I N T E R F A C E S
103
CONSTRAINT SETTINGS
x = x0
FS = S2 FS
(3-9)
104 |
The Stationary Free Surface feature is supported by laminar and turbulent flow, and is
applicable for small surface deformations (FS and its gradient should be small compared
to the dimensions of the computational domain).
STATIONARY FREE SURFACE
Enter an External pressure pext corresponding to the average pressure level on the free
surface.
S U R F A C E TE N S I O N
The default Surface tension coefficient (SI unit: N/m) is User defined. It can also be
specified from predefined libraries, by selecting Library coefficient, liquid/gas interface or
Library coefficient, liquid/liquid interface.
For Library coefficient, liquid/gas interface select an option from the listWater/Air,
Acetone/Air, Acetic acid/Air, Ethanol/Air, Ethylene glycol/Ethylene glycol vapor, Diethyl
ether/Air, Glycerol/Air, Heptane/Nitrogen, Mercury/Mercury vapor, or Toluene/Air.
For Library coefficient, liquid/liquid interface select an option from the list
Benzene/Water, 20C, Corn oil/Water, 20C, Ether/Water, 20C, Hexane/Water, 20C,
Mercury/Water, 20C, or Olive oil/Water, 20C.
Only one Stationary Free Surface feature can be applied in a Rotating Machinery, Fluid
Flow interface and it requires the study to be stationary (Frozen Rotor).
Contact Angle
This feature specifies the contact angle between the free surface and a solid wall.The
Contact Angle feature is a subfeature to, and added under a Stationary Free Surface
feature.
CONTACT ANGLE
Select an option from the Specify contact angle listDirectly (the default) or Through
Youngs equation.
For Directly enter a Contact angle w (SI unit: rad). The default is /2.
For Through Youngs equation enter values or expressions for Phase 1-Solid surface energy
density s1 (SI unit: J/m2) and Phase 2-Solid surface energy density s2 (SI unit: J/m2).
T H E R O T A T I N G M A C H I N E R Y , L A M I N A R A N D TU R B U L E N T F L O W I N T E R F A C E S
105
The theory for the Single-Phase Flow, Laminar Flow interface is described in this section:
General Single-Phase Flow Theory
Compressible Flow
Weakly Compressible Flow
The Mach Number Limit
Incompressible Flow
The Reynolds Number
Non-Newtonian Flow: The Power Law and the Carreau Model
Gravity
The Boussinesq Approximation
Theory for the Wall Boundary Condition
Prescribing Inlet and Outlet Conditions
Laminar Inflow
Laminar Outflow
Mass Flow
No Viscous Stress
Normal Stress Boundary Condition
Vacuum Pump Boundary Condition
Fan Defined on an Interior Boundary
Fan and Grille Boundary Conditions
Screen Boundary Condition
Mass Sources for Fluid Flow
Numerical StabilityStabilization Techniques for Fluid Flow
106 |
(3-10)
u
------- + ( u )u = [ pI + ] + F
t
(3-11)
T p
T
C p ------- + ( u )T = ( q ) + :S ---- ------- ------ + ( u )p + Q
t
T p t
(3-12)
where
is the density (SI unit: kg/m3)
u is the velocity vector (SI unit: m/s)
p is pressure (SI unit: Pa)
is the viscous stress tensor (SI unit: Pa)
F is the volume force vector (SI unit: N/m3)
Cp is the specific heat capacity at constant pressure (SI unit: J/(kgK))
T is the absolute temperature (SI unit: K)
q is the heat flux vector (SI unit: W/m2)
Q contains the heat sources (SI unit: W/m3)
S is the strain-rate tensor:
107
1
S = --- ( u + ( u ) T )
2
The operation : denotes a contraction between tensors defined by
a:b =
anm bnm
(3-13)
n m
(3-14)
The dynamic viscosity, (SI unit: Pas), for a Newtonian fluid is allowed to depend on the
thermodynamic state but not on the velocity field. All gases and many liquids can be
considered Newtonian. Examples of non-Newtonian fluids are honey, mud, blood, liquid
metals, and most polymer solutions. With the CFD Module, you can model flows of
non-Newtonian fluids using the predefined power law and Carreau models, which
describe the dynamic viscosity for non-Newtonian fluids.Other commonly used
constitutive relations are Fouriers law of heat conduction and the ideal gas law.
In theory, the same equations describe both laminar and turbulent flows. In practice,
however, the mesh resolution required to simulate turbulence with the Laminar Flow
interface makes such an approach impractical.
There are several books where derivations of the Navier-Stokes equations
and detailed explanations of concepts such as Newtonian fluids can be
found. See, for example, the classical text by Batchelor (Ref. 3) and the
more recent work by Panton (Ref. 4).
Many applications describe isothermal flows for which Equation 3-12 is decoupled from
Equation 3-10 and Equation 3-11. Non-isothermal flow and the temperature equation
108 |
are described in the Heat Transfer and Non-Isothermal Flow Interfaces chapter.
2D AXISYMMETRIC FORMULATIONS
Compressible Flow
The equations of motion for a single-phase fluid are the continuity equation:
----+ ( u ) = 0
t
(3-15)
u
2
------- + u u = p + ( u + ( u ) T ) --- ( u )I + F
t
3
(3-16)
These equations are applicable for incompressible as well as for compressible flow with
density and viscosity variations.
109
110 |
Incompressible Flow
When the temperature variations in the flow are small, a single-phase fluid can often be
assumed incompressible; that is, is constant or nearly constant. This is the case for all
liquids under normal conditions and also for gases at low velocities. For constant ,
Equation 3-15 reduces to
u = 0
(3-17)
T
u
+ ( u )u = [ pI + ( u + ( u ) ) ] + F
t
(3-18)
In order to apply the incompressible flow formulation, the density is evaluated at the
reference pressure level, and both the density and viscosity are evaluated at the reference
temperature. However, if the density is a function of other quantities such as a
concentration field, the user has to make sure that the density is defined as constant when
the incompressible flow formulation is used.
111
in the solution increases as Rec grows. The cell Reynolds number is a predefined quantity
available for visualization and evaluation (typically it is available as: spf.cellRe).
= =
1
--- :
2
anm bnm
n m
For a non-Newtonian fluid, the dynamic viscosity is assumed to be a function of the shear
rate:
= ()
The Laminar Flow interfaces have the following predefined models to prescribe a
non-Newtonian viscositythe power law and the Carreau model.
POWER L AW
= m n 1
112 |
(3-19)
where m and n are scalars that can be set to arbitrary values. For n > 1, the power law
describes a shear thickening (dilatant) fluid. For n < 1, it describes a shear thinning
(pseudoplastic) fluid. A value of n equal to one gives the expression for a Newtonian fluid.
Equation 3-19 predicts an infinite viscosity at zero shear rate for n < 1. This is however
never the case physically. Instead, most fluids have a constant viscosity for shear rates
smaller than 10-2 s-1 (Ref. 19). Since infinite viscosity also makes models using
Equation 3-19 difficult to solve, COMSOL Multiphysics implements the power law
model as
= mmax ( , min ) n 1
(3-20)
where min is a lower limit for the evaluation of the shear rate magnitude. The default
value for min is 10-2 s-1, but can be given an arbitrary value or expression using the
corresponding text field.
CARREAU MODEL
The Carreau model defines the viscosity in terms of the following four-parameter
expression
(n 1)
---------------- = + ( 0 inf ) [ 1 + ( ) 2 ] 2
(3-21)
where is a parameter with the unit of time, 0 is the zero shear rate viscosity, inf is the
infinite shear-rate viscosity, and n is a dimensionless parameter. This expression is able to
describe the viscosity for most stationary polymer flows.
Gravity
DEFINITION
The gravity force is defined from the acceleration of gravity vector, g, and the density, .
Under usual conditions and in Cartesian coordinates with the z-axis in the vertical
direction,
g =
0
const
113
u
2
------- + u u = pI + ( u + ( u ) T ) --- ( u )I + F + g
t
3
(3-22)
Introducing a constant reference density ref, and assuming that g is homogeneous, this
equation is equivalently written:
u
------- + u u=
t
(3-23)
2
pI + ( u + ( u ) T ) --- ( u )I + ref g ( r r ref ) + F + ( ref )g
3
where r is the position vector and rref is an arbitrary reference position vector.
From this equation, it is convenient to define the reduced pressure which accounts for the
T ref
For incompressible flow the fluid properties are assumed to be constant (Boussinesqs
approximation). Hence it is natural to define the reference density, ref, such that
=ref=(ref,pref) and ref=(ref) which makes it possible to simplify equation
Equation 3-24:
u
ref ------- + ref u u = ( p I + ref ( u + ( u ) T ) ) + F
t
In some cases, even when the flow is modeled as incompressible, buoyancy should be
accounted for. Using the approximation of the gravity force based on the thermal
expansion coefficient (which is relevant in this case: since the density changes are small, the
114 |
For weakly compressible flow the assumption is that the density depends only on the
temperature. In particular, the pressure dependency of the density is neglected, and the
density is evaluated at the reference pressure: =(,pref). With the relative pressure as
dependent variable, Equation 3-22 is used
u
2
------- + u u = pI + ( u + ( u ) T ) --- ( u )I + F + g
t
3
With the reduced pressure as dependent variable, Equation 3-24 is used:
u
2
------- + u u = p I + ( u + ( u ) T ) --- ( u )I + F + ( ref )g
t
3
COMPRESSIBLE FLOW
For compressible flow the density may depend on any other variable, in particular on the
temperature and the pressure. Similar equations are used as for the Weakly Compressible
Flow case except that the density is not evaluated at the reference pressure.
NON-ISOTHERMAL FLOW COUPLING
For consistency, when the Non-Isothermal Flow coupling is active, the assumptions made
for the single phase flow interface are also made in the heat transfer interface:
Incompressible flow: the Boussinesq approximation implies that the thermal
conductivity and heat capacity are also constant.
Weakly Compressible flow: the density is evaluated at pref in the heat interface too.
Compressible flow: no change.
PRESSURE FORMULATION
When the relative pressure is used (default option) the interface dependent variable
represents the relative pressure and the absolute pressure is defined as p A = p ref + p .
When the pressure is used to define a boundary condition (for example when p0 defines
the pressure condition at an outlet), it represents the relative pressure. Hence defining the
115
outlet pressure as p hydro, approx = ref g ( r r ref ) compensates for the gravity force for
an ambient reference pressure of 0Pa when the density is constant, there is no external
force, and provided pref, g and r0 are defined consistently.
When the reduced pressure is used, the interface dependent variable (named p by default)
represents the reduced pressure. The absolute pressure is then defined as
p A = p ref ref g ( r r ref ) + p . In this case when the pressure is used to define a
boundary condition (for example to define a pressure condition at an outlet), its value
corresponds to the reduced pressure. Hence, the prescribed pressure compensates for an
approximate hydrostatic pressure, p hydro, approx = ref g ( r r ref ) which is exact only
when the density is constant and there is no external force.
PRESSURE BOUNDARY CONDITION
p = ref g ( r r ref ) + p 0 or p = p 0 .
For weakly compressible flow and compressible flow, since the density varies, there is no
r
corresponding explicit expression. We have p =
g dr + p 0 and
r
p =
r
.
ref
( ref )g dr + p 0
rref
In practice, these integrals can be problematic to evaluate. Hence, whenever possible, it is
recommended to locate the pressure boundary in a region where the approximate
definition of the hydrostatic pressure is applicable, or to define a boundary that is
perpendicular to the gravity vector.
If it is not possible and if the pressure conditions can not be determined, one may use a no
viscous stress condition (available in the Open Boundary feature).
116 |
(3-25)
where g is the gravity vector. A further simplification is often possible. Because g can be
written in terms of a potential, , Equation 3-25 can be written as:
F = ( 0 ) + g
The first part can be canceled out by splitting the true pressure, p, into a hydrodynamic
component, P, and a hydrostatic component, 0. Equation 3-17 and Equation 3-18 are
expressed in terms of the hydrodynamic pressure P = p + 0:
u = 0
(3-26)
u
0 ------- + ( 0 u )u = P + ( ( u + ( u ) T ) ) + g
t
(3-27)
To obtain the Boussinesq approximation on this form, the flow must be defined as
Incompressible with the Include gravity and Use reduced pressure options selected in the flow
interface, and the Non-Isothermal Flow multiphysics feature should be used to coupled the
heat transfer and fluid flow interfaces.
In practice, the shift from p to P can be ignored except where the pressure appears in
boundary conditions. The pressure that is specified at boundaries is the reduced pressure
in this case. For example, at a vertical outflow or inflow boundary, the reduced pressure is
typically a constant, whereas the true pressure is a function of the vertical coordinate.
The system formed by Equation 3-26 and Equation 3-27 has its limitations. The main
assumption is that the density fluctuations must be small; that is, /0 << 1. There are also
some more subtle constraints that, for example, make the Boussinesq approximation
unsuitable for systems of very large dimensions. An excellent discussion of the Boussinesq
approximation and its limitations appears in Chapter 14 of Ref. 10.
The Slip condition assumes that there are no viscous effects at the slip wall and hence, no
boundary layer develops. From a modeling point of view, this is a reasonable
approximation if the important effect of the wall is to prevent fluid from leaving the
domain. Mathematically, the constraint can be formulated as:
u n = 0,
( pI + ( u + ( u ) T ) )n = 0
117
The no penetration term takes precedence over the Neumann part of the condition and
the above expression is therefore equivalent to
u n = 0,
K ( K n )n = 0
K = ( u + ( u ) T )n
expressing that there is no flow across the boundary and no viscous stress in the tangential
direction.
For turbulent flow, turbulence variables are in general subject to homogeneous Neumann
conditions. For example
k n = 0
n = 0
The Sliding Wall boundary condition is appropriate if the wall behaves like a conveyor belt;
that is, the surface is sliding in its tangential direction. The wall does not have to actually
move in the coordinate system.
In 2D, the tangential direction is unambiguously defined by the direction of the
boundary, but the situation becomes more complicated in 3D. For this reason, this
boundary condition has slightly different definitions in the different space dimensions.
For 2D and 2D axisymmetric components, the velocity is given as a scalar Uw and the
condition prescribes
u n = 0,
u t = Uw
where t = (ny, nx) for 2D and t = (nz, nr) for axial symmetry.
For 3D components, the velocity is set equal to a given vector uw projected onto the
boundary plane:
u w ( n u w )n
u = -------------------------------------------- u w
u w ( n u w )n
The normalization makes u have the same magnitude as uw even if uw is not exactly
parallel to the wall.
S L I P VE L O C I T Y
In the microscale range, the flow at a boundary is seldom strictly no slip or slip. Instead,
the boundary condition is something in between, and there is a slip velocity at the
118 |
boundary. Two phenomena account for this velocity: violation of the continuum
hypothesis for the viscosity and flow induced by a thermal gradient along the boundary.
The following equation relates the viscosity-induced jump in tangential velocity to the
tangential shear stress along the boundary:
1
u = --- n, t
= ------------------------2
v
-------------- v
where is the fluids dynamic viscosity (SI unit: Pas), v represents the tangential
momentum accommodation coefficient (TMAC) (dimensionless), and is the molecules
mean free path (SI unit: m). The tangential accommodation coefficients are typically in the
range of 0.85 to 1.0 and can be found in Ref. 15.
A simpler expression for is
= -----Ls
where Ls, the slip length (SI unit: m), is a straight channel measure of the distance from
the boundary to the virtual point outside the flow domain where the flow profile
extrapolates to zero. This equation holds for both liquids and gases.
Thermal creep results from a temperature gradient along the boundary. The following
equation relates the thermally-induced jump in tangential velocity to the tangential
gradient of the natural logarithm of the temperature along the boundary:
u = T --- t log T
where T is the thermal slip coefficient (dimensionless) and is the density of the fluid.
The thermal slip coefficients range between 0.3 and 1.0 and can be found in Ref. 15.
Combining the previous relationships results in the following equation:
Ls
u u w, t = ------ n, t + T ------- t T
T
Relate the tangential shear stress to the viscous boundary force by
119
n, t = K ( n K )n
where the components of K are the Lagrange multipliers that are used to implement the
boundary condition. Similarly, the tangential temperature gradient results from the
difference of the gradient and its normal projection:
t T = T ( n T )n
An inlet requires specification of the velocity components. The most robust way to do this
is to prescribe a velocity field using a Velocity condition.
A common alternative to prescribing the complete velocity field is to prescribe a pressure
and all but one velocity component. The pressure cannot be specified pointwise because
this is mathematically over-constraining. Instead the pressure can be specified via a stress
condition:
u n
p + 2 --------- = F n
n
(3-28)
where un/n is the normal derivative of the normal velocity component. Equation 3-28
is prescribed by the Pressure condition in the Inlet and Outlet features and the Normal
stress condition in the Open Boundary and Boundary Stress features. Equation 3-28 is
mathematically more stringent compared to specifying the pressure pointwise and at the
same time cannot guarantee that p obtains the desired value. In practice, p is close to Fn,
120 |
except for low Reynolds number flows where viscous effects are the only effects that
balance the pressure. In addition to Equation 3-28, all but one velocity component must
be specified. For low Reynolds numbers, this can be specified by a vanishing tangential
stress condition:
u t
-------- = 0
n
which is what the Normal stress condition does. Vanishing tangential stress becomes a less
well-posed inlet condition as the Reynolds number increases. The Pressure condition in
the Inlet feature therefore requires a flow direction to be prescribed, which provides a
well-posed condition independent of Reynolds number.
OUTLET CONDITIONS
The most common approach is to prescribe a pressure via a normal stress condition on the
outlet. This is often accompanied by a vanishing tangential stress condition:
u t
-------- = 0
n
where ut/n is the normal derivative of the tangential velocity field. It is also possible to
prescribe ut to be zero. The latter option should be used with care since it can have a
significant effect on the upstream solution.
The elliptic character of the Navier-Stokes equations mathematically permit specifying a
complete velocity field at an outlet. This can, however, be difficult to apply in practice. The
reason being that it is hard to prescribe the outlet velocity so that it is consistent with the
interior solution at each point. The adjustment to the specified velocity then occurs across
an outlet boundary layer. The thickness of this boundary layer depends on the Reynolds
number; the higher the Reynolds number, the thinner the boundary layer.
ALTERNATIVE FORMULATIONS
COMSOL provides several specialized boundary conditions that either provide detailed
control over the flow at the boundary or that simulate specific devices. In practice they
often prescribe a velocity or a pressure, but calculate the prescribed values using for
example ODEs.
121
Laminar Inflow
In order to prescribe a fully developed inlet velocity profile, this boundary condition adds
a weak form contribution and constraints corresponding to unidirectional flow
perpendicular to the boundary. The applied condition corresponds to the situation shown
in Figure 3-2: a fictitious domain of length Lentr is assumed to be attached to the inlet of
the computational domain. The domain is an extrusion of the inlet boundary, which means
that laminar inflow requires the inlet to be flat. The boundary condition uses the
assumption that the flow in this fictitious domain is fully developed laminar flow. The
wall boundary conditions for the fictitious domain is inherited from the real domain, ,
unless the option to constrain outer edges or endpoints to zero is selected in which case
the fictitious walls are no-slip walls.
pentr
Lentr
Figure 3-2: An example of the physical situation simulated when using the Laminar inflow
boundary condition. is the actual computational domain while the dashed domain is a
fictitious domain.
If an average inlet velocity or inlet volume flow is specified instead of the pressure,
COMSOL Multiphysics adds an ODE that calculates a pressure, pentr, such that the
desired inlet velocity or volume flow is obtained.
Laminar Outflow
In order to prescribe an outlet velocity profile, this boundary condition adds a weak form
contribution and constraints corresponding to unidirectional flow perpendicular to the
boundary. The applied condition corresponds to the situation shown in Figure 3-3:
assume that a fictitious domain of length Lexit is attached to the outlet of the
computational domain. The domain is an extrusion of the outlet boundary, which means
that laminar outflow requires the outlet to be flat. The boundary condition uses the
assumption that the flow in this fictitious domain is fully developed laminar flow. The
wall boundary conditions for the fictitious domain is inherited from the real domain, ,
122 |
unless the option to constrain outer edges or endpoints to zero is selected in which case
the fictitious walls are no-slip walls.
pexit
Lexit
Figure 3-3: An example of the physical situation simulated when using the Laminar outflow
boundary condition. is the actual computational domain while the dashed domain is a
fictitious domain.
If the average outlet velocity or outlet volume flow is specified instead of the pressure, the
software adds an ODE that calculates pexit such that the desired outlet velocity or volume
flow is obtained.
Mass Flow
The Mass Flow boundary condition constrains the mass flowing into the domain across an
inlet boundary. The mass flow can be specified in a number of ways.
POINTWISE MASS FLUX
The pointwise mass flux sets the velocity at the boundary to:
mf
u = ------- n
The mass flow rate boundary condition sets the total mass flow through the boundary
according to:
dbc ( u n ) dS = m
where dbc (only present in the 2D Cartesian axis system) is the boundary thickness normal
to the fluid-flow domain and m is the total mass flow rate.
In addition to the constraint on the total flow across the boundary, the tangential velocity
components are set to zero on the boundary
123
un = 0
(3-29)
The standard flow rate boundary condition specifies the mass flow as a standard volumetric
flow rate. The mass flow through the boundary is set by the equation:
( u n ) dS = Q sv
dbc ------ st
where dbc (only present in the 2D component Cartesian axis system) is the boundary
thickness normal to the fluid-flow domain, st is the standard density, and Qsv is the
standard flow rate. The standard density is defined by one of the following equations:
Mn
st = -------Vn
p st M n
st = ----------------RT st
where Mn is the mean molar mass of the fluid, Vn is the standard molar volume, pst is the
standard pressure, R is the universal molar gas constant, and Tst is the standard
temperature.
Equation 3-29 or Equation 3-30 is also enforced for compressible and incompressible
flow, respectively, ensuring that the normal component of the viscous stress and the
tangential component of the velocity are zero at the boundary.
No Viscous Stress
For this module, and in addition to the Pressure, No Viscous Stress boundary condition,
the viscous stress condition sets the viscous stress to zero:
( u + ( u ) T ) 2
--- ( u )I n = 0
3
( ( u + ( u ) T ) )n = 0
using the compressible/weakly compressible and the incompressible formulation,
respectively.
124 |
The condition is not a sufficient outlet condition since it lacks information about the outlet
pressure. It must hence be combined with pressure point constraints on one or several
points or lines surrounding the outlet.
This boundary condition is numerically the least stable outlet condition, but can still be
beneficial if the outlet pressure is nonconstant due to, for example, a nonlinear volume
force.
3
( pI + ( u + ( u ) T ) )n = f 0 n
using the compressible/weakly compressible and the incompressible formulation,
respectively.
This implies that the total stress in the tangential direction is zero. This boundary
condition implicitly sets a constraint on the pressure which for 2D flows is
u n
p = 2 ---------- + f 0
n
(3-30)
(3-31)
( pI + ( u + ( u ) T ) )n = p 0 n
(3-32)
125
(3-33)
pI + ( u + ( u ) T ) 2
--- ( u )I n = p 0 n
3
( pI + ( u + ( u ) T ) )n = p 0 n
p p
0
(3-34)
(3-35)
Equation 3-34 effectively means that the prescribed pressure is p0 if un 0, but smaller
at locations where un < 0. This means that Equation 3-34 does not completely prevent
backflow, but the backflow is substantially reduced.
A pressure condition can also be applied at an inlet. In this case, either the normal stress is
prescribed
2
T
n pI + ( u + ( u ) T ) --- ( u )I n = p 0
3
T
n ( pI + ( u + ( u ) T ) )n = p 0
p p
0
(3-36)
together with the tangential condition in Equation 3-33, or, a general flow direction is
prescribed.
126 |
T pI + ( u + ( u ) T ) 2
--- ( u )I n = p 0 ( r n )
ru
u
3
(r n)
T ( pI + ( u + ( u ) T ) )n = p
ru
0 u
p p
0
(3-37)
du
u ( u r u )r u = 0, r u = ------------du
The > option is used with suppress backflow to have u n 0 or u r u 0 .
See Inlet, Outlet, Open Boundary, and No Viscous Stress for the individual node settings.
Note that some modules have additional theory sections describing options available with
that module.
In this case (see Figure 3-4), the devices inlet is the interior face situated between the blue
(cube) and green (circle) domains while its outlet is an external boundary, here the circular
boundary of the green domain. The lumped curve gives the flow rate as a function of the
pressure difference between the interior face and the external boundary. This boundary
condition implementation follows the Pressure Boundary Condition for outlets with the
Suppress backflow option:
pI + ( u + ( u ) T ) 2
--- ( u )I n = p 0 n
(3-38)
127
Figure 3-4: A vacuum pump at the outlet. The arrow represents the flow direction, the green
circle represents the vacuum pump (that should not be part of the model), and the blue cube
represents the modeled domain with an outlet boundary condition described by a lumped curve
for the attached vacuum pump.
128 |
2 ,
k 0init = 0.015U ref
3/2
C 3/4 k 0init
0init = -------------------------l ref
(3-39)
Figure 3-5: A device between two boundaries. The red arrows represent the flow direction, the
cylindrical part represents the device (that should be not be part of the model), and the two
cubes are the domain that are modeled with a particular inlet boundary condition to account
for the device.
129
In this case, the devices inlet is an external boundary, represented by the external circular
boundary of the green domain on Figure 3-6. The devices outlet is an interior face
situated between the green and blue domains in Figure 3-6. The lumped curve gives the
flow rate as a function of the pressure difference between the external boundary and the
interior face. This boundary condition implementation follows the Pressure Boundary
Condition for inlets with the Suppress backflow option:
T
2
n pI + ( u + ( u ) T ) --- ( u )I n = p 0
3
(3-40)
p 0 p input + p fan ( V 0 )
The Grille boundary condition sets the following conditions:
T
2
n pI + ( u + ( u ) T ) --- ( u )I n = p 0
3
(3-41)
p 0 p input + p grille ( V 0 )
Here, V0 is the flow rate across the boundary, pinput is the pressure at the devices inlet,
and pfan(V0) and pgrille(V0) are the static pressure functions of flow rate for the fan and
the grille. Equation 3-40 and Equation 3-41 correspond to the compressible formulation.
For incompressible flows, the term (2/3)( u) vanishes. When a turbulence model with
a transport equation for the turbulent kinetic energy is applied, the term (2/3)k appears
on the left-hand sides of Equation 3-40 and Equation 3-41. In such cases the turbulent
kinetic energy, k, and dissipation rate, , or specific dissipation rate, , must be specified
on the downstream side. The turbulence conditions are specific to the design and
operating conditions of the fan or grille. For the Fan condition, a reference velocity scale
Uref is available in order to set default values according to Equation 3-39. For the Grille
boundary condition the turbulence quantities on the downstream side are specified by
defining a loss coefficient K = 2p grille ( u n ) 2 , from which a refraction coefficient is
derived using Equation 3-53. Equation 3-47 through Equation 3-49 are then used to
relate upstream and downstream turbulence quantities.
When an algebraic turbulence model, such as the Algebraic yPlus or L-VEL model, is used,
the turbulence is only implicitly affected by the device through the change in the local
Reynolds number.
The flow direction is enforced to be normal to the boundary by default. However, it is
possible to define an arbitrary inflow velocity direction. In such case, Equation 3-40 and
130 |
Equation 3-41 are modified similarly to Equation 3-37. In 2D, the thickness in the third
2
ispIused
+ (to
u
+ ( u
) Tflow
) ---
( Fans
u )Iare
n =modeled
p 0
direction, Dz,
define
the
rate.
as rectangles in this case.
3
For 3D and 2D axisymmetry
when
swirlflow
included,
it is possible to define a swirl
= cthe
( r isr pb
)
u t = u swirl
sf 2fn
on the downstream side ofthe
fan.
It
sets
the
following
boundary
p 0 p input + p fan
conditions:
Here, the swirl ratio csf is a positive number less than 1, defining the ratio of the rotation
transferred from the fan to the flow, f is the number of revolutions per time for the fan,
and rrb is the rotation axis base point.
Figure 3-6: A device at the inlet. The arrow represents the flow direction, the green circle
represents the device (that should not be part of the model), and the blue cube represents the
modeled domain with an inlet boundary condition described by a lumped curve for the
attached device.
DEFINING A DEVICE AT AN OUTLET
In this case (see Figure 3-15), the fans inlet is the interior face situated between the blue
(cube) and green (circle) domain while its outlet is an external boundary, here the circular
boundary of the green domain. The lumped curve gives the flow rate as a function of the
pressure difference between the interior face and the external boundary. This boundary
condition implementation follows the Pressure Boundary Condition for outlets with the
Suppress backflow option:
pI + ( u + ( u ) T ) 2
--- ( u )I n = p 0 n
(3-42)
p 0 p exit p fan ( V 0 )
The Grille boundary condition sets the following conditions:
131
pI + ( u + ( u ) T ) 2
--- ( u )I n = p 0 n
(3-43)
p 0 p exit p grille ( V 0 )
Here, V0 is the flow rate across the boundary, pexit is the pressure at the device outlet, and
pfan(V0) and pgrille(V0) are the static pressure function of flow rate for the fan and the
grille. Equation 3-42 and Equation 3-43 correspond to the compressible formulation. For
incompressible flows, the term (2/3)( u)n vanishes. When a turbulence model with a
transport equation for the turbulence kinetic energy is applied, the term (2/3)kn appears
on the left-hand sides of Equation 3-42 and Equation 3-43. In 2D the thickness in the
third direction, Dz, is used to define the flow rate. Fans are modeled as rectangles in this
case.
Figure 3-7: A fan at the outlet. The arrow represents the flow direction, the green circle
represents the fan (that should not be part of the model), and the blue cube represents the
modeled domain with an outlet boundary condition described by a lumped curve for the
attached fan.
132 |
[ u n ] -+ = 0
2
2
( u n ) 2 + p n T ( + T ) u + ( u ) T --- ( u )I --- kI n
3
3
(3-44)
+
-
(3-45)
K
= ---- - ( u - n ) 2
2
n u+ = ( n u- )
(3-46)
k+ = 2 k-
(3-47)
(3-48)
+ = -
(3-49)
or,
and + refer to the upstream and downstream side of the screen, whereas K and are the
screen resistance and refraction coefficients. The attenuation of the turbulence kinetic
energy (Equation 3-47) is based on the suppression of the tangential velocity
(Equation 3-46) and the changes in and are determined by the assumption of
preservation of the turbulence length-scale across the screen.
When an algebraic turbulence model, such as the Algebraic yPlus or L-VEL model, is used,
the turbulence is only implicitly affected by the device through the change in the local
Reynolds number.
The Screen feature provides three commonly used correlations for K (Ref. 17). The
following correlation is valid for wire gauzes
K = ( 0.52 + 0.66/Re d4 / 3 ) ( ( 1 s ) 2 1 ), Re d = u d
(3-50)
Here s is the solidity (ratio of blocked area to total area of the screen) and d is the
diameter of the wires. For a square mesh, the following correlation is applied,
K = 0.98 ( ( 1 s ) 2 1 ) 1.09
(3-51)
133
K = 0.94 ( ( 1 s ) 2 1 ) 1.28
(3-52)
The following correlation for wire gauzes (Ref. 18) gives reasonable values for for a wide
range of applications and has been included in the implementation,
=
K2
------- + 1 K
---16
4
(3-53)
See Screen for the node settings. Also see Theory for the Non-Isothermal
Screen Boundary Condition for the non-isothermal version of these
physics interfaces.
while keeping the total mass flux constant. Given a point source strength, q p (SI unit:
kg/s), this can be expressed as
lim
V 0
= q p
(3-54)
134 |
is added to a point in the geometry. As can be seen from Equation 3-54, Q must tend to
plus or minus infinity as V tends to zero. This means that in theory the pressure also tends
to plus or minus infinity.
Observe that point refers to the physical representation of the source. A point source
can therefore only be added to points in 3D components and to points on the symmetry
axis in 2D axisymmetry components. Other geometrical points in 2D components
represent physical lines.
The finite element representation of Equation 3-54 corresponds to a finite pressure in 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 pressure value. It is important not
to mesh too finely around a point source since the resulting pressure can result in
unphysical values for the density, for example. It can also have a negative effect on the
condition number for the equation system.
LINE SOURCE
A line source can theoretically be formed by assuming a source of strength Q (SI unit:
kg/(m3s)), located within a tube with cross-sectional area S and then letting S tend to
zero, while keeping the total mass flux per unit length constant. Given a line source
S 0
Q =
q l
(3-55)
135
For feature node information, see Line Mass Source and Point Mass
Source in the COMSOL Multiphysics Reference Manual.
For the Reacting Flow in Porous Media, Diluted Species interface, which
is available with the CFD Module, Chemical Reaction Engineering
Module, or Batteries & Fuel Cells 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).
136 |
STREAMLINE DIFFUSION
For strongly coupled systems of equations, the streamline diffusion method must be
applied to the system as a whole rather than to each equation separately. These ideas were
first explored by Hughes and Mallet (Ref. 7) and were later extended to Galerkin
least-squares (GLS) applied to the Navier-Stokes equations (Ref. 8). This is the streamline
diffusion formulation that COMSOL Multiphysics supports. The time-scale tensor is the
diagonal tensor presented in Ref. 9.
Streamline diffusion is active by default because it is necessary when convection is
dominating the flow.
The governing equations for incompressible flow are subject to the Babuska-Brezzi
condition, which states that the shape functions (basis functions) for pressure must be of
lower order than the shape functions for velocity. If the incompressible Navier-Stokes
equations are stabilized by streamline diffusion, it is possible to use equal-order
interpolation. Hence, streamline diffusion is necessary when using first-order elements for
both velocity and pressure. This applies also if the model is solved using geometric
multigrid (either as a solver or as a preconditioner) and at least one multigrid hierarchy
level uses linear Lagrange elements.
CROSSWIND DIFFUSION
Crosswind diffusion can also be formulated for systems of equations, and when applied to
the Navier-Stokes equations it becomes a shock-capturing operator. COMSOL
Multiphysics supports the formulation in Ref. 8 with a shock-capturing viscosity of the
Hughes-Mallet type Ref. 7.
Incompressible flows do not contain shock waves, but crosswind diffusion is still useful for
introducing extra diffusion in sharp boundary layers and shear layers that otherwise would
require a very fine mesh to resolve.
Crosswind diffusion is active by default as it makes it easier to obtain a solution even if the
problem is fully resolved by the mesh. Crosswind diffusion also enables the iterative solvers
to use inexpensive presmoothers. If crosswind diffusion is deactivated, more expensive
preconditioners must be used instead.
137
ISOTROPIC DIFFUSION
Stationary Solver
In the stationary case, a fully coupled, damped Newton method is applied. The initial
damping factor is low since a full Newton step can be harmful unless the initial values are
close to the final solution. The nonlinear solver algorithm automatically regulates the
damping factor in order to reach a converged solution.
For advanced models, the automatically damped Newton method might not be robust
enough. A pseudo time-stepping algorithm can then be invoked. See Pseudo Time
Stepping for Laminar Flow Models.
Time-Dependent Solver
In the time-dependent case, the initial guess for each time step is (loosely speaking) the
previous time step, which is a very good initial value for the nonlinear solver. The
automatic damping algorithm is then not necessary. The damping factor in the Newton
method is instead set to a constant value slightly smaller than one. Also, for the same
reason, it suffices to update the Jacobian once per time-step.
It is seldom worth the extra computational cost to update the Jacobian more than once
per time step. For most models it is more efficient to restrict the maximum time step or
possibly lower the damping factor in the Newton method.
138 |
LINEAR SOLVER
The linearized Navier-Stokes equation system has saddle point character, unless the density
depends on the pressure. This means that the Jacobian matrix has zeros on the diagonal.
Even when the density depends on the pressure, the equation system effectively shares
many numerical properties with a saddle point system.
For small 2D and 3D models, the default solver suggestion is a direct solver. Direct solvers
can handle most nonsingular systems and are very robust and also very fast for small
models. Unfortunately, they become slow for large models and their memory requirement
scales as somewhere between N1.5and N2, where N is the number of degrees of freedom
in the model. The default suggestion for large 2D and 3D models is therefore the iterative
GMRES solver. The memory requirement for an iterative solver optimally scales as N.
Geometric Multigrid (GMG) is used to accelerate GMRES. GMG needs smoothers but
the saddle point character of the linear system restricts the number of applicable
smoothers. The choices are further restricted by the anisotropic meshes frequently
encountered in fluid-flow problems. Pointwise smoothers, such as SOR, are not very
efficient on anisotropic meshes.
The efficiency of the smoothers is highly dependent on the numerical stabilization.
Iterative solvers perform at their best when both Streamline Diffusion and Crosswind
Diffusion are active.
The default smoother for P1+P1 elements is SCGS. This is an efficient and robust
smoother specially designed to solve saddle point systems on meshes that contain
anisotropic elements. The SCGS smoother works well even without crosswind diffusion.
SCGS can sometimes work for higher-order elements, especially if Method in the SCGS
settings is set to Mesh element lines. But there is no guarantee for this, so the default
smoother for P2+P1 elements and P3+P2 elements is an SOR Line smoother. SOR Line
handles mesh anisotropy but does not formally address the saddle point character. It does,
however, function in practice provided that streamline diffusion and crosswind diffusion
are both active.
A different kind of saddle point character can arise if the equation system contains ODE
variables. Some advanced boundary conditions, for example Laminar Inflow, can add
equations with such variables. These variables must be treated with the Vanka algorithm.
SCGS includes an option to invoke Vanka. Models with higher-order elements must apply
SCGS or use the Vanka smoother. The latter is the default suggestion for higher-order
elements, but it does not work optimally for anisotropic meshes.
139
TIME-DEPENDENT SOLVERS
The default time-dependent solver for Navier-Stokes is the BDF method with maximum
order set to two. Higher BDF orders are not stable for transport problems in general nor
for Navier-Stokes in particular.
BDF methods have been used for a long time and are known for their stability. However,
they can have severe damping effects, especially the lower-order methods. Hence, if
robustness is not an issue, a model can benefit from using the generalized- method
instead. Generalized- is a solver which has properties similar to those of the second-order
BDF solver but it is much less diffusive.
Both BDF and generalized- are per default set to automatically adjust the time step.
While this works well for many models, extra efficiency and accuracy can often be gained
by specifying a maximum time step. It is also often beneficial to specify an initial time step
to make the solver progress smoothly in the beginning of the time series.
In the COMSOL Multiphysics Reference Manual:
Time-Dependent Solver
Multigrid, Direct, Iterative, SCGS, SOR Line, and Vanka
Stationary Solver
( u )u = [ pI + ( u + ( u ) ) ] + F
(3-56)
Solving Equation 3-56 requires a starting guess that is close enough to the final solution.
If no such guess is at hand, the fully transient problem can be solved instead. This is,
however, a rather costly approach in terms of computational time. An intermediate
approach is to add a fictitious time derivative to Equation 3-56:
T
u nojac ( u )
--------------------------------- + ( u )u = [ pI + ( u + ( u ) ) ] + F
where t is a pseudo time step. Since unojac(u) is always zero, this term does not affect
the final solution. It does, however, affect the discrete equation system and effectively
140 |
Pseudo time stepping is not active per default. The pseudo time step t can be chosen
individually for each element based on the local CFL number:
h
t = CFL loc ------u
where h is the mesh cell size. A small CFL number means a small time step. It is practical
to start with a small CFL number and gradually increase it as the solution approaches
steady state.
If the automatic expression for CFLloc is set to the built-in variable CFLCMP, then the
automatic setting suggests a PID regulator for the pseudo time step in the default solver.
The PID regulator starts with a small CFL number and increases CFLloc as the solution
comes closer to convergence.
The default manual expression is
1.3 min ( niterCMP, 9 ) +
if ( niterCMP > 20, 9 1.3 min ( niterCMP 20, 9 ), 0 ) +
(3-57)
141
t
3
u
where the superscript denotes the time-step index, and ------- is discretized using a BDF
t
method up to second order where the u values from previous time steps are replaced by
uc values. To first order it is discretized as:
n+1
u
u
---------------------------c
timestep
2 Solve Poissons equation to adjust the pressure:
n
n+1
timestep ( p n + 1 p ) = ------ u
t
(3-58)
uc
= u
n+1
timestep
--------------------- ( p n + 1 p n )
term in Equation 3-57 and the ------ term in Equation 3-58 are excluded.
t
Due to the specific time discretization scheme, this algorithm is only available with the
time discrete solver.
Because the velocity components and the pressure are solved in a segregated way, some
boundary conditions have a different implementation or might not be available with the
142 |
projection method. In such cases, this is mentioned in the documentation for each
boundary condition.
When the projection method is used for turbulent flows or with multiphysics couplings,
the same algorithm is used for the velocity and pressure variables. Extra steps are needed
to solve the other variables. By default the equation form used for these variables is the
time-dependent form, and the time derivative is automatically discretized using a
second-order BDF method.
dx
d x
= F t, x,
dt
d t2
143
where x is the position of the particle, m the particle mass, and F is the sum of all forces
acting on the particle. Examples of forces acting on a particle in a fluid are the drag force,
the buoyancy force, and the gravity force. The drag force represents the force that a fluid
exerts on a particle due to a difference in velocity between the fluid and the particle. It
includes the viscous drag, the added mass, and the Basset history term. Several empirical
expressions have been suggested for the drag force. One of those is the one proposed by
Khan and Richardson (Ref. 11). That expression is valid for spherical particles for a wide
range of particle Reynolds numbers. The particle Reynolds number is defined as
u u p 2r
Re p = -----------------------------
where u is the velocity of the fluid, up the particle velocity, r the particle radius, the fluid
density, and the dynamic viscosity of the fluid. The empirical expression for the drag
force according to Khan and Richardson is
2
-0.31
F = r u u p ( u u p ) [ 1.84Re p
+ 0.293Re p0.06 ]
3.45
144 |
145
Turbulence Modeling
Turbulence is a property of the flow field and it is characterized by a wide range of flow
scales: the largest occurring scales, which depend on the geometry, the smallest, quickly
fluctuating scales, and all the scales in between. The propensity for an isothermal flow to
become turbulent is measured by the Reynolds number
UL
Re = -----------
146 |
(3-59)
where is the dynamic viscosity, the density, and U and L are velocity and length scales
of the flow, respectively. Flows with high Reynolds numbers tend to become turbulent.
Most engineering applications belong to this category of flows.
The Navier-Stokes equations can be used for turbulent flow simulations, although this
would require a large number of elements in order to capture the wide range of scales in
the flow. An alternative approach is to divide the flow quantities into mean values and
fluctuations. When solving for the mean-flow quantities, the effect of the fluctuations is
modeled using a turbulence closure. The idea behind this approach is that solving the
model for the turbulence closure is numerically less expensive than resolving all the
turbulence scales. Different turbulence closures invoke different assumptions on the
modeled fluctuations, resulting in various degrees of accuracy for different flow cases.
This module includes Reynolds-averaged Navier-Stokes (RANS) models which is the
model type most commonly used in industrial flow applications.
REYNOLDS-AVERAGED NAVIER-STOKES (RANS) EQUATIONS
The following assumes that the fluid is incompressible and Newtonian in which case the
Navier-Stokes equations take the form:
u
T
+ ( u )u = [ pI + ( u + ( u ) ) ] + F
t
u = 0
(3-60)
Once the flow has become turbulent, all quantities fluctuate in time and space. It is seldom
worth the extreme computational cost to obtain detailed information about the
fluctuations. An averaged representation often provides sufficient information about the
flow.
The Reynolds-averaged representation of turbulent flows divides the flow quantities into
an averaged value and a fluctuating part,
= +
where can represent any scalar quantity of the flow. In general, the mean value can vary
in space and time. This is exemplified in Figure 3-8, which shows time averaging of one
component of the velocity vector for nonstationary turbulence. The unfiltered flow has a
time scale t1. After a time filter with width t2 >> t1 has been applied, there is a
fluctuating part, ui, and an average part, Ui. Because the flow field also varies on a time
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
147
scale longer than t2, Ui is still time-dependent but is much smoother than the unfiltered
velocity ui.
Figure 3-8: The unfiltered velocity component ui, with a time scale t1, and the averaged
velocity component, Ui, with time scale t2.
Decomposition of the flow field into an averaged part and a fluctuating part, followed by
insertion into the Navier-Stokes equation, and averaging, gives the Reynolds-averaged
Navier-Stokes (RANS) equations:
U
T
+ U U + ( u' u' ) = P + ( U + ( U ) ) + F
t
U = 0
(3-61)
where U is the averaged velocity field and is the outer vector product. A comparison
with Equation 3-60 indicates that the only difference is the appearance of the last term on
the left-hand side of Equation 3-61. This term represents the interaction between the
fluctuating parts of the velocity field and is called the Reynolds stress tensor. This means
that to obtain the mean flow characteristics, information about the small-scale structure of
the flow is needed. In this case, that information is the correlation between fluctuations in
all three directions.
EDDY VISCOSITY
The most common way to model turbulence is to assume that the turbulence is of a purely
diffusive nature. The deviating part of the Reynolds stress is then expressed as
T
( u' u' ) --- trace ( u' u' )I = T ( U + ( U ) )
3
148 |
where T is the eddy viscosity, also known as the turbulent viscosity. The spherical part can
be written
--- trace ( u' u' )I = 2
--- k
3
3
where k is the turbulent kinetic energy. In simulations of incompressible flows, this term
is included in the pressure, but when the absolute pressure level is of importance (in
compressible flows, for example) this term must be explicitly included.
TU R B U L E N T C O M P RE S S I BL E F L OW
If the Reynolds average is applied to the compressible form of the Navier-Stokes equations,
terms of the form
u
appear and need to be modeled. To avoid this, a density-based average, known as the Favre
average, is introduced:
t+T
1
1
u i = --- lim --- T T
(x,)u i (x,) d
(3-62)
(3-63)
(3-64)
Using Equation 3-63 and Equation 3-64 along with some modeling assumptions for
compressible flows (Ref. 7), Equation 3-16 and Equation 3-17 can be written on the form
------ + ------- ( u i ) = 0
t x i
u i
u i
u i u j 2 u k
p
-------- + u j -------- = ------- + ------- -------- + -------- --- --------- ij u j u i + F i
t
x j
x i x j x j x i 3 x k
(3-65)
The Favre-averaged Reynolds stress tensor is modeled using the same argument as for
incompressible flows:
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
149
u i u j 2 u k
where k is the turbulent kinetic energy. Comparing Equation 3-65 to its incompressible
counterpart (Equation 3-61), it can be seen that except for the term
( 2 3 )k ij
the compressible and incompressible formulations are exactly the same, except that the
free variables are u i instead of
Ui = ui
More information about modeling turbulent compressible flows can be found in Ref. 1
and Ref. 7.
The turbulent transport equations are used in their fully compressible formulations (Ref.
8).
y y
which, expressed on dimensionless form, reduces to
+ u +
+2
1 + l mix u
--------- ---------+ = 1
+
y y
(3-66)
where y+ = yu/, u+ = U/u and u = w is the friction velocity. Close to the wall,
+
+
the mixing length must be zero such that u+ = y+, and far away from the wall, l mix y
+
+
such that u = (1/)log(y ) + B. To obtain the correct behavior, the mixing length is
chosen to be
150 |
+
l mix
y y*
= 0
( y+ y * ) y+ > y *
(3-67)
+
1
y y*
u
--------- =
+
2
+
1 + 4 2 ( y y * ) 1 +
---------------------------------------------------------y
y > y*
2 ( y+ y* )2
2
(3-68)
+
2
+
1 1 + 4 2 ( y y * )
u = y * + ---------------------------------------------------------+
2 2 ( y y * )
+
2
+
1
+ --- log ( 1 + 4 2 ( y y * ) + 2 ( y y * ) )
y y*
(3-69)
+
y > y*
Comparing the above expression with the logarithmic law of the wall
+
1
+
u = --- log ( y ) + B
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
151
+
+
2
=
+
1 + 1 + 4 2 ( y y * )
1 + 2 ( y + y * ) 2 u
--------- = ----------------------------------------------------------2
+
y y*
+
y > y*
(3-70)
This requires the local value of y+, which is obtained from the Reynolds number
+ +
Uy U yu
Re = -------- = ----- --------- = u y =
u
+
y +2
y y*
(3-71)
2 ( y+ y* ) 2 1
+
1
1
+
4
+
2
+
y y * + ---------------------------------------------------------- + --- log ( 1 + 4 2 ( y y * ) + 2 ( y y * ) )
+
2 2 ( y y * )
+
y > y*
The nonlinear algebraic Equation 3-71 has to be solved at each node point to evaluate the
effective viscosity from Equation 3-70. The local Reynolds number Re = Uy/ is formed
with the local absolute value of the velocity and the distance to the nearest wall. This
implicitly assumes that the main flow direction is parallel to the wall.
WALL D IS TANCE
The wall distance, y is provided by a mathematical Wall Distance interface that is included
when using the Algebraic yPlus model. The solution to the wall distance equation is
controlled using the parameter lref. The distance to objects larger than lref is represented
accurately, while objects smaller than lref are effectively diminished by appearing to be
farther away than they actually are. This is a desirable feature in turbulence modeling since
small objects would get too large an impact on the solution if the wall distance were
measured exactly.
The most convenient way to handle the wall distance variable is to solve for it in a separate
study step. A Wall Distance Initialization study type is provided for this purpose and should
be added before the actual Stationary or Transient study step.
WAL L B O U NDA R Y CONDITION
The Algebraic yPlus turbulence model is consistent with a no slip boundary condition, that
is u=0. Since the turbulence model is algebraic, no additional boundary condition is
needed.
152 |
The Algebraic yPlus model can be considered to be well resolved at a wall if l c* is of order
unity. l c* is the distance, measured in viscous units, from the wall to the center of the wall
adjacent cell and can be evaluated as the boundary variable:
Dimensionless distance to cell center. See also Wall for boundary condition details.
In the COMSOL Multiphysics Reference Manual:
The Wall Distance Interface
Stationary with Initialization, Transient with Initialization, and Wall
Distance Initialization
+ 3
+ 4
+
+
1 u +
+ ( u )
( u )
( u )
y = u + ---- e
1 u ----------------- ----------------- -----------------
E
2
6
24
+
(3-72)
U y ( U u ) ( yu )
+
1 = ---------------------+
+
u y
Differentiating Equation 3-72 with respect to y+, the dimensionless effective viscosity is
obtained as
+ 2
+ 3
+
+ ( u )
u +
( u )
= 1 + ---- e
1 u ----------------- -----------------
2
6
E
(3-73)
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
153
If the local value of u+ is known, the effective viscosity can be evaluated from
Equation 3-73. The value of u+ is obtained by forming a local Reynolds number
+ +
Uy U yu
Re = -------- = ----- --------- = u y =
u
+ 2
+ 3
+ 4
1 u +
+ ( u )
( u )
( u )
= u u + ---- e
1 u ----------------- ----------------- -----------------
2
6
24
E
+ +
(3-74)
where the last expression follows from Equation 3-72. Hence, the nonlinear algebraic
Equation 3-74 has to be solved at each node point to evaluate the effective viscosity. The
local Reynolds number Re = Uy/ is formed with the local absolute value of the velocity
and the distance to the nearest wall. This implicitly assumes that the main flow direction
is parallel to the wall.
WALL D IS TANCE
The wall distance, y is provided by a mathematical Wall Distance interface that is included
when using the L-VEL model. The solution to the wall distance equation is controlled
using the parameter lref. The distance to objects larger than lref is represented accurately,
while objects smaller than lref are effectively diminished by appearing to be farther away
than they actually are. This is a desirable feature in turbulence modeling since small objects
would get too large an impact on the solution if the wall distance were measured exactly.
The most convenient way to handle the wall distance variable is to solve for it in a separate
study step. A Wall Distance Initialization study type is provided for this purpose and should
be added before the actual Stationary or Transient study step.
WAL L B O U NDA R Y CONDITION
The L-VEL turbulence model is consistent with a no slip boundary condition, that is u=0.
Since the turbulence model is algebraic, no additional boundary condition is needed.
The L-VEL model can be considered to be well resolved at a wall if l c* is of order unity.
l c* is the distance, measured in viscous units, from the wall to the center of the wall
adjacent cell and can be evaluated as the boundary variable:
154 |
Dimensionless distance to cell center. See also Wall for boundary condition details.
(3-75)
T
k
------ + u k = + ------ k + P k
k
t
(3-76)
3
3
(3-77)
2
----- + u = + ------ + C 1 --- P C 2 ----
k
k k
t
(3-78)
The model constants in Equation 3-75, Equation 3-76, and Equation 3-78 are
determined from experimental data (Ref. 1) and the values are listed in Table 3-3.
TABLE 3-3: MODEL CONSTANTS
CONSTANT
VALUE
0.09
C1
1.44
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
155
VALUE
C2
1.92
1.0
1.3
Equation 3-76 and Equation 3-78 cannot be implemented directly as written. There is, for
example, nothing that prevents division by zero. The equations are instead implemented
as suggested in Ref. 9. The implementation includes an upper limit on the mixing length,
lim :
l mix
k 3 / 2 lim
l mix = max C -----------, l mix
(3-79)
REALIZABILITY CONSTRAINTS
(3-80)
156 |
(3-81)
Combining equation Equation 3-80 with Equation 3-75 and the definition of the mixing
length gives a limit on the mixing length scale:
k
l mix 2
--- ------------------3 S ij S ij
(3-82)
Equivalently, combining Equation 3-81 with Equation 3-75 and Equation 3-79 gives:
1
k
l mix ------- ------------------6 S ij S ij
(3-83)
This means there are two limitations on lmix: the realizability constraint and the imposed
limit via Equation 3-79.
The effect of not applying a realizability constraint is typically excessive turbulence
production. The effect is most clearly visible at stagnation points. To avoid such artifacts,
the realizability constraint is always applied for the RANS models. More details can be
found in Ref. 4, Ref. 5, and Ref. 6.
MODEL LIMITATIONS
The k- turbulence model relies on several assumptions, the most important of which is
that the Reynolds number is high enough. It is also important that the turbulence is in
equilibrium in boundary layers, which means that production equals dissipation. These
assumptions limit the accuracy of the model because they are not always true. It does not,
for example, respond correctly to flows with adverse pressure gradients and can result in
under-prediction of the spatial extent of recirculation zones (Ref. 1). Furthermore, in
simulations of rotating flows, the model often shows poor agreement with experimental
data (Ref. 2). In most cases, the limited accuracy is a fair trade-off for the amount of
computational resources saved compared to using more complicated turbulence models.
WALL FUNCTIONS
The flow close to a solid wall is for a turbulent flow very different from the free stream.
This means that the assumptions used to derive the k- model are not valid close to walls.
While it is possible to modify the k- model so that it describes the flow in wall regions
(see The Low Reynolds Number k-e Turbulence Model), this is not always desirable
because of the very high resolution requirements that follow. Instead, analytical
expressions are used to describe the flow near the walls. These expressions are known as
wall functions.
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
157
The wall functions in COMSOL Multiphysics are such that the computational domain is
assumed to be located a distance w from the wall (see Figure 3-9).
Mesh cells
Solid wall
Figure 3-9: The computational domain is located a distance w from the wall for wall
functions.
The distance w is automatically computed so that
+ = u
w
w
where u=C1/4k is the friction velocity, is 11.06. This corresponds to the distance from
the wall where the logarithmic layer meets the viscous sublayer (or to some extent would
meet it if there were no buffer layer in between). w is limited from below so that it never
+ can
becomes smaller than half the height of the boundary mesh cell. This means that w
become larger than 11.06 if the mesh is relatively coarse.
Always investigate the solution to check that w is small compared to the dimensions of
+ is 11.06 on most of the walls. If + is much larger than
the geometry. Also check that w
w
11.06 over a significant part of the walls, the accuracy might become compromised. Both
+ , are available as results and
the wall lift-off, w, and the wall lift-off in viscous units, w
analysis variables.
The boundary conditions for the velocity is a no-penetration condition u n = 0 and a
shear stress condition
u
n ( n n )n = u ------- max ( C 1 / 4 k, u )
u
where
= ( u + ( u ) T )
158 |
The physics interfaces: Wall, Interior Wall, Rotating Wall, and Rotating Interior Wall have
an option to apply wall roughness by modifying the wall functions. Cebeci (Ref. 18)
suggested a model which adjusts the friction velocity for surface roughness,
u
u = ------------------------------------------1
+
----- ln w + B B
v
(3-84)
where
B =
k s+ 2.25
k s+ 2.25
1---ln ------------------------ + C s k s+ sin [ 0.4258 ( ln k s+ 0.811 ) ]
v
87.75
2.25 k s+ 90
1---ln ( 1 + C s k s+ )
v
k s+ 90
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
159
The roughness height, ks, is the peak-to-peak value of the surface variations and the wall
is relocated to their mean level.
Figure 3-10: Definitions of the roughness height and the modified wall location.
Hence, when Equation 3-84 is used the lift-off is modified according to,
+
+ = max { 11.06, k + 2, h 2 }
w
s
where h+ is the height of the boundary mesh cell in viscous units. Cs is a parameter that
depends on the shape and distribution of the roughness elements. When the turbulence
parameters and B have the values 0.41 and 5.2, respectively, and Cs = 0.26, ks
corresponds to the equivalent sand roughness height, kseq, as introduced by Nikuradse
(Ref. 19). A few characteristic values of the equivalent sand roughness height are given in
Table 3-4 below,
TABLE 3-4: EQUIVALENT SAND ROUGHNESS HEIGHTS
kseq
SURFACE TYPE
Steel, new
50 m
Galvanized steel
0.13 mm
Riveted steel
0.9-9 mm
0.25 mm
Galvanized iron
0.15-0.30 mm
1.0-1.5 mm
30-50 m
Glass
0.3 m
Drawn tubing
1.5 m
Wood, new
0.5 mm
Concrete, new
0.3-3 mm
Use other values of the roughness parameter Cs and roughness height ks to specify generic
surface roughnesses.
160 |
I N ITI AL VAL U ES
The default initial values for a stationary simulation are (Ref. 9),
u=0
p=0
10 2
k = ------------------------------ ( 0.1 l lim )
mix
3/2
C k init
= ---------------------lim
0.1 l mix
lim is the mixing length limit. For time-dependent simulations, the initial value for
where l mix
k is instead
2
k = ------------------------------lim
( 0.1 l mix )
SCALING FOR TIME-DEPENDENT SIMULATIONS
The k- equations are derived under the assumption that the flow has a high enough
Reynolds number. If this assumption is not fulfilled, both k and have very small
magnitudes and behave chaotically in the manner that the relative values of k and can
change by large amounts due to small changes in the flow field.
A time-dependent simulation of a turbulent flow can include a period when the flow is not
fully turbulent. A typical example is the startup phase when for example an inlet velocity
or a pressure difference is gradually increased. To sort out numerical fluctuations in k and
during such periods, the default time-dependent solver for the k- model employs
unscaled absolute tolerances for k and . The tolerances are set to
k scale = ( 0.01U scale ) 2
3/ 2 (L
scale = 0.09k sclae
fact l bb, min )
(3-85)
where Uscale and Lfact are input parameters available in the Advanced Settings section of
the physics interface node. Their default values are 1 m/s and 0.035 respectively. lbb,min is
the shortest side of the geometry bounding box. Equation 3-85 is closely related to the
expressions for k and on inlet boundaries (see Equation 3-108).
The practical implication of Equation 3-85 is that variations in k and smaller than kscale
and scale respectively, are regarded as numerical noise.
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
161
- + u = ---- P k 2 + ( ( + T ) )
t
k
(3-86)
k
T = ---
(3-87)
where
13
1
1
= ------ = 0 f * = 0* f = --- * = --25
2
2
1 + 70
ij jk S ki
13
0 = ---------- f = ----------------------- = -------------------------1 + 80
125
( 0* ) 3
9
0* = ---------- f *
100
1
k 0
= 1 + 680 2
-------------------------k 1 + 400 2 k > 0
k
1
k = ------3- ( k )
(3-88)
162 |
k
= * k l mix = ------
(3-89)
The implementation of the k- model relies on the same concepts as the k- model (Ref.
9). This means that the following approximations have been used:
k lim
l mix = min -------, l mix
, l r
where lr is the limit given by the realizability constraints (Equation 3-82 and
Equation 3-83).
WALL FUNCTIONS
Wall boundaries are treated with the same type of boundary conditions as for the k-
model (see Wall Functions) with C replaced by 0* and the boundary condition for
given by
k w = ------------+
w
(3-90)
I N ITI AL VAL U ES
The default initial values are the same as for the k- model (see Initial Values) but with the
initial value of given by
k init
init = ---------------------lim
0.1 l mix
SCALING FOR TIME-DEPENDENT SIMULATIONS
The k- model applies absolute scales of the same type as the k- model (see Scaling for
Time-Dependent Simulations) except that the scale for is given by
k scale
scale = --------------------------------L fact l bb, min
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
163
MODEL PROPERTIES
The k- model can in many cases give results that are superior to those obtained with the
k- model (Ref. 1). It behaves, for example, much better for flat plate flows with adverse
or favorable pressure gradients. However, there are two main drawbacks. The first is that
the k- model can display a relatively strong sensitivity to free stream inlet values of . The
other is that the k- model is numerically less robust than the k- model.
(3-91)
2
-----
2
----------------P + ( ( + T ) ) + 2 ( 1 f v1 )
k
+ u =
t
T
where,
P = min ( P k, 10 0* k )
(3-92)
(3-93)
2S ij S ij
(3-94)
The model constants are defined through interpolation of appropriate inner and outer
values,
164 |
= f v1 1 + ( 1 f v1 ) 2
= , , k,
for
(3-95)
k 500 4 2 k
- , -------------------- 1 = min max ---------------, ------------*
2 CD l 2
0 l w l w
k w
(3-96)
2 2
CD k = max ----------------- k, 10 -10
and,
f v2 = tanh ( 22 )
2 k 500
-
2 = max ---------------, ------------2
0* l w l w
(3-97)
The wall distance variable, lw, is provided by a mathematical Wall Distance interface that
is included when using the SST model. The solution to the wall distance equation is
controlled using the parameter lref. The distance to objects larger than lref is represented
accurately, while objects smaller than lref are effectively diminished by appearing to be
farther away than they actually are. This is a desirable feature in turbulence modeling since
small objects would get too large an impact on the solution if the wall distance were
measured exactly.
The most convenient way to handle the wall distance variable is to solve for it in a separate
study step. A Wall Distance Initialization study type is provided for this purpose and should
be added before the actual Stationary or Transient study step.
The default model constants are given by,
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
165
1 = 0.075,
1 = 5 9, k1 = 0.85, 1 = 0.5
(3-98)
a 1 = 0.31
WAL L B O U NDA R Y C ON D I T I ON S
In a low Reynolds number model the equations are integrated all the way through the
boundary layer to the wall, which allows for a no slip condition to be applied to the
velocity, that is u=0.
Since all velocities must disappear on the wall, so must k. Hence, k=0 on the wall.
The corresponding boundary condition for is
6
lim = --------------2
1 l w
lw 0
(3-99)
To avoid the singularity at the wall, is not solved for in the cells adjacent to a solid wall.
Instead, its value is prescribed by Equation 3-99 (using the variable w, which only exists
in those cells). Accurate solutions in the near-wall region require that,
+ = u l 1
lw
w
(3-100)
where u is the friction velocity which is calculated from the wall shear-stress w,
u =
(3-101)
The boundary variable Dimensionless distance to cell center, l c+ , is available to ensure that
the mesh is fine enough. According to Equation 3-100, l c+ should be about 0.5. Observe
that very small values of l c+ can reduce the convergence rate.
I N L E T VA L U E S F O R T H E TU R B U L E N C E L E N G T H S C A L E A N D I N T E N S I T Y
The guidelines given in Inlet Values for the Turbulence Length Scale and Turbulent
Intensity for selecting the turbulence length scale, LT, and the turbulence intensity, IT,
apply also to the SST model.
FAR-FIELD BOUNDAR Y CONDITIONS
The SST model was originally developed for exterior aerodynamic simulations. The
recommended far-field boundary conditions (Ref. 15) can be expressed as,
166 |
2
10 -5 U
0.1U 2
-------------------- < k < ----------------Re L
Re L
(3-102)
U
U
-------- < < 10 -------L
L
where L is the approximate length of the computational domain.
I N ITI AL VAL U ES
The SST model has the same default initial guess as the standard k- model (see Initial
lim replaced by l .
Values) but with l mix
ref
The default initial value for the wall distance equation (which solves for the reciprocal wall
distance) is 2/lref.
SCALING FOR TIME-DEPENDENT SIMULATIONS
The SST model applies absolute scales of the same type as the k- model (see Scaling for
Time-Dependent Simulations).
In the COMSOL Multiphysics Reference Manual:
The Wall Distance Interface
Stationary with Initialization, Transient with Initialization, and Wall
Distance Initialization
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
167
T
k
------ + u k = + ------ k + P k
k
t
T
(3-103)
where
2
2
P k = T u: ( u + ( u ) T ) --- ( u ) 2 --- k u
3
3
k2
T = f C -----
5 ( R t 200 ) 2
*
2
14
-e
) 1 + ----------f = ( 1 e
R t3 / 4
f = ( 1 e l
3.1 ) 2
(3-104)
( 1 0.3e ( Rt 6.5 ) )
l * = ( u l w ) R t = k 2 ( ) u = ( ) 1 / 4
and
C 1 = 1.5 C 2 = 1.9 C = 0.09 k = 1.4 = 1.4
(3-105)
The wall distance variable, lw, is provided by a mathematical Wall Distance interface that
is included when using the low Reynolds number k- model. The solution to the wall
distance equation is controlled using the parameter lref. The distance to objects larger than
lref is represented accurately, while objects smaller than lref are effectively diminished by
appearing to be farther away than they actually are. This is a desirable feature in turbulence
modeling since small objects would get too large an impact on the solution if the wall
distance were measured exactly.
The most convenient way to handle the wall distance variable is to solve for it in a separate
study step. A Wall Distance Initialization study type is provided for this purpose and should
be added before the actual Stationary or Transient study step.
168 |
The damping terms in the equations for k and allow for a no slip condition to be applied
to the velocity, that is u=0.
Since all velocities must disappear on the wall, so must k. Hence, k=0 on the wall.
The correct wall boundary condition for is
2 ( ) ( k n ) 2
where n is the wall normal direction. This condition is however numerically very unstable.
Therefore, is not solved for in the cells adjacent to a solid wall and instead the analytical
relation
k
= 2 --- ----2
lw
(3-106)
is prescribed in those cells (using the variable w, which only exists in those cells).
Equation 3-106 can be derived as the first term in a series expansion of
2 ( ) ( k n ) 2
For the expansion to be valid, it is required that
l c* < 0.5
l c* is the distance, measured in viscous units, from the wall to the center of the wall
adjacent cell. The boundary variable Dimensionless distance to cell center is available to
ensure that the mesh is fine enough. Observe that it is unlikely that a solution is obtained
at all if
l c* 0.5
I N L E T VA L U E S F O R T H E TU R B U L E N C E L E N G T H S C A L E A N D I N T E N S I T Y
The guidelines given in Inlet Values for the Turbulence Length Scale and Turbulent
Intensity for selecting the turbulence length scale, LT, and the turbulence intensity, IT,
apply also to the low-Reynolds number k- model.
I N ITI AL VAL U ES
The low-Reynolds number k- model has the same default initial guess as the standard k-
lim replaced by l .
model (see Initial Values) but with l mix
ref
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
169
The default initial value for the wall distance equation (which solves for the reciprocal wall
distance) is 2/lref.
In some cases, especially for stationary solutions, a fast way to convergence is to first solve
the model using the ordinary k- model and then to use that solution as an initial guess
for the low-Reynolds number k- model. The procedure is then as follows:
1 Solve the model using the k- model.
2 Switch to the low-Reynolds number k- model.
3 Add a new Stationary with Initialization study.
4 In the Wall Distance Initialization study step, set Values of variables not solved for to
Solution from the first study. This is to propagate the solution from the first study down
The low-Reynolds number k- model applies absolute scales of the same type as the k-
model (see Scaling for Time-Dependent Simulations).
In the COMSOL Multiphysics Reference Manual:
The Wall Distance Interface
Stationary with Initialization, Transient with Initialization, and Wall
Distance Initialization
170 |
Compared to the low Reynolds number k- model, the Spalart-Allmaras model is generally
considered more robust and is often used as a way to obtain an initial solution for more
advanced models. It can give reasonable results on relatively coarse meshes for which the
low Reynolds number k- model does not converge or even diverges.
This module includes the standard version of the Spalart-Allmaras model without the trip
term (see Ref. 1 and Ref. 12). The model solves for the undamped turbulent kinematic
viscosity, :
c b2
2 1
---- c f ----
- ( ( + ) ) + ------+ u = c b1 S
w1 w l - + -
t
w
(3-107)
f v2 = 1 --------------------,
1 + f v1
r = min -----------------, 10 ,
S
2l 2
v w
= ---,
6
1 + c w3
-
f w = g -------------------6
g 6 + c w3
3 f v1 = ------------------3
3 + c v1
1/6
g = r + c w2 ( r 6 r )
2 l 2 v2
S=
v w
2S ij S ij
2 ij ij
where
S ij = 0.5 ( u + u T )
ij = 0.5 ( u u T )
are the mean strain rate and mean rotation rate tensors, lw, is the distance to the closest
wall and =/ is the kinematic viscosity. The turbulent viscosity is calculated by
T = f v1
The default values for the modeling parameters are:
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
171
c w3 = 2
= 23
The Spalart-Allmaras model is consistent with a no slip boundary condition, that is u=0.
Since, there can be no fluctuations on the wall, the boundary condition for is = 0 .
The Spalart-Allmaras model can be considered to be well resolved at a wall if l c* is of order
unity. l c* is the distance, measured in viscous units, from the wall to the center of the wall
adjacent cell and can be evaluated as the boundary variable:
Dimensionless distance to cell center. See also Wall for boundary condition details.
IN ITIA L VA LUES
The default initial values for the Spalart-Allmaras version of the physics interface are:
u=0
p=0
= --
SCALING FOR TIME-DEPENDENT SIMULATIONS
The Spalart-Allmaras model applies absolute scales of the same type as the k- model (see
Scaling for Time-Dependent Simulations) except that the scale for is given directly by
the scale parameter available in the advanced section of the physics interface node. The
default value for scale is 5106 m2/s.
Inlet Values for the Turbulence Length Scale and Turbulent Intensity
If inlet data for the turbulence variables are not available, crude approximations for k,
and can be obtained from the following formulas:
172 |
2
3
k = --- ( U I T )
2
3 4 k3 / 2
= C
----------LT
(3-108)
k
= -------------------------( 0* ) 1 / 4 L T
where IT is the turbulent intensity and LT is the turbulence length scale.
A value of 103 (0.1%) is a low turbulent intensity IT. Good wind tunnels can produce
values as low as 5104 (0.05%). Fully turbulent flows usually have intensities between 0.05
(5%) and 0.1 (10%).
The turbulence length scale LT is a measure of the size of the eddies that are not resolved.
For free-stream flows these are typically very small (on the order of centimeters). The
length scale cannot be zero, however, because that would imply infinite dissipation. Use
Table 3-5 as a guideline when specifying LT (Ref. 3) where lw is the wall distance, and
+
lw = lw l *
TABLE 3-5: TURBULENCE LENGTH SCALES FOR TWO-DIMENSIONAL FLOWS
FLOW CASE
LT
Mixing layer
0.07L
Layer width
Plane jet
0.09L
Wake
0.08L
Wake width
Axisymmetric jet
0.075L
Boundary layer (p / x = 0)
Viscous sublayer and log-layer
l w ( 1
Outer layer
0.09L
0.07L
26 ) )
Boundary layer
thickness
Pipe diameter or
hydraulic diameter
or channel width
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
173
3
2
k = --- ( I T U ref ) ,
2
34
3
2 ---
C 3 ( I T U ref ) 2
= ------------ ---------------------------- ,
LT
2
I T U ref
3
--- -------------------------2 ( 0* ) 1 / 4 L T
For recommendations of physically sound values see Inlet Values for the
Turbulence Length Scale and Turbulent Intensity.
Also see Inlet and Outlet for the node settings.
174 |
T H E O R Y F O R T H E TU R B U L E N T F L O W I N T E R F A C E S
175
10. H. Grotjans and F.R. Menter, Wall Functions for General Application CFD Codes,
ECCOMAS 98, Proceedings of the Fourth European Computational Fluid Dynamics
Conference, John Wiley & Sons, pp. 11121117, 1998.
11. K. Abe, T. Kondoh, and Y. Nagano, A New Turbulence Model for Predicting Fluid
Flow and Heat Transfer in Separating and Reattaching FlowsI. Flow Field
Calculations, Int. J. Heat and Mass Transfer, vol. 37, no. 1, pp. 139151, 1994.
12. The Spalart-Allmaras Turbulence Model,
http://turbmodels.larc.nasa.gov/spalart.html.
13. J. Dacles-Mariani, G.G. Zilliac and J.S. Chow, Numerical/Experimental Study of a
Wingtip Vortex in the Near Field, AIAA Journal, vol. 33, no. 9, 1995.
14. The Menter Shear Stress Transport Turbulence Model,
http://turbmodels.larc.nasa.gov/sst.html.
15. F.R. Menter, Two-Equation Eddy-Viscosity Turbulence Models for Engineering
Applications, AIAA Journal, vol. 32, no. 8, 1994.
16. F.R. Menter, M. Kuntz, and R. Langtry, Ten Years of Industrial Experience with the
SST Turbulence Model, Turbulence Heat and Mass Transfer, vol. 4, 2003.
17. M. Vzquez, M. Ravachol, F. Chalot, and M. Mallet, The Robustness Issue on
Multigrid Schemes Applied to the Navier-Stokes Equations for Laminar and Turbulent,
Incompressible and Compressible Flows, Int. J.for Numerical Methods in Fluids, vol.
45, pp. 555579, 2004.
18. T. Cebeci, Analysis of Turbulent Flows, 2nd ed., Elsevier, Amsterdam, 2004.
19. J. Nikuradse, Strmungsgesetze in rauhen Rohren, Forschg. Arb. Ing.-Wes., no.
361, 1933.
20. D. Agonafer, L. Gan-Li and D.B. Spalding, LVEL turbulence model for conjugate
heat transfer at low Reynolds numbers, EEP 6, ASME International Mechanical
Congress and Exposition, Atlanta, 1996.
21. L. Prandtl, ber die ausgebildete Turbulenz, ZAMM 5, 1925.
176 |
------ + ( v ) = 0
t
v
------ + ( v )v + 2 v =
t
[ pI + ] + F ------- r + ( r )
t
(3-109)
(3-110)
where v is the velocity vector in the rotating coordinate system, r is the position vector,
and is the angular velocity vector. The relation between v and the velocity vector in the
stationary coordinate system is
r
u = v + -----t
The Rotating Machinery, Fluid Flow interfaces solve Equation 3-109 and
Equation 3-110, but reformulated in terms of a non-rotating coordinate system; that is,
they solve for u. This is achieved by invoking the Arbitrary Lagrangian-Eulerian
Formulation (ALE) machinery. In rotating domains, x = x(, t) as prescribed in the
Rotating Domain features. The Navier-Stokes equations on rotating domains then read
x
- ---------- - + ( u ) = 0
T T
(3-111)
u x
------- ------- u + ( u )u = [ pI + ] + F
T T
(3-112)
177
The derivative operator T is the mesh time derivative of the density and appears in
the equation view as d(rmspf.rho,TIME). Analogously, u T is the mesh time
derivative of the velocity. The variable TIME replaces t as the variable for time.
The user input for a rotating domain prescribes the angular frequency, w. To calculate ,
the physics interfaces set up an ODE variable for the angular displacement . The equation
for is
d------= w
dt
(3-113)
, is defined as w times the normalized axis of rotation. In 2D, the axis of rotation is the
z direction while it in 3D is specified in the Rotating Domain features. If the model
contains several rotating domains, each domain has its own angular displacement ODE
variable.
In non-rotating domains, the ordinary Navier-Stokes equations are solved. The rotating
and fixed parts need to be coupled together by an identity pair, where a continuity
boundary condition is applied.
Boundary conditions in the rotating parts must be specified correctly. For example, walls
that rotate must be prescribed as rotating walls. Walls in rotating domains can also be
prescribed as non-rotating, but in that case, n , where n is the wall normal, must be
tangential to the wall.
Frozen Rotor
Equation 3-111 through Equation 3-113 must be solved using a Time Dependent study.
This can be computationally expensive. The Rotating Machinery, Fluid Flow interfaces
therefore support the so-called frozen rotor approach. The frozen rotor approach assumes
that the flow in the rotating domain, expressed in the rotating coordinate system, is fully
developed. Equation 3-109 then reduces to
( v ) = 0
and Equation 3-110 to
178 |
(3-114)
( v )v + 2 v =
[ pI + ] + F ( r )
(3-115)
Frozen rotor is both a study type and an equation form. When solving a rotating
machinery model using a Frozen Rotor study step, the Rotating Machinery, Fluid Flow
interfaces effectively solve Equation 3-115 and Equation 3-115 in a rotating domain,
but rotating domains do not rotate at all. Boundary conditions remain transformed as
if the domains were rotating, but the domains remain fixed, or frozen, in position. As in
the time-dependent case, the Rotating Machinery, Fluid Flow interfaces solve for the
velocity vector in the stationary coordinate system, u, rather than for v.
To make Equation 3-111 and Equation 3-112 equivalent to Equation 3-114 and
Equation 3-115, the Frozen Rotor study step defines a parameter TIME, which by default
is set to zero (TIME appears in the Parameters node under Global Definitions).
Equation 3-113 is replaced by
= wTIME
Since TIME is a parameter and x is a function of TIME, x T evaluates to its correct value.
Finally, T = 0 and the mesh time derivative of the velocity is replaced by
u
------- = u
T
In non-rotating domains, the ordinary, stationary Navier-Stokes equations are solved. The
Frozen Rotor study step invokes a stationary solver to solve the resulting equation system.
The frozen rotor approach can in special cases give the same solution as solving
Equation 3-111 through Equation 3-113 to steady state. This is the case if, for example,
the whole geometry is rotating, or if the model is invariant with respect to the position of
the rotating domain relative to the non-rotating domain. The latter is the case for a fan
placed in the middle of a straight, cylindrical duct.
In most cases, however, there is no steady state solution to the rotating machinery
problem. Only a pseudo-steady state where the solution varies periodically around some
average solution. In these cases, the frozen rotor approach gives an approximate solution
to the pseudo-steady state. The approximation depends on the position in which the rotor
is frozen, and the method cannot capture transient effects (see Ref. 3 and Ref. 4). An
estimate of the effect of the rotor position can be obtained by making a parametric sweep
over TIME.
179
The frozen rotor approach is very useful for attaining initial values for time-dependent
simulations. Starting from a frozen rotor solution, the pseudo-steady state can be reached
within a few revolutions, while staring from u=0 can require tens of revolutions. See, for
example, Ref. 5.
Only interfaces that explicitly support frozen rotors are included in a Frozen Rotor study
step.
180 |
1a
1b
2a
Figure 3-11: The modeling procedure in the Rotating Machinery, Fluid Flow interface.
References
1. H.P. Greenspan, The Theory of Rotating Fluids, Breukelen Press, 1990.
2. G.K. Batchelor, An Introduction to Fluid Dynamics, Cambridge University Press,
2000.
3. CFD Online, Best practice guidelines for turbomachinery CFD,
http://www.cfd-online.com/Wiki/Best_practice_guidelines_for_turbomachinery_CFD.
4. A. Brucato, M. Ciofalo, F. Grisafi, and G. Micale, Numerical Prediction of Flow Fields
in Baffled Stirred Vessels: A Comparison of Alternative Modelling Approaches, Chemical
Engineering Science, vol. 53, no. 21, pp. 36533684, 1998.
5. J.-P. Torr, D.F. Fletcher, T. Lasuye, and C. Xuereb, Single and Multiphase CFD
Approaches for Modelling Partially Baffled Stirred Vessels: Comparison of Experimental
Data with Numerical Predictions, Chemical Engineering Science, vol. 62, no. 22, pp.
62466262, 2007.
181
182 |
183
184 |
C H A P T E R 4 : H E A T TR A N S F E R A N D N O N - I S O T H E R M A L F L O W I N T E R F A C E S
H E A T TR A N S F E R I N S O L I D S O R F L U I D S , A N D J O U L E H E A T I N G
M O D E L I N G H E A T TR A N S F E R I N T H E C F D M O D U L E
185
Theory for the Heat Transfer Module in the Heat Transfer Module
Users Guide
The Joule Heating Interface in the COMSOL Multiphysics Reference
Manual
A variety of modeling techniques are discussed in the following sections of the Heat
Transfer Module Users Guide:
Heat Transfer Variables
Using the Boundary Conditions for the Heat Transfer Interfaces
Handling Frames in Heat Transfer
Heat Transfer and Fluid Flow Coupling
Solver Settings
186 |
C H A P T E R 4 : H E A T TR A N S F E R A N D N O N - I S O T H E R M A L F L O W I N T E R F A C E S
Also see The Heat Transfer Module Interfaces and Theory for the Heat Transfer
Module.
M O D E L I N G H E A T TR A N S F E R I N T H E C F D M O D U L E
187
188 |
C H A P T E R 4 : H E A T TR A N S F E R A N D N O N - I S O T H E R M A L F L O W I N T E R F A C E S
interfaces (laminar or turbulent flow) and Heat Transfer are added to the Model
Builder.
In addition, the Multiphysics node is added, which automatically includes the
multiphysics coupling feature Non-Isothermal Flow.
T H E N O N - I S O T H E R M A L F L O W A N D C O N J U G A T E H E A T TR A N S F E R , L A M I N A R F L O W A N D TU R B U L E N T F L O W I N T E R F A C E S
190 |
C H A P T E R 4 : H E A T TR A N S F E R A N D N O N - I S O T H E R M A L F L O W I N T E R F A C E S
none
Non-Isothermal Flow
Coupling Features
The Non-Isothermal Flow and Flow Coupling multiphysics coupling nodes are
described in this section. See Temperature Coupling in the COMSOL Multiphysics
Reference Manual.
Use the online help in COMSOL Multiphysics to locate and search all the
documentation. All these links also work directly in COMSOL
Multiphysics when using the Help system.
T H E N O N - I S O T H E R M A L F L O W A N D C O N J U G A T E H E A T TR A N S F E R , L A M I N A R F L O W A N D TU R B U L E N T F L O W I N T E R F A C E S
H E A T TR A N S F E R I N F L U I D S ( N O N - I S O T H E R M A L F L OW )
The available physics features for The Heat Transfer in Fluids Interface are listed in the
section Feature Nodes for the Heat Transfer in Fluids Interface in the Heat Transfer
Module Users Guide.
H E A T TR A N S F E R I N S O L I D S ( C O N J U G A T E H E A T TR A N S F E R )
The available physics features for The Heat Transfer in Solids Interface are listed in the
section Feature Nodes for the Heat Transfer in Solids Interface in the Heat Transfer
Module Users Guide.
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.
TU R B U L E N T F L O W, A L G E B R A I C Y P L U S
The available physics features for The Turbulent Flow, Algebraic yPlus Interface are
listed in the section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow.
TU R B U L E N T F L O W, L - V E L
The available physics features for The Turbulent Flow, L-VEL Interface are listed in
the section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow.
T U R B U L E N T F L O W , k-
The available physics features for The Turbulent Flow, k-e Interface are listed in the
section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow.
T U R B U L E N T F L O W , k-
The available physics features for The Turbulent Flow, k-w Interface are listed in the
section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow.
TU R B U L E N T F L O W, S S T
The available physics features for The Turbulent Flow, SST Interface are listed in the
section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow.
T U R B U L E N T F L O W , L O W R E k-
The available physics features for The Turbulent Flow, Low Re k-e Interface are listed
in the section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow.
192 |
C H A P T E R 4 : H E A T TR A N S F E R A N D N O N - I S O T H E R M A L F L O W I N T E R F A C E S
TU R B U L E N T F L O W, S P A L A R T - A L L M A R A S
The available physics features for The Turbulent Flow, Spalart-Allmaras Interface are
listed in the section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow.
Non-Isothermal Flow
Use the Non-Isothermal Flow (
) multiphysics coupling to simulate fluid flows where
the fluid properties depend on temperature. Models can also include heat transfer in
solids or in porous media as well as surface-to-surface radiation and radiation in
participating media, with the Heat Transfer Module. The physics interface supports
low Mach numbers (typically less than 0.3).
The Non-Isothermal Flow, Laminar Flow interface solves for conservation of energy,
mass and momentum in fluids and porous media and for conservation of energy in
solids. It synchronizes the features from the Heat Transfer and Fluid Flow interfaces
when a turbulent flow regime is defined. It also complements the Screen and Interior
Fan feature from the flow interface to account for thermal effects. The physics interface
can be used for stationary and time-dependent analysis.
When the Non-Isothermal Flow is used, there is no need to add Flow
Coupling or Temperature Coupling. Indeed, Non-Isothermal Flow combines
the effects of both of them. In addition it also accounts for the
multiphysics stabilization terms and for the heat transfer changes in the
turbulent regime (for example, thermal wall functions).
T H E N O N - I S O T H E R M A L F L O W A N D C O N J U G A T E H E A T TR A N S F E R , L A M I N A R F L O W A N D TU R B U L E N T F L O W I N T E R F A C E S
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 nitf1.
DOMAIN SELECTION
When nodes are added from the context menu, you can select Manual (the default)
from the Selection list to choose specific domains to define the non-isothermal flow, or
select All domains as needed.
MATERIAL PROPERTIES
Select an option from the Specify density listFrom heat transfer interface (the default),
From fluid flow interface, or Custom.
For Custom, linearized density, enter the Reference density ref (SI unit: kg/m3) and the
Coefficient of thermal expansion p(SI unit:1/K), or select From material, or select a
variable in the list if available. When Custom, linearized density is selected, regardless
how the properties are defined they should be constant. If material properties are not
constant you should consider using any of the other options to define the density.
For Custom, enter a Density (SI unit: kg/m3), or select a density in the list if available.
The density definition in the Non-Isothermal Flow node ensure that the same definition
of the density is used on the fluid flow and heat transfer interfaces. When the fluid flow
compressibility setting is set to Incompressible then the thermal conductivity and the
heat capacity are evaluated at the Reference temperature defined in the fluid flow
interface. When Include gravity is selected and the Compressibility is set to
Incompressible flow in the fluid interface properties, the gravity forces are defined using
the coefficient of thermal expansion. Along with the fact that the material properties
are evaluated for a constant temperature and pressure, this gravity force definition
corresponds to Boussinesq approximation. Unless the density is defined as Custom,
linearized density the coefficient of thermal expansion is evaluated from the fluid
density.
H E A T TU R B U L E N C E P R O P E R T Y
Select an option from the Heat transport turbulence model listKays-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).
194 |
C H A P T E R 4 : H E A T TR A N S F E R A N D N O N - I S O T H E R M A L F L O W I N T E R F A C E S
When the flow interface uses a RANS turbulence model, the conductive heat flux is
defined as
q = ( k + k T ) T
with
T Cp
k T = -------------Pr T
where T is defined by the flow interface, and PrT depends on the Heat transport
turbulence model. See Turbulent Conductivity for details.
FLOW HEATING
Select the Include work done by pressure changes check box to account for the heat
source due to pressure changes:
p
Q p = p ------ + u p
t
By default this option is not selected, however it should be selected for compressible
fluids as soon as significant pressure gradients occur.
Select the Include viscous dissipation check box to account for the heat source
corresponding to viscous heating. This option is not selected by default. Because it may
induce an extra computational cost it should be only selected in application where such
effect is expected. If no information on this is available, selecting the option ensure that
energy balance for the heat and the flow equation is respected.
NON-ISOTHERMAL FLOW
This section defines the physics involved in the multiphysics coupling. The Fluid flow
and Heat transfer 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
(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.
T H E N O N - I S O T H E R M A L F L O W A N D C O N J U G A T E H E A T TR A N S F E R , L A M I N A R F L O W A N D TU R B U L E N T F L O W I N T E R F A C E S
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 Heat Transfer in
Fluids is deleted, then the Heat transfer list defaults to None as there is nothing to couple
to.
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 Heat transfer lists. This is applicable
to all multiphysics coupling nodes that would normally default to the
once present interface. See Multiphysics Modeling Approaches in the
COMSOL Multiphysics Reference Manual.
Flow Coupling
The Flow Coupling multiphysics coupling (
) defines u and p variables in order to set
the model inputs in the Heat Transfer interface (or when applicable, a chemical species
transport interface). In addition it provides all the fluids quantities that may be needed
by the Heat Transfer interface (for example, viscosity, turbulence parameters, and so
on).
SETTINGS
This section defines the physics involved in the multiphysics coupling. By default, the
applicable physics interface is selected in the Source list to apply the Destination to its
physics interface to establish the coupling.
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 Heat Transfer in
196 |
C H A P T E R 4 : H E A T TR A N S F E R A N D N O N - I S O T H E R M A L F L O W I N T E R F A C E S
Solids is deleted, then the Destination list defaults to None as there is nothing to couple
to.
If a physics interface is deleted and then added to the model again, and in
order to re-establish the coupling, you need to choose the physics
interface again from the lists. This is applicable to all multiphysics
coupling nodes that would normally default to the once present physics
interface. See Multiphysics Modeling Approaches in the COMSOL
Multiphysics Reference Manual.
Marangoni Effect
The Marangoni Effect multiphysics coupling (
) accounts for Marangoni convection.
Marangoni convection occurs when the surface tension of an interface (generally
liquid-air) depends on the concentration of a species or on the temperature
distribution. In the case of temperature dependence, the Marangoni effect is also called
thermo-capillary convection. It is of primary importance in the fields of welding,
crystal growth, and electron beam melting of metals.
The Marangoni effect is a shear stress which depends on the tangential temperature
gradient and should be implemented as such. It has the following contribution
described by forces induced on the fluid/fluid interface:
T
2
pI + ( u + ( u ) ) --- ( u )I n = t T
3
where is the temperature derivative of the surface tension (N/(mK)). Note that
this formulation is intended for laminar flow regimes only.
SETTINGS
T H E N O N - I S O T H E R M A L F L O W A N D C O N J U G A T E H E A T TR A N S F E R , L A M I N A R F L O W A N D TU R B U L E N T F L O W I N T E R F A C E S
S U R F A C E TE N S I O N
This section defines the physics involved in the multiphysics coupling. The Fluid flow
and Heat transfer 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
(Mac and Linux users), or context menu (all users), then the first physics interface
of each type in the component is selected as the default.
If it is added automatically when a multiphysics interface is chosen in the Model
Wizard or Add Physics window, then the two participating physics interfaces are
selected.
You can also select None from either list to uncouple the node from a physics interface.
If the physics interface is removed from the Model Builder, for example Heat Transfer in
Fluids is deleted, then the Heat transfer list defaults to None as there is nothing to couple
to.
If a physics interface is deleted and then added to the model again, then
in order to re-establish the coupling, you need to choose the physics
interface again from the Fluid flow or Heat transfer lists. This is applicable
to all multiphysics coupling nodes that would normally default to the
once present interface. See Multiphysics Modeling Approaches in the
COMSOL Multiphysics Reference Manual.
198 |
C H A P T E R 4 : H E A T TR A N S F E R A N D N O N - I S O T H E R M A L F L O W I N T E R F A C E S
T he o r y f o r t he N on - Isot h ermal Fl ow
and Conjugate Heat Transfer
Interfaces
In this section:
The Non-Isothermal Flow and Conjugate Heat Transfer Equations
Turbulent Non-Isothermal Flow Theory
Theory for the Non-Isothermal Screen Boundary Condition
Theory for the Interior Fan Boundary Condition
References for the Non-Isothermal Flow and Conjugate Heat Transfer Interfaces
------ + ( u ) = 0
t
2
u
------- + u u = p + ( u + ( u ) T ) --- ( u )I + F
3
t
(4-1)
where
is the density (SI unit: kg/m3)
u is the velocity vector (SI unit: m/s)
p is the pressure (SI unit: Pa)
T H E O R Y F O R T H E N O N - I S O T H E R M A L F L O W A N D C O N J U G A T E H E A T TR A N S F E R I N T E R F A C E S
199
T p t
where in addition to the quantities above
Cp is the specific heat capacity at constant pressure (SI unit: J/(kgK))
T is the absolute temperature (SI unit: K)
q is the heat flux by conduction (SI unit: W/m2)
is the viscous stress tensor (SI unit: Pa)
S is the strain-rate tensor (SI unit: 1/s)
1
S = --- ( u + ( u ) T )
2
Q contains heat sources other than viscous heating (SI unit: W/m3)
The work done by pressure changes term
p
1
p T ------ + u p with p = --- ------ t
.
p
200 |
C H A P T E R 4 : H E A T TR A N S F E R A N D N O N - I S O T H E R M A L F L O W I N T E R F A C E S
where Qted is the thermoelastic damping heat source (SI unit: W/(m3)). This term is
not included by default but must be added by selecting corresponding check-box.
Turbulent Non-Isothermal Flow Theory
References for the Non-Isothermal Flow and Conjugate Heat Transfer
Interfaces
T
T = ------
where the bar denotes the usual Reynolds average. The full field is then decomposed as
T = T + T''
With this notation the equation for total internal energy, e, becomes
u i u i u i''u i'' u i u i u i''u i''
----- ---------- + ------------------- + ------- u j h + ----------- + u j ------------------- =
e+
t
2
2 x j
2
2
(4-2)
-
----- q j u j''h'' + ij u i'' --------------------------- + ------- ( u i ( ij u i''u j'' ) )
x j
x j
2
where h is the enthalpy. The vector
T
q j = ------x j
(4-3)
T H E O R Y F O R T H E N O N - I S O T H E R M A L F L O W A N D C O N J U G A T E H E A T TR A N S F E R I N T E R F A C E S
201
The modeling assumptions are in large part analogous to those for incompressible
turbulence modeling. The stress tensor
u i''u'' j
is modeled using the Boussinesq approximation:
1 u k 2
u i''u'' j = T ij = 2 T S ij --- --------- ij --- k ij
3 x k 3
(4-4)
(4-5)
The correlation between u j'' and h'' in Equation 4-2 is the turbulent transport of
heat. It is modeled analogously to the laminar conductive heat flux
T C p T
T
u j''h'' = q T j = T ------- = -------------- ------x j
Pr T x j
(4-6)
(4-7)
Inserting Equation 4-3, Equation 4-4, Equation 4-5, Equation 4-6 and Equation 4-7
into Equation 4-2 gives
202 |
C H A P T E R 4 : H E A T TR A N S F E R A N D N O N - I S O T H E R M A L F L O W I N T E R F A C E S
u i u i
----- u i u i
2
x j
2
t
(4-8)
T k
x j
k x j x j i ij
The Favre average can also be applied to the momentum equation, which, using
Equation 4-4, can be written
-----
p
( u i ) + ------- ( u j u i ) = ------- + ------- ( ij + T ij )
x j
t
x j x j
(4-9)
Taking the inner product between u i and Equation 4-9 results in an equation for the
resolved kinetic energy, which can be subtracted from Equation 4-8 with the following
result:
u j
----
( ( e + k ) ) + ------- ( u j ( e + k ) ) = p -------- +
x j
x j
t
T k
-
----- q q T j + + ------ ------- + ------- ( u i ( ij + T ij ) )
x j j
k x j
x j
(4-10)
-----
(4-11)
T H E O R Y F O R T H E N O N - I S O T H E R M A L F L O W A N D C O N J U G A T E H E A T TR A N S F E R I N T E R F A C E S
203
ij ij''
for all applications of engineering interest, it follows that
ij ij
and consequently
Tot
----- ( e ) + ------- ( u j e ) = p --------j + ------- ( + T ) ------- + ------- ( u i ij
)
x j x j
x j
x j x j
t
(4-12)
where
2 u k
Tot
ij
= ( + T ) 2S ij --- --------- ij
3 x k
Equation 4-12 is completely analogous to the laminar energy equation and can be
expanded using the same theory (see for example Ref. 3):
T
p
T p
T
C p ------- + u j ------- = ------- ( + T ) ------- + ij S ij ---- ------- ------ + u j -------
xj
x
T
j
j
j
p
which is the temperature equation solved in the turbulent Non-Isothermal Flow and
Conjugate Heat Transfer interfaces.
TU R B U L E N T C O N D U C T I V I T Y
Kays-Crawford
This is a relatively exact model for PrT, while still quite simple. In Ref. 4, it is compared
to other models for PrT and found to be a good approximation for most kinds of
turbulent wall bounded flows except for turbulent flow of liquid metals. The model is
given by
Cp T 2
1
0.3 C p T
Pr T = ----------------- + ------------------ -------------- 0.3 -------------- ( 1 e ( 0.3C p T
Pr T
2Pr T
1
(4-13)
Pr T ) )
where the Prandtl number at infinity is PrT = 0.85 and is the conductivity.
204 |
C H A P T E R 4 : H E A T TR A N S F E R A N D N O N - I S O T H E R M A L F L O W I N T E R F A C E S
Extended Kays-Crawford
Weigand and others (Ref. 5) suggested an extension of Equation 4-13 to liquid metals
by introducing
100
Pr T = 0.85 + ------------------------------0.888
C p Re
where Re, the Reynolds number at infinity must be provided either as a constant or
as a function of the flow field. This is entered in the Model Inputs section of the Fluid
feature.
TE M P E R A T U R E WA L L F U N C T I O N S
Analogous to the single-phase flow wall functions (see Wall Functions described for the
Wall boundary condition), there is a theoretical gap between the solid wall and the
computational domain for the fluid and temperature fields. This gap is often ignored
when the computational geometry is drawn.
The heat flux between the fluid with temperature Tf and a wall with temperature Tw, is:
C p C 1 / 4 k 1 / 2 ( T w T f )
q wf = ---------------------------------------------------------T+
where is the fluid density, Cp is the fluid heat capacity, C is a turbulence modeling
constant, and k is the turbulent kinetic energy. T+ is the dimensionless temperature
and is given by (Ref. 6):
+ < +
for w
w1
+
Pr w
15Pr 2 / 3 500
----------
T+ =
+2
+ + < +
for w1
w
w2
Pr
+ +
--------T- ln w
+ +
for w2
w
where in turn
T H E O R Y F O R T H E N O N - I S O T H E R M A L F L O W A N D C O N J U G A T E H E A T TR A N S F E R I N T E R F A C E S
205
w C 1 / 2 k
+ = -----------------------------w
+ = 10 10 ------- w2
Pr T
10 + = ----------- w1
Pr 1 / 3
Cp
Pr = ---------
Pr T
2
Pr T
is the thermal conductivity, and is the von Karman constant equal to 0.41.
The computational results should be checked so that the distance between the
computational fluid domain and the wall, w, is everywhere small compared to any
geometrical quantity of interest. The distance w is available for evaluation on
boundaries.
(4-14)
206 |
C H A P T E R 4 : H E A T TR A N S F E R A N D N O N - I S O T H E R M A L F L O W I N T E R F A C E S
( down ( u nCp T ) ) dS
T avg =
----------------------------------------------------------------------------------------
max , ( down ( u nC p T ) ) dS
If the direction is opposite to normal vector, the outlet temperature is T_avg where
T_avg is:
( up ( u nCp T ) ) dS
T avg = -------------------------------------------------------------------------------
max , ( up ( u nC p T ) ) dS
T H E O R Y F O R T H E N O N - I S O T H E R M A L F L O W A N D C O N J U G A T E H E A T TR A N S F E R I N T E R F A C E S
207
208 |
C H A P T E R 4 : H E A T TR A N S F E R A N D N O N - I S O T H E R M A L F L O W I N T E R F A C E S
).
In this chapter:
The High Mach Number Flow Interfaces
Theory for the High Mach Number Flow Interfaces
209
NAME
TURBULENCE
MODEL TYPE
TURBULENCE
MODEL
HEAT
TRANSPORT
TURBULENCE
MODEL
hmnf
None
N/A
N/A
hmnf
RANS
k-
Kays-Crawford
hmnf
RANS
Spalart-Allmaras
Kays-Crawford
Most of the other physics nodes share the same setting options as
described in this section and in Domain, Boundary, Edge, Point, and Pair
Nodes for the High Mach Number Flow Laminar and Turbulent
Interfaces. See also The Heat Transfer in Solids Interface in the Heat
Transfer Module Users Guide for details about the Heat Transfer in
Solids physics node.
210 |
The physics interface solves for conservation of energy, mass and momentum. The
interface also supports heat transfer in solids as well as surface-to-surface radiation.
This physics interface is a predefined multiphysics coupling consisting of a Laminar
Flow interface, applied to compressible flow, in combination with a Heat Transfer
interface.
When this physics interface is added, the following default nodes are also added in the
Model BuilderFluid, Wall, Thermal Insulation, and Initial Values. Then, from the Physics
toolbar, add other nodes that implement, for example, boundary conditions, volume
forces, and heat sources. You can also right-click the node to select physics features
from the context menu.
SETTINGS
211
This section requires an additional Heat Transfer Module license and displays when the
Surface-to-surface radiation check box is selected. See the Heat Transfer Module Users
Guide for details.
Select the Surface-to-surface radiation check box to enable the Radiation Settings
section.
RADIATION SETTINGS
This section requires an additional Heat Transfer Module license and displays when the
Surface-to-surface radiation check box is selected. See the Heat Transfer Module Users
Guide for details.
DEPENDENT VARIABLES
The dependent variables (field variables) are the Velocity field u (SI unit: m/s), the
Pressure p (SI unit: Pa), and the Temperature T (SI unit: K). The names can be changed
but the names of fields and dependent variables must be unique within a component.
ADVANCED SETTINGS
212 |
By default the Enable conversions between material and spatial frames check box is
selected.
Domain, Boundary, Edge, Point, and Pair Nodes for the High Mach
Number Flow Laminar and Turbulent Interfaces
The Heat Transfer Module Interfaces
The High Mach Number Flow, k-e Interface
The High Mach Number Flow, Spalart-Allmaras Interface
The physics interface solves for conservation of energy, mass, and momentum.
Turbulence effects are modeled using the standard two-equation k- model with
realizability constraints. Flow and heat transfer close to walls are modeled using wall
functions. The physics interface also supports heat transfer in solids as well as
surface-to-surface radiation.
This is a predefined multiphysics coupling consisting of a Turbulent Flow k- interface,
applied to compressible flow, in combination with a heat transfer interface. As shown
in Table 5-1, the turbulent versions of the physics interfaces differ by where they are
selected when adding a physics interface and the default turbulence model selected
k- for this physics interface.
When this physics interface is added, the following default nodes are also added in the
Model BuilderFluid, Wall, Thermal Insulation, and Initial Values. Then, from the Physics
toolbar, add other nodes that implement, for example, boundary conditions, volume
forces, and heat sources. You can also right-click the node to select physics features
from the context menu.
SETTINGS
213
The default Name (for the first physics interface in the model) is hmnf.
PHYSICAL MODEL
The default Turbulence model type is RANS, the default Turbulence model is k-, and the
default Heat transport turbulence model is Kays-Crawford. Alternatively, select
User-defined turbulent Prandtl number. The turbulent Prandtl number model describes
the influence of the turbulent fluctuations on the temperature field. It is always
possible to have a user-defined model for the turbulence Prandtl number. Enter the
user-defined value or expression for the turbulence Prandtl number in the Model Inputs
section of the Fluid feature node.
TU R B U L E N C E M O D E L P A R A M E T E R S
Edit the model parameters of the k- model as needed. Turbulence model parameters
are optimized to fit as many flow types as possible, but for some special cases, better
performance can be obtained by tuning the model parameters. For a description of the
turbulence model and the included model parameters see Theory for the Turbulent
Flow Interfaces.
DEPENDENT VARIABLES
The dependent variables (field variables) are the Velocity field u (SI unit: m/s), the
Pressure p (SI unit: Pa), and the Temperature T (SI unit: K). For turbulence modeling
and heat radiation, the Turbulent kinetic energy k (SI unit: m2/s2) and Turbulent
dissipation rate ep (SI unit: m2/s3) variables are also available.
The names can be changed but the names of fields and dependent variables must be
unique within a model.
The Heat Transfer Module Interfaces in the H
Domain, Boundary, Edge, Point, and Pair Nodes for the High Mach
Number Flow Laminar and Turbulent Interfaces
The High Mach Number Flow, Laminar Interface
The High Mach Number Flow, Spalart-Allmaras Interface
214 |
The default Turbulence model type is RANS, the default Turbulence model is
Spalart-Allmaras., and the default Heat transport turbulence model is Kays-Crawford.
Alternatively, select User-defined turbulent Prandtl number. The turbulent Prandtl
number model describes the influence of the turbulent fluctuations on the temperature
field. It is always possible to have a user-defined model for the turbulence Prandtl
number. Enter the user-defined value or expression for the turbulence Prandtl number
in the Model Inputs section of the Fluid feature node.
DEPENDENT VA RIA BLES
The dependent variables (field variables) are the Velocity field u (SI unit: m/s), the
Pressure p (SI unit: Pa), and the Temperature T (SI unit: K). For turbulence modeling
215
and heat radiation, the Reciprocal wall distance G (SI unit: 1/m) and Undamped
turbulent kinematic viscosity nutilde (SI unit: m2/s) variables are also available.
Domain, Boundary, Edge, Point, and Pair Nodes for the High Mach
Number Flow Laminar and Turbulent Interfaces
The High Mach Number Flow Interfaces has these domain, boundary, edge, point,
and pair nodes available from the Physics ribbon toolbar (Windows users), Physics
context menu (Mac or Linux users), or right-click to access the context menu (all
users).
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.
The following nodes are slightly different from those in the other physics interfaces and
are described in this section (listed in alphabetical order):
Fluid
Inlet
Initial Values
Outlet
Symmetry
The following nodes (listed in alphabetical order) are described for the Laminar Flow
interface:
216 |
Heat Flux
Diffuse Surface
Heat Source
Temperature
Solid
Thermal Insulation
Thin Layer
Periodic Condition
In the COMSOL Multiphysics Reference Manual see Table 2-3 for links
to common sections and Table 2-4 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.
Initial Values
The Initial Values node adds initial values for the velocity field, the pressure and the
temperature that can serve as initial conditions for a transient simulation or as an initial
guess for a nonlinear solver. For turbulent flow there are also initial values for the
turbulence model variables. The surface radiosity is only applicable for
surface-to-surface radiation.
IN IT IA L VA LUES
Enter values or expressions for the initial value of the Velocity field u (SI unit: m/s),
the Pressure p (SI unit: Pa), and the Temperature T (SI unit: K). The default values are
0 m/s for the velocity, 1 atm for the pressure, and 293.15 K for the temperature.
217
In a turbulent flow interface, initial values for the turbulence variables are also
specified. By default these are specified using the predefined variables defined by the
expressions described in Theory for the High Mach Number Flow Interfaces under
Initial Values.
Fluid
The Fluid node adds the continuity, momentum and temperature equations for an ideal
gas but omits volume forces and heat sources. Volume forces and heat sources can be
added as separate physics features. Viscous heating and pressure work terms are added
by default to the temperature equation.
When the turbulence model type is set to RANS, the Fluid node also adds the equations
for k and , or the undamped turbulent kinematic viscosity, depending on the
turbulence model used.
The thermal conductivity describes the relationship between the heat flux vector q and
the temperature gradient T as in q = kT, which is Fouriers law of heat
conduction. Enter this quantity as power per length and temperature.
HEAT CONDUCTION
Select a Thermal conductivity k (SI unit: W/(mK)) from the listSutherlands Law (the
default), From material, or User defined. For User defined select Isotropic, Diagonal,
Symmetric, or Anisotropic based on the characteristics of the thermal conductivity and
enter another value or expression in the field or matrix.
Sutherlands Law
For Sutherlands Law enter the following model parameters:
Conductivity at reference temperature kref (SI unit: W/(mK))
Reference temperature Tk,ref (SI unit: K)
Sutherland constant Sk (SI unit: K)
Sutherlands law describes the relationship between the thermal conductivity and the
total temperature of an ideal fluid according to
T 3 / 2 T k, ref + S k
k = k ref -------------- --------------------------T + Sk
T k, ref
218 |
THERMODYNAMICS
The High Mach Number Flow interface is applicable for ideal gases. Specify the
thermodynamics properties by selecting a gas constant type and selecting between
entering the heat capacity at constant pressure or the ratio of specific heats. For an ideal
gas the density is defined as
pA
Mn pA
= ---------------- = ----------RT
Rs T
where pA is the absolute pressure, and T is the temperature.
Select a Gas constant typeSpecific gas constant Rs (SI unit: J/(kgK)) or Mean molar
mass Mn (SI unit: kg/mol). The default setting is to use the property value From
material. For User defined enter another value or expression for either material
property. For Mean molar mass the universal gas constant R = 8.314 J/(molK),
which is a built-in physical constant, is also used.
From the Specify Cp or list, select Heat capacity at constant pressure Cp
(SI unit: J/(kgK)) or Ratio of specific heats (dimensionless). The default setting is
to use the property value From material. For User defined enter another value or
expression for either material property.
DYNAMIC VISCOSITY
The dynamic viscosity describes the relationship between the shear rate and the shear
stresses in a fluid.
Select a Dynamic viscosity (SI unit: Pas) from the listSutherlands Law (the default),
From material, or User defined.
Sutherlands Law
For Sutherlands Law enter the following model parameters:
Dynamic viscosity at reference temperature ref (SI unit: Pas)
Reference temperature T,ref (SI unit: K)
Sutherland constant S (SI unit: K)
Sutherlands law describes the relationship between the dynamic viscosity and the total
temperature of an ideal fluid according to
T 3 / 2 T , ref + S
= ref -------------- -------------------------- T , ref
T + S
219
(5-1)
where lbb is the shortest side of the geometry bounding box. If the geometry is a
complicated system of very slender entities, for example, Equation 5-1 tends to give
lim manually.
a result that is too large. In such cases, define l mix
lim (SI unit: m).
For Manual enter a value or expression for the Mixing length limit l mix
DISTANCE EQUATION
This section is available for Turbulent Flow, Spalart-Allmaras since a Wall Distance
interface is then included.
Select how the Reference length scale lref (SI unit: m) is definedAutomatic (default)
or Manual:
For Automatic the wall distance is automatically evaluated to one tenth of the
shortest side of the geometry bounding box. This is usually quite accurate but it can
sometimes give a too high value if the geometry consists of several slim entities. In
such cases, define the reference length scale manually.
For Manual it defines a different value or expression for the length scale. The default
is 1 m.
lref controls the result of the distance equation. Objects that are much smaller than lref
are effectively be diminished while the distance to objects much larger than lref are
accurately represented.
Inlet
The Inlet node includes a set of boundary conditions describing the fluid flow and
temperature conditions at an inlet. The applied conditions are controlled by the Flow
Condition.
FLOW CONDITION
220 |
For Characteristics based the current flow situation is analyzed using the inviscid flow
characteristics at the inlet. This can be used to specify either a subsonic (Ma < 1) inlet
or a supersonic inlet (Ma > 1).
For Supersonic the inlet flow is assumed to be supersonic.
FLOW PROPER TIES
Specify the flow properties at the inlet in terms of the static or total pressure, static or
total temperature, Mach number, and flow direction. By default Static input variables
are used.
Select an Input stateStatic (the default) or Total. For either selection also enter values
or expressions for the Mach number Ma0 (dimensionless) at the inlet. The default is 1.5.
For Static enter values or expressions for the Static pressure p0,stat (SI unit: Pa) and
Static temperature T0,stat (SI unit: K).
For Total enter values or expressions for the Total pressure p0,tot (SI unit: Pa) and
Total temperature T0,tot (SI unit: K).
The relationships between the static and total states are:
-----------
p tot
1
2 1
--------- = 1 + ----------Ma
p stat
2
(5-2)
T tot
2
1
---------- = 1 + ----------- Ma
2
T stat
Select a Flow directionNormal inflow (the default) or User defined to specify an
arbitrary flow direction. Then enter the components of the direction normal nM
(dimensionless).
TU R B U L E N C E P RO P E R T I E S
221
3
2
k = --- ( U I T ) ,
2
3 4 k3 / 2
= C
----------LT
For Specify turbulence variables enter values or expressions for the Turbulent kinetic
energy k0 (SI unit: m2/s2) and Turbulent dissipation rate, 0 (SI unit: m2/s3).
For The High Mach Number Flow, Spalart-Allmaras Interface, enter a
value or expression for the Undamped turbulent kinematic viscosity 0 (SI
unit: m2/s).
Outlet
The Outlet node includes a set of boundary conditions describing fluid flow and
temperature conditions at an outlet. The applied conditions are controlled by the Flow
Condition.
FLOW CONDITION
This section displays when the Hybrid or Subsonic flow condition is selected.
Hybrid
For Hybrid an outlet pressure is specified. This pressure is enforced at the outlet when
the flow is subsonic. Select an Input stateStatic (the default) or Total. The relation
222 |
Subsonic
For Subsonic select the Boundary conditionNormal Stress (the default) or Pressure.
Then enter a value or expression for the Normal stress f0 (SI unit: N/m2) or Pressure
p0 (SI unit: Pa). The defaults are 1 atm for both.
Symmetry
The Symmetry boundary condition prescribes no heat flux, no penetration and
vanishing shear stresses. The boundary condition is a combination of Dirichlet
conditions and a Neumann condition.
q n = 0,
u n = 0,
pI + ( u + ( u ) T ) 2
--- ( u )I n = 0
223
(5-3)
u
------- + ( u )u = [ pI + ] + F
t
(5-4)
T p
T
C p ------- + ( u )T = ( q ) + :S ---- ------- ------ + ( u )p + Q
t
T p t
(5-5)
where
is the density (SI unit: kg/m3)
u is the velocity vector (SI unit: m/s)
p is the pressure (SI unit: Pa)
is the viscous stress tensor (SI unit: Pa)
224 |
225
Sutherlands Law
Sutherlands law, or Sutherlands formula, is an approximation for how the viscosity of
gases depends on the temperature. This law is based on an idealized
intermolecular-force potential and reads (Ref. 5)
T 3 / 2 T0 + S
----= ------ ------------------- T 0
T + S
0
(5-6)
where S is an effective temperature called the Sutherland constant. Each gas has its
own Sutherland constant. Equation 5-6 is strictly valid only for single-component
gases at low pressure. It does, however, work well for air because air is mainly
composed of nitrogen and oxygen, which have very similar properties. Parameter
values for some common gases are given in Table 5-2 (Ref. 5).
TABLE 5-2: SUTHERLANDS LAW PARAMETERS FOR DYNAMIC VISCOSITY
GAS
T0
1.71610-5
Air
273
111
2.12510
-5
273
114
1.37010
-5
273
222
CO
1.65710
-5
273
136
N2
1.66310-5
273
107
O2
1.91910
-5
273
139
8.41110
-5
273
97
350
1064
Argon
C02
H2
Steam
1.1210
-5
The SI unit for 0 in Table 5-2 is Ns/m2. The SI unit for T0 and S is Kelvin (K).
Sutherlands law can also be formulated for thermal conductivity (Ref. 5):
kT 3 / 2 T0 + Sk
----= ------ ------------------ T 0
T + Sk
k0
226 |
(5-7)
Values for k0, T0 and Sk for some common gases are given in Table 5-3(Ref. 5).
TABLE 5-3: SUTHERLANDS LAW PARAMETERS FOR THERMAL CONDUCTIVITY
GAS
K0
T0
S,k
Air
0.0241
273 K
194
Argon
0.0163
273
170
C02
0.0146
273
1800
CO
0.0232
273
180
N2
0.0242
273
150
O2
0.0244
273
240
H2
0.168
273
120
Steam
0.0181
300
2200
The unit for k0 in Table 5-3 is W/(mK). The unit for T0 and Sk is Kelvin (K).
On inlets a plane wave analysis of the inviscid part of the flow is used in order to apply
a consistent number of boundary conditions. The method used here is described in
Ref. 3.
Inviscid flow is governed by Eulers equations, which, provided that the solution is
smooth and neglecting the gravity terms, can be written as
Q F j Q
+ --------- -------- = 0
Q x j
t
Considering a small region close to a boundary, the Jacobian matrices can be regarded
as constant, which leads to a system of linear equations
Q F
j Q
+ --------- -------- = 0
t Q 0 x j
227
where the subscript 0 denotes a reference state at the boundary. Assuming that the
state at the boundary, described by a surface normal vector i (pointing out from the
domain), is perturbed by a plane wave, the linear system of equations can be
transformed to
Q
Q
+ A 0 ------- = 0
t
where
F j
A 0 = j ---------
Q 0
and corresponds to the direction normal to the boundary. In the unsteady case,
Eulers equations are known to be hyperbolic in all flow regimes: subsonic, sonic, and
supersonic flow (Ref. 4). This implies that A0 has real-valued eigenvalues and
corresponding eigenvectors, and it can therefore be diagonalized according to
TA 0 T
= ,
ii = { 1, 2, 3, 4, 5 }
The matrix T contains the (left) eigenvectors, and the matrix is a diagonal matrix
containing the eigenvalues. The eigenvalues are given exactly by
1 = i ui
2 = 1
3 = 1
4 = 1 + cs
5 = 1 cs
where cs is the speed of sound. Using the primitive variables
u
Q = v
w
p
The characteristic variables on the boundary are
228 |
p
w 1 = ---------------2A
( cs )
1 v 2 u
w 2 = ------------------------------------1 1 + 2 2
1 u + 2 v
1
w 3 = --------------- ( w 1 1 + 2 2 ) 3 -------------------------------------
i i
1 1 + 2 2
(5-8)
A
1 i ui
p
w 4 = --- -------A- --------------- + ---------------2-
2c
i i ( c A )
s
s
A
1 i ui
p
w 5 = --- -------A- --------------- + ---------------2-
2 c
i i ( c A )
s
s
229
b = w1 + w4 + w5
A
1
cs
2 w2
3 w3
- ( w 4 w 5 )
u 1, b = ------------------------------------- --------------- ------------------------------------- ------A
1 1 + 2 2
i i 1 1 + 2 2
u 2, b
2
cs
1 w2
3 w3
- ( w 4 w 5 )
= ------------------------------------- --------------- ------------------------------------- ------A
1 1 + 2 2
i i 1 1 + 2 2
(5-9)
cs
1
- ( w 4 w 5 )
u 3, b = --------------- w 3 1 1 + 2 2 + 3 ------A
i i
A 2
pb = ( cs ) ( w4 + w5 )
(5-10)
from which the density is computed using the ideal gas law. The dependent variables
defined in Equation 5-10 are applied as the outside values used in Equation 5-8, and
the boundary values of the dependent variables are obtained from Equation 5-9.
Supersonic Inlets
Applying a supersonic inlet, the full flow at the inlet is specified using the inlet
properties in Equation 5-10. Because the flow is supersonic, all characteristic at the
inlet are known to be directed into the domain, and the boundary values of the
dependent variables are computed directly from the inlet properties.
Hybrid Outlet
When building a model, it is recommended that it is constructed so that as little as
possible happens at the outlet. In the high Mach number flow case this implies keeping
the conditions either subsonic or supersonic at the outlet. This is, however, usually not
possible. For example, often one boundary adjacent to the outlet consists of a no slip
wall, in which case a boundary layer containing a subsonic region is present. The
hybrid outlet feature adds the following weak expression:
230 |
0.5 ( p p )n u
out
W NS =
( p )n u
Ma < 1
else
where is the test function for the velocity vector. This corresponds to a pressure, no
viscous stress condition in regions with subsonic flow and a no viscous stress condition
in regions with supersonic flow. When the static pressure at the outlet is not known
beforehand, it is recommended that it is set to the inlet pressure. When a converged
solution has been reached, the solution can be analyzed to find the pressure level just
outside the sonic point (Ma = 1) along the boundary. You can then apply this pressure
level instead.
Supersonic Outlet
When the outlet condition is known to be fully supersonic, the viscous stress is
specified in accordance with the equations and hence no physical condition is applied.
This is done by prescribing the boundary stress using the full stress vector:
T
2
W NS = pI + ( u + ( u ) ) --- ( u )I ( n u )
3
It is often possible to use the supersonic condition at outlets that are not strictly
supersonic but mainly supersonic (the main part of the outlet boundary contains
supersonic flow).
231
1+
if ( niterCMP > 10, 1.2 min ( niterCMP 10, 12 ), 0 ) +
if ( niterCMP > 120, 1.3 min ( niterCMP 120, 9 ), 0 ) +
if ( niterCMP > 220, 1.3 min ( niterCMP 220, 9 ), 0 )
232 |
). The section Modeling Multiphase Flow helps you choose the best
physics interface to start with.
In this chapter:
The Two-Phase Flow, Level Set and Phase Field Interfaces
The Three-Phase Flow, Phase Field Interface
The Bubbly Flow Interfaces
The Mixture Model Interfaces
The Euler-Euler Model Interfaces
Theory for the Two-Phase Flow Interfaces
Theory for the Three-Phase Flow Interface
Theory for the Bubbly Flow Interfaces
Theory for the Mixture Model Interfaces
Theory for the Euler-Euler Model Interfaces
233
234 |
bubbles, including how the fluid interface deforms due to, for instance, surface tension,
use any of the Two-Phase Flow interfaces.
To model the detailed dynamics of fluid interfaces, either use the level set method or the
phase field method. In general, it is not obvious which one of these to use when the flow
is convection-dominating. However when the flow is diffusion-dominating, for example,
phase-separation, only phase field should be used.
Three-phase flow can be simulated using the Laminar Three-Phase Flow, Phase Field
interface.
NAME
LOW GAS
CONCENTRATION
TURBULENT
MODEL TYPE
SOLVE FOR
INTERFACIAL AREA
bf
Yes
None
No
bf
Yes
RANS, k-
No
235
induced by the slip velocity. The slip velocity can be described by the
Hadamard-Rybczynski drag law for small spherical bubbles, a nonlinear drag law taking
surface tension into account for larger bubbles, or by defining it on your own.
By default, the physics interfaces assume that the volume fraction of the gas is less than 0.1.
It is then valid to approximate the liquid velocity as incompressible. This is significantly
easier to solve numerically. It is possible, though, to use the complete continuity equation.
The physics interfaces also allow you to define your own relations for the density of both
phases and for the dynamic viscosity of the gas phase. Definitions of non-Newtonian fluid
flow through the power law and Carreau models are however not possible. You can also
model mass transfer between the two phases, using the two-film theory or your own
expression for interfacial mass transfer.
MIXTURE MODEL INTERFACES
TABLE 6-2: MIXTURE MODEL PHYSICAL MODEL DEFAULT SETTINGS
PHYSICS INTERFACE
LABEL
NAME
DISPERSED
PHASE
SLIP MODEL
TURBULENCE
MODEL TYPE
SOLVE FOR
INTERFACIAL
AREA
Mixture Model,
Laminar Flow
mm
Solid
particles
Homogeneous
flow
None
No
Mixture Model,
Turbulent Flow
mm
Solid
particles
Homogeneous
flow
RANS, k-
No
236 |
You can also describe other material properties such as density by entering equations that
describe this term as a function of other parameters like material concentration, pressure,
or temperature. The physics interfaces also enable you to model mass transfer between the
two phases, using the two-film theory or your own expression for interfacial mass transfer.
EULER-EULER MODEL INTERFACES
TABLE 6-3: EULER-EULER MODEL PHYSICAL MODEL DEFAULT SETTINGS
PHYSICS INTERFACE LABEL
NAME
DIPERSED
PHASE
DRAG MODEL
TURBULENCE
MODEL TYPE
Euler-Euler Model,
Laminar Flow
ee
Solid
particles
Schiller-Naumann
None
Euler-Euler Model,
Turbulent Flow
ee
Solid
particles
Schiller-Naumann
RANS, k-
237
TW O - P H A S E F L O W A N D T H R E E - P H A S E F L O W I N T E R F A C E S
TABLE 6-4: TWO-PHASE FLOW AND THREE-PHASE FLOW PHYSICAL MODEL DEFAULT SETTINGS
PHYSICS
INTERFACE LABEL
NAME
MULTIPHASE
FLOW MODEL
COMPRESSIBILITY
TURBULENCE
MODEL TYPE
NEGLECT
INERTIAL
TERM
(STOKES
FLOW)
Laminar,
Two-Phase Flow,
Level Set
Two-phase flow,
level set
Incompressible
flow
None
False
Turbulent,
Two-Phase Flow,
Level Set
Two-phase flow,
level set
Incompressible
flow
RANS, k-
False
Laminar,
Two-Phase Flow,
Phase Field
Two-phase flow,
phase field
Incompressible
flow
None
False
Turbulent,
Two-Phase Flow,
Phase Field
Two-phase flow,
phase field
Incompressible
flow
RANS, k-
False
Laminar
Three-Phase
Flow, Phase Field
Three-phase
flow, phase field
Incompressible
flow
None
RANS, k-
RANS, k-
False
238 |
between the physics interfaces, which can be useful if you are not sure which physics
interface provides the best description. Library surface tension coefficients between a
number of common substances are also available.
Like for other Fluid Flow interfaces, compressible flow is possible to model for speeds less
than Mach 0.3 in the Two-Phase Flow, Phase Field interfaces. You can also model
incompressible flow and simplify the equations to be solved. Stokes flow is also an option.
Specify the density and viscosity for each of the two fluids. For any of the two fluids, you
can easily use non-Newtonian models based on the power law or Carreau model, or by
using an arbitrary user-defined expression.
239
240 |
When adding the Laminar Two-Phase Flow, Level Set multiphysics interface, a Laminar Flow
and a Level Set interface are added to the Model Builder. In addition the Multiphysics node,
a multiphysics coupling feature Two-Phase Flow, Level Set is added automatically. Another
multiphysics coupling feature Wetted Wall can be added when needed.
Simulations using the Laminar Two-Phase Flow, Level Set interface are always
time-dependent since the position of an interface is almost always dependent of its history.
INTERFACE PROPERTIES
Turbulence Model
By default the Turbulence model type selected is None. If RANS is selected, the property
Turbulence model will be activated, and allow to select k- or k- turbulent model.
(6-1)
When Multiphysics coupling option is set to None, the form of the continuity equation
follows the definitions in Theory for the Single-Phase Flow Interfaces.
Theory for the Two-Phase Flow Interfaces
Theory for the Single-Phase Flow Interfaces
T H E TW O - P H A S E F L O W , L E V E L S E T A N D P H A S E F I E L D I N T E R F A C E S
241
a multiphysics coupling feature Two-Phase Flow, Level Set is added automatically. Another
multiphysics coupling feature Wetted Wall can be added when needed.
Simulations using the Turbulent Two-Phase Flow, Level Set interface are always
time-dependent since the position of an interface is almost always dependent of its history.
INTERFACE PROPERTIES
Turbulence Model
By default the Turbulence model type selected is RANS. The property Turbulence model will
be activated, and allow to select k- or k- turbulent model. If None is selected for
Turbulence model type, it becomes a laminar model.
(6-2)
When Multiphysics coupling option is set to None, the form of the continuity equation
follows the definitions in Theory for the Single-Phase Flow Interfaces.
Theory for the Two-Phase Flow Interfaces
Theory for the Single-Phase Flow Interfaces
242 |
SETTINGS
When nodes are added from the context menu, you can select All domains (the default) or
select Manual from the Selection list to choose specific domains.
FLUID PROPERTIES
Use the corresponding section to specify the properties of the two fluids. The fluids are
denoted Fluid 1 and Fluid 2 respectively.
To specify the properties of Fluid 1from a material, select the appropriate material in the
Fluid 1 list. Also make sure that the Density of fluid 11 and Dynamic viscosity of fluid 11
are both set to From Material.
The non-Newtonian power-law and Carreau models can alternatively be used to specify
the dynamic viscosities of the two fluids.
To instead apply a variable or expression for the density or dynamic viscosity for Fluid A,
select User defined in the Density of fluid 1 1 or the Dynamic viscosity of fluid 1 1 drop
down list and enter the expression in the corresponding edit field.
Similarly, the properties of Fluid 2 can be specified.
Care should be taken when using the Domain Material setting for the
material properties for Fluid 1 and Fluid 2.
The material properties are obtained from the domain irrespective of the location of the
interface. If two different materials are selected in domains 1 and 2, with the phase
boundary initially coincident with the domain boundary, the model has convergence issues
once the phase boundary moves away from the domain boundary. This is because a density
discontinuity and a viscosity discontinuity occurs at the boundary separating the two
T H E TW O - P H A S E F L O W , L E V E L S E T A N D P H A S E F I E L D I N T E R F A C E S
243
fluids. For this reason selecting the material directly is recommended when setting the
material properties for Fluid 1 and Fluid 2.
S U R F A C E TE N S I O N
Select the Neglect surface tension in momentum equation check box to neglect surface
tension.
Select a Surface tension coefficient (SI unit: N/m):
To use a predefined expression, select Library coefficient, liquid/gas interface or Library
coefficient, liquid/liquid interface. Then select an option from the list that displays below
(for example, Water/Air, Glycerol/Air and so forth).
For User defined enter a value or expression for the surface tension coefficient (SI unit:
N/m).
COUPLED INTERFACES
This section controls which individual interfaces are coupled by the current coupling
feature. If a physics interface is deleted and then added to the model again, then in order
to reestablish the coupling, you need to choose the correct physics interface again from
the Fluid flow or Moving interfaces lists.
F fr = --- u
where is the slip length. For numerical calculations it is suitable to set = h, where h is
the mesh element size. The boundary condition does not set the tangential velocity
component to zero; however, the extrapolated tangential velocity component is 0 at a
distance outside the wall (see Figure 6-1).
244 |
Finally, the boundary condition adds the following weak boundary term:
The boundary term results from the partial integration of the surface tension force in the
momentum equation. Define the contact angle w (that is, the angle between the fluid
interface and the wall). Figure 6-1 illustrates the definition of the contact angle.
Fluid 1
Wall
Wall
Fluid 2
Figure 6-1: Definition of the contact angle at interface/wall contact points (left) and an
illustration of the slip length (right).
SETTINGS
When nodes are added from the context menu, you can select All domains (the default) or
select Manual from the Selection list to choose specific domains.
WETTED WALL
Here define the following two properties for the wetted wall:
Enter a value or expression for the Contact angle w. The default is pi/2 (/2) rad.
Enter a value or expression for the Slip length (SI unit: m). The default is h, which is
the variable for the local mesh element size h.
Theory for the Two-Phase Flow Interfaces
T H E TW O - P H A S E F L O W , L E V E L S E T A N D P H A S E F I E L D I N T E R F A C E S
245
Simulations using the Laminar Two-Phase Flow, Phase Field interface are always
time-dependent since the position of an interface is almost always dependent of its history.
INTERFACE PROPERTIES
Turbulence Model
By default the Turbulence model type selected is None. If RANS is selected, the property
Turbulence model will be activated, and allow to select k- or k- turbulent model.
246 |
(6-3)
When Multiphysics coupling option is set to None, the form of the continuity equation
follows the definitions in Theory for the Single-Phase Flow Interfaces
Theory for the Two-Phase Flow Interfaces
Wetted Wall
Simulations using the Laminar Two-Phase Flow, Phase Field interface are always
time-dependent since the position of an interface is almost always dependent of its history.
INTERFACE PROPERTIES
Turbulence Model
By default the Turbulence model type selected is RANS. The property Turbulence model
allows the user to select k- or k- turbulent model If RANS is selected. When None is
selected for Turbulence model type, it will become a laminar model.
T H E TW O - P H A S E F L O W , L E V E L S E T A N D P H A S E F I E L D I N T E R F A C E S
247
Phase Field interface, a Multiphysics coupling option is automatically set to Phase Field. In
this case the following form of the continuity equation, appropriate for high density
difference mixtures is used
u = 0
(6-4)
When Multiphysics coupling option is set to None, the form of the continuity equation
follows the definitions in Theory for the Single-Phase Flow Interfaces
Theory for the Two-Phase Flow Interfaces
When nodes are added from the context menu, you can select All domains (the default) or
select Manual from the Selection list to choose specific domains.
248 |
FLUID PROPERTIES
Use the corresponding section to specify the properties of the two fluids. The fluids are
denoted Fluid 1 and Fluid 2 respectively.
To specify the properties of Fluid 1from a material, select the appropriate material in the
Fluid 1 list. Also make sure that the Density of fluid 11 and Dynamic viscosity of fluid 11
are both set to From Material.
The non-Newtonian power-law and Carreau models can alternatively be used to specify
the dynamic viscosities of the two fluids.
To instead apply a variable or expression for the density or dynamic viscosity for Fluid A,
select User defined in the Density of fluid 1 1 or the Dynamic viscosity of fluid 1 1 drop
down list and enter the expression in the corresponding edit field.
Similarly, the properties of Fluid 2 can be specified.
Care should be taken when using the Domain Material setting for the
material properties for Fluid 1 and Fluid 2.
The material properties are obtained from the domain irrespective of the location of the
interface. If two different materials are selected in domains 1 and 2, with the phase
boundary initially coincident with the domain boundary, the model has convergence issues
once the phase boundary moves away from the domain boundary. This is because a density
discontinuity and a viscosity discontinuity occurs at the boundary separating the two
fluids. For this reason selecting the material directly is recommended when setting the
material properties for Fluid 1 and Fluid 2.
The fluid defined as Fluid 1 affects the wetting characteristics on wetted walls. See the
Wetted Wall node for details.
S U R F A C E TE N S I O N
Select the Neglect surface tension in momentum equation check box to neglect surface
tension.
T H E TW O - P H A S E F L O W , L E V E L S E T A N D P H A S E F I E L D I N T E R F A C E S
249
This section controls which individual interfaces are coupled by the current coupling
feature. If a physics interface is deleted and then added to the model again, then in order
to reestablish the coupling, you need to choose the correct physics interface again from
the Fluid flow or Moving interfaces lists.
Domain, Boundary, Point, and Pair Nodes for the Laminar and
Turbulent Flow, Two-Phase, Level Set and Phase Field Interfaces
The Two-Phase Flow, Level Set and Phase Field Interfaces are multiphysics interfaces
combining Laminar Flow or Turbulent Flow interfaces together with Level Set or Phase
Field interfaces.
LAMINAR FLOW
The available physics features for the Laminar Flow interface are listed in Domain,
Boundary, Pair, and Point Nodes for Single-Phase Flow
TU R B U L E N T L OW
The available physics features for The Turbulent Flow Interface are also listed in Domain,
Boundary, Pair, and Point Nodes for Single-Phase Flow.
LEVEL SET
The available physics features for the Level Set Interface are listed in Domain, Boundary,
and Pair Nodes for the Level Set Interface.
250 |
PHASE FIELD
The available physics features for the Phase Field Interface are listed in Domain, Boundary,
and Pair Nodes for the Phase Field Interface.
All domain, boundary, point, and pair nodes are 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).
T H E TW O - P H A S E F L O W , L E V E L S E T A N D P H A S E F I E L D I N T E R F A C E S
251
252 |
INTERFACE PROPERTIES
Turbulence Model
Since the Three-Phase Flow, Phase Field interface assumes laminar flow, the Turbulence
Model property in the Laminar Flow interface is deactivated when the interface is added
as a part of a multiphysics interface.
(6-5)
When Multiphysics coupling option is set to None, the form of the continuity equation
follows the definitions in Theory for the Single-Phase Flow Interfaces.
T H E T H RE E - P H AS E F L OW, P H AS E F I E L D I N T E R F A C E
253
The default Name (for the first multiphysics coupling feature in the model) is tfpf1.
DOMAIN SELECTION
When nodes are added from the context menu, you can select Manual (the default) from
the Selection list to choose specific domains to define the three-phase flow, or select All
domains as needed.
FLUID PROPERTIES
Use the corresponding section to specify the properties of all three fluids. The fluids are
denoted Fluid A, Fluid B, and Fluid C respectively.
To specify the properties of Fluid A from a material, select the appropriate material in the
Fluid A list. Also make sure that the Density of fluid A A and Dynamic viscosity of fluid A A
are both set to From Material.
The non-Newtonian power-law and Carreau models can alternatively be used to specify
the dynamic viscosities of the three fluids.
To instead apply a variable or expression for the density or dynamic viscosity for Fluid A,
select User defined in the Density of fluid A A or the Dynamic viscosity of fluid A A drop
down list and enter the expression in the corresponding edit field.
COUPLED INTERFACES
This section controls which individual interfaces are coupled by the current coupling
feature. If a physics interface is deleted and then added to the model again, then in order
to reestablish the coupling, you need to choose the correct physics interface again from
the Fluid flow or Moving interfaces lists.
Theory for the Two-Phase Flow Interfaces
Domain, Boundary, Point, and Pair Nodes for the Laminar Three-Phase
Flow, Phase Field Interface
The Three-Phase Flow, Phase Field Interface is a multiphysics interface combining The
Laminar Flow Interface and the The Ternary Phase Field Interface.
254 |
LAMINAR FLOW
The available physics features for The Laminar Flow Interface are listed in Domain,
Boundary, Pair, and Point Nodes for Single-Phase Flow
TE R N A R Y P H A S E - F I E L D
The available physics features for The Ternary Phase Field Interface are listed in Domain,
Boundary, and Pair Nodes for the Ternary Phase Field Interface.
All domain, boundary, point, and pair nodes are 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).
T H E T H RE E - P H AS E F L OW, P H AS E F I E L D I N T E R F A C E
255
256 |
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 bf.
PHYSICAL MODEL
Specify if the gas concentration is low and whether or not to solve for the interfacial area.
Swirl Flow
For 2D axisymmetric models, select the Swirl flow check box to include the swirl velocity
componentthat is, the velocity component u in the azimuthal direction. While u can
be nonzero, there can be no gradients in the direction. Also see General Single-Phase
Flow Theory (2D Axisymmetric Formulations).
D EPENDE N T VAR IA BL ES
The dependent variables (field variables) are the Velocity field, liquid phase u (SI unit:
m/s), the Pressure p (SI unit: Pa), the Effective gas density rhogeff (SI unit: kg/m3), and
the Number density, gas phase nd (SI unit: 1/m3). The names can be changed but the
names of fields and dependent variables must be unique within a component.
257
258 |
equation for the effective gas density. Turbulence effects are modeled using the standard
two-equation k- model with realizability constraints and bubble-induced turbulence
production. Flow close to walls is modeled using wall functions.
The physics interface can also model the distribution of the number density (that is, the
number of bubbles per unit volume), which in turn can be used to calculate the interfacial
area, useful when simulating chemical reactions in the mixture.
The main physics node is the Fluid Properties feature, which adds the equations for
turbulent bubbly flow and provides an interface for defining the fluid materials for the
liquid and the gas and the slip velocity model to use.
When this physics interface is added, the following default physics nodes are also added in
the Model BuilderTurbulent Bubbly Flow, Fluid Properties, Wall (the default boundary types
are Wall functions for the liquid and No gas flux for the gas), and Initial Values.
Then, from the Physics toolbar, add other nodes that implement, for example, boundary
conditions and volume forces. You can also right-click Turbulent Bubbly Flow to select
physics features from the context menu.
Except where indicated below, the nodes settings for this physics interface are the same as
for The Laminar Bubbly Flow Interface.
PHYSICAL MODEL
Specify if the gas concentration is low and whether or not to solve for the interfacial area.
The dependent variables (field variables) are the Velocity field, liquid phase u (SI unit:
m/s), the Pressure p (SI unit: Pa), the Effective gas density rhogeff (SI unit: kg/m3), the
Turbulent dissipation rate ep (SI unit: m2/s3), the Turbulent kinetic energy k (SI unit:
m2/s2), and the Number density, gas phase nd (SI unit: 1/m3).
The names of variables can be changed but the names of fields and dependent variables
must be unique within a component.
259
P1+P1 is not permitted unless streamline diffusion is active for the momentum transport.
Pseudo Time Stepping for Laminar Flow Models in this guide and
Pseudo Time Stepping in the COMSOL Multiphysics Reference
Manual
Domain and Boundary Nodes for the Laminar and Turbulent Bubbly
Flow Interfaces
Theory for the Bubbly Flow Interfaces
Domain and Boundary Nodes for the Laminar and Turbulent Bubbly
Flow Interfaces
For both The Laminar Bubbly Flow Interface and The Turbulent Bubbly Flow Interface
these domain and boundary 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. Subnodes are available by clicking the
parent node and selecting it from the Attributes menu.
DOMAIN
Fluid Properties
Gravity
260 |
Initial Values
Mass Transfer
Volume Force (described for The Laminar Flow Interface)
BOUNDARY
The sections describe the available boundary conditions for the liquid and
the gas. In all equations, n denotes the outward pointing unit vector
normal to the boundary.
The boundary types for the liquid flow variables, described in this section, are:
Inlet
Outlet
Symmetry
Wall (the default boundary condition)
In addition to the boundary conditions for the liquid, the following boundary conditions
for the gas are available for all boundary condition types except symmetry:
Gas Concentration (the default condition for inlets)
Gas Flux
Gas Outlet (the default condition for outlets)
No Gas Flux (the default condition for walls)
Symmetry
261
Fluid Properties
The Fluid Properties node contains the material properties for the liquid and the gas. It also
contains settings for the slip model.
MATERIALS
Select the materials to use for the material properties of the liquid and the gas (when they
are set to take their value from the material). The default is to use the Domain material for
both the Liquid and the Gas. Select another material to use that materials properties for
the liquid or gas as needed.
LIQUID PROPERTIES
The default Density, liquid phase l (SI unit: kg/m3) uses values From material. For User
defined enter another value or expression.
The default Dynamic viscosity, liquid phase l (SI unit: Pas) uses values From material; the
value is then defined for the material selected in the Materials section for the continuous
phase. For User defined enter another value or expression.
The dynamic viscosity describes the relationship between the shear stresses and the shear
rate in a fluid. Intuitively, water and air have a low viscosity, and substances often described
as thick, such as oil, have a higher viscosity.
GAS PROPERTIES
The default Density, gas phase g (SI unit: kg/m3) uses values From material. For User
defined enter another value or expression.
Enter the Bubble diameter db (SI unit: m). The default value is 103 m (1 mm).
SLIP MODEL
Select a Slip modelHomogeneous flow (the default), Pressure-drag balance, or User defined.
Homogeneous flow assumes that the velocity of the two phases are equal; that is, uslip = 0.
For User defined enter different values or expressions for the components of the Slip velocity
uslip (SI unit: m/s).
For Pressure-drag balance it uses a model based on the assumption that the pressure forces
on a bubble are balanced by the drag force:
C
3
--- ------d- l u slip u slip = p
4 db
262 |
Here db (SI unit: m) is the bubble diameter, and Cd (dimensionless) is the drag coefficient.
Select a Drag coefficient model:
Small spherical bubbles (Hadamard-Rybczynski) for bubbles with a diameter smaller than
2 mm.
Large bubbles for gas bubbles with a diameter larger than 2 mm. Then enter the Surface
tension coefficient (SI unit N/m). The default is 0.07 N/m.
Air bubbles in tap water (Schwarz-Turner) for air bubbles of 110 mm mean diameter in
water.
User defined to enter a different value or expression for the Drag coefficient Cd
(dimensionless). The default value is 1.
Gravity
The Gravity node adds the force g to the right-hand side of the momentum transport
equation. Gravity nodes are mutually exclusive, that is, there can only be one active Gravity
node per domain.
GRAVITY
Enter the components of the Gravity vector, g (SI unit: m/s2). For 2D components the
default Gravity vector is defined as (0,-g_const). Here g_const is a physical constant equal
to 9.8066 m/s2. For 3D and 2D axisymmetric components, the gravity acts in the
negative z direction by default.
263
Mass Transfer
Add a Mass Transfer node to include mass transfer from the gas to the liquid.
M A S S TR A N S F E R
Select a Mass transfer modelTwo-film theory model or User defined. For User defined enter
a value or expression for the Mass transfer from gas to liquid mgl (SI unit: kg/(m3s)). The
default is 0 kg/(m3s).
For Two-film theory enter values for the Mass transfer coefficient k (SI unit: m/s), Henrys
constant H (SI unit: Pam3/mol), the Dissolved gas concentration c (SI unit: mol/m3), and
the Molecular weight of species M (SI unit: kg/mol). Refer to the theory below for more
information.
Henrys law gives the equilibrium concentration c* of gas dissolved in liquid:
p + p ref
c = ------------------H
where H is Henrys constant. The molar flux per interfacial area, N (SI unit: mol/(sm2)),
is determined by
N = k ( c c )
where k is the Mass transfer coefficient and c is the Dissolved gas concentration in liquid.
The mass transfer from gas to liquid, mgl, is given by
m gl = NMa
where M is the Molecular weight of species and a is the interfacial area per volume
(SI unit: m2/m3).
Also see Theory for the Bubbly Flow Interfaces for details about how a is
computed.
For two-film theory, you also need to solve for the concentration of the dissolved gas;
m gl
c
+ ( cu l ) = ( Dc ) + --------t
M
which can be done by adding a Transport of Diluted Species interface.
264 |
Initial Values
The Initial Values node adds initial values for the flow variables and the effective gas density
that can serve as initial conditions for a transient simulation or as an initial guess for a
nonlinear solver.
I N ITI AL VAL U ES
Enter initial values or expressions for the Velocity field. liquid phase u (SI unit: m/s) and
for the Pressure p (SI unit: Pa). The default values are 0. Also enter a value or expression
for the Effective gas density rhogeff (SI unit: kg/m3). The default is 0 kg/m3.
If the Solve for interfacial area check box is selected in The Laminar Bubbly Flow Interface
or The Turbulent Bubbly Flow Interface enter an initial value for the Number density, gas
phase nd (SI unit: 1/m3). The default is 0 1/m3.
For The Turbulent Bubbly Flow Interface also enter initial values for the Turbulent
dissipation rate ep (SI unit: m2/s3), and Turbulent kinetic energy k (SI unit: m2/s2).
Wall
The Wall node adds a selection of boundary conditions that describe the existence of a
solid wall. The Wall node by default specifies no gas flux for the gas phase.
No Slip
Sets the liquid velocity to zero at the wall:
ul = 0
This is the default boundary condition for the liquid.
Slip
Sets the velocity component normal to the wall to zero:
265
ul n = 0
Wall Functions
This boundary condition models a no slip condition for solid walls in a turbulent flow. Wall
functions are used to model the thin region with large gradients in the flow variables near
the wall.
Click to select the Apply wall roughness check box to apply the roughness correction. When
the check box is selected, the default Roughness model is Sand roughness, which is derived
from the experiments by Nikuradse. Select Generic roughness to specify more general
roughness types.
For Sand roughness enter an Equivalent sand roughness height kseq (SI unit: m). The
default is 3.2 micrometers.
For Generic roughness enter a Roughness height ks (SI unit: m). The default is
3.2 micrometers. Then enter a Roughness parameters Cs (dimensionless). The default is
0.26.
From the list, select a Gas boundary condition for the gas phase on the wallNo gas flux
(the default), Gas concentration, Gas outlet, Gas flux, or Symmetry.
Gas Concentration
For Gas concentration enter the Effective gas density g g0 (SI unit: kg/m3). The default
is 0 kg/m3.If Solve for interfacial area is selected, also select either the Bubble number
density (the default) or the Bubble diameter and gas density button.
For Bubble number density enter the Bubble number density n0 (SI unit: 1/m3). The
default is 1000 1/m3.
For Bubble diameter and gas density enter the Bubble diameter db (SI unit: m) (the
default is 1 mm) and Density, gas phase g (SI unit: kg/m3) (the default is 1 kg/m3).
Gas Flux
For Gas flux enter the Gas mass flux N g g (SI unit: kg/(m2s)) (the default is 0 kg/(m2s))
and if the Solve for interfacial area check box is selected on the physics interface, the Number
density flux Nn (SI unit: 1/(m2s)). The default is 0 (1/(m2s)).
266 |
Inlet
The Inlet node adds a selection of boundary conditions that describe inlets in fluid-flow
simulations.
Select a Liquid boundary conditionVelocity (the default), Pressure, or for The Laminar
Bubbly Flow Interface, Laminar inflow is also an option.
VE L O C I T Y
For Velocity click the Normal inflow velocity (the default) or Velocity field buttons.
For Normal inflow velocity enter a value or expression for U0 (SI unit: m/s).
For Velocity field specify that the velocity at the boundary is equal to a given u0 (SI unit:
m/s) and enter the components in the matrix:
ul = u0
PRESSURE
This condition specifies the normal stress which in most cases is approximately equal to the
pressure. Enter the Pressure p0 (SI unit: Pa) at the boundary. The default is 0 Pa. Enter a
relative pressure value in p0 (SI unit: Pa). Or if the reference pressure pref defined at the
physics interface level is equal to 0 Pa, enter an absolute pressure in p0.
The Suppress backflow check box is selected by default. This option adjusts the inlet
pressure, p 0 p 0 , locally in order to prevent fluid from exiting the domain through the
boundary. If suppress backflow is deselected, the inlet boundary can become an outlet
depending on the pressure field in the rest of the domain.
Flow direction controls in which direction the fluid enters the domain.
- For Normal flow (the default) it prescribes zero tangential velocity component.
- For User defined define an Inflow velocity direction, du (dimensionless). The
magnitude of du does not matter, only the direction. du must point into the domain.
LAMINAR INFLOW
This section is available for The Laminar Bubbly Flow Interface and when Laminar inflow
is selected as the Liquid boundary condition.
267
Select a Laminar inflow optionAverage velocity (the default), Flow rate, or Entrance
pressure.
For any selection, also choose the Constrain outer edges to zero check box to force the
laminar profile to go to zero at the bounding points or edges of the inlet channel.
Otherwise the velocity is defined by the boundary condition of the adjacent boundary in
the model. For example, if one end of a boundary with a laminar inflow condition connects
to a slip boundary condition, the laminar profile has a maximum at that end.
Then:
For Average velocity enter Uav (SI unit: m/s). Enter an Entrance length Lentr (SI
unit: m). The default is 1 m.
For Flow rate enter an Entrance length Lentr (SI unit: m, default 1 m), Entrance thickness
Dz (SI unit: m), and Flow rate V0 (SI unit: m3/s).
For Entrance pressure enter an Entrance pressure pentr (SI unit: Pa) and an Entrance
length Lentr (SI unit: m).
GAS BOUNDARY CONDITION
These settings are the same as for Wall. See Gas Boundary Condition. The only difference
is that Gas concentration is the default.
TU R B U L E N C E P R O P E R T I E S
This section is available for The Turbulent Bubbly Flow Interface so that the inlet
conditions for the turbulence variables (k and ) can be specified. Except for Equation 6-6,
of the settings information is the same as that described for single-phase flow.
The turbulent length scale LT and turbulence intensity IT are related to the turbulence
variables via
2
3
k = --- ( U I T ) ,
2
3 4 k3 / 2
= C
----------LT
(6-6)
Outlet
The Outlet node adds a set of boundary conditions that describe outlets in fluid-flow
simulations; that is, the conditions at boundaries where the fluid exits the domain.
LIQUID BOUNDARY CONDITION
Select a Liquid boundary conditionPressure (the default), Velocity, or for The Laminar
Bubbly Flow Interface, Laminar outflow is also an option.
268 |
PRESSURE CONDITIONS
The Pressure condition specifies the normal stress which in most cases is approximately
equal to the pressure. The tangential stress component is set to 0 N/m2.
Enter the Pressure p0 (SI unit: Pa) at the boundary. The default is 0 Pa. Enter a relative
pressure value in p0 (SI unit: Pa). Or if the reference pressure pref defined at the physics
interface level is equal to 0 Pa, enter an absolute pressure in p0.
Select the Normal flow check box to change the no tangential stress condition to a no
tangential velocity condition. This forces the flow to exit (or enter) the domain
perpendicularly to the outlet boundary.
The Suppress backflow check box is selected by default. This option adjusts the outlet
pressure in order to prevent fluid from entering the domain through the boundary.
VE L O C I T Y
For Velocity click the Velocity field (the default) or Normal outflow velocity buttons.
For Velocity field specify that the velocity at the boundary is equal to a given u0 (SI unit:
m/s) and enter the components in the matrix:
ul = u0
For Normal outflow velocity enter a value or expression for U0 (SI unit: m/s).
GAS BOUNDARY CONDITION
The settings for the Gas boundary condition are the same as for Wall. See Gas Boundary
Condition.
When the Gas boundary condition is set to Gas outlet, the Exterior gas condition(s) section
contains an input field for the Effective gas density on the downstream side of the outlet.
If Solve for interfacial area is selected at the physics interface level, additional input fields
appear for the Bubble number density or the Bubble diameter and gas density on the
downstream side of the outlet.
LAMINAR OUTFLOW
This section is available for The Laminar Bubbly Flow Interface when Laminar outflow is
selected as the Liquid boundary condition.
Select a Laminar outflow optionAverage velocity (the default), Flow rate, or Exit pressure.
For any selection, also choose the Constrain outer edges to zero check box to force the
laminar profile to go to zero at the bounding points or edges of the inlet channel.
269
Otherwise the velocity is defined by the boundary condition of the adjacent boundary in
the model.
For example, if one end of a boundary with a laminar inflow condition connects to a slip
boundary condition, then the laminar profile has a maximum at that end.
For Average velocity enter an Average velocity Uav (SI unit: m/s) the default is 0. Enter
an Exit length Lexit (SI unit: m). The default is 1 m.
For Flow rate enter an Exit length Lexit (SI unit: m). The default is 1 m. Enter a Flow
rate V0 (SI unit: m3/s).
For Entrance pressure enter an Exit length Lexit (SI unit: m). The default is 1 m. Enter
an Exit pressure pexit (SI unit: Pa).
Symmetry
The Symmetry node adds boundary conditions that describe symmetry boundaries in
fluid-flow simulations. The boundary condition for symmetry boundaries prescribes no
penetration and vanishing shear stresses:
u l n = 0,
T 2
t T l ( l + T ) u l + u l --- ( u l )I n = 0
BOUNDARY SELECTION
Gas Concentration
Using this boundary condition, specify the effective gas density.
0
g = g
270 |
Gas Outlet
This boundary condition is appropriate for boundaries where the gas phase flows outward
with the gas velocity, ug, at the boundary.
Gas Flux
Using this boundary condition, specify the gas mass flux through the boundary:
n ( g u g ) = N g g
Symmetry
This boundary condition, which is useful on boundaries that represent a symmetry line for
the gas flow, sets the gas flux through the boundary to zero:
n ( g u g ) = 0
No Gas Flux
This boundary condition represents boundaries where the gas flux through the boundary
is zero:
n ( d ud ) = 0
271
272 |
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 mm.
PHYSICAL MODEL
Specify the characteristics of the dispersed phase, the model for the slip velocity, and
whether or not to solve for the interfacial area.
Dispersed Phase
To characterize the Dispersed phase, select Solid particles (the default) or Liquid
droplets/bubbles.
The selection from this list is further defined for the Mixture Properties node under the
Mixture Model section.
Slip Model
To compute the slip velocity uslip (SI unit: m/s), select a Slip modelHomogeneous flow
(the default), Hadamard-Rybczynski, Schiller-Naumann, Haider-Levenspiel, or User defined.
The Homogeneous flow model assumes that the velocities of the two phases are equal,
that is, uslip = 0.
In most cases there is a significant difference in the velocity fields due to the buoyancy
of the dispersed phase. Use one of the predefined slip models for such cases.
For User defined specify an arbitrary expression for the relative velocity. For example,
give a constant velocity based on experimental data. For the Mixture Properties node
under the Mixture Model section, enter the Slip velocity field uslip (SI unit: m/s).
273
is known. Select the Solve for interfacial area check box to add the following equation for
the number density n:
n
+ ( nu d ) = 0
t
This equation states that a dispersed phase particle cannot disappear, appear, or merge with
other particles, although it can expand or shrink.
The Mixture Model, Laminar Flow Interface calculates the interfacial area a
(SI unit: m2/m3) from
a = ( 4n )
13
( 3 d )
23
Swirl Flow
For 2D axisymmetric components, select the Swirl flow check box to include the swirl
velocity componentthat is, the velocity component u in the azimuthal direction. While
u can be nonzero, there can be no gradients in the direction
D E P E N D E N T VA R I A BL E S
274 |
The consistent stabilizations Streamline diffusion and Crosswind diffusion are by default
applied to the Navier-Stokes and gas transport equations. In addition, when the flow is
turbulent, the consistent stabilizations are also applied to the Turbulence.
Isotropic shock capturing, O(h2) for the dispersed phase needs a scale for the volume
fraction of the dispersed phase. A suitable scale is the maximum value of the dispersed
phase volume fraction.
ADVANCED SETTINGS
Including this term has been observed to slow down convergence and it is therefore
disabled by default
Select the Use pseudo time stepping for stationary equation form check box to add pseudo
time derivatives to the equation when the Stationary equation form is used. When selected,
also choose a CFL number expressionAutomatic (the default) or Manual. Automatic sets the
local CFL number (from the CourantFriedrichsLewy condition) to the built-in variable
CFLCMP which in turn triggers a PID regulator for the CFL number. For Manual enter a
Local CFL number CFLloc (dimensionless).
Pseudo Time Stepping for Laminar Flow Models in this guide and
Pseudo Time Stepping in the COMSOL Multiphysics Reference
Manual
Domain and Boundary Nodes for the Mixture Model Laminar and
Turbulent Flow Interfaces
The Mixture Model, Turbulent Flow Interface
Slip Velocity Models and Theory for the Mixture Model Interfaces
275
flow at high Reynolds numbers of liquids containing a dispersed phase. The dispersed
phase can be bubbles, liquid droplets, or solid particles, which are assumed to always travel
with their terminal velocity.
The Mixture Model, Turbulent Flow interface solves one set of Navier-Stokes equations
for the momentum of the mixture. The pressure distribution is calculated from a mixture
averaged continuity equation and the velocity of the dispersed phase is described by a slip
model. The volume fraction of the dispersed phase is tracked by solving a transport
equation for the volume fraction. Turbulence effects are modeled using the standard
two-equation k- model with realizability constraints. Flow close to walls is modeled using
wall functions.
The physics interface can also model the distribution of the number density, which in turn
can be used to calculate the interfacial area, which is useful when simulating chemical
reactions in the mixture.
Except where indicated below, the settings for this physics interface are the same as for The
Mixture Model, Laminar Flow Interface.
PHYSICAL MODEL
Turbulence model parameters are optimized to fit as many flow types as possible, but for
some special cases, better performance can be obtained by tuning the model parameters.
For a description of the turbulence model and the included model parameters see Theory
for the Turbulent Flow Interfaces.
D E P E N D E N T VA R I A BL E S
276 |
The names can be changed but the names of fields and dependent variables must be unique
within a component.
Domain and Boundary Nodes for the Mixture Model Laminar and
Turbulent Flow Interfaces
Slip Velocity Models
Theory for the Mixture Model Interfaces
Domain and Boundary Nodes for the Mixture Model Laminar and
Turbulent Flow Interfaces
For both The Mixture Model, Laminar Flow Interface and The Mixture Model, Turbulent
Flow Interface the following domain and boundary 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. Subnodes are available by clicking the
parent node and selecting it from the Attributes menu.
DOMAIN
Gravity
Initial Values
Mass Transfer
Mixture Properties
Volume Force (described for The Laminar Flow Interface)
BOUNDARY
Boundary conditions for the mixture velocity, pressure and dispersed phase volume
fraction need to be specified. The following boundary condition types are available for The
Mixture Model, Laminar Flow Interface and The Mixture Model, Turbulent Flow
Interface:
Inlet
Outlet
277
Symmetry
Wall (the default boundary condition feature).
For the flow variables, the velocity and the pressure, the boundary conditions correspond
to those defined for single phase flow (see Domain, Boundary, Pair, and Point Nodes for
Single-Phase Flow). There is also a point constraint for the pressure, which is useful if no
other boundary condition in the model includes a pressure level constraint.
The following boundary conditions for the dispersed phase are available for all boundary
condition types except symmetry. These are described in more detail in the Theory for the
Mixture Model Interfaces.
Dispersed phase concentration (the default condition for inlets)
Dispersed phase flux
Dispersed phase outlet (the default condition for outlets)
No dispersed phase flux (the default condition for walls)
Symmetry
For 2D 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.
Mixture Properties
The Mixture Properties node contains the material properties for the continuous phase and
the dispersed phase. It also contains settings for the viscosity model.
MATERIALS
Select the fluid materials to use for the material properties. The default material used for
both Continuous phase and Dispersed phase is the Domain material. Select another material
(when available).
CONTINUOUS PHASE PROPERTIES
The default Density, continuous phase c (SI unit: kg/m3) uses values From material (as
selected in the Materials section). For User defined enter another value or expression. In this
case the default is 0 kg/m3.
278 |
The default Dynamic viscosity, continuous phase c (SI unit: Pas), uses values From material.
It describes the relationship between the shear stresses and the shear rate in a fluid.
Intuitively, water and air have a low viscosity, and substances often described as thick, such
as oil, have a higher viscosity. For User defined enter another value or expression. In this
case, the default is 0 Pas.
DISPERSED PHASE PROPERTIES
The default Density, dispersed phase d (SI unit: kg/m3) uses values From material (as
selected in the Materials section). For User defined enter another value or expression. In this
case, the default is 0 kg/m3.
Enter the Diameter of particles/droplets dd (SI unit: m). The default is 103 m (1 mm). If
Haider-Levenspiel is selected for the Slip model under Physical Model, enter a value between
0 and 1 for the Sphericity (dimensionless). The default is 1.
If Liquid droplets/bubbles is selected from the Dispersed phase list for either The Mixture
Model, Laminar Flow Interface or The Mixture Model, Turbulent Flow Interface, then
Dynamic viscosity, dispersed phase d (SI unit: Pas) is also available. The default uses values
From material (as selected in the Materials section) or select User defined to enter another
value or expression. In this case, the default is 0 Pas.
MIXTURE MODEL
The options in this section are based on the selection made from the Dispersed phase list
for either The Mixture Model, Laminar Flow Interface or The Mixture Model, Turbulent
Flow Interface.
279
User Defined
For User defined enter a value or expression for the Dynamic viscosity (SI unit: Pas). The
default is 0 Pas. When using this option, make sure to limit the viscosity to bounded
positive values.
Krieger Type
When Krieger type is selected, enter a value or expression for the Maximum packing
concentration max (dimensionless). The default is 0.62.
Select Krieger type to model the most generally valid expression for the mixture viscosity:
d 2,5 max
= c 1 ------------
max
where max is the maximum packing concentration, which for solid particles is
approximately 0.62. The dimensionless parameter * = 1 for solid particles and
d + 0,4 c
= --------------------------d + c
for droplets and bubbles. When applying the Krieger type viscosity model, d is replaced
by min(d, 0.999max) for better robustness.
Volume Averaged
Select Volume averaged to model the mixture viscosity of liquid-liquid mixtures, which uses
the following equation for the viscosity:
= d d + c c
The Mixture Model interfaces always employ the mixture viscosity in the particle Reynolds
number expression used to calculate the slip velocity, thereby accounting for the increase
in viscous drag due to particle-particle interactions.
MIXING LENGTH LIMIT
This section is available for The Mixture Model, Turbulent Flow Interface.
Select how the Mixing length limit lmix,lim (SI unit: m) is definedAutomatic (default) or
Manual:
For Automatic the mixing length limit is automatically evaluated as the shortest side of
the geometry bounding box. If the geometry is, for example, a complicated system of
280 |
slim entities, this measure can give a too high value. In such cases, it is recommended
that it is defined manually.
For Manual it defines a different value or expression. The default is 1 (that is, one unit
length of the model unit system).
Initial Values
The Initial Values node adds initial values for the mixture velocity, pressure, and volume
fraction of the dispersed phase, that can serve as an initial condition for a transient
simulation or as an initial guess for a nonlinear solver.
I N ITI AL VAL U ES
Wall
The Wall node has boundary conditions available that describe the existence of a solid wall.
281
Select a Mixture boundary conditionNo slip (laminar flow only), Slip, or Wall functions
(turbulent flow only).
Slip
Select Slip to set the velocity component normal to the wall to zero u n = 0 .
No Slip
No slip is the default boundary condition for The Mixture Model, Laminar Flow Interface
and prescribes u = 0, that is, the fluid at the wall is not moving.
Wall Functions
Wall functions is the default boundary condition for The Mixture Model, Turbulent Flow
Interface. It models a no slip condition for a solid wall in turbulent flow. Wall functions
are used to model the thin region with high gradients in the flow variables near the wall.
This boundary condition models a no slip condition for solid walls in a turbulent flow. Wall
functions are used to model the thin region with large gradients in the flow variables near
the wall.
Click to select the Apply wall roughness check box to apply the roughness correction. When
the check box is selected, the default Roughness model is Sand roughness, which is derived
from the experiments by Nikuradse. Select Generic roughness to specify more general
roughness types.
For Sand roughness enter an Equivalent sand roughness height kseq (SI unit: m). The
default is 3.2 m.
For Generic roughness enter a Roughness height ks (SI unit: m). The default is 3.2 m.
Enter a Roughness parameter Cs (dimensionless). The default is 0.26.
Select a Dispersed phase boundary conditionNo dispersed phase flux, Dispersed phase
concentration, Dispersed phase outlet, Dispersed phase flux, or Symmetry.
282 |
Mass Transfer
Use the Mass Transfer node to include mass transfer from the dispersed phase to the
continuous phase.
M A S S TR A N S F E R
Select a Mass transfer model User defined (the default) or Two-film theory. For User defined
enter a value or expression for the Mass transfer from dispersed to continuous phase mdc (SI
unit: kg/(m3s)). The default is 0 kg/(m3s).
Two-film Theory
For Two-film theory enter values or expressions for each of the following:
Mass transfer coefficient k (SI unit: m/s). The default is 0 m/s.
Species concentration in dispersed phase cd (SI unit: mol/m3). The default is 0 mol/m3.
Species concentration in continuous phase cc (SI unit: mol/m3). The default is
0 mol/m3.
Molecular weight of species M (SI unit: kg/mol). The default is 0 kg/mol.
The mass transfer is modeled as
m dc = k ( c d c c )Ma
where k denotes the mass transfer rate, and cd and cc are the species concentrations in the
dispersed and the continuous phase, respectively. M is the species molecular weight, and
a is the interfacial area per unit volume between the two phases.
283
Interfacial Area
When the Solve for interfacial area check box is selected for either The Mixture Model,
Laminar Flow Interface or The Turbulent Bubbly Flow Interface (under the Physical Model
section), it is also possible to compute the interfacial area per unit volume. When Solve for
interfacial area is selected, the following equation for the number density n of dispersed
particles is added:
n
+ ( nu d ) = 0
t
This equation states that a dispersed phase particle cannot disappear, appear, or merge with
other particles, although it can expand or shrink.
The Mixture Model interfaces calculate the interfacial area a (SI unit: m2/m3) from the
following equation:
a = ( 4n )
13
( 3 d )
23
Gravity
The Gravity node adds the force g to the right-hand side of the momentum transport
equation.
GRAVITY
Enter the components of the Gravity vector, g (SI unit: m/s2). The default value is
(0,-g_const) where g_const is a physical constant equal to 9.8066 m/s2.
For 2D components, gravity acts in the negative y direction by default.
For example, in a 2D component, the y component is -g_const and the
other component is 0. In this setting, g_const is a predefined physical
constant for the standard gravity (acceleration due to gravity at sea level).
284 |
Inlet
The Inlet node adds a set of boundary conditions that describe inlets in fluid-flow
simulations. Define the Velocity boundary condition (the default mixture boundary
condition for inlet boundaries) or the Pressure condition.
MIXTURE BOUNDARY CONDITION
Select a Mixture boundary condition for the inletVelocity (the default) or Pressure.
VE L O C I T Y
For Velocity click the Normal inflow velocity (the default) or Velocity field buttons.
For Normal inflow velocity enter a value or expression for U0 (SI unit: m/s).
For Velocity field specify that the velocity at the boundary is equal to a given u0 (SI unit:
m/s) and enter the components in the matrix:
u = u0
PRESSURE
This condition specifies the normal stress which in most cases is approximately equal to the
pressure. Enter the Pressure p0 (SI unit: Pa) at the boundary. The default is 0 Pa. Enter a
relative pressure value in p0 (SI unit: Pa). Or if the reference pressure pref defined at the
physics interface level is equal to 0 Pa, enter an absolute pressure in p0.
The Suppress backflow check box is selected by default. This option adjusts the inlet
pressure, p 0 p 0 , locally in order to prevent fluid from exiting the domain through the
boundary. If suppress backflow is deselected, the inlet boundary can become an outlet
depending on the pressure field in the rest of the domain.
Flow direction controls in which direction the fluid enters the domain.
- For Normal flow (the default) it prescribes zero tangential velocity component.
- For User defined define an Inflow velocity direction, du (dimensionless). The
magnitude of du does not matter, only the direction. du must point into the domain.
DISPERSED PHASE BOUNDARY CONDITION
The default is Dispersed phase concentration. See Wall > Dispersed Phase Boundary
Condition for the settings.
See Dispersed Phase Boundary Conditions Equations for more information.
285
TU R B U L E N C E P R O P E R T I E S
For The Mixture Model, Turbulent Flow Interface the following is also available.
Click the Specify turbulent length scale and intensity or Specify turbulence variables button.
For Specify turbulent length scale and intensity enter a value for the Turbulent intensity
IT (dimensionless) and Turbulence length scale LT (SI unit: m). When Pressure is
selected, also enter a Reference velocity scale Uref (SI unit: m/s).
For Specify turbulence variables enter values or expressions for the Turbulent kinetic
energy k0 (SI unit: m2/s2) and Turbulent dissipation rate 0 (SI unit: m2/s3).
Outlet
The Outlet node adds a selection of boundary conditions that describe outlets in fluid-flow
simulations; that is, the conditions at boundaries where the fluid exits the domain.
MIXTURE BOUNDARY CONDITION
Select a Mixture boundary condition for the outletPressure (the default) or Velocity.
PRESSURE CONDITIONS
The Pressure condition specifies the normal stress which in most cases is approximately
equal to the pressure. The tangential stress component is set to 0 N/m2.
Enter the Pressure p0 (SI unit: Pa) at the boundary. The default is 0 Pa. Enter a relative
pressure value in p0 (SI unit: Pa). Or if the reference pressure pref defined at the physics
interface level is equal to 0 Pa, enter an absolute pressure in p0.
Select the Normal flow check box to change the no tangential stress condition to a no
tangential velocity condition. This forces the flow to exit (or enter) the domain
perpendicularly to the outlet boundary.
The Suppress backflow check box is selected by default. This option adjusts the outlet
pressure in order to prevent fluid from entering the domain through the boundary.
VE L O C I T Y
For Velocity click the Normal outflow velocity (the default) or Velocity field buttons.
For Normal outflow velocity enter a value or expression for U0 (SI unit: m/s).
For Velocity field specify that the velocity at the boundary is equal to a given u0 (SI unit:
m/s) and enter the components in the matrix:
u = u0
286 |
The default is Dispersed phase outlet. See Wall > Dispersed Phase Boundary Condition for
the settings.
When the Dispersed phase boundary condition is set to Dispersed phase outlet, the Exterior
dispersed phase condition(s) section contains an input field for the Dispersed phase volume
fraction on the downstream side of the outlet. If Solve for interfacial area is selected at the
physics interface level, additional input fields appear for the Dispersed phase number density
or the Diameter of particles/droplets on the downstream side of the outlet.
See Dispersed Phase Boundary Conditions Equations for more information.
Symmetry
The Symmetry node adds boundary conditions that describe symmetry boundaries in
fluid-flow simulations. The boundary condition for symmetry boundaries prescribes no
penetration and vanishing tangential stress:
u n = 0,
t T ( c d ( 1 c d )u slip u slip + Gm )n = 0
BOUNDARY SELECTION
287
288 |
The default Name (for the first physics interface in the model) is ee.
DISPERSED PHASE
The pressure solved for by the interface may represent the absolute pressure, or a relative
pressure. The absolute pressure, used for example by the material properties, is defined by
the interface as the sum of the Reference pressure level pref and the pressure solved for.
D EPENDE N T VAR IA BL ES
INCONSISTENT STABILIZATION
Inconsistent stabilization can be activated independently for the momentum equation for
the continuous phase, the momentum equation for the dispersed phase, and for the
dispersed phase transport equation respectively by selecting the corresponding check box.
Each inconsistent stabilization contribution has a tuning parameter.
ADVANCED SETTINGS
T H E E U L E R- E U L E R M O D E L I N T E R F A C E S
289
also choose a CFL number expressionAutomatic (the default) or Manual. Automatic sets the
local CFL number (from the CourantFriedrichsLewy condition) to the built-in variable
CFLCMP which in turn triggers a PID regulator for the CFL number. For Manual enter a
Local CFL number CFLloc (dimensionless).
DISCRETIZATION
The Euler-Euler Model, Laminar Flow interface supports three options for the basis
functions: P1+P1 (the default option), P2+P1, and P3+P2. They all represent Lagrangian
basis functions of different orders:
P1+P1 Linear basis functions for all degrees of freedom. Linear basis functions are
computationally less expensive than the higher-order options and are also more robust.
This option requires that Streamline diffusion is activated for both of the momentum
equations.
P2+P1 Quadratic basis functions for all degrees of freedom except the pressure which
is described by linear basis functions. Higher order elements, as compared to linear
elements, are a computationally effective way to obtain high accuracy but only if the
flow is well resolved. This requirement is most likely fulfilled for flows with very low
velocities and/or small length scales.
P3+P2 Cubic basis functions for all degrees of freedom except the pressure which is
described by quadratic basis functions. This option is computationally very expensive
and the least robust one but it is also the option with the highest formal accuracy.
Specify the Value type when using splitting of complex variablesReal (the default) or
Complex.
MIXING LENGTH LIMIT
This section is available for The Euler-Euler Model, Turbulent Flow Interface.
When the Mixing length limit lmix, lim is set to Automatic, the mixing length limit is
evaluated as the shortest side of the geometry bounding box. If the geometry is, for
example, a complicated system of slim entities, this measure can be too high. In such cases,
290 |
it is recommended that the mixing length limit is defined manually. Select Manual to enter
a different value or expression.
Pseudo Time Stepping for Laminar Flow Models in this guide and
Pseudo Time Stepping in the COMSOL Multiphysics Reference
Manual
Isotropic Diffusion in the COMSOL Multiphysics Reference Manual
Domain, Boundary, Point, and Pair Nodes for the Euler-Euler Model
Interfaces
Theory for the Euler-Euler Model Interfaces
T H E E U L E R- E U L E R M O D E L I N T E R F A C E S
291
PHYSICAL MODEL
Two-phase turbulence
By default the Two-Phase Turbulence is defined as Mixture. This implies that one set of k-
equations are solved for. To instead solve for two sets of k- equations, one for each fluid
phase, select Phase specific (see Turbulent Two-Phase Flow Modeling).
TU R B U L E N C E M O D E L P A R A M E T E R S
Turbulence model parameters are optimized to fit as many flow types as possible, but for
some special cases, better performance can be obtained by tuning the model parameters.
For a description of the turbulence model and the included model parameters see
Turbulent Two-Phase Flow Modeling.
D E P E N D E N T VA R I A BL E S
The following dependent variables (field variables) are defined for this interface:
Velocity field, continuous phase uc
Velocity field, dispersed phase ud
Pressure p
Turbulent kinetic energy, mixture k
Turbulent dissipation rate, mixture ep
Turbulent kinetic energy, continuous phase kc
Turbulent dissipation rate, continuous phase epc
Turbulent kinetic energy, dispersed phase kd
Turbulent dissipation rate, dispersed phase epd
The names can be changed but the names of fields and dependent variables must be unique
within a component.
292 |
Domain, Boundary, Point, and Pair Nodes for the Euler-Euler Model
Interfaces
The Euler-Euler Model Interfaces has the following domain, boundary, point, and pair
nodes available from the Physics ribbon toolbar (Windows users), Physics context menu
(Mac or Linux users), or right-click to access the context menu (all users).
Gravity
Outlet
Initial Values
Phase Properties
Inlet
Volume Force
Wall
The following nodes are described for the Laminar Flow interface:
Pressure Point Constraint
Symmetry
In the COMSOL Multiphysics Reference Manual see Table 2-3 for links
to common sections and Table 2-4 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Phase Properties
The Phase Properties node has the material properties settings for the pure continuous and
dispersed phases. It also has settings for the viscosity models for each of the two
interpenetrating phases and the drag model. When the dispersed phase consists of solid
particles, it also has settings for the solid pressure model.
MATERIALS
Select the materials to use for the material properties of the continuous phase and the
dispersed phase respectively (when they are defined to take their values From material). By
default, both the Continuous phase and Dispersed phase use the Domain material. This
corresponds to the material currently applied to the domain in question.
Other materials present can be selected from the Continuous phase or Dispersed phase list
in order to use that materials properties for the liquid or gas, respectively.
T H E E U L E R- E U L E R M O D E L I N T E R F A C E S
293
The default Density, dispersed phase d (SI unit: kg/m3) uses values From material. For
User defined enter another value or expression.
Enter a value or expression for the Diameter of particles/droplets dd (SI unit: m). The
default is 103 m (1 mm).
The Dynamic viscosity, pure dispersed phase d (SI unit: Pas) field is
available when Liquid droplets/bubbles is selected as the Dispersed phase in
The Euler-Euler Model Interfaces.
The default uses values From material. The value of the viscosity is then
the value defined for the material selected in the Materials section for the
dispersed phase. For User defined define a different value or expression.
VISCOSITY MODEL
Select a Viscosity modelCalculate from mixture velocity (the default) or User defined.
For Calculate from mixture viscosity select a Mixture viscosity modelKrieger type (the
default) or User defined. For Krieger type, enter an expression or value for the Maximum
packing concentration max (dimensionless). The default is 0.62 when the dispersed
294 |
phase is solid particles and 1 when the dispersed phase is liquid droplets/bubbles. For
User defined, enter a value or expression for the Dynamic viscosity .
For User defined enter a value or expression for the Dynamic viscosity, dispersed phase d.
The default expression, muinit, corresponds to the Krieger type viscosity.
DRAG MODEL
The models for the interphase drag force Fdrag are available and described in The
Euler-Euler Model Equations. When the dispersed phase corresponds to Solid particles, the
Gidaspow, Schiller-Naumann, Haider-Levenspiel, and Hadamard-Rybczynzki models are
available. For Liquid droplets/bubbles, the Schiller-Naumann, Haider-Levenspiel and
Hadamard-Rybczynzki models are available.
Select a Drag modelGidaspow, Schiller-Naumann, Haider-Levenspiel, Hadamard-Rybczynzki,
or User defined. For User defined enter a value or expression for the Drag force coefficient .
For Haider-Levenspiel enter a value between 0 and 1 for the Sphericity Sp (dimensionless).
SOLID PRESSURE MODEL
The solid pressure models the particle dispersion due to collisions and friction between the
solid particles. Details of the implemented models are described in Solid Pressure.
This section is available when Solid particles is selected as the Dispersed phase in The
Euler-Euler Model Interfaces. Select a Solid pressure model psNo solid pressure (the
default), Gidaspow-Ettehadieh, Gidaspow, Ettehadieh, or User defined. For User defined enter
values or expressions in the table for each component.
Initial Values
The Initial Values node adds initial values for the velocity fields for the continuous and
dispersed phases, the pressure, and the volume fraction of the dispersed phase that can
serve as initial conditions for a transient simulation or as an initial guess for a nonlinear
solver.
I N ITI AL VAL U ES
Enter initial values or expressions in the tables for each component of:
Velocity field, continuous phase uc
Velocity field, dispersed phase ud
Enter initial values or expressions for:
T H E E U L E R- E U L E R M O D E L I N T E R F A C E S
295
Pressure p
Volume fraction, dispersed phase phid
For the The Euler-Euler Model, Turbulent Flow Interface, initial values are needed for the
turbulence variables. When Mixture is selected as Two-phase turbulence, enter values or
expressions for:
Turbulent kinetic energy, mixture k
Turbulent dissipation rate, mixture ep
When Phase specific is selected as Two-phase turbulence, enter values or expressions for:
Turbulent kinetic energy, continuous phase kc
Turbulent dissipation rate, continuous phase epc
Turbulent kinetic energy, dispersed phase kd
Turbulent dissipation rate, dispersed phase epd
Wall
The Wall node includes a set of boundary conditions to describe the flow conditions at a
wall. The conditions for each phase are selected separately.
CONTINUOUS PHASE BOUNDARY CONDITION
Select a Continuous Phase ConditionNo slip (laminar flow only), Slip, or Wall functions
(turbulent flow only).
Slip
Slip prescribes the velocity component normal to the wall to zero u n = 0 .
No Slip
No slip prescribes u = 0, that is, the fluid at the wall is at rest. This is the default boundary
condition for The Mixture Model, Laminar Flow Interface
Wall Functions
Wall functions are used in the case of turbulent flow to model the thin region near solid
(no slip) walls with high gradients in the flow variables. It is the default boundary
condition for The Mixture Model, Turbulent Flow Interface.
DISPERSED PHASE BOUNDARY CONDITION
Select a Dispersed Phase Boundary ConditionNo slip (laminar flow only), Slip, or Wall
functions (turbulent flow only). The conditions prescribed corresponds to those described
for the continuous phase above,
296 |
d0 (dimensionless).
CONSTRAINT SETTINGS
Inlet
The Inlet node prescribes the flow and turbulence conditions (when applicable) at a
boundary where one or both phases enter the adjacent domain.
TW O - P H A S E I N L E T TY P E
Selecting Mixture as the Two-Phase Inlet Type, inlet conditions are prescribed for both
phases. Selecting Continuous phase or Dispersed phase, inlet conditions are prescribed for
the corresponding phase, while wall conditions are applied to the remaining phase.
CONTINUOUS PHASE
The options available in this section are based on the Two-phase inlet type selected.
When Mixture or Continuous phase is selected as the Two-phase inlet typ the Velocity field,
continuous phase uc0 is prescribed.
When Dispersed phase is selected as the Two-phase inlet type, the conditions applied to the
continuous phase are No slip (uc=0) or Slip (ucn=0, and no viscous stresses in the
tangential directions).
Using the Phase specific option for the Two-phase turbulence interface property, the
feature also prescribes inlet conditions for the continuous phase turbulence variables.
Specify turbulent length scale and intensity defines the turbulence inlet conditions using
the Turbulent intensity IT,c (dimensionless) and the Turbulence length scale LT,c (SI unit:
m).
Specify turbulence variables prescribes the Turbulent kinetic energy k0,c (SI unit: m2/s2)
and the Turbulent dissipation rate 0,c (SI unit: m2/s3) at the inlet.
T H E E U L E R- E U L E R M O D E L I N T E R F A C E S
297
DISPERSED PHASE
The options available in this section are based on the Two-phase inlet type selected.
When Mixture or Dispersed phase is selected as the Two-phase inlet type, the Velocity field,
dispersed phase ud0 and the Dispersed phase volume fraction, d0, at the inlet are defined.
When Continuous phase is selected as the Two-phase inlet type, the conditions applied to
the dispersed phase are No slip (ud=0) or Slip (udn=0, and no viscous stresses in the
tangential directions).
Using the Phase specific option for the Two-phase turbulence interface property, the
feature also prescribes inlet conditions for the dispersed phase turbulence variables.
Specify turbulent length scale and intensity defines the turbulence inlet conditions using
the Turbulent intensity IT,d (dimensionless) and the Turbulence length scale LT,d (SI unit:
m).
Specify turbulence variables prescribes the Turbulent kinetic energy k0,d (SI unit: m2/s2)
and the Turbulent dissipation rate 0,d (SI unit: m2/s3) at the inlet.
TU R B U L E N C E C O N D I T I O N S
Using the Mixture option for the Two-phase turbulence interface property, the feature
also prescribes inlet conditions for the mixture turbulence variables.
Specify turbulent length scale and intensity defines the turbulence inlet conditions using
the Turbulent intensity IT (dimensionless) and the Turbulence length scale LT (SI unit:
m).
Specify turbulence variables prescribes the Turbulent kinetic energy k0 (SI unit: m2/s2)
and the Turbulent dissipation rate 0 (SI unit: m2/s3) at the inlet.
CONSTRAINT SETTINGS
Outlet
This node is used to prescribe conditions at boundaries where the two-phase mixture exits
the computational domain. The settings available in the node specifies conditions for the
entire mixture, as opposed to the Inlet, Outlet and Wall nodes where the conditions for
can be specified for each phase individually.
298 |
Pressure Conditions
When Pressure, no viscous stress or Pressure, normal flow is selected as the Mixture boundary
condition, specify the Pressure p0 (SI unit: Pa) at the outlet. Note that the prescribed
pressure should be consistent with the reference pressure level specified at the interface
level as well as consistent with present volume forces (including gravity).
Velocity
Select Velocity to specify the Velocity field, continuous phase uc0 (SI unit: m/s) together
with the Velocity field, dispersed phase ud (SI unit: m/s) at the outlet.
outlet boundary. This option can influence the flow quite a bit upstream
of the inlet.
CONSTRAINT SETTINGS
Gravity
The Gravity node adds the gravity force vector to the right-hand side of the momentum
equations; cg for the continuous phase and dg for the dispersed phase.
T H E E U L E R- E U L E R M O D E L I N T E R F A C E S
299
Gravity nodes are mutually exclusive, that is, there can only be one active Gravity node per
domain.
GRAVITY
Enter the components of the Gravity vector, g (SI unit: m/s2). For 2D components the
default Gravity vector is defined as (0,-g_const). Here g_const is a physical constant equal
to 9.8066 m/s2. For 3D and 2D axisymmetric components, the gravity acts in the
negative z direction by default.
Volume Force
The Volume Force node specifies the volume forces on the right-hand side of the
momentum equations; Fc for the continuous phase and Fd for the dispersed phase. It may
for example be used to add user defined interaction forces (a part from the interphase drag
force).
If several volume force nodes are added to the same domain, the sum of all contributions
are added to the respective momentum equations.
300 |
u
T
+ ( u )u = [ p I + ( u + u ) ] + F g + F st + F ext + F
t
u = 0
(6-7)
(6-8)
Note that Equation 6-7, and Equation 6-8 are solved in the contained interface, Laminar
Flow or Turbulent Flow interface. Note that if the Laminar Flow and Turbulent Flow are
added automatically when we add a Two-Phase Flow, Level Set and Phase Field
multiphysics interface, these interface contains a Multiphysics coupling option property to
control the form of the continuity equation. The Multiphysics coupling option is
automatically set to Level Set or Phase Field. In this case continuity equation takes the form
as in Equation 6-8. When Multiphysics coupling option is set to None, the form of the
continuity equation follows the definitions in Theory for the Single-Phase Flow
InterfacesTheory for the single-phase flow.
T H E O R Y F O R T H E TW O - P H A S E F L O W I N T E R F A C E S
301
If the level set method is used to track the interface, it adds the following equation:
----+ u = ( 1 ) ----------
t
(6-9)
where is the reinitialization parameter (set to 1 by default) and is the interface thickness
controlling parameter (set to hmax/2 where hmax is the maximum element size in the
component). The density is a function of the level set function defined as
= 1 + ( 2 1 )
and the dynamic viscosity is given by
= 1 + ( 2 1 )
where 1 and 2 are the constant densities of Fluid 1 and Fluid 2, respectively, and 1 and
2 are the dynamic viscosities of Fluid 1 and Fluid 2, respectively. Here, Fluid 1
corresponds to the domain where < 0.5 , and Fluid 2 corresponds to the domain where
> 0.5 .
Further details of the theory for the level set method are in Ref. 1.
USING THE PHASE FIELD METHOD
If the phase field method is used to track the interface, it adds the following equations:
+ u = -----2-
t
(6-10)
f ext
2
2
= + ( 1 ) + -----
2
(6-11)
where the quantity (SI unit: N) is the mixing energy density and (SI unit: m) is a
capillary width that scales with the thickness of the interface. These two parameters are
related to the surface tension coefficient, (SI unit: N/m), through the equation
2 2
= ----------- --3
and is related to through =2 where is the mobility tuning parameter (set to 1 by
default). The volume fraction of Fluid 2 is computed as
V f = min ( max ( [ ( 1 + ) 2 ], 0 ), 1 )
302 |
where the min and max operators are used so that the volume fraction has a lower limit of
0 and an upper limit of 1. The density is then defined as
= 1 + ( 2 1 )V f
and the dynamic viscosity according to
= 1 + ( 2 1 )V f
where 1 and 2 are the densities and 1 and 2 are the dynamic viscosities of Fluid 1 and
Fluid 2, respectively.
The mean curvature (SI unit: 1/m) can be computed by entering the following
expression:
G
= 2 ( 1 + ) ( 1 ) ---
where G is the chemical potential defined as:
2
( 1 ) f
- + -----G = 2 + ---------------------
2
Details of the theory for the phase field method are in Ref. 2.
F O RC E TE R M S
The four forces on the right-hand side of Equation 6-7 are due to gravity, surface tension,
a force due to an external contribution to the free energy (using the phase field method
only), and a user-defined volume force.
F st = ( ( I ( nn ) ) )
For a derivation of this formulation, see Appendix A in Ref. 3. In the weak formulation of
the momentum equation, it is possible to move the divergence operator, using integration
by parts, to the test functions for the velocity components.
T H E O R Y F O R T H E TW O - P H A S E F L O W I N T E R F A C E S
303
where G is the chemical potential (SI unit: J/m3) defined in The Equations for the Phase
Field Method and f is a user-defined source of free energy.
This force is added when a -derivative of the external free energy has been defined in the
External Free Energy section of the Fluid Properties feature.
Phase Initialization
If the study type Transient with Phase Initialization is used in the model, the level set or
phase field variable is automatically initialized. For this study, two study steps are created,
Phase Initialization and Time Dependent. The Phase Initialization step solves for the
distance to the initial interface >, Dwi. The Time Dependent step then uses the initial
condition for the level set function according to the following expression:
304 |
1 0 = ----------------------D
1 + e wi
in domains initially filled with Fluid 1 and
1
0 = ------------------------D
1 + e wi
in domains initially filled with Fluid 2.
Correspondingly, for the phase field method the following expressions are used:
D wi
0 = tanh ----------
2
in Fluid 1 and
D wi
0 = tanh ----------
2
in Fluid 2. The initial condition for the help variable is 0 = 0. These expressions are based
on the analytical solution of the steady state solution of Equation 6-9, Equation 6-10, and
Equation 6-11 for a straight, non-moving interface.
For the initialization to work it is crucial that there are two Initial Values
nodes and one Initial Interface node. One of the Initial Values nodes
should use Domain Intially: Fluid 1( =0)and the other Fluid initially in
domain: Fluid 2( =0). The Initial Interface node is not default but can be
added which should have all interior boundaries where the interface is
initially present as selection. If the selection of the Initial Interface node is
empty, the initialization fails. Note that the default value of Domain
Initially is Specified level set function explicitly allowing arbitrary user
defined initial value. In this case, no Initial Interface node should be
added, and Time-dependent study should be used instead of Transient
with Phase Initialization.
T H E O R Y F O R T H E TW O - P H A S E F L O W I N T E R F A C E S
305
Numerical Stabilization
Four types of stabilization methods are available for the flow (Navier-Stokes), turbulence,
and interface (level set or phase field) equations. Two are consistent stabilization
methodsStreamline diffusion and Crosswind diffusionand two are inconsistent
Isotropic diffusion and Anisotropic diffusion.
To display this section, click the Show button (
306 |
The Three-Phase Flow, Phase Field interface is used to study the evolution of three
immiscible fluid phases denoted by fluid A, fluid B, and fluid C. The interface solves the
Navier-Stokes equations governing conservation of momentum and mass. The
momentum equations solved correspond to
u
T
2
+ ( u )u = p I + ( u + u ) --- ( u ) I + F st + F
t
3
(6-12)
where Fst is the surface tension force. The physics interface assumes that the density of
each phase is constant. The density may however vary between the phases. In order to
accurately handle systems where density of the phases are significantly different, as well as
systems with phases of similar density, the following fully compressible continuity equation
is solved by the interface
-------------log + u + u log = 0
t
(6-13)
307
TE R N A R Y P H A S E F I E L D E Q U A T I O N S
In order to track the interfaces between three immiscible fluids, a ternary phase field model
based on the work of Boyer and co-workers in Ref. 1 is used. The model solves the
following Cahn-Hilliard equations
M
--------i + ( u i ) = -------0- i
t
i
4 T
i = ---------
ji
1 F F 3
---- -------- -------- --- 2 i
j i j 4 j
(6-14)
governing the phase field variable, i, and a generalized chemical potential, i, of each
phase i = A, B, C. The phase field variables vary between 0 and 1 and are a measure of the
concentration of each phase. The phase field variable for phase A is one in instances
containing only this phase, and zero where there is no phase A. Since the fluids are
immiscible, variations in the phase field variable occur, and define the interface separating
two phases. At each point the phase field variables satisfy the following constraint
i = 1
(6-15)
i = A , B, C
The density of each phase is assumed to be constant which implies that the phase field
variable corresponds to the volume fraction of the phase in question. In order to satisfy
Equation 6-15, two sets of the equations shown in Equation 6-14 are solved, namely
those for phase A and phase B. The phase field variable, and correspondingly the mass
fraction, for fluid C is computed from Equation 6-15.
The density and viscosity of the fluid mixture used in Equation 6-7 and 6-8 are defined as:
= A A + B B + C C
(6-16)
= A A + B B + C C
Free energy
The free energy of the three phase system is defined as a function of the phase field
variables in the manner of:
2 2
2 2
2 2
F = AB A B + AC A C + BC B C +
2 2 2
A B C ( A A + B B + C C ) + A B C
308 |
(6-17)
Here the ij denotes the surface tension coefficient of the interface separating phase i and
j, and the capillary parameters i are defined for each phase in the manner of:
A = AB + AC BC
B = AB + BC AC
(6-18)
C = BC + AC AB
in the free energy is a function or parameter specifying the additional free bulk energy
of the system. By default is zero. In this case it can be seen that the free energy in
Equation 6-17 represents the mixing energy, since only interfaces between two phases
(where two phase field variables varies between the limiting values) contributes to the free
energy.
(6-19)
When using the interface it is recommended that the parameter is given a value in the
same order as the elements in the regions passed by the fluid-fluid interfaces. The mobility
determines the time scale of the Cahn-Hilliard diffusion and must be large enough to
retain a constant interfacial thickness, but small enough to avoid damping the convective
transport. In order to ensure that the mobility is in the correct range, it is recommended
to a apply a mobility parameter such that the following holds approximately
M 0 = L c U c 10
(6-20)
where Lc and Uc are the characteristic length and velocity scales of the system at hand.
SURFACE TENSION
The surface tension force applied in the momentum equations (Equation 6-7) as a body
force computed from the generalized chemical potentials:
F st =
i i
(6-21)
i = A, B , C
309
310 |
u l
+ l l u l u l =
t
(6-22)
T 2
= p + l ( l + T ) u l + u l --- ( u l )I + l l g + F
3
311
(6-23)
(6-24)
where mgl is the mass transfer rate from the gas to the liquid (SI unit: kg/(m3s)).
For low gas volume fractions ( g 0.01 ), you can replace the momentum equations,
Equation 6-22, and the continuity equation, Equation 6-23, by
l l
u l
+ l l u l u l =
t
(6-25)
T
= p + [ l ( l + T ) ( u l + u l ) ] + l l g + F
l ul = 0
(6-26)
By default, the Laminar Bubbly Flow interface uses Equation 6-25 and 6-26. To switch to
Equation 6-22 and 6-23, click to clear the Low gas concentration check box under the
Physical Model section.
The physics interface solves for ul, p, and
312 |
g = g g
the effective gas density. The gas velocity ug is the sum of the following velocities:
u g = u l + u slip + u drift
(6-27)
where uslip is the relative velocity between the phases and udrift is a drift velocity (see
Turbulence Modeling in Bubbly Flow Applications). The physics interface calculates the
gas density from the ideal gas law:
( p + p ref )M
g = -----------------------------RT
where M is the molecular weight of the gas (SI unit: kg/mol), R is the ideal gas constant
(8.314472 J/(molK)), pref a reference pressure (SI unit: Pa), and T is temperature
(SI unit: K). pref is a scalar variable, which by default is 1 atm (1 atmosphere or
101,325 Pa). The liquid volume fraction is calculated from
l = 1 g
When there is a drift velocity, it has the form
g
u drift = ---- ---------l g
(6-28)
Where is an effective viscosity causing the drift. Inserting Equation 6-28 and
Equation 6-27 into Equation 6-24 gives
g g
t
l
That is, the drift velocity introduces a diffusive term in the gas transport equation. This is
how the equation for the transport of the volume fraction of gas is actually implemented
in the physics interface.
The bubbly-flow equation formulation is relatively simple, but it can display some
nonphysical behavior. One is artificial accumulation of bubbles, for example, beneath walls
where the pressure gradient forces the bubbles upward, but the bubbles have no place to
go and there is no term in the model to prevent the volume fraction of gas from growing.
To prevent this from happening, is set to l in the laminar case. The only apparent effect
of this in most cases where the bubbly-flow equations are applicable is that nonphysical
313
accumulation of bubbles is reduced. The small effective viscosity in the transport equation
for g has beneficial effects on the numerical properties of the equation system.
M A S S TR A N S F E R A N D I N T E R F A C I A L A RE A
It is possible to account for mass transfer between the two phases by specifying an
expression for the mass transfer rate from the gas to the liquid mgl (SI unit: kg/(m3s)).
The mass transfer rate typically depends on the interfacial area between the two phases. An
example is when gas dissolves into a liquid. In order to determine the interfacial area, it is
necessary to solve for the bubble number density (that is, the number of bubbles per
volume) in addition to the phase volume fraction. The Bubbly Flow interface assumes that
the gas bubbles can expand or shrink but not completely vanish, merge, or split. The
conservation of the number density n (SI unit: 1/m3) then gives
n
+ ( nu g ) = 0
t
The number density and the volume fraction of gas give the interfacial area per unit
volume (SI unit: m2/m3):
a = ( 4n )
13
( 3 g )
23
SLIP MODEL
The simplest possible approximation for the slip velocity uslip is to assume that the bubbles
always follow the liquid phase; that is, uslip = 0. This is known as homogeneous flow.
A better model can be obtained from the momentum equation for the gas phase.
Comparing size of different terms, it can be argued that the equation can be reduced to a
balance between the viscous drag force, fD and the pressure gradient (Ref. 3), a so called
pressure-drag balance:
g p = f D
(6-29)
3 l
f D = d C d --- ------ u slip u slip
4 db
(6-30)
where in turn db (SI unit: m) is the bubble diameter, and Cd (dimensionless) is the viscous
drag coefficient. Given Cd and db, Equation 6-29 can be used to calculate the slip velocity.
314 |
Schwarz and Turner (Ref. 4) proposed a linearized version of Equation 6-30 appropriate
for air bubbles of 110 mm mean diameter in water:
f D = d C W u slip
kgC W = 5 10 4 --------m3s
(6-31)
The Hadamard-Rybczynski model is appropriate for small spherical bubbles with diameter
less than 2 mm. The model uses the following expression for the drag coefficient (Ref. 5):
16
C d = ---------- ,
Re b
d b l u slip
Re b = --------------------------l
For bubbles with diameter larger than 2 mm, the model suggested by Sokolichin,
Eigenberger, and Lapin (Ref. 1) is a more appropriate choice:
0,622
C d = ----------------------------1
------- + 0,235
E
where E is the Etvs number
2
g l d b
E = --------------
Here, g is the magnitude of the gravity vector and the surface tension coefficient.
315
T
k
+ l u l k = l + ------ k + P k l + S k
t
k
(6-32)
(6-33)
In all the previous equations, the velocity, ul, is the liquid phase averaged velocity field.
The standard k- turbulence model uses the following constants:
CONSTANT
VALUE
0.09
C1
1.44
C2
1.92
1.0
1.3
The included source term Sk accounts for bubble-induced turbulence and is given by
S k = C k g p u slip
Suitable values for the model parameters Ck and C are not as well established as the
parameters for single-phase flow. In the literature, values within the ranges 0.01 < Ck < 1
and 1 < C < 1.92 have been suggested (Ref. 1). The turbulent viscosity appears in the
momentum equation and when adding a drift term to the gas velocity:
T g
u drift = ------ ---------l g
Using the k- model together with a gas concentration that is not assumed to be low, the
stress tensor contains an extra contribution, and the momentum equations becomes
316 |
l l
u l
+ l l u l u l =
t
(6-34)
2
T 2
= p + l ( l + T ) u l + u l --- ( u l )I --- l l kI + l l g + F
3
3
317
T he o r y f o r the Mi xt u re Mod el
Interfaces
The mixture model is a macroscopic two-phase flow model, in many ways similar to the
bubbly flow model. It tracks the averaged phase concentration, or volume fraction, and
solves a single momentum equation for the mixture velocity. It is suitable for mixtures
consisting of solid particles or liquid droplets immersed in a liquid.
The Mixture Model interface theory is described in this section:
The Mixture Model Equations
Dispersed Phase Boundary Conditions Equations
Turbulence Modeling in Mixture Models
Slip Velocity Models
References for the Mixture Model Interfaces
318 |
where:
u is the velocity vector (SI unit: m/s)
is the density (SI unit: kg/m3)
p is the pressure (SI unit: Pa)
cd is the mass fraction of the dispersed phase (SI unit: kg/kg)
uslip is the relative velocity vector between the two phases (SI unit: m/s)
Gm is the sum of the viscous and turbulent stresses (SI unit: kg/(ms2))
g is the gravity vector (SI unit: m/s2), and
F is any additional volume force (SI unit: N/m3)
The velocity u used here is the mass-averaged mixture velocity (SI unit: m/s), defined as
c c uc + d d ud
u = -------------------------------------------
where
c and d denote the volume fractions of the continuous phase and the dispersed phase
(SI unit: m3/m3), respectively
uc is the continuous phase velocity vector (SI unit: m/s)
ud is the dispersed phase velocity vector (SI unit: m/s)
c is the continuous phase density (SI unit: kg/m3)
d is the dispersed phase density (SI unit: kg/m3), and
is the mixture density (SI unit: kg/m3)
The relationship between the velocities of the two phases is defined by
D md
u d u c = u cd = u slip -------------------------- d
( 1 c d ) d
(6-35)
Here, uslip (SI unit: m/s) denotes the relative velocity between the two phases. For
different available models for the slip velocity, see Slip Velocity Models. Dmd is a turbulent
dispersion coefficient (SI unit: m2/s) (see Turbulence Modeling in Mixture Models),
accounting for extra diffusion due to turbulent eddies. When a turbulence model is not
used, Dmd is zero.
The mixture density is given by
= c c + d d
319
where c and d (SI units: kg/m3) are the densities of the two phases. The mass fraction
of the dispersed phase cd is given by
d d
c d = -----------
The sum of the viscous and turbulent stresses is
T
2
Gm = ( + T ) ( u + u ) --- ( u )I
3
(6-36)
where (SI unit: Pas) is the mixture viscosity and T (SI unit: Pas) the turbulent viscosity.
If no turbulence model is used, T equals zero.
The transport equation for d, the dispersed phase volume fraction, is
( ) + ( u ) = m
d d d
dc
t d d
(6-37)
where mdc (SI unit: kg/(m3s)) is the mass transfer rate from the dispersed to the
continuous phase and ud (SI unit: m/s) is the dispersed phase velocity according to
Equation 6-35. Assuming constant density for the dispersed phase, Equation 6-37 can be
rewritten as
m dc
( ) + ( u )
d
d d = --------d
t
(6-38)
(6-39)
In the Mixture Model interfaces it is assumed that the densities of both phases, c and d,
are constant, and therefore the following alternative form of the continuity equation for
the mixture is used
m dc
( c d ) ( d ( 1 c d )u slip D md d ) + ---------- + c ( u ) = 0
d
Equation 6-40 is derived from Equation 6-37 and Equation 6-39.
320 |
(6-40)
M A S S TR A N S F E R A N D I N T E R F A C I A L A RE A
It is possible to account for mass transfer between the two phases by specifying an
expression for the mass transfer rate from the dispersed phase to the continuous mdc (SI
unit: kg/(m3s)).
The mass transfer rate typically depends on the interfacial area between the two phases. An
example is when gas dissolves into a liquid. In order to determine the interfacial area, it is
necessary to solve for the dispersed phase number density (that is, the number of particles
per volume) in addition to the phase volume fraction. The Mixture Model interface
assumes that the particles can increase or decrease in size but not completely vanish,
merge, or split. The conservation of the number density n (SI unit: 1/m3) then gives
n
+ ( nu d ) = 0
t
The number density and the volume fraction dispersed particles give the interfacial area
per unit volume (SI unit: m2/m3):
a = ( 4n )
13
( 3 d )
23
This is the default for the Inlet node. Specify the dispersed phase volume fraction:
d = d0
Enter the Dispersed phase volume fraction (dimensionless) in the d0 field.
DISPERSED PHASE OUTLET
This is the default for the Outlet node. This boundary condition is appropriate for
boundaries where the dispersed phase leaves the domain with the dispersed phase velocity
ud. No condition is imposed on the volume fractions at the boundary.
DISPERSED PHASE FLUX
Using this boundary condition, specify the dispersed phase flux through the boundary:
321
n ( d u d ) = Nd
Enter the Dispersed phase flux (SI unit: m/s) in the N d field.
SYMMETRY
This boundary condition, which is useful on boundaries that represent a symmetry line for
the dispersed phase, sets the dispersed phase flux through the boundary to zero:
n ( d ud ) = 0
NO DISPERSED FLUX
This is the default for the Wall node. This boundary condition represents boundaries
where the dispersed phase flux through the boundary is zero:
n ( d ud ) = 0
k
t
where the production term is
2
2
P k = T u: ( u + ( u ) T ) --- ( u ) 2 --- k u
3
3
322 |
The evolution of the dissipation rate of the turbulent kinetic energy, , is determined by
T
VALUE
0.09
C1
1.44
C2
1.92
1.0
1.3
The turbulence must also be accounted for in the calculation of the dispersed phase
volume fraction. This is accomplished by introducing a turbulent dispersion coefficient
Dmd (SI unit: m2/s) in Equation 6-35 as
T
D md = --------- T
where T is the turbulent particle Schmidt number (dimensionless). The particle Schmidt
number is usually suggested a value ranging from 0.35 to 0.7. In the physics interface the
default value is 0.35. The so-called drift velocity is included in Equation 6-38 as a diffusion
term
m dc
( ) + ( d d ) = ( D md d ) ---------d
t d
where in turn
d = u + u slip ( 1 c d )
Similarly, the number density equation (used to compute the interfacial area) for turbulent
flow corresponds to
n
+ ( n d ) = ( D md n )
t
Using the k- turbulence model, the viscous stress tensor contains an extra contribution
and eq.Equation 6-36 is replaced by
323
2
2
T
Gm = ( + T ) ( u + u ) --- ( u )I --- kI
3
3
(6-41)
(6-42)
where Cd (dimensionless) is the particle drag coefficient. Essentially, interpret the relation
as a balance between viscous drag and buoyancy forces acting on the dispersed phase.
The Schiller-Naumann model models the drag coefficient according to
Cd =
0,687
24
---------- ( 1 + 0,15Rep
)
Re p
Re p < 1000
0,44
Re p > 1000
324 |
B ( Sp )
C ( Sp )
24
+ ---------------------------------------C d = ---------- 1 + A ( S p )Re p
1 + D ( S p ) Re p
Re p
where A, B, C and D are empirical correlations of the particle sphericity. The sphericity is
defined as the ratio of the surface area of a volume equivalent sphere to the surface area of
the considered non-spherical particle
A sphere
0 < S p = ------------------ 1
A particle
The correlation coefficients are given by
A ( Sp ) = e
2.3288-6.4581S p + 2.4486S p2
B ( S p ) = 0.0964+0.5565S p
C ( Sp ) = e
D ( Sp ) = e
The diameter used in the particle Reynolds number is that of the volume equivalent
sphere. The equation for the squared slip velocity is also added when the
Haider-Levenspiel slip model is used.
The Hadamard-Rybczynski drag law is valid for particle Reynolds numbers less than 1, for
particles, bubbles, and droplets. The drag coefficient for liquid droplets or bubbles is
2 c
1 + --3- ---- d
24-
--------------------------Cd =
Re p
c
1 + ------
d
which yields the following explicit expression for the slip velocity
u slip
2 1 + ------
( d )d d
d
= --------------------------- -------------------- p
18 c
1 + 2
--- -----c-
3 d
325
( d )d d
u slip = --------------------------- p
18 c
when Rep < 1. For very small gas bubbles, the drag coefficient is observed to be closer to
the solid-particle value. This is believed to be caused by surface-active impurities collecting
on the bubble surface.
326 |
Assuming that the mass transfer between the two phases is zero, the following continuity
relations hold for the continuous and dispersed phases (Ref. 3):
( ) + ( c c uc ) = 0
t c c
(6-43)
( ) + ( d d ud ) = 0
t d d
(6-44)
Here (dimensionless) denotes the phase volume fraction, (SI unit: kg/m3) is the
density, and u (SI unit: m/s) the velocity of each phase. The subscripts c and d denote
quantities relating to the continuous and the dispersed and phase, respectively. The
following relation between the volume fractions must hold
c = 1 d
Both phases are considered to be incompressible, in which case Equation 6-43 and
Equation 6-44 can be simplified as:
T H E O R Y F O R T H E E U L E R- E U L E R M O D E L I N T E R F A C E S
327
d
+ ( d ud ) = 0
t
(6-45)
c
+ ( c uc ) = 0
t
(6-46)
If Equation 6-45 and Equation 6-46 are added together, a continuity equation for the
mixture is obtained:
( d ud + uc ( 1 d ) ) = 0
(6-47)
In order to control the mass balance of the two phases, the Euler-Euler Model interfaces
solves Equation 6-45 together with Equation 6-47. Equation 6-45 is used to compute the
volume fraction of the dispersed phase, and Equation 6-47 is used to compute the mixture
pressure.
MOMENTUM BALANCE
The momentum equations for the continuous and dispersed phases, using the
non-conservative forms of Ishii (Ref. 4), are:
c c
d d
( u ) + u c ( u c ) = c p + ( c c ) + c c g + F m,c + c F c
t c
(6-48)
( u ) + u d ( u d ) = d p + ( d d ) + d d g + F m,d + d F d
t d
(6-49)
Here p (SI unit: Pa) is the mixture pressure, which is assumed to be equal for the two
phases. In the momentum equations the viscous stress tensor for each phase is denoted by
(SI unit: Pa), g (SI unit: m/s2) is the vector of gravitational acceleration, Fm (SI unit:
N/m3) is the interphase momentum transfer term (that is, the volume force exerted on
each phase by the other phase), and F (SI unit: N/m3) is any other volume force term.
In these equations, the influence of surface tension in the case of liquid phases has been
neglected, and the potential size distribution of the dispersed particles or droplets is not
considered.
For fluid-solid mixtures, Equation 6-49 is modified in the manner of Enwald (Ref. 5)
d d
( u ) + ud ( ud ) =
t d
d p + ( d d ) p s + d d g + F m,d + d F d
328 |
(6-50)
3
T 2
d = D u d + ( u d ) --- ( u d )I
3
where (SI unit: Pas) is the dynamic viscosity of the respective phase.
In order to avoid singular solutions when the volume fractions tend to zero, the governing
equations above are divided by the corresponding volume fraction. The implemented
momentum equation for the continuous phase is:
c c
F m,c
c (u c) + c u c ( u c ) = p + c + --------------- + c g + ----------- + F c
t
c
c
The implemented momentum equations for the dispersed phase in the case of dispersed
liquid droplets or bubbles is:
d d
F m,d
d (u d) + d u d ( u d ) = p + d + -------------------- + d g + ------------ + F d
t
d
d
(6-51)
( u ) + d ud ( ud ) =
t d
d d p s
F m,d
p + d + -------------------- --------- + d g + ------------ + F d
d
d
d
d
(6-52)
The Newtonian viscosities of interpenetrating media are not readily available. Instead
empirical and analytical models for the dynamic viscosity of the two-phase mixture have
been developed by various researchers, usually as a function of the dispersed volume
fraction. Using an expression for the mixture viscosity, the default values for the dynamic
viscosities of the two interpenetrating phases are taken to be:
C = D = mix
(6-53)
T H E O R Y F O R T H E E U L E R- E U L E R M O D E L I N T E R F A C E S
329
A simple mixture viscosity covering the entire range of particle concentrations is the
Krieger type model (Ref. 5):
d 2.5 d,max
mix = c 1 ---------------
d,max
(6-54)
Here d,max is the maximum packing limit, by default 0.62 for solid particles.
Equation 6-54 can be applied when c d . An extension of Equation 6-54 can be
applied for liquid droplets/bubbles:
mix
d
= c 1 ---------------
d,max
d + 0.4 c
2.5 d,max ------------------------d + c
(6-55)
In all the equations, Fm denotes the interphase momentum transfer, that is the force
imposed on one phase by the other phase. Considering a particle, droplet, or bubble in a
fluid flow, it is affected by a number of forces, for example, the drag force, the added mass
force, the Basset force, and the lift force. The most important force is usually the drag
force, especially in fluids with a high concentration of dispersed solids, and hence this is
the predefined force included in the Euler-Euler model. The drag force added to the
momentum equation is defined as:
(6-56)
The drag force on the dispersed phase is equal to the one on the
continuous phase but is working in the opposite direction.
Dense Flows
For dense flows with a high concentration of the dispersed phasefor example, in
fluidized bed modelsthe Gidaspow model (Ref. 6) for the drag coefficient can be used.
It combines the Wen and Yu (Ref. 7) fluidized state expression:
For c > 0.8
330 |
3 c d c C d
2.65
= ---------------------------- u slip c
4d d
(6-57)
c d
d c
= 150 -----------2- + 1.75 ----------- u slip
dd
c d d
(6-58)
In the above equations, dd (SI unit: m) is the dispersed particle diameter, and Cd is the
drag coefficient for a single dispersed particle. The drag coefficient is in general a function
of the particle Reynolds number
c d d c u slip
Re p = -------------------------------c
No universally valid expression for the drag coefficient exists. Using the implemented
Gidaspow model, Cd is computed using the Schiller-Naumann relation
Cd =
0.687
24
---------- ( 1 + 0.15Re p
)
Re p
Re p < 1000
0.44
Re p > 1000
(6-59)
Dilute Flows
For dilute flows the drag force coefficient can be modeled as:
3 d c C d
= ----------------------- u slip
4d d
(6-60)
In this case the drag coefficient can be computed from the Schiller-Naumann model in
Equation 6-59, the Haider-Levenspiel model, or by using the Hadamard-Rybczynski drag
law. The Haider-Levenspiel model is applicable to nonspherical particles. It models the
drag coefficient according to
B ( Sp )
C ( Sp )
24
+ ---------------------------------------C d = ---------- 1 + A ( S p )Re p
1 + D ( S p ) Re p
Re p
where A, B, C, and D are empirical correlations of the particle sphericity (see Slip Velocity
Models for further details). The Hadamard-Rybczynski drag law is valid for particle
Reynolds number less than one for particles, bubbles, and droplets and is defined as:
T H E O R Y F O R T H E E U L E R- E U L E R M O D E L I N T E R F A C E S
331
2 c-
1 + --3- ---- d
24
C d = ---------- --------------------
Re p
1 + -----c-
d
For fluid-solid mixtures, a model for the solid pressure, ps in Equation 6-52, is needed.
The solid pressure models the particle interaction due to collisions and friction between
the particles. The solid pressure model implemented uses a gradient diffusion based
assumption:
p s = G ( c ) c
where the empirical function G is given by
G ( c ) = 10
B1 c + B2
(6-61)
described in Ref. 5. The available predefined models (all defined in Ref. 5) are those of
Gidaspow and Ettehadieh,
G ( c ) = 10
-8.76 c + 5.43
(6-62)
Ettehadieh,
G ( c ) = 10
-10.46 c + 6.577
(6-63)
and Gidaspow,
G ( c ) = 10
332 |
-10.5 c + 9.0
(6-64)
There are several equations with potentially singular terms and expressions such as the
term
F m,d
-----------d
in Equation 6-51. Also, d is a degree of freedom and can therefore, during
computations, obtain nonphysical values in small areas. This can, in turn, lead to
nonphysical values of material properties such as viscosity and density. To avoid these
problems, the implementation uses the following regularizations:
1/ k, k=c,d is replaced by1/ k,pos where
k, pos = 0.001 + 0.999 flc1hs ( k 5e 4, 5e 4 )
k k is evaluated as ( log ( k, pos ) ) .
The variable d is only used directly in Equation 6-45. It is everywhere else replaced by
d, reg = min ( max ( d, 0 ), 1 )
Note that this includes the way c is calculated; that is,
c = 1 d, reg
An extra diffusion term is added to the right-hand side of Equation 6-45 to minimize
the occurrence of negative values of d . The barrier viscosity is calculated as
k
b = ( e max ( d 0.0025, 0 ) 1 ) -----k
where the index k indicates that the viscosity and density are taken from the continuous
phase if the dispersed phase is a solid and from the dispersed phase otherwise. Note that
b is only nonzero if d is less than zero.
T H E O R Y F O R T H E E U L E R- E U L E R M O D E L I N T E R F A C E S
333
In order to model fluid flow turbulence, the Euler-Euler Model, Turbulent Flow interface
uses the k- turbulence model. This is realized by solving transport equations for the
kinetic energy k (SI unit: m2/s2) and the dissipation rate of turbulent kinetic energy (SI
unit: m2/s3).
The interface includes the possibility to model the turbulent flow of the two-phase
mixture, or to solve for turbulent flow of each phase separately. In the former case one set
of k- equations are solved, while in the latter two sets of k- equations are solved for, one
for each phase.
M I X T U R E TU R B U L E N C E
Mixture turbulence assumes that the turbulence effects on the both continuous and
dispersed phase can be modeled by solving for the turbulence of the resulting two-phase
mixture. Here this is done using a two-equation k- model where the transport of
turbulence quantities is based on based on the mixture velocity
c c um + d d um
u m = ----------------------------------------------- ,
t
k
(6-65)
(6-66)
334 |
2
2
P k = T u m : ( u m + ( u m ) T ) --- ( u m ) 2 --- k u m
3
3
and the resulting turbulent viscosity is defined as
k2
T = C -----
where C is a model constant. The viscous stress tensors for the phases are hence defined as
T 2
2
c = ( C + T ) u c + ( u c ) --- ( u c )I --- c kI ,
3
3
T 2
2
d = ( D + T ) u d + ( u d ) --- ( u d )I --- d kI .
3
3
Assuming mixture turbulence, the transport equation for the volume fraction is:
( ) + ( d u d ) = ( D md d )
t d
(6-67)
Here the dispersion of the particulate phase by the turbulent fluctuations is modeled using
a gradient based hypothesis. The turbulent dispersion coefficient is defined from the
turbulent viscosity of the two-phase mixture in the manner of
T
D md = --------- T
where T is a turbulent particle Schmidt number (dimensionless).
T H E O R Y F O R T H E E U L E R- E U L E R M O D E L I N T E R F A C E S
335
VALUE
0.09
C1
1.44
C2
1.92
1.0
1.3
Kv
0.41
5.2
0.35
P H A S E S P E C I F I C TU R B U L E N C E
Phase specific Two-phase turbulence model assumes that the turbulent flow of the
continuous and dispersed phase can be modeled by solving for the turbulence of each
phase separately by a using two sets of k- equations. The model implies that the time
scales of the turbulent flow of each phase can differ, but it is also computationally more
expensive than assuming solving one set of k- equations for the mixture.
Setting the Two-phase turbulence interface property to Phase specific, the turbulent flow of
the two phases is modeled by solving two sets of k and equations, one for each phase.
For the continuous phase, the transport equations for k and are
k c
T,c
c -------- + c u c k c = C + ---------- k c + P k, c c c
t
k, c
(6-68)
c
c
d2
T,c
c ------- + c u c c = C + ---------- c + C 1,c ----- P k, c C 2,c -----
t
, c
kc
kd
(6-69)
336 |
k d
T,d
d --------- + d u d k d = D + ----------- k d + P k, d d d
t
k, d
(6-70)
d
d
d2
T,d
d -------- + d u d d = D + ---------- d + C 1,d ------ P k, d C 2,d -----
t
kd
kd
, d
(6-71)
The equations for each phase correspond to the standard two-equation k- model
including realizability constraints.
The production terms are defined as
2
2
P k, c = T,c u c : ( u c + ( u c ) T ) --- ( u c ) 2 --- c k d u c
3
3
2
2
P k, d = T,d u d : ( u d + ( u d ) T ) --- ( u d ) 2 --- d k d u d
3
3
The resulting turbulent viscosity, applied individually in the momentum equations of the
continuous and the dispersed phases, are
k c2
k d2
T, c = c C , c ------ , T, d = d C , d -----c
d
(6-72)
where C,c and C,d are model constants. The viscous stress tensors for the phases are
hence defined as
T 2
2
c = ( C + T, c ) u c + ( u c ) --- ( u c )I --- c k c I ,
3
3
T 2
2
d = ( D + T, d ) u d + ( u d ) --- ( u d )I --- d k d I .
3
3
As in the case of mixture turbulence, the dispersion of the particulate phase by the
turbulent fluctuations is modeled using a gradient based hypothesis (Equation 6-67). For
phase specific turbulence the dispersion coefficient is modeled as a volume average of the
respective turbulent diffusivity of each phase
T, c
T, d
1
D md = ----------- c ----------- + d -----------
c
d
T, d
using a turbulent particle Schmidt number T,d (dimensionless).
T H E O R Y F O R T H E E U L E R- E U L E R M O D E L I N T E R F A C E S
337
The default values of the turbulence model parameters for phase specific turbulence are
CONTINUOUS
PHASE
CONSTANTS
VALUE
DISPERSED
PHASE
CONSTANTS
VALUE
C,c
0.09
C,d
0.09
C1,c
1.44
C1,d
1.44
C2,c
1.92
C2,d
1.92
k,c
1.0
k,d
1.0
,c
1.3
,d
1.3
Kv,c
0.41
Kv,d
0.41
Bc
5.2
Bd
5.2
,d
0.35
338 |
339
340 |
PHYSICS
INTERFACE LABEL
NAME
COMPRESSIBILITY
NEGLECT
INERTIAL TERM
PORE SIZE
Darcy's Law
dl
n/a
n/a
Two-Phase
Darcys law
tpdl
n/a
n/a
NAME
COMPRESSIBILITY
NEGLECT
INERTIAL TERM
PORE SIZE
Brinkman
Equations
br
Incompressible
flow
Yes Stokes-Brink
man
fp
Incompressible
flow
Not selected
Figure 7-1 is an example of the Settings window for Brinkman Equations where you can
select either Compressible or Incompressible flow, and either normal or Stokes
Brinkman flow.
Where the size of the interstices are larger, and the fluid is also influenced by internal
shear or shear stresses on boundaries, the viscous shear within the fluid must be
considered. This is done in the Brinkman Equations interface. Fluid penetration of
filters and packed beds are applications for this mode. The Brinkman Equations
Interface (
) is used to model compressible flow at speeds less than Mach 0.3, but
you have to maintain control over the density and any of the mass balances that are
deployed to accomplish this. You can also choose to model incompressible flow, and
simplify the equations to be solved. Furthermore, you can select the Stokes-Brinkman
flow feature to reduce the influence of inertial effects (see Figure 7-1).
341
Figure 7-1: The Settings window for the Brinkman Equations interface. You can model
compressible or incompressible flow as well as Stokes-Brinkman flow. Combinations are also
possible.
The Brinkman equations extend Darcys law to describe the dissipation of
momentum by viscous shear, similar to the Navier-Stokes equation. Consequently,
they are well suited to model transitions between slow flow in porous media, governed
by Darcys law, and fast flow in channels described by the Navier-Stokes equations.
The Brinkman Equations interface also includes the possibility to add a Forchheimer
drag term, which is a viscous drag on the porous matrix proportional to the square of
the flow velocity. This term accounts for an inertial turbulent drag effect that comes
into play for fast flows through large pores. Adding the Forchheimer term takes into
account all drag contributions that the Ergun equation covers.
FREE AND POROUS MEDIA FLOW
342 |
in comparison with the free channel, and you are not primarily interested in results in
the vicinity of the interface, you can always couple a Fluid Flow interface to a Darcys
Law interface, to make your overall model computationally cheaper.
The Free and Porous Media Flow interface is used on at least two different domains;
a free channel and a porous medium. The physics interface adds functionality that
allows the equations to be optimized according to the definitions of the material
properties of the relevant domain. For example, you can select the Stokes-Brinkman
flow feature to reduce the dependence on inertial effects in the porous domain, or just
the Stokes flow feature to reduce the dependence on inertial effects in the free
channel.
Compressible flow is also possible to model in this physics interface at speeds less than
Mach 0.3, but you have to maintain control over the density and any of the mass
balances that are deployed to accomplish this. You can also choose to model
incompressible flow, and simplify the equations to be solved.
As always, the physics interface gives you provides you with options to define, either
by constants or expressions, the material properties that describe the porous media
flow. This includes the density, dynamic viscosity, permeability, porosity, and matrix
properties.
TW O - P H A S E D A R C Y S L A W
343
More extensive descriptions of modeling chemical reactions and mass transport are
found in the Chemical Reaction Engineering Module. Furthermore, some applications
that involve electrochemical reactions and porous electrodes, particularly in
electrochemical power source applications, are supported in the Batteries & Fuel Cells
Module.
Fluid flow is an important phenomenon for cooling in electromagnetic applications,
such as heat created through induction and microwave heating, which are simulated in
the AC/DC Module and RF Module, respectively. Other applications can involve the
effect of fluid-imposed momentum on structural applications; poroelasticity. The
Structural Mechanics Module and Subsurface Flow Module have interfaces specifically
for these multiphysics applications.
The following sections list all the physics interfaces and the features associated with
them under the Porous Media Subsurface Flow branch. The descriptions follow a
structured order as defined by the order in the branch. Because many of the physics
interfaces are integrated with each other, some features described also cross reference
to other physics interfaces. At the end of this section is a summary of the theory for
the physics interfaces under the Porous Media Subsurface Flow branch.
344 |
Enter a Reference pressure level pref (SI unit: Pa). The default value is 1[atm].
DEPENDENT VA RIA BLES
The dependent variable (field variable) is the Pressure. The name can be changed but
the names of fields and dependent variables must be unique within a model.
T H E D A R C Y S L A W I N T E R F A C E
345
DISCRETIZATION
The Compute boundary fluxes check box is not activated by default. When this option
is selected, the solver computes variables storing accurate boundary fluxes from each
boundary into the adjacent domain.
If the check box is cleared, COMSOL instead computes the flux variables from the
dependent variables using extrapolation, which is less accurate in postprocessing
results, but does not create extra dependent variables on the boundaries for the fluxes.
Also the Apply smoothing to boundary fluxes check box is available if the previous check
box is checked. The smoothing can provide a better behaved flux value close to
singularities.
For details about the boundary fluxes settings, see Computing Accurate Fluxes in the
COMSOL Multiphysics Reference Manual.
The Value type when using splitting of complex variables setting should in most pure
mass transport problems be set to Real which is the default. It makes sure that the
dependent variable does not get affected by small imaginary contributions, which can
occur, for example, when combining a Time Dependent or Stationary study with a
frequency-domain study. For more information, see Splitting Complex-Valued
Variables in the COMSOL Multiphysics Reference Manual.
Domain, Boundary, Edge, Point, and Pair Nodes for the Darcys Law
Interface
Theory for the Darcys Law Interface
Physical Constants in the COMSOL Multiphysics Reference Manual
Domain, Boundary, Edge, Point, and Pair Nodes for the Darcys Law
Interface
The Darcys Law Interface has the following domain, boundary, edge, point, and pair
nodes, These nodes available from the Physics ribbon toolbar (Windows users), Physics
346 |
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-3 for links
to common sections and Table 2-4 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
Initial Values
Mass Source
B O U N D A R Y, E D G E , A N D P O I N T
The following nodes (listed in alphabetical order) are available on exterior boundaries:
The relevant physics interface condition at interior boundaries is continuity:
n ( 1 u1 2 u2 ) = 0
The continuity boundary condition ensures that the pressure and mass flux are
continuous. In addition, the Pressure boundary condition is available on interior
boundaries.
T H E D A R C Y S L A W I N T E R F A C E
347
(7-1)
u = --- p
(7-2)
FLUID PROPERTIES
Select the Fluid material to use for the fluid properties. Select Domain material (the
default) to use the material defined for the domain. Select another material to use that
materials properties for the fluid.
Density
The default Density (SI unit: kg/m3) uses values From material based on the Fluid
material selection.
For User defined enter another value or expression. The default is 0 kg/m3.
For Ideal gas it uses the ideal gas law to describe the fluid. In this case, specify the
thermodynamics properties. Select a Gas constant typeSpecific gas constant Rs (the
default) or Mean molar mass Mn (SI unit: J/(molK)). For Mean molar mass the
universal gas constant R = 8.314 J/(molK) is used as the built-in physical constant.
For both properties, the defaults use values From material. For User defined enter
another value or expression.
Dynamic Viscosity
Select a Dynamic viscosity (SI unit: Pas). The default uses values From material as
defined by the Fluid material selected. For User defined the default is 0 Pas.
MATRIX PROPERTIES
Select the material to use as porous matrix. Select Domain material from the Porous
material list (the default) to use the material defined for the porous domain. Select
another material to use that materials properties.
The default Porosity p (a dimensionless number between 0 and 1) uses the value From
material, defined by the Porous material selected. For User defined the default is 0.
348 |
The default Permeability (SI unit: m2) uses the value From material, as defined by the
Porous material selected. For User defined select Isotropic to define a scalar value or
Diagonal, Symmetric, or Anisotropic to define a tensor value and enter another value or
expression in the field or matrix.
Mass Source
The Mass Source node adds a mass source Qm, which appears on the right-hand side of
the Darcys Law equation (Equation 7-3, the equation for porosity).
( ) + ( u )
= Qm
t
(7-3)
MASS SOURCE
Enter a value or expression for the Mass source Qm (SI unit: kg/(m3s)). The default is
0 kg/(m3s).
Initial Values
The Initial Values node adds an initial value for the pressure that can serve as an initial
condition for a transient simulation or as an initial guess for a nonlinear solver.
IN IT IA L VA LUES
Enter a value or expression for the initial value of the Pressure p (SI unit: Pa). The
default value is 0 Pa.
Pressure
Use the Pressure node to specify the pressure on a boundary. In many cases the
distribution of pressure is known, giving a Dirichlet condition p = p0 where p0 is a
known pressure given as a number, a distribution, or an expression involving time, t,
for example.
PRESSURE
Enter a value or expression for the Pressure p0(SI unit: Pa). Enter a relative pressure
value in p0 (SI unit: Pa).
CONSTRAINT SETTINGS
T H E D A R C Y S L A W I N T E R F A C E
349
Mass Flux
Use the Mass Flux node to specify the mass flux into or out of the model domain
through some of its boundaries. It is often possible to determine the mass flux from
the pumping rate or from measurements. With this boundary condition, positive
values correspond to flow into the model domain:
n --- p = N 0
where N0 is a value or expression for the specified inward (or outward) Darcy flux.
MASS FLUX
Enter a value or expression for the Inward mass flux N0. A positive value of N0
represents an inward mass flux whereas a negative value represents an outward mass
flux. The units are based on the geometric entity: Boundaries: (SI unit: kg/(m2s)),
Edges (SI unit: kg/(ms), and Points (SI unit: kg/s)).
Inlet
The Inlet node adds a boundary condition for the inflow (or outflow) perpendicular
(normal) to the boundary:
n --- p = U 0
where U0 is a value or expression for the specified inward (or outward) Darcy velocity.
A positive value of the velocity U0 corresponds to flow into the model domain whereas
a negative value represents an outflow.
INLET
Enter a value or expression for the Normal inflow velocity U0 (SI unit: m/s). A positive
value of U0 represents an inflow velocity. A negative value represents an outflow
velocity.
Symmetry
The Symmetry node describes a symmetry boundary. The following condition
implements the symmetry condition on an axis or a flow divide:
n --- p = 0
350 |
No Flow
The No Flow node is the default boundary condition stating that there is no flow across
impervious boundaries. The mathematical formulation is:
n --- p = 0
Flux Discontinuity
Use the Flux Discontinuity node to specify a mass flux discontinuity through an interior
boundary. The condition is represented by the following equation:
n ( u 1 u 2 ) = N 0
In this equation, n is the vector normal (perpendicular) to the interior boundary, is
the fluid density, u1 and u2 are the Darcys velocities in the adjacent domains (as
defined in Equation 7-4) and N0 is a specified value or expression for the flux
discontinuity.
u = --- p
(7-4)
Enter a value or expression for the Inward mass flux N0 (SI unit: kg/(m2s)). A positive
value of N0 represents a mass flux discontinuity in the opposite direction to the normal
vector of the interior boundary.
Outlet
The Outlet node adds a boundary condition for the outflow (or inflow) perpendicular
(normal) to the boundary:
T H E D A R C Y S L A W I N T E R F A C E
351
n --- p = U 0
where U0 is a specified value or expression for the outward (or inward) Darcy velocity.
A positive value of the velocity U0 corresponds to flow out of the model domain
whereas a negative value represents an inflow.
OUTLET
Enter a value or expression for the Normal outflow velocity U0 (SI unit: m/s). A positive
value of U0 represents an outflow velocity whereas a negative value represents an
inflow velocity.
352 |
2
1-
T
--- ( u + ( u ) ) --- ( u )I
3
p
In the COMSOL Multiphysics Reference Manual see Table 2-3 for links to common
sections such as Discretization, Consistent Stabilization, and Inconsistent Stabilization,
and Advanced Settings sections, all accessed by clicking the Show button (
) and
choosing the applicable option. You can also search for information: press F1 to open
the Help window or Ctrl+F1 to open the Documentation window.
353
SETTINGS
This node specifies the properties of the Brinkman Equations interface, which describe
the overall type of fluid flow model.
Compressibility
By default the physics interface uses the Incompressible flow formulation of the
Brinkman equations to model constant density flow. Alternatively, select Compressible
flow (Ma<0.3) from the Compressibility list if there are small variations in the density,
typically dependent on the temperature (non-isothermal flow). For compressible flow
modeled with the Brinkman Equations interface, the Mach number must be below
0.3.
Swirl Flow
For 2D axisymmetric models, select the Swirl flow check box to include the swirl
velocity component, that is the velocity component u in the azimuthal direction.
While u can be nonzero, there can be no gradients in the direction.
354 |
The following dependent variables (fields) are defined for this physics interfacethe
Velocity field u (SI unit: m/s) and its components, and the Pressure p (SI unit: Pa).
ADVANCED SETTINGS
355
Mass Source
Forchheimer Drag
Volume Force
Initial Values
Fluid Properties
The following nodes(listed in alphabetical order) are described for the Laminar Flow
interface :
Flow Continuity
Inlet
Boundary Stress
Symmetry
Outlet
Wall
Open Boundary
In the COMSOL Multiphysics Reference Manual see Table 2-3 for links
to common sections and Table 2-4 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
The default Fluid material uses the Domain material (the material defined for the
domain). Select another material as needed.
Both the default Density (SI unit: kg/m3) and Dynamic viscosity (SI unit: Pas) use
values From material based on the Fluid material selection. For User defined enter
356 |
another value or expression. In this case, the default is 0 kg/m3 for the density and
0 Pas for the dynamic viscosity. The dynamic viscosity describes the relationship
between the shear stresses and the shear rate in a fluid. Intuitively, water and air have
a low viscosity, and substances often described as thick, such as oil, have a higher
viscosity. Non-Newtonian fluids have a viscosity that is shear-rate dependent. Examples
of non-Newtonian fluids include yoghurt, paper pulp, and polymer suspensions.
PO RO US MATR IX PRO PER TIES
The default Porous material uses the Domain material (the material defined for the
domain) for the porous matrix. Select another material as needed.
Both the default Porosity p (a dimensionless number between 0 and 1) and
Permeability (SI unit: m2) use values From material as defined by the Porous material
selection. For User defined select Isotropic, Diagonal, Symmetric, or Anisotropic based on
the characteristics of the thermal conductivity, and enter another value or expression.
The components of a permeability in the case that it is a tensor (xx, yy, and so on,
representing an anisotropic permeability) are available as br.kappaxx, br.kappayy,
and so on (using the default name br).
Forchheimer Drag
The Forchheimer Drag subnode is available from the context menu (right-click the Fluid
and Matrix Propertiesparent node) or from the Physics toolbar, Attributes menu. While
the drag of the fluid on the porous matrix in the basic Brinkman equations is
proportional to the flow velocity, (Darcys law drag), the Forchheimer drag is
proportional to the square of the fluid velocity. The latter term accounts for an inertial
turbulent drag effect that comes into play for fast flows through large pores. Adding
the Forchheimer term takes into account all drag contributions that the Ergun
equation covers.
FORCHHEIMER DRAG
Enter a value for the Forchheimer coefficient F (SI unit: kg/m4). The default is 0 kg/
m4.
Mass Source
The Mass Source node adds a mass source (or mass sink) Qbr to the right-hand side of
the continuity equation: Equation 7-5. This term accounts for mass deposit and/or
357
mass creation in porous domains. The physics interface assumes that the mass
exchange occurs at zero velocity.
( ) + ( u ) = Q br
t p
(7-5)
DOMAIN SELECTION
Enter a value or expression for the Source term Qbr (SI unit: kg/(m3s)). The default
is 0 kg/(m3s).
Volume Force
Use the Volume Force node to specify the force F on the right-hand side of
Equation 7-6. It then acts on each fluid element in the specified domains. A common
application is to include gravity effects.
- u
u
---+ ( u ) ----- =
p t
p
(7-6)
Q br
1
2
T
- u + F
p + ----- ( u + ( u ) ) --- ( u )I 1 + -------p
3
p2
VO L U M E F O R C E
Initial Values
The Initial Values node adds initial values for the velocity field and the pressure that can
serve as an initial condition for a transient simulation or as an initial guess for a
nonlinear solver.
INITIAL VALUES
Enter initial values or expressions for the Velocity field u (SI unit: m/s) and the Pressure
p (SI unit: Pa). The default values are 0 m/s and 0 Pa, respectively.
358 |
Fluid Properties
The Fluid Properties node adds the momentum and continuity equations to solve for
free flow in non-porous domains. The node also provides an interface for defining the
material properties of the fluid.
MODEL INPUTS
Fluid properties, such as density and viscosity, can be defined through user inputs,
variables or by selecting a material. For the latter option, additional inputs, for example
temperature and/or pressure, may be required to define these properties.
Temperature
By default, the single-phase flow interfaces are set to model isothermal flow. Hence,
the Temperature is User defined and defaults to 293.15 K. If a Heat Transfer interface
is included in the component, the temperature may alternatively be selected from this
physics interface. All physics interfaces have their own tags (Name). For example, if a
Heat Transfer in Fluids interface is included in the component, the Temperature (ht)
option is available.
Absolute Pressure
This input appears when a material requires the absolute pressure as a model input.
The absolute pressure is used to evaluate material properties, but it also relates to the
value of the calculated pressure field. There are generally two ways to calculate the
pressure when describing fluid flow: either to solve for the absolute pressure or for a
pressure (often denoted gauge pressure) that relates to the absolute pressure through
a reference pressure.
The choice of pressure variable depends on the system of equations being solved. For
example, in a unidirectional incompressible flow problem, the pressure drop over the
modeled domain is probably many orders of magnitude smaller than the atmospheric
pressure, which, when included, may reduce the stability and convergence properties
of the solver. In other cases, such as when the pressure is part of an expression for the
gas volume or the diffusion coefficients, it may be more convenient to solve for the
absolute pressure.
The default Absolute pressure pA is p+pref where p is the dependent pressure variable
from the Navier-Stokes equations, and pref is from the user input defined at the physics
interface level. When pref is non zero, the physics interface solves for a gauge pressure.
If the pressure field instead is an absolute pressure field, pref should be set to 0.
359
The Absolute pressure field can be edited by clicking Make All Model Inputs Editable
(
) and entering the desired value in the input field.
FLUID PROPERTIES
360 |
Compressibility
By default the physics interface uses the Incompressible flow formulation of the
Navier-Stokes and Brinkman equations to model constant density flow. If required,
select Compressible flow (Ma<0.3) from the Compressibility list, to account for small
361
Swirl Flow
For 2D axisymmetric components, select the Swirl flow check box to include the swirl
velocity component, that is the velocity component u in the azimuthal direction.
While u can be nonzero, there can be no gradients in the direction.
DEPENDENT VARIABLES
The following dependent variables (fields) are defined for this physics interfacethe
Velocity field u (SI unit: m/s) and its components, and the Pressure p (SI unit: Pa).
Domain, Boundary, Point, and Pair Nodes for the Free and Porous
Media Flow Interface
Theory for the Free and Porous Media Flow Interface
Domain, Boundary, Point, and Pair Nodes for the Free and Porous
Media Flow Interface
The Free and Porous Media Flow Interface has the following domain, boundary,
point, and pair nodes, listed in alphabetical order, available from the Physics ribbon
362 |
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.
Fluid Properties
Mass Source
Forchheimer Drag
Initial Values
The following nodes (listed in alphabetical order) are described for the Laminar Flow
interface:
No Viscous Stress
Flow Continuity
Inlet
Symmetry
Outlet
Wall
Open Boundary
In the COMSOL Multiphysics Reference Manual see Table 2-3 for links
to common sections and Table 2-4 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Fluid Properties
Use the Fluid Properties node to define the fluid material, density, and dynamic
viscosity.
363
FLUID PROPERTIES
The default Fluid material uses the Domain material (the material defined for the
domain). Select another material as needed.
The default Density (SI unit: kg/m3) uses values From material based on the Fluid
material selection. For User defined enter another value or expression. The default is
0 kg/m3.
The Dynamic viscosity (SI unit: Pas) uses values From material based on the Fluid
material selection. For User defined enter another value or expression. The default is
0 Pas.
Choose domains from the Selection list, to solve for porous media flow governed by
the Brinkman equations. In the domains not selected, the Free and Porous Media Flow
interface solves for laminar flow governed by the Navier-Stokes (or Stokes) equations.
POROUS MATRIX PROPER TIES
The default Porous material uses the Domain material (the material defined for the
domain) for the porous matrix. Select another material as needed.
Porosity
The default Porosity p (a dimensionless number between 0 and 1) uses values From
material as defined by the Porous material selection. For User defined enter another
value or expression. The default is 0.
Permeability
The default Permeability br (SI unit: m2) uses values From material as defined by the
Porous material selection. For User defined select Isotropic, Diagonal, Symmetric, or
Anisotropic from the list and then enter other values or expressions. The components
of a permeability in the case that it is a tensor (xx, yy, and so on, representing an
anisotropic permeability) are available as fp.kappaxx, fp.kappayy, and so on (using
the default name fp). The defaults is 0 m2.
364 |
Source Term
Enter a value or expression for an optional mass source (or sink) Source term Qbr (SI
unit: kg/(m3s)). This term accounts for mass deposit and mass creation within
domains. The physics interface assumes that the mass exchange occurs at zero velocity.
Volume Force
The Volume Force node specifies the force F on the right-hand side of the
Navier-Stokes or Brinkman equations, depending on whether the Porous Matrix
Properties node is active for the domain. Use it, for example, to incorporate the effects
of gravity in a model.
VO L U M E F O R C E
Forchheimer Drag
The Forchheimer Drag subnode is available from the context menu (right-click the
Porous Matrix Properties parent node) or from the Physics toolbar, Attributes menu.
It can be used on the domain selection that corresponds to the porous medium. For
the Brinkman equations the drag of the fluid on the porous matrix is proportional to
the flow velocity, in the same way as for Darcys law. Add a Forchheimer drag,
proportional to the square of the fluid velocity, as needed.
FORCHHEIMER DRAG
365
Initial Values
The Initial Values node adds initial values for the velocity field and the pressure that can
serve as an initial condition for a transient simulation or as an initial guess for a
nonlinear solver.
INITIAL VALUES
Enter initial values or expressions for the Velocity field u (SI unit: m/s) and for the
Pressure p (SI unit: Pa). The default values are 0 m/s and 0 Pa, respectively.
The default Boundary condition for the wall is Slip velocity. Enter values or expressions
for the components of the Velocity of moving wall uw (SI unit: m/s).
366 |
Enter a Reference pressure level pref (SI unit: Pa). The default value is 1[atm].
DEPENDENT VA RIA BLES
The dependent variables (field variables) are the Pressure and Fluid content 1. The name
can be changed but the names of fields and dependent variables must be unique within
a component.
T H E TW O - P H A S E D A R C Y S L A W I N T E R F A C E
367
CONSISTENT STABILIZATION
DISCRETIZATION
Domain, Boundary, and Pair Nodes for the Two-Phase Darcys Law
Interface
Theory for the Two-Phase Darcys Law Interface
Domain, Boundary, and Pair Nodes for the Two-Phase Darcys Law
Interface
The Two-Phase Darcys Law 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.
No Flux
Inlet
Outlet
Initial Values
Mass Flux
368 |
In the COMSOL Multiphysics Reference Manual see Table 2-3 for links
to common sections and Table 2-4 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.
(7-7)
c
( ) + ( c 1 u ) = D c c 1
t 1 p
(7-8)
CAPILLARY MODEL
For Capillary pressure, select a Pressure modelvan Genuchten (the default), Brooks and
Corey, or User defined.
For van Genuchten, enter an Entry capillary pressure pec (SI unit: Pa), the Constitutive
relations constant mvG (dimensionless), and Constitutive relations constant IvG
(dimensionless).
For Brooks and Corey, enter an Entry capillary pressure pec (SI unit: Pa) and the Pore
size distribution index p (dimensionless).
For User defined, enter a Capillary pressure pc (SI unit: Pa).
FLUID 1 PROPERTIES
Select the material to use for Fluid 1. Select Domain material (the default value) to use
the material defined for the domain. Select another material to use that materials
properties.
Define the properties for Fluid 1:
T H E TW O - P H A S E D A R C Y S L A W I N T E R F A C E
369
The default Density 1 (SI unit: kg/m3) uses values From material based on the Fluid 1
selection. For User defined enter another value or expression. The default is 0 kg/m3.
Select a Dynamic viscosity 1 (SI unit: Pas). The default uses values From material as
defined by the Fluid 1 selection. For User defined enter another value or expression. The
default is 0 Pas.
Select the Relative permeability r1 (a dimensionless number between 0 and 1) for
fluid 1. The default is 1.
FLUID 2 PROPERTIES
The settings to define the properties for Fluid 2 are similar as for Fluid 1.
MATRIX PROPERTIES
Select the material to use as porous matrix. Select Domain material (the default) from
the Porous material list to use the material defined for the porous domain. Select
another material to use that materials properties.
The default Porosity p (a dimensionless number between 0 and 1) uses the value From
material, defined by the Porous material selection. For User defined enter another value
or expression The default is 0.
The default Permeability (SI unit: m2) uses the value From material, as defined by the
Porous material selection. For User defined select Isotropic to define a scalar or Diagonal,
Symmetric or Anisotropic to enter a tensor and enter other values or expressions in the
field or matrix.
Initial Values
The Initial Values node adds initial values for the pressure and the saturation of fluid 1
(that is, the fraction of that fluid inside the pore space) that can serve as initial
conditions for a transient simulation or as an initial guess for a nonlinear solver.
INITIAL VALUES
Enter a value or expression for the initial value of the Pressure p (SI unit: Pa). The
default value is 0 Pa. Enter a value or expression for the initial value of the Saturation
fluid 1 s1 (a dimensionless number between 0 and 1). The default value is 0. The
saturation of Fluid 2 is then calculated as s2 = 1 s1.
370 |
No Flux
The No Flux node is the default boundary condition stating that there is no flow across
impervious boundaries. The mathematical formulation is:
n u = 0
where n is the vector normal to the boundary.
Also, the No Flux boundary enforces a zero gradient condition for the fluid content
across the selected boundary
n c 1 = 0
Enter a value or expression for the Pressure p (SI unit: Pa), and for the Saturation
fluid 1 s1 (a dimensionless number between 0 and 1). The default values are 0. The
Mass Flux
Use the Mass Flux node to specify the mass flux into or out of the model domain
through some of its boundaries. It is often possible to determine the mass flux from
the pumping rate or from measurements. With this boundary condition, positive
values correspond to flow into the model domain
n u = N 0
where N0 is a value or expression for the inward (or outward) Darcys flux that is
specified.
MASS FLUX AND SATURATION
Enter a value or expression for the Inward mass flux N0 (SI unit: kg/(m2s)). A positive
value of N0 represents an inward mass flux, whereas a negative value represents an
outward mass flux.
T H E TW O - P H A S E D A R C Y S L A W I N T E R F A C E
371
Inlet
The Inlet node adds a boundary condition for the inflow (or outflow) perpendicular
(normal) to the boundary:
n u = ( s 1 1 + s 2 1 )U 0
where U0 is a specified value or expression for the inward (or outward) Darcys velocity.
A positive value of the velocity U0 corresponds to flow into the model domain whereas
a negative value represents an outflow.
INLET
Enter a value or expression for the Normal inflow velocity U0 (SI unit: m/s). A positive
value of U0 represents an inflow velocity, whereas a negative value represents an
outward velocity.
Enter a value or expression for the Saturation fluid 1 s1 (a dimensionless number
between 0 and 1). The default value is 0.
Outlet
The Outlet node adds a boundary condition for the outflow perpendicular (normal) to
the boundary:
n D c c 1 = 0
where Dc is the capillary diffusion (SI unit: m2/s) and c1 = s11 is the fluid 1 content
(SI unit: kg/m3). This means that the normal gradient of fluid saturation does not
change through this boundary.
PRESSURE
Enter a value or expression for the Pressure p. The default value is 0. If the reference
pressure pref, defined at the physics interface level is 0, enter the absolute pressure.
Otherwise, enter the relative pressure.
372 |
u = --- p
(7-9)
In this equation, (SI unit: m2) denotes the permeability of the porous medium,
(SI unit: kg/(ms)) the dynamic viscosity of the fluid, p (SI unit: Pa) the pressure, and
u (SI unit: m/s) the Darcy velocity. The Darcys Law interface combines Darcys law
with the continuity equation:
( ) + ( u )
= Qm
t
(7-10)
In the above equation, (SI unit: kg/m3) is the density of the fluid, (dimensionless)
is the porosity, and Qm (SI unit: kg/(m3s)) is a mass source term. Porosity is defined
as the fraction of the control volume that is occupied by pores. Thus, the porosity can
vary from zero for pure solid regions to unity for domains of free flow.
If the Darcys Law interface is coupled to an energy balance, then the fluid density can
be a function of the temperature, pressure, and composition (for mixture flows). For
gas flows in porous media, the relation is given by the ideal gas law:
pM
= --------RT
(7-11)
T H E O R Y F O R T H E D A R C Y S L A W I N T E R F A C E
373
where R= 8.314 J/(molK) is the universal gas constant, M (SI unit: kg/mol) is the
molecular weight of the gas, and T (SI unit: K) is the temperature.
374 |
In porous domains, the flow variables and fluid properties are defined at any point
inside the medium by means of averaging of the actual variables and properties over a
certain volume surrounding the point. This control volume must be small compared
to the typical macroscopic dimensions of the problem, but it must be large enough to
contain many pores and solid matrix elements.
Porosity is defined as the fraction of the control volume that is occupied by pores.
Thus, the porosity can vary from zero for pure solid regions to unity for domains of
free flow.
The physical properties of the fluid, such as density and viscosity, are defined as
intrinsic volume averages that correspond to a unit volume of the pores. Defined this
way, they present the relevant physical parameters that can be measured experimentally,
and they are assumed to be continuous with the corresponding parameters in the
adjacent free flow.
375
(7-12)
- u
u
---+ ( u ) ----- =
p t
p
(7-13)
Q br
1
2
T
- u + F
p + ----- ( u + ( u ) ) --- ( u )I 1 + -------p
3
p2
In these equations:
(SI unit: kg/(ms)) is the dynamic viscosity of the fluid
u (SI unit: m/s) is the velocity vector
(SI unit: kg/m3) is the density of the fluid
p (SI unit: Pa) is the pressure
p is the porosity
(SI unit: m2) is the permeability tensor of the porous medium, and
Qbr (SI unit: kg/(m3s)) is a mass source or mass sink
Influence of gravity and other volume forces can be accounted for via the force term
F (SI unit: kg/(m2s2)).
When the Neglect inertial term (Stokes-Brinkman) check box is selected, the term
(u )(u/p) on the left-hand side of Equation 7-6 is disabled.
The mass source, Qbr, accounts for mass deposit and mass creation within the domains.
The mass exchange is assumed to occur at zero velocity.
376 |
The Forchheimer drag option, F (SI unit: kg/m4), adds a viscous force proportional
to the square of the fluid velocity, FF = F|u|u, to the right-hand side of
Equation 7-6.
In case of a flow with variable density, Equation 7-5 and Equation 7-6 must be solved
together with the equation of state that relates the density to the temperature and
pressure (for instance the ideal gas law).
For incompressible flow, the density stays constant in any fluid particle, which can be
expressed as
( ) + u = 0
t p
and the continuity equation (Equation 7-5) reduces to
u = Q br
377
378 |
u = --- p
(7-14)
In this equation:
u (SI unit: m/s) is the Darcy velocity vector
(SI unit: m2) is the permeability of the porous medium
(SI unit: Pas) is the fluids dynamic viscosity, and
p (SI unit: Pa) is the fluids pressure
The permeability, , represents the resistance to flow over a representative volume
consisting of solid grains and pores.
In the presence of two fluid phases, the average density and average viscosity are
calculated from the saturation and fluid property of each phase
1 = s1 + s2
(7-15)
= s1 1 + s2 2
(7-16)
r1
r2
--1- = s 1 ------- + s 2 ------1
2
(7-17)
here, s1 and s2 represent the saturation of each phase, 1 and 2 the densities, and r1
and r2 the relative permeabilities.
The Two-Phase Darcys Law interface combines Darcys law (Equation 7-14) with the
continuity equation for the average density
( p ) + ( u ) = 0
t
(7-18)
T H E O R Y F O R T H E TW O - P H A S E D A R C Y S L A W I N T E R F A C E
379
here, p is the porosity, defined as the fraction of the control volume that is occupied
by pores. Inserting Darcys law (Equation 7-14) into the continuity equation
(Equation 7-18) produces the governing equation
( p ) + --- p = 0
(7-19)
When either of the fluids is compressible, its density can be related to the pressure (for
instance using the ideal gas law).
Capillary Pressure
Beside the continuity equation for the mixture (Equation 7-19), the Two-Phase
Darcys Law interface also solves the transport equation for the fluid content of one of
the phases, c1 = s11
( c ) + ( c 1 u ) = D c c 1
t p 1
(7-20)
here, Dc (SI unit: m2/s) is the capillary diffusion coefficient, which can be directly
specified, or it can be derived from a capillary pressure expression. Normally, the fluid
content c1 will be the concentration of the wetting phase.
When capillary pressure is selected as capillary model, the capillary diffusion coefficient
is computed from the saturation of one of the phases and the capillary pressure
r1
p c
D c = -------- ( s 1 1 )
1
s1
(7-21)
The capillary pressure is defined as the pressure difference between the phases, and it
can be defined as a function of saturation, pc(s1). The capillary pressure can be a user
defined expression, or it can be derived from van Genuchten or Brooks and Corey
models.
For van Genuchten model, the expression for the capillary pressure as a function of
saturation follows the curve
1
1 m
- 1
p c = p ec ---------- s 11 m
380 |
(7-22)
For the Brooks and Corey model, the capillary pressure curve depends on saturation as
1p c = p ec ---------1
s1
(7-23)
T H E O R Y F O R T H E TW O - P H A S E D A R C Y S L A W I N T E R F A C E
381
382 |
)
accommodate all types of material transport that can occur through diffusion and
convection. The section Modeling Chemical Species Transport helps you choose
the best physics interface to start with.
In this chapter:
The Transport of Diluted Species Interface
The Transport of Concentrated Species Interface
The Reacting Flow Multiphysics Interfaces
The Reacting Flow in Porous Media Interfaces
Theory for the Transport of Diluted Species Interface
Theory for the Transport of Concentrated Species Interface
Theory for the Reacting Flow Interfaces
Theory for the Reacting Flow in Porous Media Interfaces
383
384 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
M O D E L I N G C H E M I C A L S P E C I E S TR A N S P O R T
385
386 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
- 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 (
physics interface displays under Added physics interfaces.
- In the Add Physics window, click Add to Component (
Add to Component.
). The
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 informationclick the
node in the Model Builder, then, on the Settings window under Dependent
Variables, specify the information.
4 Continue by adding more interfaces and specifying the number of species
M O D E L I N G C H E M I C A L S P E C I E S TR A N S P O R T
387
value into the Number of species field. Click the Remove Concentration button (
underneath the table if required.
The Transport of Concentrated Species interface needs 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.
388 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
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.
Some features are only available in a limited set of add-on products. For
a detailed overview of which features are available in each product, visit
http://www.comsol.com/products/specifications/
SETTINGS
If any parts of the model geometry should not partake in the mass transfer model,
remove that part from the selection list.
TR A N S P O R T M E C H A N I S M S
Diffusion is always included. By default, the Convection check box is selected under
Additional transport mechanisms.
T H E TR 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
389
Note: Not all additional transport mechanisms listed below are available in all
products. For details see http://www.comsol.com/products/specifications/.
Select the Migration in electric field check box to activate the migration transport of
ionic species. See further the theory section Adding Transport Through Migration.
Select the Adsorption in porous media check box to activate the adsorption of solutes
in porous media. See further Adsorption.
Select the Dispersion in porous media check box to activate the dispersion mechanism
in porous media. See further Dispersion in the theory chapter.
Select the Volatilization in partially saturated porous media check box to model
volatilization in partially saturated domains. Theory for the Transport of Diluted
Species Interface
CONSISTENT 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 Galeothe 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 Galeo
option but can result in more undershoots and overshoots. It is also less effective
for anisotropic meshes. The Codina option activates a text field for the Lower
gradient limit glim. It defaults to 0.1[mol/m^3)/tds.helem, where tds.helem
is the local element size.
For both consistent stabilization methods, select an Equation residual. Approximate
residual is the default and means that derivatives of the diffusion tensor components
are neglected. This setting is usually accurate enough and is computationally faster.
If required, select Full residual instead.
INCONSISTENT STABILIZATION
390 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
ADVANCED SETTINGS
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 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 non-conservative form.
Also the Apply smoothing to boundary fluxes check box is available if the previous check
box is checked. The smoothing can provide a more well-behaved flux value close to
singularities.
For details about the boundary fluxes settings, see Computing Accurate Fluxes in the
COMSOL Multiphysics Reference Manual.
The Value type when using splitting of complex variables setting should in most pure
mass transfer problems be set to Real, which is the default. It makes sure that the
dependent variable does not get affected by small imaginary contributions, which can
occur, for example, when combining a Time Dependent or Stationary study with a
frequency-domain study. For more information, see Splitting Complex-Valued
Variables in the COMSOL Multiphysics Reference Manual.
T H E TR 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
391
DEPENDENT VARIABLES
The dependent variable name is 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 (
concentration (
) buttons as needed.
) and Remove
FURTHER READING
392 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
reaction rate expressions and solute sources for modeling of species transport and
reaction in porous media.
Not all additional transport mechanisms listed below are available in all
products. For details, see http://www.comsol.com/products/
specifications/.
This interface includes free and porous media flow with immobile and mobile phases,
including diffusion, convection, dispersion, adsorption, and volatilization in porous
media. It 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 Media Transport Properties and Partially
Saturated Porous Media 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,
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
BuilderPorous Media Transport Properties, 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
T H E TR 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
393
Concentration
Periodic Condition
Flux
Flux Discontinuity
Reactions
Inflow
Symmetry
Initial Values
No Flux
Transport PropertiesTurbulent
Mixing
Open Boundary
Outflow
Some features may require certain add-on modules. See details http://
www.comsol.com/products/specifications/
394 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
In the COMSOL Multiphysics Reference Manual, see Table 2-3 for links
to common sections and Table 2-4 for common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Transport Properties
The settings in this node are dependent on the check boxes selected under Transport
Mechanisms on the Settings window for the Transport of Diluted Species interface. It
includes only the sections required by the activated transport mechanisms. It has all the
equations defining transport of diluted species as well as inputs for the material
properties.
When the Convection check box is selected, the Turbulent Mixing subnode is available
from the context menu as well as from the Physics toolbar, Attributes menu. Note that
this feature is only available in some COMSOL products. See details: http://
www.comsol.com/products/specifications/.
MODEL INPUTS
T H E TR 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
395
When the Migration in electric field check box is selected on the Settings window for
Transport of Diluted Species, select the source of the electric potential field and,
optionally, temperature.
Enter values or expressions for the Electric potential V, which is User defined; this
input option is always available.
Select the electromagnetic field solved by an AC/DC-based interface that has also
been added to the model. This works like the velocity field model input described
above.
The default mobility model is the Nernst-Einstein relation. This also requires a
temperature input, which will be exposed in the same manner as the electric
potential described above.
Note that the migration in electric fields feature is only available in some COMSOL
products. See details: http://www.comsol.com/products/specifications/.
DIFFUSION
Select an option from the Material list. This selection list can only be used if a material
has been added in the Materials node and if that material has a diffusion coefficient
defined. Else, you need to type in the diffusivity in the User Defined edit field.
Enter the Diffusion coefficient Dc for each species. This can be a scalar value for isotropic
diffusion or a tensor describing anisotropic diffusion. Select the appropriate tensor
type Isotropic, Diagonal, Symmetric, or Anisotropic 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 add-on products. See details: http://
www.comsol.com/products/specifications/.
MIGRATION IN ELECTRIC FIELD
This section is available when the Migration in electric field check box is selected. 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 typeIsotropic, Diagonal, Symmetric, or
Anisotropicand 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.
396 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
Specify the temperature (if you are using mobilities based on the Nernst-Einstein
relation) and electric field in the Model Inputs section.
EXAMPLE MODELS
Web link:
http://www.comsol.com/model/electrokinetic-valve-603
Turbulent Mixing
Note that the Turbulent Mixing node is only available for some product add-ons. See
details: http://www.comsol.com/products/specifications/.
This subnode is available from the context menu (right-click the Transport Properties
parent node) as well as from the Physics toolbar, Attributes menu, if Convection is
selected as a transport mechanism. Use this node to account for the turbulent mixing
caused by the eddy diffusivity. An example is when the specified velocity field
corresponds to a RANS solution.
TU R B U L E N T M I X I N G P A R A M E T E R S
Some physics interfaces provide the turbulent kinematic viscosity, and these appear as
options in the Turbulent kinematic viscosity T list. The list always contains the User
defined option where any value or expression can be entered.
The default Turbulent Schmidt number ScT is 0.71 (dimensionless).
T H E TR 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
397
FURTHER READING
See the section About Turbulent Mixing in the CFD Module Users Guide (this link
is available online or if you have the CFD Module documentation installed).
Turbulent Mixing of a Trace Species: Application Library path
CFD_Module/Single-Phase_Tutorials/turbulent_mixing
Web link:
http://www.comsol.com/model/
turbulent-mixing-of-a-trace-species-12727
Initial Values
This 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 start 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.
398 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR 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/(m3s)) for species i. Enter a value or expression
in the field. Note that if you have the Chemistry interface available, provided with the
Chemical Reaction Engineering Module, the reaction rate expressions can be
automatically generated and picked up using the drop-down menu. For an example,
see the application Fine Chemical Production in a Plate Reactor as linked below.
R E A C T I N G VO L U M E
When specifying reaction rates for a species in porous media, the specified reaction rate
may have the basis of the total volume, the pore volume, or the volume of a particular
phase. For nonporous domains, the settings of the Reacting Volume section has no
impact.
The Reacting Volume section is only available in the products that
provide the Transport of Diluted Species in Porous Media interface. See
details: http://www.comsol.com/products/specifications/.
For Total volume, the reaction expressions in mol/(m3s) are specified per unit
volume of the model domain (multiplied by unity).
For Pore volume, the reaction expressions in mol/(m3s) 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).
T H E TR 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
399
For Liquid phase, the reaction expressions in mol/(m3s) are specified per unit
volume of liquid in the pore space. The expressions will be multiplied by the liquid
volume fraction . ( equals p for Saturated Porous Media domains).
For Gas phase, the expressions are multiplied by the gas volume fraction av = p .
av equals 0 for Saturated Porous Media domains.
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
No Flux
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.
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.
400 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
B O U N D A R Y C O N D I T I O N TY P E
This section in the settings is only available for some products. Search for Inflow on
the page: http://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
Outflow
This node is not available if Diffusion only is included in the model.
Set this condition at outlets where species are transported out of the model domain by
fluid motion. It is assumed that convection is the dominating transport mechanism
across outflow boundaries, and therefore that diffusive transport can be ignored, that
is:
n ( D c ) = 0
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 (SI unit: mol/m3) for each species. Select the
check box for the Species to specify the concentration, and then enter a value or
T H E TR 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
401
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
Flux
This node can be used to specify the total species flux across a boundary. The total flux
of species c is defined accordingly:
n ( cu Dc ) = N 0
where N0 is an arbitrary user-specified flux expression (SI unit: mol/(m2s)). For
example, N0 can represent a flux from or into a much larger surrounding environment,
a phase change, or a flux due to chemical reactions. N0 can also be a function of the
concentration and the electric potential (if the mass transport includes migration of
ionic species).
When diffusion is the only transport mechanism present, the flux condition is extended
to include a mass transfer term to describe flux into a surrounding environment:
n ( Dc ) = N 0 + k c ( c b c )
where kc is a mass transfer coefficient (SI unit: m/s), and cb is the concentration
(SI unit: mol/m3) in the surroundings of the modeled system (the bulk
concentration). The mass transfer coefficient (to be specified) is often given by
boundary-layer theory.
INWARD FLUX
This is used to individually specify the flux of each species. To use another boundary
condition for a specific species, click to clear the check box for the mass fraction of that
species.
Note: Use a minus sign when specifying a flux leaving the system.
402 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
Symmetry
The Symmetry node can be used to represent boundaries where the species
concentration is symmetric, that is, where there is no mass flux in the normal direction
across the boundary.
This boundary condition is identical to that of the No Flux node, but applies to all
species and cannot be applied to individual species.
Flux Discontinuity
This node represents a discontinuity in the mass flux across an interior boundary:
n ( Nd Nu ) = N0
N = ( cu Dc )
where the value N0 (SI unit: mol/(m2s)) specifies the jump in 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.
Periodic Condition
The Periodic Condition node can be used to define periodicity or antiperiodicity
between two boundaries. The node can be activated on more than two boundaries, in
which case the feature tries to identify two separate surfaces that can each consist of
several connected boundaries. For more complex geometries, it might be necessary to
add the Destination Selection subnode, which is available from the context menu
(right-click the parent node) as well as from the Physics toolbar, Attributes menu.
With this subnode, the boundaries that constitute the source and destination surfaces
can be manually specified.
T H E TR 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
403
FURTHER READING
The Line Mass Source feature is available for all dimensions, but the applicable selection
differs between the dimensions.
MODEL DIMENSION
2D
Points
2D Axisymmetry
3D
Edges
SPECIES SOURCE
Enter the source strength, q l,c , for each species (SI unit: mol/(ms)). 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
404 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
Enter the source strength, q p,c , for each species (SI unit: mol/s). 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
Open Boundary
This feature is only available in a limited set of add-on products. See http://
www.comsol.com/products/specifications/ for more details on availability.
Use this node to set up mass transport across boundaries where both convective inflow
and outflow can occur. Use this boundary condition to 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 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 provided as a model input to the Transport of Diluted Species
interface.
EXTERIOR CONCENTRATION
T H E TR 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
405
Enter a Layer thickness ds (SI unit: m). The default is 0.005 m (5 mm). Enter a
Diffusion coefficient Ds,c (SI unit: m2/s). The default is 0.
Equilibrium Reaction
This feature is only available in a limited set of add-on products. See http://
www.comsol.com/products/specifications/ for more details on availability.
Use this node to model an equilibrium reaction in a domain. This feature is available
with two species or more.
The equilibrium reaction is defined by the relation between the chemical activities of
the chemical species participating in the reaction (the equilibrium condition) and the
stoichiometry of the reaction.
The node solves for an additional degree of freedom (the reaction rate) 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.
406 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
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). The
default is 1. Enter a value or expression for the Unit activity concentration Ca0 (SI
unit: mol/m3). The default is 110-3 mol/m3. Equilibrium constant creates 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.
T H E TR 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
407
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
non-negligible 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.
Reaction Coefficients
Add this node to the Electrode-Electrolyte Interface 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 Faradays law.
All current densities from the Electrode Reaction (iloc, SI unit: A/m2) or the Porous
Electrode Reaction (iv, SI unit: A/m3) nodes 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 Electrode Reaction documentation or
the theory section.
Use multiple subnodes to couple to multiple reactions.
408 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
Select an option from the Porous material list. The default is Domain material.
By default the Porosity, p (dimensionless) is taken From material. For User defined,
enter a different value. The default is 0.3.
When the Adsorption in porous media check box is selected on the Settings window for
the physics interface, the default Density (SI unit: kg/m3) is taken From material. For
User defined, enter a different value. The default is 1400 kg/m3.
DIFFUSION
This section is available when the Adsorption in porous media check box is selected on
the Settings window for the physics interface.
T H E TR 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
409
This section is available when the Dispersion in porous media check box is selected on
the Settings window for the physics interface.
Select the Specify dispersion for each species individually check box to specify the
dispersion tensor DD (SI unit: m2/s) for each species separately. The default is to use
the same dispersion tensor DD for all species.
Select an option from the Dispersion tensor listUser defined (the default) or
Dispersivity. For User defined, use it to specify the dispersion components as
user-defined constants or expressions. Select Isotropic, Diagonal, Symmetric, or
Anisotropic based on the properties of the dispersion tensor.
Select Dispersivity when Convection has been added as the transport mechanism. Specify
the dispersivities (SI unit: m) to define the dispersion tensor DD (SI unit: m2/s)
together with the velocity field u. 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.
FURTHER READING
410 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
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).
DIFFUSION
This section is available when the Adsorption in porous media check box is selected on
the Settings window for the physics interface. The settings are the same as for Porous
Media Transport Properties.
T H E TR 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
411
DISPERSION
This section is available when the Dispersion in porous media check box is selected on
the Settings window for the physics interface. The settings are the same as for Porous
Media Transport Properties.
VO L A T I L I Z A T I O N
This section is available when the Volatilization in partially saturated porous media check
box is selected on the Settings window for the physics interface.
Enter a value for the Volatilization kG,c (dimensionless) for each species.
Volatilization
This feature is only available in a limited set of add-on products. See http://
www.comsol.com/products/specifications/ for more details on availability.
This feature is available when the Volatilization in partially saturated porous media check
box is selected on the Settings window for the physics interface.
Use the boundary condition to model a thin layer through which mass is transported
by volatilization only. To set up the node, specify the layer thickness and the
atmospheric concentration of each species in the thin layer for each transported
species.
VO L A T I L I Z A T I O N
Enter a Layer thickness ds and the atmospheric concentration for each species. The Gas
diffusion coefficient DG,c (SI unit: m2/s) and the Volatilization coefficient kG,c
(dimensionless) for each species are taken from the adjacent Partially Saturated Porous
Media domain.
412 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
BED PARAMETERS
Here you can specify the bed porosity, which is the void fraction in the packed bed
structure. Select From densities to calculate the porosity from the bed density and the
individual pellet density. Select User defined to specify the porosity directly.
PELL ET SH APE AN D SIZE
The default shape is spherical. Cylinders, flakes, and user-defined shapes can also be
selected. A uniform pellet size or a discrete size distribution can be selected. Select a
Pellet size distributionUniform size (the default), Two sizes, Three sizes, Four sizes, or
Five sizes to select up to five different particle sizes.
Depending on the shape selection, equivalent radii or volumes and surface areas will
be required as input. If a size distribution is selected, the volume percentage of each
size is required as input.
Note that different chemical reactions can be specified for each pellet size if a
distribution is specified.
SURFACE SPECIES
In order to add surface species, click the Add button and enter the species name in the
Surface species table. Added surface species are be available inside all pellet types
defined in the Pellet Shape and Size section, but not in the bulk fluid.
For each pellet type, specify the Reactive specific surface area, Sb,reac (SI unit: 1/m),
corresponding to the surface area, per volume, available for surface reactions.
PELL ET PARA MET ERS
Enter a Pellet porosity pe (dimensionless) to specify the porosity of the pellet internals.
Select Diffusion modelMillington 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 value for the tortuosity
pe within the pellet is required.
Enter also the Diffusion coefficient Dpe,c (SI unit: m2/s). If a User defined diffusion
model is selected, an Effective diffusion coefficient Dpeff,c (SI unit: m2/s) is entered. The
default value is 110-9 m2/s in both cases.
T H E TR 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
413
PELLET-FLUID SURFACE
For the coupling of concentration between the pellet internals and the surrounding
fluid, two Coupling type options are available:
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: c pe,i = c i . 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:
N i,inward = h D, i ( c i c pe, i ) .
The Film resistance (mass flux) option computes the inward surface flux,
Ni,inward=hDi(ci-cpe,i). 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. User defined is also
available for explicit surface area specification.
The Sherwood number expression can be computed from three available expressions:
Frssling, Rosner, and Garner and Keey. The Frssling 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. Select these to be taken either From material or choose
the User defined alternative.
PELLET DISCRETIZATION
The extra dimension in the pellet needs to be discretized into elements. Select a
DistributionCubic root sequence (the default), Linear, or Square root sequence. Enter
the Number of elements Nelem.
CONSTRAINT SETTINGS
414 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
Reaction Terms.
FURTHER READING
Theory for the Reactive Pellet Bed in the Theory section of this manual.
For an application using the Reactive Pellet Bed feature, see
A Multiscale 3D Packed Bed Reactor: Application Library path
Chemical_Reaction_Engineering_Module/Reactors_with_Porous_Catalysts/
packed_bed_reactor_3d
Reactions
The Reactions subfeature to the Reactive Pellet Bed is used to define reaction terms to
the transport within the reactive pellets. The feature also defines the corresponding
averaged heat sources to be applied to heat transport in the bulk fluid.
DOMAIN SELECTION
From the Selection list, choose the domains on which to define rate expression or
expressions that govern source terms 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/(m3s)) for species i using a value or an
expression. One reaction rate per species and pellet type can be entered.
Note that if you have the Chemistry interface available, provided with the Chemical
Reaction Engineering Module, the reaction rate expressions can be automatically
generated and picked up using the drop-down menu. For an example, see the
application Fine Chemical Production in a Plate Reactor as linked below.
SURFACE REACTION RATES
The section is available when one or more surface species have been added in the
Surface Species section of the Reactive Pellet Bed feature.
Specify the rate expression Rsurf,i (SI unit: mol/(m2s)) corresponding to the surface
reaction rate of each volumetric species i participating in the surface reaction.
T H E TR 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
415
Furthermore, specify the surface reaction rates for the participating surface species in
the corresponding table.
If several pellet types have been defined, one set of surface reaction rates per pellet type
can be defined.
Note that if you have the Chemistry interface available, provided with the Chemical
Reaction Engineering Module, the reaction rate expressions can be automatically
generated and picked up using the drop-down menu.
HEAT SOURCE
Specify the heat source originating from the heat of reaction of the chemical reactions
inside the pellet can be specified. Both heat sources from reactions in the fluid, and
heat sources resulting from surface reactions can be defined. When using several pellet
types, heat sources for each type can be added.
The heat sources are most conveniently picked up from a Chemistry feature that
defines the reaction rate and the heat of reactions. In that case, the Rate expression can
be selected from the drop-down menu. Else it can be set to User Defined.
The defined heat source can be used by a Heat Source feature in any of the heat
transfer interfaces.
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/(m3s)) for each of the species solved for. Enter a
value or expression in the field of the corresponding species.
416 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
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 strain can be written as
hs = h ( c mo c mo,ref )
where h is the coefficient of hygroscopic swelling, cmo is the moisture concentration,
and cmo,ref is the strain-free reference concentration.
It 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 http://www.comsol.com/
products/specifications/.
FURTHER READING
More information about how to use hygroscopic swelling can be found in Hygroscopic
Swelling Coupling section in the Structural Mechanics Module Users Guide.
More information about multiphysics coupling nodes can be found in the section The
Multiphysics Node.
T H E TR 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
417
T he T r a ns po r t of Con c en t rat ed
Species Interface
The Transport of Concentrated Species (tcs) interface (
), found under the Chemical
) 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.
Species Transport branch (
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, Maxwell-Stefan, or Ficks law).
The available transport mechanisms and diffusion models differs between various
COMSOL products (see http://www.comsol.com/products/specifications/).
Some examples of what can be studied with this physics interface include:
The evolution of 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.
418 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
SETTINGS
(8-1)
The displayed formulation changes depending on the active transport mechanisms and
the selected diffusion model.
TR A N S P O R T M E C H A N I S M S
The Transport of Concentrated Species interface always accounts for transport due to
diffusion.
The available diffusion models and the additional transport mechanisms differs
between various COMSOL products (see http://www.comsol.com/products/
specifications/).
Diffusion Model
The Maxwell-Stefan option employs the most detailed diffusion model, but is also the
most computationally expensive. The model is intended for diffusion dominated
models, and requires that the multicomponent Maxwell-Stefan diffusivities of all
component pairs are known. No stabilization is available when selecting this model.
The Mixture-averaged option is less computationally expensive than the
Maxwell-Stefan model. It is a simpler model that can be used when variations in the
partial pressures and temperature can be assumed to not affect the multicomponent
diffusion. The model includes stabilization but requires the multicomponent
Maxwell-Stefan diffusivities of all component pairs.
The Ficks 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
T H E TR 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
419
low order model is wanted, the Ficks law options should be used. The model
includes stabilization.
Knudsen Diffusion
For Mixture-averaged and Ficks law, it is possible to include Knudsen diffusion. This
mechanism accounts for species collisions with the surrounding media, for example,
the pore walls the species pass through. It is also an important component when setting
up a Dusty gas model. The migration of ionic species is not active by default. Click to
select the Migration in electric field check box to activate migration. The migration term
is part of the relative mass flux vector.
M
T
where the last term on the right-hand side is the migratory flux, which is added by
selecting the Migration in electric field check box.
m
where Dik (SI unit: m2/s) is the multicomponent Maxwell-Stefan diffusivities, which
are supplied as inputs to the model.
j i = i
k=1
420 |
i
d D
D
ik k -------- T
T
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
where D ik (SI unit: m2/s) are the multicomponent Fick diffusivities, dk (SI unit: 1/
T
m) is the diffusional driving force, T (SI unit: K) is the temperature, and D i (SI
unit: kg/(ms)) is the thermal diffusion coefficient.
The diffusional driving force is defined as
Q
1
d k = x k + --- ( x k k ) p k g k + k
p
l gl
(8-2)
l=1
where gk is an external force (per unit mass) acting on species k. In the case of an ionic
species, the external force due to the electric field, which is added by selecting the
Migration in electric field check box, is
zk F
g k = ---------
Mk
(8-3)
where zk is the species charge number, F (SI unit: As/mol) is Faradays constant and
(SI unit: V) is the electric potential.
M
T
F
Select the species that this physics interface solves for using the mass constraint in
Equation 8-4 (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 errors, use the species with the highest
concentration. By default, the first species is used.
Q
1 = 1
(8-4)
i=2
T H E TR 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
421
There are two consistent stabilization methods available when using the
Mixture-Averaged Diffusion Model or Ficks Law Diffusion ModelStreamline
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 Ficks Law Diffusion Model.
ADVANCED SETTINGS
Regularization
From the Regularization list, select On (the default) or Off. When turned On, regularized
mass fractions are calculated such that
0 w i, reg 1
Regularized mass fractions are used for the calculation of composition-dependent
material properties, such as the density.
422 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
DISCRETIZATION
Web link:
http://www.comsol.com/model/
species-transport-in-the-gas-diffusion-layers-of-a-pem-260
DEPENDENT VA RIA BLES
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,
) under the table.
select it in the list and click the Remove concentration 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 component.
T H E TR 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
423
In the COMSOL Multiphysics Reference Manual see Table 2-3 for links
to common sections and Table 2-4 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.
Flux Discontinuity
Reaction
Inflow
Reaction Sources
Initial Values
Symmetry
Mass Fraction
No Flux
Turbulent Mixing
Open Boundary
Transport Properties
Outflow
1 The node is described for the Transport of Diluted Species interface.
424 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
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.
When the Convection check box is selected, the Turbulent Mixing subnode is available
from the context menu as well as from the Physics toolbar, Attributes menu.
The options available in this feature differs between COMSOL products. (See http:/
/www.comsol.com/products/specifications/).
MODEL INPUTS
Specify the velocity field, the pressure, and the temperature to be used in the physics
interface. The velocity becomes the model input for the convective part of the
transport. The pressure model input is used in the diffusional driving force in
Equation 8-2 (that is, when a Maxwell-Stefan Diffusion Model is used) and when
calculating the density from the ideal gas law. 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. If the model includes
migration, this section also includes the electric potential as the model input for
transport due to migration in an electric field.
Velocity Field
Select the source of the Velocity field u:
Select User defined to enter manually defined values or expressions for the velocity
components (SI unit: m/s). 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.
T H E TR 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
425
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.
Electric Potential
When the transport feature includes migration, select the source of the Electric
potential V:
Select User defined to enter a value or expression for the electric potential
(SI unit: V). 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.
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 listIdeal gas or User
defined:
For Ideal gas, the density is computed from the ideal gas law in the manner of:
426 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
pM
= ----------Rg T
Here M is the mean molar mass of the mixture and Rg is the universal gas constant.
The absolute pressure, p, and temperature, T, used corresponds to the ones defined
in the Model Inputs section.
For User defined enter a value or expression for the Mixture density .
Molar Mass
Enter a value or expression for the Molar mass Mw for each species. The default value
is 0.032 kg/mol, which is the molar mass of O2 gas.
DIFFUSION
Specify the molecular and thermal diffusivities of the present species based on the
selected Diffusion model.
When using a Maxwell-Stefan Diffusion Model or a Mixture-Averaged Diffusion
Model, specify the Maxwell-Stefan diffusivity matrix Dik and the Thermal diffusion
T
coefficients D w .
F
When using a Ficks Law Diffusion Model, specify the Diffusion coefficient D w and the
T
Thermal diffusion coefficients D w for each of the species.
Diffusion Coefficient
Using a Ficks Law Diffusion Model, the diffusion is by default assumed to be isotropic
F
and governed by one Diffusion coefficient D w (SI unit: m2/s) for each species. To allow
for a general representation, it is also possible to use diffusion matrices (diagonal,
symmetric, or anisotropic).
T H E TR 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
427
The Knudsen diffusion transport mechanism accounts for the interaction of the species
with the surroundings (inter-species collisions excluded), for example the pore wall
when a species passes through porous media.
Depending on which Diffusion model is selected, either the Ficks law or the
M
Mixture-averaged diffusion coefficient D i is corrected with the Knudsen diffusion
K
coefficient D i in the following way
MK
Di
-1
1
1 -
- + ------= -------
M
K
Di
Di
For gases, the Kinetic gas theory is often valid and requires the Mean path length path
(SI unit: m). Typically, for transport in porous media, the pore diameter can be entered
here. For other cases, choose User defined.
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.
Settings for the mobilities are used for the Mixture-averaged and Ficks 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: smol/kg) and enter one
value for each species.
Enter the Charge number zc (dimensionless, but requires a plus or minus sign) for each
species.
Specify the temperature (if you are using mobilities based on the Nernst-Einstein
relation) and electric field in the Model Inputs section.
428 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
Specify the velocity field, the pressure, and the temperature to be used in the physics
interface. The velocity becomes the model input for the convective part of the
transport. The pressure model input is used in the diffusional driving force in
Equation 8-2 (that is, when a Maxwell-Stefan Diffusion Model is used) and when
calculating the density from the ideal gas law. 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. If the model includes
migration, this section also includes the electric potential as the model input for
transport due to migration in an electric field.
Velocity Field
Select the source of the Velocity field u:
Select User defined to enter values or expressions for the velocity components
(SI unit: m/s). 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.
T H E TR 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
429
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.
Electric Potential
When the migration has been 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
(SI unit: V). 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.
MATRIX PROPERTIES
Enter a value or expression for the Porosity, p (dimensionless), of the porous media.
In order use a porosity defined in a material; specify the material using the Porous
material list, and select From material from the Porosity list.
DENSITY
Use this section to define the mixture density, and to specify the molar masses of the
participating species.
430 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
Mixture Density
Select a way to define the density from the Mixture density listIdeal gas or User
defined:
For Ideal gas, the density is computed from the ideal gas law in the manner of:
pM
= ----------Rg T
Here M is the mean molar mass of the mixture and Rg is the universal gas constant.
The absolute pressure, p, and temperature, T, used corresponds to the ones defined
in the Model Inputs section.
For User defined enter a value or expression for the Mixture density .
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.
DIFFUSION
Specify the species molecular and thermal diffusivities in nonporous media in the
manner described for the Transport Properties node.
To account for the effect of porosity in the diffusivities, select an Effective diffusivity
modelMillington and Quirk model, Bruggeman model, Tortuosity model, or No
correction. Using one of the first four models, the effective transport factor, fe, is
defined from the porosity and the fluid tortuosity factor in the manner of:
p
f e = ----F
(8-5)
For the Millington and Quirk model, the effective transport factor is F = p
For the Bruggeman model, the effective transport factor is F =
1 2
p
.
This section is available when the Migration in electric field check box is selected for the
Transport of Concentrated Species interface.
T H E TR 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
431
Settings for the mobilities are needed for the Mixture-averaged and Ficks law diffusion
models. By default the mobility is set to be calculated based on the species diffusivities
(adjusted by the Effective diffusivity model in the Diffusion section) using the
Nernst-Einstein relation. To manually specify the mobilities, select User defined for the
mobility um,w (SI unit: smol/kg) and enter one value for each species.
Enter the Charge number zc (dimensionless, but requires a plus or minus sign) for each
species.
Specify the temperature (if you are using mobilities based or the Nernst-Einstein
relation) and electric field in the Model Inputs section.
Turbulent Mixing
Use this node to account for the turbulent mixing caused by the eddy diffusivity. An
example is when the specified velocity field corresponds to a RANS solution.
The Turbulent Mixing subnode is available from the context menu (right-click the
Transport Properties parent node) or from the Physics toolbar, Attributes menu. The
node defines the turbulent kinematic viscosity using a turbulent Schmidt number.
This feature is available if Convection is selected as a transport mechanism and if the
Diffusion model is Mixture-averaged or Ficks law.
TU R B U L E N T M I X I N G
Some physics interfaces provide the turbulent kinematic viscosity, and these appear as
options in the Turbulent kinematic viscosity T (SI unit: m2/s) list. The list always
contains the User defined option that makes it possible to enter any value or expression.
The default Turbulent Schmidt number ScT is 0.71 (dimensionless).
Reaction
Use the Reaction node to define species source terms resulting from a single chemical
reaction. For turbulent flow, the Reaction node includes the Eddy-dissipation
turbulent-reactions model.
432 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
REACTION RATE
Select a Reaction rateAutomatic (the default), or User defined. Selecting Automatic the
laminar flow reaction rate is computed using the mass action law.
For User defined, input a custom expression or constants for the Reaction rate r.
Specify the reaction stoichiometry by entering values for the stoichiometric coefficients
(dimensionless) of each species. Enter negative values for reactants and positive values
for products.
RATE CONSTANTS
When the Use Arrhenius expressions check box is not selected, input custom expressions
or constants for the Forward rate constant kf and Reverse rate constant kr.
When the Use Arrhenius expressions check box is selected, enter values for the following
parameters of the forward and reverse reactions:
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)
TU R B U L E N T F L OW
Note this section is only available when then licensed to the CFD Module (see http:/
/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-disspation, turbulent flow will be
accounted for in the reaction mass sources in the manner described in The Reaction
Source Term for Turbulent Flow. 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.
T H E TR 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
433
Reaction Sources
In order to account for consumption or production of species due to one or more
reactions, the Reaction Sources node adds source terms to the right-hand side of the
species transport equations.
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.
R E A C T I N G VO L U M E
When specifying reaction sources for a species in porous media, the specified mass
source may have the basis of the total volume, or the pore volume. For nonporous
domains, the Reacting Volume setting has no impact.
For Total volume, the reaction mass source expressions are specified per unit volume
of the model domain.
For Pore volume, the reaction mass source expressions are specified per unit volume
pore space. In this case the reaction mass sources will be multiplied by the domain
porosity p (p equals unity for nonporous domains).
Initial Values
The Initial Values node adds initial values for the mass fractions that can serve as an
initial condition for a transient simulation, or as an initial guess for a nonlinear solver.
If required, add additional Initial Values nodes from the Physics toolbar.
INITIAL VALUES
The initial mass fractions can be specified using a number of quantities. Select the type
of input from the Mixture specification list. Select:
Mass fractions (the default) to enter mass fractions ( 0, 1 for example)
Mole fractions to enter mole fractions ( x 0, 1 for example)
434 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
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.
MASS FRACTION
Specify the mass fraction for each species individually. Select the check box for the
species to specify the mass fraction, and enter a value or expression in the
corresponding field. To use another boundary condition for a specific species, click to
clear the check box for the mass fraction of that species.
CONSTRAINT SETTINGS
T H E TR 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
435
Flux
The Flux node can be used to specify the total mass flux across a boundary. The total
inward flux is defined in the manner of:
n ( i u + j i ) = N 0, i
(8-6)
In Equation 8-6, N0,i (SI unit: Pas/m) is an arbitrary flux expression for species i and
can be a function of i, temperature, pressure or even electric potential. Set the mass
flux 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 boundaries. The Flux node can, for example, be used to describe a
heterogeneous reaction or a separation process occurring at the boundary.
INWARD FLUX
Specify the Inward flux for each species individually. Select the check box for the species
to prescribe a flux and enter a value or expression for the flux 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.
Inflow
The Inflow node adds a boundary condition for an inflow boundary where one
condition for each species is specified. It is available for exterior boundaries. The
condition can be specified using the following quantities:
The mass fraction: = 0
The mole fraction: x = x0
The molar concentration: c = c0
The number density, which describes the number of particles per volume: n = n0
The density: = 0
A concentration quantity other than the mass fractions can only be used when all
species are defined, as in this boundary condition. The other quantities are
composition dependent and therefore unambiguous only when all species are defined.
For this reason the Mass Fraction node, which allows some species to use a different
boundary condition, only includes inputs for the mass fractions.
436 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
INFLOW
No Flux
The No Flux node, which is the default boundary condition available for exterior
boundaries, represents boundaries where no mass flows in or out; that is, the total flux
is zero:
n N = n ( i u + j i ) = 0
NO FLUX
Select Apply for all species to specify no flux for all species. Select Apply for to specify no
flux for each species individually. To use another boundary condition for a specific
species, click to clear the check box for that species.
Outflow
The Outflow node is the preferred boundary condition at outlets where the species are
to be transported out of the model domain. It is useful, for example, in mass transport
models where it is assumed that convection is the dominating effect driving the mass
flow through the outflow boundary. This node is available for exterior boundaries. The
boundary condition is applied to all species and corresponds to one of the following
equations depending on the selected diffusion model:
For the Mixture-Averaged Diffusion Model:
T H E TR 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
437
n D i i = 0
For the Ficks Law Diffusion Model:
f
n D i i = 0
Symmetry
The Symmetry node can be used to represent boundaries where the species
concentration is symmetric; that is, there is no mass flux in the normal direction across
the boundary:
n N = n ( i u + j i ) = 0
This boundary condition is identical to the No Flux node, but applies to all species and
cannot be applied to individual species. The Symmetry node is available for exterior
boundaries.
Flux Discontinuity
The Flux Discontinuity node represents a discontinuity in the mass flux across an interior
boundary:
n ( Nd Nu ) = N0
N = ( i u + j i )
where the value of N0 specifies the size of the flux jump evaluated from the down to
the upside of the boundary.
FLUX DISCONTINUITY
Specify the jump in species mass flux. Use a positive value for increasing flux when
going from the downside to the upside of the boundary. The boundary normal points
in the direction from the downside to the upside of an interior boundary and can be
plotted for visualization.
Select the Species check boxes to specify a flux discontinuity, and enter a value or
expression for the Flux discontinuity N0 (SI unit: kg/(m2s)) 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.
438 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
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
T H E TR 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
439
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, 2Daxi and
3D.
440 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
441
442 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
The equations solved by the Turbulent Flow, SST interface are the Navier-Stokes
equations for conservation of momentum and the continuity equation for
conservation of mass. The fluid flow turbulence is modeled using the SST model. The
SST model is a low-Reynolds number model which means that it resolves the velocity,
pressure, and mass fractions 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 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. Reactions within the turbulent flow are
modeled using the eddy dissipation model.
443
optionally, migration in an electric field. Reactions within the turbulent flow are
modeled using the eddy dissipation model.
The Reacting Flow coupling synchronizes the features from a Single-Phase Flow
interface and a Transport of Concentrated Species interface. When added, the density
in the Single-Phase Flow interface is automatically synchronized to the one defined by
the Transport of Concentrated Species interface. Conversely, the velocity field used by
the latter interface is synchronized to the one computed in the former interface.
T H E S T E F A N VE L O C I T Y
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 The Stefan Velocity, and
applies this in Wall features using the same selection.
TU R B U L E N T M A S S TR A N S F E R
When a turbulence model is used, the Reacting Flow 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
444 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
When the flow interface uses a turbulence model, select an option from the Mass
transport turbulence model listKays-Crawford, High Schmidt Number, or User-defined
turbulent Schmidt number.
For User-defined turbulent Schmidt number, enter a Turbulent Schmidt number ScT
(dimensionless).
The turbulent mass transfer added to the mass fraction equations is defined as
T
N i, T = --------- i
Sc T
where T is the turbulent viscosity defined by the flow interface, and the turbulent
Schmidt number, ScT, depends on the Mass transport turbulence model used.
Note, since the Reacting Flow coupling feature adds the turbulent mass transport, it
should not be combined with a Turbulent Mixing feature (subfeature to Transport
Properties in the Transport of Concentrated Species interface).
COUPLED INTERFACES
This section defines the physics involved in the multiphysics coupling. The Fluid flow
and Species transport lists include all applicable physics interfaces.
445
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.
T U R B U L E N T F L O W , k-
The available physics features for The Turbulent Flow, k- interface are listed in the
section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow.
446 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
T U R B U L E N T F L O W , k-
The available physics features for The Turbulent Flow, k- interface are listed in the
section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow.
TU R B U L E N T F L O W, S S T
The available physics features for The Turbulent Flow, SST interface are listed in the
section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow.
T U R B U L E N T F L O W , L O W R E k-
The available physics features for The Turbulent Flow, Low Re k- interface are listed
in the section Domain, Boundary, Pair, and Point Nodes for Single-Phase Flow.
TR 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
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.
447
448 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
You can also right-click Reacting Flow in Porous Media to select physics features from
the context menu.
SETTINGS
The dependent variables (field variables) are the Velocity field u (SI unit: m/s), the
Pressure p (SI unit: Pa), and the Mass fractions w (dimensionless). Use the Add
449
concentration (
Domain, Boundary, Point, and Pair Nodes for the Reacting Flow in
Porous Media (rfcs) Interface
The Reacting Flow in Porous Media (rfcs) Interface has these domain, boundary,
point, and pair nodes, listed in alphabetical order, available from the Physics ribbon
toolbar (Windows users), Physics context menu (Mac or Linux users), or right-click to
access the context menu (all users).
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.
The following nodes are described in this section:
450 |
Diffusion
Reacting Boundary
Initial Values
Transport Properties
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
The following nodes are described for the Free and Porous Media Flow interface:
Forchheimer Drag
Volume Force
The following nodes are described for the Transport of Concentrated Species interface:
Flux
Open Boundary
Inflow
Outflow
Mass Fraction
Reactions
No Flux
Symmetry
The following nodes are described for the Laminar Flow interface:
No Viscous Stress
Flow Continuity
Inlet
Symmetry
Outlet
Symmetry
In the COMSOL Multiphysics Reference Manual see Table 2-3 for links
to common sections and Table 2-4 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Transport Properties
Use the Transport Properties node to define the fluid properties, the thermal diffusion
coefficient, and the Maxwell-Stefan diffusivity matrix.
FLUID PROPERTIES
Fluid material, Density, and Dynamic viscosity are described for the Free and Porous
451
DIFFUSION
Maxwell-Stefan diffusivity matrix and Thermal diffusion coefficient are described for the
Diffusion
Use the Diffusion node to define the mixture density, molar mass, Maxwell-Stefan
diffusivity matrix, and thermal diffusion coefficient.
DENSITY
Mixture density and Molar mass are described for the Transport of Concentrated Species
Maxwell-Stefan diffusivity matrix and Thermal diffusion coefficient are described for the
Initial Values
The Initial Values node prescribes initial values for the mass fractions, velocity field, and
pressure that can serve as initial conditions for a transient simulation, or as an initial
guess for a nonlinear solver.
The initial mass fractions can be specified from the following quantities:
The mass fraction: = 0
The mole fraction: x = x0
The molar concentration: c = c0
The number density, which describes the number of particles per volume: n = n0
The density: = 0
DOMAIN SELECTION
If there are several types of domains with different initial values. These can be defined
adding multiple Initial Values nodes.
INITIAL VALUES
Select the type of input from the Mixture specification list. Select:
Mass fractions (the default) to enter mass fractions ( 0, 1 for example)
452 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
Reacting Boundary
Use the Reacting Boundary node to define the boundary conditions for a reactive
surface over which there is a net mass flux. The flow velocity across the boundary is set
up automatically based on the sum of the species fluxes.
INWARD FLUX
Specify the Inward flux N0 (SI unit: kg/(m2s)) for each species individually by
selecting the check box for the species to prescribe a flux. Then enter a value or
expression for the flux in the corresponding field. Click to clear the check box for the
flux of a species to set the flux to zero. Use a positive value for an inward flux.
CONSTRAINT SETTINGS
453
significantly higher concentration. Apart from porous media regions, the flow system
may also include regions with free flow.
This physics interface solves for the velocity and pressure fields, together with an
arbitrary number of molar concentrations. In porous media regions, the Brinkman
equations governing the fluid momentum are solved. In free-flow regions these are
replaced by the Navier-Stokes equations. The continuity equation governing the total
conservation of mass is solved in all regions. For the chemical species, the governing
transport equations include convection, diffusion and, optionally, migration in an
electric field.
The physics interface combines the functionality of the Transport of Diluted Species
and the Free and Porous Media Flow interfaces.
When this physics interface is added, the following default nodes are also added in the
Model BuilderTransport Properties, No Flux, Wall, and Initial Values. Then, from the
Physics toolbar, add other nodes that implement, for example, boundary conditions.
You can also right-click Reacting Flow in Porous Media to select physics features from
the context menu.
SETTINGS
Compressibility, Neglect inertial term in free flow (Stokes flow), Swirl flow (2D
The dependent variables (field variables) are the Velocity field u (SI unit: m/s) and the
Pressure p (SI unit: Pa). The name can be changed but the names of fields and
dependent variables must be unique within a component.
454 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
Add or remove species in the model and also change the names of the dependent
variables that represent the species concentrations. Enter the Number of species. Use
) and Remove concentration (
) buttons as needed.
the Add concentration (
DISCRETIZATION
More information on the applicability of the physics interface can be found in the
individual documentation for the Transport of Diluted Species and the Free and
Porous Media Flow interfaces. See Domain, Boundary, Point, and Pair Nodes for the
Reacting Flow in Porous Media (rfds) Interface for links to the feature nodes, most of
which are shared with other interfaces.
Domain, Boundary, Point, and Pair Nodes for the Reacting Flow in
Porous Media (rfds) Interface
The Reacting Flow in Porous Media (rfds) Interface has these domain, boundary,
point, and pair nodes, listed in alphabetical order, available from the Physics ribbon
toolbar (Windows users), Physics context menu (Mac or Linux users), or right-click to
access the context menu (all users).
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.
The Initial Values and Transport Properties nodes are described in this section. The
following are described for the Free and Porous Media Flow or Brinkman Equations
interface:
Line Mass Source
Mass Source
Volume Force
455
The following nodes (listed in alphabetical order) are described for the Transport of
Diluted Species interface:
For the Reacting Flow in Porous Media (rfds) interface, the Point Mass
Source node is available in two versions: one is used for the fluid flow (Fluid
Point Source) and one for the species (Species Point Source).
The same applies to the Line Mass Source node, one is used for the fluid
flow (Fluid Line Source) and one for the species (Species Line Source).
Concentration
Outflow
Flux
Periodic Condition
Inflow
Reactions
No Flux
Symmetry
Open Boundary
The following nodes (listed in alphabetical order) are described for the Laminar Flow
interface:
No Viscous Stress
Flow Continuity
Inlet
Symmetry
Outlet
Wall
In the COMSOL Multiphysics Reference Manual see Table 2-3 for links
to common sections and Table 2-4 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Transport Properties
Use the Transport Properties node to define the fluid properties, including density and
dynamic viscosity. Also define the diffusion coefficient and, if applicable, the mobility
and the charge number.
456 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
FLUID PROPERTIES
Fluid material, Density, and Dynamic viscosity are described for the Free and Porous
Media Flow interface, Fluid Properties node.
DIFFUSION
If materials have been added to the Materials node, select an option from the Material
list. Otherwise the list defaults to None and values or expressions need to be entered in
the Diffusion coefficient Dc (SI unit: m2/s) field. The Diffusion coefficient is described
for the Transport of Diluted Species interface, Transport Properties.
Initial Values
Enter values or expressions for the Initial Values of variables and concentrations solved
for in the physics interface. These can serve as initial conditions for a time dependent
simulation or as an initial guess for a nonlinear solver.
DOMAIN SELECTION
If there are several types of domains, with subsequent and different initial values
occurring within them, it might be necessary to remove some of the domains from this
selection. These are then defined in an additional Initial Values node.
IN IT IA L VA LUES
Enter a value or expression for the Concentration c (SI unit: mol/m3). The default is
0 mol/m3. Enter the components for the initial value of Velocity field u (SI unit: m/
s) and for the Pressure p (SI unit: Pa).
457
Crosswind Diffusion
458 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
c i
------- + ( D c i ) + u c i = R i
t
(8-7)
Equation 8-7 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/(m3s))
u is the velocity vector (SI unit: m/s)
The flux vector N (SI unit: mol/(m2s)) is associated with the mass balance equation
above and used in boundary conditions and flux computations. For the case where the
diffusion and convection are the only transport mechanisms, the flux vector is defined
as
N i = D c + u c
(8-8)
If Migration in Electric Fields is activated, the flux vector is amended with the
migration term as shown in the section Adding Transport Through Migration.
The first term on the left side of Equation 8-7 corresponds to the accumulation (or
indeed consumption) of the species.
The second term accounts for the diffusive transport, accounting for the interaction
between the dilute species and the solvent. An input field for the diffusion coefficient
is available. Anisotropic diffusion coefficient tensor input is supported.
The third term on the left side of Equation 8-7 describes the convective transport due
to a velocity field u. This field can be expressed analytically or obtained from coupling
this physics interface to one that computes fluid flow, such as Laminar Flow.
On the right-hand side of the mass balance equation (Equation 8-7), 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
interfacethe Reaction node, which has a field for specifying a reaction equation using
the variable names of all participating species.
T H E O R Y F O R T H E TR 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
459
ai i
i products
K eq = ---------------------------------
ai i
i reactants
ai
i
460 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
T H E O R Y F O R T H E TR 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
461
There are two ways to present a mass balance where chemical species transport occurs
through diffusion and convection. These are the non-conservative and conservative
formulations of the convective term:
c
non-conservative: ----- + u c = ( D c ) + R
t
(8-9)
c
conservative: ----- + ( cu ) = ( D c ) + R
t
(8-10)
and each is treated slightly differently by the solver algorithms. In these equations D
(SI unit: m2/s) is the diffusion coefficient, R (SI unit: mol/(m3s)) 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, cu, would equal zero for an incompressible fluid and
would result in the non-conservative formulation above. This is in fact the default
formulation in this physics interface and ensures that nonphysical source terms do not
emerge from a solution for the flow field. To switch between the two formulations,
) and select Advanced Physics Options.
click the Show button (
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
http://www.comsol.com/products/specifications/
462 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
PO IN T S OURCE
V 0
Qc = qp,c
(8-11)
is added at a point in the geometry. As can be seen from Equation 8-11, Q c must tend
to plus or minus infinity as V tends to zero. This means that in theory the
concentration also tends to plus or minus infinity.
Observe that point refers to the physical representation of the source. A point source
can therefore only be added to points in 3D components and to points on the
symmetry axis in 2D axisymmetry components. Other geometrical points in 2D
components represent physical lines.
The finite element representation of Equation 8-11 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
3
unit: mol/(m s)), located within a tube with cross section S and then letting S tend
to zero while keeping the total mass flux per unit length constant. Given a line source
strength, q l,c (SI unit: mol/(ms)), this can be expressed as
T H E O R Y F O R T H E TR 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
463
lim
S 0
Ql,c = ql,c
(8-12)
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 objects volume are neglected.
The weak contribution
q l,c test ( c )
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.
For the Reacting Flow in Porous Media, Diluted Species interface, which
is available with the CFD Module, Chemical Reaction Engineering
Module, or Batteries & Fuel Cells 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).
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
http://www.comsol.com/products/specifications/
464 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
(8-13)
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: As/mol) refers to Faradays constant
V (SI unit: V) denotes the electric potential
zi (dimensionless) is the charge number of the ionic species, and
um,i (SI unit: mols/kg) is its ionic mobility
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 solutions conductivity and the
net charge within the fluid.
The Nernst-Einstein relation can in many cases be used for relating the species mobility
to the species diffusivity according to
Di
u m, i = -------RT
where R (SI unit: J/(molK)) is the molar gas constant and T (SI unit: K) is the
temperature.
T H E O R Y F O R T H E TR 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
465
Note: In the Nernst-Planck Equations interface, the ionic species contribute to the
charge transfer in the solution. It includes an electroneutrality condition and also
computes the electric potential field in the electrolyte. For more information, see
Theory for the Nernst-Planck Equations Interface. This interface is included in the
Chemical Reaction Engineering Module.
Supporting Electrolytes
In electrolyte solutions, a salt can be added to provide a high electrolyte conductivity
and decrease the ohmic losses in a cell. These solutions are often called supporting
electrolytes, buffer solutions, or carrier electrolytes. The added species, a negative and
a positive ion pair, predominates over all other species. Therefore, the supporting
electrolyte species can be assumed to dominate the current transport in the solution.
In addition, the predominant supporting ions are usually selected so that they do not
react at the electrode surfaces since the high conductivity should be kept through the
process, that is, they should not be electro-active species. This also means that the
concentration gradients of the predominant species in a supporting electrolyte are
usually negligible.
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 Faradays law:
i = F
zi Ni
i
The electroneutrality condition ensures that there is always a zero net charge at any
position in a dilute solution. Intuitively, this means that it is impossible to create a
current by manually pumping positive ions in one direction and negative ions in the
other. Therefore, the convective term is canceled out to yield the following expression
for the electrolyte current density, where j denotes the supporting species:
i = F
zj um, j F cj
2
466 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
(8-14)
Equation 8-14 is simply Ohms law for ionic current transport and can be simplified to
i =
(8-15)
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 8-15, yields:
( ) = 0
(8-16)
Equation 8-16 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 Pclt numberthat is, systems where convection or migration dominates over
diffusion. Streamline diffusion and crosswind diffusion are of paramount importance
to obtain physically reasonable results. The Transport of Diluted Species interface
provides two crosswind diffusion options using different formulations. Observe that
crosswind diffusion makes the equation system nonlinear even if the transport
equation is linear.
DO CARMO AND GALEO
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 Galeo
T H E O R Y F O R T H E TR 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
467
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
under-resolved gradients are less smeared out.
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. J.M. Coulson and J.F. Richardson, Chemical Engineering, vol. 2, 4th ed.,
Pergamon Press, Oxford, U.K., 1991.
4. J.M. Coulson and J.F. Richardson, Chemical Engineering, vol. 1, 4th ed.,
Pergamon Press, Oxford, U.K., 1991.
5. D.E Rosner, Transport Processes in Chemically Reacting Flow Systems, ISBN-13:
978-1483130262, Butterworth-Heinemann, 1986
468 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
6. D.M. Mackay, D.L. Freyberg, P.V. Roberts, and J.A. Cherry, A Natural Gradient
Experiment on Solute Transport in a Sand Aquifer: 1. Approach and Overview of
Plume Movement, Water Resourc. Res., vol. 22, no. 13, pp. 20172030, 1986.
7. C.W. Fetter, Contaminant Hydrogeology, Prentice Hall, 1999.
8. J. Bear and A. Verruijt, Modeling Groundwater Flow and Pollution, D. Reidel
Publishing, 1994.
9. J. Bear, Hydraulics of Groundwater, McGraw-Hill, 1979.
10. R.D. Burnett and E.O. Frind, An Alternating Direction Galerkin Technique for
Simulation of Groundwater Contaminant Transport in Three Dimensions: 2.
Dimensionality Effects, Water Resour. Res., vol. 23, no. 4, pp. 695705, 1987.
11. J. Bear, Dynamics of Fluids in Porous Media, Elsevier Scientific Publishing, 1972.
12. R.J. Millington and J.M. Quirk, Permeability of Porous Solids, Trans. Faraday
Soc., vol. 57, pp. 12001207, 1961.
13. I. Langmuir, Chemical Reactions at Low Temperatures, J. Amer. Chem. Soc.,
vol. 37, 1915.
14. R.B. Bird, W.E. Stewart, and E.N. Lightfoot, Transport Phenomena, 2nd ed.,
John Wiley & Sons, Inc., 2007.
(8-17)
where T is the turbulent kinematic viscosity, ScT is the turbulent Schmidt number and
I is the unit matrix. While having the form of a diffusive contribution, Equation 8-17
really models a convective phenomenon and it can therefore only be applied along with
convection.
T H E O R Y F O R T H E TR 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
469
The Schmidt number is typically given a value between 0.7 and 0.72, but it can range
between 0.3 and 1.3 (at least) depending on the application.
470 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
(8-18)
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/(m2s)) is the mass flux relative to the mass averaged velocity, and
Ri (SI unit: kg/ (m3s)) is the rate expression describing its production or
consumption.
The relative mass flux vector ji can include contributions due to molecular diffusion
and thermal diffusion.
Summation of the transport equations over all present species gives Equation 8-19 for
the conservation of mass
+ ( u ) = 0
t
(8-19)
T H E O R Y F O R T H E TR 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
471
assuming that
Q
i=1
i = 1 ,
ji = 0 ,
i=1
Ri =
i=1
Using the mass conservation equation, the species transport for an individual species,
i, is given by:
( ) + ( u ) i = j i + R i
t i
(8-20)
Q 1 of the species equations are independent and possible to solve for using
Equation 8-20. 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
(8-21)
i=2
(8-22)
where i is the density and xi the mole fraction of species i. The diffusion hence
depends on a single concentration gradient and is proportional to a diffusion
m
coefficient D i . The diffusion coefficient describes the diffusion of species i relative to
the remaining mixture and is referred to as the mixture-averaged diffusion coefficient.
Equation 8-22 can be expressed in terms of mass fractions as
i m
m
j md, i = D i i + ----- D i M
M
using the definition of the species density and mole fraction
i
i = i , x i = ------- M
Mi
472 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
Assuming isobaric and isothermal conditions, the following expression for the
mixture-averaged diffusion coefficient can be derived from the Maxwell-Stefan
equations (Ref. 3):
1 i
m
D i = -------------------------xk
N
-------kiD
ik
M
T
Apart from molecular diffusion, transport due to thermal diffusion is accounted for
T
through the third term within the parenthesis on the right-hand side. Here D i (SI
unit: kg/(ms)) is the thermal diffusion coefficient.
(8-23)
where D i, kl represents a general diffusion matrix (SI unit: m2/s) describing the
diffusion of species i into the mixture. This form makes it possible to use any diffusion
coefficient, matrix, or empirical model based on Ficks law. For example, in situations
when the mass transport is not dominated by diffusion, an alternative is to use the
diffusion coefficients at infinite dilution,
F
D i, kk = D i
T H E O R Y F O R T H E TR 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
473
These coefficients are typically more readily available compared to the binary diffusion
diffusivities, especially for liquid mixtures.
When using multicomponent diffusivities based on Ficks law, as described above, or
when using mixture-averaged coefficients, the sum of the relative mass fluxes is not
strictly constrained to zero. To reduce the relative error it is preferable to choose the
species with the highest mass fraction as the species that is not solved for, and which is
instead computed from the mass conservation constraint in Equation 8-4. It is not
always necessary to know in advance which species has the highest mass fractionit is
possible to change the species solved for by the mass conservation constraint in
Equation 8-4.
When using the Ficks law approximation for the diffusion model, the species mass
transport equations are:
( i ) + ( u ) i =
t
F
F M
T T
D i i + i D i --------- + D i -------- + R i
M
T
Apart from molecular diffusion, transport due to thermal diffusion is accounted for
T
through the third term within the parenthesis on the right-hand side. Here D i is the
thermal diffusion coefficient (SI unit: kg/(ms)).
Di
i=1
474 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
= 0
Turbulent Mixing
A flow field obtained using a turbulence model does not explicitly contain the small
eddies. These unresolved eddies still have a profound effect on the species transport,
an effect known as turbulent mixing.
The Transport of Concentrated Species Interface supports the inclusion of turbulent
mixing via the gradient-diffusion hypothesis. In the case of mixture-averaged diffusion,
it adds the following contribution to the diffusion coefficient for each species:
T
--------Sc T
(8-24)
while for Ficks law diffusion, it adds the following contribution to the diffusion
coefficient tensor:
T
---------I
ScT
(8-25)
Here, T is the turbulent kinematic viscosity, ScT is the turbulent Schmidt number and
I is the unit matrix. While having the form of diffusive contributions, Equation 8-24
and Equation 8-25 really model a convective phenomenon and they can therefore only
be applied along with convection.
The Schmidt number is typically given a value between 0.7 and 0.72, but it can range
between 0.3 and 1.3 (at least) depending on the application.
T H E O R Y F O R T H E TR 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
475
476 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
(8-26)
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), ud,i denotes the diffusion velocity
(SI unit: m/s), the velocity of species i relative to the mixture, 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 u s =
rs,i Mi
(8-27)
i=1
referred to as the Stefan velocity, here denoted us. To reach Equation 8-27 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 8-27 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 a 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 is not
included in the model. 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:
477
nD
n u s =
nN
(8-28)
j=1
Here, the first sum contains flux contributions resulting from boundary conditions
prescribing the mass fractions, and the second sum contains contributions from flux
conditions. The resulting Stefan velocity based on mass transport boundary conditions
is computed as:
n
N
D
n N i, d +
n N i, tot
i = 1
i=1
n u s = ---------------------------------------------------------------------------nD
1
i
(8-29)
Using a Reacting Flow interface, the Stefan velocity, defined in the manner of
Equation 8-29, is automatically computed and applied on boundaries corresponding
to walls by the Reacting Flow coupling feature. When a Mass Fraction or Flux feature
(in the Transport of Concentrated Species interface) is applied on a selection shared by
a Wall feature (in the Single-Phase Flow interface), the Stefan velocity is prescribed in
the wall normal direction on the shared selection.
kj
aA + bB + ...
xX + yY + ...
kj
For such a reaction set, the reaction rates rj (SI unit: mol/(m3s)), can be described by
the mass action law:
f
rj = kj
i react
478 |
c i ij k j
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
i prod
c i ij
(8-31)
Here, k j and k j 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).
In addition to the concentration dependence, the temperature dependence can be
included by using the predefined Arrhenius expressions for the rate constants:
n
E
k = AT exp -----------
R g T
Here, A denotes the frequency factor, n the temperature exponent, E the activation
energy (SI unit: J/mol) and Rg the gas constant, 8.314 J/(molK). 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).
479
(8-32)
denotes the Favre averaged mass fraction which is the quantity solved for.
Here
Using a RANS turbulence model, the turbulent mass flux is defined from
Equation 8-32, and the equation solved for each species is:
)
) + (u
i =
(
t i
T
T T
M
i z i u m, i F V + R i
i Di
i +
-------- D i + ---------
+ D i -------- +
Sc T
M
T
where the molecular diffusion coefficient, Di, is given by the diffusion model
(Mixture-Average or Ficks Law).
KAYS-CRAWFORD
Assuming that the turbulent transport mechanisms of heat and mass processes are
analogous, the turbulent Schmidt number is defined by (Ref. 1):
0.3Pe T
1
Sc T = ---------------- + ------------------- ( 0.3Pe T ) 2 [ 1 e 1 ( 0.3Pe T
2Sc
Sc T
Sc T ) ]
where the Schmidt number at infinity is ScT = 0.85, and the turbulent Peclet number
is defined as the ratio of the turbulent to molecular viscosity times the Schmidt
number:
T
Pe T = ------ Sc
In the case of high Schmidt numbers, which is typical for mass transport in liquids, the
mass transfer near walls can be significantly different than that for Schmidt numbers of
order unity. A diffusion layer near a solid wall, due to, for example, a reaction on the
wall, does not have the same properties as the (momentum) boundary layer. Most
importantly the diffusion layer thickness is significantly smaller than the boundary layer
thickness for high Schmidt numbers. In order to correctly capture the mass flux at the
wall, the wall resolution required is dictated by the diffusion layer rather than by the
boundary layer.
480 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
The High Schmidt number model is based on the model by Kubacki and Dick (Ref.
2) and is available when using the Low-Reynolds k- turbulence model or the SST
turbulence model. In this case the fluid flow is resolved all the way to the physical wall
and consequently, and species boundary equations are applied directly on the wall
(without using wall functions).
In the near wall region, where the species transport is limited by diffusion, the mass
diffusivity is modeled using an analytical function of the non-dimensional wall distance
due to Na and Hanratty (Ref. 3):
D T,w
m
------------ = b ( l * )
m
-4
-4
7.310
5.310
-4
4.6310
3.38
Further out from the wall, where the mass transport is governed by the turbulent
transport, the transport is modeled using a turbulent Schmidt number of the form
(Ref. 2):
T
T
Sc T,c = 0.5882 + 0.228 ------ 0.0441 ------ [ 1 e 5.165 ( T ) ]
In order to combine the two descriptions, the blending function by Kader (Ref. 4) is
used:
T ( )
( 1 )
D T = ------------ e
+ D T,w e
Sc T,c
where
4
0.01 ( l * )
= ----------------------( 1 + 5l * )
481
+
Sc w
15Sc 2 / 3 500
----------
i+ =
+2
+ + < +
for w1
w
w2
Sc T
+ +
--------- ln w
+ +
for w2
w
where in turn
w C 1 / 2 k
+ = -----------------------------w
10 + = ----------- w1
Sc 1 / 3
+ = 10 10 ------- w2
Sc T
Sc = ---------------D i, m
Sc T
2 v
Sc T
v is the von Karman constant, and Di,m the mean species diffusion coefficient. The
latter corresponds directly to the mixture-averaged diffusion coefficient when using
482 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
the Mixture-average diffusion model. Using the Ficks law diffusion model, the mean
diffusion coefficient is computed as 1/Ntr(Di), where Di is the diffusion tensor and N
is the dimension of the model.
The computational result should be checked so that the distance between the
computational fluid domain and the wall, w, is almost everywhere small compared to
any geometrical quantity of interest. The distance w is available as a post processing
variable (delta_w) on boundaries.
Turbulent Reactions
In turbulent flow the reaction rate is significantly affected by the turbulence. Turbulent
fluctuations can increase the reaction rate due to the increased mixing, but it can also
quench it through removal of species or the heat required for ignition. The interaction
between the flow and the reactions can be quantified through the Damkhler number
Da:
T
Da = -----c
which compares the time scale of the largest turbulent flow structures (the integral
time scale), to the chemical time scale. In the limit of large Damkhler numbers
Da >> 1, the reactive time scale is significantly smaller than that of the turbulence. In
this regime the inner structure of a reaction zone is thin enough not to be affected by
turbulence. The reacting regions are, however, convected and wrinkled by the
turbulence. In this case the global reaction rate is proportional to the chemical reaction
rate times the surface of the reacting regions. In the limit of small Damkhler numbers
Da << 1, the chemical time scale is much larger than that of the turbulent flow. In this
case the global reaction rate is controlled by the chemistry, while the turbulence acts
by continuously mixing the species. This regime is referred to as a perfectly stirred
reactor.
MEAN VAL UE C LO SURE
A mean turbulent production rate can be obtained by directly applying the mean
concentrations and temperature in the kinetic reaction rate expressions:
R i = i M i r MVC,i
483
The eddy-dissipation model for the mean reaction rate originally developed by
Magnusson and Hjertager (Ref. 6) for non-premixed combustion. Using this reaction
model, the mean production rate of species i is defined as:
r
------------- p M p
= i M i r ED,i
The model assumes that both the Reynolds and Damkhler numbers are sufficiently
high for the reaction rate to be limited by the turbulent mixing time-scale T. The
reaction can hence at most progress at the rate at which fresh reactants are mixed, at
the molecular level, by the turbulence present. Furthermore the reaction rate is limited
by the deficient reactant; the reactant with the lowest local concentration. When the
model parameter is finite, the existence of product species is also required for
reaction, modeling the activation energy required for reaction (ignition). For gaseous
non-premixed combustion the model parameters have been found to correspond to
(Ref. 6):
= 4 , = 0.5
For liquid reactions it is recommended that the model parameters are calibrated against
experimental or simulation data. Using a mix of the mean value closure and a modified
version of the eddy-dissipation model Bakker and Fasano (Ref. 7) found the following
parameter values
2 = 0.08 , 1 = 1 = 2 =
484 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
to give good results for a competitive reaction pair when compared with experimental
results.
A common approximation for the turbulence mixing time-scale T is T k (Ref.
5). Due to realizability constraints, a more accurate approximation is however
k
1
T = min ---, -----------------------
C 3 max
(8-33)
where in turn
1
max = --- S ij S ij
2
for 2D and
max =
2S ij S ij
-----------------3
485
This approach combines the regimes of the separate models. For fast reactions the
reaction rate is limited by the turbulent mixing. At the same time, in regions with low
turbulence levels, or low kinetic reactions rates, the latter limits the production rate.
486 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
The governing equations are basically the same as for the Transport of Concentrated
Species and the Free and Porous Media Flow interfaces, whereas this physics interface
adds the ability to apply correction factors to calculate effective mass transport
parameters in a porous domain. The effective mass transport parameters are treated the
same way as for the Reacting Flow in Porous Media, Diluted Species interface.
COMBINED BOUNDARY CONDITIONS
The combined boundary conditions for velocity and flux, for reactions occurring on a
boundary surface, are as follows.
Reactions occurring on a surface in contact with the fluid give rise to mass fluxes, and
if there is a net mass transport in or out of the fluid domain due to the reactions (for
example if a fluid condenses or evaporates) they impose a flow velocity at the surface.
Assigning the outward boundary normal as n and the inward mass flux for each species
over the boundary as ni (SI unit: kg/(m2s)), the flow velocity, u (SI unit: m/s) at the
boundary is coupled to the total mass flux of the species at the reacting surface in the
following way:
1
u n = --
ni n
(8-34)
487
ni n
(8-35)
The effective mass transport in a porous matrix is affected by the porosity of the porous
media as the matrix of solid material lowers the volume available for transport. The
tortuosity of the porous structure increases the transport length, and the species might
interact with the pore walls. Effective transport parameters for the diffusivities (Deff)
and mobilities (um,eff) are usually hard to measure. As an approximation, the
parameter values for a non-porous domain (D, um) can be used to calculate the
corresponding effective values by multiplying with a correction factor feff:
D eff = f eff D
u m, eff = f eff u m
(8-36)
A common way to calculate feff is to relate it to the porosity, , with the following
Bruggeman relation:
f eff =
32
(8-37)
The settings for applying effective species transport parameter corrections to a domain
are found under the Porous Matrix Properties node.
488 |
C H A P T E R 8 : C H E M I C A L S P E C I E S TR A N S P O R T I N T E R F A C E S
).
In this chapter
The Thin-Film Flow Interfaces
Theory for the Thin-Film Flow Interfaces
489
T he T hi n- Fi lm Fl ow In t erfaces
In this section:
The Thin-Film Flow, Shell Interface
The Thin-Film Flow, Domain Interface
The Thin-Film Flow, Edge Interface
Domain, Boundary, Edge, Point, and Pair Nodes for the Thin-Film Flow Branch
Interfaces
The physics interfaces found under the Thin-Film Flow branch (
) when adding a
physics interface describe momentum transport. These physics interfaces can be added
either singularly or in combination with other physics interfaces describing mass and
energy transfer. The thin-film flow interfaces are shown in Table 9-1.
TABLE 9-1: THE THIN-FILM FLOW INTERFACES DEFAULT SETTINGS
PHYSICS INTERFACE LABEL
NAME
SPACE DIMENSION
tffs
3D
Boundaries
tffs
2D, 2D axisymmetric
Boundaries
tff
2D
Domains
Each of the physics interfaces can be configured to solve either the standard Reynolds
Equation (with a material or user-defined density specified at the absolute pressure), or
to solve the Modified Reynolds Equation, which should be used for gas flows. The
Modified Reynolds Equation assumes the ideal gas law and applies when gas pressure
changes in the flow itself result in significant density changes.
490 |
Figure 9-1: Diagram illustrating the orientation of the wall and the base surfaces with
respect to the reference surface in the Thin-Film Flow interfaces. A vector from the
reference surface to the corresponding point on the wall always points in the nref
direction, where nref is the reference surface normal. Similarly a vector from the reference
surface to the corresponding point on the base points in the +nref direction. The height of
the wall above the reference surface (hw) and the height of the base below the reference
surface (hb) are also shown in the figure.
Using equations on the reference surface, the physics interface computes the pressure
in a narrow gap between the wall and the base. When modeling the flow, it is assumed
that the total gap height, h=hw+hb, is much smaller than the typical lateral dimension
L of the reference surface. The physics interface is used to model laminar flow in thin
gaps or channels. A lubricating oil between two rotating cylinders is an example of this.
When this physics interface is added, the following default nodes are also added in the
Model BuilderFluid-Film Properties, Border, and Initial Values. Then, from the Physics
toolbar, you can add other nodes that implement, for example, boundary conditions.
You can also right-click Thin-Film Flow, Shell to select physics features from the context
menu.
SETTINGS
491
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 tffs.
REFERENCE PRESSURE
Enter a Reference pressure level pref (SI unit: Pa). The default value is 1[atm]. This
pressure represents the ambient pressure and fluid loads are computed without
accounting for this pressure.
CAVITATION
Options. Select the Cavitation check box to use when modeling bearings, for example.
Then enter a Cavitation transition width (SI unit: Pa). The default is 1 MPa.
Under normal operating conditions, the gases dissolved in the lubricant cause
cavitation in the diverging clearance between the journal and the bearing. This
happens because the pressure in the lubricant drops below the saturation pressure.
See theory for Cavitation for more information.
Note: Cavitation is only available in the Thin-Film Flow, Shell physics interface with a
CFD Module license. It is not available for the Thin-Film Damping boundary
condition, which can be added to the physics interfaces in the Structural Mechanics
area.
DEPENDENT VARIABLES
The dependent variable (field variable) is the Pressure pf. The name can be changed
but the names of fields and dependent variables must be unique within a component.
492 |
DISCRETIZATION
Domain, Boundary, Edge, Point, and Pair Nodes for the Thin-Film
Flow Branch Interfaces
Theory for the Thin-Film Flow Interfaces
493
The rest of the settings are the same as for The Thin-Film Flow, Shell Interface.
Domain, Boundary, Edge, Point, and Pair Nodes for the Thin-Film
Flow Branch Interfaces
Theory for the Thin-Film Flow Interfaces
494 |
Domain, Boundary, Edge, Point, and Pair Nodes for the Thin-Film
Flow Branch Interfaces
For the physics interfaces under the Thin-Film Flow branch, the following domain,
boundary, edge, point, and pair nodes (listed in alphabetical order) are described in
this section:
Border
Perforations
Fluid-Film Properties
Outlet
Initial Values
Symmetry
Inlet
Wall
In the COMSOL Multiphysics Reference Manual see Table 2-3 for links
to common sections and Table 2-4 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
Fluid-Film Properties
Use the Fluid-Film Properties node to set the wall properties, base properties, fluid
properties, and the film flow model.
REFERENCE SURFACE PROPERTIES
In the Thin-Film Flow, Shell (tffs) and Thin-Film Flow, Edge (tffs) interfaces, the Reference
normal orientation setting allows you to reverse the direction of the reference surface
normal used by the physics interface. By default this is set to Same direction as geometry
normal. To reverse the direction, select Opposite direction to geometry normal.
In the Thin-Film Flow, Domain (tff) interface, the Reference surface normal orientation
setting allows you to set the direction of the reference normal so that it either points
out of or into the plane of the domain. By default this is set to Reference surface normal
points out of plane, such that the reference surface normal is given by {0,0,1}. Selecting
Reference surface normal points into plane sets the reference surface normal to {0,0,-1}.
WAL L P ROP E R T IE S
Enter a value or expression for the Height of wall above reference plane hw1 (SI unit: m).
The default is 10 m.
495
By default the Additional wall displacement is User defined. Enter values or expressions
for uw (SI unit: m). The defaults are 0 m. Alternatively select a feature input (defined
by a separate physics interface) or None from the list.
When using a feature input to define an additional displacement based on the
movement of a structure, refer to Figure 9-1 to decide whether the additional
displacement should be added to the wall or the base.
If the reference normal points out of the structure for which the displacement is
provided, the structure should be considered to be the wall, and its displacement
should be added to the additional wall displacement.
If the reference normal points into the structure for which the displacement is
provided, the structure is the base and its displacement should be added to the
additional base displacement.To determine the reference normal orientation before
) on the Study toolbar (or
fully solving the model, click Show Default Solver (
right-click the Study 1 node and select Show Default Solver). Then expand the
Study 1>Solver Configurations>Solver 1 node, right-click the Dependent variables
sub-node and select Compute to Selected.
You can then add a 2D or 3D plot group with an Arrow Surface plot (in 3D) (
) or
), and use the Replace Expression (
) button to plot the
Reference surface normal.
Arrow Line plot (in 2D) (
Note that the orientation of the reference surface normal can be changed using the
Reference normal orientation setting in the Reference Surface Properties section.
Select a Wall velocity vw (SI unit: m/s).None (the default), Calculate from wall
displacement, or User defined. For User defined enter values or expressions for the
components of vw (SI unit: m/s). The defaults are 0 m/s.
BASE PROPERTIES
See Wall Properties above for details to help you decide whether the additional
displacement should be added to the wall or the base.
496 |
Enter a value or expression for the Height of base below reference plane hb1 (SI unit: m).
The default is 0 m.
By default Additional base displacement is User defined. Enter values or expressions for
ub (SI unit: m). The defaults are 0 m. Or select None from the list.
Select a Base velocity vb (SI unit: m/s)None (the default), Calculate from base
displacement, or User defined. For User defined enter values or expressions for the
components of vb (SI unit: m/s). The defaults are 0 m/s.
FLUID PROPERTIES
The default Dynamic viscosity (SI unit: Pas) is taken From material. For User defined
enter a different value or expression. The default is 0 Pas.
With the default options, the Density (SI unit: kg/m3) is taken From material. For
User defined enter a different value or expression. The default is 0 kg/m3. If the
Modified Reynolds Equation is being solved, the density is determined automatically by
the ideal gas law. If cavitation is enabled, the density is assumed to take the form
=c exp(pf) where pf is the fluid pressure, c is the density at the cavitation pressure,
and is the compressibility. (SI unit: 1/Pa). In this case enter the values for the Density
at cavitation pressure c (SI unit: Pa) and the Compressibility (SI unit: 1/Pa).
FILM FLOW MODEL
Select a Film flow modelNo-slip walls (the default), Slip at walls, User defined-relative
flow function, or User defined-general. The film flow model is used to compute the mean
fluid velocity as a function of the pressure gradient, the wall velocity, and the base
velocity. Within the gap the fluid velocity profile is a linear combination of the
Poiseuille and Couette velocity profiles.
Slip at Walls
Use Slip at walls when slip occurs at the wall and/or the base. In this case the difference
between the wall or base velocity and the fluid velocity is proportional to the tangential
part of the of the normal stress tensor component. The slip length divided by the fluid
viscosity is the constant of proportionality in this relationship. The mean fluid velocity
is computed using this assumption, given the pressure gradient and the wall and base
velocities.
497
Enter a Slip length, wall Lsw (SI unit: m). The default is 0.1 m. Select the Use different
slip length for base check box to enter a Slip length, base Lsb (SI unit: m). The default
is 0.1 m.
For the Modified Reynolds Equation it is possible to use the gas mean free path to specify
the slip length. Change the Type of Slip setting (which defaults to Slip Length with the
settings described above) to Mean free path and same accommodation coefficients or to
Mean free path and different accommodation coefficients.
For Mean free path and same accommodation coefficients enter a value for the Wall
and base accommodation coefficient (dimensionless). The default is 0.9.
For Mean free path and different accommodation coefficients enter values for the Wall
accommodation coefficient w (dimensionless, default 0.9) and the Base
accommodation coefficient b (dimensionless, default 0.9).
Select an option to define the Mean free pathCompute from material properties (the
default), User defined expression, or User defined with reference pressure.
For User defined expression enter an expression for the Mean free path (SI unit: m).
The default expression is ((70[nm])(1[atm]))/(tffs.ptot).
For User defined with reference pressure enter values for the Mean free path at
reference pressure 0 (SI unit: m; the default is 70 nm), and for the Mean free path
reference pressure p0 (SI unit: Pa; the default is 1 atm).
498 |
499
Border
Use the Border node to set a pressure condition at the border and the border flow type.
The Border flow condition is used to account for the pressure drop caused by the flow
converging into the gap, outside the thin layer. The acoustic elongation options does
this by adding additional thickness to the thin layer beyond the edge of the geometry
(assuming a pressure gradient in this layer equal to that at the boundary). The
Out-of-plane motion calculates the pressure gradient due to circulation of the fluid
caused by motion of the wall or base surfaces using a predefined model. Alternatively
the pressure gradient at the boundary can be specified using an arbitrary expression,
which allows for more sophisticated, user-defined models.
BORDER SETTINGS
500 |
When the Cavitation check box is selected for the physics interface, Starvation is
available.
For Pressure enter a Pressure pf0 (SI unit: Pa) to define pf = pf0 on the boundary, edge,
or point. The default is 0 Pa. If the reference pressure pref, defined at the physics
interface level is 0, pf0 is the absolute pressure. Otherwise, pf0 is the relative pressure.
For Border flow select a Border flow typeAcoustic boundary condition-absolute
elongation, Acoustic boundary condition-relative elongation, Out-of-plane motion, or User
defined.
501
1 + 8,834 ----
h
= ---------------------------------
1 + 5,118 ----
h
Perforations
Use the Perforations node for applications in MEMS devices, where the phenomenon
of squeezed film damping is important. A free hanging thin plate or the substrate often
has an array of etch holes that allow the gas in between to escape. The perforations
feature acts as a sink for gas that is proportional to both the ambient pressure and to
the pressure difference with respect to the ambient on the other side of the perforated
surface. The constant of proportionality is known as the admittance, Y, and can either
be defined directly or determined from the model due to Bao (M. Bao and H. Yang
Squeeze film air damping in MEMS, Sensors and Actuators A: Physical, vol. 136,
no. 1, 327, 2014). The ambient pressure (defined at the level of the parent physics
interface or Thin-Film Damping feature) is assumed to be the reference pressure
specified at the physics interface level.
Note that this feature applies only when the walls do not have tangential movement.
PERFORATIONS
502 |
For Bao model, choose a Perforation shapeSquare (the default) or Circular. Then enter
the following as applicable:
Side length sh (SI unit: m).
Hole radius rh (SI unit: m).
Hole length lh (SI unit: m).
Hole density nh (SI unit: 1/m2).
Initial Values
The Initial Values node adds an initial value for the pressure that can serve as an initial
condition for a transient simulation or as an initial guess for a nonlinear solver. If more
than one set of initial values is required, add additional Initial Values nodes from the
Physics toolbar.
IN IT IA L VA LUES
Enter a value or an expression for the initial value of the Pressure pf (SI unit: Pa).
Inlet
Use the Inlet node to define an edge or point where fluid enters the gap.
INLET SETTINGS
Select an Inlet conditionZero pressure (the default), Pressure, or Normal inflow velocity.
When the Cavitation check box is selected for the physics interface (see Cavitation),
Starvation is also available.
For Zero pressure pf = 0 applies on the boundary, edge, or point.
For Pressure enter a Pressure pf0 (SI unit: Pa) to impose pf = pf0 on the boundary,
edge, or point. The default is 0 Pa. If the reference pressure pref, defined at the
physics interface level is 0, pf0 is the absolute pressure. Otherwise, pf0 is the relative
pressure.
For Normal inflow velocity enter a Normal inflow velocity U0 (SI unit: m/s). The
default is 0 m/s.
For Starvation enter a value for the Fluid fraction 0 (dimensionless). The default is
0.6.
503
Outlet
The Outlet node defines an edge or point where fluid leaves the gap.
OUTLET SETTINGS
Select an Outlet condition Zero pressure (the default), Pressure, or Normal outflow
velocity.
When the Cavitation check box is selected for the physics interface (see Cavitation),
Starvation is also available.
Wall
The Wall node prevents fluid flow in the direction perpendicular to the boundary.
Symmetry
The Symmetry node sets the perpendicular component of the average velocity in the
gap to zero.
504 |
Thin-Film Flow
Figure 9-2 shows a typical configuration for the flow of fluid in a thin layer. The upper
boundary is referred to as the wall, and the lower boundary is referred to as the base.
Damping or lubrication forces operate on both surfaces.
In many cases the gap is sufficiently small for the flow in the thin film to be isothermal.
Usually the gap thickness, h, is much smaller than the lateral dimensions of the
geometry, L. If this is the case it is possible to neglect inertial effects in the fluid in
comparison to viscous effects (for MEMS devices this assumption is reasonable below
MHz frequencies). Additionally, the curvature of the reference surface can be ignored
when h/L1. Under these assumptions the Reynolds equation applies. For gas flows
under the same conditions it is possible to derive a modified form of the Reynolds
Equation, which uses the ideal gas law to eliminate the density from the equation
system. Such a modified Reynolds equation can even be adapted to model the flow of
rarefied gases.
Different terminology is used for thin-film flow in different fields of physics. In
tribology the term lubrication is frequently used, especially when the fluid is a liquid.
In resonant MEMS devices, flow in the thin layer of gas separating a device from the
505
506 |
dA
Figure 9-3: Reference cylinder, fixed with respect to the stationary reference surface, in a
small gap between two surfaces (the wall and the base). The cylinder has outward normal,
nc. Its area, projected onto the reference surface, is dA.
The cylinder is fixed with respect to the reference surface, but its height can change
due to changes in the position of the base and the wall. Considering the flow in the
reference plane, the rate at which mass accumulates within the reference cylinder is
determined by the divergence of the mass flow field in the reference plane:
d ( h )
= t ( hv av )
dt
(9-1)
where h=hw+hb and the tangential velocity, vav represents the mean velocity of the
flow in the reference plane. Particular care must be taken with respect to the definition
of h. The above equation applies if h is measured with respect to a fixed point on the
reference surface as a function of time. The reference surface itself must be fixed in
space and obviously cannot deform as time progresses. Equations represented on the
reference surface are described as Eulerian, that is they are defined in a frame that is
fixed with respect to the motion of the fluid or of the body. Fluid flow problems are
usually formulated in the Eulerian frame and COMSOL adopts this convention in
most of its fluid flow interfaces. It is useful to note that the Eulerian frame is usually
507
called the spatial frame within the COMSOL interface. When a structure deforms in
COMSOL, the spatial frame changes shape.
The wall and the base can, and often do, move with respect to the reference surface.
The wall and base are usually the surfaces of mechanical components which are
deforming as a result of the pressure building up within the region of fluid flow. When
describing the physics of a deforming solid, it is often convenient to work in the
Lagrangian frame, which is fixed with respect to a small control volume of the solid.
As the solid deforms, the Lagrangian frame moves along with the material contained
within the control volume. Using the Lagrangian frame for describing structural
deformation means that changes in the local density and material orientation as a result
of the distortion of the control volume do not need to be accounted for by
complicated transformations. In COMSOL the Lagrangian frame, usually referred to
as the material frame, is used for describing structural deformations. When a structure
deforms in COMSOL, the material frame remains in the original configuration of the
structure, and the deformation is accounted for by the underlying equations.
Because of the mixed Eulerian-Lagrangian approach adopted within COMSOL,
particular care must be taken with the formulation of the Reynolds equations.
Typically it is not desirable to represent the geometry of the thin film itself directly,
because it is often much smaller than the other components in the model. The
equations apply on a single surface in the model, the reference surface. Since we do not
wish the reference surface to deform, the equations are added on the material frame
(even though this frame is normally used in a Lagrangian approach) and manual
transformations are added to the system to account for the fact that the structural
equations also exist on the material frame, and employ a truly Lagrangian approach.
The situation encountered when both the wall and the base undergo a displacement is
depicted in Figure 9-4. The Eulerian wall height changes from an initial value hw1 to
a final value hw. Similarly the base height changes from an initial value hb1 to hb.
508 |
uw
uwnref
uwthw1
wall
hw1
hw
reference
surface
X
nref
base
hb
hb1
ubthb1
ub
-ubnref
Figure 9-4: Diagram showing the displacement of the wall and the base with respect to the
reference surface, and the corresponding change in the height of the channel.
From the figure it is clear that:
h w = h w1 u w n ref u w t h w1
h b = h b1 + u b n ref u b t h b1
(9-2)
h = hw + hb
It should be noted that similar corrections should be applied to the velocity of the wall,
if it is computed from the structural displacement. That is the velocity should be
modified by a term proportional to its spatial gradient. This correction term, is
however, a second order term, and consequently it is usually negligible in practical
circumstances. It is neglected in the thin film flow interface.
Consequently, provided that the definitions of the wall and base height from
Equation 9-2 are used, the Reynolds equation takes the form:
( h )
+ t ( hv av ) = 0
t
(9-3)
509
The definition of the average flow velocity, vav, together with the forces that act on the
structure, remain to be specified.
Flow Models
The Navier stokes equations can be non-dimensionalized for a domain whose width
(h0) is much smaller than its lateral dimension(s) (l0) (see Ref. 1 for a detailed
discussion). When Re(h0/l0)2<<1, and terms of order (h0/l0)2 are neglected, the
Navier Stokes equations reduce to a modified form of the Stokes equation, which must
be considered in conjunction with the continuity relation.
wall
reference
surface
base
Figure 9-5: The coordinate system employed for the derivation of the average flow velocity.
The equations are most conveniently expressed by considering a local coordinate
system in which x and y are tangent to the plane of the reference surface, and z is
perpendicular to the surface, as illustrated in Figure 9-5. Using this coordinate system:
510 |
p f
v x'
=
x'
z' z'
p f
v y'
=
y'
z' z'
p
= 0
z'
Here pf is the pressure resulting from the fluid flow, is the fluid viscosity, and (vx,vy)
is the fluid velocity in the reference plane (which varies in the z direction).
These equations can be integrated directly, yielding the in-plane velocity distributions,
by making the assumption that the viscosity represents the mean viscosity through the
film thickness. The following equations are derived:
v x'
z' p f C
1x'
= --+ --------- z'
x'
2
z p f C 1x' z'
v x' = ------+ -------------- + C 2x'
2 x'
C 1y'
v y'
z' p f --------= --+
z'
y'
(9-4)
2
z p f C 1y' z'
v y' = ------+ -------------- + C 2y'
2 y'
(9-5)
The constants C1x, C2x, C1y, and C2y are determined by the boundary conditions.
Equation 9-4 shows that the flow is a linear combination of laminar Poiseuille and
Couette flows. The velocity profile is quadratic in form, as shown in Equation 9-5.
The average flow rate in the reference plane, vav , is given by:
hw
1
--h
v av
vx' dz'
( h w h w h b + h b ) p f h w h b
--------------------------------------------+ -------------------- C + C 2x'
1
6
x'
2
1x'
h
b
=
= --h
hw
2
2
( h w h w h b + h b ) p f h w h b
--------------------------------------------+ -------------------- C + C 2y'
--1- v y' dz'
6
y'
2
1y'
h
hb
The forces acting on the walls are determined by the normal component of the viscous
stress tensor, , at the walls (n - where n is the normal that points out of the fluid
domain). The viscous stress tensor takes the form:
511
p f + 2
+
x' y' x' z'
x'
T
= ( v + ( v ) ) pI = v x' + v y' p + 2 v y' v z + v y'
f
y' x'
y' z'
y'
v z'
v x' v z' v y' v z
+
+
p f + 2
z'
z' x' z' y'
Neglecting the gradient terms, which are of order h0/l0, results in the following form
for the stress tensor:
pf
v x'
z'
pf
v y'
z'
(9-6)
v x' v y'
pf
z' z'
The components of the stress tensor can be expressed in terms of the velocity and
pressure gradients using Equation 9-4. Note that the normals to both the wall and the
base are parallel to the z direction, to zeroth order in h0/l0. The forces acting on the
base and the wall are therefore given by:
h w p f C 1x'
------+ --------- x'
h b p f C 1x'
-----+ --------- x'
f w = h p C
w
1y'
------ f + -------- y'
pf
f b = h p C
1y'
-----b- f + -------- y'
pf
Assuming a slip length of Lsw at the wall and a slip length of Lsb at the base, the general
slip boundary conditions are given by:
512 |
L sb
v x'
b
v x' ( z' = h b ) v x' = --------- z'x' ( z' = h b ) = L sb
( z' = h b )
z'
L sb
v y'
b
v y' ( z' = h b ) v y' = --------- z'y' ( z' = h b ) = L sb
( z' = h b )
z'
v x'
L sw
w
v x' ( z' = h w ) v x' = ---------- z'x' ( z' = h w ) = L sw
( z' = h w )
z'
L sw
v y'
w
( z' = h w )
v y' ( z' = h w ) v y' = ---------- ( z' = h w ) = L sw
z'y'
z'
For non-identical slip lengths the constants C1x, C2x, C1y, and C2y take the following
values:
w
h b h w 2L sw h w + 2L sb h b p f
( v x' v x' )
C 1x' = ------------------------------------ -------------------------------------------------------------------------h + L sw + L sb
2 ( h + L sb + L sw )
x'
w
v x' ( h b + L sb ) + v x' ( h w + L sw )
C 2x' = ---------------------------------------------------------------------------h + L sw + L sb
2
h w ( h b + L sb ) + h b ( h w + L sw ) + 2h w h b ( L sw + L sb ) + 2hL sw L sb p f
--------------------------------------------------------------------------------------------------------------------------------------------------------------------- x'
2 ( h + L sw + L sb )
w
h b h w 2L sw h w + 2L sb h b p f
( v y' v y' )
C 1y' = ------------------------------------ -------------------------------------------------------------------------h + L sw + L sb
2 ( h + L sw + L sb )
y'
w
v y' ( h b + L sb ) + v y' ( h w + L sw )
C 2y' = ---------------------------------------------------------------------------h + L sw + L sb
2
h w ( h b + L sb ) + h b ( h w + L sw ) + 2h w h b ( L sw + L sb ) + 2hL sw L sb p f
---------------------------------------------------------------------------------------------------------------------------------------------------------------------2 ( h + L sw + L sb )
y'
The average flow rate becomes:
v av =
513
T
1
v av = -------------------------------------------- ( I n r n r ) ( ( h + 2L sw )v w + ( h + 2L sb )v b )
2 ( h + L sw + L sb )
2
h ( h + 4h ( L sw + L sb ) + 12L sb L sw )
--------------------------------------------------------------------------------------------- t p f
12 ( h + L sw + L sb )
The above equation can be written on the form:
v av = v av, c v av, p t p f
(9-7)
where vav,c is a term associated with Couette flow and vav,p is a coefficient associated
with Poiseuille flow (see Table 9-2 below).
The forces acting on the two boundaries are given by:
b
h ( h + 2L sb ) p f
( v x' v x' )
-------------------------------------------+ ---------------------------------------2 ( h + L sw + L sb ) x' ( h + L sw + L sb )
fw =
h ( h + 2L sb ) p f
( v y' v y' )
-------------------------------------------+ ---------------------------------------2 ( h + L sw + L sb ) y' ( h + L sw + L sb )
pf
(9-8)
w
( v x'
b
v x' )
h ( h + 2L sw ) p f
( v y' v y' )
h ( h + 2L sw ) p f
-------------------------------------------+ ---------------------------------------2 ( h + L sw + L sb ) y' ( h + L sw + L sb )
pf
Note that the z direction corresponds to the nr direction. The x and y directions
correspond to the two tangent vectors in the plane. Using vector notation the forces
become:
h ( h + 2L sb )
T
b
w
f w = -------------------------------------------- t p f + ------------------------------------ ( I n r n r ) ( v v ) + p f n w
h + L sw + L sb
2 ( h + L sw + L sb )
h ( h + 2L sw )
T
w
b
f b = -------------------------------------------- t p f + ------------------------------------ ( I n r n r ) ( v v ) + p f n b
2 ( h + L sw + L sb )
h + L sw + L sb
In Equation 9-8 it is assumed that nw=nr and nb=nr. In COMSOL the accuracy of
the force terms is improved slightly over the usual approximation (which neglects the
514 |
slope of the wall and base as it is of order h0/l0) by using the following equations for
nw and nb:
nw = ( nr t hw )
nb = ( nr t hw )
These definitions are derived from Equation 9-4 and Equation 9-5 and include the
additional area that the pressure acts on as a result of the wall slope.
Once again, the force terms can be written on the form:
f w = f w, p t p f + f w, c
f b = f b, p t p f + f b, c
(9-9)
where fw,p is the Poiseuille coefficient for the force on the wall, and fw,c incorporates
the Couette and normal forces (due to the pressure) on the wall. Similarly, fb,p is the
Poiseuille coefficient for the force on the base, and fb,c incorporates the Couette and
normal forces (due to the pressure) on the base.
The cases of identical slip length and non-slip are limiting cases of the formulas derived
above. The main results are summarized in Table 9-2, where the constants defined in
Equation 9-7 and Equation 9-9 are used.
515
DEFINITION
T
1
------------------------------------------- ( I n r n r ) ( ( h + 2L sb )v w + ( h + 2L sw )v b )
2 ( h + L sw + L sb )
v av, p
h ( h + 4h ( L sw + L sb ) + 12L sb L sw )
-------------------------------------------------------------------------------------------12 ( h + L sw + L sb )
T
----------------------------------- ( I nr nr ) ( vb vw ) + pf n
w
h + L sw + L sb
f w, c
f w, p
h ( h + 2L sb )
------------------------------------------2 ( h + L sw + L sb )
f b, c
----------------------------------- ( I nr nr ) ( vw vb ) + pf n
b
h + L sw + L sb
f b, p
h ( h + 2L sw )
------------------------------------------2 ( h + L sw + L sb )
516 |
v av, c
T
1
--- ( I n r n r ) ( v w + v b )
2
v av, p
( h + 6L s h ) ( 12 )
f w, c
T
b
w
------------------( I nr nr ) ( v v ) + pf nw
h + 2L s
f w, p
h2
f b, c
T
w
b
------------------( I nr nr ) ( v v ) + pf nb
h + 2L s
f b, p
h2
DEFINITION
T
1
--- ( I n r n r ) ( v w + v b )
2
2
h ( 12 )
f w, c
T
--- ( I n r n r ) ( v b v w ) + p f n
w
h
f w, p
h2
f b, c
T
--- ( I n r n r ) ( v w v b ) + p f n
b
h
f b, p
h2
(9-10)
This equation can be used to model isothermal flows of ideal gases. The average flow
rate and the forces acting on the bearings are computed in the same manner as for the
standard Reynolds equation.
SLIP BOUNDARY CONDITIONS FOR GASES
For a gas, the slip length is often expressed using the mean free path, , and a tangential
momentum accommodation coefficient, . For compatibility with the existing
517
literature on thin-film gas flow the following definition of the mean free path is used
by COMSOL Multiphysics in the Thin-Film Flow interfaces:
1
---
2RT 2
= --- ------------
p Mn
The slip length is then defined as:
2
L s = ------- -------------
2
T
h
1
v av = --- ( I n r n r ) ( v w + v b ) ---------------- t p
2
12 eff
eff = ---------------------------------------Q ( Kn , w , b )
(9-11)
518 |
Q ( Kn ,1 , 1 ) = 1 + 9,638Kn
1,159
6Q ( D, )
Q ( Kn , , ) = ------------------------D
D = -----------2Kn
0,17
1
D
0,64D
1 - -----------------------------------1,3 ( 1 ) - --------------------------------- -- + -----------Q ( D, ) = ---- + -------------------ln
+
+
+
4,1
1,83
0,72
6,4D
6 1,34 D
1 + 1,12D
D + 0,08D
2RT 2
= --- ------------
p Mn
1
---
2RT 2
Kn = ------- ------------
ph M n
(9-12)
519
where is the gas viscosity, p is the gas pressure, R is the molar gas constant, T is the
temperature, and Mn is the molar mass of the gas. Ref. 2 also employs this definition
of the mean free path.
In many applications the forces acting on the wall and base are important. The pressure
in the gas can be computed correctly by solving Equations 9-10 and 9-11. However,
this approach provides only the normal component of the traction acting on the wall
and base. To obtain the shear forces, the approach adopted by Torczynski and Gallis
(Ref. 7) is used. They produced an empirical expression for the shear force that has the
correct behavior in the free molecular flow and continuum limits as well as in the limits
for the accommodation coefficient. Torczynski and Gallis solve the problem of pure
Couette flow and derive an empirical function for the slip length that predicts the
correct forces for the flow in the gap in several limiting cases. Their empirical
expression for the slip length is given by:
d1
2 2
L s = ------------- ----------- 1 + ---------------------------------------------
1 + ( 2d Kn )
(9-13)
where d10.15 and d20.59. In principle d1 and d2 are variables themselves, but they
were found to be constant to within the accuracy of the DSMC experiments used to
derive their values.
The slip length in Equation 9-13 (which is used in COMSOL) differs
slightly from the equivalent expression in Ref. 7 as a result of a different
definition of the mean free path (Torczynski and Gallis mean free path is
different from Equation 9-12 by a factor of /2).
Equation 9-7 gives the following expressions for the shear forces on the wall and base
for pure Couette flow:
shear
b
w
= -------------------- ( I n r n r ) ( v v )
h + 2L s
shear
w
b
= -------------------- ( I n r n r ) ( v v )
h + 2L s
fw
fb
520 |
T
b
w
h
f w = --- t p + -------------------- ( I n r n r ) ( v v ) pn r
h + 2L s
2
T
h
w
b
f b = --- t p + -------------------- ( I n r n r ) ( v v ) + pn r
h + 2L s
2
(9-14)
here Ls is derived from Equation 9-13 and p is obtained by solving Equation 9-10
with Equation 9-11. Strictly speaking, Torczynski and Gallis result applies for Couette
flow only, and was derived for a more general variable-soft-sphere gas rather than for
the linearized BGK equations, using numerical simulations. From a practical
perspective, it seems likely that solutions of the linearized BGK equations would also
be fitted by these expressions, and in that case it should be possible to combine the
forces using superposition. In the absence of a detailed proof Equation 9-14 is not the
default option for the force model, but is available as an additional option.
Both Veijola and others (Ref. 5) and Cercignani and others (Ref. 5)
provided data for the relative flow rate Q(Kn, sw, sb) in specific cases
where the wall and base have different accommodation coefficients. Since
no details on how to compute the forces acting on the walls for highly
rarefied gases were published, these models are not currently supported
in COMSOL.
h b = h b1 + h b
p f = pf
v w = v w
h = h w1 + h b1 + h w + h b = h 1 + h
p A = p ref + pf
v b = v b
Here the tilde denotes a harmonically varying component. The components marked
with the subscript 1 are static offsets to the harmonic terms. In order to linearize the
equation system it is necessary to assume that the offsets are much larger than the
harmonic components. Practically speaking this means that the harmonically varying
pressures induced by the flow should be significantly smaller than the ambient
pressure, and the harmonic changes in the gap size due to the wall and base
521
displacements should be significantly less than the gap height itself. Given these
assumptions, the average fluid velocity can also be written on the form:
v av = v av
since in general both the Couette and Poiseuille terms vary harmonically to first order
accuracy.
Substituting these terms into the Reynolds equation gives:
( ( h + h ) ) + ( ( h + h )v ) = 0
av
1
t
1
t
In the frequency domain, the total absolute pressure pA is set to the reference pressure
pref, because the deviation from the reference pressure pf in this case represents an
oscillating component and cannot be added to the pressure in a straightforward
manner. is defined as a function of pA, and so contains no small harmonic
component. The products of small harmonic terms result in second order effects (at
double the frequency of interest) and can be neglected provided the harmonic terms
are much smaller than the static terms. The Reynolds equation therefore reduces to:
(h ) + t ( h 1 v av ) = 0
t
Note that:
( h )
= v b n ref v w n ref v b t h b1 v w t h w1
t
(9-15)
(9-16)
Dropping the tildes leads to the form of the equation shown in the equation display:
( v b n ref v w n ref v w t h w1 v b t h b1 ) + t ( h 1 v av ) = 0
The modified Reynolds Equation takes the following form:
p
((
+ pf ) ( h 1 + h ) ) + t ( ( p ref + pf ) ( h 1 + h )v av ) = 0
t ref
Linearizing Equation 9-17 gives:
522 |
(9-17)
p ref
h h p
+ 1
+ t ( p ref h 1 v av ) = 0
t
t f
Equation 9-15 can be used to substitute for the time derivative of the harmonic
component of h in the above equation, yielding:
p ref ( v b n ref v w n ref v b t h b1 v w t h w1 )
+ h 1 (pf) + t ( p ref h 1 v av ) = 0
t
(9-18)
Dropping the tildes and using complex notation to express the time derivative of pf
gives:
p ref ( v b n ref v w n ref v w t h w1 v b t h b1 )
+ ih 1 p f + t ( p ref h 1 v av ) = 0
Equation 9-16 and Equation 9-18 are used as the basis for the frequency domain
formulation in the Thin-Film Flow interfaces. It is important to note that these
equations are independent of the harmonic components of the displacement, since
those terms lead to second order contributions to the frequency domain response (that
is they produce a response proportional to the square of the harmonic term, which
results in a signal at twice the driving frequency).
Since the frequency domain results do not depend on the variation in the
displacement, the additional displacement setting has no effect on the
solution in a frequency domain problem (unless the velocity is computed
from it by selecting Calculate from wall displacement or Calculate from base
displacement in the wall and base velocity settings respectively). This is
reflected in the equations given above (and in the equation display in the
physics interface) but can be non-intuitive, particularly when setting up a
model that is coupled with a structural analysis. If the velocity of both the
wall and the base is set to zero, then in the frequency domain there is no
response.
Boundary Conditions
Most of the boundary conditions either constrain the flow into the system by
prescribing a fluid velocity or constrain the pressure at the boundary. The border flow
condition is slightly more complex, requiring the gradient of the pressure to be set by
523
specifying the value of the gradient of the pressure in the anti-normal direction such
that:
n p =
The Border flow type selection list enables four ways that the value of can be specified:
The User defined option allows the value of to be directly entered as an expression
in a user input box. This allows for arbitrary normal pressure gradients.
The two Acoustic elongation options assume a linear gradient in the pressure outside
the domain away from the boundary. The pressure gradient is calculated by dividing
the pressure at the boundary, pf, by an elongation length, L. The elongation
length can either be specified as an absolute length or as a fraction of the domain
width, such that:
pf
n p = -------L
The Out-of-plane motion option calculates the pressure gradient at the boundary
using a model detailed in Ref. 8. This model is suitable for including the effects of
gas damping when fluid in a thin gap is subjected to out-of-plane motion of the
walls or base, e.g. when a microbeam is oscillating above an extended surface. When
this option is selected input boxes are provided to specify the required coefficients
(,,) and the pressure gradient is defined according to
p
12U
6 1 p
- 1 + ------ n p = -------------+ --------------2
2
h
h
h
where U is the out-of-plane velocity, is the slip length at the walls, and p is the
ambient pressure far from the boundary away from the domain.
Cavitation
Several types of cavitation can occur in thin film flow. When the flow pressure drops
below the ambient pressure, the air and other gases dissolved within the fluid are
released. This phenomenon, characteristic of loaded bearings, is known as cavitation
or gaseous cavitation. In some cases involving high frequency varying loads, as in
internal combustion engines, the pressure might drop below the fluid vapor pressure,
which is lower than the ambient pressure. In this case, bubbles are formed by rapid
evaporation/boiling of the fluid. This phenomenon is known as vapor cavitation.
COMSOLs cavitation feature is designed to address gaseous cavitation.
524 |
p f
525
= ----c
In the cavitation region (<1) represents the fractional film content.
NOTE ABOUT RESULTS POSTPROCESSING
While the pressure is constant and equal to the cavitation pressure in the cavitation
region, the computed pressure is negative in this region. The value of this negative
pressure can be physically be interpreted as the volume fraction of fluid in the
cavitation region. The actual or physical pressure, available in the postprocessing
section as tffs.p, is equal to the computed pressure in the full film region ( 1) and
equal to the cavitation pressure in the cavitation region ( < 1).
526 |
527
528 |
10
529
T he L e v e l S e t In t erfac e
The Level Set (ls) interface (
), found under the Mathematics>Moving Interface
branch (
) when adding an interface, is used to track moving interfaces in fluid-flow
models by solving a transport equation for the level set function. Simulations using the
Level Set interface are always time dependent since the position of an interface almost
always depends on its history.
The main node is the Level Set Model feature, which adds the level set equation and
provides an interface for defining the level set properties and the velocity field.
When this physics interface is added, the following default nodes are also added in the
Model BuilderLevel Set Model, No Flow (the default boundary condition) and Initial
Values. Then, from the Physics toolbar, add other nodes that implement, for example,
boundary conditions. You can also right-click Level Set to select physics features from
the context menu.
SETTINGS
The dependent variable (field variable) is the Level set variable phi. The name can be
changed but the names of fields and dependent variables must be unique within a
model.
Conservative and Non-Conservative Form
Domain, Boundary, and Pair Nodes for the Level Set Interface
Theory for the Level Set Interface
Theory for the Two-Phase Flow Interfaces
530 |
Domain, Boundary, and Pair Nodes for the Level Set Interface
The Level Set Interface has the following domain, boundary and pair nodes described.
Initial Interface
No Flow
Initial Values
Outlet1
Inlet
Symmetry1
Boundary conditions for axial symmetry boundaries are not required. For
the symmetry axis at r = 0, the software automatically provides a suitable
boundary condition and adds an Axial Symmetry node that is valid on the
axial symmetry boundaries only.
In the COMSOL Multiphysics Reference Manual see Table 2-3 for links
to common sections and Table 2-4 to common feature nodes. You can
also search for information: press F1 to open the Help window or Ctrl+F1
to open the Documentation window.
+ u = ( 1 ) ----------
t
and provides the options to define the associated level set parameters and the velocity
field.
LEVEL SET PARAMETERS
Enter a value or expression for the Reinitialization parameter (SI unit: m/s). The
default is 1 m/s.
531
Enter a value or expression for the Parameter controlling interface thickness els
(SI unit: m). The default expression is ls.hmax/2, which means that the value is half
of the maximum mesh element size in the region through which the interface passes.
CONVECTION
Enter values or expressions for the components (u, v, and w in 3D, for example) of the
Velocity field u (SI unit: m/s). The applied velocity field transports the level set
function through convection.
Initial Values
Use the Initial Values node to define the initial values of the level set variable.
INITIAL VALUES
The initial positions of the two fluids, and consequently the separating interface, can
be specified in two ways. The level set function can be specified explicitly, using any
type of variable or expression. Alternatively the fluid occupying the current domain
selection can be specified. Using the former method, a Time Dependent study step can
directly be solved. Using the latter method, a Phase Initialization study step is needed
in order to initialize the level set function across the fluid-fluid interface.
Specify Domain Initially as one of the following:
Specify level set function explicitly
Fluid 1 ( = 0)
Fluid 2 ( = 1)
If the Phase Initialization (
) study step is being used, for the
initialization to work it is crucial that there are two Initial Values nodes
and one Initial Interface node. The Initial Values nodes should specify the
Domain Intially as Fluid 1 and Fluid 2 respectively. The Initial Interface
node should include all interior boundaries that defines the initial position
of the fluid-fluid interface.. If the selection of the Initial interface node is
empty, the initialization fails.
See Initializing the Level Set Function.
532 |
Inlet
The Inlet node adds a boundary condition for inlets (inflow boundaries). At inlets a
value of the level set function must be specified. Typically set to either 0 or 1.
SETTINGS
Enter a value for the Level set function value . The value must be in the range from 0
to 1, and the default is 0.
Initial Interface
The Initial Interface node defines the boundary as the initial position of the interface
= 0.
If the Transient with Initialization (
) study is being used, for the
initialization to work it is crucial that there are two Initial Values nodes
and one Initial Interface node. One of the Initial Values nodes should use
Domain initially: Inside interface and the other Domain initially: Outside
interface. The Initial Interface node should have all interior boundaries
where the interface is initially present as selection. If the selection of the
Initial interface node is empty, the initialization fails.
See Initializing the Level Set Function.
No Flow
The No Flow node adds a boundary condition that represents boundaries where there
is no flow across the boundary. This is the default boundary condition.
533
This interface defines the dependent variables (fields) Phase field variable and Phase
field help variable . If required, edit the name, but dependent variables must be
unique within a model.
Conservative and Non-Conservative Forms
Domain, Boundary, and Pair Nodes for the Phase Field Interface
Theory for the Phase Field Interface
534 |
Domain, Boundary, and Pair Nodes for the Phase Field Interface
The Phase Field Interface includes 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 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.
Initial Interface
Initial Values
Symmetry1
Inlet
Wetted Wall
1
Outlet
1
In the COMSOL Multiphysics Reference Manual see Table 2-3 for links
to common sections and Table 2-4 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.
Define the following phase field parameters. Enter a value or expression for the:
Surface tension coefficient (SI unit: N/m).
535
Parameter controlling interface thickness epf (SI unit: m). The default expression is
pf.hmax/2, which means that the value is half of the maximum mesh element size
in the region through which the interface passes.
Mobility tuning parameter (SI unit: ms/kg). The default is 1 ms/kg, which is a
good starting point for most models. This parameter determines the time scale of
the Cahn-Hilliard diffusion and it thereby also governs the diffusion-related time
scale for the interface.
Keep the parameter value large enough to maintain a constant interface
thickness but still low enough to not damp the convective motion. A too
high mobility can also lead to excessive diffusion of droplets.
EXTERNAL FREE ENERGY
Add a source of external free energy to the phase field equations. This modifies the last
term on the right-hand side of the equation:
2
2
2
f
= + ( 1 ) + -----
The external free energy f (SI unit: J/m3) is a user-defined free energy. In most cases,
the external free energy can be set to zero. Manually differentiate the expression for
the external free energy with respect to and then enter it into the -derivative of
external free energy field f .
CONVECTION
Enter values or expressions for the components (u, v, and w in 3D, for example) of the
Velocity field u (SI unit: m/s). The applied velocity field transports the phase field
variables through convection.
Initial Values
Use the Initial Values node to define the initial values of the phase field variable.
536 |
IN IT IA L VA LUES
The initial positions of the two fluids, and consequently the fluid-fluid interface, can
be specified in two ways. The phase field variable can be specified explicitly, using any
type of variable or expression. Alternatively the fluid occupying the current domain
selection can be specified. Using the former method, a Time Dependent study step can
directly be solved. Using the latter method, a Phase Initialization study step is needed
in order to initialize the phase field function across the fluid-fluid interface.
Specify Domain Initially as one of the following:
Specify phase field function explicitly
Fluid 1 ( = -1)
Fluid 2 ( = 1)
If the Phase Initialization (
) study step is being used, for the
initialization to work it is crucial that there are two Initial Values nodes
and one Initial Interface node. The Initial Values nodes should specify the
Domain Initially as Fluid 1 and Fluid 2 respectively. The Initial Interface
node should include all interior boundaries that defines the initial position
of the fluid-fluid interface. If the selection of the Initial interface node is
empty, the initialization fails.
Inlet
The Inlet feature node adds a boundary condition for inlets (inflow boundaries). At
inlets a volume fraction Vf must be specified, typically either 0 or 1. Mathematically
this boundary condition imposes
= 2V f 1 and n -----2- = 0
INLET
Specify a value of the Inlet volume fraction Vf. The value must be in the range from 0
to 1 and the default is 0.
537
Initial Interface
The Initial Interface node defines the boundary as the initial position of the interface
= 0.
If the Transient with Phase Initialization (
) study is being used, for the
initialization to work it is crucial that there are two Initial Values nodes and
one Initial Interface node. One of the Initial Values nodes is set to
phipf = 1 and the other to phipf = 1. The Initial Interface node should
have all interior boundaries where the interface is initially present as
selection. If the selection of the Initial Interface node is empty, the
initialization fails.
Wetted Wall
The Wetted Wall node is the default boundary condition representing wetted walls.
Along a wetted wall the contact angle for the fluid, w, is specified, and across it the
mass flow is zero. This is prescribed by
2
n = cos ( w )
in combination with
n -----2- = 0
WE TTE D WA LL
Enter a value or expression for the Contact angle w. The default value is /2 rad.
538 |
Interface branch (
The phase field variables are defined such that they represent the volume fraction of
the respective phase. The volume fraction of the third phase not solved for, but
computed from the natural constraint that the sum of the volume fractions of all phases
is one.
The main node of the interface is the Phase Field Model feature, which adds the phase
field equations and provides an interface for defining the phase field model properties
such as surface tensions and parameters controlling the interface thickness.
When this physics interface is added, the following default nodes are also added in the
Model BuilderMixture Properties, Wetted Wall and Initial Values. Then, from the
Physics toolbar, add other nodes that implement, for example, boundary conditions.
You can also right-click Ternary Phase Field to select physics features from the context
menu.
SETTINGS
T H E TE R N A R Y P H A S E F I E L D I N T E R F A C E
539
Domain, Boundary, and Pair Nodes for the Ternary Phase Field
Interface
The Ternary Phase Field Interface includes 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 the interface
node to access the context menu (all users).
Initial Values
Inlet
Symmetry
Outlet
Wetted Wall
Mixture Properties
The Mixture Properties node adds the equations described in The Equations of the
Ternary Phase Field Method. The node defines the associated phase field parameters,
including the surface tension coefficients and parameters controlling the thickness of
the interfaces.
PHASE FIELD PARAMETERS
Define the following phase field parameters. Enter a value or expression for the:
Parameter controlling interface thickness . The default expression applied is
terpf.hmax*sqrt(2), which means that the thickness is related to the maximum
mesh element size in the domain. If the element size in the regions passed by the
interfaces is known before hand, it is recommended to apply a value of in that
order.
540 |
Mobility tuning parameter M0. This parameter determines the time scale of the
Cahn-Hilliard diffusion and it thereby also governs the diffusion-related time scale
for the interface. Keep the mobility tuning parameter value large enough to
maintain a constant interface thickness, but still low enough to not damp the
convective motion. A too high mobility can also lead to excessive diffusion of
droplets. By default M0 is set to 110-4 m3s/kg, which is a good starting point for
most models.
Additional free bulk energy . When needed add an a user defined expression of the
additional bulk energy.
S U R F A C E TE N S I O N
Specify the surface tension coefficients for the three types of interfaces present.
To use a predefined expression, select Library coefficient, liquid/gas interface or
Library coefficient, liquid/liquid interface. Then select an option from the list that
displays below (for example, Water/Air, Glycerol/Air and so forth).
For User defined, enter a value or expression for the surface tension coefficient
CONVECTION
Enter values or expressions for the components (u, v, and w in 3D, for example) of the
Velocity field u. The applied velocity field transports the phase field variables through
convection.
Initial Values
The Initial Values node adds initial values for the phase field variables that can serve as
initial conditions for a transient simulation.
IN IT IA L VA LUES
Enter initial values or expressions for Phase field variable A and the Phase field variable
B corresponding to the mass fraction of the respective phase. The value must be in the
range from 0 to 1.
Inlet
This condition should be used on boundaries for which there is a net convective flow
of the phases into the adjacent domain.
T H E TE R N A R Y P H A S E F I E L D I N T E R F A C E
541
INLET
Specify phase field variables, corresponding to the volume fractions, of phase A and
phase B. The value must be in the range from 0 to 1. The volume fraction of phase C
will be evaluated such that the sum of all mass fractions equals one.
Mathematically this boundary condition imposes
M0
i = i, 0 , n -------- i = 0
i
for phases i = A and B.
Outlet
This condition should be used on boundaries for which there is a net convective
outflow from the domain.
Mathematically this boundary condition imposes
M0
n -------- i = 0
i
for phases i = A and B.
Symmetry
This condition should be used on boundaries which represent a geometrical symmetry
line across which the flow of the fluid phases is zero.
Mathematically this boundary condition imposes
M0
n -------- i = 0
i
for phases i = A and B.
Wetted Wall
Use this node to represent a solid wall along which the contact angles between the
separating interfaces and the wall should be prescribed.
542 |
WE TT ED WAL L
Enter values or expressions for the contact angles for the three interfaces types:
The Contact angle of interface from phase A to phase C .
The Contact angle of interface from phase B to phase C .
The Contact angle of interface from phase A to phase B .
The definition of the contact angles with respect to the wall are shown in the figure
below
Figure 10-1: Definitions of the contact angels in the Wetted Wall feature of the Ternary
Phase Field interface.
T H E TE R N A R Y P H A S E F I E L D I N T E R F A C E
543
544 |
Figure 10-2: An example of two domains divided by an interface. In this case, one of the
domains consists of two parts. Figure 10-3 shows the corresponding level set representation.
Figure 10-3: A surface plot of the level set function corresponding to Figure 10-2.
The physics interface solves Equation 10-1 in order to move the interface with the
velocity field u:
+ u = ( 1 ) ----------
t
(10-1)
The terms on the left-hand side give the correct motion of the interface, while those
on the right-hand side are necessary for numerical stability. The parameter, ,
determines the thickness of the region where varies smoothly from zero to one and
is typically of the same order as the size of the elements of the mesh. By default, is
constant within each domain and equals the largest value of the mesh size, h, within
545
(10-2)
the volume (area for 2D problems) bounded by the interface should be conserved if
there is no inflow or outflow through the boundaries. To obtain exact numerical
conservation, switch to the conservative form
+ ( u ) = ( 1 ) ----------
(10-3)
546 |
1 0 = ----------------------D
1 + e wi
in domains initially inside the interface. Here, inside refers to domains where <0.5
and outside refers to domains where >0.5.
For the initialization to work it is crucial that there are two Initial Values
nodes and one Initial Interface node. One of the Initial Values nodes
should use Domain initially: Inside interface and the other Domain initially:
Outside interface. The Initial Interface node should have all interior
boundaries where the interface is initially present as selection. If the
selection of the Initial interface node is empty, the initialization fails.
n = ---------
(10-4)
= 0,5
(10-5)
= 0,5
These variables are available in the physics interface as the interface normal and mean
curvature.
547
548 |
T he o r y f o r t he Ph ase Fi el d In t erface
The Phase Field Interface theory is described in this section:
About the Phase Field Method
The Equations for the Phase Field Method
Conservative and Non-Conservative Forms
Additional Sources of Free Energy
Initializing the Phase Field Function
Variables and Expressions
Reference for the Phase Field Interface
549
F ( , , T ) =
--2-
1
2
+ f ( , T ) dV =
ftot dV
where is a measure of the interface thickness. Equation 10-6 describes the evolution
of the phase field parameter:
f tot
f tot
+ ( u ) =
(10-6)
where ftot (SI unit: J/m3) is the total free energy density of the system, and u
(SI unit: m/s) is the velocity field for the advection. The right-hand side of
Equation 10-6 aims to minimize the total free energy with a relaxation time controlled
by the mobility (SI unit: m3s/kg).
The free energy density of an isothermal mixture of two immiscible fluids is the sum
of the mixing energy and elastic energy. The mixing energy assumes the
Ginzburg-Landau form:
2
2
2
1
f mix ( , ) = --- + --------2- ( 1 )
2
4
where is the dimensionless phase field variable, defined such that the volume fraction
of the components of the fluid are (1+ )/2 and (1 )/2. The quantity
(SI unit: N) is the mixing energy density and (SI unit: m) is a capillary width that
scales with the thickness of the interface. These two parameters are related to the
surface tension coefficient, (SI unit: N/m), through the equation
2 2
= ----------- --3
(10-7)
The PDE governing the phase field variable is the Cahn-Hilliard equation:
+ u = G
t
(10-8)
where G (SI unit: Pa) is the chemical potential and (SI unit: m3s/kg) is the mobility.
The mobility determines the time scale of the Cahn-Hilliard diffusion and must be
large enough to retain a constant interfacial thickness but small enough so that the
convective terms are not overly damped. In COMSOL Multiphysics the mobility is
determined by a mobility tuning parameter that is a function of the interface thickness
= 2. The chemical potential is:
550 |
2
( 1 )
G = + ---------------------2
(10-9)
+ u = -----2-
t
(10-10)
= + ( 1 )
(10-11)
+ u = -----2-
t
Using the conservative phase field form, exact numerical conservation of the integral
of is obtained. However, the non-conservative form is better suited for numerical
calculations and usually converges more easily. The non-conservative form, which is
the default form, only conserves the integral of the phase field function approximately,
but this is sufficient for most applications.
f
2
2
= + ( 1 ) + -----
(10-12)
551
552 |
G = ------2
and the surface tension force F = G .
The mean curvature (SI unit: 1/m) of the interface can be computed by entering the
following expression:
G
= 2 ( 1 + ) ( 1 ) ---
553
554 |
i = 0
(10-13)
i = A , B, C
and density of each phase is assumed to be constant. This implies that the phase field
variable corresponds directly to the volume fraction of the phase in question.
The free energy of the three phase system is defined as a function of the phase field
variables in the manner of:
2 2
2 2
2 2
F = AB A B + AC A C + BC B C +
2 2 2
(10-14)
A B C ( A A + B B + C C ) + A B C
Here the ij denotes the surface tension coefficient of the interface separating phase i
and j, and the capillary parameters i are defined as
i = ij + ik jk
(10-15)
and is a function or parameter specifying the additional free bulk energy. By default
is zero. In this case it can be seen that the free energy in Equation 10-14 represents
the mixing energy, since only interfaces between two phases (where two phase field
variables varies between the limiting values) contributes to the free energy.
The Cahn-Hilliard equations to be solved for each phase p = A,B,C are
u j i
M 0 i
--------i + ------------= -------- -------- --------
t
x j
x j i x j
4 T
i = ---------
ji
i
1 F F 3
- ------ ---- -------- -------- -------- j i j 4 j x j x j
(10-16)
T H E O R Y F O R T H E TE R N A R Y P H A S E F I E L D I N T E R F A C E
555
3
1
1
1
-----= ------- + ------- + ------T
A B C
(10-17)
556 |
11
Glossary
This Glossary of Terms contains application-specific terms used in the CFD
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.
557
Glossary of Terms
anisotropy Directional dependence. Is often obtained from homogenization of
by large gradients in velocity and other properties. In turbulent flow it is often treated
with approximative methods because of the difficulty to resolve the large gradients.
bubbly flow Flow with gas bubbles dispersed in a liquid.
conjugate heat transfer heat transfer that takes place in both a solid and a fluid.
creeping flow Models the Navier-Stokes equations without the contribution of the
inertial term. This is often referred to as Stokes flow and is applicable when viscous flow
dominates, such as in very small channels or microfluidic devices.
crosswind diffusion A numerical technique for stabilization of convection-dominated
PDEs by artificially adding diffusion perpendicular to the direction of the streamlines.
It reduces oscillations near sharp gradients.
Darcys law Equation that gives the velocity vector as proportional to the pressure
compressible flows.
Euler-Euler model A two-phase flow model that treats both phases as
inter-penetrating continua.
Ficks laws The first law states that the diffusive flux of a solute infinitely diluted in a
solvent is proportional to its concentration gradient. The second law introduces the
first law into a differential material balance for the temporal evolution of the solute.
558 |
fluid-structure interaction (FSI) When a fluid flow affects the deformation of a solid
velocity components in the streamwise direction. The velocity profile does not change
downstream.
Hagen-Poiseuille equation See Poiseuilles 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.
intrinsic volume averages The physical properties of the fluid, such as density,
kinetic energy, k, and the dissipation of turbulence kinetic energy, . Utilizes wall
functions to describe the flow close to solid walls.
k- turbulence model A two-equation RANS model that solves for the turbulent
kinetic energy, k, and the specific dissipation rate, . Utilizes wall functions to describe
the flow close to solid walls.
law of the wall See wall function.
low-Reynolds k- turbulence model Two-equation RANS model that solves for the
sound. Compressible effects because of the flow speed can be neglected for Mach
number less than 0.3.
multiphase flow Flow with more than one phase.
G L O S S A R Y O F TE R M S
559
coupled to the equation of continuity. The meaning of the term originally only referred
to the momentum balance but it is here used in the more general context.
Newtonian fluid A fluid for which the stress is proportional to the rate of strain. Many
the pressure difference per unit length and to the fourth power of the tube radius. The
law is valid for fully developed laminar flow.
pressure work Describes the reversible conversion of work, performed by the pressure
in a fluid, into heat.
RANS Reynolds-averaged Navier-Stokes; implying that a time-averaging operation
has been performed on the equations of motion. The Reynolds stresses (correlations
between fluctuating velocity components) obtained from this averaging operation
have to be obtained from an additional set of equations - a closure. Turbulence models
like the k- and Spalart-Allmaras models constitute closures to the RANS equations.
Reynolds number A dimensionless number that describes the relative importance
between inertia and viscous effects. Flow at high Reynolds number have a tendency to
undergo transition to turbulence.
Soret effect Mass diffusion due to temperature gradients in multicomponent
mixtures.
Spalart-Allmaras turbulence model A one-equation turbulence model that solves for
the undamped turbulent kinematic viscosity, T .
SST turbulence model The Shear Stress Transport model is a two-equation
turbulence model combining the k- model in the near-wall region with the k- model
in the free stream. The SST model is a low-Reynolds number model requiring high
resolution near walls. The dependent variables are the turbulent kinetic energy, k, and
the turbulent dissipation rate, .
Stokes flow See creeping flow.
560 |
the medium including both pores and matrix. They are sometimes called Darcy
velocities, defined as volume flow rates per unit cross section of the medium.
thin-film flow Flow in very thin regions where the it can be assumed to always have a
fluid.
wall function Semi-empirical expression for the boundary-layer flow used in
G L O S S A R Y O F TE R M S
561
562 |
I n d e x
A
450
455
laminar flow 56
rmspf interfaces 97
theory 375
border (node)
common settings 42
mm interfaces 277
theory 106
INDEX|
563
theory 373
diffusion (node)
452
edge nodes
iable 169
321
(node)
emailing COMSOL 24
entrance length 74
documentation 22
domain nodes
Equilibrium Reaction
mm interfaces 277
theory 327
450
exit length 79
fan (node) 86
fan curves
inlet boundary condition 87
Faradays law 466
564 | I N D E X
geometry, simplifying 31
fluid (node)
fluid flow
gravity (node)
approaches to analysis 30
Brinkman equations theory 375
bf interfaces 263
ee interfaces 299
mm interfaces 284
grille (node) 91
fluid properties 31
fluid properties (node)
bf interfaces 262
spf interfaces 66
theory 224
flux (node)
face 211
interface 213
INDEX|
565
internet resources 22
bf interfaces 265
ee interface 295
mm interfaces 281
452
457
566 | I N D E X
local
face 272
terface 275
472
lubrication 505
modeling strategy 30
flow 505
condition 72
304
dition 91
MPH-files 24
no flow (node)
Darcys law 351
level set 533
no flux (node) 400
tpdl interface 371
transport of concentrated species 437
no slip, interior wall boundary condition
90
meshing 33
theory 199
normal stress, normal flow (boundary
INDEX|
567
stress condition) 82
O
pair nodes
Brinkman equations 355
Darcys law interface 346
Euler-Euler interface 293
free and porous media flow 362
hmnf interfaces 216
level set 531
phase field 535
reacting flow in porous media (rfcs)
450
568 | I N D E X
361
reactions (node)
378
(node) 409
Prandtl number 204
Reynolds number
RANS.
rotating interior wall (node) 104
RANS
theory 177
interface 96
Reactions
INDEX|
569
single-phase flow
laminar flow 51
symmetry (node)
bf interfaces 270
Darcys law 350
condition 72
sliding wall, wall boundary condition 71
mm interfaces 287
slip model
Hadamard-Rybczynski 324
Schiller-Naumann 324
570 | I N D E X
terface 471
transport of diluted species interface
458
146
SST 61
turbulence models, reacting flow 479
turbulent bubbly flow (bf) interface 258
theory 311
theory 505
thin-film flow, domain (tffs) interface 493
thin-film flow, edge (tff) interface 494
thin-film flow, shell (tffs) interface 490
thin-film gas flows 517
This Impermeable Barrier 406
TMAC, microfluidic wall conditions 366
Torczynski and Gallis 520
traction boundary conditions 81
theory 201
turbulent dissipation rate
multiphase flow 315
turbulent flow algebraic yPlus (spf) interface 56
turbulent flow k-epsilon (spf) interface
58
face 418
theory 471
transport of diluted species in porous
media interface 392
transport of diluted species interface 389
theory 458
transport properties (node)
reacting flow in porous media (rfcs)
451
turbulence models
terface 62
turbulent flow low re k-epsilon interface
theory 146
turbulent flow L-VEL (spf) interface 57
turbulent flow Spalart-Allmaras (spf) interface 64
turbulent flow, SST (spf) interface 61
turbulent kinetic energy theory 315
k-epsilon model 155
mixture model 322
RANS 150
turbulent length scale 173
algebraic yPlus 56
INDEX|
571
websites, COMSOL 25
well posedness 227
Wen and Yu fluidized state expression
330
367
bf interfaces 265
ee interface 296
mm interfaces 281
single-phase flow 70
thin-film flow 504
wall distance initialization study step 165,
572 | I N D E X
72
168