FLUENT 6.3.26 User's Guide
FLUENT 6.3.26 User's Guide
3 User’s Guide
September 2006
Copyright
c 2006 by Fluent Inc.
All Rights Reserved. No part of this document may be reproduced or otherwise used in
any form without express written permission from Fluent Inc.
Airpak, FIDAP, FLUENT, FLUENT for CATIA V5, FloWizard, GAMBIT, Icemax, Icepak,
Icepro, Icewave, Icechip, MixSim, and POLYFLOW are registered trademarks of Fluent
Inc. All other products or name brands are trademarks of their respective holders.
Fluent Inc.
Centerra Resource Park
10 Cavendish Court
Lebanon, NH 03766
Contents
Preface UTM-1
c Fluent Inc. September 29, 2006 TOC-1
CONTENTS
TOC-2
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-3
CONTENTS
TOC-4
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-5
CONTENTS
TOC-6
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-7
CONTENTS
TOC-8
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-9
CONTENTS
TOC-10
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-11
CONTENTS
TOC-12
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-13
CONTENTS
TOC-14
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-15
CONTENTS
TOC-16
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-17
CONTENTS
TOC-18
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-19
CONTENTS
TOC-20
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-21
CONTENTS
TOC-22
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-23
CONTENTS
TOC-24
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-25
CONTENTS
TOC-26
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-27
CONTENTS
18.3 Steps for Using the Composition PDF Transport Model . . . . . . . . . 18-9
18.3.1 Enabling the Composition PDF Transport Model . . . . . . . . . 18-10
18.3.2 Setting Integration Parameters . . . . . . . . . . . . . . . . . . . 18-11
18.3.3 Enabling KINetics from Reaction Design . . . . . . . . . . . . . 18-12
18.3.4 Enabling Liquid Micro-Mixing . . . . . . . . . . . . . . . . . . . 18-13
18.3.5 Selecting the Particle Mixing Model . . . . . . . . . . . . . . . . 18-13
18.3.6 Defining the Solution Parameters . . . . . . . . . . . . . . . . . . 18-13
18.3.7 Monitoring the Solution . . . . . . . . . . . . . . . . . . . . . . . 18-15
18.3.8 Monitoring ISAT . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-16
18.3.9 Using ISAT Efficiently . . . . . . . . . . . . . . . . . . . . . . . . 18-17
18.3.10 Reading and Writing ISAT Tables in Parallel . . . . . . . . . . . 18-18
18.3.11 Running Unsteady Composition PDF Transport Simulations . . 18-19
18.3.12 Running Compressible Composition PDF Transport
Simulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-19
18.3.13 Running Composition PDF Transport Simulations
with Conjugate Heat Transfer . . . . . . . . . . . . . . . . . . . 18-19
18.3.14 Postprocessing for Composition PDF Transport Calculations . . 18-19
TOC-28
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-29
CONTENTS
TOC-30
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-31
CONTENTS
TOC-32
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-33
CONTENTS
TOC-34
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-35
CONTENTS
TOC-36
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-37
CONTENTS
TOC-38
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-39
CONTENTS
TOC-40
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-41
CONTENTS
TOC-42
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-43
CONTENTS
TOC-44
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-45
CONTENTS
TOC-46
c Fluent Inc. September 29, 2006
CONTENTS
c Fluent Inc. September 29, 2006 TOC-47
CONTENTS
TOC-48
c Fluent Inc. September 29, 2006
Using This Manual
c Fluent Inc. September 29, 2006 UTM-1
Using This Manual
• Chapter 9: Modeling Basic Fluid Flow, describes the governing equations and phys-
ical models used by FLUENT to compute fluid flow (including periodic flow, swirling
and rotating flows, compressible flows, and inviscid flows), as well as the inputs you
need to provide to use these models.
• Chapter 10: Modeling Flows with Rotating Reference Frames, describes the use
of single rotating reference frames, multiple moving reference frames, and mixing
planes in FLUENT.
• Chapter 11: Modeling Flows Using Sliding and Deforming Meshes, describes the
use of sliding and deforming meshes in FLUENT.
• Chapter 12: Modeling Turbulence, describes FLUENT’s models for turbulent flow
and when and how to use them.
• Chapter 13: Modeling Heat Transfer, describes the physical models used by FLU-
ENT to compute heat transfer (including convective and conductive heat transfer,
natural convection, radiative heat transfer, and periodic heat transfer), as well as
the inputs you need to provide to use these models.
• Chapter 14: Modeling Species Transport and Finite-Rate Chemistry, describes the
finite-rate chemistry models in FLUENT and how to use them. This chapter also
provides information about modeling species transport in non-reacting flows.
• Chapter 17: Modeling Partially Premixed Combustion, describes the partially pre-
mixed combustion model and how to use it.
• Chapter 18: Modeling a Composition PDF Transport Problem, describes the com-
position PDF transport model and how to use it.
• Chapter 19: Modeling Engine Ignition, describes the engine ignition models avail-
able in FLUENT.
• Chapter 20: Modeling Pollutant Formation, describes the models for the formation
of NOx , SOx , and soot and how to use them.
UTM-2
c Fluent Inc. September 29, 2006
Using This Manual
• Chapter 22: Modeling Discrete Phase, describes the discrete phase models available
in FLUENT and how to use them.
• Chapter 23: Modeling Multiphase Flows, describes the general multiphase models
available in FLUENT (VOF, mixture, and Eulerian) and how to use them.
• Chapter 24: Modeling Solidification and Melting, describes FLUENT’s model for
solidification and melting and how to use it.
• Chapter 25: Using the Solver, describes the FLUENT solvers and how to use them.
• Chapter 26: Adapting the Grid, describes the solution-adaptive mesh refinement
feature in FLUENT and how to use it.
• Chapter 27: Creating Surfaces for Displaying and Reporting Data, describes how
to create surfaces in the domain on which you can examine FLUENT solution data.
• Chapter 28: Displaying Graphics, describes the graphics tools that you can use to
examine your FLUENT solution.
• Chapter 30: Field Function Definitions, describes the flow variables that appear
in the variable selection drop-down lists in FLUENT panels, and tells you how to
create your own custom field functions.
• Chapter 31: Parallel Processing, describes the parallel processing features in FLU-
ENT and how to use them. This chapter also provides information about partition-
ing your grid for parallel processing.
• Appendix B: Case and Data File Formats, presents information about the contents
and formats of FLUENT case and data files.
c Fluent Inc. September 29, 2006 UTM-3
Using This Manual
• The Tutorial Guide contains a number of example problems with detailed instruc-
tions, commentary, and postprocessing of results.
• The UDF Manual contains information about writing and using user-defined func-
tions (UDFs).
• The Text Command List provides a brief description of each of the commands in
FLUENT’s text interface.
• The GAMBIT manuals teach you how to use the GAMBIT preprocessor for geometry
creation and mesh generation.
Typographical Conventions
Several typographical conventions are used in this manual’s text to facilitate your learning
process.
• Different type styles are used to indicate graphical user interface menu items and
text interface menu items (e.g., Iso-Surface panel, surface/iso-surface com-
mand).
• The text interface type style is also used when illustrating exactly what appears on
the screen or exactly what you need to type into a field in a panel. The information
displayed on the screen is enclosed in a large box to distinguish it from the narrative
text, and user inputs are often enclosed in smaller boxes.
UTM-4
c Fluent Inc. September 29, 2006
Using This Manual
• A mini flow chart is used to indicate the menu selections that lead you to a specific
command or panel. For example,
Define −→Boundary Conditions...
indicates that the Boundary Conditions... menu item can be selected from the Define
pull-down menu, and
display −→grid
indicates that the grid command is available in the display text menu.
The words before the arrows invoke menus (or submenus) and the arrows point
from a specific menu toward the item you should select from that menu. In this
manual, mini flow charts usually precede a description of a panel or command, or
a screen illustration showing how to use the panel or command. They allow you
to look up information about a command or panel and quickly determine how to
access it without having to search the preceding material.
• The menu selections that will lead you to a particular panel are also indicated
(usually within a paragraph) using a “/”. For example, Define/Materials... tells
you to choose the Materials... menu item from the Define pull-down menu.
c Fluent Inc. September 29, 2006 UTM-5
Using This Manual
Mathematical Conventions
~
• Where possible, vector quantities are displayed with a raised arrow (e.g., ~a, A).
Boldfaced characters are reserved for vectors and matrices as they apply to linear
algebra (e.g., the identity matrix, I).
• The operator ∇, referred to as grad, nabla, or del, represents the partial derivative
of a quantity with respect to all directions in the chosen coordinate system. In
Cartesian coordinates, ∇ is defined to be
∂ ∂ ∂
~ı + ~ + ~k
∂x ∂y ∂z
∇ appears in several ways:
– The gradient of a scalar quantity is the vector whose components are the
partial derivatives; for example,
∂p ∂p ∂p
∇p = ~ı + ~ + ~k
∂x ∂y ∂z
– The gradient of a vector quantity is a second-order tensor; for example, in
Cartesian coordinates,
!
∂ ∂ ∂
∇(~v ) = ~ı + ~ + ~k vx~ı + vy~ + vz~k
∂x ∂y ∂z
UTM-6
c Fluent Inc. September 29, 2006
Using This Manual
Technical Support
If you encounter difficulties while using FLUENT, please first refer to the section(s) of
the manual containing information on the commands you are trying to use or the type
of problem you are trying to solve. The product documentation is available from the
on-line help on the documentation CD, or from the Fluent Inc. User Services Center
(www.fluentusers.com).
If you encounter an error, please write down the exact error message that appeared
and note as much information as you can about what you were doing in FLUENT.
Then refer to the following resources available on the Fluent Inc. User Services Cen-
ter (www.fluentusers.com):
• Installation and System FAQs—a link available from the main page on the User
Services Center. The FAQs can be searched by word or phrase, and are available
for general installation questions as well as for product questions.
• Known Defects for FLUENT—a link available from the product page. The defects
can be searched by word or phrase, and are listed by categories.
• Online Technical Support—a link available from the main page on the User Services
Center. From the Online Technical Support Portal page, there is a link to the Search
Solutions & Request Support page, where the solutions can be searched by word
or phrase.
The User Services Center also provides on-line forums, where you can discuss topics of
mutual interest and share ideas and information with other Fluent users, and provides
the ability to sign up for e-mail notifications on our latest product releases.
c Fluent Inc. September 29, 2006 UTM-7
Using This Manual
• Note what you were doing when the problem or error occurred.
• Save a journal or transcript file of the FLUENT session in which the problem oc-
curred. This is the best source that we can use to reproduce the problem and
thereby help to identify the cause.
UTM-8
c Fluent Inc. September 29, 2006
Chapter 1. Starting and Executing FLUENT
• If your geometry has features of very disparate length scales (e.g., a very long,
thin pipe), single-precision calculations may not be adequate to represent the node
coordinates.
• If your geometry involves multiple enclosures connected via small-diameter pipes
(e.g., automotive manifolds), mean pressure levels in all but one of the zones can be
quite large (since you can set only one global reference pressure location). Double-
precision calculations may therefore be necessary to resolve the pressure differences
that drive the flow, since these will typically be much smaller than the pressure
levels.
c Fluent Inc. September 29, 2006 1-1
Starting and Executing FLUENT
• Start the solver from the command line without specifying a version, and then use
the Select Solver panel to choose the appropriate version.
• Start the solver from the command line without specifying a version, and then read
in a case file (or a case file and data file) to start the appropriate version.
1-2
c Fluent Inc. September 29, 2006
1.1 Starting FLUENT
c Fluent Inc. September 29, 2006 1-3
Starting and Executing FLUENT
If you would rather use the GUI to start the correct version, select the Run... menu item
in the File menu.
File −→Run...
The Select Solver panel will appear as shown in Figure 1.1.2, and you can pick the
appropriate version. (You can also start FLUENT on a remote machine or start the
parallel version from this panel, as described in Sections 1.2 and 31.3.)
Figure 1.1.2: The FLUENT Version Is Selected Using the Select Solver Panel
You will normally follow the steps below to start a solver from the panel:
2. Specify the precision by turning the Double Precision option on or off under Versions.
If the program executable is not in your search path, you can specify a complete pathname
to the executable in the Program text entry box before clicking Run.
1-4
c Fluent Inc. September 29, 2006
1.1 Starting FLUENT
• Click the Start button, select the Programs menu, select the Fluent.Inc menu,
and then select the FLUENT 6 program item. (Note that if the default “Fluent.Inc”
program group name was changed when FLUENT was installed, you will find the
FLUENT 6 menu item in the program group with the new name that was assigned,
rather than in the Fluent.Inc program group.)
• Start from a Command Prompt window by typing fluent 2d (for the 2D single-
precision solver), fluent 3d (for the 3D single-precision solver), fluent 2ddp
(for the 2D double-precision solver), or fluent 3ddp (for the 3D double-precision
solver) at the prompt. Before doing so, however, you must first modify your user
environment so that the Command utility will find fluent. You can do this by se-
lecting the program item “Set Environment”, which is also found in the Fluent.Inc
program group. This program will add the Fluent.Inc directory to your command
search path.
From the Command Prompt window, you can also start the parallel version of
FLUENT. To start the parallel version on x processors, type fluent version -tx
at the prompt, replacing version with the desired solver version (2d, 3d, 2ddp, or
3ddp) and x with the number of processors (e.g., fluent 3d -t3 to run the 3D
version on 3 processors). For information about the parallel version of FLUENT,
see Chapter 31: Parallel Processing.
c Fluent Inc. September 29, 2006 1-5
Starting and Executing FLUENT
Figure 1.1.3: The FLUENT Version Panel for Full and Postprocessing Simu-
lations
2d
runs the two-dimensional, single-precision solver,
2ddp
runs the two-dimensional, double-precision solver,
3d
runs the three-dimensional, single-precision solver, and
3ddp
runs the three-dimensional, double-precision solver.
Furthermore, you can choose to start the full FLUENT simulation or only postpro-
cessing capabilities by selecting either Full Simulation or Post Only from the Mode
drop-down list. The full FLUENT simulation allows you to set up, solve and post-
process a problem, while Post Only allows you to set up or postprocess a problem,
but will not allow you to perform calculations.
For starting the parallel version of FLUENT, refer to Section 31.2: Starting Parallel
FLUENT on a Windows System.
1-6
c Fluent Inc. September 29, 2006
1.1 Starting FLUENT
Figure 1.1.4: The FLUENT Version Is Selected Using the Select Solver Panel
c Fluent Inc. September 29, 2006 1-7
Starting and Executing FLUENT
You will normally follow the steps below to start a solver from the panel:
If the program executable is not in your search path, you can specify a complete pathname
to the executable in the Program text entry box before clicking Run.
If a case and data file are already loaded into FLUENT, the Write Case & Data button
will be active, which will allow you to write out the case and data files for the current
session. You must save your case and data files in order to use them on the RSF. Once
you save the case and data files and launch the RSF, you can exit from FLUENT.
To start an RSF session, click Start RSF to open your web browser and load the page for
the FLUENT Remote Simulation Facility (RSF).
For more information about the RSF, see
http://www.fluent.com/software/rsolve/index.htm.
i To link to the RSF on Linux/UNIX platforms, you must first have installed
the contents of the FLUENT 6.x Documentation CD, which contains the
files necessary to launch your browser so you can automatically view the
appropriate web pages.
1-8
c Fluent Inc. September 29, 2006
1.1 Starting FLUENT
c Fluent Inc. September 29, 2006 1-9
Starting and Executing FLUENT
Cortex Options
-cl, -cxarg, and -cx host:p1:p2 are for specifying arguments for FLUENT and Cor-
tex. Cortex is a process that provides the user interface and graphics for FLUENT. The
option -cx host:p1:p2 is used only when you are starting the solver manually (see
Section 1.1.2: Specifying the Solver Version in the Select Solver Panel).
Graphics Options
If you type fluent -driver, you can specify the graphics driver to be used in the
solver session. For example, on Linux/UNIX you can specify fluent -driver opengl,
fluent -driver x11, and fluent -driver null. These options are described in detail
in Section 28.1.6: Hiding the Graphics Window Display.
On Windows you can specify fluent -driver opengl and fluent -driver msw to en-
able graphics display. Using msw in stead of opengl instructs FLUENT to use the Oper-
ating Systems Windows rather than the hardware OpenGL driver.
fluent -g will run Cortex without graphics and without the graphical user interface.
This option is useful if you are not on an X Window display or if you want to submit a
batch job.
fluent -gu will run Cortex without the graphical user interface. (On Windows systems,
fluent -gu will run FLUENT, keeping it in a minimized window; if you maximize the
window, the GUI will be available.)
fluent -gr will run Cortex without graphics. This option can be used in conjunction
with the -i journal option to run a job in “background” mode.
To start the solver and immediately read a journal file, type fluent -i journal, re-
placing journal with the name of the journal file you want to read.
1-10
c Fluent Inc. September 29, 2006
1.1 Starting FLUENT
License Options
The -project x option allows you to record CPU time for individual “projects” sep-
arately. If a job is started by typing fluent -project x (where x is replaced by the
name of the project), extra information related to CPU time will be written to the license
manager log file (usually license.log in the license subdirectory of your FLUENT in-
stallation directory). To determine the CPU time for the project, add the USER CPU
and SYSTEM CPU values that appear in license.log. See the installation notes for more
information about the license manager.
The -nocheck option speeds up the solver startup by not checking to see if the license
server is running. This is useful if you know that the license daemon is running or you
would rather not try to start it if it is not running (e.g., if you do not have privileges to
do so).
You can type fluent -n or use the -n option in conjunction with any of the others to
see where the (specified) executable is without actually running it.
LSF Options
The -lsf option allows you to run FLUENT under Platform Computing Corporation’s
LSF software, and thereby take advantage of the checkpointing features of that load man-
agement tool. For further details about using the -lsf option, go to the documentation
page on the Fluent Inc. User Services Center (www.fluentusers.com).
Parallel Options
These options are used in association with the parallel solver.
-hcl is used to pass an argument to the FLUENT host process.
-ncl is used to pass an argument to the FLUENT compute node process(es).
-loadx is used to start the parallel compute node processes on a dedicated parallel
machine from its remote front-end machine (x). -manspa is used to disable the default
automatic spawning of compute node processes.
-px specifies the use of parallel communicator x, where x can be any of the communica-
tors listed in Section 31.3.1: Starting Parallel FLUENT on a Linux/UNIX System Using
Command Line Options.
-pathx specifies the root path (path) to the Fluent.Inc installation directory.
-tx specifies that x processors are to be used. For more information about starting the
parallel version of FLUENT, see Section 31.3: Starting Parallel FLUENT on a Linux/UNIX
System.
c Fluent Inc. September 29, 2006 1-11
Starting and Executing FLUENT
-cnf=x (where x is the name of a hosts file) spawns a compute node on each machine
listed in the hosts file. Otherwise, you can spawn the processes as described in Sec-
tion 31.3.1: Starting Parallel FLUENT on a Linux/UNIX System Using Command Line
Options.
The -checknetwork allows you to check the configuration of the machines you are using
for parallel spawning. This option has to be used with the -cnf=x command. This option
is only valid when running the parallel version of FLUENT. The command you will invoke
to check if your machines are configured properly is
fluent version -t0 -pnet -cnf=x -checknetwork
If your hosts file specifies more machines than you want to use, it will check only those
machines which it needs for the current run and will not go over the complete list. To
learn more about hosts files, refer to Sections 31.2.1 and 31.3.1.
An alternative to using the -checknetwork command line option is to set your environ-
ment such that FLUENT_CHECK_NETWORK is set to 1. With this specified, FLUENT will
always check the network without the -checknetwork command being invoked.
Postprocessing Option
fluent -post will run a version of the solver that allows you to set up a problem
or perform postprocessing, but will not allow you to perform calculations. Running
FLUENT for pre- and postprocessing requires you to use the -post flag on startup. To use
this option on Linux/UNIX, launch FLUENT by adding the -post flag after the version
number, for example,
fluent 3d -post
To use this option on Windows, you will use the Version panel, as described in Sec-
tion 1.1.3: Specifying the Solver Version from the FLUENT Version Panel.
SGE options
The -sge option runs FLUENT under Sun Grid Engine (SGE) software, and allows
you to use the features of this software to manage your distributed computing re-
sources. Other options that can be employed in conjunction with -sge are -sgeq queue,
-sgeckpt ckpt obj, and -sgepe fluent pe min n-max n. For a detailed explanation
of these options, go to the documentation page on the Fluent Inc. User Services Center
(www.fluentusers.com).
1-12
c Fluent Inc. September 29, 2006
1.2 Executing FLUENT Remotely
where XX and YY are the width and height in pixels, respectively, and +00-50 is the
position of the window.
Therefore, typing fluent 3d -geometry 700x500+20-400 will start the 3D version of
FLUENT, sizing the FLUENT console to 700x500 pixels and positioning it on your monitor
screen at +20-400.
c Fluent Inc. September 29, 2006 1-13
Starting and Executing FLUENT
Note the following limitations when you run FLUENT on a remote Linux/UNIX machine
from a local Windows machine:
• You will not be able to read or write files using the items in the File pull-down menu;
use the text commands for reading and writing files instead. See the separate Text
Command List for details.
3. In the Select Solver panel, under Remote Execution, set the internet name of the
remote machine (Hostname), your username at that machine (Username), and your
password at that machine (Password).
4. Specify the appropriate solver version under Versions and Options in the Select
Solver panel. (More information about these items is available in Sections 1.1 and
31.2.)
If the remote processor refuses to start the solver, you may need to try the procedure
described in Section 1.2.3: Starting the Solver Manually on the Remote Machine.
1-14
c Fluent Inc. September 29, 2006
1.2 Executing FLUENT Remotely
1. Click the Listen button in the Select Solver panel or type listen at the version>
prompt (and press <Enter> to accept the default “time out”).
FLUENT will print a message telling you what arguments you should use to start
the solver on a remote machine. The arguments will be in this format:
-cx host:p1:p2
where host is the name of the host Cortex is running on, and :p1:p2 are two
colon-separated integers indicating the port numbers being used.
2. Open a telnet or xterm window and log onto the remote machine where you want
to launch the solver.
3. In the telnet or xterm window, type the following to start the desired version of
FLUENT:
replacing version by the version that you wish to run (e.g., 3d), and the host and
port numbers by the values displayed above when you clicked Listen in the Select
Solver panel or typed listen in the FLUENT console window.
c Fluent Inc. September 29, 2006 1-15
Starting and Executing FLUENT
or in a Bourne/Korn-shell, type:
In these examples,
• -g indicates that the program is to be run without the GUI or graphics (see Sec-
tion 1.1: Starting FLUENT).
• inputfile is a file of FLUENT commands that are identical to those that you would
type interactively.
• outputfile is a file that the background job will create and which will contain the
output that FLUENT would normally print to the screen (e.g., the menu prompts
and residual reports).
• & tells the Linux/UNIX system to perform this task in background and to send all
standard system errors (if any) to outputfile.
1-16
c Fluent Inc. September 29, 2006
1.3 Running FLUENT in Batch Mode
The file inputfile can be a journal file created in an earlier FLUENT session, or it can
be a file that you have created using a text editor. In either case, the file must consist
only of text interface commands (since the GUI is disabled during batch execution). A
typical inputfile is shown below:
This example file reads a case file example.cas, initializes the solution, and performs
100 iterations in two groups of 50, saving a new data file after each 50 iterations. The
final line of the file terminates the session. Note that the example input file makes use
of the standard aliases for reading and writing case and data files and for iterating. (it
is the alias for /solve/iterate, rc is the alias for /file/read-case, wd is the alias for
/file/write-data, etc.) These predefined aliases allow you to execute commonly-used
commands without entering the text menu in which they are found. In general, FLUENT
assumes that input beginning with a / starts in the top-level text menu, so if you use any
text commands for which aliases do not exist, you must be sure to type in the complete
name of the command (e.g., /solve/initialize/initialize-flow). Note also that
you can include comments in the file. As in the example above, comment lines must
begin with a ; (semicolon).
An alternate strategy for submitting your batch run, as follows, has the advantage that
the outputfile will contain a record of the commands in the inputfile. In this ap-
proach, you would submit the batch job in a C-shell using:
or in a Bourne/Korn-shell using:
c Fluent Inc. September 29, 2006 1-17
Starting and Executing FLUENT
fluent 3d -g -i journal
In these examples,
• -wait is the command you type in a DOS batch file or some other script in a
situation where the script needs to wait until FLUENT has completed its run.
• -hidden is similar to the -wait command, but also executes FLUENT completely
hidden and noninteractively.
To get an output (or transcript) file while running FLUENT in the background on a Win-
dows system, the journal file must contain the following command to write a transcript
file:
where the outputfile is a file that the background job will create and which will contain
the output that FLUENT would normally print to the screen (e.g., the menu prompts
and residual reports).
See Section 4.9: Creating and Reading Journal Files for details about journal files. See
Section 4.10: Creating Transcript Files for details about transcript files.
1-18
c Fluent Inc. September 29, 2006
1.3 Running FLUENT in Batch Mode
Confirm File Overwrite determines whether FLUENT confirms a file overwrite. This
option is turned on by default.
Hide Questions allows you to hide Question dialog boxes. This option is turned off by
default.
Exit on Error allows you to automatically exit from batch mode when an error occurs.
This option is turned off by default.
Note that these options are also available in the file/set-batch-options command in
the text interface.
file −→set-batch-options
Any combination of these options can be turned on or off at any given time prior to
running in batch mode.
c Fluent Inc. September 29, 2006 1-19
Starting and Executing FLUENT
i Batch option settings are not saved with case files. They are meant to
apply for the duration of the current FLUENT session only. If you read in
additional mesh or case files during this session, the batch option settings
will not be altered. As batch options are not saved with case files, journal
files developed for use in batch mode should begin by enabling the desired
batch option settings (if different from the default settings).
1-20
c Fluent Inc. September 29, 2006
1.4 Checkpointing a FLUENT Simulation
(ckpt/time-step?#t)
Now when you save the checkpoint file (as described previously), the case and
data file will be saved at the end of the current time-step and named accordingly.
To switch back to the default checkpointing mechanism at the end of the current
iteration, use the following Scheme command:
(ckpt/time-step?#f)
i Note that the (ckpt/time-step?#t) command will have the effect only in
the case of an unsteady simulation.
To change the default location of the saved case and data files, you can use the
following Scheme commands:
and
where pathname is the path you wish to set as the new default location of the saved
case and data files.
c Fluent Inc. September 29, 2006 1-21
Starting and Executing FLUENT
sh kill-fluent-thor-32895
Or, if the shell script already has executable permissions, simply type:
kill-fluent-thor-32895
i Once a FLUENT session has been closed, you can safely delete any left over
kill scripts from your working directory.
1-22
c Fluent Inc. September 29, 2006
Chapter 2. Graphical User Interface (GUI)
The user interface to FLUENT consists of a graphical interface with pull-down menus,
panels, and dialog boxes, as well as a textual command line interface (described in Chap-
ter 3: Text User Interface (TUI)).
• Section 2.2: Customizing the Graphical User Interface (UNIX Systems Only)
2.1.1 Console
The FLUENT Console is the main window that controls the execution of the program.
When using the Console to interact with FLUENT, you have a choice between a text user
interface (TUI) and a graphical user interface (GUI). The Console contains a terminal
emulator for the TUI and a menu bar for the GUI.
Terminal Emulator
The terminal emulator is similar in behavior to “xterm” or other UNIX command shell
tools, or to the MS-DOS Command Prompt window on Windows systems. It allows
you to interact with the TUI menu. More information on the TUI can be found in
Chapter 3: Text User Interface (TUI).
c Fluent Inc. September 29, 2006 2-1
Graphical User Interface (GUI)
Console
Graphics Window
Dialog Box
Panel
2-2
c Fluent Inc. September 29, 2006
2.1 GUI Components
All textual output from the program (e.g., error messages) is printed in the terminal
emulator, and all typing is displayed on the bottom line. As the number of text lines
grows, the lines will be scrolled off the top of the window. The scroll bar on the right
allows you to go back and look at the preceding text.
The terminal emulator accepts <Ctrl-C> to let you interrupt the program while it is
working. It also lets you perform text copy and paste operations between the Console
and other X Window (or Windows) applications that support copy and paste. The
following steps show you how to perform a copy and paste operation on a UNIX system:
3. Move the pointer to the end of the text (text should be highlighted).
On a Windows system, you will follow the steps below to copy text to the clipboard:
3. Move the pointer to the end of the text (text should be highlighted).
c Fluent Inc. September 29, 2006 2-3
Graphical User Interface (GUI)
Menu Bar
The menu bar organizes the GUI menu hierarchy using a set of pull-down menus. A
pull-down menu contains items that perform commonly executed actions. Figure 2.1.3
shows the FLUENT menu bar. Menu items are arranged to correspond to the typical
sequence of actions that you perform in FLUENT (i.e., from left to right and from top to
bottom).
To select a pull-down menu item with the mouse, follow the procedure outlined below:
3. Move the pointer to the item you wish to select and click it.
In addition to using the mouse, you can also select a pull-down menu item using the
keyboard. Each pull-down menu label or menu item contains one underlined character,
known as the mnemonic. Pressing the <Alt> key plus the mnemonic character of a pull-
down menu will display the menu. Once the pull-down menu is selected and displayed,
you can type a mnemonic character associated with an item to select that item. If at
any time you wish to cancel a menu selection while a pull-down menu is posted, you can
press the <Esc> key. For example, to display the Help menu and select the Using Help...
option, press <Alt> h, then h.
A pull-down menu item may also have an accelerator key associated with it. An accel-
erator key can be used to select a menu item without displaying the pull-down menu. If
a menu item has an associated accelerator key, the key will be shown to the right of the
item. For example, if a pull-down menu contains the item Iterate... Ctrl+I, you can select
this item by holding down the <Ctrl> key and pressing the “I” key.
2-4
c Fluent Inc. September 29, 2006
2.1 GUI Components
The Information dialog box is used to report some information that FLUENT thinks you
should know. Once you have read the information, you can click the OK button to close
the dialog box.
The Warning dialog box is used to warn you of a potential problem and ask you whether
or not you want to proceed with the current operation. If you click the OK button, the
operation will proceed. If you click the Cancel button, the operation will be canceled.
c Fluent Inc. September 29, 2006 2-5
Graphical User Interface (GUI)
The Error dialog box is used to alert you of an error that has occurred. Once you have
read the error information, you can click the OK button to close the dialog box.
The Working dialog box is displayed when FLUENT is busy performing a task. This is a
special dialog box, because it requires no action by you. It is there to let you know that
you must wait. When the program is finished, it will close the dialog box automatically.
You can, however, abort the task that is being performed by clicking the Cancel button.
The Question dialog box is used to ask you a question that requires a yes or no answer.
You can click the appropriate button to answer the question.
2-6
c Fluent Inc. September 29, 2006
2.1 GUI Components
File selection on Windows systems is accomplished using the standard Windows Select
File dialog box.
See documentation regarding your Windows system for further instructions on file selec-
tion.
For UNIX or Linux systems, note that the appearance of the Select File dialog box will
not always be the same.
The version shown in Figure 2.1.5 will appear in almost all cases, but it will be different if
you are loading external data files for use in an XY plot (see the Section 28.8.2: Including
External Data in the Solution XY Plot for more information). In such cases, the dialog
box will look like Figure 2.1.6.
c Fluent Inc. September 29, 2006 2-7
Graphical User Interface (GUI)
Figure 2.1.5: The Select File Dialog Box for UNIX or Linux Platforms
2. Specify the file name by selecting it in the Files list or entering it in the File text
entry box (if available) at the bottom of the dialog box. The name of this text
entry box will change depending on the type of file you are selecting (Case File,
Journal File, etc.).
2-8
c Fluent Inc. September 29, 2006
2.1 GUI Components
Figure 2.1.6: Another Version Select File Dialog Box for UNIX or Linux Plat-
forms
i Note that if you are searching for an existing file with a nonstandard ex-
tension, you may need to modify the “search pattern” at the end of the
path in the Filter text entry box. For example, if you are reading a data
file, the default extension in the search path will be *.dat*, and only those
files that have a .dat extension will appear in the Files list. If you want
files with a .DAT extension to appear in the Files list, you can change the
search pattern to *.DAT*. If you want all files in the directory to be listed
in the Files list, enter just * as the search pattern.
3. If you are reading multiple XY-plot data files, the selected file will be added to the
list of XY File(s). You can choose another file, following the instructions above, and
it will also be added to this list. (If you accidentally select the wrong file, you can
choose it in the XY File(s) list and click the Remove button to remove it from the
list of files to be read.) Repeat until all of the desired files are in the XY File(s) list.
4. If you are writing a case, data, or radiation file, use the Write Binary Files check
box to specify whether the file should be written as a text or binary file. You can
read and edit a text file, but it will require more storage space than the same file
in binary format. Binary files take up less space and can be read and written by
FLUENT more quickly.
c Fluent Inc. September 29, 2006 2-9
Graphical User Interface (GUI)
5. Click the OK button to read or write the specified file. Shortcuts for this step are
as follows:
• If your file appears in the Files list and you are not reading an XY file, double-
click it instead of just selecting it. This will automatically activate the OK
button. (If you are reading an XY file, you will always have to click OK
yourself. Clicking or double-clicking will just add the selected file to the XY
File(s) list.)
• If you entered the name of the file in the File text entry box, you can press
the <Enter> key instead of clicking the OK button.
2.1.3 Panels
Panels are used to perform more complicated input tasks. Similar to a dialog box, a
panel is displayed in a separate window, but working with a panel is more akin to filling
out a form. Each panel is unique and employs various types of input controls that make
up the form. The types of controls you will see are described further in this section.
When you have finished entering data in a panel’s controls, you will need to apply the
changes you have made, or cancel the changes, if desired. For this task, each panel falls
into one of two behavioral categories, depending on how it was designed.
The first category of panels is used in situations where it is desirable to apply the changes
and immediately close the panel. This type of panel includes two button controls as
described below:
OK applies any changes you have made to the panel, then closes the panel.
Cancel closes the panel, ignoring any changes you have made.
2-10
c Fluent Inc. September 29, 2006
2.1 GUI Components
The other category of panels is used in situations where it is desirable to keep the panel
displayed on the screen after changes have been applied. This makes it easy to quickly
go back to that panel and make more changes. Panels used for postprocessing and grid
adaption often fall into this category. This type of panel includes two button controls as
described below:
Apply applies any changes you have made to the panel, but does not close the panel.
The name of this button is often changed to something more descriptive. For
example, many of the postprocessing panels use the name Display for this button,
and the adaption panels use the name Adapt.
All panels include the following button used to access on-line help:
Help displays information about the controls in the panel. The help information will
appear in your web browser.
Each type of input control utilized by the panels is described below. Note that the
examples shown here are for a UNIX system; if you are working on a Windows system,
your panel controls may look slightly different, but they will work exactly as described
here.
c Fluent Inc. September 29, 2006 2-11
Graphical User Interface (GUI)
Tab
Much like the tabs on a notebook divider, tabs in panels are used to mark the different
sections into which a panel is divided. A panel that contains many controls may be
divided into different sections to reduce the amount of screen space it occupies. You can
access each section of the panel by “clicking” the left mouse button on the corresponding
tab. A click is one press and release of the mouse button.
Button
Check Box
A check box, also referred to as a check button, is used to turn on/off an item or action
indicated by the check box label. Click the left mouse button on the check box to toggle
the state.
Radio Buttons
Radio buttons are a set of check boxes with the condition that only one can be set in the
“on” position at a time. When you click the left mouse button on a radio button, it will
be turned on, and all others will be turned off. Radio buttons appear either as diamonds
(as shown above) or as circles.
2-12
c Fluent Inc. September 29, 2006
2.1 GUI Components
Text Entry
A text entry lets you type text input. It will often have a label associated with it to
indicate the purpose of the entry.
An integer number entry is similar to a text entry except it allows only integer numbers
to be entered (e.g., 10, -10, 50000 and 5E4). You may find it easier to enter large integer
numbers using scientific notation. For example, you could enter 350000 or 3.5E5.
The integer number entry also has arrow buttons that allow you to easily increase or
decrease its value. For most integer number entry controls, the value will be increased
(or decreased) by one when you click an arrow button. You can increase the size of the
increment by holding down a keyboard key while clicking the arrow button. The keys
used are shown below:
A real number entry is similar to a text entry, except it allows only real numbers to be
entered (e.g., 10, -10.538, 50000.45 and 5.72E-4). In most cases, the label will show the
units associated with the real number entry.
c Fluent Inc. September 29, 2006 2-13
Graphical User Interface (GUI)
Single-Selection List
A single-selection list contains zero or more items. Each item is printed on a separate line
in the list. You can select an item by placing the pointer over the item line and clicking
with the left mouse button. The selected item will become highlighted. Selecting another
item will deselect the previously selected item in the list.
Many panels will also accept a double-click in order to invoke the panel action that
is associated with the list selection (see information on the panel of interest for more
details).
Multiple-Selection List
2-14
c Fluent Inc. September 29, 2006
2.1 GUI Components
Drop-Down List
A drop-down list is a hidden single-selection list that shows only the current selection to
save space.
When you want to change the selection, follow the steps below:
3. Click the left mouse button on the item to make the selection and close the list.
If you wish to abort the selection operation while the list is displayed, you can move the
pointer anywhere outside the list and click the left mouse button.
c Fluent Inc. September 29, 2006 2-15
Graphical User Interface (GUI)
Scale
The scale is used to select a value from a predefined range by moving a slider. The number
shows the current value. To change the value, follow one of the procedures below:
3. Move the pointer along the slider bar to change the value.
or
1. Place the pointer over the slider and click the left mouse button.
2. Using the arrow keys on the keyboard, move the slider bar left or right to change
the value.
2-16
c Fluent Inc. September 29, 2006
2.1 GUI Components
4.18e+02
3.08e+02
1.98e+02
8.80e+01
-2.22e+01
-1.32e+02
-2.43e+02
-3.53e+02
-4.63e+02
-5.73e+02
-6.83e+02
-7.93e+02
-9.04e+02
-1.01e+03
-1.12e+03
-1.23e+03
-1.34e+03
-1.45e+03
-1.56e+03
-1.67e+03
-1.78e+03
The Display Options panel can be used to change the attributes of the graphics display or
to open another display window. The Mouse Buttons panel can be used to set the action
taken when a mouse button is pressed in the display window.
i To cancel a display operation, press <Ctrl-C> while the data is being pro-
cessed in preparation for graphical display. You cannot cancel the operation
after the program begins to draw in the graphics window.
For Windows systems, there are special features for printing the contents of the graphics
window directly. These features are not available on UNIX systems.
c Fluent Inc. September 29, 2006 2-17
Graphical User Interface (GUI)
Printing the Contents of the Graphics Display Window (Windows Systems Only)
If you are using the Windows version of FLUENT, you can display the graphics window’s
system menu by clicking in the upper-left corner of the graphics window. This menu
contains the usual system commands, such as move, size, and close. Along with the
system commands, FLUENT adds three more commands to the menu for printer and
clipboard support. These commands are described below:
Copy to Clipboard places a copy of the current picture into the Microsoft Windows
clipboard. Some attributes of the copied picture can be changed using the Page
Setup panel. The size of your graphics window affects the size of the text fonts
used in the picture. For best results, experiment with the graphics window size
and examine the resulting clipboard picture using the Windows clipboard viewer.
Print... displays the Microsoft Windows Print dialog box, which enables you to send
a copy of the picture to a printer. Some attributes of the copied picture can be
changed using the Page Setup panel. Still more attributes of the final print can
be specified within the Microsoft Windows Print and Print Setup dialog boxes (see
documentation for Microsoft Windows and your printer for details).
Page Setup... displays the Page Setup panel, which allows you to change attributes of
the picture copied to the clipboard, or to a printer. Further details about this panel
are included in the following section.
To open the Page Setup panel, select the Page Setup... menu item in the graphics display
window’s system menu.
Controls
Color allows you to specify a color or non-color picture.
Color selects a color picture.
Gray Scale selects a gray-scale picture.
Monochrome selects a black-and-white picture.
Color Quality allows you to specify the color mode used for the picture.
True Color creates a picture defined by RGB values. This assumes that your
printer or display has at least 65536 colors, or “unlimited colors”.
Mapped Color creates a picture that uses a colormap. This is the right choice
for devices that have 256 colors.
2-18
c Fluent Inc. September 29, 2006
2.1 GUI Components
Clipboard Formats allows you to choose the desired format copied to the clipboard.
The size of your graphics window can affect the size of the clipboard picture. For
best results, experiment with the graphics window size and examine the resulting
clipboard picture using the Windows clipboard viewer.
Bitmap is a bitmap copy of the graphics window.
DIB Bitmap is a device-independent bitmap copy of the graphics window.
Metafile is a Windows Metafile.
Enhanced Metafile is a Windows Enhanced Metafile.
Printer Scale % controls the amount of the page that the printed picture will cover.
Decreasing the scaling will effectively increase the margin between the picture and
the edge of the paper.
c Fluent Inc. September 29, 2006 2-19
Graphical User Interface (GUI)
!
! General resources
!
Fluent*geometry: +0-0
Fluent*fontList: *-helvetica-bold-r-normal--12-*
Fluent*MenuBar*fontList: *-helvetica-bold-r-normal--12-*
Fluent*XmText*fontList: *-fixed-medium-r-normal--13-*
Fluent*XmTextField*fontList: *-fixed-medium-r-normal--13-*
Fluent*foreground: black
Fluent*background: gray75
Fluent*activeForeground: black
Fluent*activeBackground: gray85
Fluent*disabledTextColor: gray55
Fluent*XmToggleButton.selectColor: green
Fluent*XmToggleButtonGadget.selectColor: green
Fluent*XmText.translations:\
#override<Key>Delete: delete-previous-character()
Fluent*XmTextField.translations:\
#override<Key>Delete: delete-previous-character()
2-20
c Fluent Inc. September 29, 2006
2.2 Customizing the Graphical User Interface (UNIX Systems Only)
!
! Console resources
!
Fluent*ConsoleText.rows: 24
Fluent*ConsoleText.columns: 80
Fluent*ConsoleText.background: linen
!
! Help Viewer resources
!
Fluent*Hyper.foreground: black
Fluent*Hyper.background: linen
Fluent*Hyper.hyperColor: SlateBlue3
Fluent*Hyper*normalFont:\
*-new century schoolbook-medium-r-normal--12-*
Fluent*Hyper*hyperFont:\
*-new century schoolbook-bold-r-normal--12-*
Fluent*Hyper*texLargeFont:\
*-new century schoolbook-bold-r-normal--14-*
Fluent*Hyper*texBoldFont:\
*-new century schoolbook-bold-r-normal--12-*
Fluent*Hyper*texFixedFont:\
*-courier-bold-r-normal--12-*
Fluent*Hyper*texItalicFont:\
*-new century schoolbook-medium-i-normal--12-*
Fluent*Hyper*texMathFont:\
*-symbol-medium-r-normal--14-*
Fluent*Hyper*texSansFont:\
*-helvetica-bold-r-normal--12-*
To customize one or more of the resources for a particular user, place appropriate resource
specification lines in that user’s file $HOME/.Xdefaults or whatever resource file is loaded
by the X Window System on the user’s platform.
To customize one or more of the resources for several users at a site, place the resource
specification lines in an application defaults resource file called Fluent. This file should
then be installed in a directory such as /usr/lib/X11/app-defaults, or on SUN work-
stations, the directory may be /usr/openwin/lib/app-defaults. See documentation
regarding your platform for more information.
c Fluent Inc. September 29, 2006 2-21
Graphical User Interface (GUI)
2-22
c Fluent Inc. September 29, 2006
2.3 Using the GUI Help System
c Fluent Inc. September 29, 2006 2-23
Graphical User Interface (GUI)
2-24
c Fluent Inc. September 29, 2006
2.3 Using the GUI Help System
c Fluent Inc. September 29, 2006 2-25
Graphical User Interface (GUI)
2-26
c Fluent Inc. September 29, 2006
2.3 Using the GUI Help System
c Fluent Inc. September 29, 2006 2-27
Graphical User Interface (GUI)
i To link to the User Services Center on UNIX platforms, you must first have
installed the contents of the FLUENT Documentation CD, which contains
the files necessary to launch your browser so you can automatically view
the appropriate web pages.
2-28
c Fluent Inc. September 29, 2006
Chapter 3. Text User Interface (TUI)
In addition to the graphical user interface described in Chapter 2: Graphical User Inter-
face (GUI), the user interface to FLUENT includes a textual command line interface.
The text interface (TUI) uses, and is written in, a dialect of Lisp called Scheme. Users
familiar with Scheme will be able to use the interpretive capabilities of the interface to
create customized commands.
>
c Fluent Inc. September 29, 2006 3-1
Text User Interface (TUI)
To generate a listing of the submenus and commands in the current menu, simply press
<Enter>.
> <Enter>
adapt/ file/ report/
define/ grid/ solve/
display/ parallel/ surface/
exit plot/ view/
By convention, submenu names end with a / to differentiate them from menu commands.
To execute a command, just type its name (or an abbreviation). Similarly, to move down
into a submenu, enter its name or an abbreviation. When you move into the submenu,
the prompt will change to reflect the current menu name.
> display
/display> set
/display/set>
To move back to the previously occupied menu, type q or quit at the prompt.
/display/set> q
/display>
/display> /file
/display//file>
In the above example, control was passed from /display to /file without stopping in
the root menu. Therefore, when you quit from the /file menu, control will be passed
directly back to /display.
/display//file> q
/display>
3-2
c Fluent Inc. September 29, 2006
3.1 Text Menu System
Furthermore, if you execute a command without stopping in any of the menus along the
way, control will again be returned to the menu from which you invoked the command.
/display>
The text menu system provides on-line help for menu commands. The text menu on-line
help system is described in Section 3.6: Using the Text Interface Help System.
To edit the current command, you can position the cursor with the left and right arrow
keys, delete with the <Backspace> key, and insert text simply by typing.
i Only the <Backspace> key is available for editing when FLUENT is started
with -g options.
c Fluent Inc. September 29, 2006 3-3
Text User Interface (TUI)
i The user inputs supplied as the arguments of the TUI command or alias
will not be saved in history. By way of illustration, consider the following
entry in the TUI:
> rc new_file.cas
> (define a 1)
a
> (+ a 2 3 4)
10
3-4
c Fluent Inc. September 29, 2006
3.2 Text Prompt System
3.1.4 Aliases
Command aliases can be defined within the menu system. As with the UNIX csh shell,
aliases take precedence over command execution. The following aliases are predefined in
Cortex: error, pwd, chdir, ls, ., and alias.
error displays the Scheme object that was the “irritant” in the most recent Scheme
error interrupt.
pwd prints the working directory in which all file operations will take place.
c Fluent Inc. September 29, 2006 3-5
Text User Interface (TUI)
3.2.1 Numbers
The most common prompt type is a number. Numbers can be either integers or reals.
Valid numbers are, for example, 16, -2.4, .9E5, and +1E-5. Integers can also be specified
in binary, octal, and hexadecimal form. The decimal integer 31 can be entered as 31,
#b11111, #o37, or #x1f. In Scheme, integers are a subset of reals, so you do not need a
decimal point to indicate that a number is real; 2 is just as much a real as 2.0. If you
enter a real at an integer prompt, any fractional part will simply be truncated; 1.9 will
become 1.
3.2.2 Booleans
Some prompts require a yes-or-no response. A yes/no prompt will accept either yes or
y for a positive response, and no or n for a negative response. yes/no prompts are used
for confirming potentially dangerous actions such as overwriting an existing file, exiting
without saving case, data, mesh, etc.
Some prompts require actual Scheme boolean values (true or false). These are entered
with the Scheme symbols for true and false, #t and #f.
3.2.3 Strings
Character strings are entered in double quotes, e.g., "red". Plot titles and plot legend
titles are examples of character strings. Character strings can include any characters,
including blank spaces and punctuation.
3.2.4 Symbols
Symbols are entered without quotes. Zone names, surface names, and material names are
examples of symbols. Symbols must start with an alphabetical character (i.e., a letter),
and cannot include any blank spaces or commas.
3-6
c Fluent Inc. September 29, 2006
3.2 Text Prompt System
3.2.5 Filenames
Filenames are actually just character strings. For convenience, filename prompts do not
require the string to be surrounded with double quotes. If, for some exceptional reason,
a filename contains an embedded space character, then the name must be surrounded
with double quotes.
One consequence of this convenience is that filename prompts do not evaluate the re-
sponse. For example, the sequence
> hc fn
will end up writing a hardcopy file with the name fn, not valve.ps. Since the filename
prompt did not evaluate the response, fn did not get a chance to evaluate "valve.ps"
as it would for most other prompts.
3.2.6 Lists
Some functions in FLUENT require a “list” of objects such as numbers, strings, booleans,
etc. A list is a Scheme object that is simply a sequence of objects terminated by the
empty list, ’(). Lists are prompted for an element at a time, and the end of the list is
signaled by entering an empty list. This terminating list forms the tail of the prompted
list, and can either be empty or can contain values. For convenience, the empty list
can be entered as () as well as the standard form ’(). Normally, list prompts save the
previous argument list as the default. To modify the list, overwrite the desired elements
and terminate the process with an empty list. For example,
element(1) [()] 1
element(2) [()] 10
element(3) [()] 100
element(4) [()] <Enter>
c Fluent Inc. September 29, 2006 3-7
Text User Interface (TUI)
creates a five element list: 1, 10, 11, 12, and 13. Finally, a single empty list removes all
elements
element(1) [1] ()
3.2.7 Evaluation
All responses to prompts (except filenames, see above) are evaluated by the Scheme
interpreter before they are used. You can therefore enter any valid Scheme expression as
the response to a prompt. For example, to enter a unit vector with one component equal
to 1/3 (without using your calculator),
/foo> set-xy
x-component [1.0] (/ 1 3)
y-component [0.0] (sqrt (/ 8 9))
or, you could first define a utility function to compute the second component of a unit
vector,
3-8
c Fluent Inc. September 29, 2006
3.3 Interrupts
shrink-factor [0.8] (/ _ 3)
3.3 Interrupts
The execution of the code can be halted using <Ctrl-C>, at which time the present
operation stops at the next recoverable location.
!pwd and !ls will execute the UNIX commands in the directory in which Cortex was
started. The screen output will appear in the window in which you started FLUENT,
unless you started it remotely, in which case the output will appear in the window in
which you started Cortex. (Note that !cd executes in a subshell, so it will not change the
working directory either for FLUENT or for Cortex, and is therefore not useful.) Typing
cd with no arguments will move you to your home directory in the console.
c Fluent Inc. September 29, 2006 3-9
Text User Interface (TUI)
FLUENT includes three system command aliases (pwd, ls, and chdir) that will be exe-
cuted in your working directory with output displayed in the FLUENT console. Note that
these aliases will invoke the corresponding UNIX commands with respect to the parent
directory of the case file. For example, pwd prints the parent directory of the case file in
the FLUENT console, while !pwd prints the directory from which you started FLUENT in
the UNIX shell window where you started FLUENT.
Several examples of system commands entered in the console are shown below. The
screen output that will appear in the window in which FLUENT was started (or, if you
started the program remotely, in the window in which Cortex was started) follows the
examples.
Example input (in the FLUENT console):
> !pwd
Example output (in the window in which FLUENT—or Cortex, if you started the program
remotely—was started):
/home/cfd/run/valve
valve1.cas valve1.msh valve2.cas valve2.msh
!cd and !dir will execute the DOS commands and the screen output will appear in the
FLUENT console. The !cd command with no argument will display the current working
directory in the FLUENT console.
3-10
c Fluent Inc. September 29, 2006
3.5 Text Menu Input from Character Strings
Several examples of system commands entered in the console are shown below.
Example input (in boxes) and output (in the FLUENT console):
> !cd
p:/cfd/run/valve
> !dir valve*.*/w
Volume in drive P is users
Volume Serial Number is 1234-5678
Directory of p:/cfd/run/valve
valve1.cas valve1.msh valve2.cas valve2.msh
4 File(s) 621,183 bytes
0 Dir(s) 1,830,088,704 bytes free
A Scheme loop that will open windows 0 and 1 and display the front view of the grid in
window 0 and the back view in window 1 is given by
(for-each
(lambda (window view)
(ti-menu-load-string (format #f "di ow ~a gr view rv ~a"
window view)))
’(0 1)
’(front back))
This loop makes use of the format function to construct the string used by
menu-load-string. This simple loop could also be written without using menu com-
mands at all, but you need to know the Scheme functions that get executed by the menu
commands to do it:
(for-each
(lambda (window view)
(cx-open-window window)
(display-grid)
(cx-restore-view view))
’(0 1) ’(front back))
c Fluent Inc. September 29, 2006 3-11
Text User Interface (TUI)
String input can also provide an easy way to create aliases within FLUENT. For example,
to create an alias that will display the grid, you could type the following:
Then any time you enter dg from anywhere in the menu hierarchy, the grid will be drawn
in the active window.
will not work even if you type it from within the display/ menu—the string itself must
cause control to enter the display/ menu, as in
> ?dis
display/: Enter the display menu.
You can also enter a lone ? to enter “help mode.” In this mode, you need only enter the
command or menu name to display the help message. To exit the help mode type q or
quit as for a normal menu.
3-12
c Fluent Inc. September 29, 2006
3.6 Using the Text Interface Help System
Example:
> ?
[help-mode]> di
display/: Enter the display menu.
[help-mode]> pwd
pwd: #[alias]
(LAMBDA ()
(BEGIN
(SET! pwd-cmd ((LAMBDA n
n) ’system (IF (cx-send ’(unix?))
"pwd"
"cd")))
(cx-send pwd-cmd)))
[help-mode]> q
To access the help, type a ? at the prompt when you are prompted for information.
Example:
> display/annotate
Annotation text [""] ?
Enter the text to annotate the plot with.
Annotation text [""]
c Fluent Inc. September 29, 2006 3-13
Text User Interface (TUI)
3-14
c Fluent Inc. September 29, 2006
Chapter 4. Reading and Writing Files
During a FLUENT session you may need to import and export several kinds of files. Files
that are read include mesh, case, data, profile, Scheme, and journal files. Files that are
written include case, data, profile, journal, and transcript files. FLUENT also has features
that allow you to save panel layouts and hardcopies of graphics windows. You can also
export data for use with various visualization and postprocessing tools. These operations
are described in the following sections.
• Section 4.4: Reading FLUENT/UNS and RAMPANT Case and Data Files
c Fluent Inc. September 29, 2006 4-1
Reading and Writing Files
• Tilde expansion.
Note: You cannot read and edit a binary file, as you can do for a text file.
To save a text file, turn off the Write Binary Files option in the Select File dialog box when
you are writing the file.
4-2
c Fluent Inc. September 29, 2006
4.1 Shortcuts for Reading and Writing Files
c Fluent Inc. September 29, 2006 4-3
Reading and Writing Files
You can also type in the filename without any suffix (e.g., if you are not sure whether or
not the file is compressed). First, the solver attempts to open a file with the input name.
If it cannot find a file with that name, it attempts to locate files with default suffixes and
extensions appended to the name.
For example, if you enter the name file-name, the solver traverses the following list
until it finds an existing file:
• file-name
• file-name.gz
• file-name.Z
• file-name.suffix
• file-name.suffix.gz
• file-name.suffix.Z
where suffix is a common extension to the file, such as .cas or .msh. The solver reports
an error if it fails to find an existing file with one of these names.
i For Windows systems, only files that were compressed with gzip (i.e.,
files with a .gz extension) can be read. Files that were compressed with
compress cannot be read into FLUENT on a Windows machine.
i Do not read a compressed ray file; FLUENT cannot access the ray tracing
information properly from a compressed ray file.
4-4
c Fluent Inc. September 29, 2006
4.1 Shortcuts for Reading and Writing Files
The status message indicates that the case file information is being piped into the gzip
command, and that the output of the compression command is being redirected to the
file with the specified name. In this particular example, the .cas extension is added
automatically.
i For Windows systems, compression can be performed only with gzip. That
is, you can write a compressed file by appending .gz to the name, but
appending .Z does not compress the file.
i Do not write a compressed ray file; FLUENT cannot access the ray tracing
information properly from a compressed ray file.
c Fluent Inc. September 29, 2006 4-5
Reading and Writing Files
• For unsteady-state calculations, you can save files with names that reflect the time
step at which they are saved by including the character string %t in the file name.
For example, you can specify contours-%t.ps for the file name, and the solver
saves a file with the appropriate name (e.g., contours-0001.ps if the solution is
at the first time step).
This automatic saving of files with the time step should not be used for steady-state
cases, since the time step will always remain zero.
• For unsteady-state calculations, you can save files with names that reflect the
flow-time at which they are saved by including the character string %f in the file
name. The usage is similar to %t. For example, when you specify filename-%f.ps
for the file name, the solver will save a file with the appropriate name (e.g.,
filename-005.000000.ps for a solution at a flow-time of 5 seconds). By default,
the flow-time that is included in the file name will have a field width of 10 and
6 decimal places. To modify this format, use the character string %x.yf, where
x and y are the preferred field width and number of decimal places, respectively.
FLUENT will automatically add zeros to the beginning of the flow-time to achieve
the prescribed field width. To eliminate these zeros and left align the flow-time,
use the character string %-x.yf instead.
This automatic saving of files with flow-time should not be used for steady-state
cases, since the flow-time will always remain zero.
• To save a file with a name that reflects the iteration at which it is saved, use the
character string %i in the file name. For example, you can specify contours-%i.ps
for the file name, and the solver saves a file with the appropriate name (e.g.,
contours-0010.ps if the solution is at the 10th iteration).
• To save a hardcopy file with a name that reflects the total number of hardcopy
files saved so far in the current solver session, use the character string %n in the file
name.
This option can be used only for hardcopy files.
The default field width for %i, %t, and %n formats is 4. You can change the field width
by using %xi, %xt, and %xn in the filename, where x is the preferred field width.
4-6
c Fluent Inc. September 29, 2006
4.2 Reading Mesh Files
c Fluent Inc. September 29, 2006 4-7
Reading and Writing Files
For information about reading PreBFC mesh files, see Section 6.3.4: PreBFC Grid Files.
i If you adapt the grid, you must save a new case file as well as a data
file. Otherwise the new data file will not correspond to the case file (for
example, they will have different numbers of cells). If you have not saved
the latest case or data file, FLUENT will warn you when you try to exit
the program.
4-8
c Fluent Inc. September 29, 2006
4.3 Reading and Writing Case and Data Files
c Fluent Inc. September 29, 2006 4-9
Reading and Writing Files
4-10
c Fluent Inc. September 29, 2006
4.3 Reading and Writing Case and Data Files
FLUENT saves a maximum of five case and five data files, irrespective of the frequency.
After saving the specified number of files, FLUENT overwrites the earliest existing file.
For steady-state calculations, the saved file name that you enter in the File Name field
will have an iteration appended to it.
For unsteady-state calculations, you can autosave files such that your file name has a
flow time or time step appended to it. You can select time-step or flow-time from the
Append File Name with drop-down list (see Figure 4.3.2).
Enter the file name for the autosave files in the File Name field. The iteration or time-step
number and an appropriate suffix (.cas or .dat) is added to the specified root name. If
the specified File Name ends in .gz or .Z, appropriate file compression is performed. See
Section 4.1.5: Reading and Writing Compressed Files for details about file compression.
Consider an unsteady-state case for which you want to save your case and/or data files
at known time steps. The procedure you would follow is to first set a frequency for the
Autosave Case/Data File Frequency field. Select time-step from the Append File Name with
drop-down list. The resulting files saved would be
myfile-0005.cas
myfile-0005.dat
indicating that this file was saved at the fifth time step.
c Fluent Inc. September 29, 2006 4-11
Reading and Writing Files
If you want to save your case and/or data files at known flow times, select flow-time from
the Append File Name with drop-down list. The default No. of Decimal Digits in File Name
will be six, however, you can modify this number to reduce or increase the width of your
file name. Enter a file name (myfile) in the File Name field. The resulting files saved are
myfile-0.500000.cas
myfile-0.500000.dat
For steady-state and unsteady-state cases, you have the option to specify the format in
which you want to save your case and/or data files. For example, you may want to save
your solutions at certain flow times with their corresponding time steps (transient cases
only). Select time-step from the Append File Name with and enter the File Name followed
by a -%f, indicating the flow time as described in Section 4.1.7: Automatic Numbering
of Files.
4-12
c Fluent Inc. September 29, 2006
4.4 Reading FLUENT/UNS and RAMPANT Case and Data Files
For example, entering filename-%f will result in the saved file name having the for-
mat filename-000.500000-0010.cas. The naming convention used in the example
(filename-000.500000-0010.cas) can be explained as follows:
• filename- is the file name you chose when autosaving your solution.
• 000.500000 is the flow time (%f) and has a field width of ten characters, allowing
for six decimal places, as discussed in Section 4.1.7: Automatic Numbering of Files.
• 0010 is the appended time-step, selected from the Append File Name with drop-down
list.
• .cas or .dat is your file extension when using the autosave option.
i The automatic numbering of files can be applied when using the autosave
function. Section 4.1.7: Automatic Numbering of Files has information on
automatic numbering of files.
c Fluent Inc. September 29, 2006 4-13
Reading and Writing Files
4-14
c Fluent Inc. September 29, 2006
4.6 Reading and Writing Boundary Conditions
file back into the solver, the surface name is the profile name and the value name
is the field name that appears in the drop-down lists in the boundary condition
panels.
5. Select the Write Currently Defined Profiles option:
• If you have made any modifications to the boundary profiles since you read
them in (e.g., if you reoriented an existing profile to create a new one).
• If you wish to store all the profiles used in a case file in a separate file.
6. Click Write... and specify the file name in the resulting Select File dialog box. All
currently defined profiles are saved in this file. This file can be read back into the
solver whenever you wish to use these profiles again.
Note: If the boundary conditions are not checked and some remain uninitialized, the
case will not run successfully.
When the read-bc feature is not used, all boundary conditions get the default settings
when a mesh file is imported, allowing the case to run with the default values.
If you want FLUENT to apply a set of conditions to multiple zones with similar names, or
to a single zone with a name you are not sure of in advance, you can edit the boundary-
condition file saved with the write-bc command to include wildcards (*) within the
c Fluent Inc. September 29, 2006 4-15
Reading and Writing Files
zone names. For example, if you want to apply a particular set of conditions to wall-12,
wall-15, and wall-17 in your current model, edit the boundary-condition file so that
the zone name associated with the desired conditions is wall-*.
Shorter files can also be loaded with the File/Read/Journal... menu item or the file/
read-journal command in the text interface (or its . or source alias).
> . file.scm
In this case, each character of the file is echoed to the console as it is read in the same
way as if you were typing in the contents of the file.
4-16
c Fluent Inc. September 29, 2006
4.9 Creating and Reading Journal Files
i A journal file is, by design, just a simple record and playback facility. It
contains no information about the state in which it was recorded or the
state in which it is being played back.
• Be careful not to change the directory while recording a journal file. Also, try to
re-create the state in which the journal was written before you read it into the
program. For example, if your journal file includes an instruction to save a new
file with a specified name, you should check that if a file with that name exists in
your directory before you read in your journal file. If a file with that name exists
and you read in your journal file, when the program reaches the write instruction,
it will prompt for a confirmation if it is OK to overwrite the old file.
Since the journal file does not contain any response to the confirmation request,
FLUENT cannot continue to follow the instructions of the journal file.
• Other conditions that may affect the program’s ability to perform the instructions
contained in a journal file can be created by modifications or manipulations that
you make within the program.
For example, if your journal file creates several surfaces and displays data on those
surfaces, you must be sure to read in appropriate case and data files before reading
the journal file.
i At a point of time, only one journal file can be open for recording, but you
can write a journal and a transcript file simultaneously. You can also read
a journal file at any time.
c Fluent Inc. September 29, 2006 4-17
Reading and Writing Files
4.9.1 Procedure
To start the journaling process, select the File/Write/Start Journal... menu item.
File −→ Write −→Start Journal...
After you enter a name for the file in the Select File dialog box, journal recording begins.
The Start Journal... menu item becomes the Stop Journal menu item. You can end journal
recording by selecting Stop Journal, or by exiting the program.
File −→ Write −→Stop Journal
You can read a journal file into the program using the Select File dialog box invoked by
selecting the File/Read/Journal... menu item.
File −→ Read −→Journal...
Journal files are always loaded in the main (i.e., top-level) text menu, regardless of where
you are in the text menu hierarchy when you invoke the read command.
i Only one transcript file can be open for recording at a time, but you can
write a transcript and a journal file simultaneously. You can also read a
journal file while a transcript recording is in progress.
To start the transcripting process, select the File/Write/Start Transcript... menu item.
File −→ Write −→Start Transcript...
After you enter a name for the file in the Select File dialog box, transcript recording
begins and the Start Transcript... menu item becomes the Stop Transcript menu item.
You can end transcript recording by selecting Stop Transcript, or by exiting the program.
File −→ Write −→Stop Transcript
4-18
c Fluent Inc. September 29, 2006
4.11 Importing Files
• CGNS files.
• EnSight files.
• GAMBIT files.
c Fluent Inc. September 29, 2006 4-19
Reading and Writing Files
4-20
c Fluent Inc. September 29, 2006
4.11 Importing Files
c Fluent Inc. September 29, 2006 4-21
Reading and Writing Files
i To import data correctly, first import the mesh using the mesh only option
(Mesh...), set up the boundary conditions, and read the data using the data
only option (Data...). For example, if a boundary zone is of type pressure-
outlet and is read as outlet, it should be changed to pressure-outlet before
importing the data.
i The new and original grids should have the same zones, numbered in the
same order. A warning is issued if they do not, because inconsistencies can
create problems with the boundary conditions.
4-22
c Fluent Inc. September 29, 2006
4.11 Importing Files
c Fluent Inc. September 29, 2006 4-23
Reading and Writing Files
4-24
c Fluent Inc. September 29, 2006
4.11 Importing Files
c Fluent Inc. September 29, 2006 4-25
Reading and Writing Files
4-26
c Fluent Inc. September 29, 2006
4.11 Importing Files
c Fluent Inc. September 29, 2006 4-27
Reading and Writing Files
• Nodes, Elements
• Temperature
• Pressure
• Heat Flux
• Force
To generate the force data that is exported for nodes at boundaries, FLUENT
performs the following steps:
1. Facial force for each wall face is calculated by summing the pressure force,
viscous force and surface tension force of the face.
2. Partial force for each wall face is calculated by dividing its facial force by its
number of shared nodes.
3. Total force for each wall node is calculated by summing the partial forces of
all the wall faces sharing that node.
4-28
c Fluent Inc. September 29, 2006
4.12 Exporting Files
i When using the parallel version of FLUENT, you can export only the fol-
lowing packages:
• ABAQUS
• ANSYS Input
• CGNS
• Fieldview Unstructured
• I-deas Universal
• NASTRAN
• PATRAN
• Tecplot
i FLUENT supports exporting polyhedral data only for ASCII, EnSight Case
Gold, and Fieldview Unstructured file formats. For further details, see Sec-
tions 4.12.5, 4.12.9, and 4.12.12.
c Fluent Inc. September 29, 2006 4-29
Reading and Writing Files
Information concerning the necessary steps and available options for each File Type are
listed in Sections 4.12.2 to 4.12.17, along with the equivalent text commands.
4-30
c Fluent Inc. September 29, 2006
4.12 Exporting Files
• When the Energy Equation is disabled, only the Structural Loads options of Force
and Pressure are available.
• Loads are written only on boundary walls when the entire domain is exported (i.e.,
if no Surfaces are selected).
You also have the option of exporting data at specified intervals during the calculation
through the Solver/Execute Commands... menu option. See Section 4.12.18: Defining
Transient Export Parameters for the complete details.
Click the Write... button to save the file, using the Select File dialog box. The exported
file format of ABAQUS (file.inp) contains coordinates, connectivity, zone groups, and
optional loads.
Export of data to ABAQUS is valid only for solid zones or for those surfaces that lie at
the intersection of solid zones. Temperature data is exported for the whole domain.
file/export/abaqus file name list-of-surfaces () yes|no yes|no
c Fluent Inc. September 29, 2006 4-31
Reading and Writing Files
1. In ANSYS, go to General Postproc−→ Data and File Options and read the .rfl file
generated from FLUENT.
2. Go to Results Summary and click on the first line in the upcoming panel. You
will see some information listed in the ANSYS Output window displaying geometry
information.
SET,FIRST
4. In the ANSYS MULTIPHYSICS UTILITY menu, select Plot and then Nodes or Ele-
ments, including the nodal solution under Results in the drop-down list.
4-32
c Fluent Inc. September 29, 2006
4.12 Exporting Files
• When the Energy Equation is disabled, only the Structural Loads options of Force
and Pressure are available.
• Loads are written only on boundary walls when the entire domain is exported (i.e.,
if no Surfaces are selected).
You also have the option of exporting data at specified intervals during the calculation
through the Solver/Execute Commands... menu option. See Section 4.12.18: Defining
Transient Export Parameters for the complete details.
Click the Write... button to save the file, using the Select File dialog box. FLUENT exports
an input file that contains ANSYS finite element information including nodes, elements,
and loads that can be used to do finite element analysis in ANSYS with minimal effort.
The file format is written in .cdb format. The export of ANSYS Input files is in ASCII
format and thus is available on all platforms.
file/export/ansys-input file name list-of-surfaces () yes|no yes|no
c Fluent Inc. September 29, 2006 4-33
Reading and Writing Files
• Select the Location from which the values of scalar functions are to be taken. If
you specify the data Location as Node, then the data values at the node points are
exported. If you choose Cell Center, then the data values from the cell centers are
exported. For boundary faces, it is the face center values that are exported when
the Cell Center option is selected.
• Use the Solver/Execute Commands... menu option to export data at specified in-
tervals during the calculation. See Section 4.12.18: Defining Transient Export
Parameters for the complete details.
Click the Write... button to save the file, using the Select File dialog box. FLUENT
will export a single ASCII file containing coordinates, optional loads, and specified scalar
function data.
4-34
c Fluent Inc. September 29, 2006
4.12 Exporting Files
You have the option of exporting data at specified intervals during the calculation through
the Solver/Execute Commands... menu option. See Section 4.12.18: Defining Transient
Export Parameters for the complete details.
Click the Write... button to save the file, using the Select File dialog box. CGNS (CFD
general notation system) is a single file (e.g., file.cgns) containing coordinates, con-
nectivity, zone information, velocity, and selected scalars.
file/export/cgns file name location list-of-scalars q
i When you are exporting data for Data Explorer, EnSight Case Gold, or I-deas
Universal and the reference zone is not a stationary zone, the data in the
velocity fields is exported by default as velocities relative to the motion
specification of that zone. This data is always exported, even if you do
not choose to export any scalars. Any velocities that you select to export
as scalars in the Functions to Write list (e.g., X Velocity, Y Velocity, Radial
Velocity, etc.) are exported as absolute velocities. For all other types of
exported files, the velocities exported by default are absolute velocities.
You have the option of exporting data at specified intervals during the calculation through
the Solver/Execute Commands... menu option. See Section 4.12.18: Defining Transient
Export Parameters for the complete details.
Click the Write... button to save the file, using the Select File dialog box. A single file
(e.g., file.dx) is exported, containing coordinate, connectivity, velocity, and specified
function data.
file/export/dx file name list-of-surfaces () list-of-scalars q
c Fluent Inc. September 29, 2006 4-35
Reading and Writing Files
You can also specify the file Format as Binary or ASCII. The advantage of the binary
format is that it takes less time to load the exported files into EnSight.
Click the Write... button to save the file for the specified function(s), using the Select
File dialog box. EnSight Case Gold has four file formats:
• A geometry file (e.g., file.geo) containing the coordinates and connectivity infor-
mation.
• An EnSight case file (e.g., file.encas) that contains details about the other ex-
ported files.
If you enable the Transient option, specify a value for Append Frequency and the File Name.
All of the geometry, velocity, and scalar files (e.g., file.geo, file.vel, file.scl1, etc.)
are appended after the specified number of time steps during the solution process. The
time values are written to the EnSight case file (e.g., file.encas), which also lists all of
the other exported file names. You can write separate files for each time step by enabling
the Separate Files for Each Timestep option. To save the transient parameters, click Apply.
i When exporting EnSight Case Gold files for transient simulations, note the
following:
• You cannot change the number of compute nodes for a given parallel
run. If this is attempted, the exported EnSight Case Gold files for
each time step will not be compatible.
i For non-stationary reference zones, all the velocities are exported to En-
Sight as velocities relative to the selected reference zone. See the informa-
tional note in Section 4.12.8: Data Explorer Files for further details.
4-36
c Fluent Inc. September 29, 2006
4.12 Exporting Files
• A regions file (e.g., file.fvuns.fvreg) containing information about the cell zones
and the frame of reference.
The cell zone information includes the names of the cell zones along with the grid num-
bers. For the rotating frame of reference, the regions file contains information about the
origin, the axis of rotation and the rotation speed. Volume data is written using the
absolute frame of reference.
c Fluent Inc. September 29, 2006 4-37
Reading and Writing Files
i If you intend to export data to I-deas, ensure that the mesh does not contain
pyramidal elements, as these are currently not supported by I-deas.
Select I-deas Universal under File Type. Select the surface(s) for which you want to write
data in the Surfaces list. If no surfaces are selected, the entire domain is exported. You
can specify which scalars you want in the Functions to Write list.
You have the option of selecting loads to be included in the exported file. When the
Energy Equation is enabled under the Define/Models/Energy... menu option, you can
choose the loads based on the kind of finite element analysis you intend to undertake.
By selecting Structural in the Analysis list, you can select the following Structural Loads:
Force, Pressure, and Temperature. By selecting Thermal in the Analysis list, you can select
the following Thermal Loads: Temperature, Heat Flux, and Heat Trans Coeff. Note the
following limitations with these loads:
• When the Energy Equation is disabled, only the Structural Loads options of Force
and Pressure are available.
• Loads are written only on boundary walls when the entire domain is exported (i.e.,
if no Surfaces are selected).
4-38
c Fluent Inc. September 29, 2006
4.12 Exporting Files
You also have the option of exporting data at specified intervals during the calculation
through the Solver/Execute Commands... menu option. See Section 4.12.18: Defining
Transient Export Parameters for the complete details.
• When the Energy Equation is disabled, only the Structural Loads options of Force
and Pressure are available.
• Loads are written only on boundary walls when the entire domain is exported (i.e.,
if no Surfaces are selected).
You also have the option of exporting data at specified intervals during the calculation
through the Solver/Execute Commands... menu option. See Section 4.12.18: Defining
Transient Export Parameters for the complete details.
Click the Write... button to save the file, using the Select File dialog box. A single
file (e.g., file.bdf) is written containing coordinates, connectivity, optional loads, zone
groups, and velocity. Pressure is written as PLOAD4, and heat flux is written as QHBDYE
data. If you select wall zones in the Surfaces list, nodal forces are written for the walls.
When data is written for the heat transfer coefficient, it is based on the wall faces rather
than the nodes.
file/export/nastran file name list-of-surfaces () yes|no yes|no list-of-scalars q
c Fluent Inc. September 29, 2006 4-39
Reading and Writing Files
• When the Energy Equation is disabled, only the Structural Loads options of Force
and Pressure are available.
• Loads are written only on boundary walls when the entire domain is exported (i.e.,
if no Surfaces are selected).
You also have the option of exporting data at specified intervals during the calculation
through the Solver/Execute Commands... menu option. See Section 4.12.18: Defining
Transient Export Parameters for the complete details.
Click the Write... button to save the file, using the Select File dialog box. A neutral
file (e.g., file.out) is written containing coordinates, connectivity, optional loads, zone
groups, velocity, and selected scalars. Pressure is written as a distributed load. If wall
zones are selected in the Surfaces list, nodal forces are written for the walls. The PATRAN
result template file (e.g., file.res tmpl) is written, which lists the scalars present in
the nodal result file (e.g., file.rst).
file/export/patran-neutral file name list-of-surfaces () yes|no yes|no list-of-scalars
q
4-40
c Fluent Inc. September 29, 2006
4.12 Exporting Files
Click the Write... button to save the file, using the Select File dialog box. A PATRAN
neutral file (e.g., file.neu) is written containing element velocity components (i.e., the
element that is just touching the wall), heat transfer coefficients, and temperatures of
the wall for any selected wall surface. If the wall is one-sided, the data is written for one
side of the wall. If the wall is two-sided, the data is written for both sides. In the case
of wall-wall shadow, the values are written only for the original wall face, not for the
shadow face (which is a duplicate).
file/export/radtherm file name list-of-surfaces () yes|no
i FLUENT exports Tecplot files in FEBLOCK format. The utility fe2ram can
import Tecplot files only in FEPOINT format.
i If you intend to postprocess FLUENT data with Tecplot, you can either ex-
port data from FLUENT and import it into Tecplot, or use the Tecplot FLU-
ENT Data Loader included with your Tecplot distribution. The data loader
reads native FLUENT case and data files directly. If you are interested in
this option, contact Tecplot, Inc. for assistance or visit www.tecplot.com.
c Fluent Inc. September 29, 2006 4-41
Reading and Writing Files
• file-type indicates the type of file being exported. For example, replace file-type by
fieldview-unstruct to indicate Fieldview Unstructured.
• file name (without the extension) indicates the name of the file that you wish to
save.
• list-of-surfaces indicates the list of surfaces (name or ID) that you wish to export
(for relevant types of files). The () input terminates the list. For example, the
input outlet-3 wall-2 5 () will select surfaces named outlet-3, wall-2, and
also the surface with the ID 5 (not the zone ID).
• list-of-scalars indicates the list of cell functions that you want to write to the
exported file (for relevant types of files). The q input terminates the list. For
example, the input x-velocity cell-volume q will select x velocity and the cell
volume.
• yes|no indicates that you need to answer a prompted question. Certain file types
require more than one yes or no input.
See Section 25.19: Executing Commands During the Calculation for information about
executing commands and creating and using command macros.
4-42
c Fluent Inc. September 29, 2006
4.13 Grid-to-Grid Solution Interpolation
2. Write an interpolation file for the solution data to be interpolated onto the new
grid, using the Interpolate Data panel (Figure 4.13.1).
File −→Interpolate...
c Fluent Inc. September 29, 2006 4-43
Reading and Writing Files
(d) Click Write... and specify the interpolation file name in the resulting Select
File dialog box. The file format is described in Section 4.13.2: Format of the
Interpolation File.
3. Set up a new case.
(a) Read in the new grid, using the appropriate menu item in the File/Read/ or
File/Import/ menu.
(b) Define the appropriate models.
i Enable all of the models that were enabled in the original case. For exam-
ple, if the energy equation was enabled in the original case and you forget
to enable it in the new case, the temperature data in the interpolation file
will not interpolated.
(c) Define the boundary conditions, material properties, etc.
i An alternative way to set up the new case is to save the boundary conditions
from the original model using the write-bc text command, and then read
in those boundary conditions with the new grid using the read-bc text
command. See Section 4.6: Reading and Writing Boundary Conditions for
further details.
4. Read in the data to be interpolated.
File −→Interpolate...
(a) Under Options, select Read and Interpolate.
(b) In the Cell Zones list, select the cell zones for which you want to read and
interpolate data.
If the solution has not been initialized, computed, or read, all zones in the Cell
Zones list is selected by default, to ensure that no zone remains without data
after the interpolation. If all zones already have data (from initialization or
a previously computed or read solution), select a subset of the Cell Zones to
read and interpolate data onto a specific zone (or zones).
(c) Click the Read... button and specify the interpolation file name in the resulting
Select File dialog box.
i If your case includes both fluid and solid zones, the two sets of data are
saved to separate files. Hence perform these steps twice, once to interpolate
the data for the fluid zones and once to interpolate the data for the solid
zones.
5. Reduce the under-relaxation factors and calculate on the new grid for a few iter-
ations to avoid sudden changes due to any imbalance of fluxes after interpolation.
Then increase the under-relaxation factors and compute a solution on the new grid.
4-44
c Fluent Inc. September 29, 2006
4.14 Saving Hardcopy Files
2
2
34800
3
x-velocity
pressure
y-velocity
-0.068062
-0.0680413
...
• The first line is the interpolation file version. It is 1.0 for FLUENT 5 and 2.0 for
FLUENT 6.
• The second line is the dimension (2 or 3).
• The third line is the total number of points.
• The fourth line is the total number of fields (temperature, pressure, etc.) included.
• From line 5 is a list of field names. To see a complete list of the field names used
by FLUENT, select the display/contours text command and view the available
choices for contours of. The list depends on the models turned on.
• Then comes a list of x, y, and (in 3D) z coordinates for all the data points.
• In the end is list of the field values at all the points in the same order as their
names. The number of coordinate and field points should match the number given
in line 3.
c Fluent Inc. September 29, 2006 4-45
Reading and Writing Files
If you are not ready to save a hardcopy but want to save the current hardcopy settings,
click the Apply button instead of the Save... button. The applied settings become the
defaults for subsequent hardcopies.
4-46
c Fluent Inc. September 29, 2006
4.14 Saving Hardcopy Files
EPS (Encapsulated PostScript) output is the same as PostScript output, with the ad-
dition of Adobe Document Structuring Conventions (v2) statements. Currently, no
preview bitmap is included in EPS output. Often, programs that import EPS files
use the preview bitmap to display on-screen, although the actual vector PostScript
information is used for printing (on a PostScript device). You can save EPS files
in raster or vector format.
HPGL is a vector file format designed for pen plotters. The HPGL driver supports a
limited set of colors and is not capable of rendering some scenes properly.
IRIS Image is the native raster image file format on SGI computers. The IRIS Image
driver may not be available on all platforms.
PostScript is a common vector file format. You can also choose to save a PostScript
file in raster format.
i Non-geometric entities such as text, titles, color bars, and orientation axis
are not exported. In addition, most display or visibility characteristics set
in FLUENT, such as lighting, shading method, transparency, face and edge
visibility, outer face culling, and hidden line removal, are not explicitly
exported but are controlled by the software used to view the VRML file.
Window Dump (UNIX systems only) selects a window dump operation for generating
the hardcopy. With this format, you need to specify the appropriate Window Dump
Command.
c Fluent Inc. September 29, 2006 4-47
Reading and Writing Files
• A Raster file defines the color of each individual pixel in the image. Raster files
have a fixed resolution. The supported raster formats are IRIS image, JPEG, PPM,
PostScript, EPS, and TIFF.
i For the quickest print time, you can save vector files for simple 2D displays
and raster files for complicated scenes.
Most monochrome PostScript devices render Color images in shades of gray, but to ensure
that the color ramp is rendered as a linearly-increasing gray ramp, you should select Gray
Scale.
4-48
c Fluent Inc. September 29, 2006
4.14 Saving Hardcopy Files
Hardcopy Options
For all hardcopy formats except the window dump, you can control two additional settings
under Options:
• Specify the orientation of the hardcopy using the Landscape Orientation button. If
this option is turned on, the hardcopy is made in landscape mode; otherwise, it is
made in portrait mode.
FLUENT provides options that allow you to save PostScript files that can be printed
more quickly. The following options is found in the display/set/hard-copy/driver/
post-format text menu:
fast-raster enables a raster file that may be larger than the standard raster file, but
will print much more quickly.
rle-raster enables a run-length encoded raster file that is about the same size as the
standard raster file, but will print slightly more quickly. This is the default file
type.
When the dump occurs, FLUENT automatically interprets %w to be the ID number of the
active window.
When you click the Save... button, the Select File dialog box appears. Enter the filename
for the output from the window dump (e.g., myfile.xwd).
c Fluent Inc. September 29, 2006 4-49
Reading and Writing Files
If you are planning to make an animation, save the window dumps into numbered files,
using the %n variable. To do this, use the Window Dump Command (xwd -id %w), but for
the filename in the Select File dialog box enter myfile%n.xwd. Each time a new window
dump is created, the value of %n increases by one. So there is no need to tack numbers
onto the hardcopy filenames manually.
To use the ImageMagick animate program, saving the files in MIFF format (the native
ImageMagick format) is more efficient. In such cases, use the ImageMagick tool import.
Set the default Window Dump Command enter
import -window %w
Click Save... to invoke the Select File dialog box. Specify the output format to be MIFF
by using the .miff suffix at the end of filename.
The window dump feature is both, system and graphics-driver specific. Thus the com-
mands available for dumping windows depends on the particular configuration.
When saving window dumps is that the window dump captures the window exactly as
it is displayed, including resolution, colors, transparency, etc. For this reason, all of the
inputs that control these characteristics are disabled in the Graphics Hardcopy panel when
you enable the Window Dump format. If you are using an 8-bit graphics display, use one
of the built-in raster drivers (e.g., TIFF) to generate higher-quality 24-bit color output
rather than dumping the 8-bit window.
4-50
c Fluent Inc. September 29, 2006
4.15 Saving the Panel Layout
then FLUENT will read in the case file test.cas. For more details about ti-menu-load-string,
see Section 3.5: Text Menu Input from Character Strings.
c Fluent Inc. September 29, 2006 4-51
Reading and Writing Files
4-52
c Fluent Inc. September 29, 2006
Chapter 5. Unit Systems
This chapter describes the units used in FLUENT and how you can control them. Infor-
mation is organized into the following sections:
FLUENT allows you to work in any unit system, including inconsistent units. Thus, for
example, you may work in British units with heat input in Watts or you may work in SI
units with length defined in inches. This is accomplished by providing FLUENT with a
correct set of conversion factors between the units you want to use and the standard SI
unit system that is used internally by the solver. FLUENT uses these conversion factors
for input and output, internally storing all parameters and performing all calculations
in SI units. Both solvers always prompt you for the units required for all dimensional
inputs.
Units can be altered part-way through a problem setup and/or after you have completed
your calculation. If you have input some parameters in SI units and then you switch to
British, all of your previous inputs (and the default prompts) are converted to the new
unit system. If you have completed a simulation in SI units but you would like to report
the results in any other units, you can alter the unit system and FLUENT will convert
all of the problem data to the new unit system when results are displayed. As noted
above, all problem inputs and results are stored in SI units internally. This means that
the parameters stored in the case and data files are in SI units. FLUENT simply converts
these values to your unit system at the interface level.
c Fluent Inc. September 29, 2006 5-1
Unit Systems
• You must always define the following in SI units, regardless of the unit system you
are using:
– boundary profiles (see Section 7.26: Boundary Profiles)
– source terms (see Section 7.28: Defining Mass, Momentum, Energy, and Other
Sources)
– custom field functions (see Section 30.5: Custom Field Functions)
– data in externally-created XY plot files (see Section 28.8.3: XY Plots of File
Data)
– user-defined functions (See the separate UDF Manual for details about user-
defined functions.)
5-2
c Fluent Inc. September 29, 2006
5.3 Built-In Unit Systems in FLUENT
To choose the English Engineering standard for all units, click on the british button;
to select the International System of units (SI) standard for all units, click on the si
button; to choose the CGS (centimeter-gram-second) standard for all units, click on the
cgs button; and to return to the “default” system, click on the default button. The
default system of units is like SI, but uses degrees instead of radians for angles. Clicking
on one of the buttons under Set All To will immediately change the unit system. You
can then close the panel if you are not interested in customizing any units.
Changing the unit system in the Set Units panel causes all future inputs that have units
to be based on the newly selected unit system.
c Fluent Inc. September 29, 2006 5-3
Unit Systems
1. Select the quantity in the Quantities list (they are arranged in alphabetical order).
2. Choose a new unit from those that are available in the Units list.
For the example cited above, you would choose length in the Quantities list, and then
select in in the Units list. The Factor will automatically be updated to show 0.0254
meters/inch. (See Figure 5.3.1.) If there were a non-zero offset for the new unit, the
Offset field would also be updated. For example, if you were using SI units but wanted
to define temperature in Celsius instead of Kelvin, you would select temperature in the
Quantities list and c in the Units list. The Factor would change to 1, and the Offset would
change to 273.15. Once you have selected the quantity and the new unit, no further
action is needed, unless you wish to change the units for another quantity by following
the same procedure.
5-4
c Fluent Inc. September 29, 2006
5.4 Customizing Units
1. In the Set Units panel, select the quantity in the Quantities list.
2. Click on the New... button and the Define Unit panel (Figure 5.4.1) will open. In
this panel, the selected quantity will be shown in the Quantity field.
3. Enter the name of your new unit in the Unit field, the conversion factor in the
Factor field, and the offset in the Offset field.
4. Click on OK in the Define Unit panel, and the new unit will appear in the Set Units
panel.
For example, if you want to use hours as the unit of time, select time in the Quantities
list in the Set Units panel and click on the New... button. In the resulting Define Unit
panel, enter hr for the Unit and 3600 for the Factor, as in Figure 5.4.1. Then click on
OK. The new unit hr will appear in the Units list in the Set Units panel, and it will be
selected.
c Fluent Inc. September 29, 2006 5-5
Unit Systems
The conversion factor you specify (Factor in the Define Unit panel) tells FLUENT the
number to multiply by to obtain the SI unit value from your customized unit value.
Thus the conversion factor should have the form SI units/custom units. For example, if
you want the unit of length to be inches, you should input a conversion factor of 0.0254
meters/inch. If you want the unit of velocity to be feet/min, you can determine the
conversion factor by using the following equation:
ft 0.3048 m min m
x × × =y (5.4-1)
min ft 60 s s
You should input a conversion factor of 0.0051, which is equal to 0.3048/60.
5-6
c Fluent Inc. September 29, 2006
Chapter 6. Reading and Manipulating Grids
FLUENT can import different types of grids from various sources. You can modify the
grid by translating or scaling node coordinates, partitioning the cells for parallel process-
ing, reordering the cells in the domain to decrease bandwidth, and merging or separating
zones. You can convert all 3D meshes to polyhedral cells except pure hex meshes. Hexa-
hedral cells are preserved during conversion. You can also obtain diagnostic information
on the grid, including memory usage and simplex, topological, and domain information.
You can find out the number of nodes, faces, and cells in the grid, determine the minimum
and maximum cell volumes in the domain, and check for the proper numbers of nodes
and faces per cell. These and other capabilities are described in the following sections.
See Chapter 26: Adapting the Grid for information about adapting the grid based on
solution data and related functions, and Section 31.5: Partitioning the Grid for details
on partitioning the grid for parallel processing.
c Fluent Inc. September 29, 2006 6-1
Reading and Manipulating Grids
Note: Though FLUENT does not require a cyclic branch cut in an O-type grid, it will
accept a grid that contains one.
6-2
c Fluent Inc. September 29, 2006
6.1 Grid Topologies
2D Cell Types
Triangle Quadrilateral
3D Cell Types
Tetrahedron Hexahedron
c Fluent Inc. September 29, 2006 6-3
Reading and Manipulating Grids
6-4
c Fluent Inc. September 29, 2006
6.1 Grid Topologies
c Fluent Inc. September 29, 2006 6-5
Reading and Manipulating Grids
6-6
c Fluent Inc. September 29, 2006
6.1 Grid Topologies
Branch Cut
c Fluent Inc. September 29, 2006 6-7
Reading and Manipulating Grids
6-8
c Fluent Inc. September 29, 2006
6.1 Grid Topologies
c Fluent Inc. September 29, 2006 6-9
Reading and Manipulating Grids
6-10
c Fluent Inc. September 29, 2006
6.1 Grid Topologies
Face 3 Face 2
1 2
Face 1
c Fluent Inc. September 29, 2006 6-11
Reading and Manipulating Grids
Face 4 Face 2
1 2
Face 1
1 3
6-12
c Fluent Inc. September 29, 2006
6.1 Grid Topologies
c Fluent Inc. September 29, 2006 6-13
Reading and Manipulating Grids
4 3
1 2
6-14
c Fluent Inc. September 29, 2006
6.1 Grid Topologies
4 3
7 8
1 2
c Fluent Inc. September 29, 2006 6-15
Reading and Manipulating Grids
For polyhedral cells, there is no explicit face and node numbering as with the other cell
types.
6-16
c Fluent Inc. September 29, 2006
6.1 Grid Topologies
• Setup time
• Computational expense
• Numerical diffusion
Setup Time
Many flow problems solved in engineering practice involve complex geometries. The cre-
ation of structured or block-structured grids (consisting of quadrilateral or hexahedral
elements) for such problems can be extremely time-consuming if not impossible. There-
fore, setup time for complex geometries is the major motivation for using unstructured
grids employing triangular or tetrahedral cells. However, if your geometry is relatively
simple, there may be no saving in setup time with either approach.
If you already have a mesh created for a structured code, it will save you time to use
this mesh in FLUENT rather than regenerate it. This can be a motivation for using
quadrilateral or hexahedral cells in your FLUENT simulation.
Note: FLUENT has a range of filters that allow you to import structured meshes from
other codes, including FLUENT 4 (see Section 6.3: Grid Import).
Computational Expense
When geometries are complex or the range of length scales of the flow is large, a tri-
angular/tetrahedral mesh can be created with far fewer cells than the equivalent mesh
consisting of quadrilateral/hexahedral elements. This is because a triangular/tetrahedral
mesh allows clustering of cells in selected regions of the flow domain. Structured quadri-
lateral/hexahedral meshes will generally force cells to be placed in regions where they are
not needed. Unstructured quadrilateral/hexahedral meshes offer many of the advantages
of triangular/tetrahedral meshes for moderately-complex geometries.
c Fluent Inc. September 29, 2006 6-17
Reading and Manipulating Grids
Numerical Diffusion
A dominant source of error in multidimensional situations is numerical diffusion (false
diffusion). The term false diffusion is used because the diffusion is not a real phenomenon,
yet its effect on a flow calculation is analogous to that of increasing the real diffusion
coefficient.
The following comments can be made about numerical diffusion:
• Numerical diffusion is most noticeable when the real diffusion is small, that is, when
the situation is convection-dominated.
• All practical numerical schemes for solving fluid flow contain a finite amount of
numerical diffusion. This is because numerical diffusion arises from truncation
errors that are a consequence of representing the fluid flow equations in discrete
form.
• The second-order discretization scheme used in FLUENT can help reduce the effects
of numerical diffusion on the solution.
• The amount of numerical diffusion is inversely related to the resolution of the mesh.
Therefore, one way of dealing with numerical diffusion is to refine the mesh.
• Numerical diffusion is minimized when the flow is aligned with the mesh.
This is the most relevant to the choice of the grid. If you use a triangular/tetrahedral
mesh, the flow can never be aligned with the grid. If you use a quadrilateral/hexahedral
mesh, this situation might occur, but not for complex flows. It is only in a simple
flow, such as the flow through a long duct, in which you can rely on a quadrilat-
eral/hexahedral mesh to minimize numerical diffusion. In such situations. It is
advantageous to use a quadrilateral/hexahedral mesh, since you will be able to get
a better solution with fewer cells than if you were using a triangular/tetrahedral
mesh.
6-18
c Fluent Inc. September 29, 2006
6.2 Grid Requirements and Considerations
• Axisymmetric geometries must be defined such that the axis of rotation is the x
axis of the Cartesian coordinates used to define the geometry (Figure 6.2.1).
x
L
C
Figure 6.2.1: Setup of Axisymmetric Geometries with the x Axis as the Cen-
terline
• FLUENT allows you to set up periodic boundaries using either conformal or non-
conformal periodic zones. For conformal periodic boundaries, the periodic zones
must have identical grids.
The conformal periodic boundaries can be created in GAMBIT or TGrid when you
are generating the volume mesh. See the GAMBIT Modeling Guide or the TGrid
User’s Guide for more information about creating periodic boundaries in GAMBIT
or TGrid.) Alternatively, you can create the conformal periodic boundaries in FLU-
ENT using the make-periodic text command (see Section 6.8.4: Creating Periodic
Zones for details).
Although GAMBIT and TGrid can produce true periodic boundaries, most CAD
packages do not. If your mesh was created in such a package, create the pe-
riodic boundaries using the non-conformal periodic option in FLUENT (see Sec-
tion 6.8.4: Creating Periodic Zones for details). However, this option is recom-
mended only for periodic zones that are planar.
c Fluent Inc. September 29, 2006 6-19
Reading and Manipulating Grids
• Cell squish on all meshes (Section 30.4: Alphabetical Listing of Field Variables and
Their Definitions).
• Face squish on polyhedral meshes (Section 30.4: Alphabetical Listing of Field Vari-
ables and Their Definitions).
The “aspect ratio” is a measure of the stretching of a cell, and is defined as the ratio
of the maximum distance between the cell centroid and face centroids to the minimum
distance between the nodes of the cell (see Figure 6.2.2). If the quality of your grid is
questionable, then a warning will appear in the console noting the problems FLUENT has
detected with your mesh. The warnings that you see use rules of thumb and although it
is a warning, you may still be able to run the case successfully.
6-20
c Fluent Inc. September 29, 2006
6.2 Grid Requirements and Considerations
Face Centroid
Cell Centroid
A
B
Aspect Ratio = A : B
To check the quality of your grid, you can use the text command:
grid −→quality
A message will be printed to the console. The example below demonstrates the output
the text command yields.
Grid Quality:
Applying quality criteria for triangular/mixed cells.
Maximum cell squish = 4.61001e-01
Maximum cell skewness = 4.48776e-01
Maximum ‘aspect_ratio’ = 5.23830e+00
c Fluent Inc. September 29, 2006 6-21
Reading and Manipulating Grids
u∞
r
yp ≤ 1 (6.2-1)
νx
6-22
c Fluent Inc. September 29, 2006
6.2 Grid Requirements and Considerations
Smoothness
Truncation error is the difference between the partial derivatives in the governing equa-
tions and their discrete approximations. Rapid changes in cell volume between adjacent
cells translate into larger truncation errors. FLUENT provides the capability to improve
the smoothness by refining the mesh based on the change in cell volume or the gradient
of cell volume. For information on refining the grid based on change in cell volume. (See
Sections 26.4 and 26.8).
Cell Shape
The shape of the cell (including its skewness and aspect ratio) also has a significant
impact on the accuracy of the numerical solution.
• Skewness is defined as the difference between the shape of the cell and the shape of
an equilateral cell of equivalent volume. Highly skewed cells can decrease accuracy
and destabilize the solution. For example, optimal quadrilateral meshes will have
vertex angles close to 90 degrees, while triangular meshes should preferably have
angles of close to 60 degrees and have all angles less than 90 degrees.
Flow-Field Dependency
The effect of resolution, smoothness, and cell shape on the accuracy and stability of the
solution process is dependent on the flow field being simulated. For example, very skewed
cells can be tolerated in benign flow regions, but can be very damaging in regions with
strong flow gradients.
Since the locations of strong flow gradients generally cannot be determined a priori, you
should strive to achieve a high-quality mesh over the entire flow domain.
c Fluent Inc. September 29, 2006 6-23
Reading and Manipulating Grids
6-24
c Fluent Inc. September 29, 2006
6.3 Grid Import
The output file produced can be read into FLUENT using the File/Read/Case... menu
item, as described in Section 4.2: Reading Mesh Files.
c Fluent Inc. September 29, 2006 6-25
Reading and Manipulating Grids
The current FLUENT format is the same as the RAMPANT format, not the FLUENT
4 format. After reading a triangular or tetrahedral ICEMCFD volume mesh, perform
smoothing and swapping (as described in Section 26.13: Improving the Grid by Smoothing
and Swapping) to improve its quality.
6-26
c Fluent Inc. September 29, 2006
6.3 Grid Import
• Permanent Groups dataset number 752, 2417, 2429, 2430, 2432, 2435
Note: The mesh area or mesh volume datasets are not recognized. This implies that
writing multiple mesh areas/volumes to a single Universal file may confuse FLUENT.
c Fluent Inc. September 29, 2006 6-27
Reading and Manipulating Grids
• You can generate a NASTRAN surface or volume mesh containing triangular, quadri-
lateral, tetrahedral, wedge, and/or hexahedral elements, and import it into TGrid
using the commands described in the TGrid User’s Guide and adhering to the restric-
tions described in Appendix B of the TGrid User’s Guide. In TGrid, complete the
grid generation (if necessary) and then follow the instructions in Section 6.3.3: TGrid
Grid Files.
• You can generate a NASTRAN volume mesh with linear triangular, quadrilat-
eral, tetrahedral, wedge, or hexahedral elements, and import it directly using the
File/Import/NASTRAN... menu item, as described in Section 4.11.12: NASTRAN
Files.
• You can generate a NASTRAN volume mesh with linear triangular, quadrilateral,
tetrahedral, wedge, or hexahedral elements. Then use the fe2ram filter to convert
the NASTRAN file to the format used by FLUENT. To convert an input file in
NASTRAN format to an output file in FLUENT format, follow the instructions on
page 6-32. After the output file has been written, you can read it into FLUENT
using the File/Read/Case... menu item, as described in Section 4.2: Reading Mesh
Files.
After reading a triangular or tetrahedral NASTRAN volume mesh using the latter methods
perform smoothing and swapping (as described in Section 26.13: Improving the Grid by
Smoothing and Swapping) to improve its quality.
6-28
c Fluent Inc. September 29, 2006
6.3 Grid Import
• You can generate a PATRAN surface or volume mesh containing triangular, quadri-
lateral, tetrahedral, wedge, and/or hexahedral elements, and import it into TGrid
using the commands described in the TGrid User’s Guide and adhering to the restric-
tions described in Appendix B of the TGrid User’s Guide. In TGrid, complete the
grid generation (if necessary) and then follow the instructions in Section 6.3.3: TGrid
Grid Files.
• You can generate a PATRAN volume mesh with linear triangular, quadrilateral,
tetrahedral, wedge, or hexahedral elements (grouping nodes with the same component-
group name) and import it directly to FLUENT by selecting the File/Import/ PA-
TRAN... menu item, as described in Section 4.11.13: PATRAN Neutral Files.
• You can generate a PATRAN volume mesh with linear triangular, quadrilateral,
tetrahedral, wedge, or hexahedral elements and then use the fe2ram filter to convert
the Neutral file into the format used by FLUENT. To convert an input file in PATRAN
Neutral format to an output file in FLUENT format, follow the instructions on page
6-32. After the output file has been written, you can read it into FLUENT using
the File/Read/Case... menu item, as described in Section 4.2: Reading Mesh Files.
After reading a triangular or tetrahedral PATRAN volume mesh using the latter methods
perform smoothing and swapping (as described in Section 26.13: Improving the Grid by
Smoothing and Swapping) to improve its quality.
c Fluent Inc. September 29, 2006 6-29
Reading and Manipulating Grids
After reading a triangular or tetrahedral volume mesh using method 2 or 3 above, you
should perform smoothing and swapping (as described in Section 26.13: Improving the
Grid by Smoothing and Swapping) to improve its quality.
6-30
c Fluent Inc. September 29, 2006
6.3 Grid Import
The elements must be STIF63 linear shell elements. In addition, if element data without
an explicit element ID is used, the filter assumes sequential numbering of the elements
when creating the zones.
• inlet
• outlet
• symmetry
• interface
• wall
The boundaries of type Interface may be conformal or non-conformal. If they are non-
conformal, they are retained. However, conformal interfaces contain coincident nodes
which are merged and changed to type Interior. For some cases, for the merge to work
correctly, the merge tolerance may need to be adjusted. Alternatively, FLUENT’s fuse
thread functionality can be used to merge the conformal interfaces.
c Fluent Inc. September 29, 2006 6-31
Reading and Manipulating Grids
Note: The items enclosed in square brackets are optional. Do not type the square brack-
ets.
• format indicates the format of the file you wish to convert. For example, replace
format with -tANSYS for an ANSYS file, -tIDEAS for an I-deas file, -tNASTRAN for a
NASTRAN file, etc. To print a list of the formats which fe2ram can convert, type
utility fe2ram -cl -help.
• zoning indicates how zones were identified in the original format. Replace zoning
by -zID for a grid that was zoned by property IDs, or -zNONE to ignore all zone
groupings. For a grid zoned by group, do not enter anything for zoning, because
zoning by groups is the default.
• input file is the name of the original file. output file is the name of the file to which
you want to write the converted grid information.
For example, if you wanted to convert the 2D I-deas volume mesh file sample.unv
to an output file called sample.grd, you will enter the following command:
6-32
c Fluent Inc. September 29, 2006
6.3 Grid Import
After the output file has been written, you can read it into FLUENT using the File/Read/Case...
menu item, as described in Section 4.2: Reading Mesh Files.
The item in square brackets is optional. Do not type the square brackets. For a 2D file,
replace dimension with -d2. For a 3D file, do not enter anything for dimension, because
3D is the default.
After the output file has been written, read it into FLUENT using the File/Read/Case...
menu item, as described in Section 4.2: Reading Mesh Files.
c Fluent Inc. September 29, 2006 6-33
Reading and Manipulating Grids
• To solve on a multiblock mesh, generate each block of the mesh in the grid generator
and save it to a separate grid file.
• For very complicated geometries, it may be more efficient to save the mesh for each
part as a separate grid file.
The grid node locations need not be identical at the boundaries where two separate
meshes meet. FLUENT can handle non-conformal grid interfaces. See Section 6.4: Non-
Conformal Grids for details about non-conformal grid boundaries.
There are two ways for reading multiple grid files in FLUENT:
2. Read in your second mesh file and append it to the fist mesh selected in the first
step.
Grid −→ Zone −→Append Case File...
In the Select File panel, select the second mesh file and click OK.
6-34
c Fluent Inc. September 29, 2006
6.3 Grid Import
FLUENT also allows you to append the data on the mesh. To do that, follow the procedure
above. For the second step, use the following menu:
Grid −→ Zone −→Append Case & Data Files...
Select the case file in the Select File panel (Figure 6.3.1), and click OK. Both the case
and data files will be appended.
i Reading multiple grid and data options are available only for serial cases,
not for parallel cases.
c Fluent Inc. September 29, 2006 6-35
Reading and Manipulating Grids
i If one (or more) of the grids you wish to import is structured (e.g., a
FLUENT 4 grid file), first convert it to FLUENT format using the fl42seg
filter described in Section 6.3.13: FLUENT 4 Case Files.
2. Before starting the solver, use either TGrid or the tmerge filter to combine the grids
into one grid file. The TGrid method is convenient, but the tmerge method allows
you to rotate, scale, and/or translate the grids before they are merged.
• To use TGrid, do the following:
(a) Read all of the grid files into TGrid. When TGrid reads the grid files, it
will automatically merge them into a single grid.
(b) Save the merged grid file.
See the TGrid User’s Guide for information about reading and writing files in
TGrid.
• To use the tmerge filter, do the following before starting FLUENT:
(a) For 3D problems, type utility tmerge -3d. For 2D problems, type
utility tmerge -2d.
(b) When prompted, specify the names of the input files (the separate grid
files) and the name of the output file in which to save the complete grid.
(c) For each input file, specify scaling factors, translation distances, or a
rotation angle. In the example below, no scaling, translation, or rotation
is performed.
3. Read the combined grid file into the solver in the usual manner (using the
File/Read/Case... menu item).
For a conformal mesh, if you do not want a boundary between the adjacent cell zones, use
the Fuse Face Zones panel to fuse the overlapping boundaries (see Section 6.8.3: Fusing
Face Zones). The matching faces will be moved to a new zone with a boundary type of
interior. If all faces on either or both of the original zones have been moved to the new
zone, the original zone(s) will be discarded.
6-36
c Fluent Inc. September 29, 2006
6.3 Grid Import
In this example, scaling, translation, or rotation is not requested. Hence you can simplify
the inputs to the following:
Reading...
node zone: id 1, ib 1, ie 1677, typ 1
node zone: id 2, ib 1678, ie 2169, typ 2
.
.
.
done.
Writing...
492 nodes, id 1, ib 1678, ie 2169, type 2.
1677 nodes, id 2, ib 1, ie 1677, type 1.
.
.
.
done.
Appending done.
c Fluent Inc. September 29, 2006 6-37
Reading and Manipulating Grids
6-38
c Fluent Inc. September 29, 2006
6.4 Non-Conformal Grids
interface zone 1
interior zone
interface zone 2
wall zone 2
interface zone 1
interior zone
c Fluent Inc. September 29, 2006 6-39
Reading and Manipulating Grids
In the example shown in Figure 6.4.3, the interface zones are composed of faces A-B and
B-C, and faces D-E and E-F.
cell zone 1
I II
III
interface
A B C zone 1
a d b e c
interface D E F
zone 2
IV VI
cell zone 2
The intersection of these zones produces the faces a-d, d-b, b-e, and e-c. Faces produced
in the region where the two cell zones overlap (d-b, b-e, and e-c) are grouped to form an
interior zone, while the remaining face (a-d) forms a wall zone.
To compute the flux across the interface into cell IV, face D-E is ignored and instead,
faces d-b and b-e are used bringing information into cell IV from cells I and III.
6-40
c Fluent Inc. September 29, 2006
6.4 Non-Conformal Grids
• Triangular face approach: triangulates the polygon intersection faces, and stores
triangular faces. This approach involves node movement and water tight cells.
• Virtual polygon approach: stores area vector and centroid of the polygon faces.
This approach does not involve node movement and cells are not necessarily water
tight cells. Hence gradients are corrected to take into account the missing cell area.
Both the algorithms calculate the intersection of the interface meshes, however using
different approach for calculations.
Note: The former approach of making cells water tight sometimes results in concave
cells, causing the interface creation to fail. For this reason the virtual polygon
approach is more stable than the triangular face approach.
i Previous versions of FLUENT (version 6.1 and earlier) use only the triangu-
lar face approach. Current versions of FLUENT support both approaches.
Case files from FLUENT 6.1 or earlier can be read and run normally in the current version
of FLUENT. By default, these cases will use the triangular face approach. You can also
manually switch to the virtual polygon approach for such cases.
To use the new algorithm, use the use-virtual-polygon-approach TUI command.
define −→ grid-interfaces −→use-virtual-polygon-approach
/define/grid-interfaces> use-virtual-polygon-approach
/define/grid-interfaces>
During sliding mesh calculations, left handed faces can be generated due to bad grids.
FLUENT corrects the left handedness of these faces automatically. But in extreme cases,
it cannot be fully corrected. Such faces are deleted automatically, so that the solution
does not diverge.
Left handed cells can also be created for the geometries that contains sharp edges and
corners, which may affect the final solution. For such geometries, it is recommended
to first separate the zones and then create the interfaces separately to get the better
solution.
Additional input of angle/translation-vector may be required to recreate face-periodic
interfaces. Also, with the new interface in parallel, there will be no need for encapsula-
tion.
c Fluent Inc. September 29, 2006 6-41
Reading and Manipulating Grids
• The grid interface can be of any shape (including a non-planar surface, in 3D),
provided that the two interface boundaries are based on the same geometry. If
there are sharp features (e.g., 90-degree angles) or curvature in the mesh, it is
especially important that both sides of the interface closely follow that feature.
For example, consider the case of two concentric circles that define two fluid zones
with a circular, non-conformal interface between them, as shown in Figure 6.4.4.
Because the node spacing on the interface edge of the outer fluid zone is coarse
compared to the radius of curvature, the interface does not closely follow the feature
(in this case, the circular edge.)
i The maximum tolerance between two interfaces should not be larger than
their adjacent cell size at that location That is no cell should be completely
enclosed between two interfaces.
• A face zone cannot share a non-conformal interface with more than one other face
zone.
This is illustrated by an example, shown in Figure 6.4.5. Each volume in the figure
is meshed separately and does not match node-to-node at the interface. In this
example, a non-conformal interface is not allowed to be created between the three
surfaces shown: one side of the box (rectangle 1) and an end cap from each pipe
(circle 1 and circle 2). In order to create a non-conformal interface, rectangle 1
is split into two surfaces, rectangle 1a and rectangle 1b. Then two non-conformal
interfaces are created between rectangle 1a and circle 2 and rectangle 1b and circle
1, respectively, as shown in Figure 6.4.6.
6-42
c Fluent Inc. September 29, 2006
6.4 Non-Conformal Grids
rectangle 1
circle 1
circle 2
Not Valid:
rectangle 1
rectangle 1 ⇔ circle 2
circle 2 circle 1 rectangle 1 ⇔ circle 1
c Fluent Inc. September 29, 2006 6-43
Reading and Manipulating Grids
• If you create a single grid with multiple cell zones separated by a non-conformal
boundary, you must be sure that each cell zone has a distinct face zone on the
non-conformal boundary.
The face zones for two adjacent cell zones will have the same position and shape,
but one will correspond to one cell zone and one to the other. It is also possible
to create a separate grid file for each of the cell zones, and then merge them as
described in Section 6.3.15: Reading Multiple Mesh/Case/Data Files.
• For 3D cases, if the interface is periodic, only one pair of periodic boundaries can
neighbor the interface.
• Periodic interfaces require conformal periodics adjacent to it. For example, when
you calculate just one channel and blade of a fan, or turbine, etc., you must have
conformal periodics on either side of the interface threads. This will not work with
nonconformal periodics.
See also Section 6.4.4: Starting From a FLUENT/UNS or RAMPANT Case for information
about using non-conformal FLUENT/UNS and RAMPANT cases.
1. Read the grid into FLUENT. If you have multiple grid files that have not yet been
merged, first follow the instructions in Section 6.3.15: Reading Multiple Mesh/Case/Data
Files to merge them into a single grid.
2. After reading in the grid, change the type of each pair of zones that comprises
the non-conformal boundary to interface (as described in Section 7.1.3: Changing
Boundary Zone Types).
Define −→Boundary Conditions...
6-44
c Fluent Inc. September 29, 2006
6.4 Non-Conformal Grids
3. Define the non-conformal grid interfaces in the Grid Interfaces panel (Figure 6.4.7).
Define −→Grid Interfaces...
(a) Enter a name for the interface in the Grid Interface field.
(b) Specify the two interface zones that comprise the grid interface by selecting
one or more zones in the Interface Zone 1 list and one or more zones in the
Interface Zone 2 list.
i If one of your interface zones is much smaller than the other, you should
specify the smaller zone as Interface Zone 1 to improve the accuracy of the
intersection calculation.
(c) Set the Interface Type, if appropriate. There are two options:
• Enable Periodic for periodic problems.
i Periodic is not a valid option when more than one zone is selected in each
Interface Zone
• Enable Coupled if the interface lies between a solid zone and a fluid zone,
or if you would like to model a (thermally) coupled wall between two fluid
zones using non-conformal interfaces.
c Fluent Inc. September 29, 2006 6-45
Reading and Manipulating Grids
(d) Click on Create to create a new grid interface. For all types of interfaces,
FLUENT will create boundary zones for the interface (e.g., wall-9, wall-10),
which will appear under Boundary Zone 1 and Boundary Zone 2. If you have
enabled the Coupled option, FLUENT will also create wall interface zones (e.g.,
wall-4, wall-4-shadow), which will appear under Interface Wall Zone 1 and
Interface Wall Zone 2.
(e) If the two interface zones did not overlap entirely, check the boundary zone
type of the zone(s) created for the non-overlapping portion(s) of the boundary.
If the zone type is not correct, you can use the Boundary Conditions panel to
change it.
(f) If you have any Coupled type interfaces, define boundary conditions (if rele-
vant) by updating the interface wall zones in the Boundary Conditions panel.
6-46
c Fluent Inc. September 29, 2006
6.5 Checking the Grid
i It is generally a good idea to check your grid right after reading it into the
solver, in order to detect any grid trouble before you get started with the
problem setup.
Grid Check
Domain Extents:
x-coordinate: min (m) = 0.000000e+00, max (m) = 6.400001e+01
y-coordinate: min (m) = -4.538534e+00, max (m) = 6.400000e+01
Volume statistics:
minimum volume (m3): 2.353664e-05
maximum volume (m3): 7.599501e-03
total volume (m3): 2.341560e+00
minimum 2d volume (m3): 4.027890e-04
maximum 2d volume (m3): 1.230393e-03
Face area statistics:
minimum face area (m2): 1.300719e-04
maximum face area (m2): 3.781404e-02
Checking number of nodes per cell.
Checking number of faces per cell.
Checking thread pointers.
Checking number of cells per face.
Checking face cells.
Checking bridge faces.
Checking right-handed cells.
Checking face handedness.
Checking for nodes that lie below the x-axis.
Checking element type consistency.
Checking boundary types:
Checking face pairs.
Checking periodic boundaries.
c Fluent Inc. September 29, 2006 6-47
Reading and Manipulating Grids
The domain extents list the minimum and maximum x, y, and z coordinates in meters.
The volume statistics include minimum, maximum, and total cell volume in m3 . A nega-
tive value for the minimum volume indicates that one or more cells have improper connec-
tivity. Cells with a negative volume can often be identified using the Iso-Value Adaption
capability to mark them for adaption and view them in the graphics window. For more
information on creating and viewing isovalue adaption registers, see Section 26.6: Iso-
value Adaption. You must eliminate these negative volumes before continuing the flow
solution process.
The topological information to be verified begins with the number of faces and nodes
per cell. A triangular cell (2D) should have 3 faces and 3 nodes, a tetrahedral cell (3D)
should have 4 faces and 4 nodes, a quadrilateral cell (2D) should have 4 faces and 4
nodes, and a hexahedral cell (3D) should have 6 faces and 8 nodes. Polyhedral cells (3D)
will have an arbitrary number of faces and nodes.
Next, the face handedness for each zone is checked. The zones should contain all right-
handed faces. Usually a grid with negative volumes will also have left-handed faces.
Again, you cannot obtain a flow solution until you eliminate these connectivity problems.
The last topological verification is checking the element-type consistency. If a mesh does
not contain mixed elements (quadrilaterals and triangles or hexahedra and tetrahedra),
FLUENT will determine that it does not need to keep track of the element types. By
doing so, it can eliminate some unnecessary work.
For axisymmetric cases, the number of nodes below the x axis is listed. Nodes below
the x axis are forbidden for axisymmetric cases, since the axisymmetric cell volumes are
created by rotating the 2D cell volume about the x axis; thus nodes below the x axis
would create negative volumes.
For solution domains with rotationally periodic boundaries, the minimum, maximum,
average, and prescribed periodic angles are computed. A common mistake is to specify
the angle incorrectly. For domains with translationally periodic boundaries, the boundary
information is checked to ensure that the boundaries are truly periodic.
Finally, the simplex counters are verified. The actual numbers of nodes, faces, and cells
the solver has constructed are compared to the values specified in the corresponding
header declarations in the grid file. Any discrepancies are reported.
6-48
c Fluent Inc. September 29, 2006
6.6 Reporting Grid Statistics
it indicates the existence of duplicate shadow nodes. This error occurs only in grids with
periodic-type walls. You can repair such a grid using the following text command:
grid −→ modify-zones −→repair-periodic
If the interface is rotational periodic, you will be prompted for the rotation angle.
Grid Size
c Fluent Inc. September 29, 2006 6-49
Reading and Manipulating Grids
If you are interested in how the cells and faces are divided among the different zones,
you can use the Grid/Info/Zones menu item, as described in Section 6.6.3: Grid Zone
Information.
If you are using the density-based coupled explicit solver, the grid information will be
printed for each grid level. The grid levels result from creating coarse grid levels for the
FAS multigrid convergence acceleration (see Section 25.6.4: Full-Approximation Storage
(FAS) Multigrid). A sample of the resulting output is shown below:
Grid Size
UNIX Systems
On UNIX systems, the process memory information includes the following:
6-50
c Fluent Inc. September 29, 2006
6.6 Reporting Grid Statistics
Windows Systems
On Windows systems, the process memory information includes the following:
• Process Virtual memory is the allocated heap memory currently swapped to the
Windows system page file.
• The memory information does not include the static (code) memory.
• In the serial version of FLUENT, the heap memory value includes storage for the
solver (grid and solution variables), and Cortex (GUI and graphics memory), since
Cortex and the solver are contained in the same process.
• In the parallel version, Cortex runs in its own process, so the heap memory value
includes storage for the grid and solution variables only.
On Windows systems, you can also get more information on the FLUENT process (or
processes) by using the Task Manager (see your Windows documentation for details).
For the serial version, the process image name will be something like fl542s.exe. For
the parallel version, examples of process image names are as follows: cx332.exe (Cortex),
fl542.exe (solver host), and fl smpi542.exe (one solver node).
c Fluent Inc. September 29, 2006 6-51
Reading and Manipulating Grids
6-52
c Fluent Inc. September 29, 2006
6.7 Converting the Grid to a Polyhedral Mesh
• Converting the entire domain into polyhedral cells (applicable only for meshes that
contain tetrahedral and/or wedge/prism cells).
c Fluent Inc. September 29, 2006 6-53
Reading and Manipulating Grids
6-54
c Fluent Inc. September 29, 2006
6.7 Converting the Grid to a Polyhedral Mesh
i Hexahedral cells are not converted to polyhedra when the domain is con-
verted, except when they border non-hexahedral cells. When the neigh-
boring cell is reconfigured as polyhedra, the shared face of the hexahedral
cell is decomposed into multiple faces as well, resulting in a polyhedral cell.
In such a case the shape of the original hexahedral cell is preserved (i.e.
the overall dimensions of the cell stay the same), but the converted cell has
more than the original 6 faces (see Figure 6.7.3).
c Fluent Inc. September 29, 2006 6-55
Reading and Manipulating Grids
Conversion proceeds in a slightly different manner in boundary layers that are modeled
using thin wedge/prism cells. These cells are decomposed in the plane of the boundary
surface, but not in the direction normal to the surface. The resulting polyhedra will
therefore preserve the thickness of the original wedge/prism cells (Figure 6.7.4). In most
cases, the cell count in the new polyhedral boundary layer will be lower than the original
boundary layer.
6-56
c Fluent Inc. September 29, 2006
6.7 Converting the Grid to a Polyhedral Mesh
To convert the entire domain of your mesh, use the Grid/Polyhedra/Convert Domain menu.
Grid −→ Polyhedra −→Convert Domain
The resulting message printed on the console is
Figure 6.7.5, the original tetrahedral mesh of a section of a manifold, is compared to Fig-
ure 6.7.6 which is the resulting mesh after the entire domain is converted to a polyhedra.
Limitations
Some limitations you will find with polyhedral meshes that you generally do not experi-
ence with other cell types include:
c Fluent Inc. September 29, 2006 6-57
Reading and Manipulating Grids
6-58
c Fluent Inc. September 29, 2006
6.7 Converting the Grid to a Polyhedral Mesh
Limitations
There are certain limitations with this type of conversion:
• The following grid manipulation tools are not available on polyhedral meshes:
– extrude-face-zone under the modify-zone option
– fuse
– skewness smoothing
– swapping will not affect polyhedral cells
• The polyhedral cells that result from the conversion are not eligible for adaption.
For more information about adaption, see Chapter 26: Adapting the Grid.
• Only tetrahedral cells are converted, as all other cells are skipped.
• Meshes with hanging nodes will not be converted. This includes meshes that have
undergone hanging node adaption (see Section 26.2.1: Hanging Node Adaption),
as well as meshes generated by the GAMBIT Hex Core meshing scheme or the
TGrid Hexcore menu option (hexcore meshes). Note that if the mesh has undergone
conformal adaption (see Section 26.2.2: Conformal Adaption) or it is a hexcore
mesh in which the transitional cells have been converted to polyhedra (see Sec-
tion 31.5.2: Preparing Hexcore Meshes for Partitioning), then it does not have
hanging nodes and can therefore be converted.
c Fluent Inc. September 29, 2006 6-59
Reading and Manipulating Grids
1. Select the zone(s) you want to consider for local polyhedra conversion under Cell
Zones. Once the zone selection is made, the Current Maximum Cell Skewness and
Cells Above Target (%) skewness are displayed.
2. Set the Target Maximum Cell Skewness (see Section 6.7.2: Limitations) and click the
Convert button.
i The Cells Above Target (%) should be only a couple of percentage points,
else the conversion will be ineffective due to the high face count.
3. The output reported on the FLUENT console is the number of created polyhedra
and the resulting maximum cell skewness.
6-60
c Fluent Inc. September 29, 2006
6.8 Modifying the Grid
i Whenever you modify the grid, you should be sure to save a new case file
(and a data file, if data exist). If you have old data files that you would
like to be able to read in again, be sure to retain the original case file as
well, as the data in the old data files may not correspond to the new case
file.
Information about grid manipulation is provided in the following sections:
c Fluent Inc. September 29, 2006 6-61
Reading and Manipulating Grids
6-62
c Fluent Inc. September 29, 2006
6.8 Modifying the Grid
1. Select the zone type in the Multiple Types list. This list contains all the zone types
for which there are multiple zones. When you choose a type from this list, the
corresponding zones will appear in the Zones of Type list.
i Remember to save a new case file (and a data file, if data exists).
i After performing any of these separations, you should save a new case file.
If data exist, they are automatically assigned to the proper zones when
separation occurs, so you should also write a new data file.
i The maximum number of zones into which you can separate any one face
zone or cell zone is 32.
There are four ways to separate face zones and two ways to separate cell zones. The face
separation methods will be described first, followed by the cell separation tools. Slitting
(decoupling) of periodic zones is discussed in Section 6.8.5: Slitting Periodic Zones.
Note that all of the separation methods allow you to report the result of the separation
before you commit to performing it.
c Fluent Inc. September 29, 2006 6-63
Reading and Manipulating Grids
For geometries with sharp corners, it is often easy to separate face zones based on sig-
nificant angle. Faces with normal vectors that differ by an angle greater than or equal
to the specified significant angle will be placed in different zones. For example, if your
grid consists of a cube, and all 6 sides of the cube are in a single wall zone, you would
specify a significant angle of 89◦ . Since the normal vector for each cube side differs by
90◦ from the normals of its adjacent sides, each of the 6 sides will be placed in a different
wall zone.
If you have a small face zone and would like to put each face in the zone into its own
zone, you can do so by separating the faces based on face.
You can also separate face zones based on the marks stored in adaption registers. For
example, you can mark cells for adaption based on their location in the domain (region
adaption), their boundary closeness (boundary adaption), isovalues of some variable, or
any of the other adaption methods discussed in Chapter 26: Adapting the Grid. When
you specify which register is to be used for the separation of the face zone, all faces of
cells that are marked will be placed into a new face zone. (Use the Manage Adaption
Registers panel to determine the ID of the register you wish to use.)
Finally, you can separate face zones based on contiguous regions. For example, when you
use coupled wall boundary conditions you need the faces on the zone to have a consistent
orientation. Consistent orientation can only be guaranteed on contiguous regions, so you
may need to separate face zones to allow proper boundary condition specification.
6-64
c Fluent Inc. September 29, 2006
6.8 Modifying the Grid
To break up a face zone based on angle, face, adaption mark, or region, use the Separate
Face Zones panel (Figure 6.8.2).
Grid −→ Separate −→Faces...
i If you are planning to separate face zones, you should do so before per-
forming any adaptions using the (default) hanging node adaption method.
Face zones that contain hanging nodes cannot be separated.
The steps for separating faces are as follows:
1. Select the separation method (Angle, Face, Mark, or Region) under Options.
3. If you are separating by face or region, skip to the next step. Otherwise, do one of
the following:
• If you are separating faces by angle, specify the significant angle in the Angle
field.
• If you are separating faces by mark, select the adaption register to be used in
the Registers list.
c Fluent Inc. September 29, 2006 6-65
Reading and Manipulating Grids
4. (optional) To check what the result of the separation will be before you actually
separate the face zone, click on the Report button. The report will look like this:
5. To separate the face zone, click on the Separate button. FLUENT will print the
following information:
i When you separate the face zone by adaption mark, you may sometimes
find that a face of a corner cell will be placed in the wrong face zone. You
can usually correct this problem by performing an additional separation,
based on angle, to move the offending face to a new zone. You can then
merge this new zone with the zone in which you want the face to be placed,
as described in Section 6.8.1: Merging Zones.
6-66
c Fluent Inc. September 29, 2006
6.8 Modifying the Grid
If you have two or more enclosed cell regions sharing internal boundaries (as shown in
Figure 6.8.3), but all of the cells are contained in a single cell zone, you can separate the
cells into distinct zones using the separation-by-region method. Note that if the shared
internal boundary is of type interior, you must change it to another double-sided face
zone type (fan, radiator, etc.) prior to performing the separation.
zone 1 zone 2
You can also separate cell zones based on the marks stored in adaption registers. You
can mark cells for adaption using any of the adaption methods discussed in Chap-
ter 26: Adapting the Grid (e.g., you can mark cells with a certain isovalue range or
cells inside or outside a specified region). When you specify which register is to be used
for the separation of the cell zone, cells that are marked will be placed into a new cell
zone. (Use the Manage Adaption Registers panel to determine the ID of the register you
wish to use.)
c Fluent Inc. September 29, 2006 6-67
Reading and Manipulating Grids
To break up a cell zone based on region or adaption mark, use the Separate Cell Zones
panel (Figure 6.8.4).
Grid −→ Separate −→Cells...
i If you are planning to separate cell zones, you should do so before perform-
ing any adaptions using the (default) hanging node adaption method. Cell
zones that contain hanging nodes cannot be separated.
The steps for separating cells are as follows:
3. If you are separating cells by mark, select the adaption register to be used in the
Registers list.
4. (optional) To check what the result of the separation will be before you actually
separate the cell zone, click on the Report button. The report will look like this:
6-68
c Fluent Inc. September 29, 2006
6.8 Modifying the Grid
5. To separate the cell zone, click on the Separate button. FLUENT will print the
following information:
As shown in the example above, separation of a cell zone will often result in the separation
of face zones as well. When you separate by mark, faces of cells that are moved to a new
zone will be placed in a new face zone. When you separate by region, faces of cells that
are moved to a new zone will not necessarily be placed in a new face zone.
If you find that any faces are placed incorrectly, see the comment above, at the end of
the inputs for face zone separation.
c Fluent Inc. September 29, 2006 6-69
Reading and Manipulating Grids
The boundaries on which the duplicate nodes lie are assigned zone ID numbers (just like
any other boundary) when the grid files are combined, as described in Section 6.3.15: Read-
ing Multiple Mesh/Case/Data Files. You need to keep track of the zone ID numbers when
tmerge or TGrid reports its progress or, after the complete grid is read in, display all
boundary grid zones and use the mouse-probe button to determine the zone names (see
Section 28.3: Controlling the Mouse Button Functions for information about the mouse
button functions).
6-70
c Fluent Inc. September 29, 2006
6.8 Modifying the Grid
If all of the appropriate faces do not get fused using the default Tolerance, you should
increase it and attempt to fuse the zones again. (This tolerance is the same as the
matching tolerance discussed in Section 6.8.4: Creating Periodic Zones.) The Tolerance
should not exceed 0.5, or you may fuse the wrong nodes.
i Remember to save a new case file (and a data file, if data exist) after fusing
faces.
Meshes imported from structured mesh generators or solvers (such as FLUENT 4) can
often be O-type or C-type grids with a reentrant branch cut where coincident duplicate
nodes lie on a periodic boundary. Since FLUENT uses an unstructured grid representa-
tion, there is no reason to retain this artificial internal boundary. (Of course, you can
preserve these periodic boundaries and the solution algorithm will solve the problem with
periodic boundary conditions.)
To fuse this periodic zone with itself, you must first slit the periodic zone, as described
in Section 6.8.5: Slitting Periodic Zones. This will create two symmetry zones that you
can fuse using the procedure above.
Note that if you need to fuse portions of a non-periodic zone with itself, you must use
the text command fuse-face-zones.
grid −→ modify-zones −→fuse-face-zones
This command will prompt you for the name or ID of each zone to be fused. (You will
enter the same zone twice.) To change the node tolerance, use the matching-tolerance
command.
c Fluent Inc. September 29, 2006 6-71
Reading and Manipulating Grids
i Remember to save a new case file (and a data file, if data exist) after
creating or slitting a periodic boundary.
/grid/modify-zones> mp
Periodic zone [()] 1
Shadow zone [()] 4
Rotational periodic? (if no, translational) [yes] n
Create periodic zones? [yes] yes
zone 4 deleted
Created periodic zones.
When you create a conformal periodic boundary, the solver will check to see if the faces
on the selected zones “match” (i.e., whether or not the nodes on corresponding faces
are coincident). The matching tolerance for a face is a fraction of the minimum edge
length of the face. If the periodic boundary creation fails, you can change the matching
tolerance using the matching-tolerance command, but it should not exceed 0.5 or you
may match up the periodic zones incorrectly and corrupt the grid.
grid −→ modify-zones −→matching-tolerance
6-72
c Fluent Inc. September 29, 2006
6.8 Modifying the Grid
/define/grid-interfaces> make-periodic
Periodic zone [()] interface-15
Shadow zone [()] interface-2
Rotational periodic? (if no, translational) [yes] yes
Rotation angle (deg) [0] 40.0
Create periodic zone? [yes] yes
grid-interface name [] fan-periodic
/grid/modify-zones> sp
periodic zone [()] periodic-1
c Fluent Inc. September 29, 2006 6-73
Reading and Manipulating Grids
• You can slit a single boundary zone of any double-sided type (i.e., any boundary
zone that has cells on both sides of it) into two distinct zones.
• You can slit a coupled wall zone into two distinct, uncoupled wall zones.
When you slit a face zone, the solver will duplicate all faces and nodes, except those
nodes that are located at the ends (2D) or edges (3D) of the zone. One set of nodes and
faces will belong to one of the resulting boundary zones and the other set will belong to
the other zone. The only ill effect of the shared nodes at each end is that you may see
some inaccuracies at those points when you graphically display solution data with a slit
boundary. (Note that if you adapt the boundary after slitting, you will not be able to
fuse the boundaries back together again.)
Normally, you will not need to manually slit a face zone. Two-sided walls are automat-
ically slit, but remain coupled. (This coupling refers only to the grid; it is independent
of thermal coupling.) The adaption process treats these coupled walls just like periodic
boundaries; adapting on one wall causes the same adaption on the shadow. If you want
to adapt one wall independent of its shadow, you should slit the coupled wall to obtain
two distinct walls.
i You should not confuse “slitting” a face zone with “separating” a face
zone. When you slit a face zone, additional faces and nodes are created
and placed in a new zone. When you separate a face zone, a new zone will
be created, but no new faces or nodes are created; the existing faces and
nodes are simply redistributed among the zones.
/grid/modify-zones> slfz
face zone id/name [] wall-4
zone 4 deleted
face zone 4 created
face zone 10 created
6-74
c Fluent Inc. September 29, 2006
6.8 Modifying the Grid
i Remember to save a new case file (and a data file, if data exist) after
slitting faces.
i Note that extrusion is not possible from boundary face zones that have
hanging nodes.
c Fluent Inc. September 29, 2006 6-75
Reading and Manipulating Grids
Replacing Zones
This feature allows you to replace a small region of a computational domain with a new
region of different mesh quality. This functionality will be required where you may want
to make changes to the geometry or mesh quality for any part of the domain. This ability
of FLUENT is time saving since you can modify only the required part of the domain,
without remeshing the whole domain every time. The replaced mesh will be conformal
with that of the old mesh.
Replacing a zone is performed in the Replace Cell Zones panel (Figure 6.8.6).
Grid −→ Zone −→Replace...
1. Click Browse... and select the new or modified mesh containing the cell zone which
will replace the cell zone in the current mesh.
The zone names of the new mesh will be listed under the Replace with list box.
FLUENT checks for all face zones which have the same name as the face zones that
were deleted and applies the old boundary conditions.
2. Under Existing Zones, select the zone you want to replace. Note that the new cell
zone might not have the same name as the old cell zone.
FLUENT will first separate all the face zones which are connected to any undeleted
zones in the current mesh. The deleted cell zone is now totally separated and can
be deleted without affecting anything else.
6-76
c Fluent Inc. September 29, 2006
6.8 Modifying the Grid
3. Under Replace with, select the zone from the newly read mesh.
Deleting Zones
To permanently delete zones, select them in the Delete Cell Zones panel (Figure 6.8.7),
and click Delete.
Grid −→ Zone −→Delete...
c Fluent Inc. September 29, 2006 6-77
Reading and Manipulating Grids
Deactivating Zones
To deactivate zones, select them in the Deactivate Cell Zones panel (Figure 6.8.8), and
click Deactivate.
Grid −→ Zone −→Deactivate...
Deactivation will separate all relevant interior face zones (i.e., fan, interior, porous-jump,
or radiator) into wall and wall-shadow pairs.
Note: When you deactivate a zone using the Deactivate Cell Zones panel, FLUENT will
remove the zone from the grid and from all relevant solver loops.
i If you have neither read in the data file, nor initialized the solution, prior
to clicking the Deactivate button, then the selected cell zones will only be
marked for deactivation. The zones will not be deactivated until data is
read, or the solution is initialized.
6-78
c Fluent Inc. September 29, 2006
6.8 Modifying the Grid
Activating Zones
You can reactivate the zones and recover the last data available for them using the
Activate Cell Zones panel (Figure 6.8.9).
Grid −→ Zone −→Activate...
Note: The Activate Cell Zones panel will only be populated with zones that were previously
deactivated.
After reactivation, you need to make sure that the boundary conditions for the wall and
wall-shadow pairs are restored correctly to what you assigned before deactivating the
zones. If you plan to reactivate them at a later time, make sure that the face zones that
are separated during deactivation are not modified. Adaption, however, is supported.
To activate selected cell zones in parallel
i If you have neither read in the data file, nor initialized the solution, prior
to clicking the Activate button, then the selected cell zones will only be
marked for activation. The zones will not be activated until data is read,
or the solution is initialized.
c Fluent Inc. September 29, 2006 6-79
Reading and Manipulating Grids
i Remember to save a new case file (and a data file, if data exist) after
reordering.
About Reordering
The Reverse Cuthill-McKee algorithm [72] is used in the reordering process to construct
a “level tree” initiated from a “seed cell” in the domain. First a cell (called the seed cell)
is selected using the algorithm of Gibbs, Poole, and Stockmeyer [118]. Each cell is then
assigned to a level based on its distance from the seed cell. These level assignments form
the level tree. In general, the faces and cells are reordered so that neighboring cells are
near each other in the zone and in memory. Since most of the computational loops are
over faces, you would like the two cells in memory cache at the same time to reduce cache
and/or disk swapping—i.e., you want the cells near each other in memory to reduce the
cost of memory access. The present scheme reorders the faces and cells in the zone, and
the nodes, faces, and cells in memory.
You may also choose to reorder the zones. The zones are reordered by first sorting on
zone type and then on zone ID. Zone reordering is performed simply for user-interface
convenience.
6-80
c Fluent Inc. September 29, 2006
6.8 Modifying the Grid
If you print the bandwidth, you will see a report similar to the following:
The bandwidth is the maximum difference between neighboring cells in the zone—i.e., if
you numbered each cell in the zone list sequentially and compared the differences between
these indices.
i If you plan to scale the grid in any way, you should do so before you
initialize the flow or begin calculations. Any data that exist when you
scale the grid will be invalid.
You will use the Scale Grid panel (Figure 6.8.10) to scale the grid from a standard unit
of measurement or to apply custom scaling factors.
Grid −→Scale...
c Fluent Inc. September 29, 2006 6-81
Reading and Manipulating Grids
6-82
c Fluent Inc. September 29, 2006
6.8 Modifying the Grid
1. Indicate the units in which you created the grid by choosing the appropriate ab-
breviation for centimeters, millimeters, inches, or feet in the Grid Was Created In
drop-down list. The Scale Factors will automatically be set to the correct values
(e.g., 0.0254 meters/inch or 0.3048 meters/foot). If you created your grid using
units other than those in the list, you can enter the Scale Factors (e.g., the number
of meters per yard) manually.
2. Click on the Scale button. The Domain Extents will be updated to show the correct
range in meters. If you prefer to use your original unit of length during the FLUENT
session, you can follow the procedure described below to change the unit.
As mentioned above in step 2, when you scale the grid you do not change the units;
you just convert the original dimensions of your grid points from your original units to
meters by multiplying each node coordinate by the specified Scale Factors. If you want
to work in your original units, instead of in meters, you can click on the Change Length
Units button. This is a shortcut for changing the length unit in the Set Units panel (see
Section 5.4: Customizing Units). When you click on the Change Length Units button, the
Domain Extents will be updated to show the range in your original units. This unit will
be used for all future inputs of length quantities.
If you use the wrong scale factor, accidentally click the Scale button twice, or wish to
undo the scaling for any other reason, you can click on the Unscale button. “Unscaling”
simply divides each of the node coordinates by the specified Scale Factors. (Selecting m
in the Grid Was Created In list and clicking on Scale will not unscale the grid.)
You can also use the Scale Grid panel to change the physical size of the grid. For example,
if your grid is 5 feet by 8 feet, and you want to model the same geometry with dimensions
twice as big (10 × 16), you can enter 2 for the X and Y Scale Factors and click on Scale.
The Domain Extents will be updated to show the new range.
c Fluent Inc. September 29, 2006 6-83
Reading and Manipulating Grids
1. Enter the desired translations in the x, y, and (for 3D) z directions (i.e., the desired
delta in the axes origin) in the X, Y, and Z fields under Translation Offsets. You
can specify positive or negative real numbers in the current unit of length.
2. Click on the Translate button. The Domain Extents will be updated to display
the new extents of the translated grid. (Note that the Domain Extents are purely
informational; you cannot edit them manually.)
6-84
c Fluent Inc. September 29, 2006
6.8 Modifying the Grid
c Fluent Inc. September 29, 2006 6-85
Reading and Manipulating Grids
1. Specify the required Rotation Angle for the grid. You can specify any positive or
negative real number in the correct unit of angle.
2. Under Rotation Origin, enter X, Y, and Z (for 3D) coordinates to specify a new
origin for axis of rotation.
3. Under Rotation Axis, enter 1 for the axis along which you want to rotate the grid.
6-86
c Fluent Inc. September 29, 2006
Chapter 7. Boundary Conditions
This chapter describes the boundary condition options available in FLUENT. Details
regarding the boundary condition inputs you must supply and the internal treatment at
boundaries are provided.
The information in this chapter is divided into the following sections:
c Fluent Inc. September 29, 2006 7-1
Boundary Conditions
7-2
c Fluent Inc. September 29, 2006
7.1 Overview of Defining Boundary Conditions
• Flow inlet and exit boundaries: pressure inlet, velocity inlet, mass flow inlet, and
inlet. vent, intake fan, pressure outlet, pressure far-field, outflow, outlet vent, and
exhaust fan.
• Wall, repeating, and pole boundaries: wall, symmetry, periodic, and axis.
• Internal cell zones: fluid, and solid (porous is a type of fluid zone).
• Internal face boundaries: fan, radiator, porous jump, wall, and interior.
(The internal face boundary conditions are defined on cell faces, which means that they
do not have a finite thickness and they provide a means of introducing a step change
in flow properties. These boundary conditions are used to implement physical models
representing fans, thin porous membranes, and radiators. The “interior” type of internal
face zone does not require any input from you.)
In this chapter, the boundary conditions listed above will be described, and an expla-
nation of how to set them and when they are most appropriately used will be provided.
Note that while periodic boundaries are described in Section 7.15: Periodic Boundary
Conditions, additional information about modeling fully-developed periodic flows is pro-
vided in Section 9.4: Periodic Flows.
c Fluent Inc. September 29, 2006 7-3
Boundary Conditions
Sections 7.1.3–7.1.6 explain how to perform these operations with the Boundary Conditions
panel, and how to use the mouse and the graphics display in conjunction with the panel.
7-4
c Fluent Inc. September 29, 2006
7.1 Overview of Defining Boundary Conditions
1. In the Boundary Conditions panel, select the zone to be changed in the Zone list.
Once you have confirmed the change, the zone type will be changed, the name will
change automatically (if the original name was the default name for that zone—see
Section 7.1.7: Changing Boundary Zone Names), and the panel for setting conditions for
the zone will open automatically.
i Note that you cannot use this method to change zone types to or from the
periodic type, since additional restrictions exist for this boundary type.
Section 6.8.4: Creating Periodic Zones explains how to create and uncouple
periodic zones.
i If you are using one of the general multiphase models (VOF, mixture,
or Eulerian), the procedure for changing types is slightly different. See
Section 23.9.8: Steps for Setting Boundary Conditions for details.
c Fluent Inc. September 29, 2006 7-5
Boundary Conditions
or
or
7-6
c Fluent Inc. September 29, 2006
7.1 Overview of Defining Boundary Conditions
The panel for the selected boundary zone will open, and you can specify the appropriate
boundary conditions.
i If you are using one of the general multiphase models (VOF, mixture, or
Eulerian), the procedure for setting boundary conditions is slightly different
from that described above. See Section 23.9.8: Steps for Setting Boundary
Conditions for details.
1. In the Boundary Conditions panel, click the Copy... button. This will open the Copy
BCs panel (Figure 7.1.2).
2. In the From Zone list, select the zone that has the conditions you want to copy.
3. In the To Zones list, select the zone or zones to which you want to copy the condi-
tions.
4. Click Copy. FLUENT will set all of the boundary conditions for the zones selected in
the To Zones list to be the same as the conditions for the zone selected in the From
Zone list. (You cannot copy a subset of the conditions, such as only the thermal
conditions.)
c Fluent Inc. September 29, 2006 7-7
Boundary Conditions
Note that you cannot copy conditions from external walls to internal (i.e., two-sided)
walls, or vice versa, if the energy equation is being solved, since the thermal conditions
for external and internal walls are different.
i If you are using one of the general multiphase models (VOF, mixture,
or Eulerian), the procedure for copying boundary conditions is slightly
different. See Section 23.9.8: Steps for Copying Boundary Conditions for
details.
2. Use the mouse probe button (the right button, by default—see Section 28.3: Con-
trolling the Mouse Button Functions to modify the mouse button functions) to click
on a boundary zone in the graphics window.
The zone you select in the graphics display will automatically be selected in the Zone
list in the Boundary Conditions panel, and its name and ID will be printed in the console
window.
1. Select the zone to be renamed in the Zones list in the Boundary Conditions panel.
7-8
c Fluent Inc. September 29, 2006
7.1 Overview of Defining Boundary Conditions
Note that if you specify a new name for a zone and then change its type, the name you
specified will be retained; the automatic name change that accompanies a change in type
occurs only if the name of the zone is its type plus its ID.
• transient profile with a format similar to the standard boundary profiles described
in Section 7.26: Boundary Profiles
i For both methods, the boundary condition will vary only in time; it must
be spatially uniform. However, if the in-cylinder model is activated (Sec-
tion 11.7.1: Setting In-Cylinder Parameters), then you have the option
to use the crank angle instead of time. Crank angles can be included in
transient tables as well as transient profiles, in a similar fashion to time.
Examples of transient profiles and transient tables in crank angle can be
found in the sections that follow.
c Fluent Inc. September 29, 2006 7-9
Boundary Conditions
One of the field names should be used for the time field, and the time field section
must be in ascending order. The periodic? entry indicates whether or not the profile is
time-periodic. Set it to 1 for a time-periodic profile, or 0 if the profile is not time-periodic.
An example is shown below:
((sampleprofile transient 3 0)
(time
1
2
3
)
(u
10
20
30
)
)
((example transient 3 1)
(angle
0.000000e+00 1.800000e+02 3.600000e+02)
(temperature
3.000000e+02 5.000000e+02 3.000000e+02)
)
7-10
c Fluent Inc. September 29, 2006
7.1 Overview of Defining Boundary Conditions
The first field name (e.g. field-name-1) should be used for the time field, and the time
field section, which represents the flow time, must be in ascending order. The periodic?
entry indicates whether or not the profile is time-periodic. Set it to 1 for a time-periodic
profile, or 0 if the profile is not time-periodic.
An example is shown below:
sampletabprofile 2 3 0
time u
1 10
2 20
3 30
This file defines the same transient profile as the standard profile example above.
If the periodicity is set to 1, then n data must be the number that closes one period.
An example is shown below:
periodtabprofile 2 4 1
time u
0 10
1 20
2 30
3 10
c Fluent Inc. September 29, 2006 7-11
Boundary Conditions
example 2 3 1
angle temperature
0 300
180 500
360 300
7-12
c Fluent Inc. September 29, 2006
7.2 Flow Inlet and Exit Boundary Conditions
• Velocity inlet boundary conditions are used to define the velocity and scalar prop-
erties of the flow at inlet boundaries.
• Pressure inlet boundary conditions are used to define the total pressure and other
scalar quantities at flow inlets.
• Mass flow inlet boundary conditions are used in compressible flows to prescribe a
mass flow rate at an inlet. It is not necessary to use mass flow inlets in incompress-
ible flows because when density is constant, velocity inlet boundary conditions will
fix the mass flow.
• Pressure outlet boundary conditions are used to define the static pressure at flow
outlets (and also other scalar variables, in case of backflow). The use of a pressure
outlet boundary condition instead of an outflow condition often results in a better
rate of convergence when backflow occurs during iteration.
• Pressure far-field boundary conditions are used to model a free-stream compressible
flow at infinity, with free-stream Mach number and static conditions specified. This
boundary type is available only for compressible flows.
• Outflow boundary conditions are used to model flow exits where the details of the
flow velocity and pressure are not known prior to solution of the flow problem. They
are appropriate where the exit flow is close to a fully developed condition, as the
outflow boundary condition assumes a zero normal gradient for all flow variables
except pressure. They are not appropriate for compressible flow calculations.
• Inlet vent boundary conditions are used to model an inlet vent with a specified loss
coefficient, flow direction, and ambient (inlet) total pressure and temperature.
• Intake fan boundary conditions are used to model an external intake fan with a
specified pressure jump, flow direction, and ambient (intake) total pressure and
temperature.
• Outlet vent boundary conditions are used to model an outlet vent with a specified
loss coefficient and ambient (discharge) static pressure and temperature.
• Exhaust fan boundary conditions are used to model an external exhaust fan with
a specified pressure jump and ambient (discharge) static pressure.
c Fluent Inc. September 29, 2006 7-13
Boundary Conditions
• k- models: Choose K and Epsilon in the Turbulence Specification Method drop-down
list and select the appropriate profile names in the drop-down lists next to Turb.
Kinetic Energy and Turb. Dissipation Rate.
• k-ω models: Choose K and Omega in the Turbulence Specification Method drop-down
list and select the appropriate profile names in the drop-down lists next to Turb.
Kinetic Energy and Spec. Dissipation Rate.
• Reynolds stress model: Choose K and Epsilon in the Turbulence Specification Method
drop-down list and select the appropriate profile names in the drop-down lists
next to Turb. Kinetic Energy and Turb. Dissipation Rate. Choose Reynolds-Stress
Components in the Reynolds-Stress Specification Method drop-down list and select
the appropriate profile name in the drop-down list next to each of the individual
Reynolds-stress components.
7-14
c Fluent Inc. September 29, 2006
7.2 Flow Inlet and Exit Boundary Conditions
Turbulence Intensity
The turbulence intensity, I, is defined as the ratio of the root-mean-square of the velocity
fluctuations, u0 , to the mean flow velocity, uavg .
A turbulence intensity of 1% or less is generally considered low and turbulence intensities
greater than 10% are considered high. Ideally, you will have a good estimate of the
turbulence intensity at the inlet boundary from external, measured data. For example, if
you are simulating a wind-tunnel experiment, the turbulence intensity in the free stream is
usually available from the tunnel characteristics. In modern low-turbulence wind tunnels,
the free-stream turbulence intensity may be as low as 0.05%.
For internal flows, the turbulence intensity at the inlets is totally dependent on the
upstream history of the flow. If the flow upstream is under-developed and undisturbed,
you can use a low turbulence intensity. If the flow is fully developed, the turbulence
intensity may be as high as a few percent. The turbulence intensity at the core of a
fully-developed duct flow can be estimated from the following formula derived from an
empirical correlation for pipe flows:
u0
I≡ = 0.16(ReDH )−1/8 (7.2-1)
uavg
At a Reynolds number of 50,000, for example, the turbulence intensity will be 4%, ac-
cording to this formula.
c Fluent Inc. September 29, 2006 7-15
Boundary Conditions
The turbulence length scale, `, is a physical quantity related to the size of the large eddies
that contain the energy in turbulent flows.
In fully-developed duct flows, ` is restricted by the size of the duct, since the turbulent
eddies cannot be larger than the duct. An approximate relationship between ` and the
physical size of the duct is
` = 0.07L (7.2-2)
where L is the relevant dimension of the duct. The factor of 0.07 is based on the maximum
value of the mixing length in fully-developed turbulent pipe flow, where L is the diameter
of the pipe. In a channel of non-circular cross-section, you can base L on the hydraulic
diameter.
If the turbulence derives its characteristic length from an obstacle in the flow, such as
a perforated plate, it is more appropriate to base the turbulence length scale on the
characteristic length of the obstacle rather than on the duct size.
It should be noted that the relationship of Equation 7.2-2, which relates a physical
dimension (L) to the turbulence length scale (`), is not necessarily applicable to all
situations. For most cases, however, it is a suitable approximation.
Guidelines for choosing the characteristic length L or the turbulence length scale ` for
selected flow types are listed below:
• For fully-developed internal flows, choose the Intensity and Hydraulic Diameter spec-
ification method and specify the hydraulic diameter L = DH in the Hydraulic Di-
ameter field.
• For flows downstream of turning vanes, perforated plates, etc., choose the Intensity
and Hydraulic Diameter method and specify the characteristic length of the flow
opening for L in the Hydraulic Diameter field.
• For wall-bounded flows in which the inlets involve a turbulent boundary layer,
choose the Intensity and Length Scale method and use the boundary-layer thickness,
δ99 , to compute the turbulence length scale, `, from ` = 0.4δ99 . Enter this value for
` in the Turbulence Length Scale field.
7-16
c Fluent Inc. September 29, 2006
7.2 Flow Inlet and Exit Boundary Conditions
The turbulent viscosity ratio, µt /µ, is directly proportional to the turbulent Reynolds
number (Ret ≡ k 2 /(ν)). Ret is large (on the order of 100 to 1000) in high-Reynolds-
number boundary layers, shear layers, and fully-developed duct flows. However, at the
free-stream boundaries of most external flows, µt /µ is fairly small. Typically, the turbu-
lence parameters are set so that 1 < µt /µ < 10.
To specify quantities in terms of the turbulent viscosity ratio, you can choose Turbulent
Viscosity Ratio (for the Spalart-Allmaras model) or Intensity and Viscosity Ratio (for the
k- models, the k-ω models, or the RSM).
Estimating Modified Turbulent Viscosity from Turbulence Intensity and Length Scale
To obtain the modified turbulent viscosity, ν̃, for the Spalart-Allmaras model from the
turbulence intensity, I, and length scale, `, the following equation can be used:
s
3
ν̃ = uavg I ` (7.2-3)
2
This formula is used in FLUENT if you select the Intensity and Hydraulic Diameter speci-
fication method with the Spalart-Allmaras model. ` is obtained from Equation 7.2-2.
The relationship between the turbulent kinetic energy, k, and turbulence intensity, I, is
3
k = (uavg I)2 (7.2-4)
2
where uavg is the mean flow velocity.
This relationship is used in FLUENT whenever the Intensity and Hydraulic Diameter, Inten-
sity and Length Scale, or Intensity and Viscosity Ratio method is used instead of specifying
explicit values for k and .
c Fluent Inc. September 29, 2006 7-17
Boundary Conditions
If you know the turbulence length scale, `, you can determine from the relationship
k 3/2
= Cµ3/4 (7.2-5)
`
where Cµ is an empirical constant specified in the turbulence model (approximately 0.09).
The determination of ` was discussed previously.
This relationship is used in FLUENT whenever the Intensity and Hydraulic Diameter or
Intensity and Length Scale method is used instead of specifying explicit values for k and
.
The value of can be obtained from the turbulent viscosity ratio µt /µ and k using the
following relationship:
!−1
k2 µt
= ρCµ (7.2-6)
µ µ
If you are simulating a wind-tunnel situation in which the model is mounted in the test
section downstream of a grid and/or wire mesh screens, you can choose a value of such
that
∆kU∞
≈ (7.2-7)
L∞
where ∆k is the approximate decay of k you wish to have across the flow domain (say, 10%
of the inlet value of k), U∞ is the free-stream velocity, and L∞ is the streamwise length
of the flow domain. Equation 7.2-7 is a linear approximation to the power-law decay
observed in high-Reynolds-number isotropic turbulence. Its basis is the exact equation
for k in decaying turbulence, U ∂k/∂x = −.
If you use this method to estimate , you should also check the resulting turbulent
viscosity ratio µt /µ to make sure that it is not too large, using Equation 7.2-6.
7-18
c Fluent Inc. September 29, 2006
7.2 Flow Inlet and Exit Boundary Conditions
Although this method is not used internally by FLUENT, you can use it to derive a
constant free-stream value of that you can then specify directly by choosing K and
Epsilon in the Turbulence Specification Method drop-down list. In this situation, you will
typically determine k from I using Equation 7.2-4.
If you know the turbulence length scale, `, you can determine ω from the relationship
k 1/2
ω= 1/4
(7.2-8)
Cµ `
The value of ω can be obtained from the turbulent viscosity ratio µt /µ and k using the
following relationship:
!−1
k µt
ω=ρ (7.2-9)
µ µ
This relationship is used in FLUENT whenever the Intensity and Viscosity Ratio method
is used instead of specifying explicit values for k and ω.
c Fluent Inc. September 29, 2006 7-19
Boundary Conditions
When the RSM is used, if you do not specify the values of the Reynolds stresses explicitly
at the inlet using the Reynolds-Stress Components option in the Reynolds-Stress Specifica-
tion Method drop-down list, they are approximately determined from the specified values
of k. The turbulence is assumed to be isotropic such that
and
2
u0α u0α = k (7.2-11)
3
(no summation over the index α).
FLUENT will use this method if you select K or Turbulence Intensity in the Reynolds-Stress
Specification Method drop-down list.
7-20
c Fluent Inc. September 29, 2006
7.3 Pressure Inlet Boundary Conditions
For an overview of flow boundaries, see Section 7.2: Flow Inlet and Exit Boundary
Conditions.
• flow direction
• static pressure
• radiation parameters (for calculations using the P-1 model, the DTRM, the DO
model, or the surface-to-surface model)
c Fluent Inc. September 29, 2006 7-21
Boundary Conditions
• open channel flow parameters (for open channel flow calculations using the VOF
multiphase model)
All values are entered in the Pressure Inlet panel (Figure 7.3.1), which is opened from the
Boundary Conditions panel (as described in Section 7.1.4: Setting Boundary Conditions).
Note that open channel boundary condition inputs are described in Section 23.10.2: Mod-
eling Open Channel Flows.
7-22
c Fluent Inc. September 29, 2006
7.3 Pressure Inlet Boundary Conditions
p0s = ps − ρ0 gx (7.3-1)
or
∂p0s ∂ps
= − ρ0 g (7.3-2)
∂x ∂x
This definition allows the hydrostatic head to be taken into the body force term, (ρ−ρ0 )g,
and excluded from the pressure calculation when the density is uniform. Thus your inputs
of pressure should not include hydrostatic pressure differences, and reports of pressure
(p0s ) will not show any influence of the hydrostatic pressure. See Section 13.2.5: Natural
Convection and Buoyancy-Driven Flows for information about buoyancy-driven (natural-
convection) flows.
1
p0 = ps + ρ|~v |2 (7.3-3)
2
and for a compressible fluid of constant cp as
γ/(γ−1)
γ−1 2
p0 = ps 1 + M (7.3-4)
2
c Fluent Inc. September 29, 2006 7-23
Boundary Conditions
If the adjacent cell zone is moving (i.e., if you are using a rotating reference frame, mul-
tiple reference frames, a mixing plane, or sliding meshes) and you are using the pressure-
based solver, the velocity in Equation 7.3-3 (or the Mach number in Equation 7.3-4) will
be absolute or relative to the grid velocity, depending on whether or not the Absolute
velocity formulation is enabled in the Solver panel. For the density-based solvers, the ve-
locity in Equation 7.3-3 (or the Mach number in Equation 7.3-4) is always in the absolute
frame.
1. Choose which method you will use to specify the flow direction by selecting Direction
Vector or Normal to Boundary in the Direction Specification Method drop-down list.
2. If you selected Normal to Boundary in step 1 and you are modeling axisymmetric
swirl, enter the appropriate value for the Tangential-Component of Flow Direction. If
you chose Normal to Boundary and your geometry is 3D or 2D without axisymmetric
swirl, there are no additional inputs for flow direction.
3. If you chose in step 1 to specify the direction vector, and your geometry is 3D,
you will next choose the coordinate system in which you will define the vector
components. Choose Cartesian (X, Y, Z), Cylindrical (Radial, Tangential, Axial), or
Local Cylindrical (Radial, Tangential, Axial) in the Coordinate System drop-down list.
• The Cartesian coordinate system is based on the Cartesian coordinate system
used by the geometry.
• The Cylindrical coordinate system uses the axial, radial, and tangential com-
ponents based on the following coordinate systems:
– For problems involving a single cell zone, the coordinate system is defined
by the rotation axis and origin specified in the Fluid panel.
– For problems involving multiple zones (e.g., multiple reference frames or
sliding meshes), the coordinate system is defined by the rotation axis
specified in the Fluid (or Solid) panel for the fluid (or solid) zone that is
adjacent to the inlet.
7-24
c Fluent Inc. September 29, 2006
7.3 Pressure Inlet Boundary Conditions
For all of the above definitions of the cylindrical coordinate system, positive
radial velocities point radially out from the rotation axis, positive axial veloc-
ities are in the direction of the rotation axis vector, and positive tangential
velocities are based on the right-hand rule using the positive rotation axis (see
Figure 7.3.2).
axial
radial
tangential tangential
radial
rotation axis
rotation origin
axis
radial
rotation axis
axial
tangential
(swirl)
• The Local Cylindrical coordinate system allows you to define a coordinate sys-
tem specifically for the inlet. When you use the local cylindrical option, you
will define the coordinate system right here in the Pressure Inlet panel. The
local cylindrical coordinate system is useful if you have several inlets with
different rotation axes.
4. If you chose in step 1 to specify the direction vector, define the vector components
as follows:
• If your geometry is 2D non-axisymmetric, or you chose in step 3 to input
Cartesian vector components, enter the appropriate values for X, Y, and (in
3D) Z-Component of Flow Direction.
• If your geometry is 2D axisymmetric, or you chose in step 3 to input Cylin-
drical components, enter the appropriate values for Axial, Radial, and (if you
are modeling axisymmetric swirl or using cylindrical coordinates) Tangential-
Component of Flow Direction.
• If you are using Local Cylindrical coordinates, enter the appropriate values for
Axial, Radial, and Tangential-Component of Flow Direction, and then specify
the X, Y, and Z-Component of Axis Direction and the X, Y, and Z-Coordinate
of Axis Origin.
Figure 7.3.2 shows the vector components for these different coordinate systems.
c Fluent Inc. September 29, 2006 7-25
Boundary Conditions
7-26
c Fluent Inc. September 29, 2006
7.3 Pressure Inlet Boundary Conditions
c Fluent Inc. September 29, 2006 7-27
Boundary Conditions
1
p0 = ps + ρv 2 (7.3-5)
2
With the resulting velocity magnitude and the flow direction vector you assigned at the
inlet, the velocity components can be computed. The inlet mass flow rate and fluxes of
momentum, energy, and species can then be computed as outlined in Section 7.4.3: Cal-
culation Procedure at Velocity Inlet Boundaries.
For incompressible flows, density at the inlet plane is either constant or calculated as a
function of temperature and/or species mass fractions, where the mass fractions are the
values you entered as an inlet condition.
If flow exits through a pressure inlet, the total pressure specified is used as the static
pressure. For incompressible flows, total temperature is equal to static temperature.
p00 + pop
γ/(γ−1)
γ−1 2
0
= 1+ M (7.3-6)
ps + pop 2
where
v v
M≡ =√ (7.3-7)
c γRTs
c = the speed of sound, and γ = cp /cv . Note that the operating pressure, pop , appears in
Equation 7.3-6 because your boundary condition inputs are in terms of pressure relative
to the operating pressure. Given p00 and p0s , Equations 7.3-6 and 7.3-7 are used to compute
the velocity magnitude of the fluid at the inlet plane. Individual velocity components at
the inlet are then derived using the direction vector components.
7-28
c Fluent Inc. September 29, 2006
7.4 Velocity Inlet Boundary Conditions
For compressible flow, the density at the inlet plane is defined by the ideal gas law in the
form
p0s + pop
ρ= (7.3-8)
RTs
The specific gas constant, R, is computed from the species mass fractions, Yi , that you
defined as boundary conditions at the pressure inlet boundary. The static temperature
at the inlet, Ts , is computed from your input of total temperature, T0 , as
T0 γ−1 2
=1+ M (7.3-9)
Ts 2
i This boundary condition is intended for incompressible flows, and its use
in compressible flows will lead to a nonphysical result because it allows
stagnation conditions to float to any level. You should also be careful not
to place a velocity inlet too close to a solid obstruction, since this could
cause the inflow stagnation properties to become highly non-uniform.
In special instances, a velocity inlet may be used in FLUENT to define the flow velocity
at flow exits. (The scalar inputs are not used in such cases.) In such cases you must
ensure that overall continuity is maintained in the domain.
You can find the following information about velocity inlet boundary conditions in this
section:
For an overview of flow boundaries, see Section 7.2: Flow Inlet and Exit Boundary
Conditions.
c Fluent Inc. September 29, 2006 7-29
Boundary Conditions
• radiation parameters (for calculations using the P-1 model, the DTRM, the DO
model, or the surface-to-surface model)
All values are entered in the Velocity Inlet panel (Figure 7.4.1), which is opened from the
Boundary Conditions panel (as described in Section 7.1.4: Setting Boundary Conditions).
7-30
c Fluent Inc. September 29, 2006
7.4 Velocity Inlet Boundary Conditions
c Fluent Inc. September 29, 2006 7-31
Boundary Conditions
1. Choose which method you will use to specify the flow direction by selecting Mag-
nitude and Direction, Components, or Magnitude, Normal to Boundary in the Velocity
Specification Method drop-down list.
2. If the cell zone adjacent to the velocity inlet is moving, you can choose to specify
relative or absolute velocities by selecting Relative to Adjacent Cell Zone or Absolute
in the Reference Frame drop-down list. If the adjacent cell zone is not moving,
Absolute and Relative to Adjacent Cell Zone will be equivalent, so you need not visit
the list.
3. If you are going to set the velocity magnitude and direction or the velocity com-
ponents, and your geometry is 3D, you will next choose the coordinate system in
which you will define the vector or velocity components. Choose Cartesian (X, Y,
Z), Cylindrical (Radial, Tangential, Axial), or Local Cylindrical (Radial, Tangential,
Axial) in the Coordinate System drop-down list. See Section 7.3.1: Defining the
Flow Direction for information about Cartesian, cylindrical, and local cylindrical
coordinate systems.
4. Set the appropriate velocity parameters, as described below for each specification
method.
If you selected Magnitude and Direction as the Velocity Specification Method in step 1
above, you will enter the magnitude of the velocity vector at the inflow boundary (the
Velocity Magnitude) and the direction of the vector:
7-32
c Fluent Inc. September 29, 2006
7.4 Velocity Inlet Boundary Conditions
• If you chose in step 3 to use a Local Cylindrical coordinate system, enter the appro-
priate values for Axial, Radial, and Tangential-Component of Flow Direction, and then
specify the X, Y, and Z-Component of Axis Direction and the X, Y, and Z-Coordinate
of Axis Origin.
Figure 7.3.2 shows the vector components for these different coordinate systems.
If you selected Magnitude, Normal to Boundary as the Velocity Specification Method in step
1 above, you will enter the magnitude of the velocity vector at the inflow boundary (the
Velocity Magnitude). If you are modeling 2D axisymmetric swirl, you will also enter the
Tangential-Component of Flow Direction.
If you selected Components as the Velocity Specification Method in step 1 above, you will
enter the components of the velocity vector at the inflow boundary as follows:
• If your geometry is 2D axisymmetric without swirl, you will set the Radial and
Axial-Velocity.
• If your model is 2D axisymmetric with swirl, you will set the Axial, Radial, and
Swirl-Velocity, and (optionally) the Swirl Angular Velocity, as described below.
• If you chose in step 3 to use a Cylindrical coordinate system, you will set the Radial,
Tangential, and Axial-Velocity, and (optionally) the Angular Velocity, as described
below.
• If you chose in step 3 to use a Local Cylindrical coordinate system, you will set
the Radial, Tangential, and Axial-Velocity, and (optionally) the Angular Velocity, as
described below, and then specify the X, Y, and Z-Component of Axis Direction and
the X, Y, and Z-Coordinate of Axis Origin.
i Remember that positive values for x, y, and z velocities indicate flow in the
positive x, y, and z directions. If flow enters the domain in the negative x
direction, for example, you will need to specify a negative value for the x
velocity. The same holds true for the radial, tangential, and axial velocities.
Positive radial velocities point radially out from the axis, positive axial
velocities are in the direction of the axis vector, and positive tangential
velocities are based on the right-hand rule using the positive axis.
c Fluent Inc. September 29, 2006 7-33
Boundary Conditions
If you chose Components as the Velocity Specification Method in step 1 above, and you are
modeling axisymmetric swirl, you can specify the inlet Swirl Angular Velocity Ω in addition
to the Swirl-Velocity. Similarly, if you chose Components as the Velocity Specification
Method and you chose in step 3 to use a Cylindrical or Local Cylindrical coordinate system,
you can specify the inlet Angular Velocity Ω in addition to the Tangential-Velocity.
If you specify Ω, vθ is computed for each cell as Ωr, where r is the radial coordinate in
the coordinate system defined by the rotation axis and origin. If you specify both the
Swirl-Velocity and the Swirl Angular Velocity, or the Tangential-Velocity and the Angular
Velocity, FLUENT will add vθ and Ωr to get the swirl or tangential velocity at each cell.
7-34
c Fluent Inc. September 29, 2006
7.4 Velocity Inlet Boundary Conditions
c Fluent Inc. September 29, 2006 7-35
Boundary Conditions
Temperature 300
Velocity Magnitude 0
X-Component of Flow Direction 1
Y-Component of Flow Direction 0
Z-Component of Flow Direction 0
X-Velocity 0
Y-Velocity 0
Z-Velocity 0
Turb. Kinetic Energy 1
Turb. Dissipation Rate 1
Outflow Gauge Pressure 0
Note that only the velocity component normal to the control volume face contributes to
the inlet mass flow rate.
7-36
c Fluent Inc. September 29, 2006
7.4 Velocity Inlet Boundary Conditions
i In such cases you must ensure that overall continuity is maintained in the
domain.
In the pressure-based solver, when flow exits the domain through a velocity inlet boundary
FLUENT uses the boundary condition value for the velocity component normal to the exit
flow area. It does not use any other boundary conditions that you have input. Instead,
all flow conditions except the normal velocity component are assumed to be those of the
upstream cell.
In the density-based solvers, if the flow exits the domain at any face on the boundary,
that face will be treated as a pressure outlet with the pressure prescribed in the Outflow
Gauge Pressure field.
Density Calculation
Density at the inlet plane is either constant or calculated as a function of temperature,
pressure, and/or species mass fractions, where the mass fractions are the values you
entered as an inlet condition.
c Fluent Inc. September 29, 2006 7-37
Boundary Conditions
i Mass flow inlet boundary conditions cannot be applied to any of the mul-
tiphase models if all phases are incompressible.
You can find the following information about mass flow inlet boundary conditions in this
section:
For an overview of flow boundaries, see Section 7.2: Flow Inlet and Exit Boundary
Conditions.
7-38
c Fluent Inc. September 29, 2006
7.5 Mass Flow Inlet Boundary Conditions
• mass flow rate, mass flux, or (primarily for the mixing plane model) mass flux with
average mass flux
• static pressure
• flow direction
• radiation parameters (for calculations using the P-1 model, the DTRM, the DO
model, or the surface-to-surface model)
• open channel flow parameters (for open channel flow calculations using the VOF
multiphase model)
All values are entered in the Mass-Flow Inlet panel (Figure 7.5.1), which is opened from the
Boundary Conditions panel (as described in Section 7.1.4: Setting Boundary Conditions).
Note that open channel boundary condition inputs are described in Section 23.10.2: Mod-
eling Open Channel Flows.
c Fluent Inc. September 29, 2006 7-39
Boundary Conditions
7-40
c Fluent Inc. September 29, 2006
7.5 Mass Flow Inlet Boundary Conditions
1. Choose the method you will use to specify the mass flow by selecting Mass Flow
Rate, Mass Flux, or Mass Flux with Average Mass Flux in the Mass Flow Specification
Method drop-down list.
2. If you selected Mass Flow Rate (the default), set the prescribed mass flow rate in
the Mass Flow-Rate field.
i Note that for axisymmetric problems, this mass flow rate is the flow rate
through the entire (2π-radian) domain, not through a 1-radian slice.
If you selected Mass Flux, set the prescribed mass flux in the Mass Flux field.
If you selected Mass Flux with Average Mass Flux, set the prescribed mass flux and
average mass flux in the Mass Flux and Average Mass Flux fields.
As noted above, you can specify an average mass flux with the mass flux. If, for example,
you specify a mass flux profile such that the average mass flux integrated over the zone
area is 4.7, but you actually want to have a total mass flux of 5, you can keep the profile
unchanged, and specify an average mass flux of 5. FLUENT will maintain the profile
shape but adjust the values so that the resulting mass flux across the boundary is 5.
The mass flux with average mass flux specification method is also used by the mixing
plane model described in Section 10.3.2: The Mixing Plane Model. If the mass flow
inlet boundary is going to represent one of the mixing planes, then you do not need to
specify the mass flux or flow rate; you can keep the default Mass Flow-Rate of 1. When
you create the mixing plane later on in the problem setup, FLUENT will automatically
select the Mass Flux with Average Mass Flux method in the Mass-Flow Inlet panel and set
the Average Mass Flux to the value obtained by integrating the mass flux profile for the
upstream zone. This will ensure that mass is conserved between the upstream zone and
the downstream (mass flow inlet) zone.
c Fluent Inc. September 29, 2006 7-41
Boundary Conditions
1. Choose which method you will use to specify the flow direction by selecting Direction
Vector or Normal to Boundary in the Direction Specification Method drop-down list.
2. If you selected Normal to Boundary, there are no additional inputs for flow direction.
i Note that if you are modeling axisymmetric swirl, the flow direction will
be normal to the boundary; i.e., there will be no swirl component at the
boundary for axisymmetric swirl.
3. If the cell zone adjacent to the mass flow inlet is moving, choose Absolute (the
default) or Relative in the Reference Frame drop-down list.
i These options are equivalent when the cell zone next to the mass flow inlet
is stationary.
7-42
c Fluent Inc. September 29, 2006
7.5 Mass Flow Inlet Boundary Conditions
4. If you selected Direction Vector and your geometry is 2D, go to the next step. If
your geometry is 3D, you will next choose the coordinate system in which you
will define the flow direction components. Choose Cartesian (X, Y, Z), Cylindrical
(Radial, Tangential, Axial), or Local Cylindrical (Radial, Tangential, Axial) in the Co-
ordinate System drop-down list. See Section 7.3.1: Defining the Flow Direction for
information about Cartesian, cylindrical, and local cylindrical coordinate systems.
c Fluent Inc. September 29, 2006 7-43
Boundary Conditions
Mass Flow-Rate 1
Total Temperature 300
Supersonic/Initial Gauge Pressure 0
X-Component of Flow Direction 1
Y-Component of Flow Direction 0
Z-Component of Flow Direction 0
Turb. Kinetic Energy 1
Turb. Dissipation Rate 1
7-44
c Fluent Inc. September 29, 2006
7.5 Mass Flow Inlet Boundary Conditions
ṁ
ρvn = (7.5-1)
A
If the direct mass flux specification option is used, the mass flux can be varied over the
boundary by using profile files or user-defined functions. If the average mass flux is also
specified (either explicitly by you or automatically by FLUENT), it is used to correct the
specified mass flux profile, as described earlier in this section.
Once the value of ρvn at a given face has been determined, the density, ρ, at the face
must be determined in order to find the normal velocity, vn . The manner in which the
density is obtained depends upon whether the fluid is modeled as an ideal gas or not.
Each of these cases is examined below.
p = ρRT (7.5-2)
If the inlet is supersonic, the static pressure used is the value that has been set as a
boundary condition. If the inlet is subsonic, the static pressure is extrapolated from the
cells inside the inlet face.
c Fluent Inc. September 29, 2006 7-45
Boundary Conditions
The static temperature at the inlet is computed from the total enthalpy, which is deter-
mined from the total temperature that has been set as a boundary condition. The total
enthalpy is given by
1
h0 (T0 ) = h(T ) + v 2 (7.5-3)
2
where the velocity is related to the mass flow rate given by Equation 7.5-1. Using Equa-
tion 7.5-2 to relate density to the (known) static pressure and (unknown) temperature,
Equation 7.5-3 can be solved to obtain the static temperature.
7-46
c Fluent Inc. September 29, 2006
7.6 Inlet Vent Boundary Conditions
• flow direction
• static pressure
• radiation parameters (for calculations using the P-1 model, the DTRM, the DO
model, or the surface-to-surface model)
• loss coefficient
• open channel flow parameters (for open channel flow calculations using the VOF
multiphase model)
All values are entered in the Inlet Vent panel (Figure 7.6.1), which is opened from the
Boundary Conditions panel (as described in Section 7.1.4: Setting Boundary Conditions).
The first 11 items listed above are specified in the same way that they are specified
at pressure inlet boundaries. See Section 7.3.1: Inputs at Pressure Inlet Boundaries for
details. Specification of the loss coefficient is described here. Open channel boundary
condition inputs are described in Section 23.10.2: Modeling Open Channel Flows.
c Fluent Inc. September 29, 2006 7-47
Boundary Conditions
1
∆p = kL ρv 2 (7.6-1)
2
where ρ is the fluid density, and kL is the non-dimensional loss coefficient.
i ∆p is the pressure drop in the direction of the flow; therefore the vent will
appear as a resistance even in the case of backflow.
7-48
c Fluent Inc. September 29, 2006
7.7 Intake Fan Boundary Conditions
You can define the Loss-Coefficient across the vent as a constant, polynomial, piecewise-
linear, or piecewise-polynomial function of the normal velocity. The panels for defining
these functions are the same as those used for defining temperature-dependent properties.
See Section 8.2: Defining Properties Using Temperature-Dependent Functions for details.
• flow direction
• static pressure
• radiation parameters (for calculations using the P-1 model, the DTRM, the DO
model, or the surface-to-surface model)
• pressure jump
• open channel flow parameters (for open channel flow calculations using the VOF
multiphase model)
All values are entered in the Intake Fan panel (shown in Figure 7.7.1), which is opened
from the Boundary Conditions panel (as described in Section 7.1.4: Setting Boundary
Conditions).
c Fluent Inc. September 29, 2006 7-49
Boundary Conditions
The first 11 items listed above are specified in the same way that they are specified
at pressure inlet boundaries. See Section 7.3.1: Inputs at Pressure Inlet Boundaries for
details. Specification of the pressure jump is described here. Open channel boundary
condition inputs are described in Section 23.10.2: Modeling Open Channel Flows.
7-50
c Fluent Inc. September 29, 2006
7.8 Pressure Outlet Boundary Conditions
For an overview of flow boundaries, see Section 7.2: Flow Inlet and Exit Boundary
Conditions.
c Fluent Inc. September 29, 2006 7-51
Boundary Conditions
• static pressure
• backflow conditions
– total (stagnation) temperature (for energy calculations)
– backflow direction specification method
– turbulence parameters (for turbulent calculations)
– chemical species mass fractions (for species calculations)
– mixture fraction and variance (for non-premixed or partially premixed com-
bustion calculations)
– progress variable (for premixed or partially premixed combustion calculations)
– multiphase boundary conditions (for general multiphase calculations)
• radiation parameters (for calculations using the P-1 model, the DTRM, the DO
model, or the surface-to-surface model)
• open channel flow parameters (for open channel flow calculations using the VOF
multiphase model)
• non-reflecting boundary (for compressible density-based solver, see Section 7.23.2: Gen-
eral Non-Reflecting Boundary Conditions for details)
All values are entered in the Pressure Outlet panel (Figure 7.8.1), which is opened from the
Boundary Conditions panel (as described in Section 7.1.4: Setting Boundary Conditions).
Note that open channel boundary condition inputs are described in Section 23.10.2: Mod-
eling Open Channel Flows.
7-52
c Fluent Inc. September 29, 2006
7.8 Pressure Outlet Boundary Conditions
c Fluent Inc. September 29, 2006 7-53
Boundary Conditions
∂p ρv 2
= θ (7.8-1)
∂r r
where r is the distance from the axis of rotation and vθ is the tangential velocity. Note
that this boundary condition can be used even if the rotational velocity is zero. For
example, it could be applied to the calculation of the flow through an annulus containing
guide vanes.
i Note that the radial equilibrium outlet condition is available only for 3D
and axisymmetric swirl calculations.
• The Backflow Total Temperature should be set for problems involving energy calcu-
lation.
• When the direction of the backflow re-entering the computational domain is known,
and deemed to be relevant to the flow field solution, you can specify it choosing one
of the options available in the Backflow Direction Specification Method drop-down
list. The default value for this field is Normal to Boundary, and requires no further
input. If you choose Direction Vector, the panel will expand to show the inputs for
the components of the direction vector for the backflow, and if you are running the
3D version of FLUENT, the panel will display a Coordinate System drop-down list.
If you choose From Neighboring Cell, FLUENT will determine the direction of the
7-54
c Fluent Inc. September 29, 2006
7.8 Pressure Outlet Boundary Conditions
backflow using the direction of the flow in the cell layer adjacent to the pressure
outlet.
• For turbulent calculations, there are several ways in which you can define the tur-
bulence parameters. Instructions for deciding which method to use in determin-
ing appropriate values for these inputs are provided in Section 7.2.2: Determining
Turbulence Parameters. Turbulence modeling in general is described in Chap-
ter 12: Modeling Turbulence.
• If you are modeling species transport, you will set the backflow species mass frac-
tions under Species Mass Fractions. For details, see Section 14.1.5: Defining Bound-
ary Conditions for Species.
• If you are modeling combustion using the non-premixed or partially premixed com-
bustion model, you will set the backflow mixture fraction and variance values. See
Section 15.13: Defining Non-Premixed Boundary Conditions for details.
• If you are modeling combustion using the premixed or partially premixed combus-
tion model, you will set the backflow Progress Variable value. See Section 16.3.5: Set-
ting Boundary Conditions for the Progress Variable for details.
• If you are using the VOF, mixture, or Eulerian model for multiphase flow, you will
need to specify volume fractions for secondary phases and (for some models) addi-
tional parameters. See Section 23.9.8: Defining Multiphase Boundary Conditions
for details.
• If backflow occurs, the pressure you specified as the Gauge Pressure will be used as
total pressure, so you need not specify a backflow pressure value explicitly. The
flow direction in this case will be normal to the boundary.
If the cell zone adjacent to the pressure outlet is moving (i.e., if you are using a ro-
tating reference frame, multiple reference frames, mixing planes, or sliding meshes)
and you are using the pressure-based solver, the velocity in the dynamic contri-
bution to total pressure (see Equation 7.3-3) will be absolute or relative to the
motion of the cell zone, depending on whether or not the Absolute velocity formu-
lation is enabled in the Solver panel. For the density-based solvers, the velocity in
Equation 7.3-3 (or the Mach number in Equation 7.3-4) is always in the absolute
frame.
c Fluent Inc. September 29, 2006 7-55
Boundary Conditions
Gauge Pressure 0
Backflow Total Temperature 300
Backflow Turb. Kinetic Energy 1
Backflow Turb. Dissipation Rate 1
7-56
c Fluent Inc. September 29, 2006
7.8 Pressure Outlet Boundary Conditions
interior cell pressure neighboring the exit face f, Pe is the specified exit pressure, and Mn
is the face normal Mach number.
Pressure
Outlet
face f
P
f
Pc Pe
L R
c
Mn
If the flow becomes locally supersonic, then the face pressure value Pf is extrapolated
from the interior cell pressure.
For incompressible flows, the face pressure is computed as an average between the spec-
ified pressure and interior pressure.
Pf = 0.5(Pc + Pe ) (7.8-2)
With this boundary implementation, the exit pressure is not constant along the pressure
outlet boundary. However, upon flow convergence, the average boundary pressure will
be close to the specified static exit pressure.
i This implementation is not available when you use the general NRBC
option, or when you enable the turbo-specific NRBC model.
c Fluent Inc. September 29, 2006 7-57
Boundary Conditions
where dP is the change in pressure, ṁ is the current computed mass flow rate at the
pressure-outlet boundary, ṁreq is the required mass flow rate, ρave is the computed av-
erage density at the pressure-outlet boundary, and A is the area of the pressure-outlet
boundary.
The default method, Method 1, should suffice in obtaining a converged solution on the
targeted mass flow rate. However, if convergence difficulties are encountered while using
the default method, then the user may want to select the alternate method, Method
2. There are other solution strategies that may be used if convergence difficulties are
encountered, which will be discussed at the end of this section.
The target mass flow rate option can be activated from the Pressure Outlet boundary
panel by selecting the target mass flow rate button. This option will allow you to specify
either a constant value or attach a UDF to set the target mass flow rate.
i Note that the target mass flow rate option is not available with multiphase
flows or when any of the non-reflecting boundary conditions models are
used. Moreover, if the pressure-outlet zone is used in the mixing-plane
model, the target mass flow rate option will not be available for that par-
ticular zone.
7-58
c Fluent Inc. September 29, 2006
7.8 Pressure Outlet Boundary Conditions
The settings for the target mass flow rate option can be accessed from the
target-mass-flow-rate-settings text command:
define −→ boundary-conditions −→target-mass-flow-rate-settings
There are two options under this menu:
2. The verbosity? option, if enabled, prints to the cortex window the required mass
flow rate, computed mass flow rate, mean pressure, the new pressure imposed on
the outlet and the change in pressure in SI units.
Solution Strategies When Using the Target Mass Flow Rate Option
c Fluent Inc. September 29, 2006 7-59
Boundary Conditions
For some unsteady problems it is desirable that the target mass flow rate be a function of
the physical flow time. This enforcement of boundary condition can be done by attaching
a UDF with DEFINE_PROFILE functions to the target mass flow rate field.
i Note that the mass flow rate profile is a function of time and only one
constant value should be applied to all zone faces at a given time.
An example of a simple UDF using a DEFINE PROFILE that will adjust the mass flow rate
can be found in Section 2.3.13: DEFINE PROFILE of the UDF Manual.
For an overview of flow boundaries, see Section 7.2: Flow Inlet and Exit Boundary
Conditions.
7-60
c Fluent Inc. September 29, 2006
7.9 Pressure Far-Field Boundary Conditions
• static pressure
• mach number
• temperature
• flow direction
• radiation parameters (for calculations using the P-1 model, the DTRM, the DO
model, or the surface-to-surface model)
All values are entered in the Pressure Far-Field panel (Figure 7.9.1), which is opened
from the Boundary Conditions panel (as described in Section 7.1.4: Setting Boundary
Conditions).
c Fluent Inc. September 29, 2006 7-61
Boundary Conditions
7-62
c Fluent Inc. September 29, 2006
7.9 Pressure Far-Field Boundary Conditions
Gauge Pressure 0
Mach Number 0.6
Temperature 300
X-Component of Flow Direction 1
Y-Component of Flow Direction 0
Z-Component of Flow Direction 0
Turb. Kinetic Energy 1
Turb. Dissipation Rate 1
2c∞
R∞ = vn∞ − (7.9-1)
γ−1
2ci
Ri = vni + (7.9-2)
γ−1
where vn is the velocity magnitude normal to the boundary, c is the local speed of sound
and γ is the ratio of specific heats (ideal gas). The subscript ∞ refers to conditions being
applied at infinity (the boundary conditions), and the subscript i refers to conditions in
the interior of the domain (i.e., in the cell adjacent to the boundary face). These two
invariants can be added and subtracted to give the following two equations:
1
vn = (Ri + R∞ ) (7.9-3)
2
γ−1
c= (Ri − R∞ ) (7.9-4)
4
c Fluent Inc. September 29, 2006 7-63
Boundary Conditions
where vn and c become the values of normal velocity and sound speed applied on the
boundary. At a face through which flow exits, the tangential velocity components and
entropy are extrapolated from the interior; at an inflow face, these are specified as hav-
ing free-stream values. Using the values for vn , c, tangential velocity components, and
entropy the values of density, velocity, temperature, and pressure at the boundary face
can be calculated.
• If a problem includes pressure inlet boundaries; use pressure outlet boundary con-
ditions (see Section 7.8: Pressure Outlet Boundary Conditions) instead.
• If you are modeling unsteady flows with varying density, even if the flow is incom-
pressible.
• With the multiphase models (Eulerian, mixture, and VOF (except when modeling
open channel flow, as described in Section 23.3.9: Open Channel Flow).
You can find the following information about outflow boundary conditions in this section:
For an overview of flow boundaries, see Section 7.2: Flow Inlet and Exit Boundary
Conditions.
7-64
c Fluent Inc. September 29, 2006
7.10 Outflow Boundary Conditions
The zero diffusion flux condition applied at outflow cells means that the conditions of the
outflow plane are extrapolated from within the domain and have no impact on the up-
stream flow. The extrapolation procedure used by FLUENT updates the outflow velocity
and pressure in a manner that is consistent with a fully-developed flow assumption, as
noted below, when there is no area change at the outflow boundary.
The zero diffusion flux condition applied by FLUENT at outflow boundaries is approached
physically in fully-developed flows. Fully-developed flows are flows in which the flow
velocity profile (and/or profiles of other properties such as temperature) is unchanging
in the flow direction.
It is important to note that gradients in the cross-stream direction may exist at an outflow
boundary. Only the diffusion fluxes in the direction normal to the exit plane are assumed
to be zero.
• Outflow boundaries where normal gradients are negligible: Figure 7.10.1 shows
a simple two-dimensional flow problem and several possible outflow boundary lo-
cation choices. Location C shows the outflow boundary located upstream of the
plenum exit but in a region of the duct where the flow is fully-developed. At this
location, the outflow boundary condition is exactly obeyed.
• Ill-posed outflow boundaries: Location B in Figure 7.10.1 shows the outflow bound-
ary near the reattachment point of the recirculation in the wake of the backward-
facing step. This choice of outflow boundary condition is ill-posed as the gradients
normal to the exit plane are quite large at this point and can be expected to have
a significant impact on the flow field upstream. Because the outflow boundary
condition ignores these axial gradients in the flow, location B is a poor choice for
c Fluent Inc. September 29, 2006 7-65
Boundary Conditions
A B C
an outflow boundary. The exit location should be moved downstream from the
reattachment point.
Figure 7.10.1 shows a second ill-posed outflow boundary at location A. Here, the
outflow is located where flow is pulled into the FLUENT domain through the out-
flow boundary. In situations like this the FLUENT calculation typically does not
converge and the results of the calculation have no validity. This is because when
flow is pulled into the domain through an outflow, the mass flow rate through
the domain is “floating” or undefined. In addition, when flow enters the domain
through an outflow boundary, the scalar properties of the flow are not defined. For
example, the temperature of the flow pulled in through the outflow is not defined.
(FLUENT chooses the temperature using the temperature of the fluid adjacent to
the outflow, inside the domain.) Thus you should view all calculations that involve
flow entering the domain through an outflow boundary with skepticism. For such
calculations, pressure outlet boundary conditions (see Section 7.8: Pressure Outlet
Boundary Conditions) are recommended.
7-66
c Fluent Inc. September 29, 2006
7.10 Outflow Boundary Conditions
By default, the Flow Rate Weighting for all outflow boundaries is set to 1. If the flow is
divided equally among all of your outflow boundaries (or if you have just one outflow
boundary), you need not change the settings from the default; FLUENT will scale the
flow rate fractions to obtain equal fractions through all outflow boundaries. Thus, if you
have two outflow boundaries and you want half of the flow to exit through each one, no
inputs are required from you. If, however, you want 75% of the flow to exit through one,
and 25% through the other, you will need to explicitly specify both Flow Rate Weightings,
i.e., 0.75 for one boundary and 0.25 for the other.
i If you specify a Flow Rate Weighting of 0.75 at the first exit and leave the
default Flow Rate Weighting (1.0) at the second exit, then the flow through
each boundary will be
0.75
Boundary 1 = 0.75+1.0
= 0.429 or 42.9%
1.0
Boundary 2 = 0.75+1.0
= 0.571 or 57.1%
c Fluent Inc. September 29, 2006 7-67
Boundary Conditions
7-68
c Fluent Inc. September 29, 2006
7.11 Outlet Vent Boundary Conditions
• static pressure
• backflow conditions
– total (stagnation) temperature (for energy calculations)
– turbulence parameters (for turbulent calculations)
– chemical species mass fractions (for species calculations)
– mixture fraction and variance (for non-premixed or partially premixed com-
bustion calculations)
– progress variable (for premixed or partially premixed combustion calculations)
– multiphase boundary conditions (for general multiphase calculations)
• radiation parameters (for calculations using the P-1 model, the DTRM, the DO
model, or the surface-to-surface model)
• loss coefficient
• open channel flow parameters (for open channel flow calculations using the VOF
multiphase model)
All values are entered in the Outlet Vent panel (Figure 7.11.1), which is opened from the
Boundary Conditions panel (as described in Section 7.1.4: Setting Boundary Conditions).
The first 4 items listed above are specified in the same way that they are specified at
pressure outlet boundaries. See Section 7.8.1: Inputs at Pressure Outlet Boundaries for
details. Specification of the loss coefficient is described here. Open channel boundary
condition inputs are described in Section 23.10.2: Modeling Open Channel Flows.
c Fluent Inc. September 29, 2006 7-69
Boundary Conditions
1
∆p = kL ρv 2 (7.11-1)
2
where ρ is the fluid density, and kL is the nondimensional loss coefficient.
i ∆p is the pressure drop in the direction of the flow; therefore the vent will
appear as a resistance even in the case of backflow.
You can define a constant, polynomial, piecewise-linear, or piecewise-polynomial function for
the Loss-Coefficient across the vent. The panels for defining these functions are the same
as those used for defining temperature-dependent properties. See Section 8.2: Defining
Properties Using Temperature-Dependent Functions for details.
7-70
c Fluent Inc. September 29, 2006
7.12 Exhaust Fan Boundary Conditions
• static pressure
• backflow conditions
– total (stagnation) temperature (for energy calculations)
– turbulence parameters (for turbulent calculations)
– chemical species mass fractions (for species calculations)
– mixture fraction and variance (for non-premixed or partially premixed com-
bustion calculations)
– progress variable (for premixed or partially premixed combustion calculations)
– multiphase boundary conditions (for general multiphase calculations)
– user-defined scalar boundary conditions (for user-defined scalar calculations)
• radiation parameters (for calculations using the P-1 model, the DTRM, the DO
model, or the surface-to-surface model)
• pressure jump
• open channel flow parameters (for open channel flow calculations using the VOF
multiphase model)
All values are entered in the Exhaust Fan panel (Figure 7.12.1), which is opened from the
Boundary Conditions panel (as described in Section 7.1.4: Setting Boundary Conditions).
The first 4 items listed above are specified in the same way that they are specified at
pressure outlet boundaries. See Section 7.8.1: Inputs at Pressure Outlet Boundaries for
details. Specification of the pressure jump is described here. Open channel boundary
condition inputs are described in Section 23.10.2: Modeling Open Channel Flows.
c Fluent Inc. September 29, 2006 7-71
Boundary Conditions
i You must be careful to model the exhaust fan so that a pressure rise occurs
for forward flow through the fan. In the case of reversed flow, the fan is
treated like an inlet vent with a loss coefficient of unity.
7-72
c Fluent Inc. September 29, 2006
7.13 Wall Boundary Conditions
• radiation boundary conditions (for calculations using the P-1 model, the DTRM,
the DO model, or the surface-to-surface model)
c Fluent Inc. September 29, 2006 7-73
Boundary Conditions
• fixed temperature
If the wall zone is a “two-sided wall” (a wall that forms the interface between two regions,
such as the fluid/solid interface for a conjugate heat transfer problem) a subset of these
thermal conditions will be available, but you will also be able to choose whether or not
the two sides of the wall are “coupled”. See below for details.
The inputs for each type of thermal condition are described below. If the wall has a non-
zero thickness, you should also set parameters for calculating thin-wall thermal resistance
and heat generation in the wall, as described below.
You can model conduction within boundary walls and internal (i.e., two-sided) walls
of your model. This type of conduction, called shell conduction, allows you to more
conveniently model heat conduction on walls where the wall thickness is small with
respect to the overall geometry (e.g., finned heat exchangers or sheet metal in automobile
underhoods). Meshing these walls with solid cells would lead to high-aspect-ratio meshes
and a significant increase in the total number of cells. See below for details about shell
conduction.
Thermal conditions are entered in the Thermal section of the Wall panel (Figure 7.13.1),
which is opened from the Boundary Conditions panel (as described in Section 7.1.4: Setting
Boundary Conditions). To view the thermal conditions, click the Thermal tab.
For a fixed heat flux condition, choose the Heat Flux option under Thermal Conditions.
You will then need to set the appropriate value for the heat flux at the wall surface in the
Heat Flux field. You can define an adiabatic wall by setting a zero heat flux condition.
This is the default condition for all walls.
7-74
c Fluent Inc. September 29, 2006
7.13 Wall Boundary Conditions
To select the fixed temperature condition, choose the Temperature option under Thermal
Conditions in the Wall panel. You will need to specify the temperature at the wall surface
(Temperature). The heat transfer to the wall is computed using Equation 7.13-8 or
Equation 7.13-9.
For a convective heat transfer wall boundary, select Convection under Thermal Conditions.
Your inputs of Heat Transfer Coefficient and Free Stream Temperature will allow FLUENT
to compute the heat transfer to the wall using Equation 7.13-12.
If radiation heat transfer from the exterior of your model is of interest, you can enable the
Radiation option in the Wall panel and set the External Emissivity and External Radiation
Temperature.
c Fluent Inc. September 29, 2006 7-75
Boundary Conditions
You can choose a thermal condition that combines the convection and radiation boundary
conditions by selecting the Mixed option. With this thermal condition, you will need to set
the Heat Transfer Coefficient, Free Stream Temperature, External Emissivity, and External
Radiation Temperature.
By default, a wall will have a thickness of zero. You can, however, in conjunction with
any of the thermal conditions, model a thin layer of material on the wall. For example,
you can model the effect of a piece of sheet metal between two fluid zones, a coating on
a solid zone, or contact resistance between two solid regions. FLUENT will solve a 1D
conduction equation to compute the thermal resistance offered by the wall and the heat
generation in the wall.
To include these effects in the heat transfer calculation you will need to specify the type
of material, the thickness of the wall, and the heat generation rate in the wall. Select the
material type in the Material Name drop-down list, and specify the thickness in the Wall
Thickness field. If you want to check or modify the properties of the selected material,
you can click Edit... to open the Material panel; this panel contains just the properties of
the selected material, not the full contents of the standard Materials panel.
The thermal resistance of the wall is ∆x/k, where k is the conductivity of the wall
material and ∆x is the wall thickness. The thermal wall boundary condition you set will
be specified on the outside of the fluid/solid domain, which is called the inner surface of
the thin wall, as shown in Figure 7.13.2. This is the side of the wall surface away from
the adjacent fluid or solid cell zone. The temperature specified at this side of the wall is
Tb .
i The convention used in FLUENT is that for any wall, “outer” refers to the
surface of the wall facing the fluid/solid cell zone and “inner” refers to
the surface of the wall facing away from the adjacent fluid/solid cell zone.
If shell conduction is enabled (Section 7.13.1: Shell Conduction in Thin-
Walls), the shell cell temperature will be stored in the “inner” surface.
If there is no shell conduction, then the “outer” surface stores the face
temperature of the wall while the “inner” surface stores the evaluated value
of the boundary condition specified by the user.
i Note that for thin walls, you can only specify a constant thermal conduc-
tivity. If you want to use a non-constant thermal conductivity for a wall
with non-zero thickness, you should use the shell conduction model (see
below for details).
7-76
c Fluent Inc. September 29, 2006
7.13 Wall Boundary Conditions
thin wall
outer surface
(wall surface toward the
adjacent fluid or solid cell zone)
Tb
fluid or
solid cells
inner surface
(wall surface away from the
adjacent fluid or solid cell zone)
∆x
Figure 7.13.2: Thermal Conditions are Specified on the Inner Surface of the
Thin Wall
c Fluent Inc. September 29, 2006 7-77
Boundary Conditions
Specify the heat generation rate inside the wall in the Heat Generation Rate field. This
option is useful if, for example, you are modeling printed circuit boards where you know
the electrical power dissipated in the circuits.
If the wall zone has a fluid or solid region on each side, it is called a “two-sided wall”.
When you read a grid with this type of wall zone into FLUENT, a “shadow” zone will
automatically be created so that each side of the wall is a distinct wall zone. In the Wall
panel, the shadow zone’s name will be shown in the Shadow Face Zone field. You can
choose to specify different thermal conditions on each zone, or to couple the two zones:
• To couple the two sides of the wall, select the Coupled option under Thermal Condi-
tions. (This option will appear in the Wall panel only when the wall is a two-sided
wall.) No additional thermal boundary conditions are required, because the solver
will calculate heat transfer directly from the solution in the adjacent cells. You
can, however, specify the material type, wall thickness, and heat generation rate
for thin-wall thermal resistance calculations, as described above. Note that the re-
sistance parameters you set for one side of the wall will automatically be assigned to
its shadow wall zone. Specifying the heat generation rate inside the wall is useful if,
for example, you are modeling printed circuit boards where you know the electrical
power dissipated in the circuits but not the heat flux or wall temperature.
• To uncouple the two sides of the wall and specify different thermal conditions on
each one, choose Temperature or Heat Flux as the thermal condition type. (Convec-
tion and Radiation are not applicable for two-sided walls.) The relationship between
the wall and its shadow will be retained, so that you can couple them again at a
later time, if desired. You will need to set the relevant parameters for the selected
thermal condition, as described above. The two uncoupled walls can have differ-
ent thicknesses, and are effectively insulated from one another. If you specify a
non-zero wall thickness for the uncoupled walls, the thermal boundary conditions
you set will be specified on the inner surfaces of the two thin walls, as shown in
Figure 7.13.3, where Tb1 is the Temperature (or qb1 is the Heat Flux) specified on one
wall and Tb2 is the Temperature (or qb2 is the Heat Flux) specified on the other wall.
kw1 and kw2 are the thermal conductivities of the uncoupled thin walls. Note that
the gap between the walls in Figure 7.13.3 is not part of the model; it is included in
the figure only to show where the thermal boundary condition for each uncoupled
wall is applied.
7-78
c Fluent Inc. September 29, 2006
7.13 Wall Boundary Conditions
thin walls
q b1 or Tb1
q b2 or Tb2
fluid or fluid or
solid cells solid cells
k w1 k w2
Figure 7.13.3: Thermal Conditions are Specified on the Inner Surfaces of the
Uncoupled Thin Walls
c Fluent Inc. September 29, 2006 7-79
Boundary Conditions
To enable shell conduction for a wall, turn on the Shell Conduction option in the Wall
boundary condition panel. When this option is enabled, FLUENT will compute heat
conduction within the wall, in addition to conduction across the wall (which is always
computed when the energy equation is solved). The Shell Conduction option will appear
in the Wall panel for all walls when solution of the energy equation is active. For a wall
with shell conduction enabled, the thermal conditions are applied as described above for
thin walls.
FLUENT cases with shell conduction can be read in serial or parallel. Either a partitioned
or an unpartitioned case file can be read in parallel (see Section 31.5: Partitioning the
Grid for more infomation on partitioning). After reading a case file in parallel, shell zones
can be created on any wall with a positive thickness.
To delete existing shell conduction zones all at once, the TUI command
define/boundary-conditions/modify-zones/delete-all-shells is used. This ca-
pability is available in both serial and parallel mode.
i You must specify a non-zero Wall Thickness in the Wall panel, because the
shell conduction model is relevant only for walls with non-zero thickness.
• When used in conjunction with the discrete ordinates (DO) radiation model, shell
conducting walls cannot be semi-transparent.
• Shell conducting walls cannot be split or merged. If you need to split or merge a
shell conducting wall, disable the Shell Conduction option for the wall, perform the
split or merge operation, and then enable Shell Conduction for the new wall zones.
• The shell conduction model cannot be used on a wall zone that has been adapted.
If you want to perform adaption elsewhere in the computational domain, be sure to
use the mask register described in Section 26.11.1: Manipulating Adaption Registers
to ensure that no adaption is performed on the shell conducting wall.
• Fluxes at the ends of a shell conducting wall are not included in the heat balance
reports. These fluxes are accounted for correctly in the FLUENT solution, but not
in the flux report itself.
7-80
c Fluent Inc. September 29, 2006
7.13 Wall Boundary Conditions
Wall Motion
Wall boundaries can be either stationary or moving. The stationary boundary condition
specifies a fixed wall, whereas the moving boundary condition can be used to specify the
translational or rotational velocity of the wall, or the velocity components.
Wall motion conditions are entered in the Momentum section of the Wall panel (Fig-
ure 7.13.4), which is opened from the Boundary Conditions panel (as described in Sec-
tion 7.1.4: Setting Boundary Conditions). To view the wall motion conditions, click the
Momentum tab.
c Fluent Inc. September 29, 2006 7-81
Boundary Conditions
For a stationary wall, choose the Stationary Wall option under Wall Motion.
If you wish to include tangential motion of the wall in your calculation, you need to define
the translational or rotational velocity, or the velocity components. Select the Moving
Wall option under Wall Motion. The Wall panel will expand, as shown in Figure 7.13.4,
to show the wall velocity conditions.
Note that you cannot use the moving wall condition to model problems where the wall
has a motion normal to itself. FLUENT will neglect any normal component of wall motion
that you specify using the methods below.
If the cell zone adjacent to the wall is moving (e.g., if you are using a moving reference
frame or a sliding mesh), you can choose to specify velocities relative to the zone motion
by enabling the Relative to Adjacent Cell Zone option. If you choose to specify relative
velocities, a velocity of zero means that the wall is stationary in the relative frame, and
therefore moving at the speed of the adjacent cell zone in the absolute frame. If you
choose to specify absolute velocities (by enabling the Absolute option), a velocity of zero
means that the wall is stationary in the absolute frame, and therefore moving at the
speed of the adjacent cell zone—but in the opposite direction—in the relative reference
frame.
i If you are using one or more moving reference frames, sliding meshes, or
mixing planes, and you want the wall to be fixed in the moving frame, it is
recommended that you specify relative velocities (the default) rather than
absolute velocities. Then, if you modify the speed of the adjacent cell zone,
you will not need to make any changes to the wall velocities, as you would
if you specified absolute velocities.
Note that if the adjacent cell zone is not moving, the absolute and relative options are
equivalent.
For problems that include linear translational motion of the wall boundary (e.g., a rect-
angular duct with a moving belt as one wall) you can enable the Translational option
and specify the wall’s Speed and Direction (X,Y,Z vector). By default, wall motion is
“disabled” by the specification of Translational velocity with a Speed of zero.
If you need to define non-linear translational motion, you will need to use the Components
option, described below.
7-82
c Fluent Inc. September 29, 2006
7.13 Wall Boundary Conditions
For problems that include rotational wall motion you can enable the Rotational option
and define the rotational Speed about a specified axis. To define the axis, set the Rotation-
Axis Direction and Rotation-Axis Origin. This axis is independent of the axis of rotation
used by the adjacent cell zone, and independent of any other wall rotation axis. For
3D problems, the axis of rotation is the vector passing through the specified Rotation-
Axis Origin and parallel to the vector from (0,0,0) to the (X,Y,Z) point specified under
Rotation-Axis Direction. For 2D problems, you will specify only the Rotation-Axis Origin;
the axis of rotation is the z-direction vector passing through the specified point. For 2D
axisymmetric problems, you will not define the axis: the rotation will always be about
the x axis, with the origin at (0,0).
Note that the modeling of tangential rotational motion will be correct only if the wall
bounds a surface of revolution about the prescribed axis of rotation (e.g., a circle or
cylinder). Note also that rotational motion can be specified for a wall in a stationary
reference frame.
For problems that include linear or non-linear translational motion of the wall boundary
you can enable the Components option and specify the X-Velocity, Y-Velocity, and Z-
Velocity of the wall. You can define non-linear translational motion using a boundary
profile or a user-defined function for the X-Velocity, Y-Velocity, and/or Z-Velocity of the
wall.
As discussed earlier in this section, when you read a grid with a two-sided wall zone
(which forms the interface between fluid/solid regions) into FLUENT, a “shadow” zone
will automatically be created so that each side of the wall is a distinct wall zone. For
two-sided walls, it is possible to specify different motions for the wall and shadow zones,
whether or not they are coupled. Note, however, that you cannot specify motion for a
wall (or shadow) that is adjacent to a solid zone.
• no-slip
• specified shear
• specularity coefficient
• Marangoni stress
c Fluent Inc. September 29, 2006 7-83
Boundary Conditions
The no-slip condition is the default, and it indicates that the fluid sticks to the wall
and moves with the same velocity as the wall, if it is moving. The specified shear and
Marangoni stress boundary conditions are useful in modeling situations in which the
shear stress (rather than the motion of the fluid) is known. Examples of such situations
are applied shear stress, slip wall (zero shear stress), and free surface conditions (zero
shear stress or shear stress dependent on surface tension gradient). The specified shear
boundary condition allows you to specify the x, y, and z components of the shear stress
as constant values or boundary profiles. The Marangoni stress boundary condition allows
you to specify the gradient of the surface tension with respect to the temperature at this
surface. The shear stress is calculated based on the surface gradient of the temperature
and the specified surface tension gradient. The Marangoni stress option is available only
for calculations in which the energy equation is being solved.
The specularity coefficient shear condition is specifically used in multiphase with granular
flows. The specularity coefficient is a measure of the fraction of collisions which transfer
momentum to the wall and its value ranges between zero and unity. This implementation
is based on the Johnson and Jackson [166] boundary conditions for granular flows.
Shear conditions are entered in the Momentum section of the Wall panel, which is opened
from the Boundary Conditions panel (as described in Section 7.1.4: Setting Boundary
Conditions). To view the shear conditions, click the Momentum tab.
No-Slip Walls
You can model a no-slip wall by selecting the No Slip option under Shear Condition. This
is the default for all walls in viscous flows.
Specified Shear
In addition to the no-slip wall that is the default for viscous flows, you can model a slip
wall by specifying zero or non-zero shear. For non-zero shear, the shear to be specified is
the shear at the wall by the fluid. To specify the shear, select the Specified Shear option
under Shear Condition (see Figure 7.13.5). You can then enter x, y, and z components of
shear under Shear Stress. Wall functions for turbulence are not used with the Specified
Shear option.
Specularity Coefficient
For multiphase granular flow, you can specify the specularity coefficient such that when
the value is zero, this condition is equivalent to zero shear at the wall, but when the
value is near unity, there is a significant amount of lateral momentum transfer. To
specify the specularity coefficient, select the Specularity Coefficient option under Shear
Condition (see Figure 7.13.6) and enter the desired value in the text-entry box under
Specularity Coefficient.
7-84
c Fluent Inc. September 29, 2006
7.13 Wall Boundary Conditions
Marangoni Stress
FLUENT can also model shear stresses caused by the variation of surface tension due to
temperature. The shear stress applied at the wall is given by
dσ
τ= ∇s T (7.13-1)
dT
where dσ/dT is the surface tension gradient with respect to temperature, and ∇s T is the
surface gradient. This shear stress is then applied to the momentum equation.
To model Marangoni stress for the wall, select the Marangoni Stress option under Shear
Condition (see Figure 7.13.7). This option is available only for calculations in which the
energy equation is being solved. You can then enter the surface tension gradient (dσ/dT
in Equation 7.13-1) in the Surface Tension Gradient field. Wall functions for turbulence
are not used with the Marangoni Stress option.
c Fluent Inc. September 29, 2006 7-85
Boundary Conditions
Experiments in roughened pipes and channels indicate that the mean velocity distribution
near rough walls, when plotted in the usual semi-logarithmic scale, has the same slope
(1/κ) but a different intercept (additive constant B in the log-law). Thus, the law-of-
the-wall for mean velocity modified for roughness has the form
up u∗ 1 ρu∗ yp
= ln(E ) − ∆B (7.13-2)
τw /ρ κ µ
1
∆B = ln fr (7.13-3)
κ
7-86
c Fluent Inc. September 29, 2006
7.13 Wall Boundary Conditions
where fr is a roughness function that quantifies the shift of the intercept due to roughness
effects.
∆B depends, in general, on the type (uniform sand, rivets, threads, ribs, mesh-wire, etc.)
and size of the roughness. There is no universal roughness function valid for all types of
roughness. For a sand-grain roughness and similar types of uniform roughness elements,
however, ∆B has been found to be well-correlated with the nondimensional roughness
height, Ks+ = ρKs u∗ /µ, where Ks is the physical roughness height and u∗ = Cµ1/4 k 1/2 .
Analyses of experimental data show that the roughness function is not a single function
of Ks+ , but takes different forms depending on the Ks+ value. It has been observed that
there are three distinct regimes:
c Fluent Inc. September 29, 2006 7-87
Boundary Conditions
According to the data, roughness effects are negligible in the hydrodynamically smooth
regime, but become increasingly important in the transitional regime, and take full effect
in the fully rough regime.
In FLUENT, the whole roughness regime is subdivided into the three regimes, and the
formulas proposed by Cebeci and Bradshaw based on Nikuradse’s data [51] are adopted
to compute ∆B for each regime.
For the hydrodynamically smooth regime (Ks+ ≤ 2.25):
∆B = 0 (7.13-4)
Ks+ − 2.25
" #
1 n o
∆B = ln + Cs Ks+ × sin 0.4258(ln Ks+ − 0.811) (7.13-5)
κ 87.75
In the solver, given the roughness parameters, ∆B(Ks+ ) is evaluated using the corre-
sponding formula (Equation 7.13-4, 7.13-5, or 7.13-6). The modified law-of-the-wall in
Equation 7.13-2 is then used to evaluate the shear stress at the wall and other wall
functions for the mean temperature and turbulent quantities.
The roughness parameters are in the Momentum section of the Wall panel (see Fig-
ure 7.13.7), which is opened from the Boundary Conditions panel (as described in Sec-
tion 7.1.4: Setting Boundary Conditions). To view the wall roughness parameters, click
the Momentum tab.
To model the wall roughness effects, you must specify two roughness parameters: the
Roughness Height, Ks , and the Roughness Constant, Cs . The default roughness height
(Ks ) is zero, which corresponds to smooth walls. For the roughness to take effect, you
must specify a non-zero value for Ks . For a uniform sand-grain roughness, the height
of the sand-grain can simply be taken for Ks . For a non-uniform sand-grain, however,
the mean diameter (D50 ) would be a more meaningful roughness height. For other
types of roughness, an “equivalent” sand-grain roughness height could be used for Ks .
The above approaches are only relevant if the height is considered constant per surface.
However, if the roughness constant or roughness height is not constant (i.e., flow over a
nonuniform surface), then you can specify a boundary profile (Section 7.26: Boundary
7-88
c Fluent Inc. September 29, 2006
7.13 Wall Boundary Conditions
Profiles). Similarly, user-defined functions may be used to define a wall roughness height
that is not constant. For details on the format of user-defined functions, refer to the
separate UDF Manual.
Choosing a proper roughness constant (Cs ) is dictated mainly by the type of the given
roughness. The default roughness constant (Cs = 0.5) was determined so that, when used
with k- turbulence models, it reproduces Nikuradse’s resistance data for pipes roughened
with tightly-packed, uniform sand-grain roughness. You may need to adjust the roughness
constant when the roughness you want to model departs much from uniform sand-grain.
For instance, there is some experimental evidence that, for non-uniform sand-grains,
ribs, and wire-mesh roughness, a higher value (Cs = 0.5 ∼ 1.0) is more appropriate.
Unfortunately, a clear guideline for choosing Cs for arbitrary types of roughness is not
available.
Note that it is not physically meaningful to have a mesh size such that the wall-adjacent
cell is smaller than the roughness height. For best results, make sure that the distance
from the wall to the centroid of the wall-adjacent cell is greater than Ks .
1. Click the Species tab in the Wall panel to view the species boundary conditions for
the wall (see Figure 7.13.8).
2. Under Species Boundary Condition, select Specified Mass Fraction (rather than Zero
Diffusive Flux) in the drop-down list to the right of the species name. The panel
will expand to include space for Species Mass Fractions.
3. Under Species Mass Fractions, specify the mass fraction for the species.
The boundary condition type for each species is specified separately, so you can choose
to use different methods for different species.
If you are modeling species transport with reactions, you can, alternatively, enable a
reaction mechanism at a wall by turning on the Reaction option and selecting an available
mechanism from the Reaction Mechanisms drop-down list. See Section 14.1.4: Defining
Zone-Based Reaction Mechanisms more information about defining reaction mechanisms.
c Fluent Inc. September 29, 2006 7-89
Boundary Conditions
Figure 7.13.8: The Wall Panel for Species Boundary Condition Input
7-90
c Fluent Inc. September 29, 2006
7.13 Wall Boundary Conditions
c Fluent Inc. September 29, 2006 7-91
Boundary Conditions
∂v
τw = µ (7.13-7)
∂n
When there is a steep velocity gradient at the wall, you must be sure that the grid is
sufficiently fine to accurately resolve the boundary layer. Guidelines for the appropriate
placement of the near-wall node in laminar flows are provided in Section 6.2.2: Node
Density and Clustering.
7-92
c Fluent Inc. September 29, 2006
7.13 Wall Boundary Conditions
where
hf = fluid-side local heat transfer coefficient
Tw = wall surface temperature
Tf = local fluid temperature
qrad = radiative heat flux
Note that the fluid-side heat transfer coefficient is computed based on the local flow-field
conditions (e.g., turbulence level, temperature, and velocity profiles), as described by
Equations 7.13-15 and 12.10-5.
Heat transfer to the wall boundary from a solid cell is computed as
ks
q= (Tw − Ts ) + qrad (7.13-9)
∆n
where
ks = thermal conductivity of the solid
Ts = local solid temperature
∆n = distance between wall surface and the solid cell center
q − qrad
Tw = + Tf (7.13-10)
hf
where, as noted above, the fluid-side heat transfer coefficient is computed based on the
local flow-field conditions. When the wall borders a solid region, the wall surface tem-
perature is computed as
(q − qrad )∆n
Tw = + Ts (7.13-11)
ks
c Fluent Inc. September 29, 2006 7-93
Boundary Conditions
q = hf (Tw − Tf ) + qrad
= hext (Text − Tw ) (7.13-12)
where
hext = external heat transfer coefficient defined by you
Text = external heat-sink temperature defined by you
qrad = radiative heat flux
Equation 7.13-12 assumes a wall of zero thickness.
q = hf (Tw − Tf ) + qrad
4
= ext σ(T∞ − Tw4 ) (7.13-13)
where
ext = emissivity of the external wall surface defined by you
σ = Stefan-Boltzmann constant
Tw = surface temperature of the wall
T∞ = temperature of the radiation source or sink on the exterior
of the domain, defined by you
qrad = radiative heat flux to the wall from within the domain
Equation 7.13-13 assumes a wall of zero thickness.
7-94
c Fluent Inc. September 29, 2006
7.14 Symmetry Boundary Conditions
q = hf (Tw − Tf ) + qrad
4
= hext (Text − Tw ) + ext σ(T∞ − Tw4 ) (7.13-14)
where the variables are as defined above. Equation 7.13-14 assumes a wall of zero thick-
ness.
c Fluent Inc. September 29, 2006 7-95
Boundary Conditions
symmetry
planes
2 symmetry planes
(model includes a
90° sector)
Figure 7.14.3 illustrates two problems in which a symmetry plane would be inappropriate.
In both examples, the problem geometry is symmetric but the flow itself does not obey the
symmetry boundary conditions. In the first example, buoyancy creates an asymmetric
flow. In the second, swirl in the flow creates a flow normal to the would-be symmetry
plane. Note that this second example should be handled using rotationally periodic
boundaries (as illustrated in Figure 7.15.1).
7-96
c Fluent Inc. September 29, 2006
7.14 Symmetry Boundary Conditions
cold
hot fluid
rises g
hot
c Fluent Inc. September 29, 2006 7-97
Boundary Conditions
As stated above, these conditions determine a zero flux across the symmetry plane, which
is required by the definition of symmetry. Since the shear stress is zero at a symmetry
boundary, it can also be interpreted as a “slip” wall when used in viscous flow calculations.
7-98
c Fluent Inc. September 29, 2006
7.15 Periodic Boundary Conditions
periodic boundaries
c Fluent Inc. September 29, 2006 7-99
Boundary Conditions
periodic boundary
periodic boundary
7-100
c Fluent Inc. September 29, 2006
7.15 Periodic Boundary Conditions
Note that there will be an additional item in the Periodic panel for the density-based
solvers, which allows you to specify the periodic pressure jump. See Section 9.4: Periodic
Flows for details.
If the domain is rotationally periodic, select Rotational as the Periodic Type; if it is
translationally periodic, select Translational. For rotationally periodic domains, the solver
will automatically compute the angle through which the periodic zone is rotated. The
axis used for this rotation is the axis of rotation specified for the adjacent cell zone.
Note that there is no need for the adjacent cell zone to be moving for you to use a
rotationally periodic boundary. You could, for example, model pipe flow in 3D using
a nonrotating reference frame with a pie-slice of the pipe; the sides of the slice would
require rotational periodicity.
You can use the Grid/Check menu item (see Section 6.5: Checking the Grid) to compute
and display the minimum, maximum, and average rotational angles of all faces on periodic
boundaries. If the difference between the minimum, maximum, and average values is not
negligible, then there is a problem with the grid: the grid geometry is not periodic about
the specified axis.
c Fluent Inc. September 29, 2006 7-101
Boundary Conditions
axis
7-102
c Fluent Inc. September 29, 2006
7.17 Fluid Conditions
i If you are modeling species transport and/or combustion, you will not select
a material here; the mixture material is specified in the Species Model panel
when you enable the model. Similarly, you will not specify the materials for
a multiphase flow here; you will choose them when you define the phases,
as described in Section 23.10.3: Defining the Phases for the VOF Model.
Optional inputs allow you to set sources or fixed values of mass, momentum, heat (tem-
perature), turbulence, species, and other scalar quantities. You can also define motion
for the fluid zone. If there are rotationally periodic boundaries adjacent to the fluid zone,
you will need to specify the rotation axis. If you are modeling turbulence using one of the
k- models, the k-ω model, or the Spalart-Allmaras model, you can choose to define the
fluid zone as a laminar flow region. If you are modeling radiation using the DO model,
you can specify whether or not the fluid participates in radiation.
i For information about porous zones, see Section 7.19: Porous Media
Conditions.
i If you are modeling species transport or multiphase flow, the Material Name
list will not appear in the Fluid panel. For species calculations, the mixture
material for all fluid zones will be the material you specified in the Species
Model panel. For multiphase flows, the materials are specified when you
define the phases, as described in Section 23.10.3: Defining the Phases for
the VOF Model.
c Fluent Inc. September 29, 2006 7-103
Boundary Conditions
Defining Sources
If you wish to define a source of heat, mass, momentum, turbulence, species, or other
scalar quantity within the fluid zone, you can do so by enabling the Source Terms option.
See Section 7.28: Defining Mass, Momentum, Energy, and Other Sources for details.
7-104
c Fluent Inc. September 29, 2006
7.17 Fluid Conditions
c Fluent Inc. September 29, 2006 7-105
Boundary Conditions
7-106
c Fluent Inc. September 29, 2006
7.18 Solid Conditions
c Fluent Inc. September 29, 2006 7-107
Boundary Conditions
7-108
c Fluent Inc. September 29, 2006
7.19 Porous Media Conditions
c Fluent Inc. September 29, 2006 7-109
Boundary Conditions
• Since the volume blockage that is physically present is not represented in the model,
by default FLUENT uses and reports a superficial velocity inside the porous medium,
based on the volumetric flow rate, to ensure continuity of the velocity vectors across
the porous medium interface. As a more accurate alternative, you can instruct
FLUENT to use the true (physical) velocity inside the porous medium. See Sec-
tion 7.19.7: Modeling Porous Media Based on Physical Velocity for details.
• The effect of the porous medium on the turbulence field is only approximated. See
Section 7.19.4: Treatment of Turbulence in Porous Media for details.
• When applying the porous media model in a moving reference frame, FLUENT
will either apply the relative reference frame or the absolute reference frame when
you enable the Relative Velocity Resistance Formulation. This allows for the correct
prediction of the source terms. For more information about porous media, see
Sections 7.19.6 and 7.19.6.
• When specifying the specific heat capacity, Cp , for the selected material in the
porous zone, Cp must be entered as a constant value.
where Si is the source term for the ith (x, y, or z) momentum equation, |v| is the
magnitude of the velocity and D and C are prescribed matrices. This momentum sink
contributes to the pressure gradient in the porous cell, creating a pressure drop that is
proportional to the fluid velocity (or velocity squared) in the cell.
7-110
c Fluent Inc. September 29, 2006
7.19 Porous Media Conditions
µ 1
Si = − vi + C2 ρ|v|vi (7.19-2)
α 2
where α is the permeability and C2 is the inertial resistance factor, simply specify D and
C as diagonal matrices with 1/α and C2 , respectively, on the diagonals (and zero for the
other elements).
FLUENT also allows the source term to be modeled as a power law of the velocity mag-
nitude:
i In the power-law model, the pressure drop is isotropic and the units for C0
are SI.
µ
∇p = − ~v (7.19-4)
α
The pressure drop that FLUENT computes in each of the three (x,y,z) coordinate direc-
tions within the porous region is then
3
X µ
∆px = vj ∆nx
j=1 αxj
3
X µ
∆py = vj ∆ny (7.19-5)
j=1 αyj
3
X µ
∆pz = vj ∆nz
j=1 αzj
where 1/αij are the entries in the matrix D in Equation 7.19-1, vj are the velocity
components in the x, y, and z directions, and ∆nx , ∆ny , and ∆nz are the thicknesses of
the medium in the x, y, and z directions.
c Fluent Inc. September 29, 2006 7-111
Boundary Conditions
Here, the thickness of the medium (∆nx , ∆ny , or ∆nz ) is the actual thickness of the
porous region in your model. Thus if the thicknesses used in your model differ from the
actual thicknesses, you must make the adjustments in your inputs for 1/αij .
3
1
X
∇p = − C2ij ρvj |v| (7.19-6)
j=1 2
3
X 1
∆px ≈ C2xj ∆nx ρvj |v|
j=1 2
3
X 1
∆py ≈ C2yj ∆ny ρvj |v|
j=1 2
3
X 1
∆pz ≈ C2zj ∆nz ρvj |v| (7.19-7)
j=1 2
Again, the thickness of the medium (∆nx , ∆ny , or ∆nz ) is the thickness you have defined
in your model.
7-112
c Fluent Inc. September 29, 2006
7.19 Porous Media Conditions
" ! #
∂
hi Ji + (τ · ~v ) + Sfh
X
(γρf Ef + (1 − γ)ρs Es ) + ∇ · (~v (ρf Ef + p)) = ∇ · keff ∇T −
∂t i
(7.19-8)
where
Ef = total fluid energy
Es = total solid medium energy
γ = porosity of the medium
keff = effective thermal conductivity of the medium
Sfh = fluid enthalpy source term
where
γ = porosity of the medium
kf = fluid phase thermal conductivity (including the turbulent contribution, kt )
ks = solid medium thermal conductivity
The fluid thermal conductivity kf and the solid thermal conductivity ks can be computed
via user-defined functions.
The anisotropic effective thermal conductivity can also be specified via user-defined func-
tions. In this case, the isotropic contributions from the fluid, γkf , are added to the
diagonal elements of the solid anisotropic thermal conductivity matrix.
c Fluent Inc. September 29, 2006 7-113
Boundary Conditions
4. Enable reactions for the porous zone, if appropriate, and select the reaction mech-
anism.
7-114
c Fluent Inc. September 29, 2006
7.19 Porous Media Conditions
5. Enable the Relative Velocity Resistance Formulation. By default, this option is al-
ready enabled and takes the moving porous media into consideration (as described
in Section 7.19.6: Including the Relative Velocity Resistance Formulation).
6. Set the viscous resistance coefficients (Dij in Equation 7.19-1, or 1/α in Equa-
tion 7.19-2) and the inertial resistance coefficients (Cij in Equation 7.19-1, or C2 in
Equation 7.19-2), and define the direction vectors for which they apply. Alterna-
tively, specify the coefficients for the power-law model.
8. Select the material contained in the porous medium (required only for models that
include heat transfer). Note that the specific heat capacity, Cp , for the selected
material in the porous zone can only be entered as a constant value.
9. Set the volumetric heat generation rate in the solid portion of the porous medium
(or any other sources, such as mass or momentum). (optional)
10. Set any fixed values for solution variables in the fluid region (optional).
Methods for determining the resistance coefficients and/or permeability are presented
below. If you choose to use the power-law approximation of the porous-media momentum
source term, you will enter the coefficients C0 and C1 in Equation 7.19-3 instead of the
resistance coefficients and flow direction.
You will set all parameters for the porous medium in the Fluid panel (Figure 7.19.1),
which is opened from the Boundary Conditions panel (as described in Section 7.1.4: Setting
Boundary Conditions).
c Fluent Inc. September 29, 2006 7-115
Boundary Conditions
i If you are modeling species transport or multiphase flow, the Material Name
list will not appear in the Fluid panel. For species calculations, the mixture
material for all fluid/porous zones will be the material you specified in the
Species Model panel. For multiphase flows, the materials are specified when
you define the phases, as described in Section 23.10.3: Defining the Phases
for the VOF Model.
7-116
c Fluent Inc. September 29, 2006
7.19 Porous Media Conditions
If your mechanism contains wall surface reactions, you will also need to specify a value
for the Surface-to-Volume Ratio. This value is the surface area of the pore walls per
unit volume ( VA ), and can be thought of as a measure of catalyst loading. With this
value, FLUENT can calculate the total surface area on which the reaction takes place
in each cell by multiplying VA by the volume of the cell. See Section 14.1.4: Defining
Zone-Based Reaction Mechanisms for details about defining reaction mechanisms. See
Section 14.2: Wall Surface Reactions and Chemical Vapor Deposition for details about
wall surface reactions.
c Fluent Inc. September 29, 2006 7-117
Boundary Conditions
In 3D, it is also possible to define the coefficients using a conical (or cylindrical) coordinate
system, as described below.
i Note that the viscous and inertial resistance coefficients are generally based
on the superficial velocity of the fluid in the porous media.
The procedure for defining resistance coefficients is as follows:
7-118
c Fluent Inc. September 29, 2006
7.19 Porous Media Conditions
For some problems in which the axis of the conical filter element is not aligned
with the coordinate axes of the domain, you may not know a priori the direc-
tion vector of the cone axis and coordinates of a point on the cone axis. In
such cases, the plane tool can help you to determine the cone axis vector and
point coordinates. One method is as follows:
(a) Select a boundary zone of the conical filter element that is normal to the
cone axis vector in the drop-down list next to the Snap to Zone button.
(b) Click on the Snap to Zone button. FLUENT will automatically “snap” the
plane tool onto the boundary. It will also set the Cone Axis Vector and
the Point on Cone Axis. (Note that you will still have to set the Cone Half
Angle yourself.)
An alternate method is as follows:
(a) “Snap” the plane tool onto the boundary of the porous region. (Follow
the instructions in Section 27.6.1: Using the Plane Tool for initializing the
tool to a position on an existing surface.)
(b) Rotate and translate the axes of the tool appropriately until the red arrow
of the tool is pointing in the direction of the cone axis vector and the origin
of the tool is on the cone axis.
(c) Once the axes and origin of the tool are aligned, click on the Update From
Plane Tool button in the Fluid panel. FLUENT will automatically set the
Cone Axis Vector and the Point on Cone Axis. (Note that you will still have
to set the Cone Half Angle yourself.)
2. Under Viscous Resistance, specify the viscous resistance coefficient 1/α in each di-
rection.
Under Inertial Resistance, specify the inertial resistance coefficient C2 in each direc-
tion. (You will need to scroll down with the scroll bar to view these inputs.)
For porous media cases containing highly anisotropic inertial resistances, enable
Alternative Formulation under Inertial Resistance. The Alternative Formulation option
provides better stability to the calculation when your porous medium is anisotropic.
c Fluent Inc. September 29, 2006 7-119
Boundary Conditions
The pressure loss through the medium depends on the magnitude of the veloc-
ity vector of the i th component in the medium. Using the formulation of Equa-
tion 7.19-6 yields the expression below:
1
Si = ρCi |vi |vi (7.19-10)
2
Whether or not you use the Alternative Formulation option depends on how well
you can fit your experimentally determined pressure drop data to the FLUENT
model. For example, if the flow through the medium is aligned with the grid in
your FLUENT model, then it will not make a difference whether or not you use the
formulation.
For more infomation about simulations involving highly anisotropic porous media,
see Section 7.19.8: Solution Strategies for Porous Media.
i Note that the alternative formulation is compatible only with the pressure-
based solver.
If you are using the Conical specification method, Direction-1 is the cone axis di-
rection, Direction-2 is the normal to the cone surface (radial (r) direction for a
cylinder), and Direction-3 is the circumferential (θ) direction.
In 3D there are three possible categories of coefficients, and in 2D there are two:
• In the isotropic case, the resistance coefficients in all directions are the same
(e.g., a sponge). For an isotropic case, you must explicitly set the resistance
coefficients in each direction to the same value.
• When (in 3D) the coefficients in two directions are the same and those in the
third direction are different or (in 2D) the coefficients in the two directions
are different, you must be careful to specify the coefficients properly for each
direction. For example, if you had a porous region consisting of cylindrical
straws with small holes in them positioned parallel to the flow direction, the
flow would pass easily through the straws, but the flow in the other two direc-
tions (through the small holes) would be very little. If you had a plane of flat
plates perpendicular to the flow direction, the flow would not pass through
them at all; it would instead move in the other two directions.
• In 3D the third possible case is one in which all three coefficients are different.
For example, if the porous region consisted of a plane of irregularly-spaced
objects (e.g., pins), the movement of flow between the blockages would be
different in each direction. You would therefore need to specify different coef-
ficients in each direction.
Methods for deriving viscous and inertial loss coefficients are described in the sections
that follow.
7-120
c Fluent Inc. September 29, 2006
7.19 Porous Media Conditions
Deriving Porous Media Inputs Based on Superficial Velocity, Using a Known Pressure Loss
When you use the porous media model, you must keep in mind that the porous cells in
FLUENT are 100% open, and that the values that you specify for 1/αij and/or C2ij must
be based on this assumption. Suppose, however, that you know how the pressure drop
varies with the velocity through the actual device, which is only partially open to flow.
The following exercise is designed to show you how to compute a value for C2 which is
appropriate for the FLUENT model.
Consider a perforated plate which has 25% area open to flow. The pressure drop through
the plate is known to be 0.5 times the dynamic head in the plate. The loss factor, KL ,
defined as
1 2
∆p = KL ( ρv25%open ) (7.19-11)
2
is therefore 0.5, based on the actual fluid velocity in the plate, i.e., the velocity through
the 25% open area. To compute an appropriate value for C2 , note that in the FLUENT
model:
1. The velocity through the perforated plate assumes that the plate is 100% open.
2. The loss coefficient must be converted into dynamic head loss per unit length of
the porous region.
Noting item 1, the first step is to compute an adjusted loss factor, KL0 , which would be
based on the velocity of a 100% open area:
1 2
∆p = KL0 ( ρv100%open ) (7.19-12)
2
or, noting that for the same flow rate, v25%open = 4 × v100%open ,
2
v25%open
KL0 = KL × 2
v100%open
2
4
= 0.5 ×
1
= 8 (7.19-13)
c Fluent Inc. September 29, 2006 7-121
Boundary Conditions
The adjusted loss factor has a value of 8. Noting item 2, you must now convert this into
a loss coefficient per unit thickness of the perforated plate. Assume that the plate has a
thickness of 1.0 mm (10−3 m). The inertial loss factor would then be
KL0
C2 =
thickness
8
= = 8000 m−1 (7.19-14)
10−3
Note that, for anisotropic media, this information must be computed for each of the 2
(or 3) coordinate directions.
Using the Ergun Equation to Derive Porous Media Inputs for a Packed Bed
As a second example, consider the modeling of a packed bed. In turbulent flows, packed
beds are modeled using both a permeability and an inertial loss coefficient. One technique
for deriving the appropriate constants involves the use of the Ergun equation [98], a semi-
empirical correlation applicable over a wide range of Reynolds numbers and for many
types of packing:
When modeling laminar flow through a packed bed, the second term in the above equation
may be dropped, resulting in the Blake-Kozeny equation [98]:
In these equations, µ is the viscosity, Dp is the mean particle diameter, L is the bed
depth, and is the void fraction, defined as the volume of voids divided by the volume
of the packed bed region. Comparing Equations 7.19-4 and 7.19-6 with 7.19-15, the
permeability and inertial loss coefficient in each component direction may be identified
as
Dp2 3
α= (7.19-17)
150 (1 − )2
and
3.5 (1 − )
C2 = (7.19-18)
Dp 3
7-122
c Fluent Inc. September 29, 2006
7.19 Porous Media Conditions
Using an Empirical Equation to Derive Porous Media Inputs for Turbulent Flow Through a
Perforated Plate
As a third example we will take the equation of Van Winkle et al. [279, 339] and show
how porous media inputs can be calculated for pressure loss through a perforated plate
with square-edged holes.
The expression, which is claimed by the authors to apply for turbulent flow through
square-edged holes on an equilateral triangular spacing, is
q
ṁ = CAf (2ρ∆p)/(1 − (Af /Ap )2 ) (7.19-19)
where
ṁ =
mass flow rate through the plate
Af =
the free area or total area of the holes
Ap =
the area of the plate (solid and holes)
C =
a coefficient that has been tabulated for various Reynolds-number ranges
and for various D/t
D/t = the ratio of hole diameter to plate thickness
for t/D > 1.6 and for Re > 4000 the coefficient C takes a value of approximately 0.98,
where the Reynolds number is based on hole diameter and velocity in the holes.
Rearranging Equation 7.19-19, making use of the relationship
ṁ = ρvAp (7.19-20)
∆p 1 2 1 (Ap /Af )2 − 1
= ρv (7.19-21)
∆x 2 C2 t
where v is the superficial velocity (not the velocity in the holes). Comparing with Equa-
tion 7.19-6 it is seen that, for the direction normal to the plate, the constant C2 can be
calculated from
1 (Ap /Af )2 − 1
C2 = (7.19-22)
C2 t
c Fluent Inc. September 29, 2006 7-123
Boundary Conditions
Using Tabulated Data to Derive Porous Media Inputs for Laminar Flow Through a Fibrous Mat
Consider the problem of laminar flow through a mat or filter pad which is made up of
randomly-oriented fibers of glass wool. As an alternative to the Blake-Kozeny equation
(Equation 7.19-16) we might choose to employ tabulated experimental data. Such data
is available for many types of fiber [158].
where B = α/a2 and a is the fiber diameter. α, for use in Equation 7.19-4, is easily
computed for a given fiber diameter and volume fraction.
Deriving the Porous Coefficients Based on Experimental Pressure and Velocity Data
Experimental data that is available in the form of pressure drop against velocity through
the porous component, can be extrapolated to determine the coefficients for the porous
media. To effect a pressure drop across a porous medium of thickness, ∆n, the coefficients
of the porous media are determined in the manner described below.
If the experimental data is:
then an xy curve can be plotted to create a trendline through these points yielding the
following equation
7-124
c Fluent Inc. September 29, 2006
7.19 Porous Media Conditions
Note that a simplified version of the momentum equation, relating the pressure drop to
the source term, can be expressed as
∇p = Si (7.19-24)
or
∆p = −Si ∆n (7.19-25)
Hence, comparing Equation 7.19-23 to Equation 7.19-2, yields the following curve coef-
ficients:
1
0.28296 = C2 ρ∆n (7.19-26)
2
with ρ = 1.225 kg/m3 , and a porous media thickness, ∆n, assumed to be 1m in this
example, the inertial resistance factor, C2 = 0.462.
Likewise,
µ
− 4.33539 = ∆n (7.19-27)
α
i Note that this same technique can be applied to the porous jump bound-
ary condition. Similar to the case of the porous media, you have to take
into account the thickness of the medium ∆n. Your experimental data
can be plotted in an xy curve, yielding an equation that is equivalent to
Equation 7.22-1. From there, you can determine the permeability α and
the pressure jump coefficient C2 .
c Fluent Inc. September 29, 2006 7-125
Boundary Conditions
Defining Porosity
To define the porosity, scroll down below the resistance inputs in the Fluid panel, and set
the Porosity under Fluid Porosity.
You can also define the porosity using a user-defined function (UDF). The user-defined
option becomes available in the corresponding drop-down list when the UDF has been
created and loaded into FLUENT. Note that the porosity defined in the UDF must utilize
the DEFINE PROFILE macro. For more information on creating and using user-defined
function, see the separate UDF Manual.
The porosity, γ, is the volume fraction of fluid within the porous region (i.e., the open
volume fraction of the medium). The porosity is used in the prediction of heat transfer in
the medium, as described in Section 7.19.3: Treatment of the Energy Equation in Porous
Media, and in the time-derivative term in the scalar transport equations for unsteady
flow, as described in Section 7.19.5: Effect of Porosity on Transient Scalar Equations. It
also impacts the calculation of reaction source terms and body forces in the medium.
These sources will be proportional to the fluid volume in the medium. If you want to
represent the medium as completely open (no effect of the solid medium), you should
set the porosity equal to 1.0 (the default). When the porosity is equal to 1.0, the solid
portion of the medium will have no impact on heat transfer or thermal/reaction source
terms in the medium.
7-126
c Fluent Inc. September 29, 2006
7.19 Porous Media Conditions
Defining Sources
If you want to include effects of the heat generated by the porous medium in the energy
equation, enable the Source Terms option and set a non-zero Energy source. The solver
will compute the heat generated by the porous region by multiplying this value by the
total volume of the cells comprising the porous zone. You may also define sources of
mass, momentum, turbulence, species, or other scalar quantities, as described in Sec-
tion 7.28: Defining Mass, Momentum, Energy, and Other Sources.
where γ is the porosity of the media defined as the ratio of the volume occupied by the
fluid to the total volume.
The superficial velocity values within the porous region remain the same as those outside
of the porous region. This limits the accuracy of the porous model where there should
be an increase in velocity throughout the porous region. For more accurate simulations
c Fluent Inc. September 29, 2006 7-127
Boundary Conditions
of porous media flows, it becomes necessary to solve for the true, or physical velocity
throughout the flowfield, rather than the superficial velocity.
FLUENT allows the calculation on the physical velocity using the Porous Formulation
region of the Solver panel. By default, the Superficial Velocity option is turned on.
Using the physical velocity formulation, and assuming a general scalar φ, the governing
equation in an isotropic porous media has the following form:
∂(γρφ)
+ ∇ · (γρ~v φ) = ∇ · (γΓ∇φ) + γSφ (7.19-29)
∂t
Assuming isotropic porosity and single phase flow, the volume-averaged mass and mo-
mentum conservation equations are as follows:
∂(γρ)
+ ∇ · (γρ~v ) = 0 (7.19-30)
∂t
∂(γρ~v ) ~ f − µ + C2 ρ |~v | ~v
+ ∇ · (γρ~v~v ) = −γ∇p + ∇ · (γ~τ ) + γ B (7.19-31)
∂t α 2
The last term in Equation 7.19-31 represents the viscous and inertial drag forces imposed
by the pore walls on the fluid.
i Note that even when you solve for the physical velocity in Equation 7.19-31,
the two resistance coefficients can still be derived using the superficial ve-
locity as given in Section 7.19.6: Defining the Viscous and Inertial Resis-
tance Coefficients. FLUENT assumes that the inputs for these resistance
coefficients are based upon well-established empirical correlations that are
usually based on superficial velocity. Therefore, FLUENT automatically
converts the inputs for the resistance coefficients into those that are com-
patible with the physical velocity formulation.
i Note that the inlet mass flow is also calculated from the superficial velocity.
Therefore, for the same mass flow rate at the inlet and the same resistance
coefficients, for either the physical or superficial velocity formulation you
should obtain the same pressure drop across the porous media zone.
7-128
c Fluent Inc. September 29, 2006
7.19 Porous Media Conditions
These variables are contained in the specified categories of the variable selection drop-
down list that appears in postprocessing panels.
c Fluent Inc. September 29, 2006 7-129
Boundary Conditions
where
γ = porosity of the medium
kf = fluid phase thermal conductivity (including the turbulent contribution, kt )
ks = solid medium thermal conductivity
i For porous media involving surface reactions, you can display/report the
surface reaction rates using the Arrhenius Rate of Reaction-n in the Reac-
tions... category of the variable selection drop-down list.
7-130
c Fluent Inc. September 29, 2006
7.20 Fan Boundary Conditions
N
fn v n−1
X
∆p = (7.20-1)
n=1
where ∆p is the pressure jump, fn are the pressure-jump polynomial coefficients, and v
is the magnitude of the local fluid velocity normal to the fan.
i You must use SI units for all fan swirl velocity inputs.
For the case of polynomial functions, the tangential and radial velocity components can
be specified by the following equations:
N
fn rn ; −1 ≤ N ≤ 6
X
Uθ = (7.20-2)
n=−1
N
gn rn ; −1 ≤ N ≤ 6
X
Ur = (7.20-3)
n=−1
c Fluent Inc. September 29, 2006 7-131
Boundary Conditions
where Uθ and Ur are, respectively, the tangential and radial velocities on the fan surface
in m/s, fn and gn are the tangential and radial velocity polynomial coefficients, and r is
the distance to the fan center.
3. Define the discrete phase boundary condition for the fan (for discrete phase calcu-
lations).
7-132
c Fluent Inc. September 29, 2006
7.20 Fan Boundary Conditions
1. Check that the Profile Specification of Pressure-Jump option is off in the Fan panel.
3. In the panel that appears for the definition of the Pressure-Jump function (e.g.,
Figure 7.20.2), enter the appropriate values. These profile input panels are used
the same way as the profile input panels for temperature-dependent properties. See
Section 8.2: Defining Properties Using Temperature-Dependent Functions to find
out how to use them.
When you define the pressure jump using any of these types of functions, you can choose
to limit the minimum and maximum velocity magnitudes used to calculate the pressure
c Fluent Inc. September 29, 2006 7-133
Boundary Conditions
jump. Enabling the Limit Polynomial Velocity Range option limits the pressure jump when
a Min Velocity Magnitude and a Max Velocity Magnitude are specified.
i The values corresponding to the Min Velocity Magnitude and the Max Ve-
locity Magnitude do not limit the flow field velocity to this range. However,
this range does limit the value of the pressure jump, which is a polynomial
and a function of velocity, as seen in Equation 7.20-1. If the calculated
normal velocity magnitude exceeds the Max Velocity Magnitude that has
been specified, then the pressure jump at the Max Velocity Magnitude value
will be used. Similarly, if the calculated velocity is less than the specified
Min Velocity Magnitude, the pressure jump at the Min Velocity Magnitude
will be substituted for the pressure jump corresponding to the calculated
velocity.
You also have the option to use the mass-averaged velocity normal to the fan to determine
a single pressure-jump value for all faces in the fan zone. Turning on Calculate Pressure-
Jump from Average Conditions enables this option.
Constant Value
1. Turn off the Profile Specification of Pressure-Jump option in the Fan panel.
7-134
c Fluent Inc. September 29, 2006
7.20 Fan Boundary Conditions
See the separate UDF Manual for information about user-defined functions, and Sec-
tion 7.26: Boundary Profiles for details about boundary profile files.
This example shows you how to determine the function for the pressure jump. Consider
the simple two-dimensional duct flow illustrated in Figure 7.20.3. Air at constant density
enters the 2.0 m × 0.4 m duct with a velocity of 15 m/s. Centered in the duct is a fan.
Air Fan
0.4 m
5 m/s
2.0 m
Assume that the fan characteristics are as follows when the fan is operating at 2000 rpm:
c Fluent Inc. September 29, 2006 7-135
Boundary Conditions
where Q is the flow through the fan and ∆p is the pressure rise across the fan. The fan
characteristics in this example follow a simple linear relationship between pressure rise
and flow rate. To convert this into a relationship between pressure rise and velocity, the
cross-sectional area of the fan must be known. In this example, assuming that the duct
is 1.0 m deep, this area is 0.4 m2 , so that the corresponding velocity values are as follows:
v (m/s) ∆p (Pa)
62.5 0.0
50.0 175
37.5 350
25.0 525
12.5 700
0 875
The polynomial form of this relationship is the following equation for a line:
2. Specify the fan’s axis of rotation by defining the axis origin (Fan Origin) and direc-
tion vector (Fan Axis).
3. Set the value for the radius of the fan’s hub (Fan Hub Radius). The default is
1 × 10−6 to avoid division by zero in the polynomial.
4. Set the tangential and radial velocity functions as polynomial functions of radial
distance, constant values, or user-defined functions.
i You must use SI units for all fan swirl velocity inputs.
7-136
c Fluent Inc. September 29, 2006
7.20 Fan Boundary Conditions
Polynomial Function
To define a polynomial function for tangential or radial velocity, follow the steps below:
Constant Value
2. Select constant in the drop-down list under Tangential or Radial Velocity Profile.
3. Enter the value for Uθ or Ur in the Tangential or Radial Velocity Profile field.
2. Choose the appropriate function from the drop-down list under Tangential or Radial
Velocity Profile.
See the separate UDF Manual for information about user-defined functions, and Sec-
tion 7.26: Boundary Profiles for details about boundary profile files.
c Fluent Inc. September 29, 2006 7-137
Boundary Conditions
1. Create a surface on each side of the fan zone. Use the Transform Surface panel (as
described in Section 27.10: Transforming Surfaces) to translate the fan zone slightly
upstream and slightly downstream to create two new surfaces.
2. In the Surface Integrals panel, report the average Static Pressure just upstream and
just downstream of the fan. You can then calculate the pressure rise through the
fan.
Graphical Plots
Graphical reports of interest with fans are as follows:
Chapter 28: Displaying Graphics explains how to generate graphical displays of data.
i When generating these plots, be sure to turn off the display of node values
so that you can see the different values on each side of the fan. (If you
display node values, the cell values on either side of the fan will be averaged
to obtain a node value, and you will not see, for example, the pressure jump
across the fan.)
7-138
c Fluent Inc. September 29, 2006
7.21 Radiator Boundary Conditions
A more detailed heat exchanger model is also available in FLUENT. See Section 7.25: Heat
Exchanger Models for details.
1
∆p = kL ρv 2 (7.21-1)
2
where ρ is the fluid density, and kL is the non-dimensional loss coefficient, which can
be specified as a constant or as a polynomial, piecewise-linear, or piecewise-polynomial
function.
In the case of a polynomial, the relationship is of the form
N
rn v n−1
X
kL = (7.21-2)
n=1
where rn are polynomial coefficients and v is the magnitude of the local fluid velocity
normal to the radiator.
c Fluent Inc. September 29, 2006 7-139
Boundary Conditions
where q is the heat flux, Tair,d is the temperature downstream of the heat exchanger
(radiator), and Text is the reference temperature for the liquid. The convective heat
transfer coefficient, h, can be specified as a constant or as a polynomial, piecewise-linear,
or piecewise-polynomial function.
For a polynomial, the relationship is of the form
N
hn v n ; 0 ≤ N ≤ 7
X
h= (7.21-4)
n=0
where hn are polynomial coefficients and v is the magnitude of the local fluid velocity
normal to the radiator in m/s.
Either the actual heat flux (q) or the heat transfer coefficient and radiator temperature
(h, Text ) may be specified. q (either the entered value or the value calculated using
Equation 7.21-3) is integrated over the radiator surface area.
To model the thermal behavior of the radiator, you must supply an expression for the
heat transfer coefficient, h, as a function of the fluid velocity through the radiator, v. To
obtain this expression, consider the heat balance equation:
ṁcp ∆T
q= = h(Tair,d − Text ) (7.21-5)
A
where
q = heat flux (W/m2 )
ṁ = fluid mass flow rate (kg/s)
cp = specific heat capacity of fluid (J/kg-K)
h = empirical heat transfer coefficient (W/m2 -K)
Text = external temperature (reference temperature for the liquid) (K)
Tair,d = temperature downstream from the heat exchanger (K)
A = heat exchanger frontal area (m2 )
Equation 7.21-5 can be rewritten as
7-140
c Fluent Inc. September 29, 2006
7.21 Radiator Boundary Conditions
where Tair,u is the upstream air temperature. The heat transfer coefficient, h, can there-
fore be computed as
c Fluent Inc. September 29, 2006 7-141
Boundary Conditions
3. Define either the heat flux or the heat transfer coefficient and radiator temperature.
4. Define the discrete phase boundary condition for the radiator (for discrete phase
calculations).
2. In the panel that appears for the definition of the Loss-Coefficient function (e.g.,
Figure 7.21.2), enter the appropriate values. These profile input panels are used
the same way as the profile input panels for temperature-dependent properties. See
Section 8.2: Defining Properties Using Temperature-Dependent Functions to find
out how to use them.
7-142
c Fluent Inc. September 29, 2006
7.21 Radiator Boundary Conditions
Constant Value
This example shows you how to determine the loss coefficient function. Consider the
simple two-dimensional duct flow of air through a water-cooled radiator, shown in Fig-
ure 7.21.3.
The radiator characteristics must be known empirically. For this case, assume that the
radiator to be modeled yields the test data shown in Table 7.21.1, which was taken with
a waterside flow rate of 7 kg/min and an inlet water temperature of 400.0 K. To compute
the loss coefficient, it is helpful to construct a table with values of the dynamic head,
1
2
ρv 2 , as a function of pressure drop, ∆p, and the ratio of these two values, kL (from
Equation 7.21-1). (The air density, defined in Figure 7.21.3, is 1.0 kg/m3 .) The reduced
data are shown in Table 7.21.2 below.
The loss coefficient is a linear function of the velocity, decreasing as the velocity increases.
The form of this relationship is
where v is now the absolute value of the velocity through the radiator.
c Fluent Inc. September 29, 2006 7-143
Boundary Conditions
T = 300 K
AIR
➯ 0.5 m
T = 300 K
U = 8 m/s
RADIATOR, T = 400 K
2.0 m
1
v (m/s) 2
ρv 2
(Pa) ∆p (Pa) kL
5.0 12.5 75.0 6.0
10.0 50.0 250.0 5.0
15.0 112.5 450.0 4.0
7-144
c Fluent Inc. September 29, 2006
7.21 Radiator Boundary Conditions
2. In the panel that appears for the definition of the Heat-Transfer-Coefficient func-
tion, enter the appropriate values. These profile input panels are used the same
way as the profile input panels for temperature-dependent properties. See Sec-
tion 8.2: Defining Properties Using Temperature-Dependent Functions to find out
how to use them.
Constant Value
c Fluent Inc. September 29, 2006 7-145
Boundary Conditions
This example shows you how to determine the function for the heat transfer coefficient.
Consider the simple two-dimensional duct flow of air through a water-cooled radiator,
shown in Figure 7.21.3.
The data supplied in Table 7.21.1 along with values for the air density (1.0 kg/m3 ) and
specific heat (1000 J/kg-K) can be used to obtain the following values for the heat transfer
coefficient h:
The heat transfer coefficient obeys a second-order polynomial relationship (fit to the
points in the table above) with the velocity, which is of the form
Note that the velocity v is assumed to be the absolute value of the velocity passing
through the radiator.
1. Create a surface on each side of the radiator zone. Use the Transform Surface panel
(as described in Section 27.10: Transforming Surfaces) to translate the radiator
zone slightly upstream and slightly downstream to create two new surfaces.
2. In the Surface Integrals panel, report the average Static Pressure just upstream and
just downstream of the radiator. You can then calculate the pressure drop across
the radiator.
7-146
c Fluent Inc. September 29, 2006
7.21 Radiator Boundary Conditions
To check this value against the expected value based on Equation 7.21-1, you can use
the Surface Integrals panel to report the average normal velocity through the radiator. (If
the radiator is not aligned with the x, y, or z axis, you will need to use the Custom Field
Function Calculator panel to generate a function for the velocity normal to the radiator.)
Once you have the average normal velocity, you can use Equation 7.21-2 to determine
the loss coefficient and then Equation 7.21-1 to calculate the expected pressure loss.
Graphical Plots
Graphical reports of interest with radiators are as follows:
Chapter 28: Displaying Graphics explains how to generate graphical displays of data.
i When generating these plots, be sure to turn off the display of node values
so that you can see the different values on each side of the radiator. (If
you display node values, the cell values on either side of the radiator will
be averaged to obtain a node value, and you will not see, for example, the
pressure loss across the radiator.)
c Fluent Inc. September 29, 2006 7-147
Boundary Conditions
µ 1
∆p = − v + C2 ρv 2 ∆m (7.22-1)
α 2
where µ is the laminar fluid viscosity, α is the permeability of the medium, C2 is the
pressure-jump coefficient, v is the velocity normal to the porous face, and ∆m is the
thickness of the medium. Appropriate values for α and C2 can be calculated using the
techniques described in Section 7.19.6: User Inputs for Porous Media.
7-148
c Fluent Inc. September 29, 2006
7.22 Porous Jump Boundary Conditions
The inputs required for the porous jump model are as follows:
5. Define the discrete phase boundary condition for the porous jump (for discrete
phase calculations).
Since the porous jump model is a 1D simplification of the porous media model, the
porous-jump zone must be modeled as the interface between cells, rather than a cell
zone. Thus the porous-jump zone is a type of internal face zone (where the faces are
line segments in 2D or triangles/quadrilaterals in 3D). If the porous-jump zone is not
identified as such by default when you read in the grid (i.e., if it is identified as another
type of internal face zone), you can use the Boundary Conditions panel to change the
appropriate face zone to a porous-jump zone.
Define −→Boundary Conditions...
The procedure for changing a zone’s type is described in Section 7.1.3: Changing Bound-
ary Zone Types. Once the zone has been changed to a porous jump, you can open
the Porous Jump panel (as described in Section 7.1.4: Setting Boundary Conditions) and
specify the porous jump parameters listed above.
If you are modeling a discrete phase of particles, you can set the fate of particle trajecto-
ries at the porous jump. See Section 22.13: Setting Boundary Conditions for the Discrete
Phase for details.
c Fluent Inc. September 29, 2006 7-149
Boundary Conditions
• turbo-specific NRBC
• general NRBC
Turbo-specific NRBCs, as the name indicates, are oriented toward turbomachinery types
of geometry and are applicable only in steady-state calculations. On the other hand,
the general NRBC, can be used in both steady and unsteady calculations, and have no
geometric restrictions. Both methods are available in the density-based solvers and when
the compressible ideal-gas law is used.
7-150
c Fluent Inc. September 29, 2006
7.23 Non-Reflecting Boundary Conditions
Limitations
Note the following limitations of turbo-specific NRBCs:
• They are available only with the density-based solvers (explicit or implicit).
• The current implementation applies to steady compressible flows, with the density
calculated using the ideal gas law.
• Inlet and outlet boundary conditions must be pressure inlets and outlets only.
i Note that the pressure inlet boundaries must be set to the cylindrical co-
ordinate flow specification method when turbo-specific NRBCs are used.
• Quad-mapped (structured) surface meshes must be used for inflow and outflow
boundaries in a 3D geometry (i.e., triangular or quad-paved surface meshes are not
allowed). See Figures 7.23.1 and 7.23.2 for examples.
c Fluent Inc. September 29, 2006 7-151
Boundary Conditions
• Reverse flow on the inflow and outflow boundaries are not allowed. If strong reverse
flow is present, then you should consider using the General NRBCs instead.
• NRBCs are not compatible with species transport models. They are mainly used
to solve ideal-gas single-specie flow.
7-152
c Fluent Inc. September 29, 2006
7.23 Non-Reflecting Boundary Conditions
c Fluent Inc. September 29, 2006 7-153
Boundary Conditions
7-154
c Fluent Inc. September 29, 2006
7.23 Non-Reflecting Boundary Conditions
Theory
Turbo-specific NRBCs are based on Fourier decomposition of solutions to the linearized
Euler equations. The solution at the inlet and outlet boundaries is circumferentially
decomposed into Fourier modes, with the 0th mode representing the average boundary
value (which is to be imposed as a user input), and higher harmonics that are modified
to eliminate reflections [317].
In order to treat individual waves, the linearized Euler equations are transformed to
characteristic variable (Ci ) form. If we first consider the 1D form of the linearized Euler
equations, it can be shown that the characteristic variables Ci are related to the solution
variables as follows:
Q̃ = T −1 C (7.23-1)
where
− a12 0 0 1 1
ρ̃
2a2 2a2
C1
1 1
0 0 0
ũ C
a
2 ρ a 2 ρ a 2
1
Q̃ = ũt , T −1
=
0 ρ a
0 0 0 , C = C3
1
ũr
0 0 ρ a
0 0
C4
p̃
1 1 C
0 0 0
5
2 2
where a is the average acoustic speed along a boundary zone, ρ̃, ũa , ũt , ũr , and p̃ represent
perturbations from a uniform condition (e.g., ρ̃ = ρ − ρ, p̃ = p − p, etc.).
Note that the analysis is performed using the cylindrical coordinate system. All overlined
(averaged) flow field variables (e.g., ρ, a) are intended to be averaged along the pitchwise
direction.
In quasi-3D approaches [123, 240, 317], a procedure is developed to determine the changes
in the characteristic variables, denoted by δCi , at the boundaries such that waves will
not reflect. These changes in characteristic variables are determined as follows:
δC = T δQ (7.23-2)
c Fluent Inc. September 29, 2006 7-155
Boundary Conditions
where
−a2
δC1
0 0 0 1
δρ
δC 0 0 ρa 0 0 δu
2
a
δC = δC3 , T =
0 0 0 ρa 0 , δQ = δut
δC4
0 ρa 0 0 1
δur
δC 0 −ρ a 0 0 1 δp
5
The changes to the outgoing characteristics — one characteristic for subsonic inflow (δC5 ),
and four characteristics for subsonic outflow (δC1 , δC2 , δC3 , δC4 ) — are determined from
extrapolation of the flow field variables using Equation 7.23-2.
The changes in the incoming characteristics — four characteristics for subsonic inflow
(δC1 , δC2 , δC3 , δC4 ), and one characteristic for subsonic outflow (δC5 ) — are split
into two components: average change along the boundary (δC i ), and local changes in
the characteristic variable due to harmonic variation along the boundary (δCiL ). The
incoming characteristics are therefore given by
δCij = δCioldj + σ δCinewj − δCioldj (7.23-3)
δCinewj = δC i + δCiLj (7.23-4)
7-156
c Fluent Inc. September 29, 2006
7.23 Non-Reflecting Boundary Conditions
Inlet Boundary
For subsonic inflow, there is one outgoing characteristic (δC5 ) determined from Equa-
tion 7.23-2, and four incoming characteristics (δC1 , δC2 , δC3 , δC4 ) calculated using
Equation 7.23-3. The average changes in the incoming characteristics are computed from
the requirement that the entropy (s), radial and tangential flow angles (αr and αt ), and
stagnation enthalpy (h0 ) are specified. Note that in FLUENT you can specify p0 and T0
at the inlet, from which sin and h0in are easily obtained. This is equivalent to forcing the
following four residuals to be zero:
R1 = p (s − sin ) (7.23-5)
R2 = ρ a (ut − ua tan αt ) (7.23-6)
R3 = ρ a (ur − ua tan αr ) (7.23-7)
R4 = ρ h0 − h0in (7.23-8)
where
The average characteristic is then obtained from residual linearization as follows (see also
Figure 7.23.4 for an illustration of the definitions for the prescribed inlet angles):
−1
δC 1 0 0 0 R1
tan αt M1 −Mt tan αt
δC 2
(1−γ)M M M
tan αt M R2
= tan αr Mt M2 − tan αr
(7.23-11)
δC 3
(γ−1)M M
tan αt M M
R
3
2 −2
δC 4 2M 2 MMr R4
t
(γ−1)M M M
where
ua
Ma = (7.23-12)
a
ut
Mt = (7.23-13)
a
ur
Mr = (7.23-14)
a
c Fluent Inc. September 29, 2006 7-157
Boundary Conditions
and
radial
ur
v
ut αr
ua
axial
αt
theta
where
q
|v| = u2t + u2r + u2a (7.23-18)
ut
et = (7.23-19)
|v|
ur
er = (7.23-20)
|v|
ua
ea = (7.23-21)
|v|
et
tan αt = (7.23-22)
ea
er
tan αr = (7.23-23)
ea
7-158
c Fluent Inc. September 29, 2006
7.23 Non-Reflecting Boundary Conditions
To address the local characteristic changes at each j grid point along the inflow boundary,
the following relations are developed [123, 317]:
Note that the relation for the first and fourth local characteristics force the local entropy
and stagnation enthalpy to match their average steady-state values.
The characteristic variable C20 j is computed from the inverse discrete Fourier transform
of the second characteristic. The discrete Fourier transform of the second characteristic
in turn is related to the discrete Fourier transform of the fifth characteristic. Hence, the
characteristic variable C20 j is computed along the pitch as follows:
N
−1 !
2
θj − θ1
C20 j
X
= 2< Ĉ2n exp i2πn (7.23-25)
θN − θ1
n=1
The Fourier coefficients C20 n are related to a set of equidistant distributed characteristic
variables C5∗j by the following [240]:
N
ut + B X jn
∗
− C exp −i2π β>0
N (a + ua ) j=1 5j
N
Ĉ2n = (7.23-26)
ut + B
− C5j β<0
a + ua
where
( √
i β β>0
B= q (7.23-27)
−sign (ut ) |β| β < 0
and
c Fluent Inc. September 29, 2006 7-159
Boundary Conditions
The set of equidistributed characteristic variables C5∗j is computed from arbitrary dis-
tributed C5j by using a cubic spline for interpolation, where
C5j = −ρ a uaj − ua + (pj − p) (7.23-29)
For supersonic inflow the user-prescribed static pressure (psin ) along with total pressure
(p0in ) and total temperature (T0in ) are sufficient for determining the flow condition at the
inlet.
Outlet Boundary
For subsonic outflow, there are four outgoing characteristics (δC1 , δC2 , δC3 , and δC4 )
calculated using Equation 7.23-2, and one incoming characteristic (δC5 ) determined from
Equation 7.23-3. The average change in the incoming fifth characteristic is given by
δC 5 = −2 (p − pout ) (7.23-30)
where p is the current averaged pressure at the exit plane and pout is the desirable average
exit pressure (this value is specified by you for single-blade calculations or obtained from
the assigned profile for mixing-plane calculations). The local changes (δC5Lj ) are given
by
δC5Lj = C50 j + ρ a uaj − ua − (pj − p) (7.23-31)
0
The characteristic variable C5j is computed along the pitch as follows:
N
−1 !
2
θj − θ1
C50 j
X
= 2< Ĉ5n exp i2πn
(7.23-32)
θN − θ1
n=1
The Fourier coefficients Ĉ5n are related to two sets of equidistantly distributed charac-
teristic variables (C2∗j and C4∗j , respectively) and given by the following [240]:
N N
A2 X jn A4 X jn
∗ ∗
C2j exp i2π − C4j exp i2π β>0
N j=1 N N j=1 N
Ĉ5n = (7.23-33)
A2 C2j − A4 C4j β<0
7-160
c Fluent Inc. September 29, 2006
7.23 Non-Reflecting Boundary Conditions
where
2ua
A2 = (7.23-34)
B − ut
B + ut
A4 = (7.23-35)
B − ut
The two sets of equidistributed characteristic variables (C2∗j and C4∗j ) are computed from
arbitrarily distributed C2j and C4j characteristics by using a cubic spline for interpolation,
where
C2j = ρ a utj − ut (7.23-36)
C4j = ρ a uaj − ua + (pj − p) (7.23-37)
For supersonic outflow all flow field variables are extrapolated from the interior.
Once the changes in the characteristics are determined on the inflow or outflow bound-
aries, the changes in the flow variables δQ can be obtained from Equation 7.23-2. There-
fore, the values of the flow variables at the boundary faces are as follows:
pf = pj + δp (7.23-38)
uaf = uaj + δua (7.23-39)
utf = utj + δut (7.23-40)
urf = urj + δur (7.23-41)
Tf = Tj + δT (7.23-42)
c Fluent Inc. September 29, 2006 7-161
Boundary Conditions
i Note that the pressure inlet boundaries must be set to the cylindrical co-
ordinate flow specification method when turbo-specific NRBCs are used.
3. If necessary, modify the parameters in the set/ submenu:
define −→ boundary-conditions −→ non-reflecting-bc −→
turbo-specific-nrbc −→set
under-relaxation allows you to set the value of the under-relaxation factor σ in
Equation 7.23-3. The default value is 0.75.
discretization allows you to set the discretization scheme. The default is to use
higher-order reconstruction if available.
verbosity allows you to control the amount of information printed to the console
during an NRBC calculation.
• 0 : silent
• 1 : basic information (default)
• 2 : detailed information (for debugging purposes only)
If you want to use the NRBCs with the mixing-plane model you must define the mixing
plane interfaces as pressure-outlet and pressure-inlet zone type pairs.
7-162
c Fluent Inc. September 29, 2006
7.23 Non-Reflecting Boundary Conditions
When the turbo-specific NRBCs are used in conjunction with the parallel solver, all cells
in each boundary zone, where NRBCs will be applied, must be located or contained
within a single partition. You can ensure this by manually partitioning the grid (see
Section 31.5.4: Partitioning the Grid Manually for more information).
i The general NRBC should not be used with the wet steam or real gas
models.
• The general NRBC is not available if the target mass flow rate is activated in the
pressure-outlet panel.
• The general NRBC should not be used if the turbo-specific NRBC is activated.
c Fluent Inc. September 29, 2006 7-163
Boundary Conditions
Theory
General NRBCs are derived by first recasting the Euler equations in an orthogonal coor-
dinate system (x1 , x2 , x3 ) such that one of the coordinates, x1 , is normal to the boundary
Figure 7.23.5. The characteristic analysis [374, 375] is then used to modify terms corre-
sponding to waves propagating in the x1 normal direction. When doing so, a system of
equations can be written to describe the wave propagation as follows:
∂ρ ∂m2 ∂m3
+ d1 + + =0 (7.23-43)
∂t ∂x2 ∂x3
∂m1 ∂(m1 U2 ) ∂(m1 U3 )
+ U1 d1 + ρd3 + + =0
∂t ∂x2 ∂x3
∂m2 ∂(m2 U2 ) ∂(m2 U3 ) ∂P
+ U2 d1 + ρd4 + + + =0
∂t ∂x2 ∂x3 ∂x2
∂m3 ∂(m3 U2 ) ∂(m3 U3 ) ∂P
+ U3 d1 + ρd5 + + + =0
∂t ∂x2 ∂x3 ∂x3
∂ρE 1 2 d2 ∂[(ρE + P )U2 ] ∂[(ρE + P )U3 ]
+ |V | d1 + + m1 d3 + m2 d4 + m3 d5 + + =0
∂t 2 (γ − 1) ∂x2 ∂x3
Where m1 = ρU1 , m2 = ρU1 and m3 = ρU3 and U1 , U2 and U3 are the velocity components
in the coordinate system (x1 , x2 , x3 ). The equations above are solved on pressure-outlet
boundaries, along with the interior governing flow equations, using similar time stepping
algorithms to obtain the values of the primitive flow variables (P, u, v, w, T ).
1 1
d1 = 2
[L2 + (L5 + L1 )] (7.23-44)
c 2
1
d2 = (L5 + L1 )
2
1
d3 = (L5 − L1 )
2ρc
d4 = L3
d5 = L4
7-164
c Fluent Inc. September 29, 2006
7.23 Non-Reflecting Boundary Conditions
x2
local orthogonal
coordinate system
x1
y global coordinate
system
pressure outlet boundary
Figure 7.23.5: The Local Orthogonal Coordinate System onto which Euler
Equations are Recasted for the General NRBC Method
c Fluent Inc. September 29, 2006 7-165
Boundary Conditions
∂P ∂U1
L1 = λ1 ( − ρc ) (7.23-45)
∂x1 ∂x1
∂P ∂P
L2 = λ2 (c2 − )
∂x1 ∂x1
∂U2
L3 = λ3
∂x1
∂U3
L4 = λ4
∂x1
∂P ∂U1
L5 = λ5 ( + ρc )
∂x1 ∂x1
The outgoing and incoming characteristic waves are associated with the characteristic
velocities of the system (i.e eigenvalues), λi , as seen in Figure 7.23.6. These eigenvalues
are given by:
λ1 = U1 − c (7.23-46)
λ2 = λ3 = λ4 = U1
λ5 = U1 + c
For subsonic flow leaving a pressure-outlet boundary, four waves leave the domain (asso-
ciated with positive eigenvalues λ2 , λ3 , λ4 , and λ5 ) and one enters the domain (associated
with negative eigenvalue λ1 ).
To solve Equations 7.23-44 on a pressure-outlet boundary, the values of L2 , L3 , L4 and
∂P
L5 must be first determined from Equations 7.23-46 by using extrapolated values of ∂x 1
,
∂U1 ∂U2 ∂U3
,
∂x1 ∂x1
, and ∂x1 from inside the domain. Then, for the lone incoming wave, the Linear
Relaxation Method (LRM) of Poinsot [287, 288] is used to determine the value of the L1
wave amplitude. The LRM method sets the value of the incoming wave amplitude to be
proportional to the differences between the local pressure on a boundary face and the
imposed exit pressure. Therefore, L1 is given by
where Pexit is the imposed pressure at the exit boundary, K is the relaxation factor, and
P is the local pressure value at the boundary.
In general, the desirable average pressure on a non-reflecting boundary can be either
relaxed toward a pressure value at infinity or enforced to be equivalent to some desired
pressure at the exit of the boundary.
7-166
c Fluent Inc. September 29, 2006
7.23 Non-Reflecting Boundary Conditions
x2
x1
L1, λ 1
L 2 ,λ 2
L 3 ,λ 3
L 4 ,λ 4
L5 , λ 5
flow direction
pressure outlet
boundary
c Fluent Inc. September 29, 2006 7-167
Boundary Conditions
If you want the average pressure at the boundary to relax toward P at infinity (i.e.
Pexit = P∞ ), the suggested K factor is given by:
c
K = σ1 (1 − Mmax 2 ) (7.23-48)
h
where c is the acoustic speed , h is the domain size, Mmax is the maximum Mach number
in the domain, and σ1 is the under-relaxation factor (default value is 0.15) . On the other
hand, if the desired average pressure at the boundary is to approach a specific imposed
value at the boundary, then the K factor is given by:
K = σ2 c (7.23-49)
1. Select pressure-outlet from the Boundary Conditions Panel and click the Set... button.
3. Select one of the two NRBC Pressure Specification options: Exit pressure is at infinity
or Exit pressure is average pressure.
(a) The Exit pressure is at infinity boundary is typically used in unsteady calcu-
lations or when the exit pressure value is imposed at infinity. The boundary
is designed so that the pressure at the boundary relaxes toward the imposed
pressure at infinity. The speed at which this relaxation takes place is controlled
by the parameter, sigma, which can be adjusted in the TUI:
define −→ boundary-conditions −→ non-reflecting-bc −→
general-nrbc −→set
In the set/ submenu, you can set the sigma value. The default value for
sigma is 0.15.
7-168
c Fluent Inc. September 29, 2006
7.23 Non-Reflecting Boundary Conditions
Figure 7.23.7: The Pressure Outlet Panel With the Non-Reflecting Boundary
Enabled
c Fluent Inc. September 29, 2006 7-169
Boundary Conditions
(b) The Exit pressure is average pressure boundary specification is usually used in
steady-state calculations when you want to force the average pressure on the
boundary to approach the exit pressure value. The matching of average exit
pressure to the imposed average pressure is controlled by parameter sigma2
which can be adjusted in the TUI:
define −→ boundary-conditions −→ non-reflecting-bc −→
general-nrbc −→set
In the set/ submenu, you can set the sigma2 value. The default value for
sigma2 is 5.0 .
i There is no guarantee that the sigma2 value of 5.0 will force the average
boundary pressure to match the specified exit pressure in all flow situations.
In the case where the desired average boundary pressure has not been
achieved, the user can intervene to adjust the sigma2 value so that the
desired average pressure on the boundary is approached.
Usually, the solver can operate at higher CFL values without the NRBCs being turned
on. Therefore, for steady-state solutions the best practice is to first achieve a good
stable solution (not necessarily converged) before activating the non-reflecting boundary
condition. In many flow situations, the CFL value must be reduced from the normal
operation to keep the solution stable. This is particularly true with the density-based
implicit solver since the boundary update is done in an explicit manner. A typical CFL
value in the density-based implicit solver, with the NRBC activated, is 2.0.
7-170
c Fluent Inc. September 29, 2006
7.24 User-Defined Fan Model
To use this model, you need to generate an executable that reads a fan profile file that is
written by FLUENT, and writes out a modified one, which FLUENT will then read. The
source code for this executable can be written in any programming language (Fortran or
C, for example). Your program will be called and executed automatically, according to
inputs that you supply through the standard interface.
1. In your model, identify one or more interior faces to represent one or more fan
zones.
Define −→Boundary Conditions...
2. Input the name of your executable and the instructions for reading and writing
profile files in the User-Defined Fan Model panel.
Define −→ User-Defined −→Fan Model...
4. Enter the fan parameters using the standard Fan panel (opened from the Boundary
Conditions panel).
c Fluent Inc. September 29, 2006 7-171
Boundary Conditions
Grid
Figure 7.24.1: The Inlet, Fan, and Pressure Outlet Zones for a Circular Fan
Operating in a Cylindrical Domain
Solving this problem with the user-defined fan model will cause FLUENT to periodically
write out a radial profile file with the current solution variables at the fan face. These
variables (static pressure, pressure jump, axial, radial, and swirling (tangential) velocity
components) will represent averaged quantities over annular sections of the fan. The sizes
of the annular regions are determined by the size of the fan and the number of radial
points to be used in the profiles.
Once the profile file is written, FLUENT will invoke an executable, which will perform
the following tasks:
1. Read the profile file containing the current flow conditions at the fan.
2. Perform a calculation to compute new values for the pressure jump, radial velocity,
and swirl velocity for the fan.
3. Write a new profile file that contains the results of these calculations.
FLUENT will then read the new profile file and continue with the calculation.
7-172
c Fluent Inc. September 29, 2006
7.24 User-Defined Fan Model
In this panel, you can select the fan zone(s) on which your executable will operate under
Fan Zones. In this example, there is only one fan, fan-8. If you have multiple fan zones in
a simulation, for which you have different profile specifications, you can select them all
at this point. Your executable will be able to differentiate between the fan zones because
the zone ID for each fan is included in the solution profile file. The executable will be
invoked once for each zone, and separate profile files will be written for each.
The executable file will be called on to update the profile file periodically, based on the
input for the Iteration Update Interval. An input of 10, as shown in the panel, means that
the fan executable in this example will act every 10 iterations to modify the profile file.
The number of points in the profile file to be written by FLUENT is entered under Output
Profile Points. This profile file can have the same or a different number of points as the
one that is written by the external executable.
Finally, the name of the executable should be entered under External Command Name.
In the current example, the name of the executable is fantest.
i If the executable is not located in your working directory, then you must
type the complete path to the executable.
c Fluent Inc. September 29, 2006 7-173
Boundary Conditions
c
c This program is invoked at intervals by FLUENT to
c read a profile-format file that contains radially
c averaged data at a fan face, compute new pressure-jump
c and swirl-velocity components, and write a new profile
c file that will subsequently be read by FLUENT to
c update the fan conditions.
c
c Usage: fantest < input_profile > output_profile
c
integer npmax
parameter (npmax = 900)
integer inp ! input: number of profile points
integer iptype ! input: profile type (0=radial, 1=point)
real ir(npmax) ! input: radial positions
real ip(npmax) ! input: pressure
real idp(npmax) ! input: pressure-jump
real iva(npmax) ! input: axial velocity
real ivr(npmax) ! input: radial velocity
real ivt(npmax) ! input: tangential velocity
character*80 zoneid
integer rfanprof ! function to read a profile file
integer status
c
status = rfanprof(npmax,zoneid,iptype,
$ inp,ir,ip,idp,iva,ivr,ivt)
if (status.ne.0) then
write(*,*) ’error reading input profile file’
else
do 10 i = 1, inp
idp(i) = 200.0 - 10.0*iva(i)
ivt(i) = 20.0*ir(i)
ivr(i) = 0.0
10 continue
call wfanprof(6,zoneid,iptype,inp,ir,idp,ivr,ivt)
endif
stop
end
7-174
c Fluent Inc. September 29, 2006
7.24 User-Defined Fan Model
After the variable declarations, which have comments on the right, the subroutine rfanprof
is called to read the profile file, and pass the current values of the relevant variables (as
defined in the declaration list) to fantest. A loop is done on the number of points in
the profile to compute new values for:
• The pressure jump across the fan, idp, which in this example is a function of the
axial velocity, iva.
After the loop, a new profile is written by the subroutine wfanprof, shown below.
(For more information on profile file formats, see Section 7.26.2: Boundary Profile File
Format.)
subroutine wfanprof(unit,zoneid,ptype,n,r,dp,vr,vt)
c
c writes a FLUENT profile file for input by the
c user fan model
c
integer unit ! output unit number
character*80 zoneid
integer ptype ! profile type (0=radial, 1=point)
integer n ! number of points
real r(n) ! radial position
real dp(n) ! pressure jump
real vr(n) ! radial velocity
real vt(n) ! tangential velocity
character*6 typenam
if (ptype.eq.0) then
typenam = ’radial’
else
typenam = ’point’
endif
write(unit,*) ’(r’
write(unit,100) r
write(unit,*) ’)’
c Fluent Inc. September 29, 2006 7-175
Boundary Conditions
write(unit,*) ’(pressure-jump’
write(unit,100) dp
write(unit,*) ’)’
write(unit,*) ’(radial-velocity’
write(unit,100) vr
write(unit,*) ’)’
write(unit,*) ’(tangential-velocity’
write(unit,100) vt
write(unit,*) ’)’
100 format(5(e15.8,1x))
return
end
This subroutine will write a profile file in either radial or point format, based on your
input for the integer ptype. (See Section 7.26: Boundary Profiles for more details on the
types of profile files that are available.) The names that you use for the various profiles
are arbitrary. Once you have initialized the profile files, the names you use in wfanprof
will appear as profile names in the Fan panel.
7-176
c Fluent Inc. September 29, 2006
7.24 User-Defined Fan Model
At this time, the Fan Axis, Fan Origin, and Fan Hub Radius can be entered, along with
the choice of profiles for the calculation of pressure jump, tangential velocity, and radial
velocity. With the profile options enabled, you can select the names of the profiles from
the drop-down lists. In the panel above, the selected profiles are named fan-8-pressure-
jump, fan-8-tangential-velocity, and fan-8-radial-velocity, corresponding to the names that
were used in the subroutine wfanprof.
c Fluent Inc. September 29, 2006 7-177
Boundary Conditions
Done.
10 1.7612e-01 7.4618e-02 2.5194e-01 2.4538e-01 2.4569e-01
11 1.6895e-01 8.3699e-02 2.0316e-01 2.0280e-01 2.1169e-01
. . . . . .
. . . . . .
The file fan-8-out.prof is written out by FLUENT and read by the executable fantest.
It contains values for pressure, pressure jump, axial velocity, radial velocity, and tangen-
tial velocity at 20 radial locations at the site of the fan. The file fan-8-in.prof is
generated by fantest and contains updated values for pressure jump and radial and
tangential velocity only. It is therefore a smaller file than fan-8-out.prof. The prefix
for these files takes its name from the fan zone with which the profiles are associated.
An example of the profile file fan-8-in.prof is shown below. This represents the last
profile file to be written by fantest during the convergence history.
7-178
c Fluent Inc. September 29, 2006
7.24 User-Defined Fan Model
Results
A plot of the transverse velocity components at the site of the fan is shown in Fig-
ure 7.24.4. As expected, there is no radial component, and the tangential (swirling)
component increases with radius.
1.04e+01
1.00e+01
9.60e+00
9.20e+00
8.79e+00
8.38e+00
7.97e+00
7.56e+00
7.15e+00
6.75e+00 Y
X Z
6.34e+00
As a final check on the result, an XY plot of the static pressure as a function of x position
is shown (Figure 7.24.5). This XY plot is made on a line at y=0.05 m, or at about half
the radius of the duct. According to the input file shown above, the pressure jump at the
site of the fan should be approximately 97.8 Pa/m. Examination of the figure supports
this finding.
c Fluent Inc. September 29, 2006 7-179
Boundary Conditions
y=.05
1.00e+01
0.00e+00
-1.00e+01
-2.00e+01
-3.00e+01
-4.00e+01
Static
-5.00e+01
Pressure
(pascal) -6.00e+01
-7.00e+01
-8.00e+01
-9.00e+01
-1.00e+02
Y
-0.4 -0.2 0 0.2 0.4 0.6 0.8 1
X Z
Position (m)
Static Pressure
7-180
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
c Fluent Inc. September 29, 2006 7-181
Boundary Conditions
of macros, and the physical properties and operating conditions of the core (pressure drop
parameters, heat exchanger effectiveness, auxiliary fluid flow rate, etc.).
You can also combine several fluid zones as a single heat exchanger group. In this
situation each fluid zone acts as a separate heat exchanger core, and the auxiliary fluid
mass flow rate of the heat exchanger group is divided among the zones in the ratio of the
respective volumes. For the purpose of auxiliary fluid flow, heat exchanger groups can also
be connected in series. In addition, a heat exchanger group can have an auxiliary fluid
pressure drop (e.g., for pressure dependent properties) and a supplementary auxiliary
fluid stream entering or leaving it. For more information on heat exchanger groups, see
Section 7.25.4: Using the Heat Exchanger Group.
The heat exchanger models were designed for “compact” heat exchangers, implying that
the gas side flow is unidirectional. The auxiliary fluid is assumed to flow through a large
number of parallel tubes, which can optionally double back in a serpentine pattern to
create a number of “passes”. You can independently choose the principal auxiliary fluid
flow direction, the pass-to-pass direction and the external gas flow direction.
i It is highly recommended that the free-form Tet mesh is not used in the
Heat Exchanger Model. Instead, evenly distributed Hex/Wedge cells should
be used for improved accuracy and a more robust solution process.
Coolant Passage
7-182
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
Restrictions
The following restrictions are made for the heat exchanger models:
• The gas streamwise direction (see Equation 7.25-1) must be aligned with one of the
three orthogonal axes defined by the rectangular core.
• Flow acceleration effects are neglected in calculating the pressure loss coefficient.
• For the simple-effectiveness-model, the gas capacity rate must be less than the aux-
iliary fluid capacity rate.
• The macro-based method requires that an equal number of cells reside in each
macro of equal size.
• The model can be used to check heat capacity for both the gas and the auxiliary
fluid and takes the lesser of the two for the calculation of heat transfer.
• The model can be used to model heat transfer to the gas from the auxiliary fluid
and vice versa.
• The model can be used in either the serial or parallel FLUENT solvers.
c Fluent Inc. September 29, 2006 7-183
Boundary Conditions
• The model can be used to model heat transfer from the auxiliary fluid to the fluid.
• The auxiliary fluid properties can be a function of pressure and temperature, thus
allowing phase change of the auxiliary fluid.
• The model can be used to make a network of heat exchangers using a heat exchanger
group (Section 7.25.4: Using the Heat Exchanger Group).
1
∆p = f ρm UA2 min (7.25-1)
2
where
∆p = streamwise pressure drop
f = streamwise pressure loss coefficient
ρm = mean gas density
UAmin = gas velocity at the minimum flow area
The pressure loss coefficient is computed from
νe νe A νm
f = (Kc + 1 − σ 2 ) − (1 − σ 2 − Ke ) +2 − 1 + fc (7.25-2)
νi νi Ac νi
where
σ = minimum flow to face area ratio
Kc = entrance loss coefficient
Ke = exit loss coefficient
A = gas-side surface area
Ac = minimum cross-sectional flow area
fc = core friction factor
νe = specific volume at the exit
νi = specific volume at the inlet
νm = mean specific volume ≡ 12 (νe + νi )
7-184
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
Kc and Ke are empirical quantities obtained from experimental data. You will need to
specify these parameters based on graphs that are closest to the heat exchanger config-
uration that you are setting up [176], [174]. These parameters are used to set up large
resistances in the two non-streamwise directions, effectively forcing the gas flow through
the core to be unidirectional.
In Equation 7.25-2, the core friction factor is defined as
fc = aRebmin (7.25-3)
where
a = core friction coefficient
b = core friction exponent
Remin = Reynolds number for velocity at the minimum flow area
a and b are empirical quantities obtained from experimental data. You will need to
specify the core friction coefficient and exponent based on graphs that are closest to the
heat exchanger models that you set up [176], [174].
The Reynolds number in Equation 7.25-3 is defined as
ρm UAmin Dh
Remin = (7.25-4)
µm
where
ρm = mean gas density
µm = mean gas viscosity
Dh = hydraulic diameter
UAmin = gas velocity at the minimum flow area
For a heat exchanger core, the hydraulic diameter can be defined as
Ac
Dh = 4L (7.25-5)
A
where L is the flow length of the heat exchanger. If the tubes are normal to the primary
fluid flow, then L is the length in the primary fluid flow direction. Note that UAmin can
be calculated from
U
UAmin = (7.25-6)
σ
where U is the gas velocity and σ is the minimum flow to face area ratio.
c Fluent Inc. September 29, 2006 7-185
Boundary Conditions
where Tin,hot and Tin,cold are the inlet temperatures of the hot and cold fluids and
The value of depends on the heat exchanger geometry and flow pattern (parallel flow,
counter flow, cross flow, etc.). Though the effectiveness is defined for a complete heat
exchanger, it can be applied to a small portion of the heat exchanger represented by a
computational cell.
For the ntu-model, FLUENT calculates the effectiveness from the ratio of heat capacity
and the number of transfer units using the relation
1 0.22
0.78
= 1 − exp − Ntu (1 − e−Cr Ntu ) (7.25-10)
Cr
7-186
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
Heat Rejection
Heat rejection is computed for each cell within a macro and added as a source term to
the energy equation for the gas flow. Note that heat rejection from the auxiliary fluid to
gas can be either positive or negative.
For the simple-effectiveness-model, the heat transfer for a given cell is computed from
where
= heat exchanger effectiveness
(ṁcp )g = gas capacity rate (flow rate × specific heat)
Tin,auxiliaryfluid = auxiliary fluid inlet temperature of macro containing the cell
Tcell = cell temperature
For the simple-effectiveness-model, the heat rejection from a macro is calculated by sum-
ming the heat transfer of all the cells contained within the macro
X
qmacro = qcell (7.25-12)
all cells in macro
For the ntu-model, the heat transfer for a macro is calculated from
where
= macro effectiveness
Tin,auxiliaryfluid = macro auxiliary fluid inlet temperature
Tin,gas = macro gas inlet temperature
For the ntu-model, the heat transfer for a given cell is computed from
Vcell
qcell = qmacro (7.25-14)
Vmacro
c Fluent Inc. September 29, 2006 7-187
Boundary Conditions
For both heat exchanger models, the total heat rejection from the heat exchanger core is
computed as the sum of the heat rejection from all the macros:
X
qtotal = qmacro (7.25-15)
all macros
The auxiliary fluid inlet temperature to each macro (Tin,auxiliaryfluid in Equations 7.25-11
and 7.25-13) is computed based on the energy balance of the auxiliary fluid flow. For a
given macro,
where hin and hout are the inlet and outlet enthalpies of the auxiliary fluid in the macro.
The auxiliary fluid outlet temperature from the macro is calculated as
hout
cp,auxiliaryfluid
constant specific heat method
Tout = (7.25-17)
f (hout , p) UDF method
where
f = user-defined function
p = auxiliary fluid pressure
The values of hout and Tout then become the inlet conditions to the next macro.
The first row of macros (Macros 0, 1, and 2 in Figure 7.25.1) are assumed to be where
the auxiliary fluid enters the heat exchanger core. When the fixed total heat rejection
from the heat exchanger core is specified, the inlet temperature to the first row of macros
is iteratively computed, so that all of the equations are satisfied simultaneously. When
a fixed auxiliary fluid inlet temperature is specified, the heat transfer for the first row of
macros are used to calculate their exit enthalpy, which becomes the inlet condition for
the next row macros. At the end of each pass, the outlet enthalpy of each macro (in the
last row) is mass averaged to obtain the inlet condition for the next pass macros.
7-188
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
P !
Vi,k
k
ṁi = P P ṁ (7.25-18)
i k Vi,k
where ṁi is the total auxiliary mass flow rate for the heat exchanger group. Vi,k refers
to the volume of the kth finite volume cell within the ith fluid zone. Within each zone,
the auxiliary fluid flows through each macro in series as usual.
At the outlet end of the group, the parallel auxiliary fluid streams through the individual
zones are recombined, and the outlet auxiliary fluid enthalpy is calculated on a mass-
averaged basis:
P !
iṁi hi
h̄ = P (7.25-19)
i ṁi
h = h(T, p, x) (7.25-20)
where p is the absolute pressure and x is the quality (mass fraction of vapor) of a two-
phase vapor-liquid mixture. When pressure-dependent auxiliary fluid properties are used,
the mean pressure within each macro is calculated and passed to the user-defined function
as
1 ∆p
p̄j = pin + j + (7.25-21)
2 N
where
j = macro row index
pin = inlet auxiliary fluid pressure
∆p = overall pressure drop across a heat exchanger group
N = number of rows per pass × number of passes.
c Fluent Inc. September 29, 2006 7-189
Boundary Conditions
Figure 7.25.2: The Heat Exchanger Model Panel Displaying the Model Data
Tab
7-190
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
(a) In the Fluid Zone drop-down list, select the fluid zone representing the heat
exchanger core.
(b) Under the Model Data tab, choose Fixed Heat Rejection or Fixed Inlet Temper-
ature, as required (Figure 7.25.2).
(c) Specify the heat exchanger model as either the default ntu-model or the simple-
effectiveness-model.
(d) Specify the Core Porosity Model if needed.
(e) If the ntu-model is chosen, a Heat Transfer Data... button will appear under
Heat Exchanger Performance Data. Clicking on the Heat Transfer Data... button
will open up the Heat Transfer Data Table panel with information on the fluid
flow rates and heat transfer data (Figure 7.25.3).
Figure 7.25.3: The Heat Transfer Data Table Panel for the NTU Model
(f) Enter the Auxiliary Fluid Temperature and the Primary Fluid Temperature for
the ntu-model.
(g) If the simple-effectiveness-model is chosen, then clicking on the Velocity Effec-
tiveness Curve... button, under the Heat Exchanger Performance Data, allows
you to set the velocity vs effectiveness curve.
(h) Under the Geometry tab, define the macro grid using the Number of Passes,
the Number of Rows/Pass, and the Number of Columns/Pass fields.
c Fluent Inc. September 29, 2006 7-191
Boundary Conditions
Figure 7.25.4: The Heat Exchanger Model Panel Displaying the Geometry Tab
(i) In the Auxiliary Fluid tab, specify the auxiliary fluid properties and conditions
(Auxiliary Fluid Flow Rate, Inlet Temperature, and Auxiliary Fluid Specific Heat).
(j) In the Auxiliary Fluid tab, specify the Auxiliary Fluid Properties Method, either
as a constant-specific-heat or as a user-defined-enthalpy.
(k) Auxiliary Fluid Flow Rate, Heat Rejection, Inlet Temperature, and Inlet Pressure
can be provided as a constant, polynomial or piecewise-linear profile that is a
function of time.
(l) Click Apply in the Heat Exchanger panel to save all the settings.
(m) Repeat steps (a)–(l) for any other heat exchanger fluid zones.
To use multiple fluid zones to define a single heat exchanger, or to connect the auxil-
iary fluid flow path among multiple heat exchangers, see Section 7.25.4: Using the Heat
Exchanger Group.
7-192
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
Figure 7.25.5: The Heat Exchanger Model Panel Displaying the Auxiliary Fluid
Tab
c Fluent Inc. September 29, 2006 7-193
Boundary Conditions
• ntu-model: For the ntu-model you will provide the heat transfer for different primary
and auxiliary fluid flow rates. Click the Heat Transfer Data... to open up a tabular
panel. Set the Number of auxiliary flow rates and primary fluid flow rates. The
panel will resize itself accordingly. You will need to provide various primary fluid
flow rates and auxiliary fluid flow rates and the corresponding heat transfer values.
You may write this data to a file that can be read later.
• simple-effectiveness-model: For this model, you will need to provide velocity versus
effectiveness data. To provide this you can click the Velocity Effectiveness Curve...
button. This will open up a tabular panel. In this panel, you can set the number of
points in the curve, then you can provide velocities and corresponding effectiveness
values. This data can be written to a file and read back.
1. “Snap” the plane tool onto the boundary of the heat exchanger core. (Follow the
instructions in Section 27.6.1: Initializing the Plane Tool for initializing the tool to
a position on an existing surface.)
2. Translate and rotate the axes of the tool appropriately until they are aligned with
the principal directions of the heat exchanger core. The depth direction is de-
termined by the red axis, the height direction by the green axis, and the width
direction by the blue axis.
3. Once the axes are aligned, click on the Update From Plane Tool button in the Heat
Exchanger Model panel. The directional vectors will be set automatically. (Note
that the Update from Plane Tool button will also set the height, width, and depth
of the heat exchanger core.)
7-194
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
width
(1 Macro Column/Pass)
Pass-to-Pass Direction
(3 Passes)
In the Heat Exchanger Model panel, in the Geometry tab, specify the Number of Passes, the
Number of Rows/Pass, and the Number of Columns/Pass. The model will automatically
extrude the macros to the depth of the heat exchanger core. For each pass, the Number
of Rows/Pass are defined in the direction of the auxiliary flow inlet direction and the
Number of Columns/Pass are defined in the direction of the pass-to-pass direction.
c Fluent Inc. September 29, 2006 7-195
Boundary Conditions
You can view the auxiliary fluid path by displaying the macros. To view the macros for
your specified Number of Passes, Number of Rows/Pass, and Number of Columns/Pass,
click the Apply button at the bottom of the panel. Then click View Passes to display it.
The path of the auxiliary fluid is color-coded in the display: macro 0 is red and macro
n − 1 is blue.
For some problems, especially complex geometries, you may want to include portions
of the computational-domain grid in your macros plot as spatial reference points. For
example, you may want to show the location of an inlet and an outlet along with the
macros. This is accomplished by turning on the Draw Grid option. The Grid Display panel
will appear automatically when you turn on the Draw Grid option, and you can set the
grid display parameters there. When you click on View Passes in the Heat Exchanger
Model panel, the grid display, as defined in the Grid Display panel, will be included in the
macros plot (see Figure 7.25.7).
5.00e+00
4.00e+00
3.00e+00
2.00e+00
1.00e+00
Y
Z X
0.00e+00
Macros
7-196
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
• If you want FLUENT to compute the auxiliary fluid inlet temperature for a specified
heat rejection, follow the steps below:
1. Enable the Fixed Heat Rejection option in the Model Data tab.
2. Specify the Heat Rejection (qtotal in Equation 7.25-15) in the Auxiliary Fluid
tab.
3. Specify the Initial Temperature, which will be used by FLUENT as an initial
guess for the inlet temperature (Tin in Equations 7.25-11 and 7.25-16).
• If you want FLUENT to compute the total heat rejection of the core for a given
inlet auxiliary fluid temperature, follow the steps below:
1. Enable the Fixed Inlet Temperature option in the Model Data tab.
2. Specify the Inlet Temperature (Tin in Equations 7.25-11 and 7.25-16) in the
Auxiliary Fluid tab.
• If you enable the User Defined Enthalpy option under the Auxiliary Fluid Properties
Method, you must also specify the Inlet Pressure (pin in Equation 7.25-21) and Inlet
Quality (x in Equation 7.25-20).
If you do not choose a core porosity model, you will need to set the porosity parameters
in the boundary conditions panel for the heat exchanger zone(s). To do this, follow the
procedures described in Section 7.19.6: User Inputs for Porous Media.
The models you define will be saved in the case file.
c Fluent Inc. September 29, 2006 7-197
Boundary Conditions
FLUENT provides a default model for a typical heat exchanger core. To use these values,
simply retain the selection of default-model in the Core Porosity Model drop-down list
in the Heat Exchanger Model panel. (You can view the default parameters in the Heat
Exchanger Model panel, as described below.)
The default-model core porosity model is a list of constant values from the Heat Exchanger
Model panel. These constants are used for setting the porous media parameters.
If you want to define pressure-drop and effectiveness parameters that are different from
those in the default core porosity model, you can create a new model. The steps for
creating a new model are as follows:
1. Click the Edit... button to the right of the Core Porosity Model drop-down list, for
which default-model should have been selected. This will open the Core Porosity
Model panel (Figure 7.25.8).
2. Enter the name of your new model in the Name box at the top of the panel.
7-198
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
3. Under Gas-Side Pressure Drop, specify the following parameters used in Equa-
tion 7.25-2:
Minimum Flow to Face Area Ratio (σ)
Entrance Loss Coefficient (Kc )
Exit Loss Coefficient (Ke )
Gas-Side Surface Area (A)
Minimum Cross Section Flow Area (Ac )
and the Core Friction Coefficient and Core Friction Exponent (a and b, respectively,
in Equation 7.25-3).
4. Click the Change/Create button. This will add your new model to the database.
You can read parameters for your Core Porosity Model from an external file. A sample
file is shown below:
("modelname"
(0.73 0.43 0.053 5.2 0.33 9.1 0.66))
The first entry in the file is the name of the model (e.g., modelname). The second set of
numbers contains the gas-side pressure drop parameters:
(σ Kc Ke A Ac a b)
To read an external heat exchanger file, you will follow these steps:
2. In the resulting Select File dialog box, specify the HXC Parameters File name and
click OK. FLUENT will read the core porosity model parameters, and add the new
model to the database.
To view the parameters associated with a core porosity model that you have already
defined, select the model name in the Database drop-down list (in the Core Porosity
Model panel). The values for that model from the database will be displayed in the Core
Porosity Model panel.
c Fluent Inc. September 29, 2006 7-199
Boundary Conditions
7-200
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
c Fluent Inc. September 29, 2006 7-201
Boundary Conditions
7-202
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
Figure 7.25.11: The Heat Exchanger Group Panel - Auxiliary Fluid Tab
c Fluent Inc. September 29, 2006 7-203
Boundary Conditions
i. You can specify the Supplementary Mass Flow Rate as a constant, polyno-
mial or piecewise-linear profile that is a function of time.
ii. You can specify the Supplementary Flow Temperature as a constant, poly-
nomial or piecewise-linear profile that is a function of time.
7-204
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
(g) Click Create or Replace in the Heat Exchanger Group panel to save all the
settings. Replace changes the parameters of the already existing group that is
selected in the HX Groups list.
c Fluent Inc. September 29, 2006 7-205
Boundary Conditions
where n in the expression d[n] would be 0 for temperature, 1 for pressure, or 2 for
quality. The variable index is 0 for enthalpy, 1 for temperature, or 2 for specific heat.
This user-defined function should return
• The magnitude of a negative auxiliary stream must be less than the primary aux-
iliary fluid inlet flow rate of the heat exchanger group.
• Added streams will be assumed to have the same fluid properties as the primary
inlet auxiliary fluid.
7-206
c Fluent Inc. September 29, 2006
7.25 Heat Exchanger Models
(report-connectivity)
c Fluent Inc. September 29, 2006 7-207
Boundary Conditions
• Point profiles are specified by an unordered set of n points: (xi , yi , vi ) for 2D prob-
lems or (xi , yi , zi , vi ) for 3D problems, where 1 ≤ i ≤ n. Profiles written using the
Write Profile panel and profiles of experimental data in random order are examples
of point profiles.
FLUENT will interpolate the point cloud as needed to obtain values at the boundary
faces. The interpolation method for unstructured point data is zero order. In other
words, for each cell face at the boundary, the solver uses the value from the profile
file located closest to the cell. Therefore, if you wish an accurate specification of
an inlet profile, your profile file should contain a sufficiently high point density.
• Line profiles are specified for 2D problems by an ordered set of n points: (xi , yi , vi ),
where 1 ≤ i ≤ n. Zero-order interpolation is performed between the points. An
example of a line profile is a profile of data obtained from an external program that
calculates a boundary-layer profile.
• Mesh profiles are specified for 3D problems by an m by n mesh of points: (xij , yij ,
zij , vij ), where 1 ≤ i ≤ m and 1 ≤ j ≤ n. Zero-order interpolation is performed
between the points. Examples of mesh profiles are profiles of data from a structured
mesh solution and experimental data in a regular array.
• Radial profiles are specified for 2D and 3D problems by an ordered set of n points:
(ri , vi ), where 1 ≤ i ≤ n. The data in a radial profile are a function of radius
only. Linear interpolation is performed between the points, which must be sorted
in ascending order of the r field. The axis for the cylindrical coordinate system is
determined as follows:
7-208
c Fluent Inc. September 29, 2006
7.26 Boundary Profiles
• Axial profiles are specified for 3D problems by an ordered set of n points: (zi , vi ),
where 1 ≤ i ≤ n. The data in an axial profile are a function of the axial direction.
Linear interpolation is performed between the points, which must be sorted in
ascending order of the z field.
i In the general format description below, “|” indicates that you should input
only one of the items separated by |’s and “...” indicates a continuation
of the list.
c Fluent Inc. September 29, 2006 7-209
Boundary Conditions
((profile1-name point|line|radial n)
(field1-name a1 a2 ... an)
(field2-name b1 b2 ... bn)
.
.
.
(fieldf-name f1 f2 ... fn))
((profile2-name mesh m n)
(field1-name a11 a12 ... a1n
a21 a22 ... a2n
.
.
.
am1 am2 ... amn)
.
.
.
(fieldf-name f11 f12 ... f1n
f21 f22 ... f2n
.
.
.
fm1 fm2 ... fmn))
Boundary profile names must have all lowercase letters (e.g., name). Uppercase letters
in boundary profile names are not acceptable. Each profile of type point, line, and
mesh must contain fields with names x, y, and, for 3D, z. Each profile of type radial
must contain a field with name r. Each profile of type axial must contain a field with
name z. The rest of the names are arbitrary, but must be valid Scheme symbols. For
compatibility with old-style profile files, if the profile type is missing, point is assumed.
7-210
c Fluent Inc. September 29, 2006
7.26 Boundary Profiles
Example
A typical usage of a boundary profile file is to specify the profile of the boundary layer
at an inlet. For a compressible flow calculation, this will be done using profiles of total
pressure, k, and . For an incompressible flow, it might be preferable to specify the inlet
value of streamwise velocity, together with k and .
Below is an example of a profile file that does this:
((turb-prof point 8)
(x
4.00000E+00 4.00000E+00 4.00000E+00 4.00000E+00
4.00000E+00 4.00000E+00 4.00000E+00 4.00000E+00 )
(y
1.06443E-03 3.19485E-03 5.33020E-03 7.47418E-03
2.90494E-01 3.31222E-01 3.84519E-01 4.57471E-01 )
(u
5.47866E+00 6.59870E+00 7.05731E+00 7.40079E+00
1.01674E+01 1.01656E+01 1.01637E+01 1.01616E+01 )
(tke
4.93228E-01 6.19247E-01 5.32680E-01 4.93642E-01
6.89414E-03 6.89666E-03 6.90015E-03 6.90478E-03 )
(eps
1.27713E+02 6.04399E+01 3.31187E+01 2.21535E+01
9.78365E-03 9.79056E-03 9.80001E-03 9.81265E-03 )
)
c Fluent Inc. September 29, 2006 7-211
Boundary Conditions
1. Create a file that contains the desired boundary profile, following the format de-
scribed in Section 7.26.2: Boundary Profile File Format.
2. Read the boundary profile using the Read... button in the Boundary Profiles panel
(Figure 7.26.1) or the File/Read/Profile... menu item.
Define −→Profiles...
File −→ Read −→Profile...
3. In the boundary conditions panels (e.g., the Velocity Inlet and Pressure Inlet panels),
the fields defined in the profile file (and those defined in any other profile file that
you have read in) will appear in the drop-down list to the right of or below each
parameter for which profile specification is allowed. To use a particular profile,
select it in the list.
7-212
c Fluent Inc. September 29, 2006
7.26 Boundary Profiles
Example
For the example given in Section 7.26.2: Example, the profiles are used for inlet values
of x velocity, turbulent kinetic energy, and turbulent kinetic energy dissipation rate, as
illustrated in Figure 7.26.2. (The y velocity is set to a constant value of zero, since it is
assumed negligible. However, a profile of y velocity could also be used.)
Once the profiles have been specified, the boundary conditions have been saved (OK’d),
and the flow solution has been initialized, you can view the inlet profile as follows:
• For 2D calculations, open the Solution XY Plot panel. Select the appropriate bound-
ary zone in the Surfaces list, the variable of interest in the Y Axis Function drop-down
list, and the desired Plot Direction. Ensure that the Node Values check button is
turned on, and then click Plot. You should then see the inlet profile plotted. If the
data plotted do not agree with your specified profile, this means that there is an
error in the profile file.
• For 3D calculations, use the Contours panel to display contours on the appropriate
boundary zone surface. The Node Values check button must be turned on in order
for you to view the profile data. If the data shown in the contour plot do not agree
with your specified profile, this means that there is an error in the profile file.
c Fluent Inc. September 29, 2006 7-213
Boundary Conditions
7-214
c Fluent Inc. September 29, 2006
7.26 Boundary Profiles
1. Define and read the boundary profile as described in Section 7.26.3: Using Boundary
Profiles.
2. In the Boundary Profiles panel, select the profile in the Profile list, and then click
on the Orient... button. This will open the Orient Profile panel (Figure 7.26.3).
c Fluent Inc. September 29, 2006 7-215
Boundary Conditions
3. In the Orient Profile panel, enter the name of the new profile you want to create in
the New Profile box.
4. Specify the number of fields you want to create using the up/down arrows next to
the New Fields box. The number of new fields is equal to the number of vectors
and scalars to be defined plus 1 (for the coordinates).
i Ensure that the coordinates are named x, y, and z only. Do not use any
other names or upper case letters in this field.
(b) Select the appropriate local coordinate fields for x, y, and z from the drop-
down lists under Compute From.... (A selection of 0 indicates that the coordi-
nate does not exist in the original profile; i.e., the original profile was defined
in 2D.)
(b) Select the names of the 3 components of the vector in the local x, y, and z
directions of the boundary profile from the drop-down lists under Compute
From....
(b) Click on the button under Treat as Scalar Quantity in the same row.
(c) Select the name of the scalar in the corresponding drop-down list under Com-
pute From....
7-216
c Fluent Inc. September 29, 2006
7.26 Boundary Profiles
8. Under Orient To..., specify the rotational matrix RM under the Rotation Matrix
[RM]. The rotational matrix used here is based on Euler angles (γ, β, and α) that
define an orthogonal system x0 y 0 z 0 as the result of the three successive rotations
from the original system xyz. In other words,
x0
x
0
y = [RM ] y (7.26-1)
z0 z
RM = [C][B][A] (7.26-2)
where C, B, and A are the successive rotations around the z, y, and x axes, respec-
tively.
Rotation around the z axis:
cos γ − sin γ 0
C = sin γ cos γ 0 (7.26-3)
0 0 1
0 sin α cos α
9. Under Orient To..., specify the Direction Vector. The Direction Vector is the vector
that translates a boundary profile to the new position, and is defined between the
centers of the profile fields.
c Fluent Inc. September 29, 2006 7-217
Boundary Conditions
1.99e+01
1.89e+01 Outlet
1.79e+01
1.69e+01
1.59e+01
1.49e+01
1.39e+01
1.29e+01
1.19e+01
1.09e+01
9.94e+00
8.94e+00
7.95e+00 Inlet
6.96e+00
5.96e+00
4.97e+00
3.97e+00
2.98e+00
1.99e+00 Y
X Z
9.94e-01
0.00e+00
The problem is shown schematically in Figure 7.26.5. Φout is the scalar profile of the
outlet. Φ0out is the image of the Φout rotated 90◦ around the x axis. In this example, since
γ = β = 0, then C = B = I, where I is the identity matrix, and the rotation matrix is
1 0 0 1 0 0
◦ ◦
RM = [C][B][A] = 0 cos 90 − sin 90 = 0 0 −1 (7.26-6)
7-218
c Fluent Inc. September 29, 2006
7.26 Boundary Profiles
10
5
Φout
Rotation 90
30
5
10
Φin
y
x
z 10 5
Directional
vector
(0, 15, −10) T Φ’out
Figure 7.26.5: Problem Specification
c Fluent Inc. September 29, 2006 7-219
Boundary Conditions
i You can fix values for temperature and species mass fractions only if you
are using the pressure-based solver. You can fix values for velocity compo-
nents only if you are using the pressure-based segregated solver. (Refer to
Section 25.1.1: Pressure-Based Solver for information about the pressure-
based segregated solver.)
7-220
c Fluent Inc. September 29, 2006
7.27 Fixing the Values of Variables
c Fluent Inc. September 29, 2006 7-221
Boundary Conditions
1. In the Fluid panel or Solid panel, turn on the Fixed Values option.
2. Fix the values for the appropriate variables, noting the comments below.
• To specify a constant value for a variable, choose constant in the drop-down
list next to the relevant field and then enter the constant value in the field.
• To specify a non-constant value for a variable, you can use a boundary profile
(see Section 7.26: Boundary Profiles) or a user-defined function for a boundary
profile (see the separate UDF Manual). Select the appropriate profile or UDF
in the drop-down list next to the relevant field.
If you specify a radial-type boundary profile (see Section 7.26.1: Boundary
Profile Specification Types) for temperature, enthalpy, species mass fractions,
or turbulence quantities for the k-, Spalart-Allmaras, or k-ω model, the local
coordinate system upon which the radial profile is based is defined by the
Rotation-Axis Origin and Rotation-Axis Direction for the fluid zone. See Sec-
tion 7.17.1: Specifying the Rotation Axis for information about setting these
parameters. (Note that it is acceptable to specify the rotation axis and direc-
tion for a non-rotating zone. This will not cause the zone to rotate; it will not
rotate unless it has been explicitly defined as a moving zone.)
• If you do not want to fix the value for a variable, choose (or keep) none in the
drop-down list next to the relevant field. This is the default for all variables.
7-222
c Fluent Inc. September 29, 2006
7.27 Fixing the Values of Variables
i You can fix values for velocity components only if you are using the
pressure-based segregated solver. (Refer to Section 25.1.1: Pressure-Based
Solver for information about the pressure-based segregated solver.)
i You can fix the value of temperature only if you are using the pressure-
based solver.
c Fluent Inc. September 29, 2006 7-223
Boundary Conditions
i You can fix values for species mass fractions only if you are using the
pressure-based solver.
7-224
c Fluent Inc. September 29, 2006
7.28 Defining Mass, Momentum, Energy, and Other Sources
• A flow source that cannot be represented by an inlet, e.g., due to an issue of scale.
If you need to model an inlet that is smaller than a cell, you can place the cell where
the tiny “inlet” is located in its own fluid zone and then define the mass, momentum,
and energy sources in that cell zone. For the example shown in Figure 7.28.1, you
should set a mass source of ṁ V
= ρj AVj vj and a momentum source of ṁv
V
= ṁv
V
j
, where
V is the cell volume.
• Heat release due to a source (e.g., fire) that is not explicitly defined in your model.
For this case, you can place the cell(s) into which the heat is originally released in
its own fluid zone and then define the energy source in that cell zone.
• An energy source in a solid zone, for conjugate heat transfer applications. For this
case, you can place the cell(s) into which the heat is originally released in its own
solid zone and then define the energy source in that cell zone.
• A species source due to a reaction that is not explicitly included in the model. In
the above example of simulating a fire, you might need to define a source for a
species representing smoke generation.
i Note that if you define a mass source for a cell zone, you should also
define a momentum source and, if appropriate for your model, energy and
turbulence sources. If you define only a mass source, that mass enters the
domain with no momentum or thermal heat. The mass will therefore have
to be accelerated and heated by the flow and, consequently, there may be a
drop in velocity or temperature. This drop may or may not be perceptible,
depending on the size of the source. (Note that defining only a momentum,
energy, or turbulence source is acceptable.)
c Fluent Inc. September 29, 2006 7-225
Boundary Conditions
v
j
Aj
1. In the Fluid panel or Solid panel, turn on the Source Terms option.
2. Set the appropriate source terms under the Source Terms tab, noting the comments
below.
• To specify a source, click the Edit... button next to the mass, momentum,
energy, or other source. The sources panel will open where you will define the
number of sources. For each source, choose constant, user-defined, or none in
the drop-down list.
• To specify a constant source, choose constant in the drop-down list and then
enter the constant value in the field.
• To specify a temperature-dependent or other functional source, you can use a
user-defined function (see the separate UDF Manual).
• If you do not want to specify a source term for a variable, choose (or keep)
none in the drop-down list next to the relevant field. This is the default for
all variables.
7-226
c Fluent Inc. September 29, 2006
7.28 Defining Mass, Momentum, Energy, and Other Sources
• Remember that you should not define just a mass source without defining the
other sources, as described above.
• Since the sources you specify are defined per unit volume, to determine the
appropriate value of your source term you will often need to first determine
the volume of the cell(s) in the zone for which you are defining the source. To
do this, you can use the Volume Integrals panel.
Mass Sources
If you have only one species in your problem, you can simply define a Mass source for
that species. The units for the mass source are kg/m3 -s. In the continuity equation
(Equation 9.2-1), the defined mass source will appear in the Sm term.
If you have more than one species, you can specify mass sources for each individual
species. There will be a total Mass source term as well as a source term listed explicitly
for each species (e.g., h2, o2) except the last one you defined. If the total of all species
mass sources (including the last one) is 0, then you should specify a value of 0 for the
Mass source, and also specify the values of the non-zero individual species mass sources.
Since you cannot specify the mass source for the last species explicitly, FLUENT will
compute it by subtracting the sum of all other species mass sources from the specified
total Mass source.
For example, if the mass source for hydrogen in a hydrogen-air mixture is 0.01, the mass
source for oxygen is 0.02, and the mass source for nitrogen (the last species) is 0.015, you
will specify a value of 0.01 in the h2 field, a value of 0.02 in the o2 field, and a value of
0.045 in the Mass field. This concept also applies within each cell if you use user-defined
functions for species mass sources.
The units for the species mass sources are kg/m3 -s. In the conservation equation for a
chemical species (Equation 14.1-1), the defined mass source will appear in the Si term.
Momentum Sources
To define a source of momentum, specify the X Momentum, Y Momentum, and/or Z
Momentum term. The units for the momentum source are N/m3 . In the momentum
equation (Equation 9.2-3), the defined momentum source will appear in the F~ term.
Energy Sources
To define a source of energy, specify an Energy term. The units for the energy source are
W/m3 . In the energy equation (Equation 13.2-1), the defined energy source will appear
in the Sh term.
c Fluent Inc. September 29, 2006 7-227
Boundary Conditions
Turbulence Sources
Turbulence Sources for the k- Model
To define a source of k or in the k- equations, specify the Turbulence Kinetic Energy or
Turbulence Dissipation Rate term. The units for the k source are kg/m-s3 and those for
are kg/m-s4 .
The defined k source will appear in the Sk term on the right-hand side of the turbulent
kinetic energy equation (e.g., Equation 12.4-1).
The defined source will appear in the S term on the right-hand side of the turbulent
dissipation rate equation (e.g., Equation 12.4-2).
To define a source of modified turbulent viscosity, specify the Modified Turbulent Viscosity
term. The units for the modified turbulent viscosity source are kg/m-s2 . In the trans-
port equation for the Spalart-Allmaras model (Equation 12.3-1), the defined modified
turbulent viscosity source will appear in the Sν̃ term.
To define a source of k or ω in the k-ω equations, specify the Turbulence Kinetic Energy
or Specific Dissipation Rate term. The units for the k source are kg/m-s3 and those for ω
are kg/m3 -s2 .
The defined k source will appear in the Sk term on the right-hand side of the turbulent
kinetic energy equation (Equation 12.5-1).
The defined ω source will appear in the Sω term on the right-hand side of the specific
turbulent dissipation rate equation (Equation 12.5-2).
7-228
c Fluent Inc. September 29, 2006
7.28 Defining Mass, Momentum, Energy, and Other Sources
c Fluent Inc. September 29, 2006 7-229
Boundary Conditions
• Each boundary zone for which you plan to define conditions using GT-Power must
be a flow boundary of one of the following types:
– velocity inlet
– mass flow inlet
– pressure inlet
– pressure outlet
Also, a maximum of 20 boundary zones can be coupled to GT-Power.
• If a mass flow inlet or pressure inlet is coupled to GT-Power, you must select Normal
to Boundary as the Direction Specification Method in the Mass-Flow Inlet or Pressure
Inlet panel. For a velocity inlet, you must select Magnitude, Normal to Boundary as
the Velocity Specification Method in the Velocity Inlet panel.
• Boundary conditions for the following variables can be obtained from GT-Power:
– velocity
– temperature
– pressure
– density
– species mass fractions
– k and (Note that it is recommended that you define these conditions in
FLUENT yourself, rather than using the data provided by GT-Power, since
the GT-Power values are based on a 1D model.)
• Make sure that the material properties you set in FLUENT are the same as those
used in GT-Power, so that the boundary conditions will be valid for your coupled
simulation.
7-230
c Fluent Inc. September 29, 2006
7.29 Coupling Boundary Conditions with GT-Power
• If your model includes species, make sure that the name of each species in GT-Power
corresponds to the Chemical Formula for that species material in the Materials panel.
Also, recall that FLUENT can handle a maximum of 50 species.
• You can install the GT-Power libraries in a directory other than the default location.
If the GT-Power libraries are loaded into a non-default location, you need to set
the following environment variables:
– FLUENT GTIHOME - the GTI installation directory where GT-Power is installed
– FLUENT GTIVERSION - the current version of the GTI installation
1. Read in the mesh file and define the models, materials, and boundary zone types
(but not the actual boundary conditions), noting the requirements and restrictions
listed in Section 7.29.1: Requirements and Restrictions.
2. Specify the location of the GT-Power data and have FLUENT use them to generate
user-defined functions for the relevant boundary conditions (using the 1D Simulation
Library panel, shown in Figure 7.29.1).
Define −→ User-Defined −→1D Coupling...
c Fluent Inc. September 29, 2006 7-231
Boundary Conditions
When you click Start, GT-Power will start up and FLUENT user-defined functions
for each boundary in the input file will be generated.
3. Set boundary conditions for all zones. For flow boundaries for which you are using
GT-Power data, select the appropriate UDFs as the conditions.
i Note that you must select the same UDF for all conditions at a particular
boundary zone (as shown, for example, in Figure 7.29.2); this UDF contains
all of the conditions at that boundary.
4. If you plan to continue the simulation at a later time, starting from the final data
file of the current simulation, specify how often you want to have the case and data
files saved automatically.
File −→ Write −→Autosave...
To use a GT-Power restart file to restart a FLUENT calculation, you must edit the
GT-Power input data file. See the GT-Power User’s Guide for instructions.
5. Continue the problem setup and calculate a solution in the usual manner.
7-232
c Fluent Inc. September 29, 2006
7.30 Coupling Boundary Conditions with WAVE
• There are always five species that must be modeled in FLUENT just as they are
defined in WAVE (F1, F2, F3, F4, and F5). It is recommended that realistic material
properties be assigned to each of the five species.
• Each boundary zone for which you plan to define conditions using WAVE must be
a flow boundary of one of the following types:
– velocity inlet
– mass flow inlet
– pressure inlet
– pressure outlet
Also, a maximum of 20 boundary zones can be coupled to WAVE.
• If a mass flow inlet or pressure inlet is coupled to WAVE, you must select Normal
to Boundary as the Direction Specification Method in the Mass-Flow Inlet or Pressure
Inlet panel. For a velocity inlet, you must select Magnitude, Normal to Boundary as
the Velocity Specification Method in the Velocity Inlet panel.
• Boundary conditions for the following variables can be obtained from WAVE:
– velocity
– temperature
– pressure
– density
c Fluent Inc. September 29, 2006 7-233
Boundary Conditions
• Make sure that the material properties you set in FLUENT are the same as those
used in WAVE, so that the boundary conditions will be valid for your coupled
simulation.
• If your model includes species, make sure that the name of each species in WAVE
corresponds to the Chemical Formula for that species material in the Materials panel.
Also, recall that FLUENT can handle a maximum of 50 species.
1. Read in the mesh file and define the models, materials, and boundary zone types.
2. Specify the location of the WAVE data and have FLUENT use them to generate
user-defined functions for the relevant boundary conditions (using the 1D Simulation
Library panel, shown in Figure 7.30.1).
Define −→ User-Defined −→1D Coupling...
7-234
c Fluent Inc. September 29, 2006
7.30 Coupling Boundary Conditions with WAVE
3. Set boundary conditions for all zones. For flow boundaries for which you are using
WAVE data, select the appropriate UDFs as the conditions.
i Note that you must select the same UDF for all conditions at a particular
boundary zone (as shown, for example, in Figure 7.30.2); this UDF contains
all of the conditions at that boundary.
4. If you plan to continue the simulation at a later time, restarting from the final data
file of the current simulation, you need to instruct both FLUENT and WAVE how
often that you want to automatically save your data. You should instruct FLUENT
to automatically save case and data files at specified intervals using the autosave
feature.
File −→ Write −→Autosave...
c Fluent Inc. September 29, 2006 7-235
Boundary Conditions
In addition, you should instruct WAVE as to how often it should generate its own
restart files. See the WAVE User’s Guide for instructions on this feature.
i To use the restart feature, the time interval for writing data files must be
set to the same value in both FLUENT and WAVE. For example, if FLUENT
has set the autosave feature to 100, then WAVE must also set the restart
file write frequency to 100 as well.
5. Continue the problem setup and calculate a solution in the usual manner.
7-236
c Fluent Inc. September 29, 2006
Chapter 8. Physical Properties
This chapter describes how to define materials, the physical equations used to compute
material properties, and the methods you can use for each property input. Each prop-
erty is described in detail in the following sections. If you are using one of the general
multiphase models (VOF, mixture, or Eulerian), see Section 23.9.3: Defining the Phases
for information about how to define the individual phases and their material properties.
c Fluent Inc. September 29, 2006 8-1
Physical Properties
• viscosity
• heat capacity
• thermal conductivity
8-2
c Fluent Inc. September 29, 2006
8.1 Defining Materials
⇓
path/Fluent.Inc/fluent6.x/cortex/lib/propdb.scm
where path is the directory in which you have installed FLUENT and the variable x
corresponds to your release version, e.g., 2 for fluent6.2.
In addition to using the FLUENT materials database, you can also create your own
database and materials, and use it to define the materials in your problem setup. See
Section 8.1.3: Using a User-Defined Materials Database for information about creating
and using user-defined custom material databases.
i All the materials that exist in your local materials list will be saved in
the case file (when you write one). The materials specified by you will be
available to you if you read this case file into a new solver session.
c Fluent Inc. September 29, 2006 8-3
Physical Properties
By default, your local materials list (i.e., in the solver session) will include a single
fluid material (air) and a single solid material (aluminum). If the fluid involved in your
problem is air, you can use the default properties for air or modify the properties. If the
fluid in your problem is water, you can either copy water from the FLUENT database or
create a new “water” material from scratch. If you copy water from the database, you
can still make modifications to the properties of your local copy of water.
8-4
c Fluent Inc. September 29, 2006
8.1 Defining Materials
Mixture materials will not exist in your local list unless you have enabled species trans-
port (see Chapter 14: Modeling Species Transport and Finite-Rate Chemistry). Similarly,
inert, droplet, and combusting particle materials will not be available unless you have
created a discrete phase injection of these particle types (see Chapter 22: Modeling Dis-
crete Phase). When a mixture material is copied from the database, all of its constituent
fluid materials (species) will automatically be copied over as well.
1. Select the type of material (fluid, solid, etc.) in the Material Type drop-down list.
2. Choose the material for which you want to modify properties, in the Fluent Fluid
Materials drop-down list, Fluent Solid Materials list, or other similarly named list.
The name of the list will be the same as the material type you selected in step 1.
3. Make the required changes to the properties listed in the Properties section of the
panel. You can use the scroll bar to the right of the Properties section to scroll
through the listed items.
4. Click on the Change/Create button to change the properties of the selected material
to your new property settings.
To change the properties of an additional material, repeat the process described above.
Click the Change/Create button after making changes to the properties for each material.
1. Select the type of material (fluid, solid, etc.) in the Material Type drop-down list.
2. Choose the material for which you want to modify properties, in the Fluent Fluid
Materials list, Fluent Solid Materials list, or other similarly named list. The name of
the list will be the same as the material type you selected in step 1.
c Fluent Inc. September 29, 2006 8-5
Physical Properties
3. Enter the new name in the Name field at the top of the panel.
i The maximum character length you can enter in the Name field is 29. If
you enter a material name that is more than 29 characters long, FLUENT
will print an error message in the console window.
To rename another material, repeat the process described above. Click the Change/Create
button after renaming each material.
1. Click on the Fluent Database... button in the Materials panel to open the Fluent
Database Materials panel (Figure 8.1.2).
2. Select the type of material (fluid, solid, etc.) in the Material Type drop-down list.
3. In the Fluent Fluid Materials list, Fluent Solid Materials list, or other similarly named
list, choose the materials you wish to copy by clicking on them. The properties of
the selected material will be displayed in the Properties area.
4. To check the material properties, use the scroll bar to the right of the Properties
area to scroll through the listed items. For some properties, temperature-dependent
functions are available in addition to the constant values. Select one of the function
types in the drop-down list to the right of the property and the relevant parameters
will be displayed. You cannot edit these values, but the panels in which they are
displayed function in the same way as those used for setting temperature-dependent
property functions (Section 8.2: Defining Properties Using Temperature-Dependent
Functions).
The inactive buttons in the Fluent Database Materials panel are operations that are
applicable only for a user-defined database. These operations will be available when
you click the User-Defined Database... button in the Materials panel.
8-6
c Fluent Inc. September 29, 2006
8.1 Defining Materials
5. Click Copy. The materials and their properties will be downloaded from the
database into your local list, and your copy of properties will now be displayed
in the Materials panel.
After copying a material from the database, you can modify its properties or change its
name, as described earlier in this section. The original material in the database will not
be affected by any changes made to your local copy of the material.
c Fluent Inc. September 29, 2006 8-7
Physical Properties
1. Select the new material type (fluid, solid, etc.) in the Material Type drop-down list.
It does not matter which material is selected in the Fluent Fluid Materials, Fluent
Solid Materials, or other similarly named list.
i The maximum character length you can enter in the Name field is 29. If
you enter a material name that is more than 29 characters long, FLUENT
will print an error message in the console window.
3. Set the material’s properties in the Properties area. If there are many properties
listed, you may use the scroll bar to the right of the Properties area to scroll through
the listed items.
4. Click on the Change/Create button. A Question dialog box will appear, asking you
if the original material should be overwritten.
(a) Click on No to retain the original material and add your new material to the
list. A panel will appear asking you to enter the chemical formula of your new
material.
(b) Enter the formula if it is known, and click OK. Else, leave the formula blank
and click on OK.
The Materials panel will be updated to show the new material name and
chemical formula in the Fluid Materials list (or Fluent Solid Materials or other
similarly named list).
8-8
c Fluent Inc. September 29, 2006
8.1 Defining Materials
Deleting a Material
If there are materials in your local materials list that you no longer need, you can delete
them:
1. Select the type of material (fluid, solid, etc.) in the Material Type drop-down list.
2. Choose the material to be deleted in the Fluent Fluid Materials drop-down list, Fluent
Solid Materials list, or other similarly named list. The list’s name will be the same
as the material type you selected in step 1.
Deleting materials from your local list will have no effect on the materials contained in
the global database.
c Fluent Inc. September 29, 2006 8-9
Physical Properties
(air
fluid
(chemical-formula . #f)
(density (constant . 1.225)
(premixed-combustion 1.225 300))
(specific-heat (constant . 1006.43))
(thermal-conductivity (constant . 0.0242))
(viscosity (constant . 1.7894e-05)
(sutherland 1.7894e-05 273.11 110.56)
(power-law 1.7894e-05 273.11 0.666))
(molecular-weight (constant . 28.966))
)
8-10
c Fluent Inc. September 29, 2006
8.1 Defining Materials
(aluminum
solid
(chemical-formula . al)
(density (constant . 2719))
(specific-heat (constant . 871))
(thermal-conductivity (constant . 202.4))
(formation-entropy (constant . 164448.08))
)
To select a user-defined database, click the User-Defined Database... button in the Mate-
rials panel. This will open the Open Database panel.
Click the Browse... button, select the database in the Select File dialog box that opens
and click OK. Click OK in the Open Database panel to open the User-Defined Database
Materials panel.
c Fluent Inc. September 29, 2006 8-11
Physical Properties
The properties of the selected material will appear in the Properties section of the panel.
This panel is similar to the Fluent Database Materials panel in function and operation.
1. In the Materials panel, click the User-Defined Database... button and open the
database from which you want to copy the material.
2. In the User-Defined Database Materials panel of the selected database, select the
type of material (fluid, solid, etc.) in the Material Type drop-down list.
3. In the User-Defined Fluid Materials list, User-Defined Solid Materials list, or other
similarly named list (the list’s name will be the same as the material type you
selected in step 2), choose the materials you wish to copy by clicking on them. The
properties are displayed in the Properties area.
8-12
c Fluent Inc. September 29, 2006
8.1 Defining Materials
4. If you want to check the material properties, use the scroll bar to the right of the
Properties area to scroll through the listed items.
5. Click on the Copy button. The selected materials and their properties will be copied
from the database into your local list, and your copy of the properties will now be
displayed in the Materials panel.
To copy all the materials from the database in one step, click the shaded icon to the
right of the User-Defined Materials title and click Copy.
If a material with the same name is already defined in the case, FLUENT will
prompt you to enter a new name and formula in the New Material Name panel.
Enter a new name and formula in the respective fields and click OK to make a local
copy of the material.
After copying a material from the database, you may modify its properties or change
its name, as described earlier in Section 8.1.2: Using the Materials Panel. The material
in the database will not be affected by any changes you make to your local copy of the
material.
c Fluent Inc. September 29, 2006 8-13
Physical Properties
3. In the User-Defined Database Materials panel, click Copy Materials From Case.....
This will open the Copy Case Material panel.
(a) In the Copy Case Material panel, select the materials that you want to copy.
To select all the materials, click on the shaded icon to the right of the Case
Materials title. Clicking on the unshaded icon will deselect the selections in the
list.
(b) Click Copy and close the panel.
Note: Do not copy materials one by one. This will result in previously copied
materials getting overwritten by the new ones. Instead, select all the ma-
terials to be copied at once and click Copy.
1. In the Materials panel, click on the User-Defined Database... button and open the
database that you want to use.
(a) In the User-Defined Database Materials panel of the selected database, select
the type of material (fluid, solid, etc.) in the Material Type drop-down list.
(b) In the User-Defined Fluid Materials list, User-Defined Solid Materials list, or other
similarly named list. The name of the list will be the same as the material
type you selected in step (a). Select the material to be modified.
8-14
c Fluent Inc. September 29, 2006
8.1 Defining Materials
2. In the Open Database panel, enter the name of the database that you are creating
and click OK.
3. A dialog box will appear asking you confirm the creation of a new file. Click Yes
to confirm.
This will open a blank User-Defined Database Materials (Figure 8.1.7) panel.
c Fluent Inc. September 29, 2006 8-15
Physical Properties
4. Click New... in the User-Defined Database Materials panel. This will open a blank
Material Properties panel.
(a) In the Material Properties panel, under Types, select the material type. You
can select from fluid, solid, inert-particle, droplet-particle, combusting-particle,
and mixture materials.
(b) Enter the name and formula (if required) of the material that you are creating
in the Name and Formula fields.
(c) Depending on the type of material selected in the Types list, properties appli-
cable to that material type will appear in the Available Properties list. Select
the properties that are applicable for the material that you are defining by
clicking on them.
(d) Click the button to move these properties to the Material Properties list on
the right and click Apply. You can use the button to move the property
from the Material Properties list to the Available Properties list.
8-16
c Fluent Inc. September 29, 2006
8.1 Defining Materials
5. To edit the parameters that define a property, select the property in the Material
Properties list and click Edit.... This opens the Edit Property Methods panel.
(a) The methods that can be used to define the selected property are listed in the
Available Properties list. You can select one or more methods and specify them
for the material that you are defining, by selecting and moving them to the
Material Properties list.
(b) To modify each of these methods, you can select the method in the Edit Proper-
ties drop-down list and click Edit.... This will open the corresponding property
panel, where you can modify the parameters used by the property method.
Refer to Sections 8.2 to 8.16 for details of these properties, methods used to
define the properties and the parameters for each method.
(c) Click OK in the Edit Property Methods panel.
7. Click Save in the User-Defined Database Materials panel to save the changes to the
new materials database.
Similarly, you can also append new materials to an existing database. Select the existing
database in the Open Database panel. Create new materials and click save to append
these materials to the existing database.
c Fluent Inc. September 29, 2006 8-17
Physical Properties
8-18
c Fluent Inc. September 29, 2006
8.2 Defining Properties Using Temperature-Dependent Functions
• polynomial:
• piecewise-linear:
φn+1 − φn
φ(T ) = φn + (T − Tn ) (8.2-2)
Tn+1 − Tn
where 1 ≤ n ≤ N and N is the number of segments
• piecewise-polynomial:
c Fluent Inc. September 29, 2006 8-19
Physical Properties
1. In the Materials panel, choose polynomial in the drop-down list to the right of the
property name (e.g., Density). The Polynomial Profile panel (Figure 8.2.1) will open
automatically.
Note: Since this is a modal panel, the solver will not allow you to do anything else
until you perform the following steps.
(a) Specify the number of Coefficients up to 8 coefficients are available. The num-
ber of coefficients defines the order of the polynomial. The default of 1 defines
a polynomial of order 0. The property will be constant and equal to the single
coefficient A1 . An input of 2 defines a polynomial of order 1 and the property
will vary linearly with temperature and so on.
(b) Define the coefficients. Coefficients 1, 2, 3,... correspond to A1 ,A2 , A3 ,... in
Equation 8.2-1. The panel in Figure 8.2.1 shows the inputs for the following
function:
8-20
c Fluent Inc. September 29, 2006
8.2 Defining Properties Using Temperature-Dependent Functions
1. In the Materials panel, choose piecewise-linear in the drop-down list to the right of
the property name (e.g., Viscosity).The Piecewise-Linear Profile panel(Figure 8.2.2)
will open automatically.
Since this is a modal panel, the solver will not allow you to do anything else until
you perform the following steps.
(a) Set the number of Points defining the piecewise distribution.
(b) Under Data Points, enter the data pairs for each point. First enter the in-
dependent and dependent variable values for Point 1, then increase the Point
number and enter the appropriate values for each additional pair of variables.
The pairs of points must be supplied in the order of increasing value of tem-
perature. The solver will not sort them for you. A maximum of 30 piecewise
points can be defined for each property. The panel in Figure 8.2.2 shows the
final inputs for the profile depicted in Figure 8.2.3.
c Fluent Inc. September 29, 2006 8-21
Physical Properties
Viscosity, µ × 10 5 (Pa-sec)
(440, 2.445 × 10-5 )
•
2
• -5
(360, 2.117 × 10 )
• -5
• (300, 1.846 × 10 )
(250, 1.599 × 10 -5 )
Temperature, T (K)
8-22
c Fluent Inc. September 29, 2006
8.2 Defining Properties Using Temperature-Dependent Functions
2. Specify the number of Ranges. For the example of Equation 8.2-5, two ranges of
temperatures are defined:
for 300 ≤ T < 1000 :
−3 2 −6 3 −10 4
429.929 + 1.874T − 1.966 × 10 T + 1.297 × 10 T − 4.000 × 10 T
cp (T ) =
for 1000 ≤ T < 5000 :
841.377 + 0.593T − 2.415 × 10−4 T 2 + 4.523 × 10−8 T 3 − 3.153 × 10−12 T 4
(8.2-5)
You may define up to three ranges. The ranges must be supplied in the order of
increasing value of temperature. The solver will not sort them for you.
3. For the first range (Range = 1), specify the Minimum and Maximum temperatures,
and the number of Coefficients. (Up to eight coefficients are available.) The number
of coefficients defines the order of the polynomial. The default of 1 defines a
polynomial of order 0. The property will be constant and equal to the single
coefficient A1 . An input of 2 defines a polynomial of order 1. The property will
vary linearly with temperature and so on.
5. Increase the value of Range and enter the Minimum and Maximum temperatures,
number of Coefficients, and the Coefficients (B1 ,B2 , B3 ,...) for the next range.
Repeat if there is a third range.
i In the Fluent Database Materials panel, you cannot edit the profiles, but
you can examine them by clicking on the View... button (instead of the
Edit... button.)
c Fluent Inc. September 29, 2006 8-23
Physical Properties
8.3 Density
FLUENT provides several options for definition of the fluid density:
• constant density
Each of these input options and the governing physical models are explained in the
following sections. In all cases, you will define the Density in the Materials panel.
Define −→Materials...
• For compressible flows, the ideal gas law is the appropriate density relationship.
• For incompressible flows, you may choose one of the following methods:
– Constant density, if you do not want density to be a function of temperature.
– The incompressible ideal gas law, when pressure variations are small enough
that the flow is fully incompressible but you wish to use the ideal gas law to
express the relationship between density and temperature (e.g., for a natural
convection problem).
– Density as a polynomial, piecewise-linear, or piecewise-polynomial function
of temperature, when the density is a function of temperature only, as in a
natural convection problem.
– The Boussinesq model, for natural convection problems involving small changes
in temperature.
8-24
c Fluent Inc. September 29, 2006
8.3 Density
• For calculations with the pressure-based solver that do not use one of the general
multiphase models, the compressible ideal gas law cannot be mixed with any other
density methods. This means that if the compressible ideal gas law is used for one
material, it must be used for all materials.
This restriction does not apply to the density-based solvers.
• There is only one specified operating pressure and one specified operating tempera-
ture. This means that if you are using the ideal gas law for more than one material,
they will share the same operating pressure. If you are using the Boussinesq model
for more than one material, they will share the same operating temperature.
c Fluent Inc. September 29, 2006 8-25
Physical Properties
• piecewise-linear:
ρn+1 − ρn
ρ(T ) = ρn + (T − Tn ) (8.3-1)
Tn+1 − Tn
• piecewise-polynomial:
• polynomial:
pop
ρ= R (8.3-5)
Mw
T
where,
R = the universal gas constant
Mw = the molecular weight of the gas
pop = Operating Pressure
In this form, the density depends only on the operating pressure and not on the local
relative pressure field.
8-26
c Fluent Inc. September 29, 2006
8.3 Density
1. Enable the ideal gas law for an incompressible fluid by choosing incompressible-ideal-
gas from the drop-down list to the right of Density in the Materials panel.
Specify the incompressible ideal gas law individually for each material that you
want to use it for. See Section 8.3.7: Composition-Dependent Density for Multi-
component Mixtures for information on specifying the incompressible ideal gas law
for mixtures.
2. Set the operating pressure by defining the Operating Pressure in the Operating Con-
ditions panel.
Define −→Operating Conditions...
i By default, operating pressure is set to 101325 Pa. The input of the oper-
ating pressure is of great importance when you are computing density with
the ideal gas law. See Section 8.14: Operating Pressure for recommenda-
tions on setting appropriate values for the operating pressure.
3. Set the molecular weight of the homogeneous or single-component fluid (if no chem-
ical species transport equations are to be solved), or the molecular weights of each
fluid material (species) in a multicomponent mixture. For each fluid material, enter
the value of the Molecular Weight in the Materials panel.
pop + p
ρ= R (8.3-6)
Mw
T
where,
p = the local relative (or gauge) pressure predicted by FLUENT
pop = the Operating Pressure
c Fluent Inc. September 29, 2006 8-27
Physical Properties
Density Inputs for the Ideal Gas Law for Compressible Flows
The inputs for the ideal gas law are as follows:
1. Enable the ideal gas law for a compressible fluid by choosing ideal-gas from the
drop-down list to the right of Density in the Materials panel.
Specify the ideal gas law individually for each material that you want to use it for.
See Section 8.3.7: Composition-Dependent Density for Multicomponent Mixtures
for information on specifying the ideal gas law for mixtures.
2. Set the operating pressure by defining the Operating Pressure in the Operating Con-
ditions panel.
Define −→Operating Conditions...
i The input of the operating pressure is of great importance when you are
computing density with the ideal gas law. Equation 8.3-6 notes that the
operating pressure is added to the relative pressure field computed by the
solver, yielding the absolute static pressure. See Section 8.14: Operating
Pressure for recommendations on setting appropriate values for the oper-
ating pressure. By default, Operating pressure is set to 101325 Pa.
3. Set the molecular weight of the homogeneous or single-component fluid (if no chem-
ical species transport equations are to be solved), or the molecular weights of each
fluid material (species) in a multicomponent mixture. For each fluid material, enter
the value of the Molecular Weight in the Materials panel.
8-28
c Fluent Inc. September 29, 2006
8.3 Density
• If you are modeling incompressible flow using the ideal gas law, select
incompressible-ideal-gas for the mixture material in the Density drop-down list
in the Materials panel.
• If you have a user-defined function that you want to use to model the density,
you can choose either the user-defined method or the user-defined-mixing-law
method for the mixture material in the drop-down list.
The only difference between the user-defined-mixing-law and the user-defined option
for specifying density, viscosity and thermal conductivity of mixture materials,
is that with the user-defined-mixing-law option, the individual properties of the
species materials can also be specified. (Note that only the constant, the polynomial
methods and the user-defined methods are available.)
2. Click Change/Create.
3. If you have selected volume-weighted-mixing-law, define the density for each of the
fluid materials that comprise the mixture. You may define constant or (if applica-
ble) temperature-dependent densities for the individual species.
4. If you selected user-defined-mixing-law, define the density for each of the fluid
materials that comprise the mixture. You may define constant, or (if applica-
ble) temperature-dependent densities, or user-defined densities for the individual
species. For more information on defining properties with user-defined functions,
see the separate UDF Manual .
If you are modeling a non-ideal-gas mixture, FLUENT will compute the mixture density
as
1
ρ = P Yi (8.3-7)
i ρi
pop + p
ρ= (8.3-8)
RT i MYw,i
P i
where,
p = the local relative (or gauge) pressure predicted by FLUENT
R = the universal gas constant
Yi = the mass fraction of species i
Mw,i = the molecular weight of species i
pop = the Operating Pressure
c Fluent Inc. September 29, 2006 8-29
Physical Properties
In FLUENT, if you choose to define the density using the ideal gas law for an incompress-
ible flow, the solver will compute the density as
pop
ρ= P Yi (8.3-9)
RT i Mw,i
where,
R = the universal gas constant
Yi = the mass fraction of species i
Mw,i = the molecular weight of species i
pop = the Operating Pressure
8.4 Viscosity
FLUENT provides several options for definition of the fluid viscosity:
• constant viscosity
• kinetic theory
• non-Newtonian viscosity
• user-defined function
Each of these input options and the governing physical models are detailed in this section.
(User-defined functions are described in the separate UDF Manual.) In all cases, define
the Viscosity in the Materials panel.
Define −→Materials...
Viscosities are input as dynamic viscosity (µ) in units of kg/m-s in SI units or lbm /ft-s
in British units. FLUENT does not ask for input of the kinematic viscosity (ν).
8-30
c Fluent Inc. September 29, 2006
8.4 Viscosity
• piecewise-linear:
µn+1 − µn
µ(T ) = µn + (T − Tn ) (8.4-1)
Tn+1 − Tn
• piecewise-polynomial:
• polynomial:
• Sutherland’s law
• power law
i The power law described here is different from the non-Newtonian power
law described in Section 8.4.5: Viscosity for Non-Newtonian Fluids.
For one of the first three, select piecewise-linear, piecewise-polynomial, polynomial in the Vis-
cosity drop-down list and then enter the data pairs (Tn , µn ), ranges and coefficients, or co-
efficients that describe these functions Section 8.2: Defining Properties Using Temperature-
Dependent Functions. For Sutherland’s law or the power law, choose sutherland or power-
law respectively in the drop-down list and enter the parameters.
c Fluent Inc. September 29, 2006 8-31
Physical Properties
C1 T 3/2
µ= (8.4-5)
T + C2
where,
µ = the viscosity in kg/m-s
T = the static temperature in K
C1 and C2 = the coefficients
Yi = the mass fraction of species i
Mw,i = the molecular weight of species i
pop = the Operating Pressure
For air at moderate temperatures and pressures, C1 = 1.458 × 10−6 kg/m-s-K1/2 , and
C2 = 110.4 K.
Sutherland’s law with three coefficients has the form
3/2
T T0 + S
µ = µ0 (8.4-6)
T0 T +S
where,
µ = the viscosity in kg/m-s
T = the static temperature in K
µ0 = reference value in kg/m-s
T0 = reference temperature in K
S = an effective temperature in K (Sutherland constant)
For air at moderate temperatures and pressures, µ0 = 1.716×10−5 kg/m-s, T0 = 273.11 K,
and S = 110.56 K.
To use Sutherland’s law, choose sutherland in the drop-down list to the right of Viscosity.
The Sutherland Law panel will open, and you can enter the coefficients as follows:
2. For the Two Coefficient Method, set C1 and C2. For the Three Coefficient Method,
set the Reference Viscosity µ0 , the Reference Temperature T0 , and the Effective Tem-
perature S.
8-32
c Fluent Inc. September 29, 2006
8.4 Viscosity
µ = BT n (8.4-7)
n
T
µ = µ0 (8.4-8)
T0
To use the power law, choose power-law in the drop-down list to the right of Viscosity.
The Power Law panel will open, and you can enter the coefficients as follows:
i Note that you must use SI units if you choose the two-coefficient method.
2. For the Two Coefficient Method, set B and the Temperature Exponent n. For the
Three Coefficient Method, set the Reference Viscosity µ0 , the Reference Temperature
T0 , and the Temperature Exponent n.
c Fluent Inc. September 29, 2006 8-33
Physical Properties
T
T∗ = (8.4-10)
(/kB )
The Lennard-Jones parameters, σ and /kB , are inputs to the kinetic theory calculation
that you supply by selecting kinetic-theory from the drop-down list to the right of Viscosity
in the Materials panel. The solver will use these kinetic theory inputs in Equation 8.4-9
to compute the fluid viscosity. See Section 8.13: Kinetic Theory Parameters for details
about these inputs.
1. For the mixture material, choose mass-weighted-mixing-law or, if you are using the
ideal gas law for density, ideal-gas-mixing-law in the drop-down list to the right of
Viscosity. If you have a user-defined function that you want to use to model the
viscosity, you can choose either the user-defined method or the user-defined-mixing-
law method for the mixture material in the drop-down list.
2. Click Change/Create.
3. Define the viscosity for each of the fluid materials that comprise the mixture. You
may define constant or (if applicable) temperature-dependent viscosities for the
individual species. You may also use kinetic theory for the individual viscosities,
or specify a non-Newtonian viscosity, if applicable.
4. If you selected user-defined-mixing-law, define the viscosity for each of the fluid
materials that comprise the mixture. You may define constant, or (if applica-
ble) temperature-dependent viscosities, or user-defined viscosities for the individual
8-34
c Fluent Inc. September 29, 2006
8.4 Viscosity
If you are using the ideal gas law, the solver will compute the mixture viscosity based on
kinetic theory as
X Xi µi
µ= P (8.4-11)
i j Xi φij
where
1/2 1/4 2
µi Mw,j
1+ µj Mw,i
φij = h i1/2 (8.4-12)
Mw,i
8 1+ Mw,j
X
µ= Yi µi (8.4-13)
i
τ = µD (8.4-14)
where D is defined by
!
∂uj ∂ui
D= + (8.4-15)
∂xi ∂xj
c Fluent Inc. September 29, 2006 8-35
Physical Properties
For some non-Newtonian fluids, the shear stress can similarly be written in terms of a
non-Newtonian viscosity η:
τ =η D D (8.4-16)
• power law
• Cross model
i Note that the non-Newtonian power law described below is different from
the power law described in Section 8.4.2: Power-Law Viscosity Law.
Note: Non-newtonian model for single phase is available for the mixture model and it is
recommended that this should be attached to the primary phase.
Appropriate values for the input parameters for these models can be found in the litera-
ture (e.g., [368]).
8-36
c Fluent Inc. September 29, 2006
8.4 Viscosity
FLUENT allows you to place upper and lower limits on the power law function, yielding
the following equation:
where k, n, T0 , ηmin , and ηmax are input parameters. k is a measure of the average
viscosity of the fluid (the consistency index); n is a measure of the deviation of the
fluid from Newtonian (the power-law index), as described below; T0 is the reference
temperature; and ηmin and ηmax are, respectively, the lower and upper limits of the power
law. If the viscosity computed from the power law is less than ηmin , the value of ηmin will
be used instead. Similarly, if the computed viscosity is greater than ηmax , the value of
ηmax will be used instead. Figure 8.4.1 shows how viscosity is limited by ηmin and ηmax
at low and high shear rates.
η max
log η
η min
.
log γ
Figure 8.4.1: Variation of Viscosity with Shear Rate According to the Non-
Newtonian Power Law
c Fluent Inc. September 29, 2006 8-37
Physical Properties
where
1 1
H(T ) = exp α − (8.4-21)
T − T0 Tα − T0
and the parameters n, λ, Tα , η0 , and η∞ are dependent upon the fluid. λ is the time
constant, n is the power-law index (as described above for the non-Newtonian power law),
T0 is set to zero by default, while Tα is the reference temperature at which H(T ) = 1.
T and Tα are the absolute temperatures and η0 and η∞ are, respectively, the zero- and
infinite-shear viscosities, and α is the activation energy. Figure 8.4.2 shows how viscosity
is limited by η0 and η∞ at low and high shear rates.
η0
log η
η∞
.
log γ
Figure 8.4.2: Variation of Viscosity with Shear Rate According to the Car-
reau Model
To use the Carreau model, choose carreau in the drop-down list to the right of Viscosity.
The Carreau Model panel will open, and you can enter the Time Constant λ, Power-Law
Index n, Reference Temperature Tα , Zero Shear Viscosity η0 , Infinite Shear Viscosity η∞ , and
Activation Energy α.
8-38
c Fluent Inc. September 29, 2006
8.4 Viscosity
Cross Model
The Cross model for viscosity is
η0
η= (8.4-22)
1 + (λγ̇)1−n
To use the Cross model, choose cross in the drop-down list to the right of Viscosity. The
Cross Model panel will open, and you can enter the Zero Shear Viscosity η0 , Time Constant
λ, and Power-Law Index n .
c Fluent Inc. September 29, 2006 8-39
Physical Properties
τ = τ 0 + ηD (8.4-23)
The Herschel-Bulkley model combines the effects of Bingham and power-law behavior in
a fluid. For low strain rates (γ̇ < τ0 /µ0 ), the “rigid” material acts like a very viscous
fluid with viscosity µ0 . As the strain rate increases and the yield stress threshold, τ0 , is
passed, the fluid behavior is described by a power law.
τ0
. .
γ0
γ
Figure 8.4.4: Variation of Shear Stress with Shear Rate According to the
Herschel-Bulkley Model
8-40
c Fluent Inc. September 29, 2006
8.5 Thermal Conductivity
If you choose the Herschel-Bulkley model for Bingham plastics, Equation 8.4-24 will be
used to determine the fluid viscosity.
The Herschel-Bulkley model is commonly used to describe materials such as concrete,
mud, dough, and toothpaste, for which a constant viscosity after a critical shear stress is a
reasonable assumption. In addition to the transition behavior between a flow and no-flow
regime, the Herschel-Bulkley model can also exhibit a shear-thinning or shear-thickening
behavior depending on the value of n.
To use the Herschel-Bulkley model, choose herschel-bulkley in the drop-down list to the
right of Viscosity. The Herschel-Bulkley panel will open, and you can enter the Consistency
Index k, Power-Law Index n, Yield Stress Threshold τ0 , and Yielding Viscosity µ0 .
• kinetic theory
• user-defined
Each of these input options and the governing physical models are detailed in this section.
User-defined functions (UDFs) are described in the separate UDF Manual.
c Fluent Inc. September 29, 2006 8-41
Physical Properties
In all cases, you will define the Thermal Conductivity in the Materials panel (Figure 8.5.1).
Define −→Materials...
8-42
c Fluent Inc. September 29, 2006
8.5 Thermal Conductivity
• piecewise-linear:
kn+1 − kn
k(T ) = kn + (T − Tn ) (8.5-1)
Tn+1 − Tn
• piecewise-polynomial:
• polynomial:
You can input the data pairs (Tn , kn ), ranges and coefficients Ai and Bi , or coefficients Ai
that describe these functions using the Materials panel, as described in Section 8.2: Defin-
ing Properties Using Temperature-Dependent Functions.
15 R 4 c p Mw 1
k= µ + (8.5-5)
4 Mw 15 R 3
where R is the universal gas constant, Mw is the molecular weight, µ is the material’s
specified or computed viscosity, and cp is the material’s specified or computed specific
heat capacity.
To enable the use of this equation for calculating thermal conductivity, select kinetic-
theory from the drop-down list to the right of Thermal Conductivity in the Materials panel.
The solver will use Equation 8.5-5 to compute the thermal conductivity.
c Fluent Inc. September 29, 2006 8-43
Physical Properties
1. For the mixture material, choose mass-weighted-mixing-law or, if you are using the
ideal gas law, ideal-gas-mixing-law in the drop-down list to the right of Thermal
Conductivity. If you have a user-defined function that you want to use to model
the thermal conductivity, you can choose either the user-defined method or the
user-defined-mixing-law method for the mixture material in the drop-down list.
The only difference between the user-defined-mixing-law and the user-defined option
for specifying density, viscosity and thermal conductivity of mixture materials,
is that with the user-defined-mixing-law option, the individual properties of the
species materials can also be specified. (Note that only the constant, the polynomial
methods and the user-defined methods are available.)
2. Click Change/Create.
3. Define the thermal conductivity for each of the fluid materials that comprise the
mixture. You may define constant or (if applicable) temperature-dependent thermal
conductivities for the individual species. You may also use kinetic theory for the
individual thermal conductivities, if applicable.
8-44
c Fluent Inc. September 29, 2006
8.5 Thermal Conductivity
If you are using the ideal gas law, the solver will compute the mixture thermal conduc-
tivity based on kinetic theory as
X Xi ki
k= P (8.5-6)
i j Xj φij
where
1/2 1/4 2
µi Mw,j
1+ µj Mw,i
φij = h i1/2 (8.5-7)
Mw,i
8 1+ Mw,j
X
k= Yi k i (8.5-8)
i
∂T
qi = −kij (8.5-9)
∂xj
The following options are available for defining anisotropic thermal conductivity in FLU-
ENT. These are discussed below.
• anisotropic
• biaxial
• orthotropic
• cylindrical orthotropic
i Note that the anisotropic conductivity options are available only with the
pressure-based solver; you cannot use them with the density-based solvers.
c Fluent Inc. September 29, 2006 8-45
Physical Properties
where k is the conductivity and êij is a matrix (2 × 2 for two dimensions and 3 × 3 for
three-dimensional problems. Note that êij can be a non-symmetric matrix.
To define anisotropic thermal conductivity for a solid material, select anisotropic for
Thermal Conductivity in the Materials panel (Figure 8.5.1). This will open the Anisotropic
Conductivity panel (Figure 8.5.2).
In the Anisotropic Conductivity panel, enter the Matrix Components of matrix êij and then
select the Conductivity (k in Equation 8.5-10) to be a constant, polynomial function of
temperature (polynomial, piecewise-linear, piecewise-polynomial), or user-defined function.
See Sections 8.5.1 and 8.5.2 for details on constants and thermal polynomial functions.
When you select the user-defined option, the User-Defined Functions panel will open allow-
ing you to hook a DEFINE PROPERTY UDF only if you have previously loaded a compiled
UDF library or interpreted the UDF. Otherwise, you will get an error message. Refer to
the separate UDF Manual.
8-46
c Fluent Inc. September 29, 2006
8.5 Thermal Conductivity
In the Biaxial Conductivity panel, both the conductivity normal to the surface of the solid
region (Transverse Conductivity) and the conductivity within the shell or solid region
(Planar Conductivity) can be defined as constant, polynomial, piecewise-linear, or piecewise-
polynomial. See Sections 8.5.1 and 8.5.2 for details on these parameters. Within the shell,
however, the conductivity is isotropic. See Section 7.13.1: Shell Conduction in Thin-Walls
for more information about shell conduction in walls.
c Fluent Inc. September 29, 2006 8-47
Physical Properties
Since the directions (êξ , êη , êζ ) are mutually orthogonal, only the first two need to be
specified for three-dimensional problems. êξ is defined using X,Y,Z under Direction 0
Components, and êη is defined using X,Y,Z under Direction 1 Components. You can define
Conductivity 0 (kξ ), Conductivity 1 (kη ), and Conductivity 2 (kζ ) as constant, polynomial,
piecewise-linear, piecewise-polynomial functions of temperature, or user-defined. See Sec-
tions 8.5.1 for and 8.5.2 for details on constant and temperature profile functions.
When you select the user-defined option, the User-Defined Functions panel will open allow-
ing you to hook a DEFINE PROPERTY UDF only if you have previously loaded a compiled
UDF library or interpreted the UDF. Otherwise, you will get an error message. Refer to
the separate UDF Manual.
i For two-dimensional problems, only the functions (kξ , kη ) and the unit
vector (êξ ) need to be specified.
8-48
c Fluent Inc. September 29, 2006
8.5 Thermal Conductivity
In three-dimensional cases, the origin and the direction of the cylindrical coordinate
system must be specified along with the radial, tangential, and axial direction conductiv-
ities. In two-dimensional cases, the origin of the cylindrical coordinate system must be
specified along with the radial and tangential direction conductivities. Note that in two-
dimensional cases, the direction is always along the +z axis. FLUENT will automatically
compute the anisotropic conductivity matrix at each cell from this input. The calculation
is based on the location of the cell in the cylindrical coordinate system specified.
c Fluent Inc. September 29, 2006 8-49
Physical Properties
You can define the Radial Conductivity, Tangential Conductivity, and Axial Conductivity as
constant, polynomial, piecewise-linear, piecewise-polynomial, or as user-defined functions of
temperature. See Sections 8.5.1 and 8.5.2 for details on constant and thermal profile
functions.
When you select the user-defined option, the User-Defined Functions panel will open allow-
ing you to hook a DEFINE PROPERTY UDF only if you have previously loaded a compiled
UDF library or interpreted the UDF. Otherwise, you will get an error message. Refer to
the separate UDF Manual.
i For conductivity calculations near the wall, the cell next to the wall is
chosen for computing the conductivity matrix instead of the wall itself.
∇ · (Γ · ∇φk ) (8.6-1)
8-50
c Fluent Inc. September 29, 2006
8.6 User-Defined Scalar (UDS) Diffusivity
∇ · (Γ∇φk ) (8.6-2)
You can specify isotropic diffusivity as a single user-defined function that applies to all
UDS transport equations. For this case, choose user-defined from the drop-down list for
UDS Diffusivity in the Materials panel (Figure 8.6.1).
Define −→Materials...
c Fluent Inc. September 29, 2006 8-51
Physical Properties
If you have previously loaded a compiled UDF library or have interpreted the UDF, then
the User-Defined Functions panel will open, allowing you to hook the DEFINE DIFFUSIVITY
UDF to FLUENT. If no functions have been loaded, you will get an error message. Refer
to the separate UDF Manual.
Isotropic diffusion coefficients can also be defined on a per-scalar basis by selecting
defined-per-uds from the drop-down list for UDS Diffusivity in the Materials panel (Fig-
ure 8.6.2). This will open the UDS Diffusion Coefficients panel (Figure 8.6.3).
8-52
c Fluent Inc. September 29, 2006
8.6 User-Defined Scalar (UDS) Diffusivity
In the UDS Diffusion Coefficients panel, select a scalar equation (e.g., uds-0) and then
choose a constant, polynomial, or user-defined function from the Coefficient drop-down list.
(For the default fluid (air), the constant diffusion coefficient is 1 kg/m-s.) If you choose
polynomial, the Polynomial Profile panel will open and you can specify your coefficients as
a function of temperature. See Section 8.2.1: Inputs for Polynomial Functions for details.
When you select the user-defined option, the User-Defined Functions panel will open al-
lowing you to hook a DEFINE DIFFUSIVITY UDF only if you have previously loaded a
compiled UDF library or interpreted a UDF. Otherwise, you will get an error message.
Refer to the separate UDF Manual.
c Fluent Inc. September 29, 2006 8-53
Physical Properties
i Note that the anisotropic diffusion options discussed in the following sec-
tions are available with the pressure-based solver and the density-based
solvers.
• anisotropic
• orthotropic
• cylindrical orthotropic
• user-defined anisotropic
Anisotropic Diffusivity
For anisotropic diffusivity, you can specify Γ in Equation 8.6-1 in the form KΓ where K
is a constant 3x3 matrix in 3D and Γ is a scalar multiplier.
The diffusion coefficient matrix is specified as
where k is the diffusivity and êij is a matrix (2 × 2 for two dimensions and 3 × 3 for
three-dimensional problems). Note that êij can be a non-symmetric matrix.
8-54
c Fluent Inc. September 29, 2006
8.6 User-Defined Scalar (UDS) Diffusivity
To specify anisotropic diffusion coefficients, first select a scalar equation (e.g., uds-0) from
the User-Defined Scalar Diffusion list in the UDS Diffusion Coefficients panel (Figure 8.6.3).
Then choose anisotropic in the drop-down list under Coefficient. This will open the
Anisotropic UDS Diffusivity panel (Figure 8.6.4).
In the Anisotropic UDS Diffusivity panel, enter the Matrix Components and then select the
Diffusivity to be a constant, polynomial function of temperature (polynomial, piecewise-
linear, piecewise-polynomial), or user-defined. See Sections 8.2.1, 8.2.2, and 8.2.3 for details
on polynomial temperature functions.
When you select the user-defined option, the User-Defined Functions panel will open al-
lowing you to hook a DEFINE DIFFUSIVITY UDF only if you have previously loaded a
compiled UDF library or interpreted a UDF. Otherwise, you will get an error message.
Refer to the separate UDF Manual.
Orthotropic Diffusivity
For orthotropic diffusivity, you can specify Γ in Equation 8.6-1 through ’principal’ direc-
tion vectors and diffusion coefficients along these directions. FLUENT, in turn, computes
Γ from parameters that you supply. The principal directions are the same everywhere,
but each of he directional diffusion coefficients can be specified as a constant, polynomial
function of temperature, or through user-defined functions.
c Fluent Inc. September 29, 2006 8-55
Physical Properties
When orthotropic diffusivity is used, the diffusion coefficients (kξ , kη , kζ ) in the principal
directions (êξ , êη , êζ ) are specified. The diffusivity matrix is then computed as
i For two-dimensional problems, only the functions (kξ , kη ) and the unit
vector (êξ ) need to be specified.
To specify orthotropic diffusion coefficients, first select a scalar equation (e.g., uds-0) from
the User-Defined Scalar Diffusion list in the UDS Diffusion Coefficients panel (Figure 8.6.3).
Then choose orthotropic in the drop-down list under Coefficient. This will open the
Orthotropic UDS Diffusivity panel (Figure 8.6.5).
Since the directions (êξ , êη , êζ ) are mutually orthogonal, only the first two need to be
specified for three-dimensional problems. êξ is defined using X,Y,Z under Direction 0
Components, and êη is defined using X,Y,Z under Direction 1 Components. You can define
Diffusivity 0 (kξ ), Diffusivity 1 (kη ), and Diffusivity 2 (kζ ) as constant, polynomial, piecewise-
linear, piecewise-polynomial functions of temperature, or user-defined. See Sections 8.2.1,
8.2.2, and 8.2.3 for details on polynomial temperature functions.
8-56
c Fluent Inc. September 29, 2006
8.6 User-Defined Scalar (UDS) Diffusivity
When you select the user-defined option, the User-Defined Functions panel will open al-
lowing you to hook a DEFINE DIFFUSIVITY UDF only if you have previously loaded a
compiled UDF library or interpreted a UDF. If no functions have been loaded, you will
get an error message. Refer to the separate UDF Manual.
In three-dimensional cases, the origin and the direction of the cylindrical coordinate
system must be specified along with the radial, tangential, and axial direction conductiv-
ities. In two-dimensional cases, the origin of the cylindrical coordinate system must be
specified along with the radial and tangential direction conductivities. Note that in two-
dimensional cases, the direction is always along the +z axis. FLUENT will automatically
compute the anisotropic diffusivity matrix at each cell from this input. The calculation
is based on the location of the cell in the cylindrical coordinate system specified.
c Fluent Inc. September 29, 2006 8-57
Physical Properties
You can define the Radial Diffusivity, Tangential Diffusivity, and Axial Diffusivity as constant,
polynomial, piecewise-linear, piecewise-polynomial, or as user-defined functions of tempera-
ture, using the drop-down list below each of the diffusivities. See Sections 8.2.1, 8.2.2,
and 8.2.3 for details on polynomial temperature functions.
When you select the user-defined option, the User-Defined Functions panel will open al-
lowing you to hook a DEFINE DIFFUSIVITY UDF only if you have previously loaded a
compiled UDF library or interpreted a UDF. If no functions have been loaded, you will
get an error message. Refer to the separate UDF Manual.
Then choose user-defined-anisotropic in the drop-down list under Coefficient. The User-
Defined Functions panel will open allowing you to hook a DEFINE ANISOTROPIC DIFFUSIVITY
UDF only if you have previously loaded a compiled UDF library or interpreted a UDF.
Otherwise, you will get an error message.
Refer to the separate UDF Manual for details.
8-58
c Fluent Inc. September 29, 2006
8.7 Specific Heat Capacity
• kinetic theory
Each of these input options and the governing physical models are detailed in this section.
In all cases, you will define the Cp in the Materials panel.
Define −→Materials...
Specific heat capacity is input in units of J/kg-K in SI units or BTU/lbm-◦ R in British
units.
c Fluent Inc. September 29, 2006 8-59
Physical Properties
• piecewise-linear:
cpn+1 − cpn
cp (T ) = cpn + (T − Tn ) (8.7-1)
Tn+1 − Tn
• piecewise-polynomial:
• polynomial:
cp (T ) = A1 + A2 T + A3 T 2 + ... (8.7-4)
You can input the data pairs (Tn , cpn ), ranges and coefficients Ai and Bi , or coefficients Ai
that describe these functions using the Materials panel, as described in Section 8.2: Defin-
ing Properties Using Temperature-Dependent Functions.
1 R
cp,i = (fi + 2) (8.7-5)
2 Mw,i
where fi is the number of modes of energy storage (degrees of freedom) for the gas species
i which you can input by selecting kinetic-theory from the drop-down list to the right of
Cp in the Materials panel. The solver will use your kinetic theory inputs in Equation 8.7-5
to compute the specific heat capacity. See Section 8.13: Kinetic Theory Parameters for
details about kinetic theory inputs.
8-60
c Fluent Inc. September 29, 2006
8.8 Radiation Properties
1. For the mixture material, choose mixing-law in the drop-down list to the right of
Cp.
2. Click Change/Create.
3. Define the specific heat capacity for each of the fluid materials that comprise the
mixture. You may define constant or (if applicable) temperature-dependent heat
capacities for the individual species. You may also use kinetic theory for the indi-
vidual heat capacities, if applicable.
The solver will compute the mixture’s specific heat capacity as a mass fraction average
of the pure species heat capacities:
X
cp = Yi cp,i (8.7-6)
i
• For the P-1 model, you will need to set the radiation Absorption Coefficient and
Scattering Coefficient (a and σs in Equation 13.3-2).
• For the Rosseland radiation model, you will also need to set the Absorption Coeffi-
cient and Scattering Coefficient (a and σs in Equation 13.3-3).
• For the DTRM, only the Absorption Coefficient is required (a in Equation 13.3-30).
• For the DO model, you will set both the Absorption Coefficient and the Scatter-
ing Coefficient (a and σs in Equation 13.3-37). In addition, if you are modeling
semi-transparent media, you can specify the Refractive Index (na or nb in Equa-
tion 13.3-56). Note that with the DO model, you can specify radiation properties
for solid materials, to be used when semi-transparent media are modeled.
Information about defining each of these properties is provided in the following sections.
c Fluent Inc. September 29, 2006 8-61
Physical Properties
where I is the radiation intensity, a is the absorption coefficient, and x is the distance
through the material.
If you are modeling non-gray radiation with the DO radiation model, you also have the
option to specify a constant absorption coefficient in each of the gray bands. The absorp-
tion coefficient is requested in units of 1/length. Along with the scattering coefficient, it
describes the change in radiation intensity per unit length along the path through the
fluid medium. Absorption coefficients can be computed using tables of emissivity for
CO2 and H2 O, which are generally available in textbooks on radiation heat transfer.
8-62
c Fluent Inc. September 29, 2006
8.8 Radiation Properties
When the WSGGM is used to compute the absorption coefficient, you will have a choice
of methods used to calculate the path length s in Equation 13.3-81. You can use the
characteristic cell size or the mean beam length (computed by the solver or defined by
you). See Section 13.3.8: Radiation in Combusting Flows to determine which method is
appropriate for your case.
You will select the path length method when you choose the property input method for
Absorption Coefficient as described above.
c Fluent Inc. September 29, 2006 8-63
Physical Properties
To model isotropic scattering, select isotropic in the Scattering Phase Function drop-down
list. No further inputs are necessary. This is the default setting in FLUENT.
8-64
c Fluent Inc. September 29, 2006
8.9 Mass Diffusion Coefficients
To use a user-defined phase function, select user-defined in the Scattering Phase Function
drop-down list. The user-defined function must contain specifications for Φ∗ and f in
Equation 13.3-47. See the separate UDF Manual for information about user-defined
functions.
∇T
Ji = −ρDi,m ∇Yi − DT,i (8.9-1)
T
where Di,m is the mass diffusion coefficient for species i in the mixture and DT,i is the
thermal (Soret) diffusion coefficient.
c Fluent Inc. September 29, 2006 8-65
Physical Properties
Equation 8.9-1 is strictly valid when the mixture composition is not changing, or when
Di,m is independent of composition. This is an acceptable approximation in dilute mix-
tures when Yi << 1, for all i except the carrier gas. FLUENT can also compute the
transport of non-dilute mixtures in laminar flows by treating such mixtures as multicom-
ponent systems. Within FLUENT, Di,m can be specified in a variety of ways, including
by specifying Dij , the binary mass diffusion coefficient of component i in component j.
Dij is not used directly, however; instead, the diffusion coefficient in the mixture, Di,m ,
is computed as
1 − Xi
Di,m = X (8.9-2)
(Xj /Dij )
j,j6=i
where Xi is the mole fraction of species i. You can input Di,m or Dij for each chemical
species, as described in Section 8.9.4: Mass Diffusion Coefficient Inputs.
In turbulent flows, Equation 8.9-1 is replaced with the following form:
µt ∇T
Ji = −(ρDi,m + ) ∇Yi − DT,i (8.9-3)
Sct T
where Sct is the effective Schmidt number for the turbulent flow:
µt
Sct = (8.9-4)
ρDt
8-66
c Fluent Inc. September 29, 2006
8.9 Mass Diffusion Coefficients
General Theory
For multicomponent systems it is not possible, in general, to derive relations for the
diffusion fluxes containing the gradient of only one component (as described in Sec-
tion 8.9.1: Fickian Diffusion). Here, the Maxwell-Stefan equations will be used to obtain
the diffusive mass flux. This will lead to the definition of generalized Fick’s law diffusion
coefficients [371]. This method is preferred over computing the multicomponent diffusion
coefficients since their evaluation requires the computation of N 2 co-factor determinants
of size (N − 1) × (N − 1), and one determinant of size N × N [360], where N is the
number of chemical species.
Maxwell-Stefan Equations
From Merk [239], the Maxwell-Stefan equations can be written as
N N
!
Xi Xj ∇T X Xi Xj DT,j DT,i
V~j − V~i = d~i −
X
− (8.9-5)
j=1
Dij T j=1 Dij ρj ρi
j6=i j6=i
where X is the mole fraction, V~ is the diffusion velocity, Dij is the binary mass diffusion
coefficient, and DT is the thermal diffusion coefficient.
For an ideal gas the Maxwell diffusion coefficients are equal to the binary diffusion coef-
ficients. If the external force is assumed to be the same on all species and that pressure
diffusion is negligible, then d~i = ∇Xi . Since the diffusive mass flux vector is J~i = ρi V~i ,
the above equation can be written as
N
J~ J~ N
!
X Xi Xj j − i = ∇Xi −
∇T X Xi Xj DT,j DT,i
− (8.9-6)
j=1
Dij ρj ρi T j=1 Dij ρj ρi
j6=i j6=i
c Fluent Inc. September 29, 2006 8-67
Physical Properties
After some mathematical manipulations, the diffusive mass flux vector, J~i , can be ob-
tained from
N −1
∇T
J~i = −
X
ρDij ∇Yj − DT,i (8.9-7)
j=1 T
where Yj is the mass fraction of species j. Other terms are defined as follows:
This form of the Soret diffusion coefficient will cause heavy molecules to diffuse less
rapidly, and light molecules to diffuse more rapidly, towards heated surfaces.
8-68
c Fluent Inc. September 29, 2006
8.9 Mass Diffusion Coefficients
• Constant dilute approximation (Fickian diffusion only): define one constant for all
Di,m .
• User-defined function (UDF): define a single function that will apply to all mass
diffusion coefficients. This is done using the DEFINE DIFFUSIVITY macro and is
explained in the separate UDF Manual.
You should choose to input Di,m (using one of the first two methods) if you are modeling
a dilute mixture, with chemical species present at low mass fraction in a “carrier” fluid
that is present at high concentration. You may wish to define the individual binary
mass diffusion coefficients, Dij , if you are modeling a non-dilute mixture. If you choose
to define Dij , the solver will compute the diffusion of species i in the mixture using
Equation 8.9-2, unless you have enabled full multicomponent diffusion.
c Fluent Inc. September 29, 2006 8-69
Physical Properties
2. Enter a single value of Di,m . The same value will be used for the diffusion coefficient
of each species in the mixture.
2. In the resulting Mass Diffusion Coefficients panel (Figure 8.9.1), select the species in
the Species Di list for which you are going to define the mass diffusion coefficient.
Figure 8.9.1: The Mass Diffusion Coefficients Panel for Dilute Approximation
8-70
c Fluent Inc. September 29, 2006
8.9 Mass Diffusion Coefficients
3. You can define Di,m for the selected species either as a constant value or (if heat
transfer is active) as a polynomial function of temperature:
• To define a constant diffusion coefficient, select constant (the default) in the
drop-down list below Coefficient, and then enter the value in the field below
the list.
• To define a temperature-dependent diffusion coefficient, choose polynomial in
the Coefficient drop-down list and then define the polynomial coefficients as
described in Section 8.2.1: Inputs for Polynomial Functions.
4. Repeat steps 2 and 3 until you have defined diffusion coefficients for all species in
the Species Di list in the Mass Diffusion Coefficients panel.
2. In the resulting Mass Diffusion Coefficients panel (Figure 8.9.2), select the species
in the Species Di list and the Species Dj list for which you are going to define the
mass diffusion coefficient Dij for species i in species j.
3. You can define Dij for the selected pair of species as a constant value or as a
polynomial function of temperature (if heat transfer is active).
• To define a constant diffusion coefficient, select constant (the default) in the
drop-down list below Coefficient, and then enter the value in the field below
the list.
• To define a temperature-dependent diffusion coefficient, choose polynomial in
the Coefficient drop-down list and then define the polynomial coefficients as
described in Section 8.2.1: Inputs for Polynomial Functions.
4. Repeat steps 2 and 3 until you have defined diffusion coefficients for all pairs of
species in the Species Di and Species Dj lists in the Mass Diffusion Coefficients panel.
c Fluent Inc. September 29, 2006 8-71
Physical Properties
Figure 8.9.2: The Mass Diffusion Coefficients Panel for the Multicomponent
Method
8-72
c Fluent Inc. September 29, 2006
8.9 Mass Diffusion Coefficients
To use the multicomponent method, and define the diffusion coefficient using kinetic
theory (available only when the ideal gas law is used), follow these steps:
2. Click Change/Create after completing other property definitions for the mixture
material.
3. Define the Lennard-Jones parameters, σi and (/kB )i , for each species (fluid mate-
rial), as described in Section 8.13: Kinetic Theory Parameters.
The solver will use a modification of the Chapman-Enskog formula [234] to compute the
diffusion coefficient using kinetic theory:
h i1/2
1 1
T3 Mw,i
+ Mw,j
Dij = 0.00188 (8.9-16)
pabs σij2 ΩD
where pabs is the absolute pressure, and ΩD is the diffusion collision integral, which is
a measure of the interaction of the molecules in the system. ΩD is a function of the
quantity TD∗ , where
T
TD∗ = (8.9-17)
(/kB )ij
kB is the Boltzmann constant, which is defined as the gas constant, R, divided by Avo-
gadro’s number. (/kB )ij for the mixture is the geometric average:
q
(/kB )ij = (/kB )i (/kB )j (8.9-18)
For a binary mixture, σij is calculated as the arithmetic average of the individual σs:
1
σij = (σi + σj ) (8.9-19)
2
c Fluent Inc. September 29, 2006 8-73
Physical Properties
1. Select one of the following three methods in the drop-down list to the right of
Thermal Diffusion Coefficient:
• Choose kinetic-theory to have FLUENT compute the thermal diffusion coeffi-
cients using the empirically-based expression in Equation 8.9-13. No further
inputs are required for this option.
• Choose specified to input the coefficient for each species. The Thermal Diffusion
Coefficients panel (Figure 8.9.3) will open. Further inputs are described in the
next step.
• Choose user-defined to use a user-defined function. See the separate UDF
Manual for details.
2. If you choose specified, select the species in the Species Thermal Di list for which
you are going to define the thermal diffusion coefficient.
8-74
c Fluent Inc. September 29, 2006
8.9 Mass Diffusion Coefficients
3. Define DT,i for the selected species either as a constant value or as a polynomial
function of temperature:
• To define a constant diffusion coefficient, select constant (the default) in the
drop-down list below Coefficient, and then enter the value in the field below
the list.
• To define a temperature-dependent diffusion coefficient, choose polynomial in
the Coefficient drop-down list and then define the polynomial coefficients as
described in Section 8.2: Defining Properties Using Temperature-Dependent
Functions.
4. Repeat steps 2 and 3 until you have defined diffusion coefficients for all species in
the Species Thermal Di list in the Thermal Diffusion Coefficients panel.
c Fluent Inc. September 29, 2006 8-75
Physical Properties
where Tref,j is the reference temperature at which h0j is defined. Standard state enthalpies
are input in units of J/kg mol in SI units or in units of Btu/lbm mol in British units.
For each species involved in the reaction (i.e., each fluid material contained in the mixture
material), you can set the Standard State Enthalpy and Reference Temperature in the
Materials panel.
where Tref,j is the reference temperature at which s0j is defined. Standard state entropies
are input in units of J/kgmol-K in SI units or in units of Btu/lbm mol-◦ R in British units.
For each species involved in the reaction (i.e., each fluid material contained in the mix-
ture material), you can set the Standard State Entropy and Reference Temperature in the
Materials panel.
8-76
c Fluent Inc. September 29, 2006
8.13 Kinetic Theory Parameters
If you are using kinetic theory for a fluid’s viscosity (Equation 8.4-9), you will need to
input the kinetic theory parameters σ and /kB for that fluid. These parameters are the
Lennard-Jones parameters and are referred to by FLUENT as the “characteristic length”
and the “energy parameter” respectively.
When kinetic theory is applied to calculation of a fluid’s thermal conductivity only, no
inputs are required.
If you are going to calculate a fluid’s specific heat using kinetic theory (Equation 8.7-5),
you will need to input the degrees of freedom for the fluid material.
If you use kinetic theory to define a mixture material’s mass diffusivity (Equation 8.9-16),
you will need to input σi and (/kB )i for each chemical species i.
c Fluent Inc. September 29, 2006 8-77
Physical Properties
1. Select kinetic-theory as the property specification method for the Viscosity, Thermal
Conductivity, or heat capacity Cp of a fluid material, or for the Mass Diffusivity of a
mixture material.
2. If the material for which you have selected the kinetic theory method for one or
more properties is a fluid material, you must set the kinetic theory parameters for
that material. If you are using kinetic theory for the mass diffusivity of a mixture
material, you will define the kinetic theory parameters for each of the constituent
species (fluid materials).
The parameters to be set are as follows:
• L-J Characteristic Length
• L-J Energy Parameter
• Degrees of Freedom (only required if kinetic theory is used for specific heat)
See the beginning of this section to find out which parameters are required to
calculate each property using kinetic theory.
8-78
c Fluent Inc. September 29, 2006
8.14 Operating Pressure
All pressures that you specify and all pressures computed or reported by FLUENT are
gauge pressures.
c Fluent Inc. September 29, 2006 8-79
Physical Properties
You will set the Operating Pressure in the Operating Conditions panel.
Define −→Operating Conditions...
8-80
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
The reference pressure location is, by default, the cell center at or closest to (0,0,0).
There may be cases in which you might want to move the reference pressure location,
perhaps locating it at a point where the absolute static pressure is known (e.g., if you
are planning to compare your results with experimental data). To change the location,
enter new (X,Y,Z) coordinates for Reference Pressure Location in the Operating Conditions
panel.
Define −→Operating Conditions...
i This text command is available only when the case is initialized and has
no pressure-related boundary zones.
Note that reporting the actual reference pressure location is not available through the
graphical user interface.
Both models allow the user to solve for either a single-species fluid flow or a multiple-
species mixture fluid flow.
c Fluent Inc. September 29, 2006 8-81
Physical Properties
• The real gas models can be used only with the density-based solvers.
• When one of the real gas models is active, the access to the Materials panel is
restricted. Therefore, if solid properties have to be set and modified then it should
be done in the Materials panel before activating the real gas model.
• The real gas models assume that the fluid you will be using in your FLUENT
computation has the following characteristics:
– single phase
– superheated vapor
• When the real gas model is used, all fluid zones must contain the real gas; you
cannot include a real gas and another fluid in the same problem.
• Pressure-inlet, massflow-inlet, and pressure-outlet are the only inflow and outflow
boundaries available for use with the real gas models.
• Non-reflecting boundary conditions should not be used with the real gas models.
1. Enable one of the density-based solvers (whichever is appropriate for your case).
8-82
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
You can enable the density-based solver in the Solver panel. The real gas models can be
used with either the implicit or the explicit formulation.
Define −→ Models −→Solver...
i The real gas models do not work with the pressure-based solvers.
When one of the density-based solvers is enabled, you will be able to activate one of the
real gas models listed after typing the following text command at the FLUENT console
prompt:
define −→ user-defined −→real-gas
The list of available real gas models will be displayed:
nist-real-gas-model
nist-multispecies-real-gas-model
user-defined-real-gas-model
user-defined-multispecies-real-gas-model
The next sections provide additional information about activating and using these mod-
els.
When you save your completed real gas model to a case file, the linkage to the shared
library containing real gas properties will be saved to the case file (along with property
data for the material you selected in case of NIST the real gas model). Consequently,
whenever you read your case file in a later session, FLUENT will load and report this
information to the console during the read process.
c Fluent Inc. September 29, 2006 8-83
Physical Properties
Postprocessing
All postprocessing functions properly report and display the current thermodynamic and
transport properties of the selected real gas model. The thermodynamic and transport
properties controlled by the real gas models include the following:
• density
• enthalpy
• entropy
• gas constant
• molecular viscosity
• sound speed
• specific heat
• thermal conductivity
• any quantities that are derived from the properties listed above (e.g., total quanti-
ties, ratio of specific heats)
• You cannot modify material properties in the REFPROP database libraries, or add
custom materials to the NIST real gas model.
8-84
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
c Fluent Inc. September 29, 2006 8-85
Physical Properties
When the density-based solver is used, you will be able to activate one of the NIST real
gas models. Activating one of the NIST real gas models is a two-step process. First you
enable either the single-species NIST real gas model or the multi-species NIST real gas
model, and then you select the fluid material from the REFPROP database.
> define/user-defined/real-gas/nist-real-gas-model
use NIST real gas? [no] yes
On the other hand, if you are solving for multi-specie mixture then you should
enable the multi-species NIST real gas model by typing the following text command
at the FLUENT console prompt:
> define/user-defined/real-gas/nist-multispecies-real-gas-model
use multispecies NIST real gas? [no] yes
The list of available pure-fluid materials you can select from will be displayed:
i You must enter the complete name of the material (including the .fld
suffix) contained within quotes (" ").
8-86
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
If the multiple-species real gas model is selected, then you need to enter the number
of species in the mixture:
Number of species [] 3
followed by the name of each fluid selected from the list shown above:
Upon selection of a valid material (e.g., r125.fld), FLUENT will load data for that
material from a library of pure fluids supported by the REFPROP database, and
report that it is opening the shared library (librealgas.so) where the compiled
REFPROP database source code is located.
/usr/local/Fluent.Inc/fluent6.2/realgas/lib/r125.fld
Opening "/usr/local/Fluent.Inc/fluent6.2/realgas/
ultra/librealgas.so"...
Setting material "air" to a real-gas...
Critical properties:
Temperature : 339.173 (K)
Pressure : 3.6177e+06 (Pa)
Density : 4.779 (mol/L) 573.582 (kg/m^3)
c Fluent Inc. September 29, 2006 8-87
Physical Properties
i Once the real gas model is activated, any information for a fluid that is
displayed in the Materials panel is ignored by FLUENT.
i For mixture flows, not all combinations of species mixtures are allowed.
This could be due to lack of data for one or more binary pairs. In such sit-
uation an error message generated by NIST will be returned and displayed
on the FLUENT console, and no real gas material is allowed to be created.
In some combinations the mixing data will be estimated, a warning mes-
sage will be displayed on the FLUENT console and the mixture material
allowed to be created.
Solution Strategies and Considerations for NIST Real Gas Model Simulation
The flow modeling of NIST real-gas flow is much more complex and challenging than sim-
ple ideal-gas flow. Therefore, you should expect the solution to converge at much slower
rate with real-gas flow than when running ideal-gas flow. Also due to the complexity
of the equations used in property evaluations, converging a solution with real-gas model
is in general done at much lower CFL (Courant-Friedrichs-Lewy) value. It is recom-
mended that you first attempt to converge your solution using first-order discretization
then switch to second-order discretizations and re-iterate to convergence.
It is important to realize that the real-gas properties in NIST are defined within a lim-
ited/bounded range. It is important that the flow conditions you are prescribing fall
within the range of the database. It is possible that you specify flow at a state that is
physically valid but otherwise not defined in the database. In this situation the solution
will diverge or immediately generate an error message on the FLUENT console as soon as
the state crosses the limit of the database. In some instances, the actual converged state
is just within the bounded defined database but only transitory outside the range. In this
situation the divergence can be avoided by lowering the CFL value so a less aggressive
convergence rate is adapted.
Finally, if you attempt to initialize the flow from an inlet flow conditions and an error
message is generated from one of the property routines, then this is a good indicator that
the flow conditions you have specified is not defined within the range of the database.
8-88
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
1. Define the real gas equation of state and all related thermodynamic and transport
property equations.
2. Create a C source code file that conforms to the format defined in this section.
3. Start FLUENT and set up your case file in the usual way.
4. Compile your UDRGM C library and build a shared library file (you can use the
available compiled UDF utilities in either the graphical user interface or the text
command interface).
5. Load your newly created UDRGM library via the text command menu:
If single-species UDRGM to be used, then the text command menu is:
> define/user-defined/real-gas/user-defined-real-gas-model
use user defined real gas? [no] yes
On the other hand, if you are simulating multiple-species UDRGM flow, then the
text command menu to use is:
> define/user-defined/real-gas/user-defined-multispecies-real-gas-model
use user multispecies defined real gas? [no] yes
Upon activating the UDRGM, the function library will now supply the fluid mate-
rial properties for your case.
When using the UDRGM the robustness of the solver and the speed of flow convergence
will largely depend on the complexity of the material properties you have defined in your
UDF. It is important to understand the operational range of the property functions you
are coding so you can simulate the flow within that range.
c Fluent Inc. September 29, 2006 8-89
Physical Properties
• The code must contain the udf.h file inclusion directive at the beginning of the
source code. This allows the definitions for DEFINE macros and other FLUENT
functions to be accessible during the compilation process.
• The code must include at least one of the UDF’s DEFINE functions
(i.e. DEFINE ON DEMAND) to be able to use the compiled UDFs utility (see the
sample UDRGM codes provided below).
• Any values that are passed to the solver by the UDRGM or returned by the solver
to the UDRGM are assumed to be in SI units.
• You must use the principle set of functions listed below in your UDRGM library.
These functions are the mechanism by which your thermodynamic property data
are transferred to the FLUENT solver. Note that ANYNAME can be any string of
alphanumeric characters, and allows you to provide unique names to your library
functions.
Below, the UDRGM function names and argument lists are listed, followed by a short
description of the function. Function inputs from the FLUENT solver consist of one or
more of the following variables:
T = Temperature, K
p = Pressure, Pa
ρ = Density, kg/m3
Yi [] = Species mass fraction
void ANYNAME error(int err, char *f, char *msg) prints error messages.
8-90
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
i Since this function is called numerous times during each solver iteration,
it is important to make this function as numerically efficient as possible.
double ANYNAME specific heat(double T, double Rho, double yi[]) returns the
real gas specific heat at constant pressure as a function of temperature, density and
species mass-fraction if applicable.
double ANYNAME enthalpy(double T, double Rho, double yi[]) returns the en-
thalpy as a function of temperature, density and species mass-fraction if applicable.
double ANYNAME entropy(double T, double Rho, double yi[]) returns the en-
tropy as a function of temperature, density and species mass-fraction if applicable.
double ANYNAME speed of sound(double T, double Rho, double yi[]) returns the
value of speed of sound as a function of temperature, density and species mass-
fraction if applicable.
double ANYNAME viscosity(double T, double Rho, double yi[]) returns the value
of dynamic viscosity as a function of temperature, density and species mass-fraction
if applicable.
double ANYNAME rho t(double T, double Rho, double yi[]) returns the value of
dρ
dT
at constant pressure as a function of temperature, density and species mass-
fraction if applicable.
double ANYNAME rho p(double T, double Rho, double yi[]) returns the value of
dρ
dp
at constant temperature as function of temperature, density and species mass-
fraction if applicable.
double ANYNAME enthalpy t(double T, double Rho, double yi[]) returns the value
dh
of dT at constant pressure as function of temperature, density and species mass-
fraction if applicable.
double ANYNAME enthalpy p(double T, double Rho, double yi[]) returns the value
of dh
dp
at constant temperature as function of temperature, density and species mass-
fraction if applicable.
c Fluent Inc. September 29, 2006 8-91
Physical Properties
At the end of the code you must define a structure of type RGAS Function whose
members are pointers to the principle functions listed above. The structure is of type
RGAS Function and its name is RealGasFunctionList.
The principle set of functions shown above are the only functions in the UDRGM that
will be interacting directly with the FLUENT code. In many cases, your model may
require further functions that will be called from the principle function set. For example,
when multiple-species real gas model UDF are written, the principle functions will return
the mixture thermodynamic properties based on some specified mixing-law. Therefore,
you may want to add further functions that will return the thermodynamic properties
for the individual species. These auxiliary functions will be called from the principle set
of functions. This strategy is clearly illustrated in the multiple-specie real gas model
example.
8-92
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
• Place the UDRGM C code in your working directory, i.e., where your case file
resides.
• Launch FLUENT.
• You can now compile your UDRGM C code and build a shared library file using
either the graphical interface or the text command interface.
i To build UDRGM library you will use the compiled UDF utilities. How-
ever, you will not use the UDF utilities to load the library. A separate
loading area for the UDRGM library will be used.
c Fluent Inc. September 29, 2006 8-93
Physical Properties
Please refer to the separate UDF Manual for information on compiled UDFs and building
libraries using the FLUENT graphical user interface.
If the build is successful, then the compiled library will be placed in the appropri-
ate architecture directory (e.g., ntx86/2d). By default the library name is libudf.so
(libudf.dll on Windows).
The UDRGM library can be compiled in the text command interface as follows:
i The name given here is the name of the directory where the shared library
(e.g., libudf) will reside. For example, if you hit <Enter> then a direc-
tory should exist with the name libudf, and this directory will contain
library file called libudf. If, however, you type a new library name such
as myrealgas, then a directory called myrealgas will be created and it
will contain the library libudf.
i Ideally you should place all of your functions into a single file. However,
you can split them into separate files if desired.
• Enter the header file names, if applicable. If you do not have an extra header file
then hit <Enter> when prompted.
8-94
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
FLUENT will then start compiling the UDRGM C code and put it in the appropriate
architecture directory.
Example:
> define/user-defined/compiled-functions
load OR compile ? [load]> compile
Compiled UDF library name: ["libudf"] my_lib
Continue?[yes] <RETURN>
Give C-Source file names:
First file name: [""] my_c_file.c <RETURN>
Next file name: [""] <RETURN>
c Fluent Inc. September 29, 2006 8-95
Physical Properties
For multiple-specie:
FLUENT will ask for the location of the user-defined real gas library. You can enter
either the name of the directory where the UDRGM shared library is called or the
entire path to the UDRGM shared library.
If the loading of the UDRGM library is successful you will or the message similar
to the following:
8-96
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
H = Cp T (8.16-2)
c Fluent Inc. September 29, 2006 8-97
Physical Properties
! " #
dH Cp p dρ
= 1− =0 (8.16-8)
dp T
ρR ρ dp
When you activate the real gas model and load the library successfully into FLUENT,
you will be using the equation of state and other fluid properties from this library rather
than the one built into the FLUENT code, therefore, the access to the Materials panel will
be restricted.
/**********************************************************************/
/* User Defined Real Gas Model : */
/* For Ideal Gas Equation of State */
/* */
/**********************************************************************/
#include "udf.h"
#include "stdio.h"
#include "ctype.h"
#include "stdarg.h"
DEFINE_ON_DEMAND(I_do_nothing)
{
/* This is a dummy function to allow us to use */
/* the Compiled UDFs utility */
}
8-98
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
return r; /* (Kg/m^3) */
}
return h; /* (J/Kg) */
}
c Fluent Inc. September 29, 2006 8-99
Physical Properties
8-100
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
c Fluent Inc. September 29, 2006 8-101
Physical Properties
RT a(T )
p= − (8.16-9)
(V − b̃) V (V + b0 )
where n
1 Tc R2 Tc2
V = , a(T ) = a0 , a0 = 0.42747 ,
ρ T pc
RTc RTc
b0 = 0.08664 , c0 = + b0 − Vc , b̃ = b0 − c0
pc pc + Vc (Vac0+b0 )
8-102
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
Since the real gas model in FLUENT requires a function for density as a function of
pressure and temperature, Equation 8.16-9 must be solved for the specific volume (from
which the density can be easily obtained). For convenience, Equation 8.16-9 can be
written as a cubic equation for specific volume as follows:
V 3 + a1 V 2 + a2 V + a3 = 0 (8.16-10)
where !
RT RT b0 a(T ) a(T ) b̃
a1 = c 0 − , a2 = − b̃b0 + − , a3 = −
p p p p
Equation 8.16-10 is solved using a standard algorithm for cubic equations (see [351] for
details). In the UDRGM code, the cubic solution is coded to minimize the number of
floating point operations. This is critical for optimal performance, since this function
gets called numerous times during an iteration cycle.
It should be noted that the value of the exponent, n, in the function a(T ) will depend
on the substance. A table of values can be found in [14] for some common substances.
Alternatively, [14] states that values of n are well correlated by the empirical equation
c Fluent Inc. September 29, 2006 8-103
Physical Properties
The derivatives of specific volume with respect to temperature and pressure can be easily
determined from Equation 8.16-9 using implicit differentiation. The results are presented
below:
where
RT RT b0 − a(T ) a(T ) b̃
(a1 )0p = 2
, (a2 )0p = 2
, (a3 )0p =
p p p2
da(T )
R −Rb0 + da(T ) b̃ da(T ) a(T )
(a1 )0T = − , (a2 )0T = dT
, (a3 )0T = − , = −n
p p dT p dT T
The derivatives of density can be obtained from the above using the relations
! !
∂ρ 2 ∂V
= −ρ (8.16-15)
∂p T
∂p T
! !
∂ρ 2 ∂V
= −ρ (8.16-16)
∂T p
∂T p
8-104
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
where H 0 (T ) is the enthalpy function for a thermally perfect gas (i.e., enthalpy is a
function of temperature alone). In the present case, we employ a fourth-order polynomial
for the specific heat for a thermally perfect gas [252]
Cp0 (T ) = C1 + C2 T + C3 T 2 + C4 T 3 + C5 T 4 (8.16-18)
Z T
H 0 (T ) = Cp0 (T )dT (8.16-19)
T0
The result is
1 1 1 1
H 0 (T ) = C1 T + C2 T 2 + C3 T 3 + C4 T 4 + C5 T 5 − H 0 (T 0 ) (8.16-20)
2 3 4 5
Note that H 0 (T 0 ) is the enthalpy at a reference state (p0 , T 0 ), which can be chosen
arbitrarily.
The specific heat for the real gas can be obtained by differentiating Equation 8.16-17
with respect to temperature (at constant pressure):
!
∂H
Cp = (8.16-21)
∂T p
The result is
! ! ∂V
∂V da(T ) (1 + n) V + b0 ∂T p
Cp = Cp0 (T ) + p −R− ln + a(T )(1 + n)
∂T p
dT b0 V V (V + b0 )
(8.16-22)
Finally, the derivative of enthalpy with respect to pressure (at constant temperature) can
be obtained using the following thermodynamic relation [252]:
! !
∂H ∂V
=V −T (8.16-23)
∂p T
∂T p
c Fluent Inc. September 29, 2006 8-105
Physical Properties
Entropy
where the superscript 0 again refers to a reference state where the ideal gas law is appli-
cable. For an ideal gas at a fixed reference pressure, p0 , the entropy is given by
Z T Cp0 (T )
S 0 (T, p0 ) = S(T 0 , p0 ) + dT (8.16-25)
T0 T
Note that the pressure term is zero since the entropy is evaluated at the reference pressure.
Using the polynomial expression for specific heat, Equation 8.16-18, Equation 8.16-25
becomes
1 1 1
S 0 (T, p0 ) = S(T 0 , p0 ) + C1 ln(T ) + C2 T + C3 T 2 + C4 T 3 + C5 T 4 − f (T 0 ) (8.16-26)
2 3 4
where f (T 0 ) is a constant, which can be absorbed into the reference entropy S(T 0 , p0 ).
Speed of Sound
The speed of sound for a real gas can be determined from the thermodynamic relation
V2
!
∂p Cp
2
c = =− (8.16-27)
∂ρ S
CV ∂V
∂p T
Noting that,
!
2
∂V ∂p
Cp − CV = −T (8.16-28)
∂T p ∂v T
8-106
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
The dynamic viscosity of a gas or vapor can be estimated using the following formula
from [56]:
T
Tr = (8.16-31)
Tc
and Mw is the molecular weight of the gas. This formula neglects the effect of pressure
on viscosity, which usually becomes significant only at very high pressures.
Knowing the viscosity, the thermal conductivity can be estimated using the Eucken
formula [93]:
5
k = µ Cp + R (8.16-32)
4
It should be noted that both Equation 8.16-30 and 8.16-32 are simple relations, and
therefore may not provide satisfactory values of viscosity and thermal conductivity for
certain applications. You are encouraged to modify these functions in the UDRGM source
code if alternate formulae are available for a given gas.
Using the Redlich-Kwong Real Gas UDRGM simply requires the modification of the top
block of #define macros to provide the appropriate parameters for a given substance.
An example listing for CO2 is given below. The parameters required are:
MWT = Molecular weight of the substance
PCRIT = Critical pressure (Pa)
TCRIT = Critical temperature (K)
ZCRIT = Critical compressibility factor
VCRIT = Critical specific volume (m3 /kg)
NRK = Exponent of a(T ) function
CC1, CC2, CC3, CC4, CC5 = Coefficients of Cp (T ) polynomial curve fit
P REF = Reference pressure (Pa)
T REF = Reference temperature (K)
c Fluent Inc. September 29, 2006 8-107
Physical Properties
The coefficients for the ideal gas specific heat polynomial were obtained from [252] (coeffi-
cients for other substances are also provided in [252]). Once the source listing is modified,
the UDRGM C code can be recompiled and loaded into FLUENT in the manner described
earlier.
/* CO2 */
/* REFERENCE STATE */
8-108
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
/**************************************************************/
/* */
/* User-Defined Function: Redlich-Kwong Equation of State */
/* for Real Gas Modeling */
/* */
/* Author: Frank Kelecy */
/* Date: May 2003 */
/* Version: 1.02 */
/* */
/* This implementation is completely general. */
/* Parameters set for CO2. */
/* */
/**************************************************************/
#include "udf.h"
#include "stdio.h"
#include "ctype.h"
#include "stdarg.h"
/* CO2 */
c Fluent Inc. September 29, 2006 8-109
Physical Properties
/* REFERENCE STATE */
DEFINE_ON_DEMAND(I_do_nothing)
{
/* this is a dummy function to allow us */
/* to use the compiled UDFs utility */
}
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_error */
/*------------------------------------------------------------*/
8-110
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_Setup */
/*------------------------------------------------------------*/
rgas = RGASU/MWT;
a0 = 0.42747*rgas*rgas*TCRIT*TCRIT/PCRIT;
b0 = 0.08664*rgas*TCRIT/PCRIT;
c0 = rgas*TCRIT/(PCRIT+a0/(VCRIT*(VCRIT+b0)))+b0-VCRIT;
bb = b0-c0;
cp_int_ref = CC1*log(T_REF)+T_REF*(CC2+
T_REF*(0.5*CC3+T_REF*(0.333333*CC4+0.25*CC5*T_REF)));
usersMessage = messagefunc;
usersError = errorfunc;
usersMessage("\nLoading Redlich-Kwong Library: %s\n", filename);
}
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_pressure */
/* Returns density given T and density */
/*------------------------------------------------------------*/
c Fluent Inc. September 29, 2006 8-111
Physical Properties
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_spvol */
/* Returns specific volume given T and P */
/*------------------------------------------------------------*/
a1 = c0-rgas*temp/press;
a2 = -(bb*b0+rgas*temp*b0/press-afun/press);
a3 = -afun*bb/press;
qq = (a1*a1-3.*a2)/9.;
rr = (2*a1*a1*a1-9.*a1*a2+27.*a3)/54.;
qq3 = qq*qq*qq;
dd = qq3-rr*rr;
return vv;
}
8-112
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_density */
/* Returns density given T and P */
/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_dvdp */
/* Returns dv/dp given T and rho */
/*------------------------------------------------------------*/
a1 = c0-rgas*temp/press;
a2 = -(bb*b0+rgas*temp*b0/press-afun/press);
a1p = rgas*temp/(press*press);
a2p = a1p*b0-afun/(press*press);
a3p = afun*bb/(press*press);
return -(a3p+v*(a2p+v*a1p))/(a2+v*(2.*a1+3.*v));
}
c Fluent Inc. September 29, 2006 8-113
Physical Properties
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_dvdt */
/* Returns dv/dT given T and rho */
/*------------------------------------------------------------*/
dadt = -NRK*afun/temp;
a1 = c0-rgas*temp/press;
a2 = -(bb*b0+rgas*temp*b0/press-afun/press);
a1t = -rgas/press;
a2t = a1t*b0+dadt/press;
a3t = -dadt*bb/press;
return -(a3t+v*(a2t+v*a1t))/(a2+v*(2.*a1+3.*v));
}
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_Cp_ideal_gas */
/* Returns ideal gas specific heat given T */
/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_H_ideal_gas */
/* Returns ideal gas specific enthalpy given T */
/*------------------------------------------------------------*/
8-114
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_specific_heat */
/* Returns specific heat given T and rho */
/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_enthalpy */
/* Returns specific enthalpy given T and rho */
/*------------------------------------------------------------*/
c Fluent Inc. September 29, 2006 8-115
Physical Properties
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_entropy */
/* Returns entropy given T and rho */
/*------------------------------------------------------------*/
cp_integral = CC1*log(temp)+temp*(CC2+temp*(0.5*CC3+
temp*(0.333333*CC4+0.25*CC5*temp)))
- cp_int_ref;
v = 1./density;
v0 = rgas*temp/P_REF;
dadt = -NRK*afun/temp;
delta_s = rgas*log((v-bb)/v0)+dadt/b0*log((v+b0)/v);
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_mw */
/* Returns molecular weight */
/*------------------------------------------------------------*/
8-116
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_speed_of_sound */
/* Returns s.o.s given T and rho */
/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_rho_t */
/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_rho_p */
/*------------------------------------------------------------*/
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_enthalpy_t */
/*------------------------------------------------------------*/
c Fluent Inc. September 29, 2006 8-117
Physical Properties
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_enthalpy_p */
/*------------------------------------------------------------*/
return v-temp*dvdt;
}
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_viscosity */
/*------------------------------------------------------------*/
tr = temp/TCRIT;
tc = TCRIT;
pcatm = PCRIT/101325.;
mu = 6.3e-7*sqrt(MWT)*pow(pcatm,0.6666)/pow(tc,0.16666)*
(pow(tr,1.5)/(tr+0.8));
return mu;
}
/*------------------------------------------------------------*/
/* FUNCTION: RKEOS_thermal_conductivity */
/*------------------------------------------------------------*/
cp = RKEOS_Cp_ideal_gas(temp);
mu = RKEOS_viscosity(temp, density, yi);
return (cp+1.25*rgas)*mu;
}
8-118
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
/*
*sccs id: @(#)real_ideal.c 1.10 Copyright 1900/11/09 Fluent Inc.
*/
/*
* Copyright 1988-1998 Fluent Inc.
* All Rights Reserved
*
c Fluent Inc. September 29, 2006 8-119
Physical Properties
/*
* NT Warning!!! Including udf.h is for getting definitions for
* Fluent constructs such as Domain. You must NOT
* reference any Fluent globals directly from within
* this module nor link this against any Fluent libs,
* doing so will cause dependancies on a specific
* Fluent binary such as fl551.exe and thus won’t
* be version-independent.
*/
#include "udf.h"
#include "stdio.h"
#include "ctype.h"
#include "stdarg.h"
#if RP_DOUBLE
#define SMALL 1.e-20
#else
#define SMALL 1.e-10
#endif
#define NCMAX 20
#define NSPECIE_NAME 80
8-120
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
DEFINE_ON_DEMAND(I_do_nothing)
{
/*
This is a dummy function
must be included to allow for the use of the
Fluent UDF compilation utility
*/
}
/*******************************************************************/
/* Mixture Functions */
/* These are the only functions called from Fluent Code */
/*******************************************************************/
void MIXTURE_Setup(Domain *domain, char *specielist,
int (*messagefunc)(char *format, ...),
void (*errorfunc)(char *format, ...))
{
/* This function will be called from Fluent after the
UDF library has been loaded.
User must enter the number of species in the mixture
and the name of the individual species.
*/
int i ;
usersMessage = messagefunc;
usersError = errorfunc;
ref_p = ABS_P(RP_Get_Real("reference-pressure"),op_pres);
ref_T = RP_Get_Real("reference-temperature");
c Fluent Inc. September 29, 2006 8-121
Physical Properties
if (ref_p == 0.0)
{
Message0("\n MIXTURE_Setup: reference-pressure was not set by user \n");
Message0("\n MIXTURE_Setup: setting reference-pressur to 101325 Pa \n");
ref_p = 101325.0 ;
}
/*====================================================*/
/*========= User Input Section =====================*/
/*====================================================*/
/*
Define Number of species & Species name.
DO NOT use space for naming species
*/
n_specs = 4 ;
(void)strcpy(gas[0],"H2O") ;
(void)strcpy(gas[1],"N2") ;
(void)strcpy(gas[2],"O2") ;
(void)strcpy(gas[3],"CO2") ;
/*====================================================*/
/*========= End Of User Input Section ==============*/
/*====================================================*/
/*
concatenate species name into one string
and send back to fluent
*/
strcat(specielist,gas[0]);
for (i=1; i<n_specs; ++i)
{
strcat(specielist," ");
strcat(specielist,gas[i]);
}
}
8-122
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
return r; /* (Kg/m^3) */
}
return h; /* (J/Kg) */
}
Rgas = Mixture_Rgas(yi);
s = MIXTURE_specific_heat(Temp,density,yi)*log(Temp/ref_T) -
Rgas*log(density*Rgas*Temp/ref_p) ;
return s; /* (J/Kg/K) */
c Fluent Inc. September 29, 2006 8-123
Physical Properties
MW = 1.0/MAX(sum,SMALL) ;
cp = MIXTURE_specific_heat(Temp,density,yi) ;
Rgas = Mixture_Rgas(yi) ;
a = sqrt(Rgas*Temp* cp/(cp-Rgas) ) ;
return a ; /* m/s */
}
8-124
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
p = Mixture_pressure(Temp,density, yi);
drdT = (MIXTURE_density(Temp+dT,p,yi) - MIXTURE_density(Temp,p,yi) ) /dT;
p = Mixture_pressure(Temp,density, yi);
drdp = (MIXTURE_density(Temp,p+dp,yi) - MIXTURE_density(Temp,p,yi) ) /dp;
p = Mixture_pressure(Temp,density, yi);
rho2 = MIXTURE_density(Temp+dT,p,yi) ;
c Fluent Inc. September 29, 2006 8-125
Physical Properties
p = Mixture_pressure(Temp,density, yi);
rho2 = MIXTURE_density(Temp,p+dp,yi) ;
/*******************************************************************/
/* Auxiliary Mixture Functions */
/*******************************************************************/
return Rgas ;
}
8-126
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
return P; /* (Kg/m^3) */
}
/*******************************************************************/
/* Species Property Functions */
/*******************************************************************/
double Mw_i(int i)
{
double mi[20];
return mi[i] ;
}
return cpi[i] ;
}
c Fluent Inc. September 29, 2006 8-127
Physical Properties
return ki[i] ;
}
return mui[i] ;
}
Rgasi = UNIVERSAL_GAS_CONSTANT/Mw_i(i) ;
return Rgasi ;
}
return gammai ;
/*******************************************************************/
/* Mixture Functions Structure */
/*******************************************************************/
UDF_EXPORT RGAS_Functions RealGasFunctionList =
{
MIXTURE_Setup,/* initialize */
MIXTURE_density, /* density */
8-128
c Fluent Inc. September 29, 2006
8.16 Real Gas Models
MIXTURE_enthalpy, /* enthalpy */
MIXTURE_entropy, /* entropy */
MIXTURE_specific_heat,/* specific_heat */
MIXTURE_mw, /* molecular_weight */
MIXTURE_speed_of_sound,/* speed_of_sound */
MIXTURE_viscosity, /* viscosity */
MIXTURE_thermal_conductivity, /* thermal_conductivity */
MIXTURE_rho_t,/* drho/dT |const p */
MIXTURE_rho_p,/* drho/dp |const T */
MIXTURE_enthalpy_t, /* dh/dT |const p */
MIXTURE_enthalpy_p /* dh/dp |const T */
};
/*******************************************************************/
/*******************************************************************/
c Fluent Inc. September 29, 2006 8-129
Physical Properties
8-130
c Fluent Inc. September 29, 2006
Chapter 9. Modeling Basic Fluid Flow
This chapter describes the basic physical models that FLUENT provides for fluid flow
and the commands for defining and using them. Models for flows in moving zones (in-
cluding sliding and dynamic meshes) are explained in Chapter 10: Modeling Flows with
Rotating Reference Frames, models for turbulence are described in Chapter 12: Modeling
Turbulence, and models for heat transfer (including radiation) are presented in Chap-
ter 13: Modeling Heat Transfer. An overview of modeling species transport and reacting
flows is provided in Chapter 14: Modeling Species Transport and Finite-Rate Chemistry,
details about models for species transport and reacting flows are described in Chap-
ters 14–18, and models for pollutant formation are presented in Chapter 20: Modeling
Pollutant Formation. The discrete phase model is described in Chapter 22: Modeling Dis-
crete Phase, general multiphase models are described in Chapter 23: Modeling Multiphase
Flows, and the melting and solidification model is described in Chapter 24: Modeling So-
lidification and Melting. For information on modeling porous media, porous jumps, and
lumped parameter fans and radiators, see Chapter 7: Boundary Conditions.
The information in this chapter is presented in the following sections:
c Fluent Inc. September 29, 2006 9-1
Modeling Basic Fluid Flow
9-2
c Fluent Inc. September 29, 2006
9.2 Continuity and Momentum Equations
∂ρ
+ ∇ · (ρ~v ) = Sm (9.2-1)
∂t
Equation 9.2-1 is the general form of the mass conservation equation and is valid for
incompressible as well as compressible flows. The source Sm is the mass added to the
continuous phase from the dispersed second phase (e.g., due to vaporization of liquid
droplets) and any user-defined sources.
For 2D axisymmetric geometries, the continuity equation is given by
∂ρ ∂ ∂ ρvr
+ (ρvx ) + (ρvr ) + = Sm (9.2-2)
∂t ∂x ∂r r
where x is the axial coordinate, r is the radial coordinate, vx is the axial velocity, and vr
is the radial velocity.
c Fluent Inc. September 29, 2006 9-3
Modeling Basic Fluid Flow
∂
(ρ~v ) + ∇ · (ρ~v~v ) = −∇p + ∇ · (τ ) + ρ~g + F~ (9.2-3)
∂t
where p is the static pressure, τ is the stress tensor (described below), and ρ~g and F~ are
the gravitational body force and external body forces (e.g., that arise from interaction
with the dispersed phase), respectively. F~ also contains other model-dependent source
terms such as porous-media and user-defined sources.
The stress tensor τ is given by
2
T
τ = µ (∇~v + ∇~v ) − ∇ · ~v I (9.2-4)
3
where µ is the molecular viscosity, I is the unit tensor, and the second term on the right
hand side is the effect of volume dilation.
For 2D axisymmetric geometries, the axial and radial momentum conservation equations
are given by
" !#
∂ 1 ∂ 1 ∂ ∂p 1 ∂ ∂vx 2
(ρvx ) + (rρvx vx ) + (rρvr vx ) = − + rµ 2 − (∇ · ~v )
∂t r ∂x r ∂r ∂x r ∂x ∂x 3
" !#
1 ∂ ∂vx ∂vr
+ rµ + + Fx
r ∂r ∂r ∂x
(9.2-5)
and
" !#
∂ 1 ∂ 1 ∂ ∂p 1 ∂ ∂vr ∂vx
(ρvr ) + (rρvx vr ) + (rρvr vr ) = − + rµ +
∂t r ∂x r ∂r ∂r r ∂x ∂x ∂r
vz2
" !#
1 ∂ ∂vr 2 vr 2 µ
+ rµ 2 − (∇ · ~v ) − 2µ + (∇ · ~
v ) + ρ + Fr (9.2-6)
r ∂r ∂r 3 r2 3 r r
where
∂vx ∂vr vr
∇ · ~v = + + (9.2-7)
∂x ∂r r
and vz is the swirl velocity. (See Section 9.5: Swirling and Rotating Flows for information
about modeling axisymmetric swirl.)
9-4
c Fluent Inc. September 29, 2006
9.3 User-Defined Scalar (UDS) Transport Equations
9.3.1 Introduction
FLUENT can solve the transport equation for an arbitrary, user-defined scalar (UDS)
in the same way that it solves the transport equation for a scalar such as species mass
fraction. Extra scalar transport equations may be needed in certain types of combustion
applications or for example in plasma-enhanced surface reaction modeling. FLUENT
allows you to define additional scalar transport equations in your model in the User-
Defined Scalars panel.
∂ρφk ∂ ∂φk
+ (ρui φk − Γk ) = Sφk k = 1, ..., N (9.3-1)
∂t ∂xi ∂xi
where Γk and Sφk are the diffusion coefficient and source term supplied by you for each
of the N scalar equations. Note that Γk is defined as a tensor in the case of anisotropic
diffusivity. The diffusion term is thus ∇ · (Γk · φk )
For isotropic diffusivity, Γk could be written as Γk I where I is the identity matrix.
For the steady-state case, FLUENT will solve one of the three following equations, de-
pending on the method used to compute the convective flux:
∂ ∂φk
− (Γk ) = Sφk k = 1, ..., N (9.3-2)
∂xi ∂xi
where Γk and Sφk are the diffusion coefficient and source term supplied by you for
each of the N scalar equations.
c Fluent Inc. September 29, 2006 9-5
Modeling Basic Fluid Flow
• If convective flux is to be computed with mass flow rate, FLUENT will solve the
equation
∂ ∂φk
(ρui φk − Γk ) = Sφk k = 1, ..., N (9.3-3)
∂xi ∂xi
• It is also possible to specify a user-defined function to be used in the computation
of convective flux. In this case, the user-defined mass flux is assumed to be of the
form
Z
F = ~
ρ~u · dS (9.3-4)
S
Multiphase Flow
For multiphase flows, FLUENT solves transport equations for two types of scalars:
per phase and mixture. For an arbitrary k scalar in phase-1, denoted by φkl , FLUENT
solves the transport equation inside the volume occupied by phase-l
∂αl ρl φkl
+ ∇ · (αl ρl ~ul φkl − αl Γkl ∇φkl ) = Slk k = 1, ..., N (9.3-5)
∂t
where αl , ρl , and ~ul are the volume fraction, physical density, and velocity of phase-l,
respectively. Γkl and Slk are the diffusion coefficient and source term, respectively, which
you will need to specify. In this case, scalar φkl is associated only with one phase (phase-l)
and is considered an individual field variable of phase-l.
The mass flux for phase-l is defined as
Z
Fl = ~
αl ρl ~ul · dS (9.3-6)
S
If the transport variable described by scalar φkl represents the physical field that is shared
between phases, or is considered the same for each phase, then you should consider this
scalar as being associated with a mixture of phases, φk . In this case, the generic transport
equation for the scalar is
∂ρm φk
+ ∇ · (ρm~um φk − Γkm ∇φk ) = S km k = 1, ..., N (9.3-7)
∂t
where mixture density ρm , mixture velocity ~um , and mixture diffusivity for the scalar k
Γkm are calculated according to
9-6
c Fluent Inc. September 29, 2006
9.3 User-Defined Scalar (UDS) Transport Equations
X
ρm = αl ρl (9.3-8)
l
X
ρm~um = αl ρl ~ul (9.3-9)
l
Z
Fm = ~
rhom~um · dS (9.3-10)
S
Γkm = αl Γkl
X
(9.3-11)
l
k
Slk
X
Sm = (9.3-12)
l
To calculate mixture diffusivity, you will need to specify individual diffusivities for each
material associated with individual phases.
Note that if the user-defined mass flux option is activated, then mass fluxes shown in
Equation 9.3-6 and Equation 9.3-10 will need to be replaced in the corresponding scalar
transport equations.
c Fluent Inc. September 29, 2006 9-7
Modeling Basic Fluid Flow
In addition, you can set boundary conditions for the variables within cells of a fluid or
solid zone for a particular scalar equation. This is done by fixing the value of φk in
Figure 9.3.1. When φk is fixed in a given cell, the UDS scalar transport is not solved
and the cell is not included when the residual sum is computed. Additionally, you can
also specify custom boundary conditions in the mixture on all wall, inflow, and outflow
boundaries on a per-scalar basis.
The procedures for setting up a user-defined scalar (UDS) equation for single-phase and
multiphase flows are outlined below. Note that a significant difference between a UDS for
a single-phase versus a multiphase application is that you will need to associate each UDS
with its corresponding phase domain or mixture domain, depending on your application.
If you supply UDFs for transient terms, convective fluxes, and sources, you will need to
be aware that they are directly called from the phase or mixture domains, according to
the scalar association settings.
See the separate UDF Manual for information on using UDFs to define scalar quantities.
i Note that FLUENT assigns a default name for each scalar equation ((User
Scalar 0, User Scalar 1, etc.). These labels will appear in graphics
panels in FLUENT. You can change them by means of a UDF. See the
separate UDF Manual for details.
9-8
c Fluent Inc. September 29, 2006
9.3 User-Defined Scalar (UDS) Transport Equations
2. Keep the default Inlet Diffusion enabled if you want to include the diffusion term in
the UDS transport equation for all inflow and outflow boundaries.
3. Set the first user-defined scalar equation parameters by making sure that the UDS
Index is set to 0.
(a) Specify the Solution Zones you want the scalar equation to be solved in as all
fluid zones, all solid zones, all zones (fluid and solid) or selected zones. If you
choose selected zones, click on the Edit button to view the list of zones you can
select.
(b) Specify the Flux Function to be none, mass flow rate, or a user-defined function
(UDF). The Flux Function determines how the convective flux is computed,
which determines the equation that FLUENT solves for the user-defined scalar.
Selecting none, mass flow rate, or a user-defined function results in FLUENT
solving 9.3-2, 9.3-3, or 9.3-4, respectively. See the separate UDF Manual for
details on flux UDFs.
(c) Specify the Unsteady Function to be none, default, or a user-defined function
(UDF). Select none for a steady state solution and default if you want the
transient term in Equation 9.3-1 to be solved. See the separate UDF Manual
for details on unsteady UDFs.
(d) Repeat this process for each scalar equation by incrementing the UDS Index.
(e) Click OK when all user scalar equations have been defined.
4. To specify source term(s) for each of the N UDS equations, enable the Source Terms
option in the Fluid or Solid panel (Figure 9.3.3) and click on the Source Terms tab.
The source parameters will be displayed.
c Fluent Inc. September 29, 2006 9-9
Modeling Basic Fluid Flow
Figure 9.3.3: The Fluid Panel with Inputs for Source Terms for a User-
Defined Scalar
(a) Specify the number of sources you require for each scalar equation by clicking
on the Edit... button next to the scalar name (e.g., User Scalar 0). This will
open the User Scalar 0 Sources panel (Figure 9.3.4).
(b) Specify the Number of User Scalar Sources for the scalar equation by incre-
menting the counter. Based on the value you have chosen, the sources will be
added to the list in the panel. Specify each source to be none, constant, or
a user-defined function (UDF). For details on defining a UDF scalar source,
see the separate UDF Manual. Click OK when you have specified all scalar
sources.
5. To specify diffusivity for each of the N UDS equations, open the Materials panel
(Figure 9.3.5) and select either defined-per-uds (the default) or user-defined in the
drop-down list for UDS Diffusivity.
Define −→Materials...
See Section 8.6: User-Defined Scalar (UDS) Diffusivity for details on the different
options available to you for defining diffusion coefficients.
9-10
c Fluent Inc. September 29, 2006
9.3 User-Defined Scalar (UDS) Transport Equations
Figure 9.3.5: The Materials Panel with Input for Diffusivity for UDS Equa-
tions
c Fluent Inc. September 29, 2006 9-11
Modeling Basic Fluid Flow
6. To specify boundary conditions for the user-defined scalars on wall, inflow, and
outflow boundaries, you can define a specific value or a specific flux for each scalar.
A coupled boundary condition can be specified on two-sided walls for scalars that
are to be solved in regions on both sides of the wall (i.e., scalars solved in both fluid
and solid zones).
Define −→Boundary Conditions...
(a) Under User Defined Scalar Boundary Condition, select either Specified Flux or
Specified Value in the drop-down list next to each scalar (e.g., User Scalar 0) for
a boundary wall. For interior walls, select Coupled Boundary if the scalars are
to be solved on both sides of a two-sided wall. Note that the Coupled Boundary
option will only show up in the drop-down list if the scalar is defined in the
fluid and solid zones in the User-Defined Scalars panel.
(b) Under User Defined Scalar Boundary Value, enter a constant value or select a
user-defined function from the drop-down list for each scalar. If you select
Specified Flux, your input will be the value of the flux at the boundary (i.e.,
the negative of the term in parenthesis on the left hand side of Equation 9.3-2
dot [as in the dot product of] n [as in the vector, n], where n is the normal into
the domain). If you select Specified Value, your input will be the value of the
scalar itself at the boundary. See the separate UDF Manual for information
on using UDFs for UDS boundary conditions.
7. Set the solution parameters in the Solution Controls panel, specify an initial value
for each UDS (as you do for all other scalar transport equations), and calculate a
solution.
8. Examine the results using the usual postprocessing tools. In each postprocessing
panel, the list of field variables will include the User Defined Scalars... category,
which contains the value of each UDS and its diffusion coefficient (Γk in Equa-
tion 9.3-1, 9.3-2, 9.3-3, or 9.3-4):
• User Scalar-n
• Diffusion Coef. of Scalar-n
9-12
c Fluent Inc. September 29, 2006
9.3 User-Defined Scalar (UDS) Transport Equations
Multiphase Flow
1. Specify the number of scalars in the User-Defined Scalars panel (Figure 9.3.6).
Define −→ User-Defined −→Scalars...
i Note that FLUENT assigns a default name for each scalar equation ((User
Scalar 0, User Scalar 1, etc.). These labels will appear in graphics
panels in FLUENT. You can change them by means of a UDF. See the
separate UDF Manual for details.
2. Keep the default Inlet Diffusion enabled if you want to include the diffusion term in
the UDS transport equation for all inflow and outflow boundaries.
c Fluent Inc. September 29, 2006 9-13
Modeling Basic Fluid Flow
3. Set the first user-defined scalar equation parameters by making sure that the UDS
Index is set to 0.
(a) Select the Phase you want the scalar equation solved in as a primary phase,
secondary phase, or the mixture.
(b) Specify the Solution Zones you want the scalar equation to be solved in as all
fluid zones, all solid zones, all zones (fluid and solid) or selected zones. If you
choose selected zones, click on the Edit button to view the list of zones you can
select.
(c) Specify the Flux Function to Unsteady Function the same way as you would for
a single phase flow (see above).
(d) Repeat this process for each scalar equation by incrementing the UDS Index.
(e) Click OK when all user scalar equations have been defined.
4. Specify source term(s) for each of the N UDS equations in the Fluid or Solid panel
as described for a single phase flow(see above).
5. Specify boundary conditions for the user-defined scalars in the mixture on all wall,
inflow, and outflow boundary as described for a single phase flow (see above).
6. Set the solution parameters, specify an initial value for each UDS (as you do for all
other scalar transport equations), and calculate a solution.
9-14
c Fluent Inc. September 29, 2006
9.4 Periodic Flows
c Fluent Inc. September 29, 2006 9-15
Modeling Basic Fluid Flow
3.57e-03
3.33e-03
3.09e-03
2.86e-03
2.62e-03
2.38e-03
2.14e-03
1.90e-03
1.67e-03
1.43e-03
1.19e-03
9.53e-04
7.15e-04
4.77e-04
2.39e-04
1.01e-06
• The geometry must be translationally periodic. Note that transient simulations for
fully-developed fluid flow are not valid with translational periodic flow.
• If one of the density-based solvers is used, you can specify only the pressure jump;
for the pressure-based solver, you can specify either the pressure jump or the mass
flow rate.
• Species can be modeled only if inlets/exits (without net mass addition) are included
in the problem. Reacting flows are not permitted.
9-16
c Fluent Inc. September 29, 2006
9.4 Periodic Flows
9.4.2 Theory
Definition of the Periodic Velocity
The assumption of periodicity implies that the velocity components repeat themselves in
space as follows:
~ = u(~r + 2L)
u(~r) = u(~r + L) ~ = ···
~ = v(~r + 2L)
v(~r) = v(~r + L) ~ = ··· (9.4-1)
~ = w(~r + 2L)
w(~r) = w(~r + L) ~ = ···
uA = uB = uC ∼ pB = ∼
pA = ∼ pC
vA = vB = vC pB - pA = pC - pB
~ = p(~r + L)
∆p = p(~r) − p(~r + L) ~ − p(~r + 2L)
~ = ··· (9.4-2)
If one of the density-based solvers is used, ∆p is specified as a constant value. For the
pressure-based solver, the local pressure gradient can be decomposed into two parts:
the gradient of a periodic component, ∇p̃(~r), and the gradient of a linearly-varying
~
L
component, β |L|
~ :
~
L
∇p(~r) = β + ∇p̃(~r) (9.4-3)
~
|L|
c Fluent Inc. September 29, 2006 9-17
Modeling Basic Fluid Flow
where p̃(~r) is the periodic pressure and β|~r| is the linearly-varying component of the
pressure. The periodic pressure is the pressure left over after subtracting out the linearly-
varying pressure. The linearly-varying component of the pressure results in a force acting
on the fluid in the momentum equations. Because the value of β is not known a priori,
it must be iterated on until the mass flow rate that you have defined is achieved in the
computational model. This correction of β occurs in the pressure correction step of the
SIMPLE, SIMPLEC, or PISO algorithm where the value of β is updated based on the
difference between the desired mass flow rate and the actual one. You have some control
over the number of sub-iterations used to update β, as described in Section 9.4.3: Setting
Parameters for the Calculation of β.
9-18
c Fluent Inc. September 29, 2006
9.4 Periodic Flows
1. Select either the specified mass flow rate (Specify Mass Flow) option or the specified
pressure gradient (Specify Pressure Gradient) option. For most problems, the mass
flow rate across the periodic boundary will be a known quantity; for others, the
mass flow rate will be unknown, but the pressure gradient (β in Equation 9.4-3)
will be a known quantity.
2. Specify the mass flow rate and/or the pressure gradient (β in Equation 9.4-3):
• If you selected the Specify Mass Flow option, enter the desired value for the
Mass Flow Rate. You can also specify an initial guess for the Pressure Gradient,
but this is not required.
• If you selected the Specify Pressure Gradient option, enter the desired value for
Pressure Gradient.
3. Define the flow direction by setting the X,Y,Z (or X,Y in 2D) point under Flow
Direction. The flow will move in the direction of the vector pointing from the
origin to the specified point. The direction vector must be parallel to the periodic
translation direction or its opposite.
4. If you chose in step 1 to specify the mass flow rate, set the parameters used for the
calculation of β. These parameters are described in detail below.
After completing these inputs, you can solve the periodic velocity field to convergence.
c Fluent Inc. September 29, 2006 9-19
Modeling Basic Fluid Flow
You can also speed up convergence of the periodic calculation by supplying an initial guess
for β in the Pressure Gradient field. Note that the current value of β will be displayed in
this field if you have performed any calculations. To update the Pressure Gradient field
with the current value at any time, click on the Update button.
1. In the Periodic panel (Figure 9.4.4), which is opened from the Boundary Conditions
panel, indicate that the periodicity is Translational (the default).
Define −→Boundary Conditions...
2. Also in the Periodic panel, set the Periodic Pressure Jump (∆p in Equation 9.4-2).
After completing these inputs, you can solve the periodic velocity field to convergence.
9-20
c Fluent Inc. September 29, 2006
9.4 Periodic Flows
1.68e-03
1.29e-03
8.98e-04
5.07e-04
1.16e-04
-2.74e-04
-6.65e-04
-1.06e-03
-1.45e-03
-1.84e-03
-2.23e-03
-2.62e-03
-3.01e-03
-3.40e-03
-3.79e-03
-4.18e-03
Figure 9.4.5: Periodic Pressure Field Predicted for Flow in a 2D Heat Ex-
changer Geometry
c Fluent Inc. September 29, 2006 9-21
Modeling Basic Fluid Flow
When you begin the analysis of a rotating or swirling flow, it is essential that you classify
your problem into one of the following five categories of flow:
Modeling and solution procedures for the first two categories are presented in this section.
The remaining three, which all involve “moving zones”, are discussed in Chapter 10: Mod-
eling Flows with Rotating Reference Frames.
9-22
c Fluent Inc. September 29, 2006
9.5 Swirling and Rotating Flows
" # " #
∂ 1 ∂ 1 ∂ 1 ∂ ∂w 1 ∂ ∂ w vw
(ρw)+ (rρuw)+ (rρvw) = rµ + 2 r3 µ −ρ (9.5-1)
∂t r ∂x r ∂r r ∂x ∂x r ∂r ∂r r r
where x is the axial coordinate, r is the radial coordinate, u is the axial velocity, v is the
radial velocity, and w is the swirl velocity.
c Fluent Inc. September 29, 2006 9-23
Modeling Basic Fluid Flow
axis
It can be shown that for an ideal free vortex flow, the centrifugal forces created by the
circumferential motion are in equilibrium with the radial pressure gradient:
∂p ρw2
= (9.5-2)
∂r r
As the distribution of angular momentum in a non-ideal vortex evolves, the form of this
radial pressure gradient also changes, driving radial and axial flows in response to the
highly non-uniform pressures that result. Thus, as you compute the distribution of swirl
in your FLUENT model, you will also notice changes in the static pressure distribution
and corresponding changes in the axial and radial flow velocities. It is this high degree
of coupling between the swirl and the pressure field that makes the modeling of swirling
flows complex.
In flows that are driven by wall rotation, the motion of the wall tends to impart a forced
vortex motion to the fluid, wherein w/r or Ω is constant. An important characteristic
of such flows is the tendency of fluid with high angular momentum (e.g., the flow near
the wall) to be flung radially outward (Figure 9.5.2). This is often referred to as “radial
pumping”, since the rotating wall is pumping the fluid radially outward.
9-24
c Fluent Inc. September 29, 2006
9.5 Swirling and Rotating Flows
7.69e-03
6.92e-03
6.15e-03
5.38e-03
4.62e-03
3.85e-03
3.08e-03
2.31e-03
1.54e-03
7.69e-04
Figure 9.5.2: Stream Function Contours for Rotating Flow in a Cavity (Ge-
ometry of Figure 9.5.3)
c Fluent Inc. September 29, 2006 9-25
Modeling Basic Fluid Flow
9-26
c Fluent Inc. September 29, 2006
9.5 Swirling and Rotating Flows
Rotating Cover
Region to
be modeled
c Fluent Inc. September 29, 2006 9-27
Modeling Basic Fluid Flow
Region to be modeled
i Remember to use the axis boundary type for the axis of rotation.
The procedures for input of rotational velocities at inlets and at walls are described in
detail in Sections 7.4.1 and 7.13.1.
9-28
c Fluent Inc. September 29, 2006
9.5 Swirling and Rotating Flows
• (Pressure-based segregated solver only) Use the PRESTO! scheme (enabled in the
Pressure list for Discretization in the Solution Controls panel), which is well-suited
for the steep pressure gradients involved in swirling flows.
• Ensure that the mesh is sufficiently refined to resolve large gradients in pressure
and swirl velocity.
• If necessary, start the calculations using a low rotational speed or inlet swirl velocity,
increasing the rotation or swirl gradually in order to reach the final desired operating
condition (see below).
See Chapter 25: Using the Solver for details on the procedures used to make these changes
to the solution parameters. More details on the step-by-step procedure and on the gradual
increase of the rotational speed are provided below.
c Fluent Inc. September 29, 2006 9-29
Modeling Basic Fluid Flow
Often, flows with a high degree of swirl or rotation will be easier to solve if you use the
following step-by-step solution procedure, in which only selected equations are left active
in each step. This approach allows you to establish the field of angular momentum, then
leave it fixed while you update the velocity field, and then finally to couple the two fields
by solving all equations simultaneously.
i Since the density-based solvers solve all the flow equations simultaneously,
the following procedure applies only to the pressure-based solver.
In this procedure, you will use the Equations list in the Solution Controls panel to turn
individual transport equations on and off between calculations.
1. If your problem involves inflow/outflow, begin by solving the flow without rotation
or swirl effects. That is, enable the Axisymmetric option instead of the Axisymmetric
Swirl option in the Solver panel, and do not set any rotating boundary conditions.
The resulting flow-field data can be used as a starting guess for the full problem.
2. Enable the Axisymmetric Swirl option and set all rotating/swirling boundary condi-
tions.
3. Begin the prediction of the rotating/swirling flow by solving only the momentum
equation describing the circumferential velocity. This is the Swirl Velocity listed
in the Equations list in the Solution Controls panel. Let the rotation “diffuse”
throughout the flow field, based on your boundary condition inputs. In a turbulent
flow simulation, you may also want to leave the turbulence equations active during
this step. This step will establish the field of rotation throughout the domain.
4. Turn off the momentum equations describing the circumferential motion (Swirl
Velocity). Leaving the velocity in the circumferential direction fixed, solve the
momentum and continuity (pressure) equations (Flow in the Equations list in the
Solution Controls panel) in the other coordinate directions. This step will establish
the axial and radial flows that are a result of the rotation in the field. Again, if
your problem involves turbulent flow, you should leave the turbulence equations
active during this calculation.
5. Turn on all of the equations simultaneously to obtain a fully coupled solution. Note
the under-relaxation controls suggested above.
In addition to the steps above, you may want to simplify your calculation by solving
isothermal flow before adding heat transfer or by solving laminar flow before adding a
turbulence model. These two methods can be used for any of the solvers (i.e., pressure-
based or density-based).
9-30
c Fluent Inc. September 29, 2006
9.5 Swirling and Rotating Flows
Because the rotation or swirl defined by the boundary conditions can lead to large com-
plex forces in the flow, your FLUENT calculations will be less stable as the speed of
rotation or degree of swirl increases. Hence, one of the most effective controls you can
apply to the solution is to solve your rotating flow problem starting with a low rotational
speed or swirl velocity and then slowly increase the magnitude up to the desired level.
The procedure for accomplishing this is as follows:
1. Set up the problem using a low rotational speed or swirl velocity in your inputs for
boundary conditions. The rotation or swirl in this first attempt might be selected
as 10% of the actual operating conditions.
2. Solve the problem at these conditions, perhaps using the step-by-step solution
strategy outlined above.
4. Modify your inputs (boundary conditions). Increase the speed of rotation, perhaps
doubling it.
5. Restart the calculation using the solution data saved in step 3 as the initial solution
for the new calculation. Save the new data.
6. Continue to increment the speed of rotation, following steps 4 and 5, until you
reach the desired operating condition.
c Fluent Inc. September 29, 2006 9-31
Modeling Basic Fluid Flow
1.57e+00
1.43e+00
1.29e+00
1.16e+00
1.02e+00
8.82e-01
7.45e-01
6.07e-01
4.70e-01
3.32e-01
1.95e-01
9-32
c Fluent Inc. September 29, 2006
9.6 Compressible Flows
2.02e+04
1.24e+04
4.68e+03
-3.07e+03
-1.08e+04
-1.86e+04
-2.63e+04
-3.41e+04
-4.18e+04
-4.95e+04
-5.73e+04
c Fluent Inc. September 29, 2006 9-33
Modeling Basic Fluid Flow
M ≡ u/c (9.6-1)
9-34
c Fluent Inc. September 29, 2006
9.6 Compressible Flows
R T0 Cp
p0 T T
dT
= exp( ) (9.6-3)
p R
γ/(γ−1)
p0 γ−1 2
= 1+ M (9.6-4)
p 2
T0 γ−1 2
= 1+ M (9.6-5)
T 2
These relationships describe the variation of the static pressure and temperature in the
flow as the velocity (Mach number) changes under isentropic conditions. For example,
given a pressure ratio from inlet to exit (total to static), Equation 9.6-4 can be used to
estimate the exit Mach number which would exist in a one-dimensional isentropic flow.
For air, Equation 9.6-4 predicts a choked flow (Mach number of 1.0) at an isentropic
pressure ratio, p/p0 , of 0.5283. This choked flow condition will be established at the
point of minimum flow area (e.g., in the throat of a nozzle). In the subsequent area
expansion the flow may either accelerate to a supersonic flow in which the pressure will
continue to drop, or return to subsonic flow conditions, decelerating with a pressure rise.
If a supersonic flow is exposed to an imposed pressure increase, a shock will occur, with
a sudden pressure rise and deceleration accomplished across the shock.
c Fluent Inc. September 29, 2006 9-35
Modeling Basic Fluid Flow
pop + p
ρ= R (9.6-6)
Mw
T
where pop is the operating pressure defined in the Operating Conditions panel, p is the
local static pressure relative to the operating pressure, R is the universal gas constant,
and Mw is the molecular weight. The temperature, T , will be computed from the energy
equation.
3. (Pressure-based solver only) If you are modeling turbulent flow, activate the op-
tional viscous dissipation terms in the energy equation by turning on Viscous Heating
in the Viscous Model panel. Note that these terms can be important in high-speed
flows.
Define −→ Models −→Viscous...
This step is not necessary if you are using one of the density-based solvers, because
the density-based solvers always include the viscous dissipation terms in the energy
equation.
9-36
c Fluent Inc. September 29, 2006
9.6 Compressible Flows
5. Set boundary conditions (using the Boundary Conditions panel), being sure to choose
a well-posed boundary condition combination that is appropriate for the flow regime.
See below for details. Recall that all inputs for pressure (either total pressure or
static pressure) must be relative to the operating pressure, and the temperature
inputs at inlets should be total (stagnation) temperatures, not static temperatures.
Define −→Boundary Conditions...
These inputs should ensure a well-posed compressible flow problem. You will also want to
consider special solution parameter settings, as noted in Section 9.6.5: Solution Strategies
for Compressible Flows, before beginning the flow calculation.
It is important to note that your boundary condition inputs for pressure (either total
pressure or static pressure) must be in terms of gauge pressure—i.e., pressure relative to
the operating pressure defined in the Operating Conditions panel, as described above.
All temperature inputs at inlets should be total (stagnation) temperatures, not static
temperatures.
c Fluent Inc. September 29, 2006 9-37
Modeling Basic Fluid Flow
Limitations
The floating operating pressure option should not be used for transonic or incompressible
flows. In addition, it cannot be used if your model includes any pressure inlet, pressure
outlet, exhaust fan, inlet vent, intake fan, outlet vent, or pressure far field boundaries.
Theory
The floating operating pressure option allows FLUENT to calculate the pressure rise
(or drop) from the integral mass balance, separately from the solution of the pressure
correction equation. When this option is activated, the absolute pressure at each iteration
can be expressed as
where p is the pressure relative to the reference location, which in this case is in the cell
with the minimum pressure value. Thus the reference location itself is floating.
pop,float is referred to as the floating operating pressure, and is defined as
where p0op is the initial operating pressure and ∆pop is the pressure rise.
Including the pressure rise ∆pop in the floating operating pressure pop,float , rather than in
the pressure p, helps to prevent roundoff error. If the pressure rise were included in p, the
calculation of the pressure gradient for the momentum equation would give an inexact
balance due to precision limits for 32-bit real numbers.
9-38
c Fluent Inc. September 29, 2006
9.6 Compressible Flows
i The floating operating pressure option should not be used for transonic
flows or for incompressible flows. It is meaningful only for slow subsonic
flows of ideal gases, when the characteristic time scale is much larger than
the sonic time scale.
c Fluent Inc. September 29, 2006 9-39
Modeling Basic Fluid Flow
• (Pressure-based solver only) Initialize the flow to be near stagnation (i.e. velocity
small but not zero, pressure to inlet total pressure, temperature to inlet total tem-
perature). Turn off the energy equation for the first 50 iterations. Leave the energy
under-relaxation at 1. Set the pressure under-relaxation to 0.4, and the momentum
under-relaxation to 0.3. After the solution stabilizes and the energy equation has
been turned on, increase the pressure under-relaxation to 0.7.
• Set reasonable limits for the temperature and pressure (in the Solution Limits panel)
to avoid solution divergence, especially at the start of the calculation. If FLUENT
prints messages about temperature or pressure being limited as the solution nears
convergence, the high or low computed values may be physical, and you will need
to change the limits to allow these values.
• If required, begin the calculations using a reduced pressure ratio at the bound-
aries, increasing the pressure ratio gradually in order to reach the final desired
operating condition. If the Mach number is low, you can also consider starting the
compressible flow calculation from an incompressible flow solution (although the
incompressible flow solution can in some cases be a rather poor initial guess for the
compressible calculation).
See Chapter 25: Using the Solver for details on the procedures used to make these changes
to the solution parameters.
9-40
c Fluent Inc. September 29, 2006
9.7 Inviscid Flows
• Total Temperature
• Total Pressure
• Mach Number
These variables are contained in the variable selection drop-down list that appears in
postprocessing panels. Total Temperature is in the Temperature... category, Total Pressure
is in the Pressure... category, and Mach Number is in the Velocity... category. See
Chapter 30: Field Function Definitions for their definitions.
c Fluent Inc. September 29, 2006 9-41
Modeling Basic Fluid Flow
∂ρ
+ ∇ · (ρ~v ) = Sm (9.7-1)
∂t
Equation 9.7-1 is the general form of the mass conservation equation and is valid for
incompressible as well as compressible flows. The source Sm is the mass added to the
continuous phase from the dispersed second phase (e.g., due to vaporization of liquid
droplets) and any user-defined sources.
For 2D axisymmetric geometries, the continuity equation is given by
∂ρ ∂ ∂ ρvr
+ (ρvx ) + (ρvr ) + = Sm (9.7-2)
∂t ∂x ∂r r
where x is the axial coordinate, r is the radial coordinate, vx is the axial velocity, and vr
is the radial velocity.
∂
(ρ~v ) + ∇ · (ρ~v~v ) = −∇p + ρ~g + F~ (9.7-3)
∂t
where p is the static pressure and ρ~g and F~ are the gravitational body force and external
body forces (e.g., forces that arise from interaction with the dispersed phase), respectively.
F~ also contains other model-dependent source terms such as porous-media and user-
defined sources.
9-42
c Fluent Inc. September 29, 2006
9.7 Inviscid Flows
For 2D axisymmetric geometries, the axial and radial momentum conservation equations
are given by
∂ 1 ∂ 1 ∂ ∂p
(ρvx ) + (rρvx vx ) + (rρvr vx ) = − + Fx (9.7-4)
∂t r ∂x r ∂r ∂x
and
∂ 1 ∂ 1 ∂ ∂p
(ρvr ) + (rρvx vr ) + (rρvr vr ) = − + Fr (9.7-5)
∂t r ∂x r ∂r ∂r
where
∂vx ∂vr vr
∇ · ~v = + + (9.7-6)
∂x ∂r r
1. Activate the calculation of inviscid flow by selecting Inviscid in the Viscous Model
panel.
Define −→ Models −→Viscous...
c Fluent Inc. September 29, 2006 9-43
Modeling Basic Fluid Flow
9-44
c Fluent Inc. September 29, 2006
Chapter 10. Modeling Flows with Rotating Reference
Frames
This chapter provides details about the moving reference frame capabilities in FLUENT.
The information in this chapter is divided into the following sections:
• Section 10.11: Solution Strategies for MRF and Mixing Plane Problems
c Fluent Inc. September 29, 2006 10-1
Modeling Flows with Rotating Reference Frames
10.1 Introduction
FLUENT solves the equations of fluid flow and heat transfer, by default, in a stationary (or
inertial) reference frame. However, there are many problems where it is advantageous
to solve the equations in a moving (or non-inertial) reference frame. Such problems
typically involve moving parts (such as rotating blades, impellers, and similar types of
moving surfaces), and it is the flow around these moving parts that is of interest. In most
cases, the moving parts render the problem unsteady when viewed from the stationary
frame. With a moving reference frame, however, the flow around the moving part can
(with certain restrictions) be modeled as a steady-state problem with respect to the
moving frame.
FLUENT’s moving reference frame modeling capability allows you to model problems
involving moving parts by allowing you to activate moving reference frames in selected cell
zones. When a moving reference frame is activated, the equations of motion are modified
to incorporate the additional acceleration terms which occur due to the transformation
from the stationary to the moving reference frame. By solving these equations in a
steady-state manner, the flow around the moving parts can be modeled.
For simple problems, it may be possible to refer the entire computational domain to a
single moving reference frame. This is known as the single reference frame (or SRF)
approach. The use of the SRF approach is possible, provided the geometry meets certain
requirements (as discussed in Section 10.2: Flow in a Rotating Reference Frame). For
more complex geometries, it may not be possible to use a single reference frame. In
such cases, you must break up the problem into multiple cells zones, with well-defined
interfaces between the zones. The manner in which the interfaces are treated leads to
two approximate, steady-state modeling methods for this class of problem: the multiple
reference frame (or MRF) approach, and the mixing plane approach. These approaches
will be discussed in Sections 10.3.1 and 10.3.2. If unsteady interaction between the
stationary and moving parts is important, you can employ the Sliding Mesh approach to
capture the transient behavior of the flow. The sliding meshing model will be discussed
in Chapter 11: Modeling Flows Using Sliding and Deforming Meshes.
10-2
c Fluent Inc. September 29, 2006
10.1 Introduction
c Fluent Inc. September 29, 2006 10-3
Modeling Flows with Rotating Reference Frames
10-4
c Fluent Inc. September 29, 2006
10.2 Flow in a Rotating Reference Frame
ω
~ = ωâ (10.2-1)
The computational domain for the CFD problem is defined with respect to the rotating
frame such that an arbitrary point in the CFD domain is located by a position vector ~r
from the origin of the rotating frame.
The fluid velocities can be transformed from the stationary frame to the rotating frame
using the following relation:
where
~ × ~r
~ur = ω (10.2-3)
In the above, ~vr is the relative velocity (the velocity viewed from the rotating frame), ~v
is the absolute velocity (the velocity viewed from the stationary frame), and ~ur is the
“whirl” velocity (the velocity due to the moving frame).
When the equations of motion are solved in the rotating reference frame, the accel-
eration of the fluid is augmented by additional terms that appear in the momentum
equations [24]. Moreover, the equations can be formulated in two different ways:
• Expressing the momentum equations using the relative velocities as dependent vari-
ables (known as the relative velocity formulation).
The exact forms of the governing equations for these two formulations will be provided in
the sections below. It can be noted here that FLUENT’s pressure-based solvers provide the
option to use either of these two formulations, whereas the density-based solvers always
use the absolute velocity formulation. The advantages of each velocity formulation are
discussed in Section 10.7.1: Choosing the Relative or Absolute Velocity Formulation.
c Fluent Inc. September 29, 2006 10-5
Modeling Flows with Rotating Reference Frames
∂ρ
+ ∇ · ρ~vr = 0 (10.2-4)
∂t
Conservation of momentum:
∂
(ρ~vr ) + ∇ · (ρ~vr~vr ) + ρ(2~ω × ~vr + ω ~ × ~r) = −∇p + ∇τ r + F~
~ ×ω (10.2-5)
∂t
Conservation of energy:
∂
(ρEr ) + ∇ · (ρ~vr Hr ) = ∇ · (k∇T + τ r · ~vr ) + Sh (10.2-6)
∂t
The momentum equation contains two additional acceleration terms: the Coriolis acceler-
ation (2~ω ×~vr ), and the centripetal acceleration (~ω ×~ω ×~r). In addition, the viscous stress
(τ r ) is identical to Equation 9.2-4 except that relative velocity derivatives are used. The
energy equation is written in terms of the relative internal energy (Er ) and the relative
total enthalpy (Hr ), also known as the rothalpy. These variables are defined as:
p 1 2
Er = h − + (vr − ur 2 ) (10.2-7)
ρ 2
p
Hr = Er + (10.2-8)
ρ
∂ρ
+ ∇ · ρ~vr = 0 (10.2-9)
∂t
Conservation of momentum:
∂
ρ~v + ∇ · (ρ~vr~v ) + ρ(~ω × ~v ) = −∇p + ∇τ + F~ (10.2-10)
∂t
10-6
c Fluent Inc. September 29, 2006
10.2 Flow in a Rotating Reference Frame
Conservation of energy:
∂
ρE + ∇ · (ρ~vr H + p~ur ) = ∇ · (k∇T + τ · ~v ) + Sh (10.2-11)
∂t
In this formulation, the Coriolis and centripetal accelerations can be collapsed into a
single term (~ω × ~v ).
• Any walls which are moving with the reference frame can assume any shape. An
example would be the blade surfaces associated with a pump impeller. The no slip
condition is defined in the relative frame such that the relative velocity is zero on
the moving walls.
• Walls can be defined which are non-moving with respect to the stationary coor-
dinate system, but these walls must be surfaces of revolution about the axis of
rotation. Here the so slip condition is defined such that the absolute velocity is
zero on the walls. An example of this type of boundary would be a cylindrical wind
tunnel wall which surrounds a rotating propeller.
Rotationally periodic boundaries may also be used, but the surface must be periodic
about the axis of rotation. As an example, it is very common to model flow through a
blade row on a turbomachine by assuming the flow to be rotationally periodic and using
a periodic domain about a single blade. This permits good resolution of the flow around
the blade without the expense of model all blades in the blade row (see Figure 10.2.2).
Flow boundary conditions in FLUENT (inlets and outlets) can, in most cases, be pre-
scribed in either the stationary or rotating frames. For example, for a velocity inlet,
one can specify either the relative velocity or absolute velocity, depending on which is
more convenient. In some cases (e.g. pressure inlets) there are restrictions based upon
the velocity formulation which has been chosen. For additional information on these
and other boundary conditions, see Section 10.7: Setting Up a Single Rotating Reference
Frame Problem and Chapter 7: Boundary Conditions.
c Fluent Inc. September 29, 2006 10-7
Modeling Flows with Rotating Reference Frames
10-8
c Fluent Inc. September 29, 2006
10.3 Flow in Multiple Rotating Reference Frames
Both the MRF and mixing plane approaches are steady-state approximations, and dif-
fer primarily in the manner in which conditions at the interfaces are treated. These
approaches will be discussed in the sections below. The sliding mesh model approach
is, on the other hand, inherently unsteady due to the motion of the mesh with time.
This approach is discussed in Chapter 11: Modeling Flows Using Sliding and Deforming
Meshes.
c Fluent Inc. September 29, 2006 10-9
Modeling Flows with Rotating Reference Frames
While the MRF approach is clearly an approximation, it can provide a reasonable model
of the flow for many applications. For example, the MRF model can be used for turbo-
machinery applications in which rotor-stator interaction is relatively weak, and the flow
is relatively uncomplicated at the interface between the moving and stationary zones.
In mixing tanks, for example, since the impeller-baffle interactions are relatively weak,
large-scale transient effects are not present and the MRF model can be used.
Another potential use of the MRF model is to compute a flow field that can be used as
an initial condition for a transient sliding mesh calculation. This eliminates the need for
a startup calculation. The multiple reference frame model should not be used, however,
if it is necessary to actually simulate the transients that may occur in strong rotor-stator
interactions, the sliding mesh model alone should be used (see Section 11.2: Sliding Mesh
Theory).
Examples
For a mixing tank with a single impeller, you can define a rotating reference frame that
encompasses the impeller and the flow surrounding it, and use a stationary frame for
the flow outside the impeller region. An example of this configuration is illustrated
in Figure 10.3.1. (The dashes denote the interface between the two reference frames.)
Steady-state flow conditions are assumed at the interface between the two reference
frames. That is, the velocity at the interface must be the same (in absolute terms) for
each reference frame. The grid does not move.
You can also model a problem that includes more than one rotating reference frame.
Figure 10.3.2 shows a geometry that contains two rotating impellers side by side. This
problem would be modeled using three reference frames: the stationary frame outside
both impeller regions and two separate rotating reference frames for the two impellers.
(As noted above, the dashes denote the interfaces between reference frames.)
10-10
c Fluent Inc. September 29, 2006
10.3 Flow in Multiple Rotating Reference Frames
c Fluent Inc. September 29, 2006 10-11
Modeling Flows with Rotating Reference Frames
Limitations
The following limitations exist when using the MRF approach:
• The interfaces separating a moving region from adjacent regions must be oriented
such that the component of the frame velocity normal to the boundary is zero. That
is, the interfaces must be surfaces of revolution about the axis of rotation defined
for the fluid zone. For the example shown in Figure 10.3.1, this requires the dashed
boundary to be circular (not square or any other shape). For a translationally
moving frame, the moving zone’s boundaries must be parallel to the translational
velocity vector.
• Strictly speaking, the use of multiple reference frames is meaningful only for steady
flow. However, FLUENT will allow you to solve an unsteady flow when multiple
reference frames are being used. In this case, unsteady terms (as described in
Section 25.3.2: Temporal Discretization) are added to all the governing transport
equations. You should carefully consider whether this will yield meaningful results
for your application, because, for unsteady flows, a sliding mesh calculation will
generally yield more meaningful results than an MRF calculation.
• Particle trajectories and pathlines drawn by FLUENT use the velocity relative to
the cell zone motion. For massless particles, the resulting pathlines follow the
streamlines based on relative velocity. For particles with mass, however, the particle
tracks displayed are meaningless. Similarly, coupled discrete-phase calculations are
meaningless.
An alternative approach for particle tracking and coupled discrete-phase calcula-
tions with multiple reference frames is to track particles based on absolute velocity
instead of relative velocity. To make this change, use the define/models/dpm/
options/track-in-absolute-frame text command. Note, that the results may
strongly depend on the location of walls inside the multiple reference frame. The
particle injection velocities (specified in the Set Injection Properties panel) are de-
fined relative to the frame of reference in which the particles are tracked. By
default, the injection velocities are specified relative to the local reference frame.
If you enable the track-in-absolute-frame option, the injection velocities are
specified relative to the absolute frame.
10-12
c Fluent Inc. September 29, 2006
10.3 Flow in Multiple Rotating Reference Frames
• You cannot accurately model axisymmetric swirl in the presence of multiple ref-
erence frames using the relative velocity formulation. This is because the current
implementation does not apply the transformation used in Equation 10.3-2 to the
swirl velocity derivatives.
• The relative velocity formulation cannot be used in combination with the MRF and
mixture models (see Section 23.4: Mixture Model Theory). For such cases, use the
absolute velocity formulation instead.
i You can switch from the MRF model to the sliding mesh model for a more
robust solution. See Section 11.4: Steps in Using Sliding Meshes for details
on how to make this change in the fluid’s boundary conditions. Currently,
this switch is not possible when running in parallel.
In FLUENT’s implementation of the MRF model, the calculation domain is divided into
subdomains, each of which may be rotating and/or translating with respect to the lab-
oratory (inertial) frame. The governing equations in each subdomain are written with
respect to that subdomain’s reference frame. Thus, the flow in stationary and translat-
ing subdomains is governed by the equations in Section 9.2: Continuity and Momentum
Equations, while the flow in rotating subdomains is governed by the equations presented
in Section 10.2.2: Equations for a Rotating Reference Frame.
At the boundary between two subdomains, the diffusion and other terms in the governing
equations in one subdomain require values for the velocities in the adjacent subdomain
(see Figure 10.3.3). FLUENT enforces the continuity of the absolute velocity, ~v , to provide
the correct neighbor values of velocity for the subdomain under consideration. (This
approach differs from the mixing plane approach described in Section 10.3.2: The Mixing
Plane Model, where a circumferential averaging technique is used.)
c Fluent Inc. September 29, 2006 10-13
Modeling Flows with Rotating Reference Frames
When the relative velocity formulation is used, velocities in each subdomain are computed
relative to the motion of the subdomain. Velocities and velocity gradients are converted
from a moving reference frame to the absolute inertial frame using Equation 10.3-1.
stationary zone
v, v
interface
vr , vr
rotating zone
All velocities converted to
absolute frame and applied
to interface along with local
scalars.
From Equation 10.3-1, the gradient of the absolute velocity vector can be shown to be
Note that scalar quantities such as density, static pressure, static temperature, species
mass fractions, etc., are simply obtained locally from adjacent cells.
10-14
c Fluent Inc. September 29, 2006
10.3 Flow in Multiple Rotating Reference Frames
When the absolute velocity formulation is used, the governing equations in each subdo-
main are written with respect to that subdomain’s reference frame, but the velocities
are stored in the absolute frame. Therefore, no special transformation is required at the
interface between two subdomains. Again, scalar quantities are determined locally from
adjacent cells.
Overview
As discussed in Section 10.3.1: The Multiple Reference Frame Model, the MRF model is
applicable when the flow at the boundary between adjacent zones that move at different
speeds is nearly uniform (“mixed out”). If the flow at this boundary is not uniform, the
MRF model may not provide a physically meaningful solution. The sliding mesh model
(see Section 11.2: Sliding Mesh Theory) may be appropriate for such cases, but in many
situations it is not practical to employ a sliding mesh. For example, in a multistage tur-
bomachine, if the number of blades is different for each blade row, a large number of blade
passages is required in order to maintain circumferential periodicity. Moreover, sliding
mesh calculations are necessarily unsteady, and thus require significantly more compu-
tation to achieve a final, time-periodic solution. For situations where using the sliding
mesh model is not feasible, the mixing plane model can be a cost-effective alternative.
In the mixing plane approach, each fluid zone is treated as a steady-state problem.
Flow-field data from adjacent zones are passed as boundary conditions that are spatially
averaged or “mixed” at the mixing plane interface. This mixing removes any unsteadiness
that would arise due to circumferential variations in the passage-to-passage flow field
(e.g., wakes, shock waves, separated flow), thus yielding a steady-state result. Despite
the simplifications inherent in the mixing plane model, the resulting solutions can provide
reasonable approximations of the time-averaged flow field.
c Fluent Inc. September 29, 2006 10-15
Modeling Flows with Rotating Reference Frames
Limitations
Note the following limitations of the mixing plane model:
• The LES turbulence model cannot be used with the mixing plane model.
• The models for species transport and combustion cannot be used with the mixing
plane model.
• The VOF multiphase model cannot be used with the mixing plane model.
• The discrete phase model cannot be used with the mixing plane model for cou-
pled flows. Non-coupled computations can be done, but you should note that the
particles leave the domain of the mixing plane.
rotor outlet: ps α r α t α z
Rθ stator inlet: p0 α r αt α z k ε
10-16
c Fluent Inc. September 29, 2006
10.3 Flow in Multiple Rotating Reference Frames
stator
stator inlet:
p α α α k ε
0 r t z
mixing plane
r
interface
x
rotor outlet:
p α α α
s r t z
rotor
c Fluent Inc. September 29, 2006 10-17
Modeling Flows with Rotating Reference Frames
i Note that the stator and rotor meshes do not have to be conformal; that
is, the nodes on the stator exit boundary do not have to match the nodes
on the rotor inlet boundary. In addition, the meshes can be of different
types (e.g., the stator can have a hexahedral mesh while the rotor has a
tetrahedral mesh).
Upstream Downstream
pressure outlet pressure inlet
pressure outlet velocity inlet
pressure outlet mass flow inlet
Specific instructions for setting up mixing planes are provided in Section 10.10.2: Setting
Up the Mixing Plane Model.
10-18
c Fluent Inc. September 29, 2006
10.3 Flow in Multiple Rotating Reference Frames
1. Update the flow field solutions in the stator and rotor domains.
2. Average the flow properties at the stator exit and rotor inlet boundaries, obtaining
profiles for use in updating boundary conditions.
3. Pass the profiles to the boundary condition inputs required for the stator exit and
rotor inlet.
Mass Conservation
Note that the algorithm described above will not rigorously conserve mass flow across
the mixing plane if it is represented by a pressure inlet and pressure outlet mixing plane
pair. If you use a mass flow inlet and pressure outlet pair instead, FLUENT will force
mass conservation across the mixing plane. The basic technique consists of computing
the mass flow rate across the upstream zone (pressure outlet) and adjusting the mass flux
profile applied at the mass flow inlet such that the downstream mass flow matches the
upstream mass flow. This adjustment occurs at every iteration, thus ensuring rigorous
conservation of mass flow throughout the course of the calculation.
i Note that, since mass flow is being fixed in this case, there will be a jump
in total pressure across the mixing plane. The magnitude of this jump is
usually small compared with total pressure variations elsewhere in the flow
field.
c Fluent Inc. September 29, 2006 10-19
Modeling Flows with Rotating Reference Frames
Swirl Conservation
By default, FLUENT does not conserve swirl across the mixing plane. For applications
such as torque converters, where the sum of the torques acting on the components should
be zero, enforcing swirl conservation across the mixing plane is essential, and is available
in FLUENT as a modeling option. Ensuring conservation of swirl is important because,
otherwise, sources or sinks of tangential momentum will be present at the mixing plane
interface.
Consider a control volume containing a stationary or rotating component (e.g., a pump
impeller or turbine vane). Using the moment of momentum equation from fluid mechan-
ics, it can be shown that for steady flow,
ZZ
T = rvθ ρ~v · n̂dS (10.3-3)
S
where T is the torque of the fluid acting on the component, r is the radial distance from
the axis of rotation, vθ is the absolute tangential velocity, ~v is the total absolute velocity,
and S is the boundary surface. (The product rvθ is referred to as swirl.)
For a circumferentially periodic domain, with well-defined inlet and outlet boundaries,
Equation 10.3-3 becomes
ZZ ZZ
T = rvθ ρ~v · n̂dS + rvθ ρ~v · n̂dS (10.3-4)
outlet inlet
where inlet and outlet denote the inlet and outlet boundary surfaces.
Now consider the mixing plane interface to have a finite streamwise thickness. Applying
Equation 10.3-4 to this zone and noting that, in the limit as the thickness shrinks to
zero, the torque should vanish, the equation becomes
ZZ ZZ
rvθ ρ~v · n̂dS = rvθ ρ~v · n̂dS (10.3-5)
downstream upstream
where upstream and downstream denote the upstream and downstream sides of the
mixing plane interface. Note that Equation 10.3-5 applies to the full area (360 degrees)
at the mixing plane interface.
Equation 10.3-5 provides a rational means of determining the tangential velocity com-
ponent. That is, FLUENT computes a profile of tangential velocity and then uniformly
adjusts the profile such that the swirl integral is satisfied. Note that interpolating the
tangential (and radial) velocity component profiles at the mixing plane does not affect
mass conservation because these velocity components are orthogonal to the face-normal
velocity used in computing the mass flux.
10-20
c Fluent Inc. September 29, 2006
10.4 Grid Setup for a Single Rotating Reference Frame
• For 3D geometries, you should generate the mesh with a specific rotational axis in
mind for the rotating cell zone. Usually it is convenient to use the x, y, or z axis,
but FLUENT can accommodate arbitrary rotational axes.
With 3D geometries, it is also important to note that if you wish to include walls which
have zero velocity in the stationary frame, these walls must be a surface of revolution
with respect to the axis of rotation. If the stationary walls are not surfaces of revolution,
you must encapsulate the rotating parts with interface boundaries, thereby breaking your
model up into multiple zones, and use either the MRF or mixing plane models for steady
state solutions (see Sections 10.3.1 and 10.3.2), or the sliding mesh model for unsteady
interaction (see Chapter 11: Modeling Flows Using Sliding and Deforming Meshes).
c Fluent Inc. September 29, 2006 10-21
Modeling Flows with Rotating Reference Frames
• If the boundary between two zones that are in different reference frames is conformal
(i.e., the grid node locations are identical at the boundary where the two zones
meet), you can simply create the grid as usual, with all cell zones contained in the
same grid file. A different cell zone should exist for each portion of the domain that
is modeled in a different reference frame. Use an interior zone for the boundary
between reference frames.
• If the boundary between two zones that are in different reference frames is non-
conformal (i.e., the grid node locations are not identical at the boundary where
the two zones meet), follow the non-conformal grid setup procedure described in
Section 6.4.3: Using a Non-Conformal Grid in FLUENT.
10-22
c Fluent Inc. September 29, 2006
10.6 Steps in Using Rotating Reference Frames
Figure 10.6.1: The Solver Panel with the Absolute Velocity Formulation En-
abled
c Fluent Inc. September 29, 2006 10-23
Modeling Flows with Rotating Reference Frames
10-24
c Fluent Inc. September 29, 2006
10.7 Setting Up a Single Rotating Reference Frame Problem
1. Select the Velocity Formulation to be used in the Solver panel: either Relative or Ab-
solute. (See Section 10.7.1: Choosing the Relative or Absolute Velocity Formulation
for details.)
Define −→ Models −→Solver...
(Note that this step is irrelevant if you are using one of the density-based solvers;
these solvers always use an absolute velocity formulation.)
2. For each cell zone in the domain, specify the angular velocity (ω) of the reference
frame and the axis about which it rotates.
Define −→Boundary Conditions...
(a) In the Fluid panel or Solid panel, specify the Rotation-Axis Origin and Rotation-
Axis Direction to define the axis of rotation.
(b) Also in the Fluid (Figure 10.7.1) or Solid panel, select Moving Reference Frame
in the Motion Type drop-down list and then set the Speed under Rotational
Velocity in the expanded portion of the panel.
Details about these inputs are presented in Section 7.17.1: Inputs for Fluid Zones
and in Section 7.18.1: Inputs for Solid Zones.
i For solid zones, you only need to activate the Moving Reference Frame
option if you intend to include the convective terms in the energy equation
for the solid (Equation 13.2-11). Normally, this is not required if you wish
to do a conjugate heat transfer problem where the solid and fluid zones are
moving together.
3. Define the velocity boundary conditions at walls. You can choose to define either an
absolute velocity or a velocity relative to the moving reference frame (i.e., relative to
the velocity of the adjacent cell zone specified in step 2), as shown in Figure 10.6.2.
If the wall is moving at the speed of the rotating frame (and hence stationary in
the rotating frame), it is convenient to specify a relative angular velocity of zero.
Likewise, a wall that is stationary in the non-rotating frame of reference should
be given a velocity of zero in the absolute reference frame. Specifying the wall
velocities in this manner obviates the need to modify these inputs later if a change
is made in the rotational velocity of the fluid zone.
Details about these inputs are presented in Section 7.13.1: Velocity Conditions for
Moving Walls.
c Fluent Inc. September 29, 2006 10-25
Modeling Flows with Rotating Reference Frames
Figure 10.7.1: The Fluid Panel with the Moving Reference Frame Selected
10-26
c Fluent Inc. September 29, 2006
10.7 Setting Up a Single Rotating Reference Frame Problem
4. Define the velocity at any velocity inlets and the flow direction and total pressure
at any pressure inlets. For velocity inlets, you can choose to define either absolute
velocities or velocities relative to the motion of the adjacent cell zone (specified in
step 2). For pressure inlets, the specification of the flow direction and total pressure
will be relative or absolute, depending on the velocity formulation you selected in
step 1. See Section 10.7.1: Choosing the Relative or Absolute Velocity Formulation
for details. (If you use one of the coupled solution algorithms, the specification is
always in the absolute frame.)
Details about these inputs are presented in Sections 7.3.1 and 7.4.1.
Example
A problem with stationary outer walls and a rotating impeller can be solved in a single
reference frame. The example is illustrated in Figure 10.7.2.
c Fluent Inc. September 29, 2006 10-27
Modeling Flows with Rotating Reference Frames
In case A, it is expected that only the flow near the impeller would be rotating and that
much of the flow away from the impeller would have a low velocity magnitude in the
absolute frame. Therefore, solving in the absolute frame is recommended. In case B,
most of the flow is expected to be rotating with a velocity close to that of the impeller.
By solving the case in the relative frame, the flow speed would be very low relative to
the impeller speed. Hence, the relative velocity formulation is appropriate.
In a situation between case A and case B, either of the formulations may be used.
i When one of the coupled solution algorithms is used, the absolute formu-
lation is always used; the relative velocity formulation is not available in
the density-based solvers.
For velocity inlets and walls, you may specify velocity in either the absolute or the relative
frame, regardless of whether the absolute or relative velocity is used in the computation.
For pressure boundary conditions, however, FLUENT imposes several restrictions on how
total pressure and flow direction are specified in rotating reference frames.
The total pressure and flow direction at a pressure inlet must be specified in the absolute
frame if the absolute velocity formulation is used. For calculations using relative veloci-
ties, the total pressure and flow direction must be specified with respect to the rotating
frame.
For pressure outlets, the specified static pressure is independent of frame. When there is
backflow at a pressure outlet, however, the specified static pressure is used as the total
pressure. For calculations using absolute velocities, the specified static pressure is used
as the total pressure in the absolute frame; for the relative velocity formulation, the
specified static pressure is assumed to be the total pressure in the relative frame. As for
flow direction in reverse flows, FLUENT assumes the absolute velocity to be normal to the
pressure outlet for the absolute velocity formulation; for the relative velocity formulation,
it is the relative velocity that is assumed to be normal to the pressure outlet.
10-28
c Fluent Inc. September 29, 2006
10.8 Solution Strategies for a Single Rotating Reference Frame
• (Pressure-based solver only) Consider switching the frame in which velocities are
solved by changing the velocity formulation setting in the Solver panel. (See
Section 10.7.1: Choosing the Relative or Absolute Velocity Formulation for details.)
• (Pressure-based segregated solver only) Use the PRESTO! scheme (enabled in the
Solution Controls panel), which is well-suited for the steep pressure gradients in-
volved in rotating flows.
• Ensure that the mesh is sufficiently refined to resolve large gradients in pressure
and swirl velocity.
• (Pressure-based solver only) Reduce the under-relaxation factors for the velocities,
perhaps to 0.3–0.5 or lower, if necessary.
• Begin the calculations using a low rotational speed, increasing the rotational speed
gradually in order to reach the final desired operating condition (see below).
See Chapter 25: Using the Solver for details on the procedures used to make these changes
to the solution parameters.
c Fluent Inc. September 29, 2006 10-29
Modeling Flows with Rotating Reference Frames
1. Set up the problem using a low rotational speed in your inputs for boundary con-
ditions and for the angular velocity of the reference frame. The rotational speed in
this first attempt might be selected as 10% of the actual operating condition.
4. Modify your inputs (i.e., boundary conditions and angular velocity of the reference
frame). Increase the speed of rotation, perhaps doubling it.
5. Restart or continue the calculation using the solution data saved in Step 3 as the
initial guess for the new calculation. Save the new data.
6. Continue to increment the rotational speed, following Steps 4 and 5, until you reach
the desired operating condition.
10-30
c Fluent Inc. September 29, 2006
10.9 Postprocessing for a Single Rotating Reference Frame
1.29e+00
1.18e+00
1.06e+00
9.46e-01
8.31e-01
7.16e-01
6.01e-01
4.87e-01
3.72e-01
2.57e-01
1.42e-01
1.81e+00
1.63e+00
1.45e+00
1.27e+00
1.09e+00
9.07e-01
7.27e-01
5.47e-01
3.67e-01
1.87e-01
7.09e-03
c Fluent Inc. September 29, 2006 10-31
Modeling Flows with Rotating Reference Frames
1. Select the Velocity Formulation to be used in the Solver panel: either Absolute or Rel-
ative. (See Section 10.7.1: Choosing the Relative or Absolute Velocity Formulation
for details.)
Define −→ Models −→Solver...
(Note that this step is irrelevant if you are using one of the coupled solution algo-
rithms; these algorithms always use an absolute velocity formulation.)
2. For each cell zone in the domain, specify its translational velocity and/or its angular
velocity (ω) and the axis about which it rotates.
Define −→Boundary Conditions...
(a) If the zone is rotating, or if you plan to specify cylindrical velocity or flow-
direction components at inlets to the zone, you will need to define the axis
of rotation. In the Fluid panel or Solid panel, specify the Rotation-Axis Origin
and Rotation-Axis Direction.
(b) Also in the Fluid or Solid panel, select Moving Reference Frame in the Motion
Type drop-down list and then set the Speed under Rotational Velocity and/or
the X, Y, and Z components of the Translational Velocity in the expanded
portion of the panel.
Details about these inputs are presented in Section 7.17.1: Inputs for Fluid Zones
and in Section 7.18.1: Inputs for Solid Zones.
3. Define the velocity boundary conditions at walls. You can choose to define either
an absolute velocity or a velocity relative to the velocity of the adjacent cell zone
specified in step 2.
If the wall is moving at the speed of the moving frame (and hence stationary relative
to the moving frame), it is convenient to specify a relative angular velocity of zero.
Likewise, a wall that is stationary in the non-moving frame of reference should
be given a velocity of zero in the absolute reference frame. Specifying the wall
velocities in this manner obviates the need to modify these inputs later if a change
is made in the rotational velocity of the fluid zone.
10-32
c Fluent Inc. September 29, 2006
10.10 Setting Up a Multiple Rotating Reference Frame Problem
4. Define the velocity at any velocity inlets and the flow direction and total pressure
at any pressure inlets. For velocity inlets, you can choose to define either absolute
velocities or velocities relative to the motion of the adjacent cell zone (specified in
step 2). For pressure inlets, the specification of the flow direction and total pressure
will be relative or absolute, depending on the velocity formulation you selected in
step 1. See Section 10.7.1: Choosing the Relative or Absolute Velocity Formulation
for details. (If you use one of the coupled solution algorithms, the specification is
always in the absolute frame.)
Details about these inputs are presented in Sections 7.3.1 and 7.4.1.
c Fluent Inc. September 29, 2006 10-33
Modeling Flows with Rotating Reference Frames
10-34
c Fluent Inc. September 29, 2006
10.10 Setting Up a Multiple Rotating Reference Frame Problem
1. Select the Absolute or Relative Velocity Formulation in the Solver panel, when the
pressure-based solver is enabled.
i When the density-based solver is enabled, only the Absolute Velocity For-
mulation can be used with the mixing plane model.
Define −→ Models −→Solver...
2. For each cell zone in the domain, specify its angular velocity (ω) and the axis about
which it rotates.
Define −→Boundary Conditions...
(a) If the zone is rotating, or if you plan to specify cylindrical-velocity or flow-
direction components at inlets to the zone, you will need to define the axis
of rotation. In the Fluid panel or Solid panel, specify the Rotation-Axis Origin
and Rotation-Axis Direction.
(b) Also in the Fluid or Solid panel, select Moving Reference Frame in the Motion
Type drop-down list and then set the Speed under Rotational Velocity and/or
the X, Y, and Z components of the Translational Velocity in the expanded
portion of the panel.
Details about these inputs are presented in Section 7.17.1: Inputs for Fluid Zones
for fluid zones, and in Section 7.18.1: Inputs for Solid Zones for solid zones.
i It is important to define the axis of rotation for the cell zones on both sides
of the mixing plane interface, including the stationary zone.
3. Define the velocity boundary conditions at walls, as described in step 3 of Sec-
tion 10.10.1: Setting Up Multiple Reference Frames.
c Fluent Inc. September 29, 2006 10-35
Modeling Flows with Rotating Reference Frames
4. Define the velocity at any velocity inlets and the flow direction and total pressure
at any pressure inlets or mass flow inlets. For velocity inlets, you can choose to
define either absolute velocities or velocities relative to the motion of the adjacent
cell zone (specified in step 2). For pressure inlets and mass flow inlets, the specifi-
cation of the flow direction and total pressure will always be absolute, because the
absolute velocity formulation is always used for mixing plane calculations. For a
mass flow inlet, you do not need to specify the mass flow rate or mass flux. FLU-
ENT will automatically select the Mass Flux with Average Mass Flux specification
method and set the correct values when you create the mixing plane, as described
in Section 7.5.1: More About Mass Flux and Average Mass Flux.
Details about these inputs are presented in Sections 7.3.1, 7.4.1, and 7.5.1.
i Note that the outlet boundary zone at the mixing plane interface must
be defined as a pressure outlet, and the inlet boundary zone at the mix-
ing plane interface must be defined as a velocity inlet (incompressible flow
only), a pressure inlet, or a mass flow inlet. The overall inlet and exit
boundary conditions can be any suitable combination permitted by the
solver (e.g., velocity inlet, pressure inlet, or mass flow inlet; pressure out-
let). Keep in mind, however, that if mass conservation across the mixing
plane is important, you need to use a mass flow inlet as the downstream
boundary; mass conservation is not maintained across the mixing plane
when you use a velocity inlet or pressure inlet.
5. Define the mixing planes in the Mixing Planes panel (Figure 10.10.2).
Define −→Mixing Planes...
10-36
c Fluent Inc. September 29, 2006
10.10 Setting Up a Multiple Rotating Reference Frame Problem
(a) Specify the two zones that comprise the mixing plane by selecting an upstream
zone in the Upstream Zone list and a downstream zone in the Downstream Zone
list. It is essential that the correct pairs be chosen from these lists (i.e., that
the boundary zones selected lie on the mixing plane interface). You can check
this by displaying the grid.
Display −→Grid...
(b) (3D only) Indicate the geometry of the mixing plane interface by choosing one
of the options under Mixing Plane Geometry.
A Radial geometry signifies that information at the mixing plane interface is
to be circumferentially averaged into profiles that vary in the radial direction,
e.g., p(r), T (r). This is the case for axial-flow machines, for example.
An Axial geometry signifies that circumferentially averaged profiles are to be
constructed that vary in the axial direction, e.g., p(x), T (x). This is the
situation for a radial-flow device.
i Note that the radial direction is normal to the rotation axis for the fluid
zone and the axial direction is parallel to the rotation axis.
(c) (3D only) Set the number of Interpolation Points. This is the number of radial
or axial locations used in constructing the boundary profiles for circumferential
averaging. You should choose a number that approximately corresponds to
the resolution of the surface mesh in the radial or axial direction. Note that
while you can use more points if you wish, the resolution of the boundary
profile will only be as fine as the resolution of the surface mesh itself.
In 2D the flow data is averaged over the entire interface to create a profile
consisting of a single data point. For this reason you do not need to set the
number of Interpolation Points or select a Mixing Plane Geometry in 2D.
c Fluent Inc. September 29, 2006 10-37
Modeling Flows with Rotating Reference Frames
Modeling Options
There are two options available for use with the mixing plane model: a fixed pressure
level for incompressible flows, and the swirl conservation described in Section 10.3.2: Swirl
Conservation.
10-38
c Fluent Inc. September 29, 2006
10.10 Setting Up a Multiple Rotating Reference Frame Problem
i This option is available only for incompressible flows calculated using the
pressure-based solver.
To enable the fixed pressure option, use the fix-pressure-level text command:
define −→ mixing-planes −→ set −→fix-pressure-level
One of the options available in the mixing plane model is to conserve total enthalpy
across the mixing plane. This is a desirable feature because global parameters such as
efficiency are directly related to the change in total enthalpy across a blade row or stage.
The procedure for ensuring conservation of total enthalpy simply involves adjusting the
downstream total temperature profile such that the integrated total enthalpy matches
the upstream integrated total enthalpy.
If you want to enable total enthalpy conservation, you can use the commands in the
conserve-total-enthalpy text menu:
define −→ mixing-planes −→ set −→conserve-total-enthalpy
To turn on total enthalpy conservation, use the enable? text command. Once the
option is turned on, you can ask the solver to report information about the total enthalpy
conservation during the calculation. If you turn on verbosity?, FLUENT will report at
every iteration the zone ID for the zone on which the total enthalpy conservation is active,
the upstream and downstream heat flux, and the ratio of upstream to downstream heat
flux.
c Fluent Inc. September 29, 2006 10-39
Modeling Flows with Rotating Reference Frames
10-40
c Fluent Inc. September 29, 2006
10.12 Postprocessing for MRF and Mixing Plane Problems
When plotting velocity vectors, you can choose to plot vectors in the absolute frame (the
default), or you can select Relative Velocity in the Vectors of drop-down list in the Vectors
panel to plot vectors relative to the translational/rotational velocity of the “reference
zone” (specified in the Reference Values panel). If you plot relative velocity vectors,
you might want to color the vectors by relative velocity magnitude (by choosing Relative
Velocity Magnitude in the Color by list); by default they will be colored by absolute velocity
magnitude.
You can also generate a plot of circumferential averages in FLUENT. This allows you to
find the average value of a quantity at several different radial or axial positions in your
model. FLUENT computes the average of the quantity over a specified circumferential
area, and then plots the average against the radial or axial coordinate. For more infor-
mation on generating XY plots of circumferential averages, see Section 28.8.4: XY Plots
of Circumferential Averages.
See also Section 28.9: Turbomachinery Postprocessing for details about turbomachinery-
specific postprocessing features.
c Fluent Inc. September 29, 2006 10-41
Modeling Flows with Rotating Reference Frames
10-42
c Fluent Inc. September 29, 2006
Chapter 11. Modeling Flows Using Sliding and Deforming
Meshes
This chapter describes the theoretical background, setup, and use of the sliding and
dynamic mesh models in FLUENT.
11.1 Introduction
In sliding meshes, the relative motion of stationary and rotating components in a rotating
machine will give rise to unsteady interactions. These interactions are illustrated in
Figure 11.1.1, and generally classified as follows:
• Wake interactions: flow unsteadiness due to wakes from upstream blade rows, con-
vecting downstream.
Where the multiple reference frame (MRF) and mixing plane (MP) models, discussed
in Chapter 10: Modeling Flows with Rotating Reference Frames, are models that are
applied to steady-state cases, thus neglecting unsteady interactions, the sliding mesh
model cannot neglect unsteady interactions. The sliding mesh model accounts for the
relative motion of stationary and rotating components.
c Fluent Inc. September 29, 2006 11-1
Modeling Flows Using Sliding and Deforming Meshes
The dynamic mesh model uses the FLUENT solver to move boundaries and/or objects,
and to adjust the mesh accordingly. The dynamic mesh model is used when boundaries
move rigidly (linear or rotating) with respect to each other. For example
The dynamic mesh model can also be used when boundaries deform or deflect. For
example
11-2
c Fluent Inc. September 29, 2006
11.1 Introduction
d Z Z
~
Z
~
Z
ρφdV + ρφ (~u − ~ug ) · dA = Γ∇φ · dA + Sφ dV (11.1-1)
dt V ∂V ∂V V
dV
V n+1 = V n + ∆t (11.1-3)
dt
where dV /dt is the volume time derivative of the control volume. In order to satisfy the
grid conservation law, the volume time derivative of the control volume is computed from
f n
dV Z
~=
X
~j
= ~ug · dA ~ug,j · A (11.1-4)
dt ∂V j
where nf is the number of faces on the control volume and A ~ j is the j face area vector.
~ j on each control volume face is calculated from
The dot product ~ug,j · A
~j = δVj
~ug,j · A (11.1-5)
∆t
where δVj is the volume swept out by the control volume face j over the time step ∆t.
c Fluent Inc. September 29, 2006 11-3
Modeling Flows Using Sliding and Deforming Meshes
In the case of the sliding mesh, the motion of moving zones is tracked relative to the sta-
tionary frame. Therefore, no moving reference frames are attached to the computational
domain, simplifying the flux transfers across the interfaces. In the sliding mesh formula-
tion, the control volume remains constant, therefore from Equation 11.1-3, dV dt
= 0 and
n+1 n
V = V . Equation 11.1-2 can now be expressed as follows:
d Z [(ρφ)n+1 − (ρφ)n ]V
ρφdV = (11.1-6)
dt V ∆t
Note that for flow situations where there is no interaction between stationary and moving
parts (i.e., when there is only a rotor), the computational domain can be made stationary
by using a rotating reference frame. (See Section 10.2: Flow in a Rotating Reference
Frame for details.) When transient rotor-stator interaction is desired (as in the examples
in Figures 11.2.2 and 11.2.3), you must use sliding meshes. If you are interested in a
steady approximation of the interaction, you may use the multiple reference frame model
or the mixing plane model, as described in Sections 10.3.1 and 10.3.2.
11-4
c Fluent Inc. September 29, 2006
11.2 Sliding Mesh Theory
stationary
vanes
rotating
blades
flow
direction of
motion
c Fluent Inc. September 29, 2006 11-5
Modeling Flows Using Sliding and Deforming Meshes
i Note that the grid interface must be positioned so that it has fluid cells
on both sides. For example, the grid interface for the geometry shown in
Figure 11.2.2 must lie in the fluid region between the rotor and stator; it
cannot be on the edge of any part of the rotor or stator.
During the calculation, the cell zones slide (i.e., rotate or translate) relative to one another
along the grid interface in discrete steps. Figures 11.2.4 and 11.2.5 show the initial
position of two grids and their positions after some translation has occurred.
As the rotation or translation takes place, node alignment along the grid interface is not
required. Since the flow is inherently unsteady, a time-dependent solution procedure is
required.
11-6
c Fluent Inc. September 29, 2006
11.2 Sliding Mesh Theory
c Fluent Inc. September 29, 2006 11-7
Modeling Flows Using Sliding and Deforming Meshes
11-8
c Fluent Inc. September 29, 2006
11.2 Sliding Mesh Theory
planar sector
grid interface
c Fluent Inc. September 29, 2006 11-9
Modeling Flows Using Sliding and Deforming Meshes
In the example shown in Figure 11.2.11, the interface zones are composed of faces A-B
and B-C, and faces D-E and E-F. The intersection of these zones produces the faces a-d,
d-b, b-e, etc. Faces produced in the region where the two cell zones overlap (d-b, b-e,
and e-c) are grouped to form an interior zone, while the remaining faces (a-d and c-f)
are paired up to form a periodic zone. To compute the flux across the interface into cell
IV, for example, face D-E is ignored and faces d-b and b-e are used instead, bringing
information into cell IV from cells I and III, respectively.
11-10
c Fluent Inc. September 29, 2006
11.2 Sliding Mesh Theory
cell zone 1
I II
III
interface
A B C zone 1
a d b e c f
interface D E F
zone 2
IV VI
cell zone 2
c Fluent Inc. September 29, 2006 11-11
Modeling Flows Using Sliding and Deforming Meshes
• smoothing methods
• dynamic layering
Note that you can use FLUENT’s dynamic mesh models in conjunction with hanging
node adaption, with the exception of dynamic layering and face remeshing. For more
information on hanging node adaption, see Section 26.2.1: Hanging Node Adaption.
11-12
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
ni
F~i =
X
kij (∆~xj − ∆~xi ) (11.3-1)
j
where ∆~xi and ∆~xj are the displacements of node i and its neighbor j, ni is the number
of neighboring nodes connected to node i, and kij is the spring constant (or stiffness)
between node i and its neighbor j. The spring constant for the edge connecting nodes i
and j is defined as
1
kij = q (11.3-2)
| ~xi − ~xj |
At equilibrium, the net force on a node due to all the springs connected to the node must
be zero. This condition results in an iterative equation such that
Pni
j kij ∆~xmj
∆~xm+1
i = Pni (11.3-3)
j k ij
Since displacements are known at the boundaries (after boundary node positions have
been updated), Equation 11.3-3 is solved using a Jacobi sweep on all interior nodes. At
convergence, the positions are updated such that
~xn+1
i = ~xni + ∆~xm,converged
i (11.3-4)
where n + 1 and n are used to denote the positions at the next time step and the current
time step, respectively. The spring-based smoothing is shown in Figures 11.3.1 and 11.3.2
for a cylindrical cell zone where one end of the cylinder is moving.
c Fluent Inc. September 29, 2006 11-13
Modeling Flows Using Sliding and Deforming Meshes
11-14
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
You can use the spring-based smoothing method to update any cell or face zone whose
boundary is moving or deforming.
For non-tetrahedral cell zones (non-triangular in 2D), the spring-based method is recom-
mended when the following conditions are met:
• The boundary of the cell zone moves predominantly in one direction (i.e., no ex-
cessive anisotropic stretching or compression of the cell zone).
If these conditions are not met, the resulting cells may have high skewness values, since
not all possible combinations of node pairs in non-tetrahedral cells (or non-triangular in
2D) are idealized as springs.
By default, spring-based smoothing on non-triangular or non-tetrahedral cell zones are
turned off. If you want to use spring-based smoothing on all cell shapes, you can turn on
the model for these zones using the spring-on-all-shapes? text-interface command:
define −→ models −→ dynamic-mesh-controls −→
smoothing-parameter −→spring-on-all-shapes?
where −→
xm →m
−
i is the averaged node position of node i at iteration m, x j is the node position
of neighbor node of −→xm
i at iteration m, and ni is the number nodes neighboring node i.
The new node position − →x m+1
i is then computed as follows:
c Fluent Inc. September 29, 2006 11-15
Modeling Flows Using Sliding and Deforming Meshes
−
→
x m+1 =−
→
xm →m
−
i i (1 − β) + x i β (11.3-6)
where hmin is the minimum cell height of cell layer j, hideal is the ideal cell height, and
αs is the layer split factor. When this condition is met, the cells are split based on the
specified layering option: constant height or constant ratio.
11-16
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
c Fluent Inc. September 29, 2006 11-17
Modeling Flows Using Sliding and Deforming Meshes
Figure 11.3.4: Zooming into the Mesh of the Compliant Strip Prior to Ap-
plying Boundary Layer Smoothing
11-18
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
c Fluent Inc. September 29, 2006 11-19
Modeling Flows Using Sliding and Deforming Meshes
Figure 11.3.6: Zooming into the Deformed Boundary Layer of the Compliant
Strip
Layer i
Layer j h
Moving
boundary
11-20
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
With the constant height option, the cells are split to create a layer of cells with constant
height hideal and a layer of cells of height h − hideal . With the constant ratio option, the
cells are split such that locally, the ratio of the new cell heights is exactly αs everywhere.
Figures 11.3.8 and 11.3.9 shows the result of splitting a layer of cells above a valve
geometry using the constant height and constant ratio option.
If the cells in layer j are being compressed, they can be compressed until
where αc is the layer collapse factor. When this condition is met, the compressed layer
of cells is merged into the layer of cells above the compressed layer; i.e., the cells in layer
j are merged with those in layer i.
c Fluent Inc. September 29, 2006 11-21
Modeling Flows Using Sliding and Deforming Meshes
You can use the dynamic layering method to split or merge cells adjacent to any moving
boundary provided the following conditions are met:
• All cells adjacent to the moving face zone are either wedges or hexahedra (quadri-
laterals in 2D) even though the cell zone may contain mixed cell shapes.
• The cell layers must be completely bounded by one-sided face zones, except when
sliding interfaces are used (see Section 11.3.2: Applicability of the Face Region
Remeshing Method).
• If the bounding face zones are two-sided walls, you must split the wall and wall-
shadow pair and use the coupled sliding interface option to couple the two adjacent
cell zones.
• Note that you cannot use the dynamic layering method in conjunction with hang-
ing node adaption. For more information on hanging node adaption, see Sec-
tion 26.2.1: Hanging Node Adaption.
If the moving boundary is an internal zone, cells on both sides (possibly with different
ideal cell layer heights) of the internal zone are considered for dynamic layering.
If you want to use dynamic layering on cells adjacent to a moving wall that do not
span from boundary to boundary, you must separate those cells which are involved in
the dynamic layering and use the sliding interfaces capability in FLUENT to transition
from the deforming cells to the adjacent non-deforming cells (see Figure 11.3.10). For a
moving interior face, the zones must be separated such that they are either expanding or
collapsing on the same side. No one zone can consist of both expanding and collapsing
layers.
Remeshing Methods
On zones with a triangular or tetrahedral mesh, the spring-based smoothing method
(described in Section 11.3.2: Spring-Based Smoothing Method) is normally used. When
the boundary displacement is large compared to the local cell sizes, the cell quality can
deteriorate or the cells can become degenerate. This will invalidate the mesh (e.g., result
in negative cell volumes) and consequently, will lead to convergence problems when the
solution is updated to the next time step.
To circumvent this problem, FLUENT agglomerates cells that violate the skewness or size
criteria and locally remeshes the agglomerated cells or faces. If the new cells or faces
satisfy the skewness criterion, the mesh is locally updated with the new cells (with the
solution interpolated from the old cells). Otherwise, the new cells are discarded.
11-22
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
Sliding Interfaces
FLUENT includes several remeshing methods that include local remeshing, local face
remeshing (for 3D flows only), face region remeshing, and 2.5D surface remeshing (for 3D
flows only). The available remeshing methods in FLUENT work for triangular-tetrahedral
zones and mixed zones where the non-triangular/tetrahedral elements are skipped. The
exception is the 2.5D model, where the available remeshing method only work on wedges
extruded from triangular surfaces or hex meshes.
c Fluent Inc. September 29, 2006 11-23
Modeling Flows Using Sliding and Deforming Meshes
Using the local remeshing method, FLUENT marks cells based on cell skewness and
minimum and maximum length scales as well as an optional sizing function.
FLUENT evaluates each cell and marks it for remeshing if it meets one or more of the
following criteria:
In addition to remeshing the volume mesh, FLUENT also allows triangular and linear
faces on a deforming boundary to be remeshed. FLUENT marks deforming boundary
faces for remeshing based on moving and deforming loops of faces.
For face region remeshing, FLUENT marks the region of faces on the deforming boundaries
at the moving boundary based on minimum and maximum length scales. Once marked,
FLUENT remeshes the faces and the adjacent cells to produce a very regular mesh on the
deforming boundary at the moving boundary (e.g., Figure 11.3.11). Using this method,
FLUENT is able to remesh across multiple face zones.
For 3D simulations, FLUENT allows remeshing with symmetric boundary conditions, and
across multiple face zones which includes preserving features not only between the differ-
ent face zones, but also within a face zone. For more information, see Section 11.3.2: Fea-
ture Detection.
FLUENT automatically extracts loops on the boundary of the face zone whose nodes are
moving or deforming. Consider a simple tetrahedral mesh of a cylinder whose bottom
wall is moving (see Figure 11.3.11). On the deforming boundary, a single loop is generated
at the bottom end of the cylinder (where the nodes are moving). FLUENT analyzes the
height of the faces connected to the nodes on the loop and subsequently, splits or merges
the faces depending on the specified maximum or minimum length scale.
If the faces in layer j are expanding, they are allowed to expand until the maximum
length scale is reached.
Conversely, if the layer is contracting, they are allowed to contract until the minimum
length scale is reached.
When this condition is met, the compressed layer of faces is merged into the layer of faces
above it. The face remeshing is illustrated in Figure 11.3.13.
11-24
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
Deforming
boundary
Layer i
Layer j h
Moving boundary
You can use the local remeshing method only in cell zones that contain tetrahedral or
triangular cells.
If you define deforming face zones in your model and you use local remeshing in the
adjacent cell zone, the faces on the deforming face zone can be remeshed only if the
following conditions are met:
• Note that you cannot use the face region remeshing method in conjunction with
hanging node adaption. For more information on hanging node adaption, see Sec-
tion 26.2.1: Hanging Node Adaption.
The local face remeshing method only applies to 3D geometries. Using this method,
FLUENT marks the faces (and the adjacent cells) on the deforming boundaries based on
the face skewness. Using this method, FLUENT is able to remesh locally at deforming
boundaries, however, you are not able to remesh across multiple face zones.
c Fluent Inc. September 29, 2006 11-25
Modeling Flows Using Sliding and Deforming Meshes
11-26
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
If you define deforming face zones in your model and you use local face remeshing in
the adjacent cell zone, the faces on the deforming face zone can be remeshed only if the
following conditions are met:
• Note that you cannot use the local face remeshing method in conjunction with
hanging node adaption. For more information on hanging node adaption, see Sec-
tion 26.2.1: Hanging Node Adaption.
The 2.5D surface remeshing method only applies to extruded 3D geometries and is sim-
ilar to local remeshing in two dimensions on a triangular surface mesh (not a mixed
zone). Faces on a deforming boundary are marked for remeshing based on face skewness,
minimum and maximum length scale and an optional sizing function.
Stationary Wall
Moving
Walls
Moving Walls
Figure 11.3.14: Close-Up of 2.5D Extruded Flow Meter Pump Geometry Be-
fore Remeshing and Laplacian Smoothing
c Fluent Inc. September 29, 2006 11-27
Modeling Flows Using Sliding and Deforming Meshes
Remeshed Areas
Figure 11.3.15: Close-Up of 2.5D Extruded Flow Meter Pump Geometry Af-
ter Remeshing and Laplacian Smoothing
• Extruded prisms get remeshed based on the remeshing of the triangular face. Only
extruded regions get remeshed, not mixed regions.
• Note that you cannot use the 2.5D surface remeshing method in conjunction with
hanging node adaption. For more information on hanging node adaption, see Sec-
tion 26.2.1: Hanging Node Adaption.
• In the extruded/coopered mesh, area zone changes are not allowed. In such cases,
make sure that the face zones at the extruded mesh area do not change from the top
to the bottom. For more information about the 2.5D model, see Section 11.7.6: Us-
ing the 2.5D Model.
11-28
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
• local remeshing
Figure 11.3.17 demonstrates the advantages of using size functions for local remeshing:
In determining the sizing function, FLUENT draws a bounding box around the zone that
is approximately twice the size of the zone, and locates the shortest feature length within
each fluid zone. FLUENT then subdivides the bounding box based on the shortest feature
length and the Size Function Resolution that you specify. This allows FLUENT to create
a background grid.
You control the resolution of the background grid and a background grid is created for
each fluid zone. The shortest feature length is determined by shrinking a second box
around the object, and then selecting the shortest edge on that box. The size function
is evaluated at the vertex of each individual background grid.
As seen in Figure 11.3.18, the local value of the size function SFI is defined by
Σ D1J ∆sJ
SFI = (11.3-9)
Σ D1J
where DJ is the distance from vertex I on the background grid to the centroid of boundary
cell J and ∆sJ is the mesh size (length) of boundary cell J.
The size function is then smoothed using Laplacian smoothing. FLUENT then inter-
polates the value of the size function by calculating the distance LI from a given cell
centroid P to the background grid vertices that surround the cell (see Figure 11.3.19).
The intermediate value of the size function sizeb at the centroid is computed from
ΣSF I L1I
sizeb = (11.3-10)
Σ L1I
c Fluent Inc. September 29, 2006 11-29
Modeling Flows Using Sliding and Deforming Meshes
Figure 11.3.16: Grid at the End of a Dynamic Mesh Simulation Without Size
Functions
Figure 11.3.17: Grid at the End of a Dynamic Mesh Simulation With Size
Functions
11-30
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
c Fluent Inc. September 29, 2006 11-31
Modeling Flows Using Sliding and Deforming Meshes
Next, a single point Q is located within the domain (see Figure 11.3.20) that has the
largest distance dmax to the nearest boundary to it. The normalized distance db for the
given centroid P is given by
dPmin
db = (11.3-11)
dmax
Using the parameters α and β (the Size Function Variation and the Size Function Rate,
respectively), you can write the final value sizeP of the size function at point P as
where sizeb is the intermediate value of the size function at the cell centroid.
Note that α is the size function variation. Positive values mean that the cell size in-
creases as you move away from the boundary. Since the maximum value of db is one, the
maximum cell size becomes
11-32
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
γ = 1 + αd1+2β
b if α > 0 (11.3-14)
1
1−β
γ = 1 + αdb if α < 0 (11.3-15)
You can use Size Function Variation (or α) to control how large or small an interior cell
can be with respect to its closest boundary cell. α ranges from −1 to ∞, an α value of 0.5
indicates that the interior cell size can be, at most, 1.5 the size of the closest boundary
cell. Conversely, an α value of −0.5 indicates that the cell size interior of the boundary
can be half of that at the closest boundary cell. A value of 0 indicates a constant size
distribution away from the boundary.
You can use Size Function Rate (or β) to control how rapidly the cell size varies from the
boundary. The value of β should be specified such that −0.99 < β < +0.99. A positive
value indicates a slower transition from the boundary to the specified Size Function Vari-
ation value. Conversely, a negative value indicates a faster transition from the boundary
to the Size Function Variation value. A value of 0 indicates a linear variation of cell size
away from the boundary.
You can also control the resolution of the sizing function with Size Function Resolution.
The resolution determines the size of the background bins used to evaluate the size
distribution with respect to the shortest feature length of the current mesh. By default,
the Size Function Resolution is 3 in 2D problems, and 1 in 3D problems.
A set of default values (based on the current mesh) is automatically generated if you
click Use Defaults.
In summary, the sizing function is a distance-weighted average of all mesh sizes on all
boundary faces (both stationary and moving boundaries). The sizing function is based on
the sizes of the boundary cells, with the size computed from the cell volume by assuming
a perfect (equilateral) triangle in 2D and a perfect tetrahedron in 3D. You can control
the size distribution by specifying the Size Function Variation and the Size Function Rate.
If you have enabled the Sizing Function option, FLUENT will agglomerate a cell if
4 5
size 6∈ γsizeb , γsizeb (11.3-16)
5 4
where γ is a factor defined by Equation 11.3-14 and Equation 11.3-15.
Note that the size function is only used for marking cells before remeshing. The size
function is not used to govern the size of the cell during remeshing.
c Fluent Inc. September 29, 2006 11-33
Modeling Flows Using Sliding and Deforming Meshes
Feature Detection
For 3D simulations, FLUENT allows you to preserve features on deforming zones not only
between the different face zones, but also within a face zone.
In the Geometry Definition tab of the Dynamic Mesh Zones panel, for any geometry defini-
tion, you can indicate whether you want to include features of a specific angle by selecting
Include Features under Feature Detection and setting the Feature Angle (the zonal feature
angle α) in degrees. If the angle β between adjacent faces is bigger than the specified
angle, then the feature is recognized (i.e., cos(β) < cos(α)).
The following items are applicable for use with feature detection:
• Features are preserved by local face remeshing, i.e. there is no local face remeshing
across features
• Smoothing methods preserve features, i.e. nodes at feature edges are not allowed
to be smoothed
11-34
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
i Note that if your dynamic mesh model consists of numerous shell conduc-
tion zones, the mesh update may very time consuming because all shells
are deleted and recreated during the mesh update.
• time (time)
• position (x, y, z)
• orientation (θx , θy , θz )
By default FLUENT assumes that the motion is specified in the inertial coordinate system.
However, it is also possible to prescribe the motion relative to the coordinate system by
selecting the Motion Type from the drop-down list for the respective fluid zone defined
in Define −→Boundary Conditions. Thus the motion may be prescribed relative to a
Rotating Reference Frame, Moving Mesh, or as Stationary.
For in-cylinder simulations, the velocity profiles for valves can be expressed as a function
of crank angle instead of time. In addition, transient boundary condition profiles can also
be expressed as a function of crank angle instead of time. For more information about
transient profiles, see Section 7.1.9: Defining Transient Boundary Conditions.
c Fluent Inc. September 29, 2006 11-35
Modeling Flows Using Sliding and Deforming Meshes
((movement_linear 3 point)
(time
0 1 2 )
(x
2 3 4 )
(v_y
0 -5 0 )
)
((movement_angular 3 point)
(time
0 1 2 )
(omega_x
2 3 4 )
)
For in-cylinder flows, crank angles can be included in transient tables as well as transient
profiles, in a similar fashion to time. An example of a transient table using (crank) angle
is as follows:
example 2 3 1
angle temperature
0 300
180 500
360 300
((example transient 3 1)
(angle
0.000000e+00 1.800000e+02 3.600000e+02)
(temperature
3.000000e+02 5.000000e+02 3.000000e+02)
)
11-36
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
In addition to the motion description, you must also specify the starting location of the
center of gravity and orientation of the solid body. In 2D (and 3D non-6DOF), FLUENT
automatically updates the center of gravity position and orientation at every time step
such that
~xn+1
c.g. = ~xnc.g. + ~vc.g. ∆t (11.3-17)
θ~c.g.
n+1
= θ~c.g.
n
+Ω~ c.g. ∆t (11.3-18)
where ~xc.g. and θ~c.g. are the position and orientation of the center of gravity, ~vc.g. and Ω
~ c.g.
are the linear and angular velocities of the center of gravity. 3D, 6DOF cases use a more
complex form of Equation 11.3-18 when updating θ.
Typically, θ~ is chosen to be an appropriate set of Euler angles. In this case, the solid-body
motion must be specified using a user-defined function (DEFINE CG MOTION).
The position vectors on the solid body are updated based on rotation about the instan-
taneous angular velocity vector Ω~ c.g. . For a finite rotation angle ∆θ = |Ω
~ c.g. |∆t, the final
position of a vector ~xr on the solid body with respect to ~xc.g. can be expressed as (See
Figure 11.3.4)
~xn+1
r = ~xnr + ∆~x (11.3-19)
~ c.g. × ~xr
Ω
êθ = (11.3-21)
~ c.g. × ~xr |
|Ω
~ c.g.
êθ × Ω
êr = (11.3-22)
~ c.g. |
|êθ × Ω
If the solid body is also translating with ~vc.g , the n + 1 position vector on the solid body
can be expressed as
where ~xn+1
r is given by Equation 11.3-19.
c Fluent Inc. September 29, 2006 11-37
Modeling Flows Using Sliding and Deforming Meshes
Ω c.g.
∆θ
∆x
eθ
er
x rn+1
n
xr
x c.g.
Figure 11.3.21: Solid Body Rotation Coordinates
11-38
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
The mesh must be manually updated through journal files or execute commands. To
update the mesh, you can use the Mesh Motion panel.
Solve −→Mesh Motion...
Alternatively, you can use the following text command:
solve −→mesh-motion
which can also be used as an execute command in the Execute Command panel:
Solve −→Execute Commands...
Figure 11.3.22: The Mesh Motion Panel for Steady-State Dynamic Meshes
c Fluent Inc. September 29, 2006 11-39
Modeling Flows Using Sliding and Deforming Meshes
You can display dynamic mesh statistics (such as minimum and maximum volumes and
maximum cell and face skewness) by clicking the Update button in the Mesh Motion panel
(Figure 11.3.22).
• In-Cylinder
Consider a rescue drop case shown in Figure 11.3.23. The object can be moved in any
position in the steady-state solver, after which steady-state analyses can be performed
at different object positions.
The dynamic mesh parameters setup is identical for the steady-state and transient cases,
which is described in Section 11.7.1: Setting Dynamic Mesh Modeling Parameters. When
setting up the dynamic zones, the procedures are similar to those described in Sec-
tion 11.7.2: Specifying the Motion of Dynamic Zones, except that the UDF selected from
the Motion UDF/Profile drop-down list is different. In steady-state cases the dtime passed
to the UDF is by default 1. So, in this example, the object will move 50mm each time
the following UDF is executed:
11-40
c Fluent Inc. September 29, 2006
11.3 Dynamic Mesh Theory
#include "udf.h"
DEFINE_CG_MOTION(pod,dt,vel,omega,time,dtime)
{
NV_S(vel,=,0);
NV_S(omega,=,0);
vel[1] = -50e-3;
}
c Fluent Inc. September 29, 2006 11-41
Modeling Flows Using Sliding and Deforming Meshes
• A different cell zone exists for each portion of the domain that is sliding at a different
speed.
• The grid interface must be situated such that there is no motion normal to it.
• The grid interface can be any shape (including a non-planar surface, in 3D), pro-
vided that the two interface boundaries are based on the same geometry. If there
are sharp features in the mesh (e.g., 90-degree angles), it is especially important
that both sides of the interface closely follow that feature.
• If you create a single grid with multiple cell zones, you must be sure that each
cell zone has a distinct face zone on the sliding boundary. The face zones for two
adjacent cell zones will have the same position and shape, but one will correspond
to one cell zone and one to the other. (Note that it is also possible to create a
separate grid file for each of the cell zones, and then merge them as described in
Section 6.3.15: Reading Multiple Mesh/Case/Data Files.)
• If you are modeling a rotor/stator geometry using periodicity, the periodic angle of
the mesh around the rotor blade(s) must be the same as that of the mesh around
the stationary vane(s).
• For 3D cases, if the interface is periodic, only one pair of periodic boundaries can
neighbor the interface.
See Section 11.2.1: The Sliding Mesh Technique for details about these restrictions and
general information about how the sliding mesh model works in FLUENT.
11-42
c Fluent Inc. September 29, 2006
11.4 Steps in Using Sliding Meshes
1. Enable the appropriate option for modeling unsteady flow in the Solver panel.
(See Section 25.17: Performing Time-Dependent Calculations for details about the
unsteady modeling capabilities in FLUENT.)
Define −→ Models −→Solver...
3. Define the grid interfaces in the Grid Interfaces panel (Figure 11.4.1).
Define −→Grid Interfaces...
(a) Enter a name for the interface in the Grid Interface field.
(b) Specify the two interface zones that comprise the grid interface by selecting
one or more zones in the Interface Zone 1 list and one or more zones in the
Interface Zone 2 list. (The order does not matter.)
(c) Set the Interface Type, if appropriate. There are two options:
c Fluent Inc. September 29, 2006 11-43
Modeling Flows Using Sliding and Deforming Meshes
i Periodic is not a valid option when more than one zone is selected in each
Interface Zone.
• Enable Coupled if the interface lies between a solid zone and a fluid zone.
(d) Click on Create to create a new grid interface.
For all types of interfaces, FLUENT will create boundary zones for the inter-
face (e.g., wall-9, wall-10), which will appear under Boundary Zone 1 and
Boundary Zone 2. You can use the Boundary Conditions panel to change them
to another zone type (e.g., pressure far-field, symmetry, pressure outlet).
If you have enabled the Coupled option, FLUENT will also create wall interface
zones (e.g., wall-4, wall-4-shadow), which will appear under Interface Wall
Zone 1 and Interface Wall Zone 2.
If you create an incorrect grid interface, you can select it in the Grid Interface list
and click on the Delete button to delete it. (Any boundary zones that were created
when the interface was created will also be deleted.)
11-44
c Fluent Inc. September 29, 2006
11.5 Solution Strategies for Sliding Meshes
i When you have completed the problem setup, you should save an initial
case file so that you can easily return to the original grid position (i.e.,
the positions before any sliding occurs). The grid position is stored in the
case file, so case files that you save at different times during the unsteady
calculation will contain grids at different positions.
c Fluent Inc. September 29, 2006 11-45
Modeling Flows Using Sliding and Deforming Meshes
i You must save a case file each time you save a data file because the grid
position is stored in the case file. Since the grid position changes with each
time step, reading data for a given time step will require the case file at
that time step so that the grid will be in the proper position. You should
also save your initial case file so that you can easily return to the grid’s
original position to restart the solution if desired.
i If you are planning to solve your sliding mesh model in several stages,
whereby you run the calculation for some period of time, save case and
data files, exit FLUENT, start a new FLUENT session, read the case and
data files, continue the calculation for some time, save case and data files,
exit FLUENT, and so on, there may be some distortion in the mesh with
each subsequent continuation of the calculation. To avoid this problem, you
can delete the grid interface before saving the case file, and then create it
again (as described in step 3 above) after you read the case file into a new
FLUENT session.
11-46
c Fluent Inc. September 29, 2006
11.5 Solution Strategies for Sliding Meshes
Time-Periodic Solutions
For some problems (e.g., rotor-stator interactions), you may be interested in a time-
periodic solution. That is, the startup transient behavior may not be of interest to you.
Once this startup phase has passed, the flow will start to exhibit time-periodic behavior.
If T is the period of unsteadiness, then for some flow property φ at a given point in the
flow field:
For rotating problems, the period (in seconds) can be calculated by dividing the sector
angle of the domain (in radians) by the rotor speed (in radians/sec): T = θ/Ω. For 2D
rotor-stator problems, T = P/vb , where P is the pitch and vb is the blade speed. The
number of time steps in a period can be determined by dividing the time period by the
time step size. When the solution field does not change from one period to the next (for
example, if the change is less than 5%), a time-periodic solution has been reached.
To determine how the solution changes from one period to the next, you will need to
compare the solution at some point in the flow field over two periods. For example, if the
time period is 10 seconds, you can compare the solution at a given point after 22 seconds
with the solution after 32 seconds to see if a time-periodic solution has been reached. If
not, you can continue the calculation for another period and compare the solutions after
32 and 42 seconds, and so on until you see little or no change from one period to the
next. You can also track global quantities, such as lift and drag coefficients and mass
flow, in the same manner. Figure 11.5.1 shows a lift coefficient plot for a time-periodic
solution.
c Fluent Inc. September 29, 2006 11-47
Modeling Flows Using Sliding and Deforming Meshes
-5.00e+00
-5.10e+00
-5.20e+00
-5.30e+00
-5.40e+00
Cl -5.50e+00
-5.60e+00
-5.70e+00
-5.80e+00
-5.90e+00
-6.00e+00
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 0.11
Y
X Time
Z
Cl
The final time-periodic solution is independent of the time steps taken during the initial
stages of the solution procedure. You can therefore define “large” time steps in the initial
stages of the calculation, since you are not interested in a time-accurate solution for the
startup phase of the flow. Starting out with large time steps will allow the solution to
become time-periodic more quickly. As the solution becomes time-periodic, however, you
should reduce the time step in order to achieve a time-accurate result.
i If you are solving with second-order time accuracy, the temporal accuracy
of the solution will be affected if you change the time step during the
calculation. You may start out with larger time steps, but you should not
change the time step by more than 20% during the solution process. You
should not change the time step at all during the last several periods to
ensure that the solution has approached a time-periodic state.
11-48
c Fluent Inc. September 29, 2006
11.6 Postprocessing for Sliding Meshes
1.01e+05
1.01e+05
9.98e+04
9.91e+04
9.83e+04
9.75e+04
9.68e+04
9.60e+04
9.52e+04
9.45e+04
9.37e+04
When displaying velocity vectors, note that absolute velocities (i.e., velocities in the
inertial, or laboratory, reference frame) are displayed by default. You may also choose to
display relative velocities by selecting Relative Velocity in the Vectors Of drop-down list in
the Vectors panel. In this case, velocities relative to the translational/rotational velocity
of the “reference zone” (specified in the Reference Values panel) will be displayed. (The
velocity of the reference zone is the velocity defined in the Fluid panel for that zone.)
Note that you cannot create zone surfaces for the intersection boundaries (i.e., the in-
terior/periodic/external zones created from the intersection of the interface zones). You
may instead create zone surfaces for the interface zones. Data displayed on these surfaces
will be “one-sided”. That is, nodes on the interface zones will “see” only the cells on one
side of the grid interface, and slight discontinuities may appear when you plot contour
lines across the interface. Note also that, for non-planar interface shapes in 3D, you may
see small gaps in your plots of filled contours. These discontinuities and gaps are only
graphical in nature. The solution does not have these discontinuities or gaps.
c Fluent Inc. September 29, 2006 11-49
Modeling Flows Using Sliding and Deforming Meshes
You can also generate a plot of circumferential averages in FLUENT. This allows you to
find the average value of a quantity at several different radial or axial positions in your
model. FLUENT computes the average of the quantity over a specified circumferential
area, and then plots the average against the radial or axial coordinate. For more infor-
mation on generating XY plots of circumferential averages, see Section 28.8.4: XY Plots
of Circumferential Averages.
1. Enable the appropriate option for modeling unsteady or steady flow in the Solver
panel. (See Section 25.17: Performing Time-Dependent Calculations for details
about the unsteady modeling capabilities in FLUENT.)
Define −→ Models −→Solver...
2. Set boundary conditions as required.
Define −→Boundary Conditions...
See Chapter 7: Boundary Conditions for details about input of boundary conditions.
The wall velocity is set up automatically when the motion attribute is set for wall
zones, so you will not specify wall motion in the Wall panel.
3. Enable the dynamic mesh model, and specify related parameters.
Define −→ Dynamic Mesh −→Parameters...
See Section 11.7.1: Setting Dynamic Mesh Modeling Parameters for details.
4. Specify the motion of the dynamic zones in your model.
Define −→ Dynamic Mesh −→Zones...
See Section 11.7.2: Specifying the Motion of Dynamic Zones for details.
5. You can display the motion of the moving zones with prescribed motion to verify
the simulation setup.
Display −→Zone Motion...
6. Define the events that will occur during the calculation.
Define −→ Dynamic Mesh −→Events...
See Section 11.7.4: Defining Dynamic Mesh Events for details.
7. Save case and data.
File −→ Write −→Case & Data...
11-50
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
8. Preview your dynamic mesh setup (when the motion is a prescribed motion).
See Section 11.3.5: Steady-State Dynamic Mesh Applications for previewing your
steady-state dynamic mesh motion and refer to Section 11.7.3: Previewing the Dy-
namic Mesh for details.
Solve −→Mesh Motion...
9. Specify the pressure-velocity coupling scheme. For transient flow calculations, the
PISO algorithm is recommended, as it is the most efficient for such cases (see
Section 25.9.1: PISO for details).
10. Use the automatic saving feature to specify the file name and frequency with which
case and data files should be saved during the solution process.
File −→ Write −→Autosave...
See Section 4.3.4: Automatic Saving of Case and Data Files for details about the use
of this feature. This provides a convenient way for you to save results at successive
time steps for later postprocessing.
i You must save a case file each time you save a data file because the mesh
position is stored in the case file. Since the mesh position changes with
each time step, reading data for a given time step will require the case file
at that time step so that the mesh will be in the proper position. You
should also save your initial case file so that you can easily return to the
mesh’s original position to restart the solution if desired.
11. (optional) If you want to create a graphical animation of the mesh over time dur-
ing the solution procedure, you can use the Solution Animation panel to set up the
graphical displays that you want to use in the animation. See Section 25.20.1: An-
imating the Solution for details.
c Fluent Inc. September 29, 2006 11-51
Modeling Flows Using Sliding and Deforming Meshes
To turn on spring-based (or Laplacian smoothing if the 2.5D model is enabled), enable
the Smoothing option under Mesh Methods in the Dynamic Mesh panel (Figure 11.7.1).
The relevant parameters are specified in the Smoothing tab.
Spring-Based Smoothing
You can control the spring stiffness by adjusting the value of the Spring Constant Factor
between 0 and 1. A value of 0 indicates that there is no damping on the springs, and
boundary node displacements have more influence on the motion of the interior nodes.
A value of 1 imposes the default level of damping on the interior node displacements as
determined by solving Equation 11.3-3.
11-52
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
The effect of the Spring Constant Factor is illustrated in Figures 11.7.2 and 11.7.3, which
show the trailing edge of a NACA-0012 airfoil after a counter-clockwise rotation of 2.3◦
and the mesh is smoothed using the spring-based smoother but limited to 20 iterations.
Degenerate cells (Figure 11.7.2) are created with the default value of 1 for the Spring
Constant Factor. However, the original mesh distribution (Figure 11.7.3) is recovered if
the Spring Constant Factor is set to 0 (i.e., no damping on the displacement of nodes on
the airfoil surface).
c Fluent Inc. September 29, 2006 11-53
Modeling Flows Using Sliding and Deforming Meshes
If your model contains deforming boundary zones, you can use the Boundary Node Re-
laxation to control how the node positions on the deforming boundaries are updated. On
deforming boundaries, the node positions are updated such that
∆~xm
!
rms
< convergence tolerance (11.7-2)
∆~x1rms
where ∆~x1rms is the interior and deforming nodes RMS displacement at the first
iteration.
Laplacian Smoothing
Note that for 2.5D modeling (3D flows only), you can only change the Boundary Node
Relaxation and the Number of Iterations. Note that the Number of Iterations is used for both
spring-based and Laplacian smoothing. The Boundary Node Relaxation is used differently
by FLUENT when the 2.5D model is used. On deforming boundaries, the node positions
are updated such that
Dynamic Layering
To turn on dynamic layering, enable the Layering option under Mesh Methods in the
Dynamic Mesh Parameters panel (Figure 11.7.4). The layering control is specified in the
Layering tab.
You can control how a cell layer is split by specifying either Constant Height or Constant
Ratio under Options. The Split Factor and Collapse Factor (αs in Equation 11.3-7 and
αc in Equation 11.3-8, respectively) are the factors that determine when a layer of cells
(hexahedra or wedges in 3D, or quadrilaterals in 2D) that is next to a moving boundary
is split or merged with the adjacent cell layer, respectively.
11-54
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
Figure 11.7.4: The Layering Tab in the Dynamic Mesh Parameters Panel
Local Remeshing
To turn on local remeshing, enable the Remeshing option under Mesh Methods in the Dy-
namic Mesh Parameters panel (Figure 11.7.5). The local remeshing controls are specified
in the Remeshing tab.
You can view the vital statistics of your mesh by clicking the Mesh Scale Info... button.
This displays the Mesh Scale Info panel where you can view the minimum and maximum
length scale values as well as the maximum cell and face skewness values.
In local remeshing, FLUENT agglomerates cells based on skewness, size, and height (ad-
jacent moving face zones). The value of Maximum Cell Skewness indicates the desired
skewness of the mesh. By default, the Maximum Cell Skewness is set to 0.9 for 3D sim-
ulations and 0.6 for 2D simulations. Cells with skewness above the maximum skewness
are marked for remeshing. The size criteria are specified with Minimum Length Scale and
Maximum Length Scale. Cells with length scales below the minimum length scale and
above the maximum length scale are marked for remeshing.
c Fluent Inc. September 29, 2006 11-55
Modeling Flows Using Sliding and Deforming Meshes
Figure 11.7.5: The Remeshing Tab in the Dynamic Mesh Parameters Panel
11-56
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
For 3D simulations, the Face Remeshing option is available, allowing you the convenience
of remeshing deforming boundary faces if you so desire. Once the option is turned on, you
are able to set the Maximum Face Skewness to a specific value. In addition, you should
turn on the Remeshing option in the Meshing Options tab of the Dynamics Zones panel for
a deforming zone type (see Section 11.7.2: Deforming Motion). You also have the option
of choosing either the local face remeshing method or the face region remeshing methods
by selecting the appropriate option under Remeshing Methods for a deforming zone type.
Note that depending on the case, either or both methods have to be enabled.
The marking of cells based on skewness is done at every time step when the local remesh-
ing method is enabled. However, marking based on size and height is performed between
the specified Size Remesh Interval since the change in cell size distribution is typically
small over one time step.
By default, FLUENT replaces the agglomerated cells only if the quality of the remeshed
cells has improved. However, you can override this behavior by disabling Must Improve
Skewness under Options.
When you use the Size Function remeshing option (see Figure 11.7.6), you can control
three parameters that govern the size function. You can specify the Size Function Resolu-
tion, the Size Function Variation, and the Size Function Rate or you can return to FLUENT’s
default values by using the Use Defaults button.
The Size Function Resolution controls the density of the background grid (see Section 11.3.2: Lo-
cal Remeshing Based on Size Functions). By default, it is equivalent to 3 in 2D simula-
tions and 1 in 3D simulations.
The Size Function Variation corresponds to α in Equation 11.3-12. It is the measure of
the maximum permissible cell size and it ranges from −1 < α < +∞.
The Size Function Rate corresponds to β in Equation 11.3-12. It is the measure of the
rate of growth of the cell size, and it ranges from −0.99 < β < + + 0.99. A value of 0
implies linear growth, whereas higher values imply a slower growth near the boundary
with faster growth as one moves toward the interior.
c Fluent Inc. September 29, 2006 11-57
Modeling Flows Using Sliding and Deforming Meshes
Figure 11.7.6: The Remeshing Tab in the Dynamic Mesh Parameters Panel
Using the Size Function Option
11-58
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
Figure 11.7.7: The In-Cylinder Tab in the Dynamic Mesh Parameters Panel
c Fluent Inc. September 29, 2006 11-59
Modeling Flows Using Sliding and Deforming Meshes
θc = θs + tΩshaft (11.7-5)
where θs is the Starting Crank Angle and Ωshaft is the Crank Shaft Speed.
The Piston Stroke Cutoff and Minimum Valve Lift values are used to control the actual
values of the valve lift and piston stroke such that
c min
vlift = max(vlift , vlift ) (11.7-6)
c min
ps = min(ps , ps ) (11.7-7)
c min
where vlift is the valve lift computed from the appropriate valve profiles, vlift is the
Minimum Valve Lift, ps is the stroke calculated from Equation 11.7-4, and pmin
c
s is the
Piston Stroke Cutoff. (See Section 11.7.5: Defining Motion/Geometry Attributes of Mesh
Zones on how the Piston Stroke Cutoff is used to control the onset of layering in the
cylinder chamber.)
11-60
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
Figure 11.7.8: The Six DOF Solver Tab in the Dynamic Mesh Parameters Panel
c Fluent Inc. September 29, 2006 11-61
Modeling Flows Using Sliding and Deforming Meshes
General Procedure
You will specify the motion of the dynamic zones in your model using the Dynamic Mesh
Zones panel.
Define −→ Dynamic Mesh −→Zones...
Details about specifying different types of motion are provided in this section.
When you have completed the specification of a dynamic zone, click Create in the Dynamic
Mesh Zones panel to complete the specification and add the zone to the Dynamic Zones
list.
If you want to make a change to the specification of a dynamic zone, select the zone
in the Dynamic Zones list, change the specification, and then click Create to update the
specification.
If a dynamic zone has solid body motion, you can view its current position and orientation
of the center of gravity (with respect to initial data) by selecting the zone in the Dynamic
Zones list and then clicking on Update.
To delete a dynamic zone that you have specified, select the zone in the Dynamic Zones
list, and click Delete. The zone will be removed from the Dynamic Zones list.
Stationary Motion
By default, if no motion (moving or deforming) attributes are assigned to a face or cell
zone, then the zone is not considered when updating the mesh to the next time step.
However, there are cases where an explicit declaration of a stationary zone is required.
For example, if a cell zone is assigned some solid body motion, the positions of all nodes
belonging to the cell zone will be updated even though some of the nodes may also be part
of a non-moving boundary zone. An explicit declaration of a stationary zone excludes
the nodes on these zones when updating the node positions.
To define a stationary zone in your model, follow the steps below.
11-62
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
Figure 11.7.9: The Dynamic Mesh Zones Panel for a Stationary Zone
c Fluent Inc. September 29, 2006 11-63
Modeling Flows Using Sliding and Deforming Meshes
3. If the stationary zone is a face zone, then specify Cell Height on any Adjacent Zone
which is involved in local remeshing or dynamic layering in the Meshing Options
tab. The Cell Height specifies the ideal height of the adjacent cells as described
earlier in the dynamic layering section.
4. Click Create.
Figure 11.7.10: The Dynamic Mesh Zones Panel for a Rigid Body Motion
1. Select the rigid body zone in the Zone Names drop-down list.
2. Select the Rigid Body option under Type.
3. If you want to specify the motion of the rigid body zone using a profile or user-
defined function, then select a profile or user-defined function from the Motion
UDF/Profile drop-down list in the Motion Attributes tab. See Section 7.26: Boundary
Profiles and Section 11.3.4: Solid-Body Kinematics for information on profiles, and
see the separate UDF Manual for information on user-defined functions.
11-64
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
4. If you want to use the Six DOF Solver option, then select the appropriate UDF from
the Six DOF UDF drop-down list in the Motion Attributes tab (see Figure 11.7.11).
Note that you should make sure that On is enabled under Six DOF Solver Options
to ensure that the Six DOF solver is being used. See the separate UDF Manual
for information on user-defined functions. For more information about the 6DOF
solver, see Section 11.7.7: Using the Six DOF Solver.
Note that the Passive option under Six DOF Solver Options is used when you do not
want the forces and moments on the zone to be taken into consideration.
5. Specify the initial location of the center of gravity for the rigid body by entering
the coordinates of the center of gravity in Center of Gravity Location.
6. Specify the orientation of the object with respect to the center of gravity (in the
inertia coordinate system) by entering the orientations of the center of gravity in
Center of Gravity Orientation.
For most cases, this is an initial reference orientation that FLUENT later updates,
letting you keep track or the object’s current orientation. The center of gravity
orientation is most useful when using the Six DOF solver, where it is used to
compute the transformation matrices (see Section 11.7.7: Overview of the Six DOF
(6DOF) Solver).
7. When using the Six DOF solver, specify the velocity of the center of gravity with
respect to the inertia coordinate system by entering the velocity of the center of
gravity in Center of Gravity Velocity. Also, specify the angular velocity of the center
of gravity with respect to the inertia coordinate system by entering the angular
velocity of the center of gravity in Center of Gravity Angular Velocity.
8. If you are solving an in-cylinder problem, specify the direction of the reference axis
of the valves or piston in Valve/Piston Axis.
The current valve lift or piston stroke is automatically updated in Lift/Stroke when
you click Create based on the parameters you have specified earlier when you first
invoke the in-cylinder model.
9. If the rigid body zone is a face zone, specify the ideal height for cells in the adjacent
cell zones by entering a value in the Cell Height field for each Adjacent Zone in the
Remeshing Options tab. The ideal cell height (hideal in Equations 11.3-7 and 11.3-8)
is used by FLUENT to determine when the prismatic layer next to the rigid body
should be split or merged with the layer next to it. If the adjacent zone is tetrahedral
or triangular, the ideal height is used by FLUENT to determine if adjacent cells need
to be agglomerated for local remeshing.
c Fluent Inc. September 29, 2006 11-65
Modeling Flows Using Sliding and Deforming Meshes
Figure 11.7.11: The Dynamic Mesh Zones Panel for a Rigid Body Motion
Using the Six DOF Solver
11-66
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
Deforming Motion
To define a deforming zone in your model, follow the steps below.
Figure 11.7.12: The Dynamic Mesh Zones Panel for a Deforming Motion
3. Specify the geometry of the deforming zone in the Geometry Definition tab. There
are four options:
• If no geometry is available, select faceted in the Definition drop-down list.
• If the geometry is a plane, select plane in the Definition drop-down list. To
define the plane, enter the position of a point on the plane in Point on Plane
and the plane normal in Plane Normal.
c Fluent Inc. September 29, 2006 11-67
Modeling Flows Using Sliding and Deforming Meshes
5. Click Create.
11-68
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
User-Defined Motion
For a zone that is deforming and moving, you can define the position of each node on the
general deforming/moving zone using a user-defined function (UDF). To define a moving
and deforming zone, follow the steps below.
1. Select the moving and deforming zone in the Zone Names drop-down list.
3. In the Motion Attributes tab, select the user-defined function that defines the ge-
ometry and motion of the zone from the Mesh Motion UDF drop-down list. See
the separate UDF Manual for information on user-defined functions used to specify
user-defined motion.
4. For face zones, you can specify Cell Height on any Adjacent Zone which is involved
in local remeshing or dynamic layering in the Meshing Options tab. The Cell Height
specifies the ideal height of the adjacent cells as described earlier in the dynamic
layering section.
5. Click Create.
For a boundary layer that deforms according to the adjacent face zone, the zone that is
deforming and moving is defined using a user-defined function (UDF), as described in
Section 11.7.2: User-Defined Motion. To define a moving and deforming boundary layer,
follow the steps below:
1. Select the moving and deforming zone in the Zone Names drop-down list.
3. In the Motion Attributes tab, select the user-defined function that defines the ge-
ometry and motion of the zone from the Mesh Motion UDF drop-down list.
4. Click Create.
5. Create a deforming dynamic zone for the boundary layer fluid zone by selecting the
zone in the Zone Names drop-down list. Note that the boundary layer has to be a
separate fluid zone from the adjacent fluid zone. Select Deforming under Type and
enable Smoothing on the boundary layer fluid zone.
6. Click Create.
c Fluent Inc. September 29, 2006 11-69
Modeling Flows Using Sliding and Deforming Meshes
7. Create a deforming dynamic zone for the fluid zone outside the boundary layer
by selecting the appropriate zone from the Zone Names drop-down list. Select
Deforming under Type and enable Smoothing and Remeshing Methods on the fluid
zone. Enabling both methods is necessary because the deforming boundary layer
will deform the adjacent cells.
8. Click Create.
11-70
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
The zone motion preview only updates the graphical representation (in the graphics
window) of the zones that you have selected using the Grid Display panel. The zone
motion preview will only update those zones that have solid body motion specified. To
use the Zone Motion preview:
2. In the Zone Motion panel, enter the Time Step and the Number of Steps under
Motion History Integration.
3. Click the Integrate button. This allows FLUENT to create a table of surface positions
in time.
4. Under Preview Controls, specify the Time Step and the Number of Steps for preview.
Note that the time step here can be larger than the integration time step.
5. Click Preview to preview the zone motion. Click Apply to save your settings for
zone motion. Click Reset to have the default inputs restored in the panel.
You can also use the slider bar on the Zone Motion panel to fast-forward or rewind
the motion of the selected zones. Previewing the zone motion can also be used as a
postprocessor for 6DOF simulations (see Section 11.7.7: Using the Six DOF Solver).
i Note that the mesh motion will actually update the node locations as well
as the connectivity of the mesh, so you must be sure to save your case
file before doing the dynamic mesh motion. Once you have advanced the
mesh by a certain number of time steps, you will not be able to recover
the previous status of the mesh, other than by reloading the appropriate
FLUENT case file.
c Fluent Inc. September 29, 2006 11-71
Modeling Flows Using Sliding and Deforming Meshes
2. Specify the Number of Time Steps and the size of each time step (Time Step Size).
The current time will be displayed in the Current Mesh Time field after the dynamic
mesh has been advanced the specified number of steps.
Note that if you turned on the in-cylinder model, the Time Step Size is automatically
calculated from the Crank Angle Step Size and the Crank Shaft Speed that you have
specified in the Dynamic Mesh Parameters panel.
3. To view the dynamic mesh on the graphics window, turn on the Display Grid option.
In addition, you can control the frequency at which FLUENT should display an
updated mesh in the Display Frequency field. To save a hardcopy file of the mesh
each time FLUENT updates it during the preview, turn on the Save Hardcopy option.
This opens the Graphics Hardcopy panel (see Section 4.14: Saving Hardcopy Files).
4. Turn on Enable Autosave to use the automatic saving feature to specify the file name
and frequency with which case and data files should be saved during the solution
process.This opens the Autosave Case/Data panel.
See Section 4.3.4: Automatic Saving of Case and Data Files for details about the use
of this feature. This provides a convenient way for you to save results at successive
time steps for later postprocessing.
5. Click Preview to start the preview. FLUENT will update the dynamic mesh by
moving and deforming the face and cell zones that you have specified as dynamic
zones. Click Apply to save your settings for mesh motion. Click Reset to have the
default inputs restored in the panel.
11-72
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
c Fluent Inc. September 29, 2006 11-73
Modeling Flows Using Sliding and Deforming Meshes
1. Increase the Number of Events value to the number of events you wish to specify. As
this value is increased, additional event entries in the panel will become editable.
2. Turn on the check box next to the first event and enter a name for the event under
the Name heading.
3. Specify either the time or the crank angle at which you want the event to occur.
For in-cylinder flows, specify the crank angle at which you want the event to occur
under At Crank Angle.
For non-in-cylinder flows, specify the time (in seconds) at which you want the event
to occur under At Time.
It is not necessary to specify the events in order of increasing time or crank angle,
but it may be easier to keep track of events if you specify them in the order of
increasing time or angle.
4. Click the Define... button to open the Define Event panel (Figure 11.7.16).
5. In the Define Event panel, choose the type of event by selecting Change Zone Type,
Copy Zone BC, Activate Cell Zone, Deactivate Cell Zone, Create Sliding Interface,
Delete Sliding Interface, Change Motion Attribute, Change Time Step Size, Change
Under-Relaxation Factors, Insert Boundary Zone Layer, Remove Boundary Zone Layer,
Insert Interior Zone Layer, Remove Interior Zone Layer, Insert Cell Layer, or Remove
Cell Layer in the Type drop-down list. These event types and their definitions are
described later in this section.
11-74
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
7. Click Apply in the Dynamic Mesh Events panel after you finish defining all events.
8. To play the events to check that they are defined correctly, click the Preview...
button in the Dynamic Mesh Events panel. This displays the Events Preview panel.
For in-cylinder flows, you use the Events Preview panel (Figure 11.7.17), to enter
the crank angles at which you want to start and end the playback in the Start Crank
Angle and End Crank Angle fields, respectively.
For non-in-cylinder flows, you use the Events Preview panel to enter the time at
which you want to start and end the playback in the Start Time and End Time
fields, respectively.
Specify the size of the step to take during the playback in the Increment field. Click
Preview to play back the events. FLUENT will play the events at the time (or crank
angle in the case of in-cylinder flows) specified for each event and report when each
event occurs in the text (console) window.
For in-cylinder simulations, you need to specify the events for one complete engine
cycle. In the subsequent cycles, the events are executed whenever
where θevent is the event crank angle, θc is the current crank angle calculated from
Equation 11.7-5, θperiod is the crank angle period for one cycle, and n is some integer.
As an example, for in-cylinder simulations, you are not required to specify the
event crank angle to correspond exactly to the current crank angle calculated from
Equation 11.7-5. FLUENT will execute an event if the current crank angle is between
±0.5∆θ where ∆θ is the equivalent change in crank angle for the time step. For
example, if the event preview is executed between crank angle of 340◦ and 1060◦
(crank period is 720◦ ) using an increment of 1◦ , FLUENT will report the following
in the text window.
c Fluent Inc. September 29, 2006 11-75
Modeling Flows Using Sliding and Deforming Meshes
Notice that events defined at 137.10◦ and 139◦ are executed at 857◦ and 859◦ ,
respectively, because they satisfy the condition of Equation 11.7-8.
Events
You can change the type of a zone to be a wall, or an interface, interior, fluid, or solid
zone during your simulation. To change the type of a zone, select Change Zone Type in
the Type drop-down list in the Define Event panel (Figure 11.7.16). Select the zone(s)
that you want to change in the Zone(s) list, and then select the new zone type in the
New Zone Type drop-down list.
You can copy boundary conditions from one zone to other zones during your simulation.
If, for example, you have changed an inlet zone to type wall with the Change Zone Type
event, you can set the boundary conditions of the new zone type by simply copying the
boundary conditions from a known zone with the corresponding zone type.
To copy boundary conditions from one zone to another, select Copy Zone BC in the Type
drop-down list in the Define Event panel (Figure 11.7.16). In the From Zone drop-down
list, select the zone that has the conditions you want to copy. In the To Zone(s) list,
select the zone or zones to which you want to copy the conditions.
FLUENT will set all of the boundary conditions for the zones selected in the To Zone(s)
list to be the same as the conditions for the zone selected in the From Zone list. (You
cannot copy a subset of the conditions, such as only the thermal conditions.)
Note that you cannot copy conditions from external walls to internal (i.e., two-sided)
walls, or vice versa, if the energy equation is being solved, since the thermal conditions
for external and internal walls are different.
11-76
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
To deactivate a cell zone, select Deactivate Cell Zone in the Type drop-down list in the
Define Event panel (Figure 11.7.16), then select the zone that you want to deactivate in
the Zone(s) list.
Only deactivated zones can be activated. When a zone is deactivated, FLUENT skips
the zone during the calculations. For more information, see Section 6.8.8: Replacing,
Deleting, Deactivating, and Activating Zones.
To activate a cell zone, select Activate Cell Zone in the Type drop-down list in the Define
Event panel (Figure 11.7.16), then select the zone that you want to activate in the Zone(s)
list. For more information, see Section 6.8.8: Replacing, Deleting, Deactivating, and
Activating Zones.
To create a sliding interface during your simulation, select Create Sliding Interface in the
Type drop-down list in the Define Event panel (Figure 11.7.18). Enter a name for the
sliding interface in the Interface Name field. Select the zones on either side of the interface
in the Interface Zone 1 and Interface Zone 2 drop-down lists.
You have the option to select any number of zones listed under each of the interface
zones. FLUENT calculates intersections between all possible combinations of the left and
right side of the interfaces, allowing you more flexibility in terms of creating zones and
defining the interfaces.
i If FLUENT finds another interface with the same name as defined in the
event, then the old interface will be deleted and a new one created as
defined in the dynamic mesh event.
If the interface zones that you selected above do not overlap each other completely, the
non-overlapped regions on each interface zones are put into separate wall zones by FLU-
ENT. If these wall zones (i.e., non-overlapped regions) have motion attributes associated
with them, their motion can only be specified by copying the motion from another dy-
namic zone by selecting the appropriate dynamic zones in the Wall 1 Motion and Wall 2
Motion drop-down lists, respectively.
Note that you don’t have to change the boundary type from wall to interface. When
the Create Sliding Interface event is executed, FLUENT will automatically change the
boundary type of the face zones selected in Interface Zone 1 and Interface Zone 2 to type
interface before the sliding interface is created.
c Fluent Inc. September 29, 2006 11-77
Modeling Flows Using Sliding and Deforming Meshes
Figure 11.7.18: The Define Event Panel for the Creating Sliding Interface Op-
tion
11-78
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
To delete a sliding interface that has been created earlier in your in-cylinder simulation,
select Delete Sliding Interface in the Type drop-down list in the Define Event panel (Fig-
ure 11.7.16). Enter the name of the sliding interface to be deleted in the Interface Name
field.
As with the Create Sliding Interface event, FLUENT will automatically change the cor-
responding interface zones to wall. However, you may want to use the Copy Zone BC
event to set any boundary conditions that are not the default conditions that FLUENT
assumes.
To change the motion attribute of a dynamic zone during your in-cylinder calculation,
select Change Motion Attribute in the Type drop-down list in the Define Event panel
(Figure 11.7.16). Select the Attribute (slide, moving, or remesh) and set the appropriate
Status (enable or disable). Select the corresponding dynamic zones for which you want to
change the motion attributes in the Dynamic Zones list.
The slide attribute is used to enable or disable smoothing of nodes on selected deform-
ing face zones, the moving attribute is used to suspend the motion of selected moving
zones, and the remesh attribute is used to enable and disable face remeshing on selected
deforming face zones.
To change the time step at some point during the simulation, select Change Time Step
Size in the Type drop-down list in the Define Event panel. Specify the new physical time
step size by entering the new Time Step Size in seconds.
For in-cylinder simulations, specify the new physical time step by entering the new Crank
Angle Step Size value in degrees. The physical time step is calculated from
∆θc
∆t = (11.7-9)
6Ωshaft
To change one ore more under-relaxation factors, select Change Under-Relaxation Factor
in the Type drop-down list in the Define Event panel (Figure 11.7.16). Select the under-
relaxation factor that you wish to change, and assign a new value to it in the Under-
Relaxation Factors list. For more information on setting under-relaxation factors, see
Section 25.9.2: Setting Under-Relaxation Factors.
c Fluent Inc. September 29, 2006 11-79
Modeling Flows Using Sliding and Deforming Meshes
To insert a new cell zone layer as a separate cell zone adjacent to a boundary, select Insert
Boundary Zone Layer in the Type drop-down list in the Define Event panel. Specify the
Base Dynamic Zone, from which the layer of cells is to be created, and the Side Dynamic
Zone, which represents the deforming face zone adjacent to the Base Dynamic Zone before
the layer is inserted. The new cell zone will inherit the boundary conditions of the cell
zone adjacent to the Base Dynamic Zone before the layer is inserted.
Note that a new cell layer can be inserted only from a one-sided Base Dynamic Zone. You
cannot insert a new cell layer from an interior face zone.
Figure 11.7.19 and Figure 11.7.20 illustrate the insertion of a boundary zone layer. In
both figures, the circular face at the top of the cylinder is the base dynamic zone.
11-80
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
To remove the cell zone layer inserted using the Insert Boundary Zone Layer event, select
Remove Boundary Zone Layer in the Type drop-down list in the Define Event panel. Specify
the same Base Dynamic Zone that you used when you defined the insert boundary layer
event.
Note that a cell layer can be removed only from a one-sided Base Dynamic Zone.
To insert a new zone layer as a separate cell zone adjacent to the internal side of a
boundary, select Insert Interior Zone Layer in the Type drop-down list in the Define Event
panel. Specify the Base Dynamic Zone and the Side Dynamic Zone as described in the
Insert Boundary Zone Layer event. You also need to specify the names of the new interior
face zones (Internal Zone 1 Name and Internal Zone 2 Name) that will be created after the
cell zone layer is created by FLUENT.
FLUENT inserts the interior cell layer by splitting the cell zone adjacent to the Base
Dynamic Zone with a plane. The position of the plane and the normal direction of the
plane are implicitly defined by the cylinder origin and cylinder axis of the Side Dynamic
Zone.
Figure 11.7.21 and Figure 11.7.22 illustrate the insertion of an interior zone layer.
To remove the zone layer inserted using the Insert Interior Zone Layer event, select Remove
Interior Zone Layer in the Type drop-down list in the Define Event panel. Specify the same
Internal Zone 1 Name and Internal Zone 2 Name that you used to define the Insert Interior
Zone Layer event.
c Fluent Inc. September 29, 2006 11-81
Modeling Flows Using Sliding and Deforming Meshes
To manually insert a new cell layer to the existing cell zone, select Insert Cell Layer in the
Type drop-down list in the Define Event panel. Specify the Adjacent Dynamic Face Zone
and the Direction Parameter. This can only work on zones that are suited for layering
(see Section 11.3.2: Applicability of the Dynamic Layering Method).
To manually remove a cell layer from an existing cell zone, select Remove Cell Layer in the
Type drop-down list in the Define Event panel. Specify the Adjacent Dynamic Face Zone
and the Direction Parameter. This can only work on zones that are suited for layering
(see Section 11.3.2: Applicability of the Dynamic Layering Method).
11-82
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
Overview
Consider the 2D in-cylinder example shown in Figure 11.7.23 for a typical pent-roof
engine.
Intake Valve
Exhaust Valve
Piston Head
In setting up the dynamic mesh model for an in-cylinder problem, you need to consider
the following issues:
• how to provide the proper mesh topology for the volume mesh update methods
(spring-based smoothing, dynamic layering, and local remeshing)
• how to define the motion attributes and geometry for the valve and piston surfaces
• how to address the opening and closing of the intake and exhaust valves
• how to specify the sequence of events that controls the in-cylinder simulation
c Fluent Inc. September 29, 2006 11-83
Modeling Flows Using Sliding and Deforming Meshes
Remeshing Zone
Because of the rectilinear motion of the moving surfaces, you can use dynamic layering
zones to represent the mesh regions swept out by the moving surfaces. These regions are
the regions above the top surfaces of the intake and exhaust valves and above the piston
head surface, and must be meshed with quadrilateral or hexahedral cells (as required by
the dynamic layering method).
11-84
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
c Fluent Inc. September 29, 2006 11-85
Modeling Flows Using Sliding and Deforming Meshes
For the chamber region, you need to define a remeshing zone (triangular cells) to ac-
commodate the various positions of the valves in the course of the simulation. In this
region, the motion of the boundaries (valves and piston surfaces) is propagated to the
interior nodes using the spring-based smoothing method. If the cell quality violates any
of the remeshing criteria that you have specified, FLUENT will automatically agglomer-
ate these cells and remesh them. Furthermore, FLUENT will also remesh the deforming
faces (based on the minimum and maximum length scale that you have specified) on the
cylinder walls as well as those on the sliding interfaces used to connect the chamber cell
zone to the layering zones above the valve surfaces.
For the intake and exhaust port regions, you can use either triangular or quadrilateral
cell zones because these zones are not moving or deforming. FLUENT will automatically
mark these regions as stationary zones and will not apply any mesh motion method on
these cell zones.
The dynamic layering regions above the piston and valves are conformal with the adja-
cent cell zone in the chamber and ports, respectively, so you do not have to use sliding
interfaces to connect these cell zones together. However, you need to use sliding inter-
faces to connect the dynamic layering regions above the valves and the remeshing region
in the chamber. This is shown in Figure 11.7.26 with the exhaust valve almost at full
extension. Notice that cells on the chamber side of the interface zone are remeshed (i.e.,
split or merged) as the interface zone opens and closes because of the motion of the
exhaust valve.
11-86
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
Sliding Interfaces
Figure 11.7.26: The Use of Sliding Interfaces to Connect the Exhaust Valve
Layering Zone to the Remeshing Zone
c Fluent Inc. September 29, 2006 11-87
Modeling Flows Using Sliding and Deforming Meshes
/define/models/dynamic-mesh-controls/in-cylinder-parameter> position-starting-mesh
Start Crank Angle (deg) [0] 340
• Does not work for geometries with a symmetry plane (e.g., half cylinder geometry).
FLUENT will automatically remesh any deforming face zones and the adjacent cell zones
(both remeshing and layering) based on the remeshing and dynamic layering parameters
that you have set up for your model. In the above example, the starting crank angle for
the in-cylinder simulation is 340 degrees (20 degrees before TDC). Figure 11.7.27 and
Figure 11.7.28 show the initial and the starting mesh generated by FLUENT.
11-88
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
c Fluent Inc. September 29, 2006 11-89
Modeling Flows Using Sliding and Deforming Meshes
11-90
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
c Fluent Inc. September 29, 2006 11-91
Modeling Flows Using Sliding and Deforming Meshes
11-92
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
c Fluent Inc. September 29, 2006 11-93
Modeling Flows Using Sliding and Deforming Meshes
11-94
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
c Fluent Inc. September 29, 2006 11-95
Modeling Flows Using Sliding and Deforming Meshes
FLUENT provides built-in functions to handle the full piston motion and the limited
piston motion for the dynamic layering zone above the piston surface. When you define
the motion attribute of the dynamic layering zone above the piston surface, you need to
use the limited piston motion function (**piston-limit** in the C.G. Motion UDF/Profile
field in the Dynamic Mesh Zones panel). Note that you must define the parameters used
by these functions before you can use them. In the current example, the piston stroke is
80 mm and the connecting rod length is 140 mm. The piston stroke cutoff is assumed
to happen at 25 mm from TDC position. The lift as a function of crank angle between
344◦ and 1064◦ is shown in Figure 11.7.35 for both limited and full piston motion.
**piston-full**
**piston-limit**
8.00e-02
7.00e-02
6.00e-02
5.00e-02
4.00e-02
3.00e-02
2.00e-02
1.00e-02
0.00e+00
300 400 500 600 700 800 900 1000 1100
To define the motion of the valves, you need to use profiles that describe the variation of
valve lift with crank angle. FLUENT expects certain profile fields to be used to define the
lift and the crank angle. For example, consider the following simplified profile definition:
((ex-valve 5 point)
(angle 0 180 270 360 720)
(lift 0.05 0.05 1.8 0.05 0.05))
((in-valve 5 point)
(angle 0 355 440 540 720)
(lift 0.05 0.05 2.0 0.05 0.05))
11-96
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
FLUENT expects the angle and lift fields to define the crank angle and lift variations,
respectively. The angle must be specified in degrees and the lift values must be in
meters. The actual valve lift profiles that you will use for the current example are shown
in Figure 11.7.36. Notice that there is an overlapped period where both the intake and
exhaust valves are open.
in-valve
ex-valve
1.40e-02
1.20e-02
1.00e-02
8.00e-03
6.00e-03
4.00e-03
2.00e-03
0.00e+00
300 400 500 600 700 800 900 1000 1100
Figure 11.7.36: Intake and Exhaust Valve Lift (m) as a Function of Crank
Angle (deg)
The valve lift profiles and the built-in functions will describe how each surface moves as
a function of crank angle with respect to some reference point. For example, the valve
lift is zero when the valve is fully closed and the valve lift is maximum when it is fully
open. In order to move the surfaces, FLUENT requires that you specify the direction of
motion for each surface. FLUENT will then update the “center of gravity” of each surface
such that
where ~xref is some reference position, ~eaxis is the unit vector in the direction of motion,
and l is either the valve or the piston distance with respect to the reference position ~xref .
Note that the unit vector of the direction of motion is specified to point in the negative
direction. For example, the correct intake valve axis for this example is (−0.3421, 0.9397),
as shown in Figure 11.7.37.
c Fluent Inc. September 29, 2006 11-97
Modeling Flows Using Sliding and Deforming Meshes
Reference
Reference origin
axis
lift (l=0.05mm
at t=0)
Center of
gravity
11-98
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
i You must only apply smoothing to the opposite side of the extruded mesh,
since FLUENT requires the geometry information for the dynamic zone.
FLUENT projects the nodes back to its geometry after the extrusion. With-
out this geometry information, the dynamic zones tends to lose its integrity.
c Fluent Inc. September 29, 2006 11-99
Modeling Flows Using Sliding and Deforming Meshes
11-100
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
−̇ 1 X−
→
ν→
G = fG (11.7-11)
m
→
−
where −̇
ν→
G is the translational motion of the center of gravity, m is the mass, and f G is
the force vector due to gravity.
The angular motion of the object, −̇ω→
B , is more easily computed using body coordinates
(Equation 11.7-12).
X −→
−̇
ω→ MB − −
ω→ −
→
−1
B = L B × LωB (11.7-12)
−→
where L is the inertia tensor, MB is the moment vector of the body, and −
ω→
B is the rigid
body angular velocity vector.
c Fluent Inc. September 29, 2006 11-101
Modeling Flows Using Sliding and Deforming Meshes
−→ −→
M B = RM G (11.7-13)
Cθ Cψ Cθ Sψ -Sθ
Sφ Sθ Cψ − Cφ Sψ Sφ Sθ Sψ + Cφ Cψ Sφ Cθ
Cφ Sθ Cψ + Sφ Sψ Cφ Sθ Sψ − Sφ Cψ Cφ Cθ
where, in generic terms, Cχ = cos(χ) and Sχ = sin(χ). The angles φ, θ, and ψ are Euler
angles that represent the following sequence of rotations:
Once the angular and the translational accelerations are computed from Equation 11.7-11
and Equation 11.7-12, the rates are derived by numerical integration [346]. The angular
and translational velocities are used in the dynamic mesh calculations to update the rigid
body position.
11-102
c Fluent Inc. September 29, 2006
11.7 Steps in Using Dynamic Meshes
Setting Rigid Body Motion Attributes for the Six DOF Solver
When the Six DOF Solver is enabled, you need to provide additional information for rigid
body dynamic zones. For instance, you must use a user-defined function to define the six
degrees of freedom parameters, and you must set the velocity and angular velocity for
the center of gravity. For each moving object, exactly one user-defined function has to
be defined, no matter how many zones there are for each object. For more information
about the Six DOF Solver settings in the Dynamic Mesh Zones panel for rigid body motion,
see Section 11.7.2: Rigid Body Motion.
Note that you can also keep track of an object’s motion history using the text user
interface and by entering yes for the motion-history? text interface command.
define −→ models −→ dynamic-mesh-controls −→ six-dof-parameter −→
motion-history?
This command generates a single motion history file for each moving object which can
be used to display zone motion for postprocessing your results. For more information on
zone motion, see Section 11.7.3: Previewing the Dynamic Mesh.
c Fluent Inc. September 29, 2006 11-103
Modeling Flows Using Sliding and Deforming Meshes
11-104
c Fluent Inc. September 29, 2006
Chapter 12. Modeling Turbulence
This chapter provides details about the turbulence models available in FLUENT.
Information is presented in the following sections:
c Fluent Inc. September 29, 2006 12-1
Modeling Turbulence
12.1 Introduction
Turbulent flows are characterized by fluctuating velocity fields. These fluctuations mix
transported quantities such as momentum, energy, and species concentration, and cause
the transported quantities to fluctuate as well. Since these fluctuations can be of small
scale and high frequency, they are too computationally expensive to simulate directly in
practical engineering calculations. Instead, the instantaneous (exact) governing equations
can be time-averaged, ensemble-averaged, or otherwise manipulated to remove the small
scales, resulting in a modified set of equations that are computationally less expensive
to solve. However, the modified equations contain additional unknown variables, and
turbulence models are needed to determine these variables in terms of known quantities.
FLUENT provides the following choices of turbulence models:
• Spalart-Allmaras model
• k- models
– Standard k- model
– Renormalization-group (RNG) k- model
– Realizable k- model
• k-ω models
– Standard k-ω model
– Shear-stress transport (SST) k-ω model
• v 2 -f model (addon)
12-2
c Fluent Inc. September 29, 2006
12.2 Choosing a Turbulence Model
c Fluent Inc. September 29, 2006 12-3
Modeling Turbulence
where ūi and u0i are the mean and fluctuating velocity components (i = 1, 2, 3).
Likewise, for pressure and other scalar quantities:
φ = φ̄ + φ0 (12.2-2)
12-4
c Fluent Inc. September 29, 2006
12.2 Choosing a Turbulence Model
the overbar on the mean velocity, ū) yields the ensemble-averaged momentum equations.
They can be written in Cartesian tensor form as:
∂ρ ∂
+ (ρui ) = 0 (12.2-3)
∂t ∂xi
" !#
∂ ∂ ∂p ∂ ∂ui ∂uj 2 ∂ul ∂
(ρui ) + (ρui uj ) = − + µ + − δij + (−ρu0i u0j )
∂t ∂xj ∂xi ∂xj ∂xj ∂xi 3 ∂xl ∂xj
(12.2-4)
Equations 12.2-3 and 12.2-4 are called Reynolds-averaged Navier-Stokes (RANS) equa-
tions. They have the same general form as the instantaneous Navier-Stokes equations,
with the velocities and other solution variables now representing ensemble-averaged (or
time-averaged) values. Additional terms now appear that represent the effects of tur-
bulence. These Reynolds stresses, −ρu0i u0j , must be modeled in order to close Equa-
tion 12.2-4.
For variable-density flows, Equations 12.2-3 and 12.2-4 can be interpreted as Favre-
averaged Navier-Stokes equations [142], with the velocities representing mass-averaged
values. As such, Equations 12.2-3 and 12.2-4 can be applied to density-varying flows.
The Boussinesq hypothesis is used in the Spalart-Allmaras model, the k- models, and
the k-ω models. The advantage of this approach is the relatively low computational
cost associated with the computation of the turbulent viscosity, µt . In the case of the
Spalart-Allmaras model, only one additional transport equation (representing turbulent
viscosity) is solved. In the case of the k- and k-ω models, two additional transport
equations (for the turbulence kinetic energy, k, and either the turbulence dissipation
rate, , or the specific dissipation rate, ω) are solved, and µt is computed as a function of
k and . The disadvantage of the Boussinesq hypothesis as presented is that it assumes
µt is an isotropic scalar quantity, which is not strictly true.
c Fluent Inc. September 29, 2006 12-5
Modeling Turbulence
The alternative approach, embodied in the RSM, is to solve transport equations for each
of the terms in the Reynolds stress tensor. An additional scale-determining equation
(normally for ) is also required. This means that five additional transport equations are
required in 2D flows and seven additional transport equations must be solved in 3D.
In many cases, models based on the Boussinesq hypothesis perform very well, and the
additional computational expense of the Reynolds stress model is not justified. However,
the RSM is clearly superior for situations in which the anisotropy of turbulence has a
dominant effect on the mean flow. Such cases include highly swirling flows and stress-
driven secondary flows.
12-6
c Fluent Inc. September 29, 2006
12.3 Spalart-Allmaras Model Theory
( ) !2
∂ ∂ 1 ∂ ∂ ν̃ ∂ ν̃ −Yν +Sν̃ (12.3-1)
(ρν̃)+ (ρν̃ui ) = Gν + (µ + ρν̃) + Cb2 ρ
∂t ∂xi σν̃ ∂xj ∂xj ∂xj
c Fluent Inc. September 29, 2006 12-7
Modeling Turbulence
µt = ρν̃fv1 (12.3-2)
χ3
fv1 = 3
(12.3-3)
χ3 + Cv1
and
ν̃
χ≡ (12.3-4)
ν
where
ν̃
S̃ ≡ S + fv2 (12.3-6)
κ2 d2
and
χ
fv2 = 1 − (12.3-7)
1 + χfv1
12-8
c Fluent Inc. September 29, 2006
12.3 Spalart-Allmaras Model Theory
Cb1 and κ are constants, d is the distance from the wall, and S is a scalar measure of the
deformation tensor. By default in FLUENT, as in the original model proposed by Spalart
and Allmaras, S is based on the magnitude of the vorticity:
q
S≡ 2Ωij Ωij (12.3-8)
The justification for the default expression for S is that, for the wall-bounded flows that
were of most interest when the model was formulated, turbulence is found only where
vorticity is generated near walls. However, it has since been acknowledged that one
should also take into account the effect of mean strain on the turbulence production, and
a modification to the model has been proposed [73] and incorporated into FLUENT.
This modification combines measures of both rotation and strain tensors in the definition
of S:
where
q q
Cprod = 2.0, |Ωij | ≡ 2Ωij Ωij , |Sij | ≡ 2Sij Sij
Including both the rotation and strain tensors reduces the production of eddy viscosity
and consequently reduces the eddy viscosity itself in regions where the measure of vortic-
ity exceeds that of strain rate. One such example can be found in vortical flows, i.e., flow
near the core of a vortex subjected to a pure rotation where turbulence is known to be
suppressed. Including both the rotation and strain tensors more correctly accounts for
the effects of rotation on turbulence. The default option (including the rotation tensor
only) tends to overpredict the production of eddy viscosity and hence overpredicts the
eddy viscosity itself in certain circumstances.
You can select the modified form for calculating production in the Viscous Model panel.
c Fluent Inc. September 29, 2006 12-9
Modeling Turbulence
2
ν̃
Yν = Cw1 ρfw (12.3-12)
d
where
#1/6
6
"
1 + Cw3
fw = g 6 6
(12.3-13)
g + Cw3
g = r + Cw2 r6 − r (12.3-14)
ν̃
r≡ (12.3-15)
S̃κ2 d2
Cw1 , Cw2 , and Cw3 are constants, and S̃ is given by Equation 12.3-6. Note that the
modification described above to include the effects of mean strain on S will also affect
the value of S̃ used to compute r.
2
Cb1 = 0.1355, Cb2 = 0.622, σν̃ = , Cv1 = 7.1
3
Cb1 (1 + Cb2 )
Cw1 = + , Cw2 = 0.3, Cw3 = 2.0, κ = 0.4187
κ2 σν̃
u ρuτ y
= (12.3-16)
uτ µ
12-10
c Fluent Inc. September 29, 2006
12.3 Spalart-Allmaras Model Theory
If the mesh is too coarse to resolve the laminar sublayer, it is assumed that the centroid
of the wall-adjacent cell falls within the logarithmic region of the boundary layer, and
the law-of-the-wall is employed:
!
u 1 ρuτ y
= ln E (12.3-17)
uτ κ µ
where u is the velocity parallel to the wall, uτ is the shear velocity, y is the distance from
the wall, κ is the von Kármán constant (0.4187), and E = 9.793.
where k, in this case, is the thermal conductivity, E is the total energy, and (τij )eff is the
deviatoric stress tensor, defined as
!
∂uj ∂ui 2 ∂uk
(τij )eff = µeff + − µeff δij
∂xi ∂xj 3 ∂xk
The term involving (τij )eff represents the viscous heating, and is always computed in the
density-based solvers. It is not computed by default in the pressure-based solver, but it
can be enabled in the Viscous Model panel. The default value of the turbulent Prandtl
number is 0.85. You can change the value of Prt in the Viscous Model panel.
Turbulent mass transfer is treated similarly, with a default turbulent Schmidt number of
0.7. This default value can be changed in the Viscous Model panel.
Wall boundary conditions for scalar transport are handled analogously to momentum,
using the appropriate “law-of-the-wall”.
c Fluent Inc. September 29, 2006 12-11
Modeling Turbulence
The transport equations, methods of calculating turbulent viscosity, and model constants
are presented separately for each model. The features that are essentially common to all
models follow, including turbulent production, generation due to buoyancy, accounting
for the effects of compressibility, and modeling heat and mass transfer.
12-12
c Fluent Inc. September 29, 2006
12.4 Standard, RNG, and Realizable k- Models Theory
and
2
" #
∂ ∂ ∂ µt ∂
(ρ) + (ρui ) = µ+ + C1 (Gk + C3 Gb ) − C2 ρ + S (12.4-2)
∂t ∂xi ∂xj σ ∂xj k k
In these equations, Gk represents the generation of turbulence kinetic energy due to the
mean velocity gradients, calculated as described in Section 12.4.4: Modeling Turbulent
Production in the k- Models. Gb is the generation of turbulence kinetic energy due
to buoyancy, calculated as described in Section 12.4.5: Effects of Buoyancy on Turbu-
lence in the k- Models. YM represents the contribution of the fluctuating dilatation in
compressible turbulence to the overall dissipation rate, calculated as described in Sec-
tion 12.4.6: Effects of Compressibility on Turbulence in the k- Models. C1 , C2 , and C3
are constants. σk and σ are the turbulent Prandtl numbers for k and , respectively. Sk
and S are user-defined source terms.
k2
µt = ρCµ (12.4-3)
where Cµ is a constant.
Model Constants
The model constants C1 , C2 , Cµ , σk , and σ have the following default values [196]:
c Fluent Inc. September 29, 2006 12-13
Modeling Turbulence
These default values have been determined from experiments with air and water for funda-
mental turbulent shear flows including homogeneous shear flows and decaying isotropic
grid turbulence. They have been found to work fairly well for a wide range of wall-
bounded and free shear flows.
Although the default values of the model constants are the standard ones most widely
accepted, you can change them (if needed) in the Viscous Model panel.
• The RNG model has an additional term in its equation that significantly improves
the accuracy for rapidly strained flows.
• The effect of swirl on turbulence is included in the RNG model, enhancing accuracy
for swirling flows.
• The RNG theory provides an analytical formula for turbulent Prandtl numbers,
while the standard k- model uses user-specified, constant values.
• While the standard k- model is a high-Reynolds-number model, the RNG theory
provides an analytically-derived differential formula for effective viscosity that ac-
counts for low-Reynolds-number effects. Effective use of this feature does, however,
depend on an appropriate treatment of the near-wall region.
These features make the RNG k- model more accurate and reliable for a wider class of
flows than the standard k- model.
The RNG-based k- turbulence model is derived from the instantaneous Navier-Stokes
equations, using a mathematical technique called “renormalization group” (RNG) meth-
ods. The analytical derivation results in a model with constants different from those in
the standard k- model, and additional terms and functions in the transport equations
for k and . A more comprehensive description of RNG theory and its application to
turbulence can be found in [59].
12-14
c Fluent Inc. September 29, 2006
12.4 Standard, RNG, and Realizable k- Models Theory
and
2
!
∂ ∂ ∂ ∂
(ρ) + (ρui ) = α µeff + C1 (Gk + C3 Gb ) − C2 ρ − R + S (12.4-5)
∂t ∂xi ∂xj ∂xj k k
In these equations, Gk represents the generation of turbulence kinetic energy due to the
mean velocity gradients, calculated as described in Section 12.4.4: Modeling Turbulent
Production in the k- Models. Gb is the generation of turbulence kinetic energy due
to buoyancy, calculated as described in Section 12.4.5: Effects of Buoyancy on Turbu-
lence in the k- Models. YM represents the contribution of the fluctuating dilatation in
compressible turbulence to the overall dissipation rate, calculated as described in Sec-
tion 12.4.6: Effects of Compressibility on Turbulence in the k- Models. The quantities
αk and α are the inverse effective Prandtl numbers for k and , respectively. Sk and S
are user-defined source terms.
ρ2 k
!
ν̂
d √ = 1.72 √ dν̂ (12.4-6)
µ ν̂ 3 − 1 + Cν
where
ν̂ = µeff /µ
Cν ≈ 100
Equation 12.4-6 is integrated to obtain an accurate description of how the effective tur-
bulent transport varies with the effective Reynolds number (or eddy scale), allowing the
model to better handle low-Reynolds-number and near-wall flows.
c Fluent Inc. September 29, 2006 12-15
Modeling Turbulence
k2
µt = ρCµ (12.4-7)
with Cµ = 0.0845, derived using RNG theory. It is interesting to note that this value
of Cµ is very close to the empirically-determined value of 0.09 used in the standard k-
model.
In FLUENT, by default, the effective viscosity is computed using the high-Reynolds-
number form in Equation 12.4-7. However, there is an option available that allows you
to use the differential relation given in Equation 12.4-6 when you need to include low-
Reynolds-number effects.
where µt0 is the value of turbulent viscosity calculated without the swirl modification
using either Equation 12.4-6 or Equation 12.4-7. Ω is a characteristic swirl number eval-
uated within FLUENT, and αs is a swirl constant that assumes different values depending
on whether the flow is swirl-dominated or only mildly swirling. This swirl modification
always takes effect for axisymmetric, swirling flows and three-dimensional flows when the
RNG model is selected. For mildly swirling flows (the default in FLUENT), αs is set to
0.07. For strongly swirling flows, however, a higher value of αs can be used.
0.6321 0.3679
α − 1.3929 α + 2.3929 µmol
= (12.4-9)
α0 − 1.3929
α0 + 2.3929
µeff
12-16
c Fluent Inc. September 29, 2006
12.4 Standard, RNG, and Realizable k- Models Theory
Cµ ρη 3 (1 − η/η0 ) 2
R = (12.4-10)
1 + βη 3 k
2
!
∂ ∂ ∂ ∂ ∗
(ρ) + (ρui ) = α µeff + C1 (Gk + C3 Gb ) − C2 ρ (12.4-11)
∂t ∂xi ∂xj ∂xj k k
∗
where C2 is given by
∗ Cµ η 3 (1 − η/η0 )
C2 ≡ C2 + (12.4-12)
1 + βη 3
∗
In regions where η < η0 , the R term makes a positive contribution, and C2 becomes
larger than C2 . In the logarithmic layer, for instance, it can be shown that η ≈ 3.0,
∗
giving C2 ≈ 2.0, which is close in magnitude to the value of C2 in the standard k-
model (1.92). As a result, for weakly to moderately strained flows, the RNG model tends
to give results largely comparable to the standard k- model.
In regions of large strain rate (η > η0 ), however, the R term makes a negative contribu-
∗
tion, making the value of C2 less than C2 . In comparison with the standard k- model,
the smaller destruction of augments , reducing k and, eventually, the effective viscosity.
As a result, in rapidly strained flows, the RNG model yields a lower turbulent viscosity
than the standard k- model.
Thus, the RNG model is more responsive to the effects of rapid strain and streamline
curvature than the standard k- model, which explains the superior performance of the
RNG model for certain classes of flows.
Model Constants
The model constants C1 and C2 in Equation 12.4-5 have values derived analytically by
the RNG theory. These values, used by default in FLUENT, are
c Fluent Inc. September 29, 2006 12-17
Modeling Turbulence
• The realizable k- model contains a new formulation for the turbulent viscosity.
• A new transport equation for the dissipation rate, , has been derived from an exact
equation for the transport of the mean-square vorticity fluctuation.
The term “realizable” means that the model satisfies certain mathematical constraints
on the Reynolds stresses, consistent with the physics of turbulent flows. Neither the
standard k- model nor the RNG k- model is realizable.
An immediate benefit of the realizable k- model is that it more accurately predicts
the spreading rate of both planar and round jets. It is also likely to provide superior
performance for flows involving rotation, boundary layers under strong adverse pressure
gradients, separation, and recirculation.
To understand the mathematics behind the realizable k- model, consider combining
the Boussinesq relationship (Equation 12.2-5) and the eddy viscosity definition (Equa-
tion 12.4-3) to obtain the following expression for the normal Reynolds stress in an
incompressible strained mean flow:
2 ∂U
u2 = k − 2 νt (12.4-13)
3 ∂x
Using Equation 12.4-3 for νt ≡ µt /ρ, one obtains the result that the normal stress, u2 ,
which by definition is a positive quantity, becomes negative, i.e., “non-realizable”, when
the strain is large enough to satisfy
k ∂U 1
> ≈ 3.7 (12.4-14)
∂x 3Cµ
Similarly, it can also be shown that the Schwarz inequality for shear stresses (uα uβ 2 ≤
u2α u2β ; no summation over α and β) can be violated when the mean strain rate is large.
The most straightforward way to ensure the realizability (positivity of normal stresses
and Schwarz inequality for shear stresses) is to make Cµ variable by sensitizing it to
the mean flow (mean deformation) and the turbulence (k, ). The notion of variable
Cµ is suggested by many modelers including Reynolds [303], and is well substantiated
by experimental evidence. For example, Cµ is found to be around 0.09 in the inertial
sublayer of equilibrium boundary layers, and 0.05 in a strong homogeneous shear flow.
12-18
c Fluent Inc. September 29, 2006
12.4 Standard, RNG, and Realizable k- Models Theory
Both the realizable and RNG k- models have shown substantial improvements over the
standard k- model where the flow features include strong streamline curvature, vortices,
and rotation. Since the model is still relatively new, it is not clear in exactly which
instances the realizable k- model consistently outperforms the RNG model. However,
initial studies have shown that the realizable model provides the best performance of all
the k- model versions for several validations of separated flows and flows with complex
secondary flow features.
One of the weaknesses of the standard k- model or other traditional k- models lies with
the modeled equation for the dissipation rate (). The well-known round-jet anomaly
(named based on the finding that the spreading rate in planar jets is predicted reasonably
well, but prediction of the spreading rate for axisymmetric jets is unexpectedly poor) is
considered to be mainly due to the modeled dissipation equation.
The realizable k- model proposed by Shih et al. [330] was intended to address these
deficiencies of traditional k- models by adopting the following:
• A new model equation for dissipation () based on the dynamic equation of the
mean-square vorticity fluctuation.
One limitation of the realizable k- model is that it produces non-physical turbulent
viscosities in situations when the computational domain contains both rotating and sta-
tionary fluid zones (e.g., multiple reference frames, rotating sliding meshes). This is due
to the fact that the realizable k- model includes the effects of mean rotation in the
definition of the turbulent viscosity (see Equations 12.4-17–12.4-19). This extra rotation
effect has been tested on single rotating reference frame systems and showed superior be-
havior over the standard k- model. However, due to the nature of this modification, its
application to multiple reference frame systems should be taken with some caution. See
Section 12.4.3: Modeling the Turbulent Viscosity for information about how to include
or exclude this term from the model.
c Fluent Inc. September 29, 2006 12-19
Modeling Turbulence
" #
∂ ∂ ∂ µt ∂k
(ρk) + (ρkuj ) = µ+ + Gk + Gb − ρ − YM + Sk (12.4-15)
∂t ∂xj ∂xj σk ∂xj
and
2
" #
∂ ∂ ∂ µt ∂
(ρ) + (ρuj ) = µ+ + ρ C1 S − ρ C2 √ + C1 C3 Gb + S
∂t ∂xj ∂xj σ ∂xj k + ν k
(12.4-16)
where
" #
η k q
C1 = max 0.43, , η=S , S= 2Sij Sij
η+5
In these equations, Gk represents the generation of turbulence kinetic energy due to the
mean velocity gradients, calculated as described in Section 12.4.4: Modeling Turbulent
Production in the k- Models. Gb is the generation of turbulence kinetic energy due
to buoyancy, calculated as described in Section 12.4.5: Effects of Buoyancy on Turbu-
lence in the k- Models. YM represents the contribution of the fluctuating dilatation in
compressible turbulence to the overall dissipation rate, calculated as described in Sec-
tion 12.4.6: Effects of Compressibility on Turbulence in the k- Models. C2 and C1 are
constants. σk and σ are the turbulent Prandtl numbers for k and , respectively. Sk and
S are user-defined source terms.
Note that the k equation (Equation 12.4-15) is the same as that in the standard k-
model (Equation 12.4-1) and the RNG k- model (Equation 12.4-4), except for the
model constants. However, the form of the equation is quite different from those in
the standard and RNG-based k- models (Equations 12.4-2 and 12.4-5). One of the
noteworthy features is that the production term in the equation (the second term on
the right-hand side of Equation 12.4-16) does not involve the production of k; i.e., it does
not contain the same Gk term as the other k- models. It is believed that the present
form better represents the spectral energy transfer. Another desirable feature is that
the destruction term (the next to last term on the right-hand side of Equation 12.4-16)
does not have any singularity; i.e., its denominator never vanishes, even if k vanishes or
becomes smaller than zero. This feature is contrasted with traditional k- models, which
have a singularity due to k in the denominator.
12-20
c Fluent Inc. September 29, 2006
12.4 Standard, RNG, and Realizable k- Models Theory
This model has been extensively validated for a wide range of flows [183, 330], including
rotating homogeneous shear flows, free flows including jets and mixing layers, channel
and boundary layer flows, and separated flows. For all these cases, the performance of
the model has been found to be substantially better than that of the standard k- model.
Especially noteworthy is the fact that the realizable k- model resolves the round-jet
anomaly; i.e., it predicts the spreading rate for axisymmetric jets as well as that for
planar jets.
k2
µt = ρCµ (12.4-17)
The difference between the realizable k- model and the standard and RNG k- models
is that Cµ is no longer constant. It is computed from
1
Cµ = ∗ (12.4-18)
A0 + As kU
where
q
∗
U ≡ Sij Sij + Ω̃ij Ω̃ij (12.4-19)
and
where Ωij is the mean rate-of-rotation tensor viewed in a rotating reference frame with
the angular velocity ωk . The model constants A0 and As are given by
√
A0 = 4.04, As = 6 cos φ
where
√
!
1 Sij Sjk Ski q 1 ∂uj ∂ui
φ = cos−1 ( 6W ), W = , S̃ = S ij Sij , Sij = +
3 S̃ 3 2 ∂xi ∂xj
c Fluent Inc. September 29, 2006 12-21
Modeling Turbulence
It can be seen that Cµ is a function of the mean strain and rotation rates, the angular ve-
locity of the system rotation, and the turbulence fields (k and ). Cµ in Equation 12.4-17
can be shown to recover the standard value of 0.09 for an inertial sublayer in an equilib-
rium boundary layer.
Model Constants
The model constants C2 , σk , and σ have been established to ensure that the model
performs well for certain canonical flows. The model constants are
∂uj
Gk = −ρu0i u0j (12.4-20)
∂xi
G k = µt S 2 (12.4-21)
q
S≡ 2Sij Sij (12.4-22)
i When using the high-Reynolds number k- versions, µeff is used in lieu of
µt in Equation 12.4-21.
12-22
c Fluent Inc. September 29, 2006
12.4 Standard, RNG, and Realizable k- Models Theory
µt ∂T
Gb = βgi (12.4-23)
Prt ∂xi
where Prt is the turbulent Prandtl number for energy and gi is the component of the
gravitational vector in the ith direction. For the standard and realizable k- models, the
default value of Prt is 0.85. In the case of the RNG k- model, Prt = 1/α, where α
is given by Equation 12.4-9, but with α0 = 1/Pr = k/µcp . The coefficient of thermal
expansion, β, is defined as
!
1 ∂ρ
β=− (12.4-24)
ρ ∂T p
µt ∂ρ
Gb = −gi (12.4-25)
ρPrt ∂xi
It can be seen from the transport equations for k (Equations 12.4-1, 12.4-4, and 12.4-15)
that turbulence kinetic energy tends to be augmented (Gb > 0) in unstable stratification.
For stable stratification, buoyancy tends to suppress the turbulence (Gb < 0). In FLU-
ENT, the effects of buoyancy on the generation of k are always included when you have
both a non-zero gravity field and a non-zero temperature (or density) gradient.
While the buoyancy effects on the generation of k are relatively well understood, the
effect on is less clear. In FLUENT, by default, the buoyancy effects on are neglected
simply by setting Gb to zero in the transport equation for (Equation 12.4-2, 12.4-5, or
12.4-16).
However, you can include the buoyancy effects on in the Viscous Model panel. In this
case, the value of Gb given by Equation 12.4-25 is used in the transport equation for
(Equation 12.4-2, 12.4-5, or 12.4-16).
c Fluent Inc. September 29, 2006 12-23
Modeling Turbulence
The degree to which is affected by the buoyancy is determined by the constant C3 .
In FLUENT, C3 is not specified, but is instead calculated according to the following
relation [140]:
v
C3 = tanh (12.4-26)
u
where v is the component of the flow velocity parallel to the gravitational vector and
u is the component of the flow velocity perpendicular to the gravitational vector. In
this way, C3 will become 1 for buoyant shear layers for which the main flow direction is
aligned with the direction of gravity. For buoyant shear layers that are perpendicular to
the gravitational vector, C3 will become zero.
YM = 2ρM2t (12.4-27)
12-24
c Fluent Inc. September 29, 2006
12.4 Standard, RNG, and Realizable k- Models Theory
12.4.7 Convective Heat and Mass Transfer Modeling in the k- Models
In FLUENT, turbulent heat transport is modeled using the concept of Reynolds’ analogy
to turbulent momentum transfer. The “modeled” energy equation is thus given by the
following:
!
∂ ∂ ∂ ∂T
(ρE) + [ui (ρE + p)] = keff + ui (τij )eff + Sh (12.4-29)
∂t ∂xi ∂xj ∂xj
where E is the total energy, keff is the effective thermal conductivity, and
(τij )eff is the deviatoric stress tensor, defined as
!
∂uj ∂ui 2 ∂uk
(τij )eff = µeff + − µeff δij
∂xi ∂xj 3 ∂xk
The term involving (τij )eff represents the viscous heating, and is always computed in the
density-based solvers. It is not computed by default in the pressure-based solver, but it
can be enabled in the Viscous Model panel.
Additional terms may appear in the energy equation, depending on the physical models
you are using. See Section 13.2.1: Heat Transfer Theory for more details.
For the standard and realizable k- models, the effective thermal conductivity is given
by
c p µt
keff = k +
Prt
where k, in this case, is the thermal conductivity. The default value of the turbulent
Prandtl number is 0.85. You can change the value of the turbulent Prandtl number in
the Viscous Model panel.
For the RNG k- model, the effective thermal conductivity is
c Fluent Inc. September 29, 2006 12-25
Modeling Turbulence
Prandtl number from the molecular value (α = 1/Pr) in the viscosity-dominated region
to the fully turbulent value (α = 1.393) in the fully turbulent regions of the flow.
Turbulent mass transfer is treated similarly. For the standard and realizable k- models,
the default turbulent Schmidt number is 0.7. This default value can be changed in the
Viscous Model panel. For the RNG model, the effective turbulent diffusivity for mass
transfer is calculated in a manner that is analogous to the method used for the heat
transport. The value of α0 in Equation 12.4-9 is α0 = 1/Sc, where Sc is the molecular
Schmidt number.
• gradual change from the standard k-ω model in the inner region of the boundary
layer to a high-Reynolds-number version of the k- model in the outer part of the
boundary layer
• modified turbulent viscosity formulation to account for the transport effects of the
principal turbulent shear stress
12-26
c Fluent Inc. September 29, 2006
12.5 Standard and SST k-ω Models Theory
and
!
∂ ∂ ∂ ∂ω
(ρω) + (ρωui ) = Γω + G ω − Yω + S ω (12.5-2)
∂t ∂xi ∂xj ∂xj
In these equations, Gk represents the generation of turbulence kinetic energy due to mean
velocity gradients. Gω represents the generation of ω. Γk and Γω represent the effective
diffusivity of k and ω, respectively. Yk and Yω represent the dissipation of k and ω due
to turbulence. All of the above terms are calculated as described below. Sk and Sω are
user-defined source terms.
µt
Γk = µ + (12.5-3)
σk
µt
Γω = µ+ (12.5-4)
σω
where σk and σω are the turbulent Prandtl numbers for k and ω, respectively. The
turbulent viscosity, µt , is computed by combining k and ω as follows:
ρk
µt = α ∗ (12.5-5)
ω
c Fluent Inc. September 29, 2006 12-27
Modeling Turbulence
Low-Reynolds-Number Correction
where
ρk
Ret = (12.5-7)
µω
Rk = 6 (12.5-8)
βi
α0∗ = (12.5-9)
3
βi = 0.072 (12.5-10)
The term Gk represents the production of turbulence kinetic energy. From the exact
equation for the transport of k, this term may be defined as
∂uj
Gk = −ρu0i u0j (12.5-11)
∂xi
G k = µt S 2 (12.5-12)
where S is the modulus of the mean rate-of-strain tensor, defined in the same way as for
the k- model (see Equation 12.4-22).
Production of ω
ω
Gω = α Gk (12.5-13)
k
12-28
c Fluent Inc. September 29, 2006
12.5 Standard and SST k-ω Models Theory
where Rω = 2.95. α∗ and Ret are given by Equations 12.5-6 and 12.5-7, respectively.
Note that, in the high-Reynolds-number form of the k-ω model, α = α∞ = 1.
Yk = ρ β ∗ fβ ∗ k ω (12.5-15)
where
1 χk ≤ 0
fβ ∗ = 1+680χ2k (12.5-16)
1+400χ2k
χk > 0
where
1 ∂k ∂ω
χk ≡ (12.5-17)
ω 3 ∂xj ∂xj
and
c Fluent Inc. September 29, 2006 12-29
Modeling Turbulence
Dissipation of ω
Yω = ρ β fβ ω 2 (12.5-23)
where
1 + 70χω
fβ = (12.5-24)
1 + 80χω
Ω Ω S
ij jk ki
χω = (12.5-25)
(β ∗ ω)3
∞
!
1 ∂ui ∂uj
Ωij = − (12.5-26)
2 ∂xj ∂xi
β∗
" #
β = βi 1 − i ζ ∗ F (Mt ) (12.5-27)
βi
βi∗ and F (Mt ) are defined by Equations 12.5-19 and 12.5-28, respectively.
Compressibility Correction
where
2k
M2t ≡ (12.5-29)
a2
Mt0 = 0.25 (12.5-30)
q
a = γRT (12.5-31)
12-30
c Fluent Inc. September 29, 2006
12.5 Standard and SST k-ω Models Theory
Model Constants
∗ 1 ∗
α∞ = 1, α∞ = 0.52, α0 = , β∞ = 0.09, βi = 0.072, Rβ = 8
9
Rk = 6, Rω = 2.95, ζ ∗ = 1.5, Mt0 = 0.25, σk = 2.0, σω = 2.0
• The standard k-ω model and the transformed k- model are both multiplied by a
blending function and both models are added together. The blending function is
designed to be one in the near-wall region, which activates the standard k-ω model,
and zero away from the surface, which activates the transformed k- model.
• The definition of the turbulent viscosity is modified to account for the transport of
the turbulent shear stress.
These features make the SST k-ω model more accurate and reliable for a wider class
of flows (e.g., adverse pressure gradient flows, airfoils, transonic shock waves) than the
standard k-ω model. Other modifications include the addition of a cross-diffusion term
in the ω equation and a blending function to ensure that the model equations behave
appropriately in both the near-wall and far-field zones.
c Fluent Inc. September 29, 2006 12-31
Modeling Turbulence
and
!
∂ ∂ ∂ ∂ω
(ρω) + (ρωui ) = Γω + G ω − Y ω + Dω + S ω (12.5-33)
∂t ∂xi ∂xj ∂xj
In these equations, G̃k represents the generation of turbulence kinetic energy due to
mean velocity gradients, calculated as described in Section 12.5.1: Modeling the Tur-
bulence Production. Gω represents the generation of ω, calculated as described in Sec-
tion 12.5.1: Modeling the Turbulence Production. Γk and Γω represent the effective
diffusivity of k and ω, respectively, which are calculated as described below. Yk and
Yω represent the dissipation of k and ω due to turbulence, calculated as described in
Section 12.5.1: Modeling the Turbulence Dissipation. Dω represents the cross-diffusion
term, calculated as described below. Sk and Sω are user-defined source terms.
µt
Γk = µ + (12.5-34)
σk
µt
Γω = µ+ (12.5-35)
σω
where σk and σω are the turbulent Prandtl numbers for k and ω, respectively. The
turbulent viscosity, µt , is computed as follows:
ρk 1
µt = h i (12.5-36)
ω max 1∗ , SF2
α a1 ω
1
σk = (12.5-37)
F1 /σk,1 + (1 − F1 )/σk,2
1
σω = (12.5-38)
F1 /σω,1 + (1 − F1 )/σω,2
12-32
c Fluent Inc. September 29, 2006
12.5 Standard and SST k-ω Models Theory
F1 = tanh Φ41 (12.5-39)
" √ ! #
k 500µ 4ρk
Φ1 = min max , 2 , (12.5-40)
0.09ωy ρy ω σω,2 Dω+ y 2
" #
1 1 ∂k ∂ω −10
Dω+ = max 2ρ , 10 (12.5-41)
σω,2 ω ∂xj ∂xj
F2 = tanh Φ22 (12.5-42)
" √ #
k 500µ
Φ2 = max 2 , (12.5-43)
0.09ωy ρy 2 ω
where y is the distance to the next surface and Dω+ is the positive portion of the cross-
diffusion term (see Equation 12.5-52).
The term G̃k represents the production of turbulence kinetic energy, and is defined as:
where Gk is defined in the same manner as in the standard k-ω model. See Sec-
tion 12.5.1: Modeling the Turbulence Production for details.
Production of ω
α
Gω = Gk (12.5-45)
νt
Note that this formulation differs from the standard k-ω model. The difference between
the two models also exists in the way the term α∞ is evaluated. In the standard k-ω
model, α∞ is defined as a constant (0.52). For the SST k-ω model, α∞ is given by
c Fluent Inc. September 29, 2006 12-33
Modeling Turbulence
where
βi,1 κ2
α∞,1 = ∗
− q (12.5-47)
β∞ ∗
σw,1 β∞
βi,2 κ2
α∞,2 = ∗
− q (12.5-48)
β∞ ∗
σw,2 β∞
where κ is 0.41.
The term Yk represents the dissipation of turbulence kinetic energy, and is defined in a
similar manner as in the standard k-ω model (see Section 12.5.1: Modeling the Turbulence
Dissipation). The difference is in the way the term fβ ∗ is evaluated. In the standard k-ω
model, fβ ∗ is defined as a piecewise function. For the SST k-ω model, fβ ∗ is a constant
equal to 1. Thus,
Yk = ρβ ∗ kω (12.5-49)
Dissipation of ω
Yk = ρβω 2 (12.5-50)
12-34
c Fluent Inc. September 29, 2006
12.5 Standard and SST k-ω Models Theory
Cross-Diffusion Modification
The SST k-ω model is based on both the standard k-ω model and the standard k- model.
To blend these two models together, the standard k- model has been transformed into
equations based on k and ω, which leads to the introduction of a cross-diffusion term
(Dω in Equation 12.5-33). Dω is defined as
1 ∂k ∂ω
Dω = 2 (1 − F1 ) ρσω,2 (12.5-52)
ω ∂xj ∂xj
For details about the various k- models, see Section 12.4: Standard, RNG, and Realizable
k- Models Theory.
Model Constants
σk,1 = 1.176, σω,1 = 2.0, σk,2 = 1.0, σω,2 = 1.168
ρ (u∗ )2 +
ωw = ω (12.5-53)
µ
c Fluent Inc. September 29, 2006 12-35
Modeling Turbulence
where
2
50
ks+
ks+ < 25
ωw+ = (12.5-55)
100
ks+ ≥ 25
ks+
where
ρks u∗
!
ks+ = max 1.0, (12.5-56)
µ
1 du+turb
ω+ = q +
(12.5-57)
∗
β∞ dy
u∗
ω=q (12.5-58)
β∞∗ κy
Note that in the case of a wall cell being placed in the buffer region, FLUENT will blend
ω + between the logarithmic and laminar sublayer values.
12-36
c Fluent Inc. September 29, 2006
12.7 Reynolds Stress Model (RSM) Theory
For more information about the theoretical background and usage of the v 2 -f model,
please visit the Fluent User Services Center (www.fluentusers.com).
c Fluent Inc. September 29, 2006 12-37
Modeling Turbulence
∂ ∂ ∂
(ρ u0i u0j ) + (ρuk u0i u0j ) = − ρ u0i u0j u0k + p δkj u0i + δik u0j
|∂t {z } ∂x
| k {z } |
∂xk {z }
Local Time Derivative Cij ≡ Convection DT,ij ≡ Turbulent Diffusion
" # !
∂ ∂ ∂uj ∂ui
+ µ (u0 u0 ) − ρ u0i u0k + u0j u0k − ρβ(gi u0j θ + gj u0i θ)
∂xk ∂xk i j ∂xk ∂xk | {z }
| {z } | {z }
Gij ≡ Buoyancy Production
DL,ij ≡ Molecular Diffusion Pij ≡ Stress Production
Of the various terms in these exact equations, Cij , DL,ij , Pij , and Fij do not require any
modeling. However, DT,ij , Gij , φij , and ij need to be modeled to close the equations.
The following sections describe the modeling assumptions required to close the equation
set.
ku0 u0 ∂u0 u0
!
∂
DT,ij = Cs ρ k ` i j (12.7-2)
∂xk ∂x`
However, this equation can result in numerical instabilities, so it has been simplified in
FLUENT to use a scalar turbulent diffusivity as follows [208]:
µt ∂u0i u0j
!
∂
DT,ij = (12.7-3)
∂xk σk ∂xk
12-38
c Fluent Inc. September 29, 2006
12.7 Reynolds Stress Model (RSM) Theory
Lien and Leschziner [208] derived a value of σk = 0.82 by applying the generalized
gradient-diffusion model, Equation 12.7-2, to the case of a planar homogeneous shear
flow. Note that this value of σk is different from that in the standard and realizable k-
models, in which σk = 1.0.
where φij,1 is the slow pressure-strain term, also known as the return-to-isotropy term,
φij,2 is called the rapid pressure-strain term, and φij,w is the wall-reflection term.
The slow pressure-strain term, φij,1 , is modeled as
0 0 2
φij,1 ≡ −C1 ρ u u − δij k (12.7-5)
k i j 3
with C1 = 1.8.
The rapid pressure-strain term, φij,2 , is modeled as
2
φij,2 ≡ −C2 (Pij + Fij + Gij − Cij ) − δij (P + G − C) (12.7-6)
3
where C2 = 0.60, Pij , Fij , Gij , and Cij are defined as in Equation 12.7-1, P = 12 Pkk ,
G = 12 Gkk , and C = 12 Ckk .
The wall-reflection term, φij,w , is responsible for the redistribution of normal stresses near
the wall. It tends to damp the normal stress perpendicular to the wall, while enhancing
the stresses parallel to the wall. This term is modeled as
3 3 C` k 3/2
φij,w ≡ C10u0k u0m nk nm δij − u0i u0k nj nk − u0j u0k ni nk
k 2 2 d
3 3 C` k 3/2
+ C20 φkm,2 nk nm δij − φik,2 nj nk − φjk,2 ni nk
2 2 d
(12.7-7)
c Fluent Inc. September 29, 2006 12-39
Modeling Turbulence
where C10 = 0.5, C20 = 0.3, nk is the xk component of the unit normal to the wall, d is
the normal distance to the wall, and C` = Cµ3/4 /κ, where Cµ = 0.09 and κ is the von
Kármán constant (= 0.4187).
φij,w is included by default in the Reynolds stress model.
q n h io
C1 = 1 + 2.58A A2 1 − exp −(0.0067Ret )2 (12.7-8)
√
C2 = 0.75 A (12.7-9)
2
C10 = − C1 + 1.67 (12.7-10)
3 "
2 1
#
0 C2 −
C2 = max 3 6
,0 (12.7-11)
C2
with the turbulent Reynolds number defined as Ret = (ρk 2 /µ). The parameter A and
tensor invariants, A2 and A3 , are defined as
9
A ≡ 1− (A2 − A3 ) (12.7-12)
8
A2 ≡ aik aki (12.7-13)
A3 ≡ aik akj aji (12.7-14)
The modifications detailed above are employed only when the enhanced wall treatment
is selected in the Viscous Model panel.
12-40
c Fluent Inc. September 29, 2006
12.7 Reynolds Stress Model (RSM) Theory
1
q
φij = − (C1 ρ + C1∗ P ) bij + C2 ρ bik bkj − bmn bmn δij + C3 − C3∗ bij bij ρkSij
3
2
+ C4 ρk bik Sjk + bjk Sik − bmn Smn δij + C5 ρk (bik Ωjk + bjk Ωik ) (12.7-16)
3
where bij is the Reynolds-stress anisotropy tensor defined as
The quadratic pressure-strain model does not require a correction to account for the
wall-reflection effect in order to obtain a satisfactory solution in the logarithmic region
of a turbulent boundary layer. It should be noted, however, that the quadratic pressure-
strain model is not available when the enhanced wall treatment is selected in the Viscous
Model panel.
c Fluent Inc. September 29, 2006 12-41
Modeling Turbulence
Hence,
1
q
φij = − (C1 ρ + C1∗ P ) bij + C2 ρ bik bkj − bmn bmn δij + C3 − C3∗ bij bij ρkSij
3
2
+ C4 ρk bik Sjk + bjk Sik − bmn Smn δij + C5 ρk (bik Ωjk + bjk Ωik ) (12.7-21)
3
where bij is the Reynolds-stress anisotropy tensor defined as
The mean strain rate, Sij , is defined in Equation 12.7-18 and the mean rate-of-rotation
tensor, Ωij , is defined by Equation 12.7-19.
The constants are
Near-wall treatment options in the Viscous Model panel are not available with the low-Re
stress-omega model.
12-42
c Fluent Inc. September 29, 2006
12.7 Reynolds Stress Model (RSM) Theory
Model Constants
C1 = 1.8, C2 = 0.52
∗ 1 ∗
α∞ = 1, α∞ = 0.52, α0 = , β∞ = 0.09, βi = 0.072, Rβ = 8
9
Rk = 6, Rω = 2.95, ζ ∗ = 1.5, Mt0 = 0.25, σk = 2.0, σω = 2.0
The wall boundary conditions for the low-Re stress-omega equation in the RSM models
are treated in the same way as the k equation in the k-ω models.
FLUENT defines the value of ω at the wall as
ρ (u∗ )2 +
ωw = ω (12.7-23)
µ
2
50
ks+
ks+ < 25
ωw+ = (12.7-24)
500
ks+ ≥ 25
ks+
where
ρks u∗
ks+ = (12.7-25)
µ
c Fluent Inc. September 29, 2006 12-43
Modeling Turbulence
where Prt is the turbulent Prandtl number for energy, with a default value of 0.85.
Using the definition of the coefficient of thermal expansion, β, given by Equation 12.4-24,
the following expression is obtained for Gij for ideal gases:
!
µt ∂ρ ∂ρ
Gij = − gi + gj (12.7-27)
ρPrt ∂xj ∂xi
1
k = u0i u0i (12.7-28)
2
As described in Section 12.7.9: Wall Boundary Conditions, an option is available in
FLUENT to solve a transport equation for the turbulence kinetic energy in order to
obtain boundary conditions for the Reynolds stresses. In this case, the following model
equation is used:
" #
∂ ∂ ∂ µt ∂k 1
(ρk) + (ρkui ) = µ+ + (Pii + Gii ) − ρ(1 + 2M2t ) + Sk (12.7-29)
∂t ∂xi ∂xj σk ∂xj 2
12-44
c Fluent Inc. September 29, 2006
12.7 Reynolds Stress Model (RSM) Theory
2
ij = δij (ρ + YM ) (12.7-30)
3
2
" #
∂ ∂ ∂ µt ∂ 1
(ρ) + (ρui ) = µ+ C1 [Pii + C3 Gii ] − C2 ρ + S (12.7-32)
∂t ∂xi ∂xj σ ∂xj 2 k k
where σ = 1.0, C1 = 1.44, C2 = 1.92, C3 is evaluated as a function of the local flow
direction relative to the gravitational vector, as described in Section 12.4.5: Effects of
Buoyancy on Turbulence in the k- Models, and S is a user-defined source term.
k2
µt = ρCµ (12.7-33)
where Cµ = 0.09.
c Fluent Inc. September 29, 2006 12-45
Modeling Turbulence
u0τ2 u0 2 0
u2 u0 u0
= 1.098, η = 0.247, λ = 0.655, − τ η = 0.255 (12.7-34)
k k k k
To obtain k, FLUENT solves the transport equation of Equation 12.7-29. For reasons of
computational convenience, the equation is solved globally, even though the values of k
thus computed are needed only near the wall; in the far field k is obtained directly from the
normal Reynolds stresses using Equation 12.7-28. By default, the values of the Reynolds
stresses near the wall are fixed using the values computed from Equation 12.7-34, and
the transport equations in Equation 12.7-1 are solved only in the bulk flow region.
Alternatively, the Reynolds stresses can be explicitly specified in terms of wall-shear
stress, instead of k:
u0τ2 u0η2 0
uλ2 u0τ u0η
= 5.1, = 1.0, = 2.3, − = 1.0 (12.7-35)
u2τ u2τ u2τ u2τ
q
where uτ is the friction velocity defined by uτ ≡ τw /ρ, where τw is the wall-shear stress.
When this option is chosen, the k transport equation is not solved.
When using enhanced wall treatments as the near-wall treatment, FLUENT applies zero
flux wall boundary conditions to the Reynolds stress equations.
12-46
c Fluent Inc. September 29, 2006
12.8 Detached Eddy Simulation (DES) Model Theory
where E is the total energy and (τij )eff is the deviatoric stress tensor, defined as
!
∂uj ∂ui 2 ∂uk
(τij )eff = µeff + − µeff δij
∂xi ∂xj 3 ∂xk
The term involving (τij )eff represents the viscous heating, and is always computed in the
density-based solvers. It is not computed by default in the pressure-based solver, but it
can be enabled in the Viscous Model panel. The default value of the turbulent Prandtl
number is 0.85. You can change the value of Prt in the Viscous Model panel.
Turbulent mass transfer is treated similarly, with a default turbulent Schmidt number of
0.7. This default value can be changed in the Viscous Model panel.
c Fluent Inc. September 29, 2006 12-47
Modeling Turbulence
where the grid spacing, ∆, is based on the largest grid space in the x, y, or z directions
forming the computational cell. The empirical constant Cdes has a value of 0.65.
3
ρk 2
Yk = (12.8-2)
ldes
where
where Cdes is a calibration constant used in the DES model and has a value of 0.61 and
∆ is the maximum local grid spacing (∆x, ∆y, ∆z).
For the case where ldes = lrke , you will obtain an expression for the dissipation of the k
formulation for the Realizable k- model (Section 12.4.3: Realizable k- Model):
Yk = ρ
12-48
c Fluent Inc. September 29, 2006
12.9 Large Eddy Simulation (LES) Model Theory
Yk = ρβ ∗ kωfβ ∗ (12.8-6)
where fβ ∗ is no longer a constant equal to 1 as in the SST k-ω model (see Section 12.5.1: Mod-
eling the Turbulence Dissipation), but is now expressed as
Lt
fβ ∗ = max ,1 (12.8-7)
Cdes ∆
where Cdes is a calibration constant used in the DES model and has a value of 0.61, ∆ is
the maximum local grid spacing (∆x, ∆y, ∆z) and fβ ∗ is defined in Equation 12.5-16.
The turbulent length scale is the parameter that defines this RANS model:
√
k
Lt = (12.8-8)
β ∗ω
c Fluent Inc. September 29, 2006 12-49
Modeling Turbulence
In LES, large eddies are resolved directly, while small eddies are modeled. Large eddy
simulation (LES) thus falls between DNS and RANS in terms of the fraction of the
resolved scales. The rationale behind LES can be summarized as follows:
• Momentum, mass, energy, and other passive scalars are transported mostly by large
eddies.
• Large eddies are more problem-dependent. They are dictated by the geometries
and boundary conditions of the flow involved.
• Small eddies are less dependent on the geometry, tend to be more isotropic, and
are consequently more universal.
• The chance of finding a universal turbulence model is much higher for small eddies.
Resolving only the large eddies allows one to use much coarser mesh and larger times-
step sizes in LES than in DNS. However, LES still requires substantially finer meshes
than those typically used for RANS calculations. In addition, LES has to be run for
a sufficiently long flow-time to obtain stable statistics of the flow being modeled. As
a result, the computational cost involved with LES is normally orders of magnitudes
higher than that for steady RANS calculations in terms of memory (RAM) and CPU
time. Therefore, high-performance computing (e.g., parallel computing) is a necessity for
LES, especially for industrial applications.
The following sections give details of the governing equations for LES, the subgrid-scale
turbulence models, and the boundary conditions.
where D is the fluid domain, and G is the filter function that determines the scale of the
resolved eddies.
12-50
c Fluent Inc. September 29, 2006
12.9 Large Eddy Simulation (LES) Model Theory
In FLUENT, the finite-volume discretization itself implicitly provides the filtering opera-
tion:
1 Z
φ(x) = φ(x0 ) dx0 , x0 ∈ V (12.9-2)
V V
where V is the volume of a computational cell. The filter function, G(x, x0 ), implied here
is then
(
0 1/V, x0 ∈ V
G(x, x ) (12.9-3)
0, x0 otherwise
The LES capability in FLUENT is applicable to compressible flows. For the sake of concise
notation, however, the theory is presented here for incompressible flows.
Filtering the Navier-Stokes equations, one obtains
∂ρ ∂
+ (ρui ) = 0 (12.9-4)
∂t ∂xi
and
!
∂ ∂ ∂ ∂σij ∂p ∂τij
(ρui ) + (ρui uj ) = µ − − (12.9-5)
∂t ∂xj ∂xj ∂xj ∂xi ∂xj
c Fluent Inc. September 29, 2006 12-51
Modeling Turbulence
1
τij − τkk δij = −2µt S ij (12.9-8)
3
where µt is the subgrid-scale turbulent viscosity. The isotropic part of the subgrid-scale
stresses τkk is not modeled, but added to the filtered static pressure term. S ij is the
rate-of-strain tensor for the resolved scale defined by
!
1 ∂ui ∂uj
S ij ≡ + (12.9-9)
2 ∂xj ∂xi
ρφ
φ= (12.9-10)
ρ
The Favre Filtered Navier-Stokes equation takes the same form as Equation 12.9-5. The
compressible form of the subgrid stress tensor is defined as:
1 1
Tij = Tij − Tll δij + Tll δij (12.9-12)
| 3
{z } |3 {z }
deviatoric isotropic
The deviatoric part of the subgrid-scale stress tensor is modeled using the compressible
form of the Smagorinsky model:
1 1
Tij − Tll δij = 2µt (δij − δii δij ) (12.9-13)
3 3
As for incompressible flows, the term involving Tll can be added to the filtered pressure
or simply neglected [99]. Indeed, this term can be re-written as Tll = γM 2 sgs p where
Msgs is the subgrid Mach number. This subgrid Mach number can be expected to be
small when the turbulent Mach number of the flow is small.
12-52
c Fluent Inc. September 29, 2006
12.9 Large Eddy Simulation (LES) Model Theory
FLUENT offers four models for µt : the Smagorinsky-Lilly model, the dynamic Smagorinsky-
Lilly model, the WALE model, and the dynamic kinetic energy subgrid-scale model.
Subgrid-scale turbulent flux of a scalar, φ, is modeled using s subgrid-scale turbulent
Prandtl number by
µt ∂φ
qj = − (12.9-14)
σt ∂xj
where qj is the subgrid-scale flux.
In the dynamic models, the subgrid-scale turbulent Prandtl number or Schmidt number
is obtained by applying the dynamic procedure originally proposed by Germano [116] to
the subgrid-scale flux.
Smagorinsky-Lilly Model
This simple model was first proposed by Smagorinsky [337]. In the Smagorinsky-Lilly
model, the eddy-viscosity is modeled by
µt = ρL2s S (12.9-15)
q
where Ls is the mixing length for subgrid scales and S ≡ 2S ij S ij . In FLUENT, Ls is
computed using
Ls = min κd, Cs V 1/3 (12.9-16)
where κ is the von Kármán constant, d is the distance to the closest wall, Cs is the
Smagorinsky constant, and V is the volume of the computational cell.
Lilly derived a value of 0.17 for Cs for homogeneous isotropic turbulence in the inertial
subrange. However, this value was found to cause excessive damping of large-scale fluc-
tuations in the presence of mean shear and in transitional flows as near solid boundary,
and has to be reduced in such regions. In short, Cs is not an universal constant, which
is the most serious shortcoming of this simple model. Nonetheless, Cs value of around
0.1 has been found to yield the best results for a wide range of flows, and is the default
value in FLUENT.
c Fluent Inc. September 29, 2006 12-53
Modeling Turbulence
Ls = min κd, Cw V 1/3 (12.9-18)
1 2 1 ∂ui
Sijd = g ij + g 2ji − δij g 2kk , g ij = (12.9-19)
2 3 ∂xj
In FLUENT, the default value of the WALE constant, Cw , is 0.325 and has been found
to yield satisfactory results for a wide range of flow. The rest of the notation is the
same as for the Smagorinsky-Lilly model. With this spatial operator, the WALE model
is designed to return the correct wall asymptotic (y 3 ) behavior for wall bounded flows.
12-54
c Fluent Inc. September 29, 2006
12.9 Large Eddy Simulation (LES) Model Theory
1 2
ksgs = uk − u2k (12.9-20)
2
which is obtained by contracting the subgrid-scale stress in Equation 12.9-7.
The subgrid-scale eddy viscosity, µt , is computed using ksgs as
1/2
µt = Ck ksgs ∆f (12.9-21)
2 1/2
τij − ksgs δij = −2Ck ksgs ∆f S ij (12.9-22)
3
ksgs is obtained by solving its transport equation
3/2
!
∂k sgs ∂uj k sgs ∂ui ksgs ∂ µt ∂ksgs
+ = −τij − Cε + (12.9-23)
∂t ∂xj ∂xj ∆f ∂xj σk ∂xj
In the above equations, the model constants, Ck and Cε , are determined dynamically [184].
σk is hardwired to 1.0. The details of the implementation of this model in FLUENT and
its validation is given by Kim [181].
c Fluent Inc. September 29, 2006 12-55
Modeling Turbulence
No Perturbations
The stochastic components of the flow at the velocity-specified inlet boundaries are ne-
glected if the No Perturbations option is used. In such cases, individual instantaneous
velocity components are simply set equal to their mean velocity counterparts. This op-
tion is suitable only when the level of turbulence at the inflow boundaries is negligible or
does not play a major role in the accuracy of the overall solution.
Vortex Method
To generate a time-dependent inlet condition, a random 2D vortex method is considered.
With this approach, a perturbation is added on a specified mean velocity profile via a
fluctuating vorticity field (i.e. two-dimensional in the plane normal to the streamwise
direction). The vortex method is based on the Lagrangian form of the 2D evolution
equation of the vorticity and the Biot-Savart law. A particle discretization is used to
solve this equation. These particles, or “vortex points” are convected randomly and
carry information about the vorticity field. If N is the number of vortex points and A
is the area of the inlet section, the amount of vorticity carried by a given particle i is
represented by the circulation Γi and an assumed spatial distribution η:
v
πAk(x, y)
u
u
Γi (x, y) = 4t (12.9-24)
3N [2 ln(3) − 3 ln(2)]
1 −|x|2 /2σ2 2 2
η(~x) = 2
2e − 1 2e−|x| /2σ (12.9-25)
2πσ
where k is the turbulence kinetic energy. The parameter σ provides control over the size
of a vortex particle. The resulting discretization for the velocity field is given by
N 0 2 2
1 X ((~xi − ~x) × ~z)(1 − e|~x−~x | /2σ )
~u(~x) = Γi (12.9-26)
2π i=1 |~x − ~x0i |2
12-56
c Fluent Inc. September 29, 2006
12.9 Large Eddy Simulation (LES) Model Theory
Where ~z is the unit vector in the streamwise direction. Originally [327], the size of
the vortex was fixed by an ad hoc value of σ. To make the vortex method generally
applicable, a local vortex size is specified through a turbulent mixing length hypothesis. σ
is calculated from a known profile of mean turbulence kinetic energy and mean dissipation
rate at the inlet according to the following:
ck 3/2
σ= (12.9-27)
2
where c = 0.16. To ensure that the vortex will always belong to resolved scales, the
minimum value of σ in Equation 12.9-27 is bounded by the local grid size. The sign
of the circulation of each vortex is changed randomly each characteristic time scale τ .
In the general implementation of the vortex method, this time scale represents the time
necessary for a 2D vortex convected by the bulk velocity in the boundary normal direction
to travel along n times its mean characteristic 2D size (σm ), where n is fixed equal to
100 from numerical testing. The vortex method considers only velocity fluctuations in
the plane normal to the streamwise direction.
In FLUENT however, a simplified linear kinematic model (LKM) for the streamwise
velocity fluctuations is used [231]. It is derived from a linear model that mimics the
influence of the two-dimensional vortex in the streamwise mean velocity field. If the
mean streamwise velocity U is considered as a passive scalar, the fluctuation u0 resulting
from the transport of U by the planar fluctuating velocity field v 0 is modeled by
u0 = −~v 0 · ~g (12.9-28)
i Since the vortex method theory is based on the modification of the velocity
field normal to the streamwise direction, it is imperative that the user
creates an inlet plane normal (or as close as possible) to the streamwise
velocity direction.
Spectral Synthesizer
The spectral synthesizer provides an alternative method of generating fluctuating velocity
components. It is based on the random flow generation technique originally proposed by
Kraichnan [186] and modified by Smirnov et al. [338]. In this method, fluctuating velocity
components are computed by synthesizing a divergence-free velocity-vector field from
the summation of Fourier harmonics. In the implementation in FLUENT, the number of
Fourier harmonics is fixed to 100.
c Fluent Inc. September 29, 2006 12-57
Modeling Turbulence
12-58
c Fluent Inc. September 29, 2006
12.10 Near-Wall Treatments for Wall-Bounded Turbulent Flows
q
τw
In Figure 12.10.1, y + ≡ ρuτ y/µ, where uτ is the friction velocity, defined as ρ
.
c Fluent Inc. September 29, 2006 12-59
Modeling Turbulence
are valid in the viscosity-affected region and accordingly integrable all the way to the
wall.
FLUENT provides both the wall function approach and the near-wall modeling approach.
Wall Functions
Wall functions are a collection of semi-empirical formulas and functions that in effect
“bridge” or “link” the solution variables at the near-wall cells and the corresponding
quantities on the wall. The wall functions comprise
Depending on the turbulent model you choose, FLUENT offers three to four choices of
wall function approaches:
12-60
c Fluent Inc. September 29, 2006
12.10 Near-Wall Treatments for Wall-Bounded Turbulent Flows
Momentum
1
U∗ = ln(Ey ∗ ) (12.10-1)
κ
where
1/2
∗ UP Cµ1/4 kP
U ≡ (12.10-2)
τw /ρ
1/2
∗ ρCµ1/4 kP yP
y ≡ (12.10-3)
µ
U ∗ = y∗ (12.10-4)
It should be noted that, in FLUENT, the laws-of-the-wall for mean velocity and temper-
ature are based on the wall unit, y ∗ , rather than y + (≡ ρuτ y/µ). These quantities are
approximately equal in equilibrium turbulent boundary layers.
c Fluent Inc. September 29, 2006 12-61
Modeling Turbulence
Energy
Reynolds’ analogy between momentum and energy transport gives a similar logarithmic
law for mean temperature. As in the law-of-the-wall for mean velocity, the law-of-the-wall
for temperature employed in FLUENT comprises the following two different laws:
• linear law for the thermal conduction sublayer where conduction is important
• logarithmic law for the turbulent region where effects of turbulence dominate con-
duction
The thickness of the thermal conduction layer is, in general, different from the thickness
of the (momentum) viscous sublayer, and changes from fluid to fluid. For example, the
thickness of the thermal sublayer for a high-Prandtl-number fluid (e.g., oil) is much less
than its momentum sublayer thickness. For fluids of low Prandtl numbers (e.g., liquid
metal), on the contrary, it is much larger than the momentum sublayer thickness.
In highly compressible flows, the temperature distribution in the near-wall region can
be significantly different from that of low subsonic flows, due to the heating by viscous
dissipation. In FLUENT, the temperature wall functions include the contribution from
the viscous heating [382].
The law-of-the-wall implemented in FLUENT has the following composite form:
1/4 1/2
C k
Pr y ∗ + 12 ρPr µ q̇ P UP2 (y ∗ < yT∗ )
1/2 h i
(Tw − TP ) ρcp Cµ1/4 kP
Pr 1 ln(Ey ∗ ) + P +
∗ t κ
T ≡ = 1/4 1/2
q̇
1 C µ kP
ρ {Prt UP2 + (Pr − Prt )Uc2 } (y ∗ > yT∗ )
2 q̇
(12.10-5)
where P is computed by using the formula given by Jayatilleke [165]:
" 3/4 #
Pr h i
P = 9.24 −1 1 + 0.28e−0.007Pr/Prt (12.10-6)
Prt
12-62
c Fluent Inc. September 29, 2006
12.10 Near-Wall Treatments for Wall-Bounded Turbulent Flows
and
kP = turbulent kinetic energy at point P
ρ = density of fluid
cp = specific heat of fluid
q̇ = wall heat flux
TP = temperature at the cell adjacent to wall
Tw = temperature at the wall
Pr = molecular Prandtl number (µcp /kf )
Prt = turbulent Prandtl number (0.85 at the wall)
A = Van Driest constant (= 26)
Uc = mean velocity magnitude at y ∗ = yT∗
Note that, for the pressure-based solver, the terms
1/2
1 Cµ1/4 kP
ρPr UP2
2 q̇
and
1/2
1 Cµ1/4 kP n o
ρ Prt UP2 + (Pr − Prt )Uc2
2 q̇
!0.6
E0
0.359
1 1
0.695
Prough = 3.15Pr − + P (12.10-7)
E0 E E
where E 0 is the wall function constant modified for the rough walls, defined by E 0 = E/fr .
To find a description of the roughness function fr , you may refer to Equation 7.13-3 in
Section 7.13.1: Wall Roughness Effects in Turbulent Wall-Bounded Flows.
c Fluent Inc. September 29, 2006 12-63
Modeling Turbulence
Species
When using wall functions for species transport, FLUENT assumes that species transport
behaves analogously to heat transfer. Similarly to Equation 12.10-5, the law-of-the-wall
for species can be expressed for constant property flow with no viscous dissipation as
1/2
(Yi,w − Yi ) ρCµ1/4 kP Sc yh∗ (y ∗ < yc∗ )
(
∗
Y ≡ = i (12.10-8)
Ji,w Sct κ1 ln(Ey ∗ ) + Pc (y ∗ > yc∗ )
where Yi is the local species mass fraction, Sc and Sct are molecular and turbulent
Schmidt numbers, and Ji,w is the diffusion flux of species i at the wall. Note that Pc and
yc∗ are calculated in a similar way as P and yT∗ , with the difference being that the Prandtl
numbers are always replaced by the corresponding Schmidt numbers.
Turbulence
In the k- models and in the RSM (if the option to obtain wall boundary conditions from
the k equation is enabled), the k equation is solved in the whole domain including the
wall-adjacent cells. The boundary condition for k imposed at the wall is
∂k
=0 (12.10-9)
∂n
where n is the local coordinate normal to the wall.
The production of kinetic energy, Gk , and its dissipation rate, , at the wall-adjacent
cells, which are the source terms in the k equation, are computed on the basis of the local
equilibrium hypothesis. Under this assumption, the production of k and its dissipation
rate are assumed to be equal in the wall-adjacent control volume.
Thus, the production of k is computed from
∂U τw
G k ≈ τw = τw 1/4 1/2
(12.10-10)
∂y κρCµ kP yP
3/2
Cµ3/4 kP
P = (12.10-11)
κyP
The equation is not solved at the wall-adjacent cells, but instead is computed us-
ing Equation 12.10-11. ω and Reynolds stress equations are solved as detailed in Sec-
tions 12.5.3 and 12.7.9, respectively.
12-64
c Fluent Inc. September 29, 2006
12.10 Near-Wall Treatments for Wall-Bounded Turbulent Flows
Note that, as shown here, the wall boundary conditions for the solution variables, in-
cluding mean velocity, temperature, species concentration, k, and , are all taken care of
by the wall functions. Therefore, you do not need to be concerned about the boundary
conditions at the walls.
The standard wall functions described so far are provided as a default option in FLUENT.
The standard wall functions work reasonably well for a broad range of wall-bounded flows.
However, they tend to become less reliable when the flow situations depart too much from
the ideal conditions that are assumed in their derivation. Among others, the constant-
shear and local equilibrium hypotheses are the ones that most restrict the universality
of the standard wall functions. Accordingly, when the near-wall flows are subjected to
severe pressure gradients, and when the flows are in strong non-equilibrium, the quality
of the predictions is likely to be compromised.
The non-equilibrium wall functions offered as an additional option can improve the results
in such situations.
i Standard wall functions are available with the following viscous models:
• K-epsilon
• Reynolds Stress
The law-of-the-wall for mean temperature or species mass fraction remains the same as
in the standard wall function described above.
The log-law for mean velocity sensitized to pressure gradients is
c Fluent Inc. September 29, 2006 12-65
Modeling Turbulence
where
y − yv y 2
" ! #
1 dp yv y
Ũ = U − √ ln + √ + v (12.10-13)
2 dx ρκ k yv ρκ k µ
µyv∗
yv ≡ 1/4 1/2
(12.10-14)
ρCµ kP
where C` ∗ = κCµ−3/4 , and yv is the dimensional thickness of the viscous sublayer, defined
in Equation 12.10-14.
Using these profiles, the cell-averaged production of k, Gk , and the cell-averaged dissipa-
tion rate, , can be computed from the volume average of Gk and of the wall-adjacent
cells. For quadrilateral and hexahedral cells for which the volume average can be ap-
proximated with a depth-average,
τw2
!
1 Z yn ∂U 1 yn
Gk ≡ τt dy = ln (12.10-16)
yn 0 ∂y κyn ρCµ1/4 kP1/2 yv
and
1/2 !
1 Z yn 1 2ν kP yn
≡ dy = + ∗ ln kP (12.10-17)
yn 0 yn yv C` yv
where yn is the height of the cell (yn = 2yP ). For cells with other shapes (e.g., triangular
and tetrahedral grids), the appropriate volume averages are used.
In Equations 12.10-16 and 12.10-17, the turbulence kinetic energy budget for the wall-
neighboring cells is effectively sensitized to the proportions of the viscous sublayer and
the fully turbulent layer, which varies widely from cell to cell in highly non-equilibrium
12-66
c Fluent Inc. September 29, 2006
12.10 Near-Wall Treatments for Wall-Bounded Turbulent Flows
• Strong body forces (e.g., flow near rotating disks, buoyancy-driven flows).
• High three-dimensionality in the near-wall region (e.g., Ekman spiral flow, strongly
skewed 3D boundary layers).
If any of the items listed above is a prevailing feature of the flow you are modeling, and
if it is considered critically important to capture that feature for the success of your
simulation, you must employ the near-wall modeling approach combined with adequate
mesh resolution in the near-wall region. FLUENT provides the enhanced wall treatment
for such situations. This approach can be used with the three k- models, the k-ω models,
and the RSM.
c Fluent Inc. September 29, 2006 12-67
Modeling Turbulence
• K-epsilon
• Reynolds Stress
12-68
c Fluent Inc. September 29, 2006
12.10 Near-Wall Treatments for Wall-Bounded Turbulent Flows
where y is the normal distance from the wall at the cell centers. In FLUENT, y is
interpreted as the distance to the nearest wall:
where ~r is the position vector at the field point, and ~rw is the position vector on the
wall boundary. Γw is the union of all the wall boundaries involved. This interpretation
allows y to be uniquely defined in flow domains of complex shape involving multiple
walls. Furthermore, y defined in this way is independent of the mesh topology used, and
is definable even on unstructured meshes.
In the fully turbulent region (Rey > Re∗y ; Re∗y = 200), the k- models or the RSM
(described in Sections 12.4 and 12.7) are employed.
In the viscosity-affected near-wall region (Rey < Re∗y ), the one-equation model of Wolf-
stein [406] is employed. In the one-equation model, the momentum equations and the
k equation are retained as described in Sections 12.4 and 12.7. However, the turbulent
viscosity, µt , is computed from
√
µt,2layer = ρ Cµ `µ k (12.10-20)
where the length scale that appears in Equation 12.10-20 is computed from [54]
`µ = yC` ∗ 1 − e−Rey /Aµ (12.10-21)
The two-layer formulation for turbulent viscosity described above is used as a part of the
enhanced wall treatment, in which the two-layer definition is smoothly blended with the
high-Reynolds-number µt definition from the outer region, as proposed by Jongen [168]:
c Fluent Inc. September 29, 2006 12-69
Modeling Turbulence
Rey − Re∗y
" !#
1
λ = 1 + tanh (12.10-23)
2 A
The constant A determines the width of the blending function. By defining a width such
that the value of λ will be within 1% of its far-field value given a variation of ∆Rey , the
result is
|∆Rey |
A= (12.10-24)
tanh(0.98)
Typically, ∆Rey would be assigned a value that is between 5% and 20% of Re∗y . The
main purpose of the blending function λ is to prevent solution convergence from being
impeded when the k- solution in the outer layer does not match with the two-layer
formulation.
The field is computed from
k 3/2
= (12.10-25)
`
The length scales that appear in Equation 12.10-25 are again computed from Chen and
Patel [54]:
` = yC` ∗ 1 − e−Rey /A (12.10-26)
If the whole flow domain is inside the viscosity-affected region (Rey < 200), is not
obtained by solving the transport equation; it is instead obtained algebraically from
Equation 12.10-25. FLUENT uses a procedure for the specification that is similar to
the µt blending in order to ensure a smooth transition between the algebraically-specified
in the inner region and the obtained from solution of the transport equation in the
outer region.
The constants in the length scale formulas, Equations 12.10-21 and 12.10-26, are taken
from [54]:
12-70
c Fluent Inc. September 29, 2006
12.10 Near-Wall Treatments for Wall-Bounded Turbulent Flows
1
u+ = eΓ u+ +
lam + e uturb
Γ (12.10-28)
a(y + )4
Γ=− (12.10-29)
1 + by +
+ +
du+ Γ dulam 1 du
turb
= e + e Γ (12.10-30)
dy + dy + dy +
This approach allows the fully turbulent law to be easily modified and extended to take
into account other effects such as pressure gradients or variable properties. This formula
also guarantees the correct asymptotic behavior for large and small values of y + and
reasonable representation of velocity profiles in the cases where y + falls inside the wall
buffer region (3 < y + < 10).
The enhanced wall functions were developed by smoothly blending an enhanced turbulent
wall law with the laminar wall law. The enhanced turbulent law-of-the-wall for compress-
ible flow with heat transfer and pressure gradients has been derived by combining the
approaches of White and Cristoph [402] and Huang et al. [149]:
du+
turb 1 h 0 + + 2 1/2
i
= S (1 − βu − γ(u ) ) (12.10-31)
dy + κy +
where
(
1 + αy + for y + < ys+
S0 = (12.10-32)
1 + αys+ for y + ≥ ys+
c Fluent Inc. September 29, 2006 12-71
Modeling Turbulence
and
νw dp µ dp
α ≡ ∗
= 2 ∗ 3 (12.10-33)
τw u dx ρ (u ) dx
∗
σt qw u σt qw
β ≡ = (12.10-34)
cp τw Tw ρcp u∗ Tw
σt (u∗ )2
γ ≡ (12.10-35)
2cp Tw
where ys+ is the location at which the log-law slope will remain fixed. By default, ys+ = 60.
The coefficient α in Equation 12.10-31 represents the influences of pressure gradients
while the coefficients β and γ represent thermal effects. Equation 12.10-31 is an ordinary
differential equation and FLUENT will provide an appropriate analytical solution. If α, β,
and γ all equal 0, an analytical solution would lead to the classical turbulent logarithmic
law-of-the-wall.
The laminar law-of-the-wall is determined from the following expression:
du+lam
+
= 1 + αy + (12.10-36)
dy
Note that the above expression only includes effects of pressure gradients through α,
while the effects of variable properties due to heat transfer and compressibility on the
laminar wall law are neglected. These effects are neglected because they are thought to be
of minor importance when they occur close to the wall. Integration of Equation 12.10-36
results in
α
u+
lam =y +
1 + y+ (12.10-37)
2
Enhanced thermal wall functions follow the same approach developed for the profile of
u+ . The unified wall thermal formulation blends the laminar and logarithmic profiles
according to the method of Kader [170]:
+ (Tw − TP ) ρcp u∗ + 1
+
T ≡ = eΓ Tlam + e Γ Tturb (12.10-38)
q̇
where the notation for TP and q̇ is the same as for standard thermal wall functions (see
Equation 12.10-5). Furthermore, the blending factor Γ is defined as
a(Pr y + )4
Γ = − (12.10-39)
1 + bPr3 y +
12-72
c Fluent Inc. September 29, 2006
12.10 Near-Wall Treatments for Wall-Bounded Turbulent Flows
where Pr is the molecular Prandtl number, and the coefficients a and b are defined as in
Equation 12.10-29.
Apart from the formulation for T + in Equation 12.10-38, enhanced thermal wall functions
follow the same logic as for standard thermal wall functions (see Section 12.10.2: Energy),
resulting in the following definition for turbulent and laminar thermal wall functions:
ρu∗ 2
!
+
Tlam = Pr u+
lam + u (12.10-40)
2q̇
ρu∗ 2
( )
Pr
+
Tturb = Prt u+
turb +P + u − − 1 (u+ 2
c ) (u∗)
2
(12.10-41)
2q̇ Prt
i The enhanced wall treatment is available with the following viscous models:
• K-epsilon
• Reynolds Stress
Enhanced wall functions are available with the following viscous models:
• Spalart-Allmaras
• K-omega
c Fluent Inc. September 29, 2006 12-73
Modeling Turbulence
i User-defined wall functions are available with the following viscous model:
• K-epsilon
u ρuτ y
= (12.10-42)
uτ µ
If the mesh is too coarse to resolve the laminar sublayer, it is assumed that the centroid
of the wall-adjacent cell falls within the logarithmic region of the boundary layer, and
the law-of-the-wall is employed:
!
u 1 ρuτ y
= ln E (12.10-43)
uτ κ µ
where κ is the von Kármán constant and E = 9.793. If the mesh is a such that the first
near wall point is within the buffer region, then two above laws are blended in accordance
with equation Equation 12.10-28.
For the LES simulations in FLUENT, there is an alternative near wall approach based on
the work of Werner and Wengle [398], who proposed analytical integration of power-law
near-wall velocity distribution resulting in the following expressions for the wall shear
stress:
2µ|up | 2
µ
∆z
for |up | ≤ 2ρ∆z
A 1−B
|τw | =
1+B
µ
1+B
µ
B 2
1+B
µ 2
1−B 1−B 1+B
ρ
2
A ρ∆z
+ A ρ∆z
|up | for |up | > 2ρ∆z
A 1−B
(12.10-44)
where up is velocity parallel to the wall, A = 8.3, B = 1/7 are the constants, and ∆z is
the near-wall control volume length scale.
12-74
c Fluent Inc. September 29, 2006
12.11 Grid Considerations for Turbulent Flow Simulations
• Although FLUENT employs the linear (laminar) law when y ∗ < 11.225, using an
excessively fine mesh near the walls should be avoided, because the wall functions
cease to be valid in the viscous sublayer.
c Fluent Inc. September 29, 2006 12-75
Modeling Turbulence
• As much as possible, the mesh should be made either coarse or fine enough to
prevent the wall-adjacent cells from being placed in the buffer layer (y + = 5 ∼ 30).
• The upper bound of the log-layer depends on, among others, pressure gradients
and Reynolds number. As the Reynolds number increases, the upper bound tends
to also increase. y + values that are too large are not desirable, because the wake
component becomes substantially large above the log-layer.
• Using excessive stretching in the direction normal to the wall should be avoided.
• When the enhanced wall treatment is employed with the intention of resolving the
laminar sublayer, y + at the wall-adjacent cell should be on the order of y + = 1.
However, a higher y + is acceptable as long as it is well inside the viscous sublayer
(y + < 4 to 5).
• You should have at least 10 cells within the viscosity-affected near-wall region
(Rey < 200) to be able to resolve the mean velocity and turbulent quantities in
that region.
Spalart-Allmaras Model
The Spalart-Allmaras model in its complete implementation is a low-Reynolds-number
model. This means that it is designed to be used with meshes that properly resolve the
viscous-affected region, and damping functions have been built into the model in order to
properly attenuate the turbulent viscosity in the viscous sublayer. Therefore, to obtain
the full benefit of the Spalart-Allmaras model, the near-wall mesh spacing should be as
described in Section 12.11.1: Enhanced Wall Treatment for the enhanced wall treatment.
However, as discussed in Section 12.3.7: Wall Boundary Conditions, the boundary condi-
tions for the Spalart-Allmaras model have been implemented so that the model will work
on coarser meshes, such as would be appropriate for the wall function approach. If you are
using a coarse mesh, you should follow the guidelines described in Section 12.11.1: Wall
Functions.
12-76
c Fluent Inc. September 29, 2006
12.12 Steps in Using a Turbulence Model
In summary, for best results with the Spalart-Allmaras model, you should use either a
very fine near-wall mesh spacing (on the order of y + = 1) or a mesh spacing such that
y + ≥ 30.
k-ω Models
Both k-ω models available in FLUENT are available as low-Reynolds-number models as
well as high-Reynolds-number models. If the Transitional Flows option is enabled in the
Viscous Model panel, low-Reynolds-number variants will be used, and, in that case, mesh
guidelines should be the same as for the enhanced wall treatment. However, if this option
is not active, then the mesh guidelines should be the same as for the wall functions.
c Fluent Inc. September 29, 2006 12-77
Modeling Turbulence
12-78
c Fluent Inc. September 29, 2006
12.12 Steps in Using a Turbulence Model
If you choose the k-epsilon model, select Standard, RNG, or Realizable under k-epsilon
Model. If you choose the k-omega model, select Standard or SST under k-omega
Model.
i The Detached Eddy Simulation and the Large Eddy Simulation (LES) models
are available only for 3D cases.
2. If the flow involves walls, and you are using one of the k- models or the RSM, choose
one of the following options for the Near-Wall Treatment in the Viscous Model panel:
• Standard Wall Functions
• Non-Equilibrium Wall Functions
• Enhanced Wall Treatment
• User-Defined Wall Functions
These near-wall options are described in detail in Section 12.10: Near-Wall Treat-
ments for Wall-Bounded Turbulent Flows. By default, the standard wall function
is enabled.
The near-wall treatment for the Spalart-Allmaras, k-ω, and LES models is defined
automatically, as described in Sections 12.3.7, 12.5.3, and 12.9.4, respectively.
3. Enable the appropriate turbulence modeling options in the Viscous Model panel.
See Section 12.19: Setup Options for all Turbulence Modeling for details.
c Fluent Inc. September 29, 2006 12-79
Modeling Turbulence
• viscous heating (always activated for the density-based solvers) (Section 12.19.1: In-
cluding the Viscous Heating Effects)
12-80
c Fluent Inc. September 29, 2006
12.14 Setting Up the k- Model
• viscous heating (always activated for the density-based solvers) (Section 12.19.1: In-
cluding the Viscous Heating Effects)
Figure 12.14.1: The Viscous Model Panel Displaying the Standard k- Model
c Fluent Inc. September 29, 2006 12-81
Modeling Turbulence
• viscous heating (always activated for the density-based solvers) (Section 12.19.1: In-
cluding the Viscous Heating Effects)
For all k- models, one the following near-wall treatments must be selected (Section 12.10: Near-
Wall Treatments for Wall-Bounded Turbulent Flows):
If you choose the enhanced wall treatment, the following options are available:
If you choose the user-defined wall functions near-wall treatment, hook your UDF under
Law of the Wall, as shown in Figure 12.14.1.
12-82
c Fluent Inc. September 29, 2006
12.14 Setting Up the k- Model
Figure 12.14.2: The Viscous Model Panel Displaying the RNG k- Model
c Fluent Inc. September 29, 2006 12-83
Modeling Turbulence
Figure 12.15.1: The Viscous Model Panel Displaying the Standard k-ω Model
The k-ω models use enhanced wall functions, described in Section 12.10.4: Enhanced
Wall Functions, as the near-wall treatment.
12-84
c Fluent Inc. September 29, 2006
12.15 Setting Up the k-ω Model
• viscous heating (always activated for the density-based solvers) (Section 12.19.1: In-
cluding the Viscous Heating Effects)
Figure 12.15.2: The Viscous Model Panel Displaying the SST k-ω Model
c Fluent Inc. September 29, 2006 12-85
Modeling Turbulence
Figure 12.16.1: The Viscous Model Panel Displaying the Reynolds Stress
Model Options
12-86
c Fluent Inc. September 29, 2006
12.16 Setting Up the Reynolds Stress Model
• wall boundary conditions for the Reynolds stresses from the k equation (Sec-
tion 12.19.12: Solving the k Equation to Obtain Wall Boundary Conditions) for
the linear and quadratic pressure-strain models
• wall reflection effects on Reynolds stresses (Section 12.19.11: Including the Wall
Reflection Term) for the linear pressure-strain model
Other options that are available based on your case setup include:
• viscous heating (always activated for the density-based solvers) (Section 12.19.1: In-
cluding the Viscous Heating Effects)
• inclusion of buoyancy effects on (Section 12.4.5: Effects of Buoyancy on Turbulence
in the k- Models)
For the Reynolds stress model, the following near-wall treatments are available (Sec-
tion 12.10: Near-Wall Treatments for Wall-Bounded Turbulent Flows):
If wall boundary conditions for the Reynolds stresses from the k equation and/or wall
reflection effects on Reynolds stresses are/is selected, then all the above near-wall treat-
ments are available for selection.
If you choose the enhanced wall treatment, the following options are available:
If the quadratic pressure-strain model is selected, then you can set either the standard
wall functions or the non-equilibrium wall functions.
If Low-Re Stress-Omega is selected, you cannot select any near-wall treatments. You do
have the option of selecting any or all of the following k − ω options:
c Fluent Inc. September 29, 2006 12-87
Modeling Turbulence
Figure 12.16.2: The Viscous Model Panel Displaying the Low-Re Stress-
Omega Model Options
12-88
c Fluent Inc. September 29, 2006
12.17 Setting Up the Detached Eddy Simulation Model
• Spalart-Allmaras
• Realizable k-
• SST k-ω
Figure 12.17.1: The Viscous Model Panel Displaying the Detached Eddy Sim-
ulation Model Options
For the Realizable k- submodel, there are no other model-specific options to set. As for
the SST k-ω sub-model, the model-specific option that you can select is the Transitional
Flows k-omega Option (Section 12.19.7: Transitional Flows).
c Fluent Inc. September 29, 2006 12-89
Modeling Turbulence
Additionally, you can perform the following DES-specific functions by using the
/define/models/viscous/detached-eddy-simulation? text command:
• Use cell volume-based LES length scale (default is to use maximum cell edge)
• Modify only the length scales that appear in the destruction term in νt equation
(the default is to modify all length scales within the νt equation)
• Smagorinsky-Lilly
• WALE
• Kinetic-Energy Transport
The LES options that are available for the Smagorinsky-Lilly are
• Dynamic Stress
• Dynamic Energy Flux (available only when the Dynamic Stress Model is enabled)
The LES option that is available when the Kinetic-Energy Transport submodel is selected
is the Dynamic Energy Flux Model.
It is also possible to modify the Model Constants, but this is not necessary for most
applications. See Sections 12.3 through 12.9 for details about these constants. Note that
C1-PS and C2-PS are the constants C1 and C2 in the linear pressure-strain approximation
of Equations 12.7-5 and 12.7-6, and C1’-PS and C2’-PS are the constants C10 and C20 in
Equation 12.7-7. C1-SSG-PS, C1’-SSG-PS, C2-SSG-PS, C3-SSG-PS, C3’-SSG-PS, C4-SSG-
PS, and C5-SSG-PS are the constants C1 , C1∗ , C2 , C3 , C3∗ , C4 , and C5 in the quadratic
pressure-strain approximation of Equation 12.7-16.
12-90
c Fluent Inc. September 29, 2006
12.18 Setting Up the Large Eddy Simulation Model
Figure 12.18.1: The Viscous Model Panel Displaying the Large Eddy Simu-
lation Model Options
c Fluent Inc. September 29, 2006 12-91
Modeling Turbulence
12-92
c Fluent Inc. September 29, 2006
12.19 Setup Options for all Turbulence Modeling
c Fluent Inc. September 29, 2006 12-93
Modeling Turbulence
i The empirical constants and the function f used in the calculation of φij,w
are calibrated for simple canonical flows such as channel flows and flat-plate
boundary layers involving a single wall. If the flow involves multiple walls
and the wall has significant curvature (e.g., an axisymmetric pipe or curvi-
linear duct), the inclusion of the wall-reflection term in Equation 12.7-7
may not improve the accuracy of the RSM predictions. In such cases,
you can disable the wall-reflection effects by turning off the Wall Reflection
Effects under Reynolds-Stress Options in the Viscous Model panel.
12-94
c Fluent Inc. September 29, 2006
12.19 Setup Options for all Turbulence Modeling
c Fluent Inc. September 29, 2006 12-95
Modeling Turbulence
12-96
c Fluent Inc. September 29, 2006
12.20 Defining Turbulence Boundary Conditions
i Note that the laminar zone feature is also available for the Spalart-Allmaras
and RSM models.
c Fluent Inc. September 29, 2006 12-97
Modeling Turbulence
0 2
ui2 = k (i = 1, 2, 3) (12.20-1)
3
u0i u0j = 0.0 (12.20-2)
0
where ui2 is the normal Reynolds stress component in each direction. The boundary
condition for is determined in the same manner as for the k- turbulence models (see
Section 7.2.2: Determining Turbulence Parameters). To use this method, you will select
K or Turbulence Intensity as the Reynolds-Stress Specification Method in the appropriate
boundary condition panel.
Alternately, you can directly specify the Reynolds stresses by selecting Reynolds-Stress
Components as the Reynolds-Stress Specification Method in the boundary condition panel.
When this option is enabled, you should input the Reynolds stresses directly.
You can set the Reynolds stresses by using constant values, profile functions of coordinates
(see Section 7.26: Boundary Profiles), or user-defined functions (see the separate UDF
Manual).
12-98
c Fluent Inc. September 29, 2006
12.20 Defining Turbulence Boundary Conditions
c Fluent Inc. September 29, 2006 12-99
Modeling Turbulence
• If you were able to specify reasonable boundary conditions at the inlet, it may be
a good idea to compute the initial values for k and (or k and ω) in the whole
domain from these boundary values. (See Section 25.14: Initializing the Solution
for details.)
• For more complex flows (e.g., flows with multiple inlets with different conditions) it
may be better to specify the initial values in terms of turbulence intensity. 5–10%
is enough to represent fully-developed turbulence. k can then be computed from
the turbulence intensity and the characteristic mean velocity magnitude of your
problem (k = 1.5(Iuavg )2 ).
2
You should specify an initial guess for so that the resulting eddy viscosity (Cµ k )
is sufficiently large in comparison to the molecular viscosity. In fully-developed
turbulence, the turbulent viscosity is roughly two orders of magnitude larger than
the molecular viscosity. From this, you can compute .
Note that, for the RSM, Reynolds stresses are initialized automatically using Equa-
tions 12.20-1 and 12.20-2.
12-100
c Fluent Inc. September 29, 2006
12.22 Solution Strategies for Turbulent Flow Simulations
• Picture in your mind the flow under consideration using your physical intuition or
any data for a similar flow situation, and identify the main flow features expected
in the flow you want to model. Generate a mesh that can resolve the major features
that you expect.
• If the flow is wall-bounded, and the wall is expected to significantly affect the flow,
take additional care when generating the mesh. You should avoid using a mesh
that is too fine (for the wall function approach) or too coarse (for the enhanced
wall treatment approach). See Section 12.11: Grid Considerations for Turbulent
Flow Simulations for details.
12.22.2 Accuracy
The suggestions below are provided to help you obtain better accuracy in your results:
• Use the turbulence model that is better suited for the salient features you expect
to see in the flow (see Section 12.2: Choosing a Turbulence Model).
• Because the mean quantities have larger gradients in turbulent flows than in laminar
flows, it is recommended that you use high-order schemes for the convection terms.
This is especially true if you employ a triangular or tetrahedral mesh. Note that
excessive numerical diffusion adversely affects the solution accuracy, even with the
most elaborate turbulence model.
• In some flow situations involving inlet boundaries, the flow downstream of the inlet
is dictated by the boundary conditions at the inlet. In such cases, you should
exercise care to make sure that reasonably realistic boundary values are specified.
c Fluent Inc. September 29, 2006 12-101
Modeling Turbulence
12.22.3 Convergence
The suggestions below are provided to help you enhance convergence for turbulent flow
calculations:
• Starting with excessively crude initial guesses for mean and turbulence quantities
may cause the solution to diverge. A safe approach is to start your calculation
using conservative (small) under-relaxation parameters and (for the density-based
solvers) a conservative Courant number, and increase them gradually as the itera-
tions proceed and the solution begins to settle down.
• It is also helpful for faster convergence to start with reasonable initial guesses for
the k and (or k and ω) fields. Particularly when the enhanced wall treatment
is used, it is important to start with a sufficiently developed turbulence field, as
recommended in Section 12.21: Providing an Initial Guess for k and (or k and ω),
to avoid the need for an excessive number of iterations to develop the turbulence
field.
• When you are using the RNG k- model, an approach that might help you achieve
better convergence is to obtain a solution with the standard k- model before switch-
ing to the RNG model. Due to the additional non-linearities in the RNG model,
lower under-relaxation factors and (for the density-based solvers) a lower Courant
number might also be necessary.
Note that when you use the enhanced wall treatment, you may sometimes find during
the calculation that the residual for is reported to be zero. This happens when your
flow is such that Rey is less than 200 in the entire flow domain, and is obtained from
the algebraic formula (Equation 12.10-25) instead of from its transport equation.
• Begin the calculations using the standard k- model. Turn on the RSM and use
the k- solution data as a starting point for the RSM calculation.
• Use low under-relaxation factors (0.2 to 0.3) and (for the density-based solvers) a
low Courant number for highly swirling flows or highly complex flows. In these
cases, you may need to reduce the under-relaxation factors both for the velocities
and for all of the stresses.
12-102
c Fluent Inc. September 29, 2006
12.22 Solution Strategies for Turbulent Flow Simulations
Instructions for setting these solution parameters are provided below. If you are applying
the RSM to prediction of a highly swirling flow, you will want to consider the solution
strategies discussed in Section 9.5: Swirling and Rotating Flows as well.
c Fluent Inc. September 29, 2006 12-103
Modeling Turbulence
The following are suggestions to follow when running a large eddy simulation:
2. When you enable LES, FLUENT will automatically turn on the unsteady solver
option and choose the second-order implicit formulation. You will need to set
the appropriate time step size and all the needed solution parameters. (See Sec-
tion 25.17.1: User Inputs for Time-Dependent Problems for guidelines on setting
solution parameters for transient calculations in general.) The bounded central-
differencing spatial discretization scheme will be automatically enabled for momen-
tum equations. Both the bounded central-differencing and pure central-differencing
schemes are available for all equations when running LES simulations.
3. Run LES until the flow becomes statistically steady. The best way to see if the flow
is fully developed and statistically steady is to monitor forces and solution variables
(e.g., velocity components or pressure) at selected locations in the flow.
5. Continue until you get statistically stable data. The duration of the simulation
can be determined beforehand by estimating the mean flow residence time in the
solution domain (L/U , where L is the characteristic length of the solution domain
and U is a characteristic mean flow velocity). The simulation should be run for at
least a few mean flow residence times.
Instructions for setting the solution parameters for LES are provided below.
12-104
c Fluent Inc. September 29, 2006
12.23 Postprocessing for Turbulent Flows
Temporal Discretization
FLUENT provides both first-order and second-order temporal discretizations. For LES,
the second-order discretization is recommended.
Define −→ Models −→Solver...
Spatial Discretization
Overly diffusive schemes such as the first-order upwind or power law scheme should be
avoided, because they may unduly damp out the energy of the resolved eddies. The
central-differencing based schemes are recommended for all equations when you use the
LES model. FLUENT provides two central-differencing based schemes: pure central-
differencing and bounded central-differencing. The bounded scheme is the default option
when you select LES or DES.
Solve −→ Controls −→Solution...
• Turbulence Intensity
• Production of k
• Turbulent Viscosity
• Effective Viscosity
• Wall Yplus
c Fluent Inc. September 29, 2006 12-105
Modeling Turbulence
• Wall Ystar
• Turbulent Reynolds Number (Re y) (only when the enhanced wall treatment is used
for the near-wall treatment)
Turbulence quantities that can be reported for the k-ω models are as follows:
• Turbulence Intensity
• Production of k
• Turbulent Viscosity
• Effective Viscosity
• Wall Ystar
• Wall Yplus
Turbulence quantities that can be reported for the Spalart-Allmaras model are as follows:
• Turbulent Viscosity
• Effective Viscosity
• Wall Yplus
12-106
c Fluent Inc. September 29, 2006
12.23 Postprocessing for Turbulent Flows
Turbulence quantities that can be reported for the RSM are as follows:
• Turbulence Intensity
• UU Reynolds Stress
• VV Reynolds Stress
• WW Reynolds Stress
• UV Reynolds Stress
• VW Reynolds Stress
• UW Reynolds Stress
• Production of k
• Turbulent Viscosity
• Effective Viscosity
• Wall Yplus
• Wall Ystar
Turbulence quantities that can be reported for the DES model are as follows:
• Turbulent Viscosity
• Effective Viscosity
c Fluent Inc. September 29, 2006 12-107
Modeling Turbulence
• Wall Yplus
Turbulence quantities that can be reported for the LES model are as follows:
• Turbulence Intensity
• Production of k
• Wall Ystar
• Wall Yplus
All of these variables can be found in the Turbulence... category of the variable selection
drop-down list that appears in postprocessing panels. See Chapter 30: Field Function
Definitions for their definitions.
12-108
c Fluent Inc. September 29, 2006
12.23 Postprocessing for Turbulent Flows
• the Reynolds stresses derived from the Boussinesq formula (e.g., −uv = νt ∂u
∂y
)
i Note that mean statistics are collected only in interior cells and not on
wall surfaces. Therefore, when node or cell values of mean quantities are
plotted on the wall surface, you are actually plotting values in nearby cells
attached to the wall.
c Fluent Inc. September 29, 2006 12-109
Modeling Turbulence
There may be cases when you want to control what set of variables are available for
postprocessing. To enable or disable certain variables, use the following text command:
solve −→ set −→data-sampling
The text command prompts you with a set of questions that you will answer yes or no
to depending on whether or not you want statistics collected on certain variables. The
following example demonstrates using the text command when do not want to collect
statistics on species:
12-110
c Fluent Inc. September 29, 2006
12.23 Postprocessing for Turbulent Flows
12.23.3 Troubleshooting
You can use the postprocessing options not only for the purpose of interpreting your
results but also for investigating any anomalies that may appear in the solution. For
instance, you may want to plot contours of the k field to check if there are any regions
where k is erroneously large or small. You should see a high k region in the region
where the production of k is large. You may want to display the turbulent viscosity
ratio field in order to see whether or not turbulence takes full effect. Usually turbulent
viscosity is at least two orders of magnitude larger than molecular viscosity for fully-
developed turbulent flows modeled using the RANS approach (i.e., not using LES). You
may also want to see whether you are using a proper near-wall mesh for the enhanced
wall treatment. In this case, you can display filled contours of Rey (turbulent Reynolds
number) overlaid on the mesh.
c Fluent Inc. September 29, 2006 12-111
Modeling Turbulence
12-112
c Fluent Inc. September 29, 2006
Chapter 13. Modeling Heat Transfer
This chapter provides details about the heat transfer models available in FLUENT.
Information is presented in the following sections:
13.1 Introduction
The flow of thermal energy from matter occupying one region in space to matter occu-
pying a different region in space is known as heat transfer. Heat transfer can occur by
three main methods: conduction, convection, and radiation. Physical models involving
conduction and/or convection only are the simplest (Section 13.2: Modeling Conduc-
tive and Convective Heat Transfer), while buoyancy-driven flow or natural convection
(Section 13.2.5: Natural Convection and Buoyancy-Driven Flows), and radiation mod-
els (Section 13.3: Modeling Radiation) are more complex. Depending on your problem,
FLUENT will solve a variation of the energy equation that takes into account the heat
transfer methods you have specified. FLUENT is also able to predict heat transfer in
periodically repeating geometries (Section 13.4: Modeling Periodic Heat Transfer), thus
greatly reducing the required computational effort in certain cases.
c Fluent Inc. September 29, 2006 13-1
Modeling Heat Transfer
where keff is the effective conductivity (k + kt , where kt is the turbulent thermal conduc-
tivity, defined according to the turbulence model being used), and J~j is the diffusion flux
of species j. The first three terms on the right-hand side of Equation 13.2-1 represent
energy transfer due to conduction, species diffusion, and viscous dissipation, respectively.
Sh includes the heat of chemical reaction, and any other volumetric heat sources you have
defined.
In Equation 13.2-1,
p v2
E =h− + (13.2-2)
ρ 2
13-2
c Fluent Inc. September 29, 2006
13.2 Modeling Conductive and Convective Heat Transfer
X
h= Yj hj (13.2-3)
j
X p
h= Yj hj + (13.2-4)
j ρ
Z T
hj = cp,j dT (13.2-5)
Tref
Under the assumption that the Lewis number (Le) = 1, the conduction and species
diffusion terms combine to give the first term on the right-hand side of the above equation
while the contribution from viscous dissipation appears in the non-conservative form as
the second term. The total enthalpy H is defined as
X
H= Yj H j (13.2-7)
j
Z T
Hj = cp,j dT + h0j (Tref,j ) (13.2-8)
Tref,j
h0j (Tref,j ) is the formation enthalpy of species j at the reference temperature Tref,j .
c Fluent Inc. September 29, 2006 13-3
Modeling Heat Transfer
µUe2
Br = (13.2-9)
k∆T
and ∆T represents the temperature difference in the system.
When your problem requires inclusion of the viscous dissipation terms and you are using
the pressure-based solver, you should activate the terms using the Viscous Heating option
in the Viscous Model panel. Compressible flows typically have Br ≥ 1. Note, however,
that when the pressure-based solver is used, FLUENT does not automatically activate
the viscous dissipation if you have defined a compressible flow model.
When the density-based solver is used, the viscous dissipation terms are always included
when the energy equation is solved.
13-4
c Fluent Inc. September 29, 2006
13.2 Modeling Conductive and Convective Heat Transfer
∇ · hj J~j
X
is included in Equation 13.2-1 by default. If you do not want to include it, you can turn
off the Diffusion Energy Source option in the Species Model panel.
When the non-adiabatic non-premixed combustion model is being used, this term does
not explicitly appear in the energy equation, because it is included in the first term on
the right-hand side of Equation 13.2-6.
When the density-based solver is used, this term is always included in the energy equation.
X h0j
Sh,rxn = − Rj (13.2-10)
j Mj
where h0j is the enthalpy of formation of species j and Rj is the volumetric rate of creation
of species j.
In the energy equation used for non-adiabatic non-premixed combustion (Equation 13.2-6),
the heat of formation is included in the definition of enthalpy (see Equation 13.2-7), so
reaction sources of energy are not included in Sh .
c Fluent Inc. September 29, 2006 13-5
Modeling Heat Transfer
∂
(ρh) + ∇ · (~v ρh) = ∇ · (k∇T ) + Sh (13.2-11)
∂t
where ρ = density
= sensible enthalpy, TTref cp dT
R
h
k = conductivity
T = temperature
Sh = volumetric heat source
The second term on the left-hand side of Equation 13.2-11 represents convective energy
transfer due to rotational or translational motion of the solids. The velocity field ~v is
computed from the motion specified for the solid zone (see Section 7.18: Solid Conditions).
The terms on the right-hand side of Equation 13.2-11 are the heat flux due to conduction
and volumetric heat sources within the solid, respectively.
∇ · (kij ∇T ) (13.2-12)
where kij is the conductivity matrix. See Section 8.5.5: Anisotropic Thermal Conductivity
for Solids for details on specifying anisotropic conductivity for solid materials.
Diffusion at Inlets
The net transport of energy at inlets consists of both the convection and diffusion com-
ponents. The convection component is fixed by the inlet temperature specified by you.
The diffusion component, however, depends on the gradient of the computed tempera-
ture field. Thus the diffusion component (and therefore the net inlet transport) is not
specified a priori.
In some cases, you may wish to specify the net inlet transport of energy rather than the
inlet temperature. If you are using the pressure-based solver, you can do this by disabling
inlet energy diffusion. By default, FLUENT includes the diffusion flux of energy at inlets.
To turn off inlet diffusion, use the define/models/energy? text command.
Inlet diffusion cannot be turned off if you are using the density-based solver.
13-6
c Fluent Inc. September 29, 2006
13.2 Modeling Conductive and Convective Heat Transfer
1. To activate the calculation of heat transfer, enable the Energy Equation option in
the Energy panel (Figure 13.2.1).
Define −→ Models −→Energy...
2. (Optional, pressure-based solver only.) If you are modeling viscous flow and you
want to include the viscous heating terms in the energy equation, enable the Viscous
Heating option in the Viscous Model panel.
Define −→ Models −→Viscous...
As noted in Section 13.2.1: Inclusion of the Viscous Dissipation Terms, the viscous
heating terms in the energy equation are (by default) ignored by FLUENT when
the pressure-based solver is used. (They are always included for the density-based
solver.) Viscous dissipation should be enabled when the shear stress in the fluid
is large (e.g., in lubrication problems) and/or in high-velocity, compressible flows
(see Equation 13.2-9).
3. Define thermal boundary conditions at flow inlets, flow outlets, and walls.
Define −→Boundary Conditions...
At flow inlets and exits you will set the temperature; at walls you may use any of
the following thermal conditions:
• specified heat flux
• specified temperature
• convective heat transfer
• external radiation
• combined external radiation and external convective heat transfer
c Fluent Inc. September 29, 2006 13-7
Modeling Heat Transfer
i If your heat transfer application involves two separated fluid regions, see
the information provided below.
4. Define material properties for heat transfer.
Define −→Materials...
Heat capacity and thermal conductivity must be defined, and you can specify
many properties as functions of temperature as described in Chapter 8: Physical
Properties.
i If your heat transfer application involves two separated fluid regions, see
the information provided below.
Limiting the Predicted Temperature Range: The Temperature Floor and Ceiling
For stability reasons, FLUENT includes a limit on the predicted temperature range. The
purpose of the temperature ceiling and floor is to improve the stability of calculations
in which the temperature should physically lie within known limits. Sometimes interme-
diate solutions of the equations give rise to temperatures beyond these limits for which
property definitions, etc. are not well defined. The temperature limits keep the temper-
atures within the expected range for your problem. If the FLUENT calculation predicts
a temperature above the maximum limit, the stored temperature values are “pegged” at
this maximum value. The default for the temperature ceiling is 5000 K. If the FLUENT
calculation predicts a temperature below the minimum limit, the stored temperature
values are “pegged” at this minimum value. The default for the temperature minimum
is 1 K.
If you expect the temperature in your domain to exceed 5000 K, you should use the
Solution Limits panel to increase the Maximum Temperature.
Solve −→ Controls −→Limits...
13-8
c Fluent Inc. September 29, 2006
13.2 Modeling Conductive and Convective Heat Transfer
• You can establish separate fluid properties by selecting a different fluid material for
each zone. (For species calculations, however, you can only select a single mixture
material for the entire domain.)
➞
fluid 2
➞
fluid 1
c Fluent Inc. September 29, 2006 13-9
Modeling Heat Transfer
13-10
c Fluent Inc. September 29, 2006
13.2 Modeling Conductive and Convective Heat Transfer
When this option is disabled, FLUENT will neglect the effects of species diffusion on the
energy equation.
Note that species diffusion effects are always included when the density-based solver is
used.
Step-by-Step Solutions
Often the most efficient strategy for predicting heat transfer is to compute an isothermal
flow first and then add the calculation of the energy equation. The procedure differs
slightly, depending on whether or not the flow and heat transfer are coupled.
If your flow and heat transfer are decoupled (no temperature-dependent properties or
buoyancy forces), you can first solve the isothermal flow (energy equation turned off) to
yield a converged flow-field solution and then solve the energy transport equation alone.
i Since the density-based solver always solves the flow and energy equations
together, the procedure for solving for energy alone applies to the pressure-
based solver, only.
You can temporarily disable the flow equations or the energy equation by disabling the
Energy option in the Equations list in the Solution Controls panel.
Solve −→ Controls −→Solution...
If the flow and heat transfer are coupled (i.e., your model includes temperature-depen-
dent properties or buoyancy forces), you can first solve the flow equations before enabling
energy. Once you have a converged flow-field solution, you can disable energy and solve
the flow and energy equations simultaneously to complete the heat transfer simulation.
c Fluent Inc. September 29, 2006 13-11
Modeling Heat Transfer
• Static Temperature
• Total Temperature
• Enthalpy
• Rothalpy
• Total Enthalpy
• Entropy
• Total Energy
• Internal Energy
The first 12 variables listed above are contained in the Temperature... category of the
variable selection drop-down list that appears in postprocessing panels, and the remaining
variables are in the Wall Fluxes... category. See Chapter 30: Field Function Definitions
for their definitions.
13-12
c Fluent Inc. September 29, 2006
13.2 Modeling Conductive and Convective Heat Transfer
choose Flow Rate for the Report Type in the Surface Integrals panel, select Enthalpy (in
the Temperature... category) as the Field Variable, and select the surface(s) on which to
integrate.
c Fluent Inc. September 29, 2006 13-13
Modeling Heat Transfer
zone-name nfaces
x_f y_f z_f A Q T_w T_c HTC
.
.
.
Each block of data starts with the name of the face zone (zone-name) and the number
of faces in the zone (nfaces). Next there is a line for each face (i.e., nfaces lines), each
containing the components of the face centroid (x f, y f, and, in 3D, z f), the face area
(A), the heat transfer rate (Q), the face temperature (T w), the adjacent cell temperature
(T c), and the heat transfer coefficient (HTC). If the heat transfer coefficient is calculated
based on wall function (Equation 30.4-33), then Q is the convective heat transfer rate.
Otherwise, Q will be the total heat transfer rate, including radiation heat transfer.
Theory
The importance of buoyancy forces in a mixed convection flow can be measured by the
ratio of the Grashof and Reynolds numbers:
Gr gβ∆T L
2 = (13.2-14)
Re v2
13-14
c Fluent Inc. September 29, 2006
13.2 Modeling Conductive and Convective Heat Transfer
When this number approaches or exceeds unity, you should expect strong buoyancy
contributions to the flow. Conversely, if it is very small, buoyancy forces may be ignored
in your simulation. In pure natural convection, the strength of the buoyancy-induced
flow is measured by the Rayleigh number:
gβ∆T L3 ρ
Ra = (13.2-15)
µα
k
α= (13.2-17)
ρcp
Rayleigh numbers less than 108 indicate a buoyancy-induced laminar flow, with transition
to turbulence occurring over the range of 108 < Ra < 1010 .
• Perform a transient calculation. In this approach, the initial density will be com-
puted from the initial pressure and temperature, so the initial mass is known. As
the solution progresses over time, this mass will be properly conserved. If the
temperature differences in your domain are large, you must follow this approach.
i For a closed domain, you can use the incompressible ideal gas law only
with a fixed operating pressure. It cannot be used with a floating operating
pressure. You can use the compressible ideal gas law with either floating
or fixed operating pressure.
c Fluent Inc. September 29, 2006 13-15
Modeling Heat Transfer
See Section 9.6.4: Floating Operating Pressure for more information about the floating
operating pressure option.
where ρ0 is the (constant) density of the flow, T0 is the operating temperature, and β is
the thermal expansion coefficient. Equation 13.2-18 is obtained by using the Boussinesq
approximation ρ = ρ0 (1−β∆T ) to eliminate ρ from the buoyancy term. This approxima-
tion is accurate as long as changes in actual density are small; specifically, the Boussinesq
approximation is valid when β(T − T0 ) 1.
13-16
c Fluent Inc. September 29, 2006
13.2 Modeling Conductive and Convective Heat Transfer
(d) Depending on whether or not you use the Boussinesq approximation, specify
the appropriate parameters described below:
• If you are not using the Boussinesq model, the inputs are as follows:
i. If necessary, enable the Specified Operating Density option in the Op-
erating Conditions panel, and enter a value for the Operating Density.
See below for details.
ii. Define the fluid density as a function of temperature as described in
Sections 8.2 and 8.3.
Define −→Materials...
• If you are using the Boussinesq model (described in Section 13.2.5: The
Boussinesq Model) the inputs are as follows:
i. Enter the Operating Temperature (T0 in Equation 13.2-18) in the Op-
erating Conditions panel.
ii. Select boussinesq in the drop-down list for Density in the Materials
panel as described in Sections 8.2 and 8.3, and enter a constant value.
c Fluent Inc. September 29, 2006 13-17
Modeling Heat Transfer
iii. Also in the Materials panel, enter an appropriate value for the Thermal
Expansion Coefficient (β in Equation 13.2-18) for the fluid material.
Note that if your model involves multiple fluid materials you can choose
whether or not to use the Boussinesq model for each material. As a result, you
may have some materials using the Boussinesq model and others not. In such
cases, you will need to set all the parameters described above in this step.
See also Section 13.2.2: Steps in Solving Heat Transfer Problems for information on
setting up heat transfer calculations.
Operating Density
When the Boussinesq approximation is not used, the operating density ρ0 appears in the
body-force term in the momentum equations as (ρ − ρ0 )g.
This form of the body-force term follows from the redefinition of pressure in FLUENT as
p0s = ps − ρ0 gx (13.2-19)
p0s = 0 (13.2-20)
13-18
c Fluent Inc. September 29, 2006
13.2 Modeling Conductive and Convective Heat Transfer
By default, FLUENT will compute the operating density by averaging over all cells. In
some cases, you may obtain better results if you explicitly specify the operating density
instead of having the solver compute it for you. For example, if you are solving a natural-
convection problem with a pressure boundary, it is important to understand that the
pressure you are specifying is p0s in Equation 13.2-19. Although you will know the actual
pressure ps , you will need to know the operating density ρ0 in order to determine p0s from
ps . Therefore, you should explicitly specify the operating density rather than use the
computed average. The specified value should, however, be representative of the average
value.
In some cases the specification of an operating density will improve convergence behavior,
rather than the actual results. For such cases use the approximate bulk density value
as the operating density and be sure that the value you choose is appropriate for the
characteristic temperature in the domain.
Note that if you are using the Boussinesq approximation for all fluid materials, the
operating density ρ0 does not appear in the body-force term of the momentum equation.
Consequently, you need not specify it.
1. Start the solution with a lower value of Rayleigh number (e.g., 107 ) and run it to
convergence using the first-order scheme.
2. To change the effective Rayleigh number, change the value of gravitational accel-
eration (e.g., from 9.8 to 0.098 to reduce the Rayleigh number by two orders of
magnitude).
c Fluent Inc. September 29, 2006 13-19
Modeling Heat Transfer
3. Use the resulting data file as an initial guess for the higher Rayleigh number and
start the higher-Rayleigh-number solution using the first-order scheme.
4. After you obtain a solution with the first-order scheme you may continue the cal-
culation with a higher-order scheme.
1. Start the solution from a steady-state solution obtained for the same or a lower
Rayleigh number.
L L2 L
τ= ∼ (PrRa)−1/2 = √ (13.2-21)
U α gβ∆T L
where L and U are the length and velocity scales, respectively. Use a time step ∆t
such that
τ
∆t ≈ (13.2-22)
4
Using a larger time step ∆t may lead to divergence.
13-20
c Fluent Inc. September 29, 2006
13.2 Modeling Conductive and Convective Heat Transfer
Physical Treatment
In the case of shell conduction that is applied on a boundary wall, the boundary condition
that you specify on the original wall is applied to the outer shell wall and the original
wall is treated as a coupled wall (Figure 13.2.4). Note however, that internal emissivity
is applied on the inner shell. The shell boundaries (the sides of the shell zone) need
boundary conditions as well. If the wall with shell conduction is connected to another
wall that has no shell conduction, the shell side will take its boundary condition. The
sides will be adiabatic if they are connected to face zones having a boundary condition
type other than a “wall”. If the shell is connected to another shell of another wall at the
boundary (referred to as shell junctions in FLUENT), then a net flux of zero is imposed
at the shared boundary shell face zone.
c Fluent Inc. September 29, 2006 13-21
Modeling Heat Transfer
13-22
c Fluent Inc. September 29, 2006
13.2 Modeling Conductive and Convective Heat Transfer
• When used in conjunction with the Discrete Ordinates (DO) radiation model, shell
conducting walls cannot be semi-transparent and it should not be used with the
DO/Energy Coupling Method.
• Shell conducting walls cannot be split or merged. If you need to split or merge a
shell conducting wall, you will need to turn off the Shell Conduction option for the
wall (in the Wall panel, perform the split or merge operation, and then enable Shell
Conduction for the new wall zones.
• The shell conduction model cannot be used on a wall zone that has been adapted.
If you want to perform adaption elsewhere in the computational domain, be sure to
use the mask register described in Section 27.11.1. This will ensure that adaption
is not performed on the shell conducting wall.
• Fluxes at the ends of a shell conducting wall are not included in heat balance
reports. These fluxes are accounted for correctly in the FLUENT solution, but are
not listed in the flux report.
Initialization
Shell zones can be patched using the Patch panel.
Solve −→ Initialize −→Patch...
Postprocessing
Shell zones can be postprocessed. The shell cell temperature is stored in the Temperature
variable (inner surface). If a more detailed analysis of he solid zone and surfaces is
required, then you should consider using a layer of solid zones in your model.
c Fluent Inc. September 29, 2006 13-23
Modeling Heat Transfer
13-24
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
In addition to these radiation models, FLUENT also provides a solar load model that
allows you to include the effects of solar radiation in your simulation.
Typical applications well suited for simulation using radiative heat transfer include the
following:
• radiation through windows in HVAC applications, and cabin heat transfer analysis
in automotive applications
You should include radiative heat transfer in your simulation when the radiant heat flux,
4 4
Qrad = σ(Tmax − Tmin ), is large compared to the heat transfer rate due to convection
or conduction. Typically this will occur at high temperatures where the fourth-order
dependence of the radiative heat flux on temperature implies that radiation will dominate.
c Fluent Inc. September 29, 2006 13-25
Modeling Heat Transfer
• DTRM assumes that all surfaces are diffuse. This means that the reflection of
incident radiation at the surface is isotropic with respect to solid angle.
• P-1 model assumes that all surfaces are diffuse. This means that the reflection of
incident radiation at the surface is isotropic with respect to the solid angle.
• P-1 model tends to over-predict radiative fluxes from localized heat sources or sinks.
13-26
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
c Fluent Inc. September 29, 2006 13-27
Modeling Heat Transfer
• The storage and memory requirements increase very rapidly as the number of sur-
face faces increases. This can be minimized by using a cluster of surface faces,
although the CPU time is independent of the number of clusters that are used.
• S2S model cannot be used if your model contains periodic or symmetry boundary
conditions.
• S2S model does not support non-conformal interfaces, hanging nodes, or grid adap-
tion.
13-28
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
dI(~r, ~s) σT 4 σs Z 4π
+ (a + σs )I(~r, ~s) = an2 + I(~r, ~s 0 ) Φ(~s · ~s 0 ) dΩ0 (13.3-1)
ds π 4π 0
Incoming
radiation (I)
Scattering
Gas emission: addition
(aσT 4/ π) ds
ds
c Fluent Inc. September 29, 2006 13-29
Modeling Heat Transfer
The DTRM and the P-1, Rosseland, and DO radiation models require the absorption
coefficient a as input. a and the scattering coefficient σs can be constants, and a can also
be a function of local concentrations of H2 O and CO2 , path length, and total pressure.
FLUENT provides the weighted-sum-of-gray-gases model (WSGGM) for computation of
a variable absorption coefficient. See Section 13.3.8: Radiation in Combusting Flows for
details. The discrete ordinates implementation can model radiation in semi-transparent
media. The refractive index n of the medium must be provided as a part of the calculation
for this type of problem. The Rosseland model also requires you to enter a refractive
index, or use the default value of 1.
1
qr = − ∇G (13.3-2)
3(a + σs ) − Cσs
1
Γ= (13.3-3)
(3(a + σs ) − Cσs )
qr = −Γ∇G (13.3-4)
13-30
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
− ∇ · qr = aG − 4aσT 4 (13.3-6)
The expression for −∇·qr can be directly substituted into the energy equation to account
for heat sources (or sinks) due to radiation.
Anisotropic Scattering
Included in the P-1 radiation model is the capability for modeling anisotropic scattering.
FLUENT models anisotropic scattering by means of a linear-anisotropic scattering phase
function:
Here, ~s is the unit vector in the direction of scattering, and ~s 0 is the unit vector in the
direction of the incident radiation. C is the linear-anisotropic phase function coefficient,
which is a property of the fluid. C ranges from −1 to 1. A positive value indicates that
more radiant energy is scattered forward than backward, and a negative value means that
more radiant energy is scattered backward than forward. A zero value defines isotropic
scattering (i.e., scattering that is equally likely in all directions), which is the default in
FLUENT. You should modify the default value only if you are certain of the anisotropic
scattering behavior of the material in your problem.
σT 4
!
∇ · (Γ∇G) + 4π a + Ep − (a + ap )G = 0 (13.3-8)
π
where Ep is the equivalent emission of the particles and ap is the equivalent absorption
coefficient. These are defined as follows:
c Fluent Inc. September 29, 2006 13-31
Modeling Heat Transfer
N 4
X σTpn
Ep = lim pn Apn (13.3-9)
V →0
n=1 πV
and
N
X Apn
ap = lim pn (13.3-10)
V →0
n=1 V
In Equations 13.3-9 and 13.3-10, pn , Apn , and Tpn are the emissivity, projected area,
and temperature of particle n. The summation is over N particles in volume V . These
quantities are computed during particle tracking in FLUENT.
The projected area Apn of particle n is defined as
πd2pn
Apn = (13.3-11)
4
where dpn is the diameter of the nth particle.
The quantity Γ in Equation 13.3-8 is defined as
1
Γ= (13.3-12)
3(a + ap + σp )
N
X Apn
σp = lim (1 − fpn )(1 − pn ) (13.3-13)
V →0
n=1 V
and is computed during particle tracking. In Equation 13.3-13, fpn is the scattering factor
associated with the nth particle.
Heat sources (sinks) due to particle radiation are included in the energy equation as
follows:
σT 4
!
− ∇ · qr = −4π a + Ep + (a + ap )G (13.3-14)
π
13-32
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
qr · ~n = −Γ∇G · ~n (13.3-15)
∂G
qr,w = −Γ (13.3-16)
∂n
Thus the flux of the incident radiation, G, at a wall is −qr,w . The wall radiative heat
flux is computed using the following boundary condition:
where ρw is the wall reflectivity. The Marshak boundary condition is then used to elim-
inate the angular dependence [275]:
Z 2π Z 2π
Iw (~r, ~s) ~n · ~s dΩ = fw (~r, ~s) ~n · ~s dΩ (13.3-19)
0 0
Substituting Equations 13.3-17 and 13.3-18 into Equation 13.3-19 and performing the
integrations yields
4
4πw σTπw − (1 − ρw )Gw
qr,w =− (13.3-20)
2(1 + ρw )
If it is assumed that the walls are diffuse gray surfaces, then ρw = 1 − w , and Equa-
tion 13.3-20 becomes
w
qr,w = − 4σTw4 − Gw (13.3-21)
2 (2 − w )
Equation 13.3-21 is used to compute qr,w for the energy equation and for the incident
radiation equation boundary conditions.
c Fluent Inc. September 29, 2006 13-33
Modeling Heat Transfer
Boundary Condition Treatment for the P-1 Model at Flow Inlets and Exits
The net radiative heat flux at flow inlets and outlets is computed in the same manner
as at walls, as described above. FLUENT assumes that the emissivity of all flow inlets
and outlets is 1.0 (black body absorption) unless you choose to redefine this boundary
treatment.
FLUENT includes an option that allows you to use different temperatures for radiation
and convection at inlets and outlets. This can be useful when the temperature out-
side the inlet or outlet differs considerably from the temperature in the enclosure. See
Section 13.3.15: Defining Boundary Conditions for Radiation for details.
qr = −Γ∇G (13.3-22)
qr = −16σΓn2 T 3 ∇T (13.3-23)
13-34
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
Since the radiative heat flux has the same form as the Fourier conduction law, it is
possible to write
q = qc + qr (13.3-24)
= −(k + kr )∇T (13.3-25)
kr = 16σΓn2 T 3 (13.3-26)
where k is the thermal conductivity and kr is the radiative conductivity. Equation 13.3-24
is used in the energy equation to compute the temperature field.
Anisotropic Scattering
The Rosseland model allows for anisotropic scattering, using the same phase function
(Equation 13.3-7) described for the P-1 model in Section 13.3.3: Anisotropic Scattering.
where Tw is the wall temperature, Tg is the temperature of the gas at the wall, and the
slip coefficient ψ is approximated by a curve fit to the plot given in [332]:
1/2
Nw < 0.01
2x +3x2 −12x+7
3
ψ=
54
0.01 ≤ Nw ≤ 10 (13.3-28)
0 Nw > 10
k(a + σs )
Nw = (13.3-29)
4σTw3
and x = log10 Nw .
c Fluent Inc. September 29, 2006 13-35
Modeling Heat Transfer
Boundary Condition Treatment for the Rosseland Model at Flow Inlets and
Exits
No special treatment is required at flow inlets and outlets for the Rosseland model. The
radiative heat flux at these boundaries can be determined using Equation 13.3-24.
dI aσT 4
+ aI = (13.3-30)
ds π
σT 4
I(s) = (1 − e−as ) + I0 e−as (13.3-31)
π
where I0 is the radiant intensity at the start of the incremental path, which is determined
by the appropriate boundary condition (see the description of boundary conditions, be-
low). The energy source in the fluid due to radiation is then computed by summing the
change in intensity along the path of each ray that is traced through the fluid control
volume.
The “ray tracing” technique used in the DTRM can provide a prediction of radiative
heat transfer between surfaces without explicit view-factor calculations. The accuracy of
the model is limited mainly by the number of rays traced and the computational grid.
13-36
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
Ray Tracing
The ray paths are calculated and stored prior to the fluid flow calculation. At each
radiating face, rays are fired at discrete values of the polar and azimuthal angles (see
Figure 13.3.2). To cover the radiating hemisphere, θ is varied from 0 to π2 and φ from 0
to 2π. Each ray is then traced to determine the control volumes it intercepts as well as
its length within each control volume. This information is then stored in the radiation
file, which must be read in before the fluid flow calculations begin.
n
θ
φ
t
P
Figure 13.3.2: Angles θ and φ Defining the Hemispherical Solid Angle About
a Point P
c Fluent Inc. September 29, 2006 13-37
Modeling Heat Transfer
Clustering
DTRM is computationally very expensive when there are too many surfaces to trace rays
from and too many volumes crossed by the rays. To reduce the computational time, the
number of radiating surfaces and absorbing cells is reduced by clustering surfaces and
cells into surface and volume “clusters”. The volume clusters are formed by starting from
a cell and simply adding its neighbors and their neighbors until a specified number of
cells per volume cluster is collected. Similarly, surface clusters are made by starting from
a face and adding its neighbors and their neighbors until a specified number of faces per
surface cluster is collected.
The incident radiation flux, qin , and the volume sources are calculated for the surface and
volume clusters respectively. These values are then distributed to the faces and cells in
the clusters to calculate the wall and cell temperatures. Since the radiation source terms
are highly non-linear (proportional to the fourth power of temperature), care must be
taken to calculate the average temperatures of surface and volume clusters and distribute
the flux and source terms appropriately among the faces and cells forming the clusters.
The surface and volume cluster temperatures are obtained by area and volume averaging
as shown in the following equations:
!1/4
Af Tf4
P
f
Tsc = P (13.3-32)
Af
!1/4
Vc Tc4
P
c
Tvc = P (13.3-33)
Vc
where Tsc and Tvc are the temperatures of the surface and volume clusters respectively,
Af and Tf are the area and temperature of face f , and Vc and Tc are the volume and
temperature of cell c. The summations are carried over all faces of a surface cluster and
all cells of a volume cluster.
13-38
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
where Ω is the hemispherical solid angle, Iin is the intensity of the incoming ray, ~s is the
ray direction vector, and ~n is the normal pointing out of the domain. The net radiative
heat flux from the surface, qout , is then computed as a sum of the reflected portion of qin
and the emissive power of the surface:
where Tw is the surface temperature of the point P on the surface and w is the wall
emissivity which you input as a boundary condition. FLUENT incorporates the radiative
heat flux (Equation 13.3-35) in the prediction of the wall surface temperature. Equa-
tion 13.3-35 also provides the surface boundary condition for the radiation intensity I0
of a ray emanating from the point P , as
qout
I0 = (13.3-36)
π
Boundary Condition Treatment for the DTRM at Flow Inlets and Exits
The net radiative heat flux at flow inlets and outlets is computed in the same manner
as at walls, as described above. FLUENT assumes that the emissivity of all flow inlets
and outlets is 1.0 (black body absorption) unless you choose to redefine this boundary
treatment.
FLUENT includes an option that allows you to use different temperatures for radiation
and convection at inlets and outlets. This can be useful when the temperature out-
side the inlet or outlet differs considerably from the temperature in the enclosure. See
Section 13.3.15: Defining Boundary Conditions for Radiation for details.
c Fluent Inc. September 29, 2006 13-39
Modeling Heat Transfer
4
2 σT σs Z 4π
∇ · (I(~r, ~s)~s) + (a + σs )I(~r, ~s) = an + I(~r, ~s 0 ) Φ(~s · ~s 0 ) dΩ0 (13.3-37)
π 4π 0
FLUENT also allows the modeling of non-gray radiation using a gray-band model. The
RTE for the spectral intensity Iλ (~r, ~s) can be written as
σs Z 4π
∇ · (Iλ (~r, ~s)~s) + (aλ + σs )Iλ (~r, ~s) = aλ n2 Ibλ + Iλ (~r, ~s 0 ) Φ(~s · ~s 0 ) dΩ0 (13.3-38)
4π 0
Here λ is the wavelength, aλ is the spectral absorption coefficient, and Ibλ is the black
body intensity given by the Planck function. The scattering coefficient, the scattering
phase function, and the refractive index n are assumed independent of wavelength.
The non-gray DO implementation divides the radiation spectrum into N wavelength
bands, which need not be contiguous or equal in extent. The wavelength intervals are
13-40
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
supplied by you, and correspond to values in vacuum (n = 1). The RTE is integrated
over each wavelength interval, resulting in transport equations for the quantity Iλ ∆λ,
the radiant energy contained in the wavelength band ∆λ. The behavior in each band is
assumed gray. The black body emission in the wavelength band per unit solid angle is
written as
σT 4
[F (0 → nλ2 T ) − F (0 → nλ1 T )]n2 (13.3-39)
π
where F (0 → nλT ) is the fraction of radiant energy emitted by a black body [248] in the
wavelength interval from 0 to λ at temperature T in a medium of refractive index n. λ2
and λ1 are the wavelength boundaries of the band.
The total intensity I(~r, ~s) in each direction ~s at position ~r is computed using
X
I(~r, ~s) = Iλk (~r, ~s)∆λk (13.3-40)
k
N L
µTij Tj − βiT Ti − αiT Iik ωk − SiT Sih
X X
(13.3-41)
j=1 k=1
c Fluent Inc. September 29, 2006 13-41
Modeling Heat Transfer
where
Ii1
Ii2
:
~qi = (13.3-43)
:
IiL
Ti
Mii1 + ηi11 + γi1 ω1 ηi12 + γi1 ω2 ...βi1
21 2
ηi + γi ω1 Mii + ηi + γi ω2 ...βi2
2 22 2
~
Pi = :
(13.3-44)
:
−αiT ω1 −αiT ω2 ...MiiT
PN
µlij Ijl − Si1 − SiB
j=1,i6=j
:
~ri =
(13.3-45)
:
PN T T h
j=1,i6=j µij Tj + Si + Si
13-42
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
There are some instances when using DO/Energy coupling is not recommended or is
incompatible with certain models:
• DO/Energy coupling is not recommended for cases with weak coupling between
energy and directional radiation intensities. This may result in slower convergence
of the coupled approach compared to the sequential approach.
To find out how to apply DO/Energy coupling, refer to Section 13.3.13: Setting Up the
DO Model.
c Fluent Inc. September 29, 2006 13-43
Modeling Heat Transfer
θ s
y
x
incoming
directions
C0 ● ● C1
n
outgoing
directions
face f
13-44
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
overhanging
control angle
incoming
directions n
C0 ●
● C1
outgoing
directions
face f
outgoing
directions
z
overhanging
control
angle
y
x
control
incoming volume
directions face
c Fluent Inc. September 29, 2006 13-45
Modeling Heat Transfer
control angle ω i
si
control
volume
face pixel
13-46
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
The energy contained in each pixel is then treated as incoming or outgoing to the face.
The influence of overhang can thus be accounted for within the pixel resolution. FLUENT
allows you to choose the pixel resolution. For problems involving gray-diffuse radiation,
the default pixelation of 1×1 is usually sufficient. For problems involving symmetry, peri-
odic, specular, or semi-transparent boundaries, a pixelation of 3×3 is recommended. You
should be aware, however, that increasing the pixelation adds to the cost of computation.
Anisotropic Scattering
The DO implementation in FLUENT admits a variety of scattering phase functions. You
can choose an isotropic phase function, a linear anisotropic phase function, a Delta-
Eddington phase function, or a user-defined phase function. The linear anisotropic phase
function is described in Equation 13.3-7. The Delta-Eddington function takes the follow-
ing form:
Here, f is the forward-scattering factor and δ(~s · ~s 0 ) is the Dirac delta function. The
f term essentially cancels a fraction f of the out-scattering; thus, for f = 1, the Delta-
Eddington phase function will cause the intensity to behave as if there is no scattering
at all. C is the asymmetry factor. When the Delta-Eddington phase function is used,
you will specify values for f and C.
When a user-defined function is used to specify the scattering phase function, FLUENT
assumes the phase function to be of the form
4
2 σT σp Z 4π
∇ · (I~s) + (a + ap + σp )I(~r, ~s) = an + Ep + I(~r, ~s 0 ) Φ(~s · ~s 0 ) dΩ0 (13.3-48)
π 4π 0
c Fluent Inc. September 29, 2006 13-47
Modeling Heat Transfer
where ap is the equivalent absorption coefficient due to the presence of particulates, and
is given by Equation 13.3-10. The equivalent emission Ep is given by Equation 13.3-9.
The equivalent particle scattering factor σp , defined in Equation 13.3-13, is used in the
scattering terms.
For non-gray radiation, absorption, emission, and scattering due to the particulate phase
are included in each wavelength band for the radiation calculation. Particulate emission
and absorption terms are also included in the energy equation.
Medium a
q
Adjacent Fluid or Solid emission
n
q in, a reflected, diffuse
q in, a
The diagram in Figure 13.3.8 shows incident radiation qin,a on side a of an opaque wall.
Some of the radiant energy is reflected diffusely and specularly, depending on the diffuse
fraction fd for side a of the wall that you specify as a boundary condition.
13-48
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
Some of the incident radiation is absorbed at the surface of the wall and some radiation is
emitted from the wall surface as shown in Figure 13.3.8. The amount of incident radiation
absorbed at the wall surface and the amount emitted back depends on the emissivity of
that surface and the diffuse fraction. For non-gray DO models, you must specify internal
emissivity for each wavelength band. Radiation is not transmitted through an opaque
wall.
Radiant incident energy that impacts an opaque wall can be reflected back to the sur-
rounding medium and absorbed by the wall. The radiation that is reflected can be
diffusely reflected and/or specularly reflected, depending on the diffuse fraction fd . If qin
is the amount of radiative energy incident on the opaque wall, then the following general
quantities are computed by FLUENT for opaque walls:
where fd is the diffuse fraction, n is the refractive index of the adjacent medium, w is
the wall emissivity, σ is Boltzmann’s Constant, and Tw is the wall temperature.
c Fluent Inc. September 29, 2006 13-49
Modeling Heat Transfer
For gray diffuse radiation, the incident radiative heat flux, qin , at the wall is
Z
qin = Iin~s · ~ndΩ (13.3-49)
~s·~
n>0
where n is the refractive index of the medium next to the wall, w is the wall emissivity,
σ is Boltzmann’s Constant, and Tw is the wall temperature. This equation is also valid
for specular radiation with emissivity = 0.
The boundary intensity for all outgoing directions ~s at the wall is given by
qout
I0 = (13.3-51)
π
There is a special set of equations that apply uniquely to non-gray diffuse opaque walls.
These equations assume that the absorptivity is equal to the emissivity for the wall
surface. For non-gray diffuse radiation, the incident radiative heat flux qin,λ in the band
∆λ at the wall is
Z
qin,λ = ∆λ Iin,λ~s · ~ndΩ (13.3-52)
~s·~
n>0
The net radiative flux leaving the surface in the band ∆λ is given by
where wλ is the wall emissivity in the band. F (n, λ, T ) provides the Planck distribution
function. The boundary intensity for all outgoing directions ~s in the band ∆λ at the wall
is given by
qout,λ
I0λ = (13.3-54)
π∆λ
13-50
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
Figure 13.3.9 shows a schematic of an interior (two-sided) wall that is treated as semi-
transparent in FLUENT and has zero thickness. Incident radiant energy depicted by
qin,a can pass through the semi-transparent wall if and only if the contiguous fluid or
solid cell zones participate in radiation, thereby allowing the radiation to be coupled.
Radiation coupling is set when a wall is specified as semi-transparent. Note that by
default, radiation is not coupled and you will need to explicitly specify radiation coupling
on the interior wall by changing the boundary condition type to semi-transparent in the
Wall panel (under the Radiation tab).
c Fluent Inc. September 29, 2006 13-51
Modeling Heat Transfer
n
q in, a reflected, diffuse q in, a transmitted, diffuse
(fd used is for side a) (f used is for side a)
d
q in, a
na nb
Incident radiant energy that is transmitted through a semi-transparent wall can be trans-
mitted specularly and diffusely. Radiation can also be reflected at the interior wall back
to the surrounding medium if the refractive index na for the fluid zone that represents
medium a is different than the refractive index nb for medium b. Reflected radiation can
be reflected specularly and diffusely. The fraction of diffuse versus specular radiation
that is transmitted and reflected depends on the diffuse fraction for the wall. The special
cases of purely diffuse and purely specular transmission and reflection on semi-transparent
walls is presented in the following sections.
If the semi-transparent wall has thickness, then the thickness and the absorption co-
efficient determine the absorptivity of the ’thin’ wall. If either the wall thickness or
absorption coefficient is set to 0, then the wall has no absorptivity. Although incident
radiation can be absorbed in a semi-transparent wall that has thickness, note that the
absorbed radiation flux does not affect the energy equation. FLUENT does not consider
emission from semi-transparent walls except for the case when a specified temperature
boundary condition is defined.
13-52
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
Consider the special case for a semi-transparent wall, when the diffuse fraction fd is equal
to 0 and all of the transmitted and reflected radiant energy at the semi-transparent wall
is purely specular.
Figure 13.3.10 shows a ray traveling from a semi-transparent medium a with refractive
index na to a semi-transparent medium b with a refractive index nb in the direction
~s. Surface a of the interface is the side that faces medium a; similarly, surface b faces
medium b. The interface normal ~n is assumed to point into side a. We distinguish
between the intensity Ia (~s), the intensity in the direction ~s on side a of the interface, and
the corresponding quantity on the side b, Ib (~s).
s’ st
medium b θb
medium a
θa
s n sr
n b > na
A part of the energy incident on the interface is reflected, and the rest is transmitted.
The reflection is specular, so that the direction of reflected radiation is given by
c Fluent Inc. September 29, 2006 13-53
Modeling Heat Transfer
The radiation transmitted from medium a to medium b undergoes refraction. The direc-
tion of the transmitted energy, ~st , is given by Snell’s law:
na
sin θb = sin θa (13.3-56)
nb
where θa is the angle of incidence and θb is the angle of transmission, as shown in Fig-
ure 13.3.10. We also define the direction
!2 !2
1 na cos θb − nb cos θa 1 na cos θa − nb cos θb
ra (~s) = + (13.3-58)
2 na cos θb + nb cos θa 2 na cos θa + nb cos θb
where τb (~s 0 ) is the transmissivity of side b in direction ~s0 . Similarly, the outgoing intensity
in the direction ~st on side b of the interface, Iw,b (~st ), is given by
For the case na < nb , the energy transmitted from medium a to medium b in the incoming
solid angle 2π must be refracted into a cone of apex angle θc (see Figure 13.3.11) where
na
θc = sin−1 (13.3-61)
nb
13-54
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
θb
θc
medium b
medium a θa
n b > na
Similarly, the transmitted component of the radiant energy going from medium b to
medium a in the cone of apex angle θc is refracted into the outgoing solid angle 2π. For
incident angles greater than θc , total internal reflection occurs and all the incoming energy
is reflected specularly back into medium b. The equations presented above can be applied
to the general case of interior semi-transparent walls that is shown in Figure 13.3.9.
When medium b is external to the domain as in the case of an external semi-transparent
wall (Figure 13.3.12), Iw,b (~s 0 ) is given in Equation 13.3-59 as a part of the boundary
condition inputs. You supply this incoming irradiation flux in terms of its magnitude,
beam direction, and the solid angle over which the radiative flux is to be applied. Note
that the refractive index of the external medium is assumed to be 1.
c Fluent Inc. September 29, 2006 13-55
Modeling Heat Transfer
Consider the special case for a semi-transparent wall, when the diffuse fraction fd is equal
to 1 and all of the transmitted and reflected radiant energy at the semi-transparent wall
is purely diffuse.
In many engineering problems, the semi-transparent interface may be a diffuse reflector.
For such a case, the interfacial reflectivity r(~s) is assumed independent of ~s, and equal to
the hemispherically averaged value rd . For n = na /nb > 1, rd,a and rd,b are given by [333]
(1 − rd,b )
rd,a = 1 − (13.3-62)
n2
1 (3n + 1)(n − 1) n2 (n2 − 1)2 n−1
rd,b = + + ln −
2 6(n + 1)2 (n2 + 1)3 n+1
2n3 (n2 + 2n − 1) 8n4 (n4 + 1)
+ ln(n) (13.3-63)
(n2 + 1)(n4 − 1) (n2 + 1)(n4 − 1)2
The boundary intensity for all outgoing directions on side a of the interface is given by
Z
qin,a = − Iw,a~s · ~ndΩ, ~s · ~n < 0 (13.3-66)
4π
Z
qin,b = Iw,b~s · ~ndΩ, ~s · ~n ≥ 0 (13.3-67)
4π
13-56
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
When the diffuse fraction fd that you enter for a semi-transparent wall is between 0 and
1, the wall is partially diffuse and partially specular. In this case, FLUENT includes the
reflective and transmitted radiative flux contributions from both diffuse and specular
components to the defining equations.
Figure 13.3.12 shows the general case of an irradiation beam qirrad applied to an exterior
semi-transparent wall with zero thickness and a non-zero absorption coefficient for the
material property. Refer to the previous section for the radiation effects of wall thickness
on semi-transparent walls.
q
irrad reflected, specular
q transmitted, specular & refracted
irrad
q normal
irrad
q
irrad transmitted, diffuse
θ
q
irrad reflected, diffuse
q
irrad
n n
b a
n a not equal to nb
c Fluent Inc. September 29, 2006 13-57
Modeling Heat Transfer
An irradiation flux passes through the semi-transparent wall from outside the computa-
tional domain (Figure 13.3.12) into the adjacent fluid or solid medium a. The transmitted
radiation can be refracted (bent) and dispersed specularly and diffusely, depending on
the refractive index and the diffuse fraction that you provide as a boundary condition
input. Note that there is a reflected component of qirrad when the refractive index of the
wall (nb ) is not equal to 1, as shown.
There is an additional flux beyond qirrad that is applied when the Mixed or Radiation
boundary conditions are selected in the Thermal tab. This external flux at the semi-
transparent wall is computed by FLUENT as
4
Qext = external σTrad (13.3-68)
The fraction of the above energy that will enter into the domain depends on the trans-
missivity of the semi-transparent wall under consideration. Note that this energy is
distributed across the solid angles (i.e., similar treatment as diffuse component.)
Incident radiation can also occur on external semi-transparent walls. Refer to the previ-
ous discussion on interior walls for details, since the radiation effects are the same.
The irradiation beam is defined by the magnitude, beam direction, and beam width that
you supply. The irradiation magnitude is specified in terms of an incident radiant heat
flux (W/m2 ). Beam width is specified as the solid angle over which the irradiation is
distributed (i.e., the beam θ and φ extents). The default beam width in FLUENT is 1e−6
degrees which is suitable for collimated beam radiation. Beam direction is defined by the
vector of the centroid of the solid angle. If you select the feature Apply Irradiation Parallel
to Beam in the Wall boundary condition panel, then you supply qirrad for irradiation
(Figure 13.3.12) and FLUENT computes and uses the surface normal flux qirrad,normal in
its radiation calculation. If this feature is not checked, then you must supply the surface
normal flux qirrad,normal for irradiation.
Figure 13.3.13 shows a schematic of the beam direction and beam width for the irradiation
beam. You provide these inputs (in addition to irradiation magnitude) as part of the
boundary conditions for a semi-transparent wall.
The irradiation beam can be refracted in medium a depending on the refractive index
that is specified for the particular fluid or solid zone material.
13-58
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
Beam Width ( ϕ )
y ∆ ϕ /2
Beam Direction (X, Y, Z)
−∆ ϕ /2
x
Beam Width ( θ )
z
∆ θ /2
Beam Direction (X, Y, Z)
−∆ θ /2
y
Figure 13.3.13: Beam Width and Direction for External Irradiation Beam
c Fluent Inc. September 29, 2006 13-59
Modeling Heat Transfer
Limitations
The thin wall treatment should be used for semi-transparent walls only where absorption
or emission by the walls is not significant. In cases with significant emission or absorption
of radiation in a participating solid material, such as the absorption of long wavelength
radiation in a glass window, the use of semi-transparent thin walls can result in the
prediction of unphysical temperatures in the numerical solution. To avoid potentially
erroneous results, one or more solid cell zones should be used to represent the solid
material in such a case.
The discrete ordinates radiation model allows you to model a solid zone that has adjacent
fluid or solid zones on either side as a “semi-transparent” medium. This is done by
designating the solid zone to participate in radiation as part of the boundary condition
setup. Modeling a solid zone as a semi-transparent medium allows you to obtain a
detailed temperature distribution inside the semi-transparent zone since FLUENT solves
the energy equation on a per-cell basis for the solid and provides you with the thermal
results. By default however, the DO equations are solved in fluid zones, but not in any
solid zones. Therefore, you will need to specify the solid zone as participating in radiation
in the Solid panel as part of the boundary condition setup.
13-60
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
Gray-Diffuse Radiation
FLUENT’s S2S radiation model assumes the surfaces to be gray and diffuse. Emissivity
and absorptivity of a gray surface are independent of the wavelength. Also, by Kirchoff’s
law [248], the emissivity equals the absorptivity ( = α). For a diffuse surface, the
reflectivity is independent of the outgoing (or incoming) directions.
The gray-diffuse model is what is used in FLUENT. Also, as stated earlier, for applications
of interest, the exchange of radiative energy between surfaces is virtually unaffected by
the medium that separates them. Thus, according to the gray-body model, if a certain
amount of radiant energy (E) is incident on a surface, a fraction (ρE) is reflected, a
fraction (αE) is absorbed, and a fraction (τ E) is transmitted. Since for most applications
the surfaces in question are opaque to thermal radiation (in the infrared spectrum), the
surfaces can be considered opaque. The transmissivity, therefore, can be neglected. It
follows, from conservation of energy, that α + ρ = 1, since α = (emissivity), and
ρ = 1 − .
where qout,k is the energy flux leaving the surface, k is the emissivity, σ is Boltzmann’s
constant, and qin,k is the energy flux incident on the surface from the surroundings.
c Fluent Inc. September 29, 2006 13-61
Modeling Heat Transfer
The amount of incident energy upon a surface from another surface is a direct function
of the surface-to-surface “view factor,” Fjk . The view factor Fjk is the fraction of energy
leaving surface k that is incident on surface j. The incident energy flux qin,k can be
expressed in terms of the energy flux leaving all other surfaces as
N
X
Ak qin,k = Aj qout,j Fjk (13.3-71)
j=1
where Ak is the area of surface k and Fjk is the view factor between surface k and surface
j. For N surfaces, using the view factor reciprocity relationship gives
so that
N
X
qin,k = Fkj qout,j (13.3-73)
j=1
Therefore,
N
qout,k = k σTk4 + ρk
X
Fkj qout,j (13.3-74)
j=1
N
X
Jk = Ek + ρk Fkj Jj (13.3-75)
j=1
where Jk represents the energy that is given off (or radiosity) of surface k, and Ek
represents the emissive power of surface k. This represents N equations, which can be
recast into matrix form as
KJ = E (13.3-76)
13-62
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
Equation 13.3-76 is referred to as the radiosity matrix equation. The view factor between
two finite surfaces i and j is given by
1 Z Z cos θi cos θj
Fij = δij dAi dAj (13.3-77)
Ai Ai Aj πr2
where δij is determined by the visibility of dAj to dAi . δij = 1 if dAj is visible to dAi
and 0 otherwise.
Clustering
The S2S radiation model is computationally very expensive when there are a large number
of radiating surfaces. To reduce the computational time as well as the storage require-
ment, the number of radiating surfaces is reduced by creating surface “clusters”. The
surface clusters are made by starting from a face and adding its neighbors and their
neighbors until a specified number of faces per surface cluster is collected.
A new algorithm has been implemented for the creation of surface clusters which is faster
and supports non-conformal interfaces, hanging nodes, or grid adaption. This algorithm
is now the default. If you wish to use the old algorithm, you may use the TUI command
but adaption and non-conformal interfaces will not be supported.
The radiosity, J, is calculated for the surface clusters. These values are then distributed
to the faces in the clusters to calculate the wall temperatures. Since the radiation source
terms are highly non-linear (proportional to the fourth power of temperature), care must
be taken to calculate the average temperature of the surface clusters and distribute the
flux and source terms appropriately among the faces forming the clusters.
The surface cluster temperature is obtained by area averaging as shown in the following
equation:
!1/4
Af Tf4
P
f
Tsc = P (13.3-78)
Af
where Tsc is the temperature of the surface cluster, and Af and Tf are the area and
temperature of face f . The summation is carried over all faces of a surface cluster.
c Fluent Inc. September 29, 2006 13-63
Modeling Heat Transfer
Smoothing
Smoothing can be performed on the view factor matrix to enforce the reciprocity rela-
tionship and conservation.
The reciprocity relationship is represented by
where Ai is the area of surface i, Fij is the view factor between surfaces i and j, and Fji
is the view factor between surfaces j and i.
Once the reciprocity relationship has been enforced, a least-squares smoothing method [191]
can be used to ensure that conservation is satisfied, i.e.,
X
Fij = 1.0 (13.3-80)
I
a,i (T )(1 − e−κi ps )
X
= (13.3-81)
i=0
where a,i are the emissivity weighting factors for the ith fictitious gray gas, the bracketed
quantity is the ith fictitious gray gas emissivity, κi is the absorption coefficient of the
ith gray gas, p is the sum of the partial pressures of all absorbing gases, and s is the
path length. For a,i and κi FLUENT uses values obtained from [67] and [344]. These
values depend on gas composition, and a,i also depend on temperature. When the total
pressure is not equal to 1 atm, scaling rules for κi are used (see Equation 13.3-87).
The absorption coefficient for i = 0 is assigned a value of zero to account for windows in
the spectrum between spectral regions of high absorption ( Ii=1 a,i < 1) and the weight-
P
I
X
a,0 = 1 − a,i (13.3-82)
i=1
13-64
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
The temperature dependence of a,i can be approximated by any function, but the most
common approximation is
J
b,i,j T j−1
X
a,i = (13.3-83)
j=1
where b,i,j are the emissivity gas temperature polynomial coefficients. The coefficients
b,i,j and κi are estimated by fitting Equation 13.3-81 to the table of total emissivities,
obtained experimentally [67, 79, 344].
The absorptivity α of the radiation from the wall can be approximated in a similar
way [344], but, to simplify the problem, it is assumed that = α [247]. This assumption is
justified unless the medium is optically thin and the wall temperature differs considerably
from the gas temperature.
Since the coefficients b,i,j and κi are slowly varying functions of ps and T , they can be
assumed constant for a wide range of these parameters. In [344] these constant coefficients
are presented for different relative pressures of the CO2 and H2 O vapor, assuming that
the total pressure pT is 1 atm. The values of the coefficients shown in [344] are valid for
0.001 ≤ ps ≤ 10.0 atm-m and 600 ≤ T ≤ 2400 K. For T > 2400 K, coefficient values
suggested by [67] are used. If κi ps 1 for all i, Equation 13.3-81 simplifies to
I
X
= a,i κi ps (13.3-84)
i=0
Comparing Equation 13.3-84 with the gray gas model with absorption coefficient a, it
can be seen that the change of the radiation intensity over the distance s in the WSGGM
is exactly the same as in the gray gas model with the absorption coefficient
I
X
a= a,i κi p (13.3-85)
i=0
ln(1 − )
a=− (13.3-86)
s
where the emissivity for the WSGGM is computed using Equation 13.3-81. a as defined
by Equation 13.3-86 depends on s, reflecting the non-gray nature of the absorption of
thermal radiation in molecular gases. In FLUENT, Equation 13.3-85 is used when s ≤
10−4 m and Equation 13.3-86 is used for s > 10−4 m. Note that for s ≈ 10−4 m, the
values of a predicted by Equations 13.3-85 and 13.3-86 are practically identical (since
Equation 13.3-86 reduces to Equation 13.3-85 in the limit of small s).
c Fluent Inc. September 29, 2006 13-65
Modeling Heat Transfer
FLUENT allows you to specify s as the mean beam length or the characteristic cell size.
The model based on the mean beam length is the recommended approach, especially
when you have a nearly homogeneous medium and you are interested in the radiation
exchange between the walls of the enclosure. You can specify the mean beam length
or have FLUENT compute it. If you do decide to use the WSGGM based on the char-
acteristic cell size, note that the predicted values of a will be grid dependent (this is a
known limitation of the model). See Section 8.8.1: Inputs for a Composition-Dependent
Absorption Coefficient for details about setting properties for the WSGGM.
The WSGGM, as described above, assumes that ptot —the total (static) gas pressure—is
equal to 1 atm. In cases where ptot is not unity (e.g., combustion at high temperatures),
scaling rules suggested in [94] are used to introduce corrections. When ptot < 0.9 atm or
ptot > 1.1 atm, the values for κi in Equations 13.3-81 and 13.3-85 are rescaled:
κi → κi pm
tot (13.3-87)
where m is a non-dimensional value obtained from [94], which depends on the partial
pressures and temperature T of the absorbing gases, as well as on ptot .
13-66
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
as+g = ag + as (13.3-88)
where ag is the absorption coefficient of gas without soot (obtained from the WSGGM)
and
as = b1 ρm [1 + bT (T − 2000)] (13.3-89)
with
c Fluent Inc. September 29, 2006 13-67
Modeling Heat Transfer
• Scattering and emissivity: The P-1, Rosseland, and DO models account for scat-
tering, while the DTRM neglects it. Since the Rosseland model uses a temperature
slip condition at walls, it is insensitive to wall emissivity.
• Particulate effects: Only the P-1 and DO models account for exchange of radiation
between gas and particulates (see Equation 13.3-8).
• Semi-transparent walls (interior and exterior): Only the DO model allows you to
model semi-transparent walls of various types (e.g., glass).
• Specular walls: Only the DO model allows specular reflection (e.g., for dust-free
mirror).
• Partially-specular walls: Only the DO model allows specular reflection (e.g., dusty
mirror).
• Non-gray radiation: Only the DO model allows you to compute non-gray radiation
using a gray band model.
• Localized heat sources: In problems with localized sources of heat, the P-1 model
may over-predict the radiative fluxes. The DO model is probably the best suited
for computing radiation for this case, although the DTRM, with a sufficiently large
number of rays, is also acceptable.
13-68
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
External Radiation
If you need to include radiative heat transfer from the exterior of your physical model,
you can include an external radiation boundary condition in your model (for details, see
Section 7.13.1: Thermal Boundary Conditions at Walls). If you are not concerned with
radiation within the domain, this boundary condition can be used without activating one
of the radiation models.
1. Activate radiative heat transfer by selecting a radiation model (Rosseland, P1, Dis-
crete Transfer (DTRM), Surface to Surface (S2S), or Discrete Ordinates) under Model
in the Radiation Model panel (Figure 13.3.14).
Note, select Off to deactivate radiation.
Define −→ Models −→Radiation...
i The Rosseland model can be used only with the pressure-based solver.
c Fluent Inc. September 29, 2006 13-69
Modeling Heat Transfer
13-70
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
When the radiation model is active, the radiation fluxes will be included in the
solution of the energy equation at each iteration. If you set up a problem with the
radiation model turned on, and you then decide to turn it off completely, you must
select the Off button in the Radiation Model panel.
Note that, when you enable a radiation model, FLUENT will automatically enable
the energy equation so that step is not needed.
5. Set the parameters that control the solution (DTRM, DO, S2S, and P-1 only) as
described in Section 13.3.16: Solution Strategies for Radiation Modeling.
c Fluent Inc. September 29, 2006 13-71
Modeling Heat Transfer
In this panel you will set parameters for and create the rays and clusters discussed in
Section 13.3.5: The DTRM Equations.
The procedure is as follows:
1. To control the number of radiating surfaces and absorbing cells, set the Cells Per
Volume Cluster and Faces Per Surface Cluster. (See the explanation below.)
2. To control the number of rays being traced, set the number of Theta Divisions and
Phi Divisions. (Guidelines are provided below.)
3. When you click OK in the DTRM Rays panel, a Select File dialog box will open
prompting you for the name of the “ray file”. After you have specified the file
name and chosen whether to write a binary ray file, FLUENT will write the ray file
and then read it afterward. During the write process the status of the DTRM ray
tracing will be reported in the FLUENT console window. For example:
i If you cancel the DTRM Rays panel without writing and reading the ray
file, the DTRM will be disabled.
13-72
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
i Do not write or read a compressed ray file, because FLUENT will not be
able to access the ray tracing information properly from a compressed ray
file.
The ray filename must be specified to FLUENT only once. Thereafter, the filename is
stored in your case file and the ray file will be automatically read into FLUENT whenever
the case file is read. FLUENT will remind you that it is reading the ray file after it finishes
reading the rest of the case file by reporting its progress in the text (console) window.
c Fluent Inc. September 29, 2006 13-73
Modeling Heat Transfer
Note that the ray filename stored in your case file may not contain the full name of the
directory in which the ray file exists. The full directory name will be stored in the case
file only if you initially read the ray file through the GUI (or if you typed in the directory
name along with the filename when using the text interface). In the event that the full
directory name is absent, the automatic reading of the ray file may fail (since FLUENT
does not know in which directory to look for the file), and you will need to manually
specify the ray file, using the File/Read/DTRM Rays... menu item. The safest approaches
are to use the GUI when you first read the ray file or to supply the full directory name
when using the text interface.
i You should recreate the ray file whenever you do anything that changes
the grid, such as:
You can open the DTRM Rays panel directly with the Define/DTRM Rays...
menu item.
13-74
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
c Fluent Inc. September 29, 2006 13-75
Modeling Heat Transfer
The S2S radiation model is computationally very expensive when there are a large num-
ber of radiating surfaces. To reduce the memory requirement for the calculation, the
number of radiating surfaces is reduced by creating surface clusters. The surface cluster
information (coordinates and connectivity of the nodes, surface cluster IDs) is used by
FLUENT to compute the view factors for the surface clusters.
i You should recreate the surface cluster information whenever you do any-
thing that changes the grid, such as:
Note that you do not need to recalculate view factors after shell conduction
at any wall has been enabled or disabled. See Section 7.13.1: Thermal
Boundary Conditions at Walls for more information about shell conduction.
13-76
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
To compute view factors in your current FLUENT session, you must first set the param-
eters for the view factor calculation in the View Factor and Cluster Parameters panel (see
below for details). When you have set the view factor and surface cluster parameters,
click Compute/Write... under Methods in the Radiation Model panel. A Select File dialog
box will open, prompting you for the name of the file in which FLUENT should save
the surface cluster information and the view factors. After you have specified the file
name, FLUENT will write the surface cluster information to the file. FLUENT will use
the surface cluster information to compute the view factors, save the view factors to the
same file, and then automatically read the view factors. The FLUENT console window
will report the status of the view factor calculation. For example:
i The view factor file format for this version of FLUENT is known as the
compressed row format (CRF) which is a more efficient way of writing
view factors than in prior versions of FLUENT. In the CRF format, only
non-zero view factors with their associated cluster IDs are stored to the
file. This reduces the size of the .s2s file, and reduces the time it takes
to read the file into FLUENT. While the CRF file format is the default,
you can still use the older file format if necessary. Contact your support
engineer for more information.
To compute view factors outside FLUENT, you must save the surface cluster information
and view factor parameters to a file.
File −→ Write −→Surface Clusters...
FLUENT will open the View Factor and Cluster Parameters panel, where you will set the
view factor and surface cluster parameters (see below for details). When you click OK in
the View Factor and Cluster Parameters panel, a Select File dialog box will open, prompting
you for the name of the file in which FLUENT should save the surface cluster information
and view factor parameters. After you have specified the file name, FLUENT will write
c Fluent Inc. September 29, 2006 13-77
Modeling Heat Transfer
the surface cluster information and view factor parameters to the file. If the specified
Filename ends in .gz or .Z, appropriate file compression will be performed.
To calculate the view factors outside FLUENT, enter one of the following commands:
where inputfile is the filename, or the correct path to the filename, for the surface
cluster information and view factor parameters file that you saved from FLUENT.
You can then read the view factors into FLUENT, as described below.
• For the network parallel solver:
where n is the number of compute nodes, and host1, host2,. . . are the names of the
machines being used.
i While the previous .s2s view factor file format can still be read seamlessly
into FLUENT, there is now a more efficient compressed row format (CRF)
that can be read into FLUENT (see the section on Computing View Factors
Inside FLUENT). You can take advantage of the reduced size of the CRF
file and thus the reduced time it takes to read the file into FLUENT, by
converting the existing old file format to the new format (without having to
recompute the view factors) using the following command at the command
prompt in your working directory:
utility viewfac -c1 -o new.s2s.gz old.s2s.gz
where new.s2s.gz is the CRF format to which you want the old file format
(old.s2s.gz) converted.
13-78
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
Your input for Faces Per Surface Cluster will control the number of radiating surfaces.
By default, it is set to 1, so the number of surface clusters (radiating surfaces) will be
equal to the number of boundary faces. For small 2D problems, this is an acceptable
number. For larger problems, you may want to reduce the number of surface clusters
to reduce both the size of the view factor file and the memory requirement. Such a
reduction in the number of clusters, however, comes at the cost of some accuracy. (See
Section 13.3.7: Clustering for details about clustering.)
There are certain applications that will require most or all wall boundary zones to have
the same Faces Per Surface Cluster parameter. In typical underhood simulations, for
example, there can be hundreds of walls that you want to apply the same Face Per
c Fluent Inc. September 29, 2006 13-79
Modeling Heat Transfer
Surface Cluster parameter to. To avoid visiting each Wall boundary condition panel, you
can instead click the Apply to All Walls checkbox in the View Factor and Cluster Parameters
panel (Figure 13.3.17). Once you click OK, the Faces Per Surface Cluster value you specify
will be copied to all wall zones that are adjacent to fluid zones in your model. You can
then visit only the walls you want to define different settings for and set those parameters
individually.
The Faces Per Surface Cluster can be designated for a particular wall in the Wall boundary
condition panel under the Radiation tab (Figure 13.3.18). Under the Radiation tab, you
can also choose to exclude a particular wall from the radiosity calculations by deselecting
Participates in S2S Radiation. Note that if the surface clusters are written with this feature
turned off, then the view factors will not be computed at all for that particular wall. If
you are unsure whether a wall is radiating or not ahead of time, then you should keep
the Participates in S2S Radiation enabled and have the view factors computed. You can
always toggle the switch at a later stage to include or exclude the particular wall for
radiosity calculations.
i The Faces Per Surface Cluster and Participates in S2S Radiation controls will
not be visible in the GUI on wall boundary zones that are attached to a
solid.
13-80
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
In some cases, you may wish to modify the cutoff or “split” angle between adjacent
face normals for the purpose of controlling surface clustering. The split angle sets the
limit for which adjacent surfaces are clustered. A smaller split angle allows for a better
representation of the view factor. By default, no surface cluster will contain any face
that has a face normal greater than 20◦ . To modify the value of this parameter, you can
use the split-angle text command:
define −→ models −→ radiation −→ s2s-parameters −→split-angle
or
file −→ write-surface-clusters −→split-angle
View factor calculations depend on the geometric orientations of surface pairs with re-
spect to each other. Two situations may be encountered when examining surface pairs:
• If there is no obstruction between the surface pairs under consideration, then they
are referred to as “non-blocking” surfaces.
• If there is another surface blocking the views between the surfaces under consid-
eration, then they are referred to as “blocking” surfaces. Blocking will change the
view factors between the surface pairs and require additional checks to compute
the correct value of the view factors.
For cases with blocking surfaces, select Blocking under Surfaces in the View Factor and
Cluster Parameters panel. For cases with non-blocking surfaces, you can choose either
Blocking or Nonblocking without affecting the accuracy. However, it is better to choose
Nonblocking for such cases, as it takes less time to compute.
c Fluent Inc. September 29, 2006 13-81
Modeling Heat Transfer
In order to enforce reciprocity and conservation (see Section 13.3.7: Smoothing), smooth-
ing can be performed on the view factor matrix. To use the least-squares method for
smoothing of the view factor matrix, select Least Squares under Smoothing in the View
Factor and Cluster Parameters panel. If you do not wish to smooth the view factor matrix,
select None under Smoothing.
FLUENT provides two methods for computing view factors: the hemicube method and
the adaptive method. The hemicube method is available only for 3D cases.
The adaptive method calculates the view factors on a pair-by-pair basis using a variety of
algorithms (analytic or Gauss quadrature) that are chosen adaptively depending on the
proximity of the surfaces. To maintain accuracy, the order of the quadrature increases
the closer the faces are together. For surfaces that are very close to each other, the
analytic method is used. FLUENT determines the method to use by performing a visibility
calculation. The Gaussian quadrature method is used if none of the rays from a surface
are blocked by the other surface. If some of the rays are blocked by the other surface,
then either a Monte Carlo integration method or a quasi-Monte Carlo integration method
is used.
To use the adaptive method to compute the view factors, select Adaptive in the View Factor
and Cluster Parameters panel. It is recommended that you use the adaptive method for
simple models, because it is faster than the hemicube method for these types of models.
The hemicube method uses a differential area-to-area method and calculates the view
factors on a row-by-row basis. The view factors calculated from the differential areas are
summed to provide the view factor for the whole surface. This method originated from
the use of the radiosity approach in the field of computer graphics [64].
To use the hemicube method to compute the view factors, select Hemicube in the View
Factor and Cluster Parameters panel. It is recommended that you use the hemicube method
for large complex models, because it is faster than the adaptive method for these types
of models.
13-82
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
The hemicube method is based upon three assumptions about the geometry of the sur-
faces: aliasing, visibility, and proximity. To validate these assumptions, you can specify
three different hemicube parameters, which can help you obtain better accuracy in cal-
culating view factors. In most cases, however, the default settings will be sufficient.
• Aliasing—The true projection of each visible face onto the hemicube can be ac-
curately accounted for by using a finite-resolution hemicube. As described above,
the faces are projected onto a hemicube. Because of the finite resolution of the
hemicube, the projected areas and resulting view factors may be over- or under-
estimated. Aliasing effects can be reduced by increasing the value of the Resolution
of the hemicube under Hemicube Parameters.
• Visibility—The visibility between any two faces does not change. In some cases,
face i has a complete view of face k from its centroid, but some other face j occludes
much of face k from face i. In such a case, the hemicube method will overestimate
the view factor between face i and face k calculated from the centroid of face i.
This error can be reduced by subdividing face i into smaller subfaces. You can
specify the number of subfaces by entering a value for Subdivision under Hemicube
Parameters.
c Fluent Inc. September 29, 2006 13-83
Modeling Heat Transfer
13-84
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
When a non-zero Number Of Bands is specified, the Radiation Model panel will expand
once again to show the Wavelength Intervals (Figure 13.3.19). You can specify a Name for
each wavelength band, as well as the Start and End wavelength of the band in µm. Note
that the wavelength bands are specified for vacuum (n = 1). FLUENT will automatically
account for the refractive index in setting band limits for media with n different from
unity.
n 1 λ 1 = n 2 λ2 (13.3-90)
Here λ1 and λ2 are the wavelengths associated with the two media. It is conventional to
specify the wavelength rather than frequency. FLUENT requires you to specify wavelength
bands for an equivalent medium with n = 1.
For example, consider a typical glass with a step jump in the absorption coefficient at
a cut-off wavelength of λc . The absorption coefficient is a1 for λ ≤ λc µm and a2 for
c Fluent Inc. September 29, 2006 13-85
Modeling Heat Transfer
λ > λc µm. The refractive index of the glass is ng . Since nλ is constant across a semi-
transparent interface, the equivalent cut-off wavelength for a medium with n = 1 is ng λc
using Equation 13.3-90. You should choose two bands in this case, with the limits 0 to
ng λc and ng λc to 100. Here, the upper wavelength limit has been chosen to be a large
number, 100, in order to ensure that the entire spectrum is covered by the bands. When
multiple materials exist, you should convert all the cut-off wavelengths to equivalent
cut-off wavelengths for an n = 1 medium, and choose the band boundaries accordingly.
The bands can have different widths and need not be contiguous. You can ensure that
the entire spectrum is covered by your bands by choosing λmin = 0 and nλmax Tmin ≥
50, 000. Here λmin and λmax are the minimum and maximum wavelength bounds of your
wavelength bands, and Tmin is the minimum expected temperature in the domain.
Figure 13.3.20: The Radiation Model Panel with DO/Energy Coupling En-
abled
i This option should not be used when the shell conduction model is enabled.
13-86
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
c Fluent Inc. September 29, 2006 13-87
Modeling Heat Transfer
When radiation is active, you can define the emissivity at each inlet and exit bound-
ary when you are defining boundary conditions in the associated inlet or exit bound-
ary panel (Pressure Inlet panel, Velocity Inlet panel, Pressure Outlet panel, etc.). Enter
the appropriate value for Internal Emissivity. The default value for all boundary types
is 1. Alternatively, you can specify a user-defined function for emissivity. See Sec-
tion 2.3.14: DEFINE PROPERTY UDFs of the separate UDF Manual for details.
For non-gray DO models, the specified constant emissivity will be used for all wavelength
bands.
i The Internal Emissivity boundary condition is not available with the Rosse-
land model.
FLUENT includes an option that allows you to take into account the influence of the tem-
perature of the gas and the walls beyond the inlet/exit boundaries, and specify different
temperatures for radiation and convection at inlets and exits. This is useful when the
temperature outside the inlet or exit differs considerably from the temperature in the
enclosure. For example, if the temperature of the walls beyond the inlet is 2000 K and
the temperature at the inlet is 1000 K, you can specify the outside-wall temperature to
be used for computing radiative heat flux, while the actual temperature at the inlet is
used for calculating convective heat transfer. To do this, you would specify a radiation
temperature of 2000 K as the black body temperature.
Although this option allows you to account for both cooler and hotter outside walls,
you must use caution in the case of cooler walls, since the radiation from the immediate
vicinity of the hotter inlet or outlet almost always dominates over the radiation from
13-88
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
cooler outside walls. If, for example, the temperature of the outside walls is 250 K and
the inlet temperature is 1500 K, it might be misleading to use 250 K for the radiation
boundary temperature. This temperature might be expected to be somewhere between
250 K and 1500 K; in most cases it will be close to 1500 K. (Its value depends on the
geometry of the outside walls and the optical thickness of the gas in the vicinity of the
inlet.)
In the flow inlet or exit panel (Pressure Inlet panel, Velocity Inlet panel, etc.), select
Specified External Temperature in the External Black Body Temperature Method drop-down
list, and then enter the value of the radiation boundary temperature as the Black Body
Temperature.
i If you want to use the same temperature for radiation and convection,
retain the default selection of Boundary Temperature as the External Black
Body Temperature Method.
i The Black Body Temperature boundary condition is not available with the
Rosseland model.
Wall Boundary Conditions for the DTRM, and the P-1, S2S and Rosseland
Models
The DTRM and the P-1, S2S, and Rosseland models assume all walls to be gray and
diffuse. The only radiation boundary condition required in the Wall panel is the emis-
sivity. For the Rosseland model, the internal emissivity is 1. For the DTRM and the
P-1 and S2S models, you can enter the appropriate value for Internal Emissivity in the
Thermal section of the Wall panel. The default value is 1. Alternatively, you can specify
a user-defined function for emissivity. See Section 2.3.14: DEFINE PROPERTY UDFs of the
separate UDF Manual for details.
When the S2S model is used, you can define a “partial enclosure” (i.e., you can disable
view factor calculations for walls and inlet and exit boundaries that are not participating
in the radiative heat transfer calculation). This feature allows you to save time computing
the view factors and also reduce the memory required to store the view factor file during
the FLUENT calculation.
c Fluent Inc. September 29, 2006 13-89
Modeling Heat Transfer
To make use of this feature for walls, you can disable the Participates in S2S Radia-
tion option in the Radiation section of the Wall panel for each relevant wall. Similarly,
you can disable the view factor calculations for any inlet or exit boundary by high-
lighting the boundary in the Boundary Conditions panel, clicking the Set... button and
turning off the Participates in S2S Radiation option (this can also be done through the
define/boundary-conditions text command). You can specify the Temperature of the
partial enclosure under Partial Enclosure in the Radiation Model panel (Figure 13.3.16).
The partial enclosure is treated like a black body with the specified temperature.
i The Flux Reports panel will not show the exact balance of the Radiation Heat
Transfer Rate because the radiative heat transfer to the partial enclosure is
not included.
Opaque Walls
In the Radiation section of the Wall panel (Figure 13.3.21), select opaque in the BC Type
drop-down list to specify an opaque wall. Opaque walls are treated as gray if gray
radiation is being computed, or non-gray if the non-gray DO model is being used. If the
non-gray DO model is being used, the Diffuse Fraction can be specified for each band.
Once you have selected opaque as the BC Type, you can specify the fraction of reflected
radiation flux that is to be treated as diffuse. By default, the Diffuse Fraction is set to 1,
indicating that all of the radiation is diffuse. A diffuse fraction equal to 0 indicates purely
specular reflected radiation. A diffuse fraction between 0 and 1 will result in partially
diffuse and partially specular reflected energy. See Section 13.3.6: Boundary Condition
Treatment at Opaque Walls for more details.
13-90
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
Figure 13.3.21: The Wall Panel Showing Radiation Conditions for an Opaque
Wall
c Fluent Inc. September 29, 2006 13-91
Modeling Heat Transfer
You will also be required to specify the internal emissivity in the Thermal section of
the Wall panel (Figure 13.3.22). For gray-radiation DO models, enter the appropriate
value for Internal Emissivity. (The default value is 1.) The value that you specify will
be applied to the diffuse component only. For non-gray DO models, specify a constant
Internal Emissivity for each wavelength band in the Radiation tab. (The default value in
each band is 1.) Alternatively, you can specify a user-defined function (UDF) for internal
emissivity. See Section 2.3.14: DEFINE PROPERTY UDFs of the separate UDF Manual for
details.
Figure 13.3.22: The Wall Panel Showing Internal Emissivity Thermal Con-
ditions for an Opaque Wall
13-92
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
You can also specify the external emissivity and external radiation temperature for a
semi-transparent wall when the thermal conditions are set to Radiation or Mixed in the
Wall panel (Figure 13.3.23). Alternatively, you can specify a UDF for these parameters.
Figure 13.3.23: The Wall Panel Showing External Emissivity and External
Radiation Temperature Thermal Conditions
c Fluent Inc. September 29, 2006 13-93
Modeling Heat Transfer
Semi-Transparent Walls
To define radiation for an exterior semi-transparent wall choose the Radiation tab in the
Wall panel and then select semi-transparent in the BC Type drop-down list(Figure 13.3.24).
The panel will expand to display the semi-transparent wall inputs needed to define an
external irradiation flux.
1. Specify the value of the irradiation flux (in W/m2 ) under Irradiation. If the non-gray
DO model is being used, a constant Irradiation can be specified for each band.
2. Apply Irradiation Parallel to Beam is the default means of specifying the scale of
irradiation flux. When active, FLUENT assumes the value of Irradiation that you
specify is the irradiation flux parallel to the Beam Direction. When deselected,
FLUENT instead assumes the valued specified is the flux parallel to the face normals
and will calculate the resulting beam parallel flux for every face. See Figure 13.3.12
in Section 13.3.6: Semi-Transparent Exterior Walls for details.
3. Define the Beam Width by specifying the beam Theta and Phi extents. Beam width
is specified as the solid angle over which the irradiation is distributed. The default
value for beam width is 1e− 6 which is suitable for collimated beam radiation. A
beam width less than this is likely to result in zero irradiation flux.
13-94
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
4. Specify the (X,Y,Z) vector that defines the Beam Direction. Beam direction is
defined by the vector of the centroid of the solid angle. Only the specular component
of the irradiation flux will be applied with the specified beam direction; the diffuse
irradiation flux will be applied diffusely and hemispherically to the surface.
i If Heat Flux conditions are specified in the Thermal section of the Wall
panel, the specified heat flux is considered to be only the conduction and
convection portion of the boundary flux. The given irradiation specifies
the incoming exterior radiative flux; the radiative flux transmitted from
the domain interior to the outside is computed as a part of the calculation
by FLUENT. Internal emissivity is ignored for semi-transparent surfaces.
You can also specify the external emissivity and external radiation temperature for a
semi-transparent wall when the thermal conditions are set to Radiation or Mixed in the
Wall panel (Figure 13.3.23). Alternatively, you can specify a user-defined function (UDF)
for these parameters. See Section 2.3.14: DEFINE PROPERTY UDFs of the separate UDF
Manual for details.
For a detailed description of boundary condition treatment at semi-transparent walls, see
Section 13.3.6: Boundary Condition Treatment at Semi-Transparent Walls.
c Fluent Inc. September 29, 2006 13-95
Modeling Heat Transfer
To define radiation for an interior (two-sided) semi-transparent wall, in the Wall panel
choose the Radiation tab and then select semi-transparent in the BC Type drop-down list
(Figure 13.3.25).
i Note that the internal emissivity thermal condition is ignored for semi-
transparent surfaces.
13-96
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
i In general, you should not turn off the Participates In Radiation option for
any fluid zones.
See Section 13.3.6: Solid Semi-Transparent Media for more information on solid semi-
transparent media.
c Fluent Inc. September 29, 2006 13-97
Modeling Heat Transfer
i If radiation is the only model being solved in FLUENT, and all other equa-
tions are switched off, then the Flow Iterations Per Radiation Iteration solu-
tion parameter that is available for certain radiation models, is automati-
cally reset to 1.
13-98
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
The under-relaxation factor for the P-1 model is set with those for other variables, as
described in Section 25.9.2: Setting Under-Relaxation Factors. Note that since the equa-
tion for the radiation temperature (Equation 13.3-5) is a relatively stable scalar transport
equation, in most cases you can safely use large values of under-relaxation (0.9–1.0).
For optimal convergence with the P-1 model, the optical thickness (a + σs )L must be
between 0.01 and 10 (preferably not larger than 5). Smaller optical thicknesses are typical
for very small enclosures (characteristic size of the order of 1 cm), but for such problems
you can safely increase the absorption coefficient to a value for which (a + σs )L = 0.01.
Increasing the absorption coefficient will not change the physics of the problem because
the difference in the level of transparency of a medium with optical thickness = 0.01 and
one with optical thickness < 0.01 is indistinguishable within the accuracy level of the
computation.
You can control the maximum number of sweeps of the radiation calculation during each
global iteration by changing the Number of DTRM Sweeps. The default setting of 1 sweep
implies that the radiant intensity will be updated just once. If you increase this number,
the radiant intensity at the surfaces will be updated multiple times, until the tolerance
criterion is met or the number of radiation sweeps is exceeded.
The Tolerance parameter (0.001 by default) determines when the radiation intensity up-
date is converged. It is defined as the maximum normalized change in the surface intensity
from one DTRM sweep to the next (see Equation 13.3-91).
c Fluent Inc. September 29, 2006 13-99
Modeling Heat Transfer
You can also control the frequency with which the radiation field is updated as the
continuous phase solution proceeds. The Flow Iterations Per Radiation Iteration parameter
is set to 10 by default. This implies that the radiation calculation is performed once every
10 iterations of the solution process. Increasing the number can speed the calculation
process, but may slow overall convergence.
DO Solution Parameters
For the discrete ordinates model, as for the DTRM, you can control the frequency with
which the surface intensity is updated as the continuous phase solution proceeds. See
the description of Flow Iterations Per Radiation Iteration for the DTRM, above.
For most problems, the default under-relaxation of 1.0 for the DO equations is ade-
quate. For problems with large optical thicknesses (aL > 10), you may experience slow
convergence or solution oscillation. For such cases, under-relaxing the energy and DO
equations is useful. Under-relaxation factors between 0.9 and 1.0 are recommended for
both equations.
13-100
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
The residual for radiation as calculated by the P-1 model is updated after each iteration
and reported with the residuals for all other variables. FLUENT reports the normalized
P-1 radiation residual as defined in Section 25.18.1: Monitoring Residuals for the other
transport equations.
After each DO iteration, the DO model reports a composite normalized residual for all
the DO transport equations. The definition of the residuals is similar to that for the
other transport equations (see Section 25.18.1: Monitoring Residuals).
FLUENT does not include a DTRM residual in its usual residual report that is issued
after each iteration. The effect of radiation on the solution can be gathered, instead, via
its impact on the energy field and the energy residual. However, each time a DTRM
iteration is performed, FLUENT will print out the normalized radiation error for each
DTRM sweep. The normalized radiation error is defined as
X
(Inew − Iold )
all radiating surfaces
E= (13.3-91)
N (σT 4 /π)
where the error E is the maximum change in the intensity (I) at the current sweep,
normalized by the maximum surface emissive power, and N is the total number of
radiating surfaces. Note that the default radiation convergence criterion, as noted in
Section 13.3.16: DTRM Solution Parameters, defines the radiation calculation to be con-
verged when E decreases to 10−3 or less.
c Fluent Inc. September 29, 2006 13-101
Modeling Heat Transfer
FLUENT does not include an S2S residual in its usual residual report that is issued after
each iteration. The effect of radiation on the solution can be gathered, instead, via its
impact on the energy field and the energy residual. However, each time an S2S iteration
is performed, FLUENT will print out the normalized radiation error for each S2S sweep.
The normalized radiation error is defined as
X
(Jnew − Jold )
all radiating surface clusters
E= (13.3-92)
N σT 4
where the error E is the maximum change in the radiosity (J) at the current sweep,
normalized by the maximum surface emissive power, and N is the total number of ra-
diating surface clusters. Note that the default radiation convergence criterion, as noted
in Section 13.3.16: DTRM Solution Parameters, defines the radiation calculation to be
converged when E decreases to 10−3 or less.
Sometimes, you may wish to set up your FLUENT model with the radiation model active
and then disable the radiation calculation during the initial calculation phase. For the P-
1 and DO models, you can turn off the radiation calculation temporarily by deselecting
P1 or Discrete Ordinates in the Equations list in the Solution Controls panel. For the
DTRM and the S2S model, there is no item in the Equations list. You can instead set a
very large number for Flow Iterations Per Radiation Iteration in the expanded portion of
the Radiation Model panel.
If you turn off the radiation calculation, FLUENT will skip the update of the radiation
field during subsequent iterations, but will leave in place the influence of the current
radiation field on energy sources due to absorption, wall heat fluxes, etc. Turning the
radiation calculation off in this way can thus be used to initiate your modeling work
with the radiation model inactive and/or to focus the computational effort on the other
equations if the radiation model is relatively well converged.
13-102
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
See Chapter 30: Field Function Definitions for definitions of these postprocessing vari-
ables. Note that in addition, incident radiation, transmitted, reflected and absorbed
radiation flux are also available on a per-band basis for the non-gray DO model.
i The sign convention on the radiative heat flux: heat flux from the wall
surface is a positive quantity.
c Fluent Inc. September 29, 2006 13-103
Modeling Heat Transfer
13-104
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
Displaying Clusters
To view clusters, select Cluster under Display Type and then select either Surface or Volume
under Cluster Type.
To display all of the surface or volume clusters, select the Display All Clusters option under
Cluster Selection and click the Display button.
To display only the cluster (surface or volume) nearest to a specified point, deselect the
Display All Clusters option and specify the coordinates under Nearest Point. You may also
use the mouse to choose the nearest point. Click on the Select Point With Mouse button
and then right-click on a point in the graphics window.
Displaying Rays
To display the rays emanating from the surface cluster nearest to the specified point,
select Ray under Display Type. Set the appropriate values for Theta and Phi Divisions
under Ray Parameters (see Section 13.3.11: Setting Up the DTRM Model for details),
and then click on the Display button. Figure 13.3.29 shows a ray plot for a simple 2D
geometry.
DTRM Rays
c Fluent Inc. September 29, 2006 13-105
Modeling Heat Transfer
For some problems, especially complex 3D geometries, you may want to include portions
of the grid in your ray or cluster display as spatial reference points. For example, you may
want to show the location of an inlet and an outlet along with displaying the rays. This
is accomplished by turning on the Draw Grid option in the DTRM Graphics panel. The
Grid Display panel will appear automatically when you turn on the Draw Grid option, and
you can set the grid display parameters there. When you click on Display in the DTRM
Graphics panel, the grid display, as defined in the Grid Display panel, will be included in
the ray or cluster display.
13-106
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
1. Specify the values in which you are interested by selecting View Factors and/or
Incident Radiation.
2. Choose the zones for which you would like data by selecting them in the lists under
From and To (at least one zone must be selected under each list). To select all of
the zones of a particular type, click on that category in the list under Boundary
Types.
3. Specify how you would like the data to be presented. To report the values in the
console window, click the Compute button. To write the data as an S2S Info File
(.sif format), click the Write... button and enter a file name in the Select File
dialog box.
S2S Information
From wall1 to:
Viewfactor Incident Radiation
wall1 0.0000 0.0000
wall2 0.2929 171387.7813
wall3 0.2929 155305.7969
wall4 0.4142 29055.9023
Note that the header listed above (S2S Information) is not displayed in the console
window.
c Fluent Inc. September 29, 2006 13-107
Modeling Heat Transfer
Introduction
Typical applications that are well-suited for solar load simulations include the following:
The effects of solar loading are needed in many ACC applications, where the temper-
ature, humidity, and velocity fields around passengers (and drivers) are desired. ACC
systems are tested for their capacity to cool down passenger compartments after they
have been “soaked” in intense solar radiation. FLUENT’s solar load model will enable
you to simulate solar loading effects and predict the time it will take to reasonably cool
down the cabin of a car that has been exposed to solar radiation, as well as predict the
time interval needed to lower the temperature in specified points and areas within the
domain.
In the analysis of buildings, solar loading provides a significant burden on the cooling
requirement in warm climates, particularly where architects want to use the aesthetics
of glazed facades. Even in cooler climates, solar loading can provide a burden during
warmer seasons where modern buildings are well insulated against thermal loss during
winter months. As well as providing an engineer with a practical tool for determining
the solar heating effect inside a building, FLUENT’s solar load model will allow the
solar transmission through all glazed surfaces to be determined over the course of a day,
allowing important decisions to be made before undertaking any flow studies.
13-108
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
i The solar ray tracing model includes only boundary zones that are adjacent
to fluid zones in the ray tracing calculation. In other words, boundary zones
that are attached to solid zones are ignored.
The resulting heat flux that is computed by the solar ray tracing algorithm is coupled to
the FLUENT calculation via a source term in the energy equation. The heat sources are
added directly to computational cells bordering each face and are assigned to adjacent
cells in the following order: shell conduction cells, solid cells, and fluid cells. Heat sources
are assigned to one of these types of adjacent cells, only. You can choose to override this
order and include adjacent fluid cells in the solar load calculation by issuing a command
in the text user interface (see Section 13.3.18: Text Interface-Only Commands for details).
Note that the sun position vector and solar intensity can be entered either directly by
you or computed from the solar calculator. Direct and diffuse irradiation parameters
can also be specified using a user-defined function (UDF) and hooked to FLUENT in the
Radiation Model panel.
The solar ray tracing option allows you to include the effects of direct solar illumination
as well as diffuse solar radiation in your FLUENT model. A two-band spectral model
is used for direct solar illumination and accounts for separate material properties in
the visible and infrared bands. A single-band hemispherical-averaged spectral model
is used for diffuse radiation. Opaque materials are characterized in terms of two-band
absorptivities. A semi-transparent material requires specification of absorptivity and
transmissivity. Values that you specify for transmissivity and absorptivity are defined
for normal incident rays. FLUENT recomputes/interpolates these values for the given
angle of incidence.
The solar ray tracing algorithm also accounts for internal scattered and diffusive loading.
The reflected component of direct solar irradiation is tracked. A fraction of this radiative
heat flux, called internally scattered energy is applied to all the surfaces participating
in the solar load calculation, weighted by area. The internally scattered energy depends
on the scattering fraction which is specified in the TUI, and whose default value is
1. Depending on the reflectivity of the primary surface, the scattering fraction can be
responsible for the inclusion (or exclusion) of a large amount of radiation within the rest
of the domain.
c Fluent Inc. September 29, 2006 13-109
Modeling Heat Transfer
Also included as internally scattered energy is the contribution of the transmitted com-
ponent of diffuse solar irradiation (which enters a domain through semi-transparent walls
depending upon the hemispherical transmissivity). The total value of internally scattered
energy is reported to the FLUENT console. The ambient flux is obtained by dividing the
internally scattered energy by the total surface area of the faces participating in the solar
load calculation.
Note that Solar Ray Tracing is not a participating radiation model. It does not deal
with emission from surfaces, and the reflecting component of the primary incident load
is distributed uniformly across all surfaces rather than being local to the surfaces re-
flected to. If surface emission is an important factor in your case then you can consider
implementing a radiation model (e.g., P1) in conjunction with Solar Ray Tracing.
Shading Algorithm
The shading calculation that is used for solar ray tracing is a straightforward application
of vector geometry. A ray is traced from the centroid of a test face in the direction of
the sun. Every other face is checked to determine if the ray intersects the candidate face
and if the candidate face is in front of the test face. If both conditions are met, then
an opaque face completely shades the test face. A semi-transparent face attenuates the
incident energy.
A Barycentric coordinate formulation is used to construct triangle-ray intersections. A
quadrilateral ray intersection method is used to handle the case when model surfaces
contain quadrilaterals. A quad-tree preprocessing step is applied to reduce the ray tracing
algorithm complexity that can lead to long runtime for 104 faces and greater. The quad-
tree refinement factor can be modified in the text interface. The default value of this
parameter is 7 which is sufficient to cover the entire spectrum of mesh sizes between one
cell and five million cells. If the mesh is greater than five million cells, an increase in this
parameter would reduce the CPU time needed to compute the solar loads.
Glazing Materials
Incident solar radiation can be applied to glass and plastic glazing materials of various
types at wall boundaries, and the effects of coated glazings modeled using the solar
ray tracing algorithm. To model solar optical properties, you will need to specify the
transmissivity and reflectivity of the material in the Wall boundary conditions panel. You
can obtain these values from the glass (or plastic) manufacturer or use data from another
source (e.g., ASHRAE Handbook).
Glazing optical properties are dependent on incident angle, and the variation is significant
for an incident angle greater than 40 degrees. As the incident angle increases from zero,
transmissivity decreases, reflectivity increases, and absorptivity increases initially due to
lengthened optical path, and then decreases as more incident radiation is reflected. The
shape of the property curve varies with glass type and thickness. This difference is more
13-110
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
pronounced for coated glass or for a multiple-pane glazing system. It cannot be assumed
that all glazing systems have a universal angular dependence.
For coated glazings, the spectral transmissivity and reflectivity at any incident angle are
approximated in the solar load model from the normal angle of incidence (Finlayson and
Arasteh, 1993).
Transmissivity is given by
where
Reflectivity is given by
where
The constants used in Equations 13.3-93 and 13.3-95 are for coated glazings and are
taken from Finlayson, E.U., Arasteh, D.K., Huizenga, C., Rubin, M.D., Reilly, M.S. 1993.
WINDOW 4.0: Documentation of Calculation Procedures. Publication LBL-33493/TA-
309. Lawrence Berkeley Laboratory, Energy and Environmental Division, Berkeley, CA.
URL: http://btech.lpl.gov/papers/33493.pdf. T (0, λ) and R(0, λ) are specified in the
Wall boundary conditions panel.
Inputs
The following inputs are required for the solar ray tracing algorithm:
• spectral fraction
c Fluent Inc. September 29, 2006 13-111
Modeling Heat Transfer
• scattering fraction
• ground reflectivity
You can enter the sun direction vector components (X, Y, Z) and the direct and diffuse
solar irradiation values as constants in the Radiation Model panel, or you can have these
parameters derived from the solar calculator. Irradiation can also be specified using a
user-defined function (Section 13.3.18: User-Defined Functions (UDFs) for Solar Load.)
The scattering fraction and quad tree refinement factor defaults are used by the solar
ray tracing algorithm. Ground reflectivity is the overall reflectivity of the ground and is
used to calculate the component of diffuse radiation that will result from radiation being
reflected off the ground. You can modify the default values using text commands issued
at the console window (see Section 13.3.18: Text Interface-Only Commands).
The absorptivity and transmissivity parameters are entered in the Wall boundary condi-
tion panel for the particular wall zones you wish to participate in solar ray tracing.
DO Irradiation
The solar load model’s discrete ordinates (DO) irradiation option provides you with an
easy means of applying a solar load directly to the DO model. Unlike the ray tracing
solar load option, the DO irradiation method does not compute heat fluxes and apply
them as heat sources to the energy equation. Instead, the irradiation flux is applied
directly to semi-transparent walls (that you specify) as a boundary condition, and the
radiative heat transfer is derived from the solution of the DO radiative transfer equation.
The following inputs are required for DO irradiation at semi-transparent walls:
• beam direction
• beam width
• diffuse fraction
In the Wall boundary condition panel for each semi-transparent wall you want to par-
ticipate in DO irradiation, you can specify that the beam direction and total irradiation
be derived from the solar parameters (e.g., solar calculator) that you set (or compute)
in the Radiation Model panel. This is done by checking the Use Beam Direction from
13-112
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
Solar Parameters and Use Total Irradiation from Solar Parameters boxes. When selected,
FLUENT sets the beam width (the angle subtended by the sun) to the default value of
0.53 degrees for DO irradiation.
i Note that the sign of the beam direction that is needed for the DO model is
opposite the sun direction vector that is entered or derived from the solar
parameters. The beam direction in the DO model is the direction of exter-
nal radiation (e.g., radiation coming from the sun), while the sun direction
vector in the solar load model points to the sun. Incident radiation and
sun angle always have an opposite sign since they are quantities that are
defined from opposite perspectives.
Solar Calculator
FLUENT provides a solar calculator that can be used to compute solar beam direction
and irradiation for a given time, date, and position. These values can be used as inputs
to the solar ray tracing algorithm or as semi-transparent wall boundary conditions for
discrete ordinates (DO) irradiation.
Inputs/Outputs
• grid orientation
• sunshine factor
Global position consists of latitude, longitude, and time zone (relative to GMT). The
time of day for a transient simulation is the starting time plus the flow-time. For grid
orientation, you will need to specify the North and East direction vector in the CFD
grid. The default solar irradiation method is Fair Weather Conditions. Alternatively,
you can choose the Theoretical Maximum method. The sunshine factor is simply a
linear reduction factor for the computed incident load that allows for cloud cover to be
accounted for, if appropriate.
You can specify these inputs in the Solar Calculator panel that is accessible from the
Radiation Model panel (Figure 13.3.34). Alternatively, you can enter the parameters
using text interface commands (Section 13.3.18: Additional Text Interface Commands).
c Fluent Inc. September 29, 2006 13-113
Modeling Heat Transfer
The following values are computed by the solar calculator and are displayed on the console
window whenever the solar calculator is invoked:
Direct normal solar irradiation is computed using the ASHRAE Fair Weather Condi-
tions method, when this option is selected in the solar calculator. (Note: Equation 20
and Table 7 from Chapter 30 of the 2001 ASHRAE Handbook of Fundamentals.) The
theoretical maximum values for direct normal solar irradiation and diffuse solar irradi-
ation are computed using NREL’s Theoretical Maximum method, when this option is
selected. In practice, these values are unlikely to be experienced due to atmospheric
conditions.
FLUENT computes the diffuse solar irradiation components (vertical and horizontal) in-
ternally for each face in the domain. When the Theoretical Maximum method is chosen,
these diffuse irradiation values provide estimates for the maximum vertical and horizontal
surface effects.
Theory
FLUENT provides two options for computing the solar load: Fair Weather Conditions
method and Theoretical Maximum method. Although these methods are similar, there
is a key difference. The Fair Weather Conditions method imposes greater attenuation
on the solar load which is representative of atmospheric conditions that are fair –but not
completely clear.
The equation for normal direct irradiation applying the Fair Weather Conditions Method
is taken from the ASHRAE Handbook:
A
Edn = B (13.3-97)
e sin(β)
where A and B are apparent solar irradiation at air mass m = 0 and atmospheric
extinction coefficient, respectively. These values are based on the earth’s surface on a
clear day. β is the solar altitude (in degrees) above the horizontal.
13-114
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
The equation for direct normal irradiation that is used for the Theoretical Maximum
Method is taken from NREL’s Solar Position and Intensity Code (Solpos):
where Setrn is the top of the atmosphere direct normal solar irradiance and Sunprime is
the correction factor used to account for reduction in solar load through the atmosphere.
The calculation for the diffuse load in the solar model is based on the approach suggested
in the 2001 ASHRAE Fundamental Handbook (Chapter 20, Fenestration). The equation
for diffuse solar irradiation on a vertical surface is given by:
Ed = CY Edn (13.3-99)
where C is a constant whose values are given in Table 7 from Chapter 30 of the 2001
ASHRAE Handbook of Fundamentals, Y is the ratio of sky diffuse radiation on a vertical
surface to that on a horizontal surface, and Edn is the direct normal irradiation at the
earth’s surface on a clear day.
The equation for diffuse solar irradiation for surfaces other than vertical surfaces is given
by:
(1 + cos )
Ed = CEdn (13.3-100)
2
where is the tilt angle of the surface (in degrees) from the horizontal plane.
The equation for ground reflected solar irradiation on a surface is given by:
(1 − cos )
Er = Edn(C + sin β)ρg (13.3-101)
2
where ρg is the ground reflectivity. The total diffuse irradiation on a given surface will be
the sum of Ed and Er when the input for diffuse solar radiation is taken from the solar
calculator. Otherwise, if the constant option is selected in the Radiation panel, then the
total diffuse irradiation will be the same as specified in the panel.
c Fluent Inc. September 29, 2006 13-115
Modeling Heat Transfer
i Note that you can compute the solar load at any time once you have
setup the model by using the sol-on-demand text interface command (see
Section 13.3.18: Additional Text Interface Commands for details).
When you want to run a transient solar load simulation on a serial solver, the process is
the same as for the steady-state case but you will need to specify the additional Time Steps
per Solar Load Update parameter in the Radiation Model panel. FLUENT will re-compute
the sun position and irradiation and update solar loads with this specified frequency.
Steady-State Simulation
The general process for a steady-state solar load simulation in parallel is outlined below:
1. Start a serial solver in FLUENT and read (or setup) your case file.
2. Setup the solar load model (Section 13.3.18: Setting Up the Solar Load Model).
3. Setup the boundary conditions (Section 13.3.18: Setting Boundary Conditions for
Solar Loading)
13-116
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
6. Start the parallel solver and read the case and data files.
Transient Simulation
The general process for a transient solar load simulation in parallel is outlined below.
1. Start a serial solver in FLUENT and read (or setup) your case file.
2. Setup the solar load model which includes specifying the Time Steps per Solar Load
Update in the Radiation Model panel (Section 13.3.18: Setting Up the Solar Load
Model).
3. Setup the boundary conditions (Section 13.3.18: Setting Boundary Conditions for
Solar Loading).
4. Enable the autosave file capability in the text interface that will write separate
solar data file(s) at specified time intervals to be used by the parallel solver. (See
autosave-solar-data in Section 13.3.18: Text Interface-Only Commands).
i Make sure that the frequency you specify for autosaving solar load data is
the same as for updating. If you choose to make these frequencies different,
then the autosave time step should be a multiple of the solar load update
time step.
5. Disable all transport equations in the Solution Controls panel.
c Fluent Inc. September 29, 2006 13-117
Modeling Heat Transfer
9. Run the simulation. As the solver iterates, FLUENT will write separate data files
for the time step frequency that you specified in the autosave command, and will
report it to the console window. The data files will be saved in your working
directory and will be identified by the time step number that is appended to the
file name. For example, solar data002.dat will contain the solar data for the
second time step.
12. Enable the autoread file capability in the text interface that will direct the solver to
automatically read the ’autosaved’ solar data file(s) that were generated during the
serial session. (See autoread-solar-data in Section 13.3.18: Text Interface-Only
Commands).
i Make sure that the frequency you specify for autoreading solar load data
is the same that you specified for autosaving and updating solar data. If
you choose to make these frequencies different, then the autosave time step
should be a multiple of the update time step, and the autoread time step
should be a multiple of autosave.
13. Make sure that the equations you want to solve for in your parallel simulation are
set in the Solution Controls panel.
i Note that the solar flux data that will be available at the end of the solution
process is for the last time step that was read using the autoread frequency.
13-118
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
The solar load model is enabled in the Radiation Model panel (Figure 13.3.31).
Define −→ Models −→Radiation...
Figure 13.3.31: The Radiation Model Panel (With Solar Load Model Solar
Ray Tracing Option)
The solar load model has two options: Solar Ray Tracing and DO Irradiation. Solar Ray
Tracing can be applied as a standalone solar loading model, or it can be used in con-
junction with one of the FLUENT radiation models (P1, Rosseland, Discrete Transfer,
Surface-to-Surface, Discrete Ordinates). DO Irradiation is available only when the Discrete
Ordinates (DO) radiation model is enabled.
c Fluent Inc. September 29, 2006 13-119
Modeling Heat Transfer
(b) To enable the DO irradiation option, first select Discrete Ordinates under
Model, and then select DO Irradiation under Solar Load (Figure 13.3.33).
13-120
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
Figure 13.3.33: The Radiation Model Panel (With Solar Load Model DO Ir-
radiation Option)
c Fluent Inc. September 29, 2006 13-121
Modeling Heat Transfer
13-122
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
3. Use the solar calculator to compute solar beam direction and irradiation.
(a) Click Solar Calculator... in the Radiation Model panel to open the Solar Calcu-
lator panel (Figure 13.3.34).
(b) In the Solar Calculator panel, define the Global Position by the following pa-
rameters:
i. Enter a real number in degrees for Longitude. Values may range from
−180 to 180 where negative values indicate the Western hemisphere and
positive values indicate the Eastern hemisphere.
ii. Enter a real number for Latitude in degrees. Values can range from −90◦
(the South Pole) to 90◦ (the North Pole), with 0◦ defined as the equator.
iii. Enter an integer for Timezone that is the local time zone in hours relative
to Greenwich Mean Time (+-GMT). This value can range from +12 to
−12.
i Note that you must specify all three Global Position parameters for
the solar calculator.
c Fluent Inc. September 29, 2006 13-123
Modeling Heat Transfer
(c) Define the local Date and Time by the following parameters:
i. Enter an integer for Day and Month under Day of Year.
ii. Enter an integer for Hour that ranges from 0 to 24 under Time of Day.
Enter an integer or floating point number for Minute.
The time of day is based on a 24-hour clock: 0 hours and 0 minutes
corresponds to 12:00 a.m. and 23 hours 59.99 min corresponds to 11:59.99
p.m. For example, if the local time was 12:01:30 a.m., you would enter 0
for Hour and 1.5 for Minute. If the local time was 4:17 p.m., you would
enter 16 for Hour and 17 for Minute.
(d) Define the Grid Orientation as the vectors for North and East in the CFD grid
system of coordinates.
(e) Select the appropriate Solar Irradiation Method. The Fair Weather Conditions
is the default method.
(f) Enter an integer for Sunshine Fraction (default = 1).
(g) Click Apply.
The solar calculator output parameters are computed and the results are re-
ported in the console window. The default values are shown below:
Fair Weather Conditions:
Sun Direction Vector: X: -0.0785396, Y: 0.170758, X: 0.982178
Sunshine Fraction: 1
Direct Normal Solar Irradiation (at Earth’s surface) [W/m^2]:
881.635
Diffuse Solar Irradiation - vertical surface: [W/m^2]:
152.107
Diffuse Solar Irradiation - horizontal surface: [W/m^2]:
118.727
Ground Reflected Solar Irradiation - vertical surface: [W/m^2]:
96.4649
4. For transient simulations, enter the Time Steps Per Solar Load Update under Update
Parameters. The number of time steps that you specify will direct the FLUENT
solver to update the solar load data for the specified flow-time intervals in the
unsteady solution process.
13-124
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
c Fluent Inc. September 29, 2006 13-125
Modeling Heat Transfer
2. Set the boundary condition for each wall boundary zone that you want to include
in solar loading.
(a) Open a Wall boundary condition panel and click the Radiation tab.
(b) Define the wall as opaque or semi-transparent. An opaque wall will not allow
any solar radiation to pass through it, while a semi-transparent surface will
allow a portion of the solar radiation to pass through it.)
i. For an opaque wall, select opaque from the drop-down list for BC Type
(Figure 13.3.36). Then enable the Participates in Solar Ray Tracing option
and enter constant values for Direct Visible and Direct IR absorptivity.
13-126
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
i FLUENT will calculate the reflectivity as the difference between one and
the sum of absorptivity and transmissivity:
c Fluent Inc. September 29, 2006 13-127
Modeling Heat Transfer
DO irradiation
1. For DO Irradiation, all boundary conditions are setup as normal for the DO model,
except that now you can select semi-transparent boundary surfaces which will pro-
vide a source of solar irradiation.
(a) Open a Wall boundary condition panel and click the Radiation tab (Fig-
ure 13.3.38).
i Note that the sign of the beam direction that is needed for the DO model is
opposite the sun direction vector that is entered or derived from the solar
parameters. The beam direction in the DO model is the direction of exter-
nal radiation (e.g., radiation coming from the sun), while the sun direction
vector in the solar load model points to the sun. Incident radiation and
sun angle always have an opposite sign since they are quantities that are
defined from opposite perspectives.
13-128
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
(d) Enable the Use Total Irradiation from Solar Parameters option to have the solar
calculator output be applied for total irradiation. Note that total irradiation is
the sum of the direct and diffuse irradiation values. When Use Total Irradiation
from Solar Parameters is enabled, the beam width will automatically be set to
0.53 degrees - the angle subtended by the sun.
(e) Click OK.
It is possible to direct FLUENT to automatically save solar load data to a generic file
that you can examine or use in an external program. This is done by executing the text
command autosave-solar-data from the text interface.
define −→ models −→ radiation −→ solar-parameters −→autosave-solar-data
The text interface command for autosave-solar-data for a file named solar and a
frequency of 1 is shown below:
/define/models/radiation/solar-parameters> autosave-solar-data
Autosave Solar Data File Frequency [0] 1
Enter Filename [""] "solar"
When you are executing a transient simulation in parallel FLUENT and you want to take
solar loading conditions into consideration, you can use autoread-solar-data text com-
mand to automatically read the solar load data file you generated during a serial run into
parallel FLUENT. This is done by executing the text command autoread-solar-data
from the text interface.
define −→ models −→ radiation −→ solar-parameters −→autoread-solar-data
c Fluent Inc. September 29, 2006 13-129
Modeling Heat Transfer
The text interface command for autosave-read-data for a file named solar and a
frequency of 1 is shown below:
/define/models/radiation/solar-parameters> autosave-solar-data
Autosave Solar Data File Frequency [0] 1
Enter Filename [""] "solar"
Use Binary Format for Reading Data Files [yes]
When the solar load model is enabled, you can direct FLUENT to align the camera
direction with the sun position using the text interface command:
define −→ models −→ radiation −→ solar-parameters −→sol-camera-pos
This command is useful when you are executing a transient simulation and you want
to capture an image of your model with solar load parameters displayed (such as solar
heat flux) as the sun position changes with time in order to create an animation. See
Section 13.3.18: Postprocessing Solar Load Quantities for details.
You can modify the default scattering fraction (1) using the text interface command:
define −→ models −→ radiation −→ solar-parameters −→scattering-fraction
The scattering fraction is the amount of direct radiation that has been reflected from
opaque surfaces (after entering through the transparent surfaces) that will be considered
to remain within the space and be evenly distributed among all surfaces. The value is
between 0 and 1.
The text interface command for specifying a scattering-fraction of 0.5 is shown below:
/define/models/radiation/solar-parameters> scattering-fraction
Scattering Fraction [1] .5
13-130
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
You can direct FLUENT to apply the solar load that is computed from the solar ray
tracing algorithm to adjacent fluid cells by issuing the following command at the text
interface:
define −→ models −→ radiation −→ solar-parameters −→
sol-adjacent-fluidcells
The text interface command is shown below:
/define/models/radiation/solar-parameters> sol-adjacent-fluidcells
Apply Solar Load on adjacent Fluid Cells? [no] y
This command allows you to apply solar loads to adjacent fluid cells only, even if solid
or shell conduction zones are present. By applying the solar load on adjacent fluid cells,
you are overruling the default order of the adjacent cell assignment in FLUENT which is
shell, solid, fluid.
You can modify the default value (7) for the maximum quad tree refinement factor in
the solar ray tracing algorithm using the text command:
define −→ models −→ radiation −→ solar-parameters −→quad-tree-parameters
The text interface command is shown below, when a new maximum refinement value of
10 is specified:
/define/models/radiation/solar-parameters> quad-tree-parameters
Maximum Quad-Tree Refinement [7] 10
You can modify the default value (0.2) for the ground reflectivity using the text command:
define −→ models −→ radiation −→ solar-parameters −→ground-reflectivity
Ground reflectivity includes the contribution of reflected solar radiation from ground
surfaces. It is treated as part of the total diffuse solar irradiation when the solar calculator
is used in conjunction with the Diffuse Solar Irradiation illumination parameter.
The default value is 0.2.
/define/models/radiation/solar-parameters> ground-reflectivity
Ground Reflectivity [0.2] 0.5
c Fluent Inc. September 29, 2006 13-131
Modeling Heat Transfer
Some solar load commands that are available in the graphical user interface are also made
available in the text interface. For example, you can turn the solar load model on using
the text command:
define −→ models −→ radiation −→solar?
You can also enter the solar calculator parameters in the text interface by executing the
command:
define −→ models −→ radiation −→solar-calculator
Once invoked, you will be prompted to enter the solar calculator input parameters.
To set the illumination parameters, select this option from the solar-parameters menu:
define −→ models −→ radiation −→ solar-parameters −→
illumination-parameters
And finally, you can direct FLUENT to compute the solar load on demand, by issuing
the text command:
define −→ models −→ radiation −→ solar-parameters −→sol-on-demand
When the command is initiated, the solar data are written to the console window (see
Section 13.3.18: Using Solar Load in the Parallel Solver for a sample).
• solar heat flux (i.e., sum of visible and IR absorbed solar flux on opaque walls)
13-132
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
These quantities are available for postprocessing of solar loading at wall boundaries and
can be displayed as contours of Wall Fluxes in the Contours panel. For steady-state
simulations, the solar flux data is computed at solution initialization and is available for
postprocessing. You can also compute the solar load at any time during your FLUENT
session, once you have setup the model and applied boundary conditions. To compute the
solar load on demand, you can issue the sol-on-demand command in the text interface
(see Section 13.3.18: Additional Text Interface Commands for details).
Solar heat flux, for example, can be displayed for surfaces using the Contours panel. A
sample panel is shown below (Figure 13.3.39).
Display −→Contours...
c Fluent Inc. September 29, 2006 13-133
Modeling Heat Transfer
The solar camera alignment command is useful when you want to take timed pictures of
solar loading effects of your model during transient simulations, and later create anima-
tions of the image files using an external program. Follow the procedure below.
The following commands entered in the Execute Commands panel will direct FLUENT to
display contours of solar heat flux, align the camera with the current direction of the
sun, and then generate a hardcopy image file (.tiff) of the solar heat flux contour every
300 time steps during the unsteady simulation. See Figure 13.3.40.
/di/cont solar-heat-flux ,,
/def/mod/rad/solar-para/sol-camera-pos
/di/hc "flux-%t.tiff"
13-134
c Fluent Inc. September 29, 2006
13.3 Modeling Radiation
FLUENT provides some additional solar load variables that you can use for postprocess-
ing when your model includes solar ray tracing. You can generate graphical plots or
alphanumeric reports of the following variables:
In the Wall Fluxes... category:
c Fluent Inc. September 29, 2006 13-135
Modeling Heat Transfer
13-136
c Fluent Inc. September 29, 2006
13.4 Modeling Periodic Heat Transfer
• The thermal boundary conditions must be of the specified heat flux or constant
wall temperature type. Furthermore, in a given problem, these thermal boundary
types cannot be combined: all boundaries must be either constant temperature
or specified heat flux. (You can, however, include constant-temperature walls and
zero-heat-flux walls in the same problem.) For the constant-temperature case, all
walls must be at the same temperature (profiles are not allowed) or zero heat flux.
For the heat flux case, profiles and/or different values of heat flux may be specified
at different walls.
• When constant-temperature wall boundaries are used, you cannot include viscous
heating effects or any volumetric heat sources.
• In cases that involve solid regions, the regions cannot straddle the periodic plane.
• The thermodynamic and transport properties of the fluid (heat capacity, thermal
conductivity, viscosity, and density) cannot be functions of temperature. (You
cannot, therefore, model reacting flows.) Transport properties may, however, vary
spatially in a periodic manner, and this allows you to model periodic turbulent
flows in which the effective turbulent transport properties (effective conductivity,
effective viscosity) vary with the (periodic) turbulence field.
Sections 13.4.2 and 13.4.3 provide more detailed descriptions of the input requirements
for periodic heat transfer.
13.4.2 Theory
Streamwise-periodic flow with heat transfer from constant-temperature walls is one of
two classes of periodic heat transfer that can be modeled by FLUENT. A periodic fully-
developed temperature field can also be obtained when heat flux conditions are specified.
In such cases, the temperature change between periodic boundaries becomes constant
and can be related to the net heat addition from the boundaries as described in this
section.
i Periodic heat transfer can be modeled only if you are using the pressure-
based solver.
c Fluent Inc. September 29, 2006 13-137
Modeling Heat Transfer
T (~r) − Twall
θ= (13.4-1)
Tbulk,inlet − Twall
R
~
T |ρ~v · dA|
Tbulk,inlet = RA (13.4-2)
~
|ρ~v · dA|
A
where the integral is taken over the inlet periodic boundary (A). It is the scaled temper-
ature, θ, which obeys a periodic condition across the domain of length L.
~ − T (~r)
T (~r + L) ~ − T (~r + L)
T (~r + 2L) ~
= = σ. (13.4-3)
L L
~ is the periodic length vector of the domain. This temperature gradient, σ, can
where L
be written in terms of the total heat addition within the domain, Q, as
Q Tbulk,exit − Tbulk,inlet
σ= = (13.4-4)
ṁcp L L
13-138
c Fluent Inc. September 29, 2006
13.4 Modeling Periodic Heat Transfer
3. Specify either the periodic pressure gradient or the net mass flow rate through the
periodic boundaries.
4. Compute the periodic flow field, solving momentum, continuity, and (optionally)
turbulence equations.
5. Specify the thermal boundary conditions at walls as either heat flux or constant
temperature.
7. Solve the energy equation (only) to predict the periodic temperature field.
2. Define the thermal boundary conditions according to one of the following proce-
dures:
Define −→Boundary Conditions...
• If you are modeling periodic heat transfer with specified-temperature bound-
ary conditions, set the wall temperature Twall for all wall boundaries in their
respective Wall panels. Note that all wall boundaries must be assigned the
same temperature and that the entire domain (except the periodic boundaries)
must be “enclosed” by this fixed-temperature condition, or by symmetry or
adiabatic (q=0) boundaries.
c Fluent Inc. September 29, 2006 13-139
Modeling Heat Transfer
4. Set constant material properties (density, heat capacity, viscosity, thermal conduc-
tivity), not temperature-dependent properties, using the Materials panel.
Define −→Materials...
7. Iterate the solution and monitor the convergence as described in Section 13.4.5: Mon-
itoring Convergence.
13-140
c Fluent Inc. September 29, 2006
13.4 Modeling Periodic Heat Transfer
1. Disable solution of the energy equation under Equations in the Solution Controls
panel.
Solve −→ Controls −→Solution...
i When you initialize the flow field before beginning the calculation, use the
mean value between the inlet bulk temperature and the wall temperature
for the initialization of the temperature field.
3. Return to the Solution Controls panel and turn off solution of the flow equations
and turn on the energy solution.
4. Solve the energy equation to convergence to obtain the periodic temperature field
of interest.
While you can solve your periodic flow and heat transfer problems by considering both
the flow and heat transfer simultaneously, you will find that the procedure outlined above
is more efficient.
Twall − Tbulk,inlet
θ= (13.4-5)
Twall − Tbulk,exit
during the calculation using the Statistic Monitors panel to ensure that you reach a con-
verged solution. Select per/bulk-temp-ratio as the variable to be monitored. See Sec-
tion 25.18.2: Monitoring Statistics for details about using this feature.
c Fluent Inc. September 29, 2006 13-141
Modeling Heat Transfer
4.00e+02
3.87e+02
3.74e+02
3.61e+02
3.48e+02
3.35e+02
3.22e+02
3.09e+02
2.96e+02
2.83e+02
2.70e+02
13-142
c Fluent Inc. September 29, 2006
Chapter 14. Modeling Species Transport and Finite-Rate
Chemistry
FLUENT can model the mixing and transport of chemical species by solving conserva-
tion equations describing convection, diffusion, and reaction sources for each component
species. Multiple simultaneous chemical reactions can be modeled, with reactions occur-
ring in the bulk phase (volumetric reactions) and/or on wall or particle surfaces, and in
the porous region. Species transport modeling capabilities, both with and without reac-
tions, and the inputs you provide when using the model are described in this chapter.
Note that you may also want to consider modeling your turbulent reacting flame using
the mixture fraction approach (for non-premixed systems, described in Chapter 15: Mod-
eling Non-Premixed Combustion), the reaction progress variable approach (for premixed
systems, described in Chapter 16: Modeling Premixed Combustion), the partially pre-
mixed approach (described in Chapter 17: Modeling Partially Premixed Combustion), or
the composition PDF Transport approach (described in Chapter 18: Modeling a Compo-
sition PDF Transport Problem). Modeling multiphase species transport and finite-rate
chemistry can be found in Chapter 23: Modeling Multiphase Flows.
Information is divided into the following sections:
c Fluent Inc. September 29, 2006 14-1
Modeling Species Transport and Finite-Rate Chemistry
• Section 14.1.2: Overview of User Inputs for Modeling Species Transport and Reactions
• Section 14.1.3: Enabling Species Transport and Reactions and Choosing the Mix-
ture Material
• Section 14.1.4: Defining Properties for the Mixture and Its Constituent Species
• Section 14.1.7: Solution Procedures for Chemical Mixing and Finite-Rate Chemistry
14-2
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
14.1.1 Theory
Species Transport Equations
When you choose to solve conservation equations for chemical species, FLUENT predicts
the local mass fraction of each species, Yi , through the solution of a convection-diffusion
equation for the ith species. This conservation equation takes the following general form:
∂
(ρYi ) + ∇ · (ρ~v Yi ) = −∇ · J~i + Ri + Si (14.1-1)
∂t
where Ri is the net rate of production of species i by chemical reaction (described later
in this section) and Si is the rate of creation by addition from the dispersed phase plus
any user-defined sources. An equation of this form will be solved for N − 1 species where
N is the total number of fluid phase chemical species present in the system. Since the
mass fraction of the species must sum to unity, the N th mass fraction is determined as
one minus the sum of the N − 1 solved mass fractions. To minimize numerical error,
the N th species should be selected as that species with the overall largest mass fraction,
such as N2 when the oxidizer is air.
In Equation 14.1-1, J~i is the diffusion flux of species i, which arises due to concentration
gradients. By default, FLUENT uses the dilute approximation, under which the diffusion
flux can be written as
In turbulent flows, FLUENT computes the mass diffusion in the following form:
µt
J~i = − ρDi,m + ∇Yi (14.1-3)
Sct
µt
where Sct is the turbulent Schmidt number ( ρD t
where µt is the turbulent viscosity
and Dt is the turbulent diffusivity). The default Sct is 0.7. Note that turbulent diffusion
generally overwhelms laminar diffusion, and the specification of detailed laminar diffusion
properties in turbulent flows is generally not warranted.
c Fluent Inc. September 29, 2006 14-3
Modeling Species Transport and Finite-Rate Chemistry
For many multicomponent mixing flows, the transport of enthalpy due to species diffusion
n
" #
hi J~i
X
∇·
i=1
can have a significant effect on the enthalpy field and should not be neglected. In par-
ticular, when the Lewis number
k
Lei = (14.1-4)
ρcp Di,m
for any species is far from unity, neglecting this term can lead to significant errors. FLU-
ENT will include this term by default. In Equation 14.1-4, k is the thermal conductivity.
Diffusion at Inlets
For the pressure-based solver in FLUENT, the net transport of species at inlets consists
of both convection and diffusion components. (For the density-based solvers, only the
convection component is included.) The convection component is fixed by the inlet
species mass fraction specified by you. The diffusion component, however, depends on
the gradient of the computed species field at the inlet. Thus the diffusion component (and
therefore the net inlet transport) is not specified a priori. See Section 14.1.5: Defining
Boundary Conditions for Species for information about specifying the net inlet transport
of species.
• Laminar finite-rate model: The effect of turbulent fluctuations are ignored, and
reaction rates are determined by Arrhenius expressions.
14-4
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
The generalized finite-rate formulation is suitable for a wide range of applications in-
cluding laminar or turbulent reaction systems, and combustion systems with premixed,
non-premixed, or partially-premixed flames.
The laminar finite-rate model computes the chemical source terms using Arrhenius ex-
pressions, and ignores the effects of turbulent fluctuations. The model is exact for laminar
flames, but is generally inaccurate for turbulent flames due to highly non-linear Arrhenius
chemical kinetics. The laminar model may, however, be acceptable for combustion with
relatively slow chemistry and small turbulent fluctuations, such as supersonic flames.
The net source of chemical species i due to reaction is computed as the sum of the
Arrhenius reaction sources over the NR reactions that the species participate in:
NR
X
Ri = Mw,i R̂i,r (14.1-5)
r=1
where Mw,i is the molecular weight of species i and R̂i,r is the Arrhenius molar rate of
creation/destruction of species i in reaction r. Reaction may occur in the continuous
phase between continuous-phase species only, or at wall surfaces resulting in the surface
deposition or evolution of a continuous-phase species.
Consider the rth reaction written in general form as follows:
N N
kf,r X
0 00
X
νi,r Mi *
) νi,r Mi (14.1-6)
kb,r
i=1 i=1
where
N = number of chemical species in the system
0
νi,r = stoichiometric coefficient for reactant i in reaction r
00
νi,r = stoichiometric coefficient for product i in reaction r
Mi = symbol denoting species i
kf,r = forward rate constant for reaction r
kb,r = backward rate constant for reaction r
Equation 14.1-6 is valid for both reversible and non-reversible reactions. (Reactions in
FLUENT are non-reversible by default.) For non-reversible reactions, the backward rate
constant, kb,r , is simply omitted.
The summations in Equation 14.1-6 are for all chemical species in the system, but only
species that appear as reactants or products will have non-zero stoichiometric coefficients.
Hence, species that are not involved will drop out of the equation.
c Fluent Inc. September 29, 2006 14-5
Modeling Species Transport and Finite-Rate Chemistry
For a non-reversible reaction (that is, the Include Backward Reaction button is disabled),
the molar rate of creation/destruction of species i in reaction r (R̂i,r in Equation 14.1-5)
is given by
N
0 +η 00 )
(ηj,r
00 0
Y
R̂i,r = Γ νi,r − νi,r kf,r [Cj,r ] j,r
(14.1-7)
j=1
where
Cj,r = molar concentration of species j in reaction r (kgmol/m3 )
0
ηj,r = rate exponent for reactant species j in reaction r
00
ηj,r = rate exponent for product species j in reaction r
For a reversible reaction, the molar rate of creation/destruction of species i in reaction r
is given by
N N
0
ηj,r 00
νj,r
00 0
Y Y
R̂i,r = Γ νi,r − νi,r kf,r [Cj,r ] − kb,r [Cj,r ] (14.1-8)
j=1 j=1
Note that the rate exponent for the reverse reaction part in Equation 14.1-8 is always
00
the product species stoichiometric coefficient (νj,r ).
See Section 14.1.4: Inputs for Reaction Definition for information about inputting the
stoichiometric coefficients and rate exponents for both global forward (non-reversible)
reactions and elementary (reversible) reactions.
Γ represents the net effect of third bodies on the reaction rate. This term is given by
N
X
Γ= γj,r Cj (14.1-9)
j
where γj,r is the third-body efficiency of the jth species in the rth reaction. By default,
FLUENT does not include third-body effects in the reaction rate calculation. You can,
however, opt to include the effect of third-body efficiencies if you have data for them.
The forward rate constant for reaction r, kf,r , is computed using the Arrhenius expression
where
Ar = pre-exponential factor (consistent units)
βr = temperature exponent (dimensionless)
Er = activation energy for the reaction (J/kgmol)
R = universal gas constant (J/kgmol-K)
14-6
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
0 00 0 00
You (or the database) will provide values for νi,r , νi,r , ηj,r , ηj,r , βr , Ar , Er , and, optionally,
γj,r during the problem definition in FLUENT.
If the reaction is reversible, the backward rate constant for reaction r, kb,r , is computed
from the forward rate constant using the following relation:
kf,r
kb,r = (14.1-11)
Kr
where Kr is the equilibrium constant for the rth reaction, computed from
N
00 0
X
(νi,r − νi,r )
∆Sr0 ∆Hr0
!
patm
Kr = exp − i=1 (14.1-12)
R RT RT
where patm denotes atmospheric pressure (101325 Pa). The term within the exponential
function represents the change in Gibbs free energy, and its components are computed
as follows:
N
∆Sr0 X 00 0
S0
i
= νi,r − νi,r (14.1-13)
R i=1 R
N
∆Hr0 X 00 0
h0
i
= νi,r − νi,r (14.1-14)
RT i=1 RT
where Si0 and h0i are the standard-state entropy and standard-state enthalpy (heat of
formation). These values are specified in FLUENT as properties of the mixture material.
Pressure-Dependent Reactions
FLUENT can use one of three methods to represent the rate expression in pressure-
dependent (or pressure fall-off) reactions. A “fall-off” reaction is one in which the tem-
perature and pressure are such that the reaction occurs between Arrhenius high-pressure
and low-pressure limits, and thus is no longer solely dependent on temperature.
There are three methods of representing the rate expressions in this fall-off region. The
simplest one is the Lindemann [212] form. There are also two other related methods, the
Troe method [122] and the SRI method [357], that provide a more accurate description
of the fall-off region.
c Fluent Inc. September 29, 2006 14-7
Modeling Species Transport and Finite-Rate Chemistry
Arrhenius rate parameters are required for both the high- and low-pressure limits. The
rate coefficients for these two limits are then blended to produce a smooth pressure-
dependent rate expression. In Arrhenius form, the parameters for the high-pressure limit
(k) and the low-pressure limit (klow ) are as follows:
k = AT β e−E/RT (14.1-15)
klow = Alow T βlow e−Elow /RT (14.1-16)
where pr is defined as
klow [M ]
pr = (14.1-18)
k
and [M ] is the concentration of the bath gas, which can include third-body efficiencies.
If the function F in Equation 14.1-17 is unity, then this is the Lindemann form. FLUENT
provides two other forms to describe F , namely the Troe method and the SRI method.
In the Troe method, F is given by
" #2 −1
log pr + c
log F = 1 + log Fcent (14.1-19)
n − d(log pr + c)
where
and
14-8
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
" ! # X
−b −T
F = d a exp + exp Te (14.1-24)
T c
where
1
X= (14.1-25)
1 + log2 pr
In addition to the three Arrhenius parameters for the low-pressure limit (klow ) expression,
you must also supply the parameters a, b, c, d, and e in the F expression.
Most fuels are fast burning, and the overall rate of reaction is controlled by turbulent
mixing. In non-premixed flames, turbulence slowly convects/mixes fuel and oxidizer into
the reaction zones where they burn quickly. In premixed flames, the turbulence slowly
convects/mixes cold reactants and hot products into the reaction zones, where reaction
occurs rapidly. In such cases, the combustion is said to be mixing-limited, and the
complex, and often unknown, chemical kinetic rates can be safely neglected.
FLUENT provides a turbulence-chemistry interaction model, based on the work of Mag-
nussen and Hjertager [229], called the eddy-dissipation model. The net rate of production
of species i due to reaction r, Ri,r , is given by the smaller (i.e., limiting value) of the two
expressions below:
!
0 YR
Ri,r = νi,r Mw,i Aρ min 0 (14.1-26)
k R νR,r Mw,R
P
0 P YP
Ri,r = νi,r Mw,i ABρ PN 00
(14.1-27)
k j νj,r Mw,j
c Fluent Inc. September 29, 2006 14-9
Modeling Species Transport and Finite-Rate Chemistry
14-10
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
When the LES turbulence model is used, the turbulent mixing rate, /k in Equa-
tions 14.1-26 and 14.1-27, is replaced by the subgrid-scale mixing rate. This is calculated
as
q
−1
τsgs = 2Sij Sij (14.1-28)
where
−1 −1
τsgs = subgrid-scale
mixing rate (s )
Sij ∂ui
= 12 ∂x j
+ ∂u
∂xi
j
= strain rate tensor (s−1 )
1/4
ν
∗
ξ = Cξ (14.1-29)
k2
∗
where denotes fine-scale quantities and
Cξ = volume fraction constant = 2.1377
ν = kinematic viscosity
The volume fraction of the fine scales is calculated as ξ ∗ 3 . Species are assumed to react
in the fine structures over a time scale
1/2
ν
τ ∗ = Cτ (14.1-30)
where Cτ is a time scale constant equal to 0.4082.
In FLUENT, combustion at the fine scales is assumed to occur as a constant pressure reac-
tor, with initial conditions taken as the current species and temperature in the cell. Reac-
tions proceed over the time scale τ ∗ , governed by the Arrhenius rates of Equation 14.1-8,
and are integrated numerically using the ISAT algorithm [290]. ISAT can accelerate the
chemistry calculations by two to three orders of magnitude, offering substantial reduc-
tions in run-times. Details about the ISAT algorithm may be found in Sections 18.2.4
and 18.2.5. ISAT is very powerful, but requires some care. See Section 18.3.9: Using
ISAT Efficiently for details on using ISAT efficiently.
c Fluent Inc. September 29, 2006 14-11
Modeling Species Transport and Finite-Rate Chemistry
The source term in the conservation equation for the mean species i, Equation 14.1-1, is
modeled as
ρ(ξ ∗ )2 ∗
Ri = ∗ ∗ 3 (Yi − Yi ) (14.1-31)
τ [1 − (ξ ) ]
where Yi∗ is the fine-scale species mass fraction after reacting over the time τ ∗ .
The EDC model can incorporate detailed chemical mechanisms into turbulent reacting
flows. However, typical mechanisms are invariably stiff and their numerical integration
is computationally costly. Hence, the model should be used only when the assumption
of fast chemistry is invalid, such as modeling the slow CO burnout in rapidly quenched
flames, or the NO conversion in selective non-catalytic reduction (SNCR).
See Section 14.1.7: Solution of Stiff Laminar Chemistry Systems for guidelines on obtain-
ing a solution using the EDC model.
14.1.2 Overview of User Inputs for Modeling Species Transport and Reactions
The basic steps for setting up a problem involving species transport and reactions are
listed below, and the details about performing each step are presented in Sections 14.1.3–
14.1.5. Additional information about setting up and solving the problem is provided in
Sections 14.1.6–14.1.8.
1. Enable species transport and volumetric reactions, and specify the mixture mate-
rial. See Section 14.1.3: Enabling Species Transport and Reactions and Choosing
the Mixture Material. (The mixture material concept is explained below.)
2. If you are also modeling wall or particle surface reactions, turn on wall surface
and/or particle surface reactions as well. See Sections 14.2 and 14.3 for details.
3. Check and/or define the properties of the mixture. (See Section 14.1.4: Defining
Properties for the Mixture and Its Constituent Species.) Mixture properties include
the following:
• species in the mixture
• reactions
• other physical properties (e.g., viscosity, specific heat)
4. Check and/or set the properties of the individual species in the mixture. (See
Section 14.1.4: Defining Properties for the Mixture and Its Constituent Species.)
5. Set species boundary conditions. (See Section 14.1.5: Defining Boundary Condi-
tions for Species.)
14-12
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
In many cases, you will not need to modify any physical properties because the solver
gets species properties, reactions, etc. from the materials database when you choose
the mixture material. Some properties, however, may not be defined in the database.
You will be warned when you choose your material if any required properties need to
be set, and you can then assign appropriate values for these properties. You may also
want to check the database values of other properties to be sure that they are correct for
your particular application. For details about modifying an existing mixture material or
creating a new one from scratch, see Section 14.1.4: Defining Properties for the Mixture
and Its Constituent Species. Modifications to the mixture material can include the
following:
If you are solving a reacting flow, you will usually want to define the mixture’s specific
heat as a function of composition, and the specific heat of each species as a function of
temperature. You may want to do the same for other properties as well. By default,
constant properties are used, but for the properties of some species, there is a piecewise-
polynomial function of temperature that exists in the database and is available for your
use. You may also choose to specify a different temperature-dependent function if you
know of one that is more suitable for your problem.
Mixture Materials
The concept of mixture materials has been implemented in FLUENT to facilitate the
setup of species transport and reacting flow. A mixture material may be thought of as a
set of species and a list of rules governing their interaction. The mixture material carries
with it the following information:
• A list of mixing laws dictating how mixture properties (density, viscosity, specific
heat, etc.) are to be derived from the properties of individual species if composition-
dependent properties are desired
c Fluent Inc. September 29, 2006 14-13
Modeling Species Transport and Finite-Rate Chemistry
• Other material properties (e.g., absorption and scattering coefficients) that are not
associated with individual species
Both mixture materials and fluid materials are stored in the FLUENT materials database.
Many common mixture materials are included (e.g., methane-air, propane-air). Gener-
ally, one/two-step reaction mechanisms and many physical properties of the mixture and
its constituent species are defined in the database. When you indicate which mixture
material you want to use, the appropriate mixture material, fluid materials, and proper-
ties are loaded into the solver. If any necessary information about the selected material
(or the constituent fluid materials) is missing, the solver will inform you that you need to
specify it. In addition, you may choose to modify any of the predefined properties. See
Section 8.1.2: Using the Materials Panel for information about the sources of FLUENT’s
database property data.
For example, if you plan to model combustion of a methane-air mixture, you do not need
to explicitly specify the species involved in the reaction or the reaction itself. You will
simply select methane-air as the mixture material to be used, and the relevant species
(CH4 , O2 , CO2 , H2 O, and N2 ) and reaction data will be loaded into the solver from the
database. You can then check the species, reactions, and other properties and define
any properties that are missing and/or modify any properties for which you wish to
use different values or functions. You will generally want to define a composition- and
temperature-dependent specific heat, and you may want to define additional properties
as functions of temperature and/or composition.
The use of mixture materials gives you the flexibility to use one of the many predefined
mixtures, modify one of these mixtures, or create your own mixture material. Cus-
tomization of mixture materials is performed in the Materials panel, as described in
Section 14.1.4: Defining Properties for the Mixture and Its Constituent Species.
14-14
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
14.1.3 Enabling Species Transport and Reactions and Choosing the Mixture
Material
The problem setup for species transport and volumetric reactions begins in the Species
Model panel (Figure 14.1.1). For cases which involve multiphase species transport and
reactions, refer to Section 23.8: Modeling Species Transport in Multiphase Flows.
Define −→ Models −→ Species −→Transport & Reaction...
c Fluent Inc. September 29, 2006 14-15
Modeling Species Transport and Finite-Rate Chemistry
3. In the Mixture Material drop-down list under Mixture Properties, choose which mix-
ture material you want to use in your problem. The drop-down list will include
all of the mixtures that are currently defined in the database. To check the prop-
erties of a mixture material, select it and click the Edit... button. If the mixture
you want to use is not in the list, choose the mixture-template material, and see
Section 14.1.4: Defining Properties for the Mixture and Its Constituent Species for
details on setting your mixture’s properties. If there is a mixture material listed
that is similar to your desired mixture, you may choose that material and see Sec-
tion 14.1.4: Defining Properties for the Mixture and Its Constituent Species for
details on modifying properties of an existing material.
When you choose the Mixture Material, the Number of Volumetric Species in the
mixture will be displayed in the panel for your information.
i Note that if you re-open the Species Model panel after species transport
has already been enabled, only the mixture materials available in your case
will appear in the list. You can add more mixture materials to your case
by copying them from the database, as described in Section 8.1.2: Copying
Materials from the FLUENT Database, or by creating a new mixture, as
described in Sections 8.1.2 and 14.1.4.
As mentioned in Section 14.1.2: Mixture Materials, modeling parameters for the
species transport and (if relevant) reactions will automatically be loaded from the
database. If any information is missing, you will be informed of this after you
click on OK in the Species Model panel. If you want to check or modify any prop-
erties of the mixture material, you will use the Materials panel, as described in
Section 14.1.4: Defining Properties for the Mixture and Its Constituent Species.
5. If you selected EDC, you have the option to modify the Volume Fraction Constant
and the Time Scale Constant (Cξ in Equation 14.1-29 and Cτ in Equation 14.1-30),
although the default values are recommended. Further, to reduce the computational
expense of the chemistry calculations, you can increase the number of Flow Iterations
per Chemistry Update. By default, FLUENT will update the chemistry one per 10
14-16
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
flow iterations. For details about using the Integration Parameters... option, under
Reactions, see Section 18.3: Steps for Using the Composition PDF Transport Model.
7. Enabling KINetics from Reaction Design for laminar reactions, will allow you to use
the proprietary reaction-rate utilities and solution algorithms from Reaction Design,
which is based on and compatible with their CHEMKIN technology [178]. For EDC
Turbulence-Chemistry Interaction and the Composition PDF Transport model, en-
abling the KINetics from Reaction Design option will allow you to use reaction rates
from Reaction Design’s KINetics module, instead of the default FLUENT reaction
rates. FLUENT’s ISAT algorithm is employed to integrate these rates. Please refer
to the KINetics for Fluent manual [3] from Reaction Design for details on the chem-
istry formulation options. For more information, or to obtain a license to the Flu-
ent/KINetics module, please contact Reaction Design at [email protected]
or +1 858-550-1920, or go to http://www.reactiondesign.com
14.1.4 Defining Properties for the Mixture and Its Constituent Species
As discussed in Section 14.1.2: Overview of User Inputs for Modeling Species Transport
and Reactions, if you use a mixture material from the database, most mixture and species
properties will already be defined. You may follow the procedures in this section to check
the current properties, modify some of the properties, or set all properties for a brand-new
mixture material that you are defining from scratch.
Remember that you will need to define properties for the mixture material and also for its
constituent species. It is important that you define the mixture properties before setting
any properties for the constituent species, since the species property inputs may depend
on the methods you use to define the properties of the mixture. The recommended
sequence for property inputs is as follows:
1. Define the mixture species, and reaction(s), and define physical properties for the
mixture. Remember to click on the Change/Create button when you are done
setting properties for the mixture material.
2. Define physical properties for the species in the mixture. Remember to click on the
Change/Create button after defining the properties for each species.
These steps, all of which are performed in the Materials panel, are described in detail in
this section.
Define −→Materials...
c Fluent Inc. September 29, 2006 14-17
Modeling Species Transport and Finite-Rate Chemistry
14-18
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
In the Species panel, the Selected Species list shows all of the fluid-phase species in the
mixture. If you are modeling wall or particle surface reactions, the Selected Solid Species
list will show all of the bulk solid species in the mixture. Solid species are species that
are created or evolved from wall boundaries or discrete-phase particles (e.g., Si(s)) and
do not exist as fluid-phase species.
If you are modeling wall surface reactions, the Selected Site Species list will show all of the
site species in the mixture. Site species are species that are adsorbed to a wall boundary.
The use of solid and site species with wall surface reactions is described in Section 14.2: Wall
Surface Reactions and Chemical Vapor Deposition. See Section 14.3: Particle Surface
Reactions for information about particle surface reactions.
i The order of the species in the Selected Species list is very important.
FLUENT considers the last species in the list to be the bulk species. You
should therefore be careful to retain the most abundant species (by mass)
as the last species when you add species to or delete species from a mixture
material.
The Available Materials list shows materials that are available but not in the mixture.
Generally you will see air in this list, since air is always available by default.
c Fluent Inc. September 29, 2006 14-19
Modeling Species Transport and Finite-Rate Chemistry
If you are creating a mixture from scratch or starting from an existing mixture and adding
some missing species, you will first need to load the desired species from the database
(or create them, if they are not present in the database) so that they will be available to
the solver. The procedure for adding species is listed below. (You will need to close the
Species panel before you begin, since it is a “modal” panel that will not allow you to do
anything else when it is open.)
1. In the Materials panel, click on the Fluent Database... button to open the Flu-
ent Database Materials panel and copy the desired species, as described in Sec-
tion 8.1.2: Copying Materials from the FLUENT Database. Remember that the
constituent species of the mixture are fluid materials, so you should select fluid as
the Material Type in the Fluent Database Materials panel to see the correct list of
choices. Note that available solid species (for surface reactions) are also contained
in the fluid list.
i If you do not see the species you are looking for in the database, you can
create a new fluid material for that species, following the instructions in
Section 8.1.2: Creating a New Material, and then continue with step 2,
below.
2. Re-open the Species panel, as described above. You will see that the fluid materials
you copied from the database (or created) are listed in the Available Materials list.
3. To add a species to the mixture, select it in the Available Materials list and click on
the Add button below the Selected Species list (or below the Selected Site Species
or Selected Solid Species list, to define a site or solid species). The species will be
added to the end of the relevant list and removed from the Available Materials list.
4. Repeat the previous step for all the desired species. When you are finished, click
on the OK button.
i Adding a species to the list will alter the order of the species. You should
be sure that the last species in the list is the bulk species, and you should
check any boundary conditions, under-relaxation factors, or other solution
parameters that you have set, as described in detail below.
14-20
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
To remove a species from the mixture, simply select it in the Selected Species list (or the
Selected Site Species or Selected Solid Species list) and click on the Remove button below
the list. The species will be removed from the list and added to the Available Materials
list.
i Removing a species from the list will alter the order of the species. You
should be sure that the last species in the list is the bulk species, and you
should check any boundary conditions, under-relaxation factors, or other
solution parameters that you have set, as described in detail below.
Reordering Species
If you find that the last species in the Selected Species list is not the most abundant
species (as it must be), you will need to rearrange the species to obtain the proper order.
1. Remove the bulk species from the Selected Species list. It will now appear in the
Available Species list.
2. Add the species back in again. It will automatically be placed at the end of the
list.
As discussed above, you must retain the most abundant species as the last one in the
Selected Species list when you add or remove species. Additional considerations you
should be aware of when adding and deleting species are presented here.
There are three characteristics of a species that identify it to the solver: name, chem-
ical formula, and position in the list of species in the Species panel. Changing these
characteristics will have the following effects:
• You can change the Name of a species (using the Materials panel, as described in
Section 8.1.2: Renaming an Existing Material) without any consequences.
• You will change the order of the species list if you add or remove any species.
When this occurs, all boundary conditions, solver parameters, and solution data
for species will be reset to the default values. (Solution data, boundary conditions,
and solver parameters for other flow variables will not be affected.) Thus, if you
add or remove species you should take care to redefine species boundary conditions
and solution parameters for the newly defined problem. In addition, you should
recognize that patched species concentrations or concentrations stored in any data
c Fluent Inc. September 29, 2006 14-21
Modeling Species Transport and Finite-Rate Chemistry
file that was based on the original species ordering will be incompatible with the
newly defined problem. You can use the data file as a starting guess, but you should
be aware that the species concentrations in the data file may provide a poor initial
guess for the newly defined model.
Defining Reactions
If your FLUENT model involves chemical reactions, you can next define the reactions in
which the defined species participate. This will be necessary only if you are creating a
mixture material from scratch, you have modified the species, or you want to redefine
the reactions for some other reason.
Depending on which turbulence-chemistry interaction model you selected in the Species
Model panel (see Section 14.1.3: Enabling Species Transport and Reactions and Choos-
ing the Mixture Material), the appropriate reaction model will be displayed in the Re-
action drop-down list in the Materials panel. If you are using the laminar finite-rate or
EDC model, the reaction model will be finite-rate; if you are using the eddy-dissipation
model, the reaction model will be eddy-dissipation; if you are using the finite-rate/eddy-
dissipation model, the reaction model will be finite-rate/eddy-dissipation.
To define the reactions, click on the Edit... button to the right of Reaction. The Reactions
panel (Figure 14.1.4) will open.
The steps for defining reactions are as follows:
1. Set the total number of reactions (volumetric reactions, wall surface reactions, and
particle surface reactions) in the Total Number of Reactions field. (Use the arrows
to change the value, or type in the value and press RETURN.)
Note that if your model includes discrete-phase combusting particles, you should
include the particulate surface reaction(s) (e.g., char burnout, multiple char ox-
idation) in the number of reactions only if you plan to use the multiple surface
reactions model for surface combustion.
2. Specify the Reaction Name of the reaction you want to define.
3. Set the ID of the reaction you want to define. (Again, if you type in the value be
sure to press RETURN.)
4. If this is a fluid-phase reaction, keep the default selection of Volumetric as the
Reaction Type. If this is a wall surface reaction (described in Section 14.2: Wall
Surface Reactions and Chemical Vapor Deposition) or a particle surface reaction
(described in Section 14.3: Particle Surface Reactions), select Wall Surface or Particle
Surface as the Reaction Type. See Section 14.3.2: User Inputs for Particle Surface
Reactions for further information about defining particle surface reactions.
14-22
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
c Fluent Inc. September 29, 2006 14-23
Modeling Species Transport and Finite-Rate Chemistry
5. Specify how many reactants and products are involved in the reaction by increas-
ing the value of the Number of Reactants and the Number of Products. Select each
reactant or product in the Species drop-down list and then set its stoichiometric co-
efficient and rate exponent in the appropriate Stoich. Coefficient and Rate Exponent
0 00
fields. (The stoichiometric coefficient is the constant νi,r or νi,r in Equation 14.1-6
and the rate exponent is the exponent on the reactant or product concentration,
0 00
ηj,r or ηj,r in Equation 14.1-8.)
There are two general classes of reactions that can be handled by the Reactions
panel, so it is important that the parameters for each reaction are entered correctly.
The classes of reactions are as follows:
• Global forward reaction (no reverse reaction): Product species generally do
00
not affect the forward rate, so the rate exponent for all products (ηj,r ) should
0
be 0. For reactant species, set the rate exponent (ηj,r ) to the desired value. If
such a reaction is not an elementary reaction, the rate exponent will generally
0
not be equal to the stoichiometric coefficient (νi,r ) for that species. An example
of a global forward reaction is the combustion of methane:
14-24
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
0 0
where νSO 2
= 1, ηSO 2
= 1, νO0 2 = 0.5, ηO
0
2
00
= 0.5, νSO 3
00
= 1, and ηSO 3
= 1.
See step 6 below for information about how to enable reversible reactions.
i It is important to note that if you have selected the British units system,
the Arrhenius factor should still be input in SI units. This is because
FLUENT applies no conversion factor to your input of Ar (the conversion
factor is 1.0) when you work in British units, as the correct conversion
0
factor depends on your inputs for νi,r , βr , etc.
Activation Energy (the constant Er in the forward rate constant expression, Equa-
tion 14.1-10).
Temperature Exponent (the value for the constant βr in Equation 14.1-10).
Third-Body Efficiencies (the values for γj,r in Equation 14.1-9). If you have ac-
curate data for the efficiencies and want to include this effect on the reaction
rate (i.e., include Γ in Equation 14.1-8), turn on the Third Body Efficiencies
option and click on the Specify... button to open the Third-Body Efficiencies
panel (Figure 14.1.5). For each Species in the panel, specify the Third-Body
Efficiencies.
c Fluent Inc. September 29, 2006 14-25
Modeling Species Transport and Finite-Rate Chemistry
Pressure-Dependent Reaction (if relevant) If you are using the laminar finite-rate
or EDC model for turbulence-chemistry interaction, or have enabled the com-
position PDF transport model (see Chapter 18: Modeling a Composition PDF
Transport Problem), and the reaction is a pressure fall-off reaction (see Sec-
tion 14.1.1: Pressure-Dependent Reactions), turn on the Pressure-Dependent
Reaction option for the Arrhenius Rate and click on the Specify... button to
open the Pressure-Dependent Reaction panel (Figure 14.1.6).
Under Reaction Parameters, select the appropriate Reaction Type (lindemann,
troe, or sri). See Section 14.1.1: Pressure-Dependent Reactions for details
about the three methods. Next, you must specify if the Bath Gas Concentration
([M ] in Equation 14.1-18) is to be defined as the concentration of the mixture,
or as the concentration of one of the mixture’s constituent species, by selecting
the appropriate item in the drop-down list.
The parameters you specified under Arrhenius Rate in the Reactions panel
represent the high-pressure Arrhenius parameters. You can, however, specify
values for the following parameters under Low Pressure Arrhenius Rate:
ln(Pre-Exponential Factor) (Alow in Equation 14.1-16) The pre-exponential
factor Alow is often an extremely large number, so you will input the
natural logarithm of this term.
Activation Energy (Elow in Equation 14.1-16)
Temperature Exponent (βlow in Equation 14.1-16)
If you selected troe for the Reaction Type, you can specify values for Alpha, T1,
T2, and T3 (α, T1 , T2 , and T3 in Equation 14.1-23) under Troe parameters. If
you selected sri for the Reaction Type, you can specify values for a, b, c, d, and
e (a, b, c, d, and e in Equation 14.1-24) under SRI parameters.
14-26
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
7. If you are using the laminar finite-rate or EDC model for turbulence-chemistry
interaction, and the reaction is reversible, turn on the Include Backward Reaction
option for the Arrhenius Rate. When this option is enabled, you will not be able
to edit the Rate Exponent for the product species, which instead will be set to be
equivalent to the corresponding product Stoich. Coefficient. If you do not wish to
use FLUENT’s default values, or if you are defining your own reaction, you will also
need to specify the standard-state enthalpy and standard-state entropy, to be used
in the calculation of the backward reaction rate constant (Equation 14.1-11). Note
that the reversible reaction option is not available for either the eddy-dissipation
or the finite-rate/eddy-dissipation turbulence-chemistry interaction model.
c Fluent Inc. September 29, 2006 14-27
Modeling Species Transport and Finite-Rate Chemistry
9. Repeat steps 2–8 for each reaction you need to define. When you are finished
defining all reactions, click OK.
Quite often, combustion systems will include fuel that is not easily described as a pure
species (such as CH4 or C2 H6 ). Complex hydrocarbons, including fuel oil or even wood
chips, may be difficult to define in terms of such pure species. However, if you have
available the heating value and the ultimate analysis (elemental composition) of the
fuel, you can define an equivalent fuel species and an equivalent heat of formation for
this fuel. Consider, for example, a fuel known to contain 50% C, 6% H, and 44% O by
weight. Dividing by atomic weights, you can arrive at a “fuel” species with the molecular
formula C4.17 H6 O2.75 . You can start from a similar, existing species or create a species
from scratch, and assign it a molecular weight of 100.04 (4.17 × 12 + 6 × 1 + 2.75 ×
16). The chemical reaction would be considered to be
You will need to set the appropriate stoichiometric coefficients for this reaction.
The heat of formation (or standard-state enthalpy) for the fuel species can be calculated
from the known heating value ∆H since
N
00 0
h0i νi,r
X
∆H = − νi,r (14.1-32)
i=1
where h0i is the standard-state enthalpy on a molar basis. Note the sign convention in
Equation 14.1-32: ∆H is negative when the reaction is exothermic.
14-28
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
To define a reaction mechanism, click on the Edit... button to the right of Mechanism.
The Reaction Mechanisms panel (Figure 14.1.7) will open.
1. Set the total number of mechanisms in the Number of Mechanisms field. (Use the
arrows to change the value, or type the value and press RETURN.)
2. Set the Mechanism ID of the mechanism you want to define. (Again, if you type in
the value, be sure to press RETURN.)
3. Specify the Name of the mechanism.
4. Select the type of reaction to add to the mechanism under Reaction Type. If you
select Volumetric, the Reactions list will display all available fluid-phase reactions. If
c Fluent Inc. September 29, 2006 14-29
Modeling Species Transport and Finite-Rate Chemistry
you select Wall Surface or Particle Surface, the Reactions list will display all available
wall surface reactions (described in Section 14.2: Wall Surface Reactions and Chem-
ical Vapor Deposition) or particle surface reactions (described in Section 14.3: Par-
ticle Surface Reactions). If you select All, the Reactions list will display all available
reactions. (This option is meant for backward compatibility with FLUENT 6.0 or
earlier cases.)
6. Repeat steps 2–5 for each reaction mechanism you need to define. When you are
finished defining all reaction mechanisms, click OK.
14-30
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
• density, which you can define using the gas law or as a volume-weighted function
of composition
• thermal conductivity and specific heat (in problems involving solution of the energy
equation), which you can define as functions of composition.
• mass diffusion coefficients and Schmidt number, which govern the mass diffusion
fluxes (Equations 14.1-2 and 14.1-3)
Detailed descriptions of these property inputs are provided in Chapter 8: Physical Properties.
i Remember to click on the Change/Create button when you are done setting
the properties of the mixture material. The properties that appear for each
of the constituent species will depend on your settings for the properties of
the mixture material. If, for example, you specify a composition-dependent
viscosity for the mixture, you will need to define viscosity for each species.
c Fluent Inc. September 29, 2006 14-31
Modeling Species Transport and Finite-Rate Chemistry
• molecular weight, which is used in the gas law and/or in the calculation of reaction
rates and mole-fraction inputs or outputs
• viscosity, if you defined the viscosity of the mixture material as a function of com-
position
• thermal conductivity and specific heat (in problems involving solution of the energy
equation), if you defined these properties of the mixture material as functions of
composition
• thermal and momentum accommodation coefficients, if you have enabled the low-
pressure boundary slip model.
Detailed descriptions of these property inputs are provided in Chapter 8: Physical Properties.
i Global reaction mechanisms with one or two steps inevitably neglect the
intermediate species. In high-temperature flames, neglecting these disso-
ciated species may cause the temperature to be overpredicted. A more
realistic temperature field can be obtained by increasing the specific heat
capacity for each species. Rose and Cooper [309] have created a set of
specific heat polynomials as a function of temperature.
The specific heat capacity for each species is calculated as
m
ak T k
X
cp (T ) = (14.1-33)
k=0
The modified cp polynomial coefficients (J/kg-K) from [309] are provided in Tables 14.1.1
and 14.1.2.
14-32
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
c Fluent Inc. September 29, 2006 14-33
Modeling Species Transport and Finite-Rate Chemistry
i Note that you will explicitly set mass fractions only for the first N − 1
species. The solver will compute the mass fraction of the last species
by subtracting the total of the specified mass fractions from 1. If you
want to explicitly specify the mass fraction of the last species, you must
reorder the species in the list (in the Materials panel), as described in
Section 14.1.4: Defining Properties for the Mixture and Its Constituent
Species.
14-34
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
c Fluent Inc. September 29, 2006 14-35
Modeling Species Transport and Finite-Rate Chemistry
3. Turn off calculation of the product species in the Solution Controls panel.
Solve −→ Controls −→Solution...
5. Enable the reaction calculations by turning on Volumetric again in the Species Model
panel.
6. Turn on all equations. If you are using the laminar finite-rate, finite-rate/eddy-
dissipation, EDC or PDF Transport model for turbulence-chemistry interaction,
you may need to patch an ignition source (as described below).
Density Under-Relaxation
One of the main reasons a combustion calculation can have difficulty converging is that
large changes in temperature cause large changes in density, which can, in turn, cause
instabilities in the flow solution. When you use the pressure-based solver, FLUENT allows
you to under-relax the change in density to alleviate this difficulty. The default value for
density under-relaxation is 1, but if you encounter convergence trouble you may wish to
reduce this to a value between 0.5 and 1 (in the Solution Controls panel).
14-36
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
1Zτ
Ri∗ = Ri dt (14.1-34)
τ 0
where τ is some time-step that requires careful selection. Note that as τ tends to zero
the approximation becomes exact but the stiff numerics will cause the pressure-based
solver to diverge. On the other hand, as τ tends to infinity, the approximated reaction
rate Ri∗ tends to zero and, while the numerical stiffness is alleviated, there is no reaction.
In FLUENT, the default value for τ is set to one-tenth of the minimum convective or
diffusive time-scale in the cell. This value was found to be sufficiently accurate and
c Fluent Inc. September 29, 2006 14-37
Modeling Species Transport and Finite-Rate Chemistry
• Temperature Positivity Rate Limit: limits new temperature changes by this factor
multiplied by the old temperature. Its default value is 0.2.
• Temperature Time Step Reduction: limits the local CFL number when the temper-
ature is changing too rapidly. Its default value is 0.25.
• Max. Chemical Time Step Ratio: limits the local CFL number when the chemical
time scales (eigenvalues of the chemical Jacobian) become too large to maintain a
well-conditioned matrix. Its default value is 0.9.
If the density-based explicit solver is used, then the stiff-chemistry solver has to be
enabled via the text command:
solve −→ set −→stiff-chemistry
You will be prompted to specify the following:
• Positivity Rate Limit (for temperature): limits new temperature changes by this
factor multiplied by the old temperature. Its default value is 0.2.
• Temperature time-step reduction factor: limits the local CFL number when the
temperature is changing too rapidly. Its default value is 0.25.
14-38
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
5. Disable the flow and turbulence and solve for the species and temperature only.
6. Enable all equations and iterate to convergence. Note that the default numerical
parameters for the solution of the EDC equations are set to provide maximum
robustness with slowest convergence. The convergence rate can be increased by
setting the Acceleration Factor with the text command:
define/models/species/set-turb-chem-interaction
The Acceleration Factor can be set from 0 (slow but stable) to 1 (fast but
unstable).
c Fluent Inc. September 29, 2006 14-39
Modeling Species Transport and Finite-Rate Chemistry
• Relative Humidity
• Rate of Reaction-n
These variables are contained in the Species..., Temperature..., and Reactions... categories
of the variable selection drop-down list that appears in postprocessing panels. See Chap-
ter 30: Field Function Definitions for a complete list of flow variables, field functions,
and their definitions. Chapters 28 and 29 explain how to generate graphics displays and
reports of data.
14-40
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
Figure 14.1.9: The CHEMKIN Mechanism Import Panel for Volumetric Kinet-
ics
c Fluent Inc. September 29, 2006 14-41
Modeling Species Transport and Finite-Rate Chemistry
2. Enter the path to the CHEMKIN file (e.g., path/file.che) under Gas Phase CHEMKIN
Mechanism File.
3. Specify the location of the Gas Phase Thermodynamic Data File (thermo.db). The
format for thermo.db is detailed in the CHEMKIN manual [178]. The default
thermo.db file in CHEMKIN is available only for gas phase species.
i Note that the CHEMKIN import facility does not provide full compatibility
with all CHEMKIN rate formulations and that to access more complete
functionality, you should consider the KINetics module option described
in Section 14.1.3: Enabling Species Transport and Reactions and Choosing
the Mixture Material
For information on importing a surface kinetic mechanism in CHEMKIN format, see
Section 14.2.6: Importing a Surface Kinetic Mechanism in CHEMKIN Format.
14-42
c Fluent Inc. September 29, 2006
14.1 Volumetric Reactions
c Fluent Inc. September 29, 2006 14-43
Modeling Species Transport and Finite-Rate Chemistry
14.2.2 Theory
Consider the rth wall surface reaction written in general form as follows:
Ng Nb Ns Ng Nb Ns
0 Kr
b0i,r Bi s0i,r Si * 00
b00i,r Bi s00i,r Si
X X X X X X
gi,r Gi + + ) gi,r Gi + + (14.2-1)
i=1 i=1 i=1 i=1 i=1 i=1
where Gi , Bi , and Si represent the gas phase species, the bulk (or solid) species, and the
surface-adsorbed (or site) species, respectively. Ng , Nb , and Ns are the total numbers of
0
these species. gi,r , b0i,r , and s0i,r are the stoichiometric coefficients for each reactant species
14-44
c Fluent Inc. September 29, 2006
14.2 Wall Surface Reactions and Chemical Vapor Deposition
00
i, and gi,r , b00i,r , and s00i,r are the stoichiometric coefficients for each product species i. Kr
is the overall reaction rate constant.
The summations in Equation 14.2-1 are for all chemical species in the system, but only
species involved as reactants or products will have non-zero stoichiometric coefficients.
Hence, species that are not involved will drop out of the equation.
The rate of the rth reaction is
Ng
Y g0
i,r s0i,r
Rr = kf,r [Gi ]wall [Si ]wall (14.2-2)
i=1
where [ ]wall represents molar concentrations on the wall. It is assumed that the reaction
rate does not depend on concentrations of the bulk (solid) species. From this, the net
molar rate of production or consumption of each species i is given by
N rxn
00 0
X
R̂i,gas = (gi,r − gi,r )Rr i = 1, 2, 3, . . . , Ng (14.2-3)
r=1
N rxn
The forward rate constant for reaction r (kf,r ) is computed using the Arrhenius expres-
sion. For example,
c Fluent Inc. September 29, 2006 14-45
Modeling Species Transport and Finite-Rate Chemistry
∂Yi,wall
ρwall Di − ṁdep Yi,wall = Mw,i R̂i,gas i = 1, 2, 3, . . . , Ng (14.2-7)
∂n
∂ [Si ]wall
= R̂i,site i = 1, 2, 3, . . . , Ns (14.2-8)
∂t
ρwall Yi,wall
[Gi ]wall = (14.2-9)
Mw,i
ṁdep is the net rate of mass deposition or etching as a result of surface reaction; i.e.,
Nb
X
ṁdep = Mw,i R̂i,bulk (14.2-10)
i=1
[Si ]wall is the site species concentration at the wall, and is defined as
where ρsite is the site density and zi is the site coverage of species i.
Using Equations 14.2-7 and 14.2-8, expressions can be derived for the mass fraction of
species i at the wall and for the net rate of creation of species i per unit area. These
expressions are used in FLUENT to compute gas phase species concentrations, and if
applicable, site coverages, at reacting surfaces using a point-by-point coupled stiff solver.
14-46
c Fluent Inc. September 29, 2006
14.2 Wall Surface Reactions and Chemical Vapor Deposition
c Fluent Inc. September 29, 2006 14-47
Modeling Species Transport and Finite-Rate Chemistry
In the slip regime, the gas-phase velocity at a solid surface differs from the velocity
at which the wall moves, and the gas temperature at the surface differs from the wall
temperature. Maxwell’s models are adopted for these physical phenomena in FLUENT
for their simplicity and effectiveness.
• velocity slip
2 − αv ∂U 2 − αv λ
Uw − Ug = Kn ≈ (Ug − Uc ) (14.2-12)
αv ∂n αv δ
Here, U and V represents the velocity component that is parallel and normal to
the wall, respectively. The subscripts g, w and c indicate gas, wall and cell-center
velocities. δ is the distance from cell center to the wall. αv is the momentum
accommodation coefficient of the gas mixture and its value is calculated as mass-
fraction weighted average of each gas species in the system.
Ng
X
αv = Yi αi (14.2-14)
i=1
kB T
λ = √ (14.2-15)
2πσ 2 p
Ng
X
σ = Yi σi (14.2-16)
i=1
2 − αv
k≡λ (14.2-18)
αv
14-48
c Fluent Inc. September 29, 2006
14.2 Wall Surface Reactions and Chemical Vapor Deposition
• temperature jump
2 − αT ∂T 2 − αT λ
Tw − Tg = 2 Kn ≈2 (Tg − Tc ) (14.2-19)
αT ∂n αT δ
or equivalently
Tw + βTc
Tg = (14.2-20)
1+β
where
2(2 − αT )
β= (14.2-21)
αT δ
αT is the thermal accommodation coefficient of the gas mixture and is calculated
P
as αT = Yi αT,i .
c Fluent Inc. September 29, 2006 14-49
Modeling Species Transport and Finite-Rate Chemistry
(d) (optional) If you are using the pressure-based solver and you do not want to
include species diffusion effects in the energy equation, turn off the Diffusion
Energy Source option. See Section 14.2.2: Wall Surface Mass Transfer Effects
in the Energy Equation for details.
(e) (optional, but recommended for CVD) If you want to model full multicompo-
nent diffusion or thermal diffusion, turn on the Full Multicomponent Diffusion
or Thermal Diffusion option. See Section 8.9.2: Full Multicomponent Diffusion
for details.
2. Check and/or define the properties of the mixture. (See Section 14.1.4: Defining
Properties for the Mixture and Its Constituent Species.)
Define −→Materials...
Mixture properties include the following:
• species in the mixture
• reactions
• other physical properties (e.g., viscosity, specific heat)
i You will find all species (including the solid/bulk and site species) in the
list of Fluent Fluid Materials. For a species such as Si, you will find both
Si(g) and Si(s) in the materials list for the fluid material type.
Note that if you were modeling the silicon deposition reactions in the example
at the beginning of Section 14.2.1: Overview of Surface Species and Wall Surface
Reactions, you would need to include both Si species (gas and solid) in the mixture.
i Note that the final gas phase species named in the Selected Species list
should be the carrier gas if your model includes species in dilute mixtures.
(This is because FLUENT will not solve the transport equation for the
final species.) Note also that any reordering, adding or deleting of species
should be handled with caution, as described in Section 14.1.4: Reordering
Species.
3. Check and/or set the properties of the individual species in the mixture. (See
Section 14.1.4: Defining Properties for the Mixture and Its Constituent Species.)
Note that if you are modeling the heat of surface reactions, you should be sure to
check (or define) the formation enthalpy for each species.
14-50
c Fluent Inc. September 29, 2006
14.2 Wall Surface Reactions and Chemical Vapor Deposition
i If you have enabled the global Low-Pressure Boundary Slip option in the
Viscous Model panel, the Shear Condition for each wall will be reset to No
Slip even though the slip model will be in effect. Note that the Low-Pressure
Boundary Slip option is available only when the Laminar model is selected
in the Viscous Model panel.
See Section 7.13.1: Inputs at Wall Boundaries for details about boundary condition
inputs for walls. See Section 7.19.6: User Inputs for Porous Media for details about
boundary condition inputs for porous media.
i For surface reactions involving porous media, you can display/report the
surface reaction rates using the Arrhenius Rate of Reaction-n in the Reac-
tions... category of the variable selection drop-down list.
c Fluent Inc. September 29, 2006 14-51
Modeling Species Transport and Finite-Rate Chemistry
Figure 14.2.1: The CHEMKIN Mechanism Import Panel for Surface Kinetics
14-52
c Fluent Inc. September 29, 2006
14.2 Wall Surface Reactions and Chemical Vapor Deposition
3. Enter the path to the Gas Phase CHEMKIN Mechanism File (e.g., path/gas-file.che)
and the Surface CHEMKIN Mechanism File (e.g., path/surface-file.che).
4. Specify the location of the Thermodynamic Data File (thermo.db). The format for
thermo.db is detailed in the CHEMKIN User’s Guide [178]. The default thermo.db
file supplied with FLUENT has only gas phase species available. You will need to
supply a surface thermo.db file for your surface species if this thermo information
is not in the mechanism file.
i Note that FLUENT will initially search for the thermodynamic data in
the Surface CHEMKIN Mechanism File. If the data does not exist in the
mechanism file, then FLUENT will search for the thermodynamic data in
the specified Thermodynamic Database File.
FLUENT will create a material with the specified name, which will contain the CHEMKIN
data for the species and reactions, and add it to the list of Fluent Mixture Materials. You
can view all of the reactions by clicking on the Edit... button to the right of Mechanism,
under Properties in the Materials panel.
Note that for surface reaction mechanisms, the surface reaction rate constant can be
expressed in terms of a sticking coefficient. FLUENT will convert this sticking coefficient
form to the Arrhenius rate expression [177].
i The CHEMKIN import facility does not provide full compatibility with
all CHEMKIN rate formulations. To access more complete functional-
ity, you should consider the KINetics module option described in Sec-
tion 14.1.3: Enabling Species Transport and Reactions and Choosing the
Mixture Material.
c Fluent Inc. September 29, 2006 14-53
Modeling Species Transport and Finite-Rate Chemistry
• Arrhenius reactions with arbitrary reaction order, third-body efficiencies and non-
integer stoichiometric coefficients.
i Note that the reaction types that FLUENT will not allow are mostly appli-
cable to plasmas.
14-54
c Fluent Inc. September 29, 2006
14.2 Wall Surface Reactions and Chemical Vapor Deposition
• Arrhenius reactions with arbitrary reaction order, third-body efficiencies and non-
integer stoichiometric coefficients.
• Ion-Enhanced reaction
c Fluent Inc. September 29, 2006 14-55
Modeling Species Transport and Finite-Rate Chemistry
• Section 14.3.3: Using the Multiple Surface Reactions Model for Discrete-Phase Par-
ticle Combustion
14.3.1 Theory
General Description
The relationships for calculating char particle burning rates are presented and discussed
in detail by Smith [342]. The particle reaction rate, R (kg/m2 -s), can be expressed as
where
D0 = bulk diffusion coefficient (m/s)
Cg = mean reacting gas species concentration in the bulk (kg/m3 )
Cs = mean reacting gas species concentration at the particle surface (kg/m3 )
Rc = chemical reaction rate coefficient (units vary)
N = apparent reaction order (dimensionless)
In Equation 14.3-1, the concentration at the particle surface, Cs , is not known, so it
should be eliminated, and the expression is recast as follows:
N
R
R = Rc Cg − (14.3-2)
D0
This equation has to be solved by an iterative procedure, with the exception of the cases
when N = 1 or N = 0. When N = 1, Equation 14.3-2 can be written as
Cg Rc D0
R= (14.3-3)
D0 + R c
14-56
c Fluent Inc. September 29, 2006
14.3 Particle Surface Reactions
Cd,b
Cd,s
Tp
Concentration
Temperature
Ck T∞
Distance
Based on the analysis above, FLUENT uses the following equation to describe the rate
of reaction r of a particle surface species j with the gas phase species n. The reaction
stoichiometry of reaction r in this case is described by
!N
Rj,r
Rj,r = Rkin,r pn − (14.3-5)
D0,r
c Fluent Inc. September 29, 2006 14-57
Modeling Species Transport and Finite-Rate Chemistry
where
Rj,r = rate of particle surface species depletion (kg/s)
Ap = particle surface area (m2 )
Yj = mass fraction of surface species j in the particle
ηr = effectiveness factor (dimensionless)
Rj,r = rate of particle surface species reaction per unit area (kg/m2 -s)
pn = bulk partial pressure of the gas phase species (Pa)
D0,r = diffusion rate coefficient for reaction r
Rkin,r = kinetic rate of reaction r (units vary)
Nr = apparent order of reaction r
The effectiveness factor, ηr , is related to the surface area, and can be used in each reaction
in the case of multiple reactions. D0,r is given by
[(Tp + T∞ )/2]0.75
D0,r = C1,r (14.3-6)
dp
The rate of the particle surface species depletion for reaction order Nr = 1 is given by
Rkin,r D0,r
Rj,r = Ap ηr Yj pn (14.3-8)
D0,r + Rkin,r
To describe the rate of reaction r of a particle surface species j in the presence of nmax
gas phase species n, it is necessary to define the diffusion-limited species for each solid
particle reaction, i.e., the species for which the concentration gradient between the bulk
and the particle surface is the largest. For the rest of the species, the surface and the
14-58
c Fluent Inc. September 29, 2006
14.3 Particle Surface Reactions
Ar T βr e−(Er /RT ) nY
max
Rkin,r = N
pN
n
r,n
(14.3-10)
(pr,d ) r,d
n=1
where
pn = bulk partial pressure of gas species n
Nr,n = reaction order in species n
When this model is enabled, the constant C1,r (Equation 14.3-6) and the effectiveness
factor ηr (Equation 14.3-4) are entered in the Reactions panel, as described in Sec-
tion 14.3.2: User Inputs for Particle Surface Reactions.
Solid-Solid Reactions
Reactions involving only particle surface reactants can be modeled, provided that the
particle surface reactants and products exist on the same particle.
particle species 1(s) + particle species 2(s) + . . . + particle species nmax (s) →
The reaction rate for this case is given by Equations 14.3-4–14.3-10, where the diffusion-
limited species is now the gaseous product of the reaction. If there are more than one
gaseous product species in the reaction, it is necessary to define the diffusion-limited
species for the particle reaction as the species for which the concentration gradient be-
tween the bulk and the particle surface is the largest.
c Fluent Inc. September 29, 2006 14-59
Modeling Species Transport and Finite-Rate Chemistry
gas species 1 + gas species 2 + . . . + gas species nmax → solid species j(s) + products
The theoretical analysis and Equations 14.3-4–14.3-10 are applied for the surface re-
action rate calculation, with the mass fraction of the surface species set to unity in
Equations 14.3-4, 14.3-8, and 14.3-9.
In FLUENT, for the particle surface species to be deposited on a particle, a finite mass
of the species must already exist in the particle. This allows for activation of the depo-
sition reaction selectively to particular injection particles. It follows that, to initiate the
solid species deposition reaction on a particle, the particle must be defined in the Set
Injection Properties panel (or Set Multiple Injection Properties panel) to contain a small
mass fraction of the solid species to be deposited. See Section 14.3.3: Using the Multiple
Surface Reactions Model for Discrete-Phase Particle Combustion for details on defining
the particle surface species mass fractions.
14-60
c Fluent Inc. September 29, 2006
14.3 Particle Surface Reactions
• In the Species Model panel, turn on the Particle Surface option under Reactions.
Define −→ Models −→ Species −→Transport & Reaction...
• When you specify the species involved in the particle surface reaction, be sure to
identify the surface species, as described in Section 14.1.4: Defining Properties for
the Mixture and Its Constituent Species.
i You will find all species (including the surface species) in the list of Fluent
Fluid Materials. If, for example, you are modeling coal gasification, you will
find solid carbon, C(s), in the materials list for the fluid material type.
• For each particle surface reaction, select Particle Surface as the Reaction Type in
the Reactions panel, and specify the following parameters (in addition to those
described in Section 14.1.4: Defining Reactions):
Diffusion-Limited Species When there is more than one gaseous reactant taking
part in the particle surface reaction, the diffusion-limited species is the species
for which the concentration gradient between the bulk and the particle surface
is the largest. See Figure 14.3.1 for an illustration of this concept. In most
cases, there is a single gas phase reactant and the diffusion-limited species
does not need to be defined.
Catalyst Species This option is available only when there are no solid species
defined in the stoichiometry of the particle surface reaction. In such a case,
you will need to specify the solid species that acts as a catalyst for the reaction.
The reaction will proceed only on the particles that contain this solid species.
See Section 14.3.3: Using the Multiple Surface Reactions Model for Discrete-
Phase Particle Combustion for details on defining the particle surface species
mass fractions.
Diffusion Rate Constant (C1,r in Equation 14.3-6)
Effectiveness Factor (ηr in Equation 14.3-4)
c Fluent Inc. September 29, 2006 14-61
Modeling Species Transport and Finite-Rate Chemistry
14.3.3 Using the Multiple Surface Reactions Model for Discrete-Phase Particle
Combustion
When you use the multiple surface reactions model, the procedure for setting up a prob-
lem involving a discrete phase is slightly different from that outlined in Section 22.11: Steps
for Using the Discrete Phase Models. The revised procedure is as follows:
2. Specify the initial conditions, as described in Section 22.12: Setting Initial Condi-
tions for the Discrete Phase.
4. Define the material properties, as described in Section 22.14: Setting Material Prop-
erties for the Discrete Phase.
6. Set the solution parameters and solve the problem, as described in Section 22.15: So-
lution Strategies for the Discrete Phase.
7. Examine the results, as described in Section 22.16: Postprocessing for the Discrete
Phase.
14-62
c Fluent Inc. September 29, 2006
14.4 Species Transport Without Reactions
1. Enable Species Transport in the Species Model panel and select the appropriate
Mixture Material.
Define −→ Models −→ Species −→Transport & Reaction...
See Section 14.1.2: Overview of User Inputs for Modeling Species Transport and
Reactions for information about the mixture material concept, and Section 14.1.3: En-
abling Species Transport and Reactions and Choosing the Mixture Material for
more details about using the Species Model panel.
3. Check and/or define the properties of the mixture and its constituent species.
Define −→Materials...
Mixture properties include the following:
• species in the mixture
• other physical properties (e.g., viscosity, specific heat)
See Section 14.1.4: Defining Properties for the Mixture and Its Constituent Species
for details.
c Fluent Inc. September 29, 2006 14-63
Modeling Species Transport and Finite-Rate Chemistry
No special solution procedures are usually required for a non-reacting species transport
calculation. Upon completion of the calculation, you can display or report the following
quantities:
• Concentration of species-n
• Relative Humidity
These variables are contained in the Species... and Properties... categories of the variable
selection drop-down list that appears in postprocessing panels. See Chapter 30: Field
Function Definitions for a complete list of flow variables, field functions, and their def-
initions. Chapters 28 and 29 explain how to generate graphics displays and reports of
data.
14-64
c Fluent Inc. September 29, 2006
Chapter 15. Modeling Non-Premixed Combustion
In non-premixed combustion, fuel and oxidizer enter the reaction zone in distinct streams.
This is in contrast to premixed systems, in which reactants are mixed at the molecular
level before burning. Examples of non-premixed combustion include pulverized coal
furnaces, diesel internal-combustion engines and pool fires.
Under certain assumptions, the thermochemistry can be reduced to a single parameter:
the mixture fraction. The mixture fraction, denoted by f , is the mass fraction that
originated from the fuel stream. In other words, it is the local mass fraction of burnt
and unburnt fuel stream elements (C, H, etc.) in all the species (CO2 , H2 O, O2 , etc.).
The approach is elegant because atomic elements are conserved in chemical reactions.
In turn, the mixture fraction is a conserved scalar quantity, and therefore its governing
transport equation does not have a source term. Combustion is simplified to a mixing
problem, and the difficulties associated with closing non-linear mean reaction rates are
avoided. Once mixed, the chemistry can be modeled as being in chemical equilibrium
with the Equilibrium model, being near chemical equilibrium with the Steady Laminar
Flamelet model, or significantly departing from chemical equilibrium with the Unsteady
Laminar Flamelet model.
The non-premixed combustion model is presented in the following sections:
• Section 15.8: Setting Up the Steady and Unsteady Laminar Flamelet Models
c Fluent Inc. September 29, 2006 15-1
Modeling Non-Premixed Combustion
15.1 Introduction
Non-premixed modeling involves the solution of transport equations for one or two con-
served scalars (the mixture fractions). Equations for individual species are not solved.
Instead, species concentrations are derived from the predicted mixture fraction fields. The
thermochemistry calculations are preprocessed and then tabulated for look-up in FLU-
ENT. Interaction of turbulence and chemistry is accounted for with an assumed-shape
Probability Density Function (PDF).
15-2
c Fluent Inc. September 29, 2006
15.2 Non-Premixed Combustion and Mixture Fraction Theory
Zi − Zi,ox
f= (15.2-1)
Zi,fuel − Zi,ox
where Zi is the elemental mass fraction for element, i. The subscript ox denotes the
value at the oxidizer stream inlet and the subscript fuel denotes the value at the fuel
stream inlet. If the diffusion coefficients for all species are equal, then Equation 15.2-1
is identical for all elements, and the mixture fraction definition is unique. The mixture
fraction is thus the elemental mass fraction that originated from the fuel stream.
If a secondary stream (another fuel or oxidant, or a non-reacting stream) is included,
the fuel and secondary mixture fractions are simply the elemental mass fractions of the
fuel and secondary streams, respectively. The sum of all three mixture fractions in the
system (fuel, secondary stream, and oxidizer) is always equal to 1:
This indicates that only points on the plane ABC (shown in Figure 15.2.1) in the mixture
fraction space are valid. Consequently, the two mixture fractions, ffuel and fsec , cannot
vary independently; their values are valid only if they are both within the triangle OBC
shown in Figure 15.2.1.
FLUENT discretizes the triangle OBC as shown in Figure 15.2.2. Essentially, the primary
mixture fraction, ffuel , is allowed to vary between zero and one, as for the single mix-
ture fraction case, while the secondary mixture fraction lies on lines with the following
equation:
where psec is the normalized secondary mixture fraction and is the value at the intersection
of a line with the secondary mixture fraction axis. Note that unlike fsec , psec is bounded
between zero and one, regardless of the ffuel value.
c Fluent Inc. September 29, 2006 15-3
Modeling Non-Premixed Combustion
fox
A fsec
1
1
C
O
B
0 1
ffuel
Figure 15.2.1: Relationship of ffuel , fsec , and fox
1 C
p
sec
f sec
O B
0
f fuel 1
15-4
c Fluent Inc. September 29, 2006
15.2 Non-Premixed Combustion and Mixture Fraction Theory
An important characteristic of the normalized secondary mixture fraction, psec , is its as-
sumed statistical independence from the fuel mixture fraction, ffuel . Note that unlike fsec ,
psec is not a conserved scalar. The normalized mixture fraction definition for the second
scalar variable is used everywhere except when defining the rich limit for a secondary
fuel stream, which is defined in terms of fsec .
∂ µt
(ρf ) + ∇ · (ρ~v f ) = ∇ · ∇f + Sm + Suser (15.2-4)
∂t σt
The source term Sm is due solely to transfer of mass into the gas phase from liquid fuel
droplets or reacting particles (e.g., coal). Suser is any user-defined source term.
In addition to solving for the Favre mean mixture fraction, FLUENT solves a conservation
equation for the mixture fraction variance, f 0 2 [167]:
∂ 02 µt
2
ρf + ∇ · ρ~v f 0 2 = ∇ · ∇f 0 2 + Cg µt ∇f − Cd ρ f 0 2 + Suser (15.2-5)
∂t σt k
where f 0 = f − f . The default values for the constants σt , Cg , and Cd are 0.85, 2.86, and
2.0, respectively, and Suser is any user-defined source term.
The mixture fraction variance is used in the closure model describing turbulence-chemistry
interactions (see Section 15.2.2: Modeling of Turbulence-Chemistry Interaction).
2 0
For a two-mixture-fraction problem, ffuel and ffuel are obtained from Equations 15.2-4 and
02 02
15.2-5 by substituting ffuel for f and ffuel for f . fsec is obtained from Equation 15.2-4 by
substituting fsec for f . psec is then calculated using Equation 15.2-3, and p0sec2 is obtained
c Fluent Inc. September 29, 2006 15-5
Modeling Non-Premixed Combustion
2
f 0 2 = Cvar L2s |∇f | (15.2-6)
where
Cvar = constant
Ls = subgrid length scale (see Equation 12.9-16)
The constant Cvar is computed dynamically when the Dynamic Stress option is enabled
in the Viscous panel, else a constant value (with a default of 0.5) is used.
If the Dynamic Scalar Flux option is enabled, the turbulent Sc (σt in Equation 15.2-5) is
computed dynamically.
F + r O → (1 + r) P (15.2-7)
where r is the air-to-fuel ratio on a mass basis. Denoting the equivalence ratio as φ,
where
(fuel/air)actual
φ= (15.2-8)
(fuel/air)stoichiometric
the reaction in Equation 15.2-7, under more general mixture conditions, can then be
written as
φ F + r O → (φ + r) P (15.2-9)
Looking at the left side of this equation, the mixture fraction for the system as a whole
can then be deduced to be
φ
f= (15.2-10)
φ+r
15-6
c Fluent Inc. September 29, 2006
15.2 Non-Premixed Combustion and Mixture Fraction Theory
Equation 15.2-10 allows the computation of the mixture fraction at stoichiometric con-
ditions (φ = 1) or at fuel-rich conditions (e.g., φ > 1), or fuel-lean conditions (e.g.,
φ < 1).
φi = φi (f ) (15.2-11)
If a secondary stream is included, the instantaneous values will depend on the instanta-
neous fuel mixture fraction, ffuel , and the secondary partial fraction, psec :
In Equations 15.2-11 and 15.2-12, φi represents the instantaneous species mass fraction,
density, or temperature. In the case of non-adiabatic systems, the effect of heat loss/gain
is parameterized as
φi = φi (f, H) (15.2-13)
for a single mixture fraction system, where H is the instantaneous enthalpy (see Equa-
tion 13.2-7).
If a secondary stream is included,
Examples of non-adiabatic flows include systems with radiation, heat transfer through
walls, heat transfer to/from discrete phase particles or droplets, and multiple inlets at
different temperatures. Additional detail about the mixture fraction approach in such
non-adiabatic systems is provided in Section 15.2.3: Non-Adiabatic Extensions of the
Non-Premixed Model.
In many reacting systems, the combustion is not in chemical equilibrium. FLUENT offers
several approaches to model chemical non-equilibrium, including the finite-rate (see Sec-
tion 14.1.1: The Generalized Finite-Rate Formulation for Reaction Modeling), EDC (see
c Fluent Inc. September 29, 2006 15-7
Modeling Non-Premixed Combustion
Section 14.1.1: The Eddy-Dissipation-Concept (EDC) Model), and PDF transport (see
Chapter 18: Modeling a Composition PDF Transport Problem) models, where detailed
kinetic mechanisms can be incorporated.
There are three approaches in the non-premixed combustion model to simulate chemical
non-equilibrium. The first is to use the Rich Flammability Limit (RFL) option in the
Equilibrium model, where rich regions are modeled as a mixed but unburnt mixture
of pure fuel and a leaner equilibrium burnt mixture (see Section 15.7.5: Enabling the
Rich Flammability Limit (RFL) Option). The second approach is the Steady Laminar
Flamelet model, where chemical non-equilibrium due to diffusion flame stretching by
turbulence can be modeled. The third approach is the Unsteady Laminar Flamelet
model where slow-forming product species that are far from chemical equilibrium can be
modeled. See Sections 15.3 and 15.5 for details about the Steady and Unsteady Laminar
Flamelet models in FLUENT.
1X
p(f ) ∆f = lim τi (15.2-15)
T →∞ T
i
where T is the time scale and τi is the amount of time that f spends in the ∆f band. The
shape of the function p(f ) depends on the nature of the turbulent fluctuations in f . In
practice, p(f ) is unknown and is modeled as a mathematical function that approximates
the actual PDF shapes that have been observed experimentally.
15-8
c Fluent Inc. September 29, 2006
15.2 Non-Premixed Combustion and Mixture Fraction Theory
Z 1
φi = p(f )φi (f )df (15.2-16)
0
for a single-mixture-fraction system. When a secondary stream exists, mean values are
calculated as
Z 1 Z 1
φi = p1 (ffuel )p2 (psec )φi (ffuel , psec )dffuel dpsec (15.2-17)
0 0
where p1 is the PDF of ffuel and p2 is the PDF of psec . Here, statistical independence of
ffuel and psec is assumed, so that p(ffuel , psec ) = p1 (ffuel )p2 (psec ).
c Fluent Inc. September 29, 2006 15-9
Modeling Non-Premixed Combustion
1 Z 1 p(f )
= df (15.2-18)
ρ 0 ρ(f )
when a secondary stream exists. ρ(f ) or ρ(ffuel , psec ) is the instantaneous density obtained
using the instantaneous species mass fractions and temperature in the ideal gas law
equation.
Using Equations 15.2-16 and 15.2-18 (or Equations 15.2-17 and 15.2-19), it remains only
to specify the shape of the function p(f ) (or p1 (ffuel ) and p2 (psec )) in order to determine
the local mean fluid state at all points in the flow field.
The double-delta function is the most easily computed, while the β-function most closely
represents experimentally observed PDFs. The shape produced by this function depends
solely on the mean mixture fraction, f , and its variance, f 0 2 . A detailed description of
each function follows.
q
0.5,
f = f − qf 0 2
p(f ) = 0.5, f = f + f 02 (15.2-20)
0, elsewhere
with suitable bounding near f = 1 and f = 0. One example of the double delta function
is illustrated in Figure 15.2.4. As noted above, the double delta function PDF is very easy
to compute but is invariably less accurate than the alternate β-function PDF because it
15-10
c Fluent Inc. September 29, 2006
15.2 Non-Premixed Combustion and Mixture Fraction Theory
assumes that only two states occur in the turbulent flow. For this reason, it is available
only for two-mixture-fraction simulations where the savings in computational cost is
significant.
p(f)
0.5
0
0 f f
f α−1 (1 − f )β−1
p(f ) = R (15.2-21)
f α−1 (1 − f )β−1 df
where
" #
f (1 − f )
α=f −1 (15.2-22)
f 02
and
" #
f (1 − f )
β = (1 − f ) −1 (15.2-23)
f 02
Importantly, the PDF shape p(f ) is a function of only its first two moments, namely the
mean mixture fraction, f , and the mixture fraction variance, f 0 2 . Thus, given FLUENT’s
prediction of f and f 0 2 at each point in the flow field (Equations 15.2-4 and 15.2-5), the
assumed PDF shape can be computed and used as the weighting function to determine the
mean values of species mass fractions, density, and temperature using, Equations 15.2-16
and 15.2-18 (or, for a system with a secondary stream, Equations 15.2-17 and 15.2-19).
c Fluent Inc. September 29, 2006 15-11
Modeling Non-Premixed Combustion
This logical dependence is depicted visually in Figure 15.2.5 for a single mixture fraction.
PDF Shape
p(f ) = p (f , f ’ 2 )
Chemistry Model
φ i (f )
1
φ i = ∫ p(f ) φ i (f ) df
o
Z 1
φi = φi (f, H)p(f )df (15.2-24)
0
15-12
c Fluent Inc. September 29, 2006
15.2 Non-Premixed Combustion and Mixture Fraction Theory
where Sh accounts for source terms due to radiation, heat transfer to wall boundaries,
and heat exchange with the dispersed phase.
Figure 15.2.6 depicts the logical dependence of mean scalar values (species mass fraction,
density, and temperature) on FLUENT’s prediction of f , f 0 2 , and H in non-adiabatic
single-mixture-fraction systems.
When a secondary stream is included, the mean values are calculated from
Z 1 Z 1
φi = φi (ffuel , psec , H)p1 (ffuel )p2 (psec )dffuel dpsec (15.2-26)
0 0
c Fluent Inc. September 29, 2006 15-13
Modeling Non-Premixed Combustion
As noted above, the non-adiabatic extensions to the PDF model are required in systems
involving heat transfer to walls and in systems with radiation included. In addition, the
non-adiabatic model is required in systems that include multiple fuel or oxidizer inlets
with different inlet temperatures. Finally, the non-adiabatic model is required in particle-
laden flows (e.g., liquid fuel systems or coal combustion systems) when such flows include
heat transfer to the dispersed phase. Figure 15.2.7 illustrates several systems that must
include the non-adiabatic form of the PDF model.
Q wall or Q radiation
Fuel f=1
Oxidant f=0
Oxidant
T = T1
Fuel
Oxidant
T = T2
Liquid Fuel or
Oxidant
Pulverized Coal
15-14
c Fluent Inc. September 29, 2006
15.2 Non-Premixed Combustion and Mixture Fraction Theory
Scaled
Variance
Mean
Mixture
Fraction
For systems with two mixture fractions, the storage and interpolation costs of look-up
tables are too expensive since four-dimensional tables would be necessary. Instead, the
instantaneous properties φi are tabulated as a function of the fuel mixture fraction ffuel
and the secondary partial fraction psec (see Equation 15.2-12), and the PDF integra-
tions (see Equation 15.2-14) are performed at run-time. This two-dimensional table is
illustrated in Figure 15.2.9.
c Fluent Inc. September 29, 2006 15-15
Modeling Non-Premixed Combustion
Instantaneous
Scalar
Value
Secondary
Partial
Fraction
Fuel
Mixture
Fraction
15-16
c Fluent Inc. September 29, 2006
15.2 Non-Premixed Combustion and Mixture Fraction Theory
normalized
heat loss/gain
n+1
normalized
heat loss/gainn
normalized
Scalar heat loss/gainn-1
Value
Scaled
Variance
Mean
Mixture
Fraction
c Fluent Inc. September 29, 2006 15-17
Modeling Non-Premixed Combustion
normalized
heat loss/gain
n+1
Instantaneous
Scalar
Value normalized
heat loss/gain n
normalized
heat loss/gain
n-1
Secondary
Partial
Fraction
Fuel
Mixture
Fraction
15.2.5 Restrictions and Special Cases for Using the Non-Premixed Model
Restrictions on the Mixture Fraction Approach
The unique dependence of φi (species mass fractions, density, or temperature) on f
(Equation 15.2-11 or 15.2-13) requires that the reacting system meet the following con-
ditions:
• The chemical system must be of the diffusion type with discrete fuel and oxidizer
inlets (spray combustion and pulverized fuel flames may also fall into this category).
• The Lewis number must be unity. (This implies that the diffusion coefficients for
all species and enthalpy are equal, a good approximation in turbulent flow).
15-18
c Fluent Inc. September 29, 2006
15.2 Non-Premixed Combustion and Mixture Fraction Theory
• When a single mixture fraction is used, the following conditions must be met:
– Only one type of fuel is involved. The fuel may be made up of a burnt mixture
of reacting species (e.g., 90% CH4 and 10% CO) and you may include multiple
fuel inlets. The multiple fuel inlets must have the same composition; however,
two or more fuel inlets with different fuel composition are not allowed (e.g.,
one inlet of CH4 and one inlet of CO). Similarly, in spray combustion systems
or in systems involving reacting particles, only one off-gas is permitted.
– Only one type of oxidizer is involved. The oxidizer may consist of a mixture of
species (e.g., 21% O2 and 79% N2 ) and you may have multiple oxidizer inlets.
The multiple oxidizer inlets must, however, have the same composition. Two
or more oxidizer inlets with different composition are not allowed (e.g., one
inlet of air and a second inlet of pure oxygen).
• When two mixture fractions are used, three streams can be involved in the system.
Valid systems are as follows:
– Two fuel streams with different compositions and one oxidizer stream. Each
fuel stream may be made up of a mixture of reacting species (e.g., 90% CH4
and 10% CO). You may include multiple inlets of each fuel stream, but each
fuel inlet must have one of the two defined compositions (e.g., one inlet of CH4
and one inlet of CO).
– Mixed fuel systems including gas-liquid, gas-coal, or liquid-coal fuel mixtures
with a single oxidizer. In systems with a gas-coal or liquid-coal fuel mixture,
the coal volatiles and char are treated as a single composite fuel stream.
– Coal combustion in which volatile and char off-gases are tracked separately.
– Two oxidizer streams with different compositions and one fuel stream. Each
oxidizer stream may consist of a mixture of species (e.g. 21% O2 and 79%
N2 ). You may have multiple inlets of each oxidizer stream, but each oxidizer
inlet must have one of the two defined compositions (e.g., one inlet of air and
a second inlet of pure oxygen).
– A fuel stream, an oxidizer stream, and a non-reacting secondary stream.
• The flow must be turbulent.
It is important to emphasize that these restrictions eliminate the use of the non-premixed
approach for directly modeling premixed combustion. This is because the unburned pre-
mixed stream is far from chemical equilibrium. Note, however, that an extended mixture
fraction formulation, the partially premixed model (see Chapter 17: Modeling Partially
Premixed Combustion), can be applied to non-premixed, premixed, and partially pre-
mixed flames.
Figures 15.2.12 and 15.2.13 illustrate typical reacting system configurations that can
be handled by the non-premixed model in FLUENT. Figure 15.2.14 shows a premixed
configuration that cannot be modeled using the non-premixed model.
c Fluent Inc. September 29, 2006 15-19
Modeling Non-Premixed Combustion
60% CH4
f=1
40% CO
21% O2
f=0
79% N2
f=0
60% CH 4
f=1
40% CO
35% O2
f=0
65% N 2
60% CH 4
20% CO
f=1
10% C3H8
10% CO2
21% O2
f=0
79% N2
60% CH 4
20% CO f=1
10% C3H8
10% CO2
Figure 15.2.12: Chemical Systems That Can Be Modeled Using a Single Mix-
ture Fraction
15-20
c Fluent Inc. September 29, 2006
15.2 Non-Premixed Combustion and Mixture Fraction Theory
CH 4/CO/C 3H 8
Oxidant
CH 4/C 3H 8
21% O2
Fuel
35% O2
CH
4
O
2
N
2
c Fluent Inc. September 29, 2006 15-21
Modeling Non-Premixed Combustion
or
ṁfuel
fexit = (15.2-28)
ṁfuel + ṁox
where fexit is the exit mixture fraction (and the mixture fraction at the flue gas recycle
inlet), ṁox is the mass flow rate of the oxidizer inlet, ṁfuel is the mass flow rate of the
fuel inlet, ṁrecyc is the mass flow rate of the recycle inlet.
If a secondary stream is included,
ṁfuel
ffuel,exit = (15.2-29)
ṁfuel + ṁsec + ṁox
and
ṁsec
psec,exit = (15.2-30)
ṁsec + ṁox
15-22
c Fluent Inc. September 29, 2006
15.2 Non-Premixed Combustion and Mixture Fraction Theory
.
m
R
fexit
.
m f=1
F
. fexit
m f=0
O
Figure 15.2.15: Using the Non-Premixed Model with Flue Gas Recycle
c Fluent Inc. September 29, 2006 15-23
Modeling Non-Premixed Combustion
• The mixture fraction is assumed to follow the β-function PDF, and scalar dissipa-
tion fluctuations are ignored.
15-24
c Fluent Inc. September 29, 2006
15.3 The Laminar Flamelet Models Theory
turbulent flame
laminar flamelet structure
(see detail below)
flame
fuel oxidizer
x
velocity (u fuel ) velocity (u ox )
velocity velocity
gradient (a fuel ) gradient (a ox )
fuel-oxidizer distance
c Fluent Inc. September 29, 2006 15-25
Modeling Non-Premixed Combustion
axis are mapped from physical space to mixture fraction space, they can be uniquely
described by two parameters: the mixture fraction and the strain rate (or, equivalently,
the scalar dissipation, χ, defined in Equation 15.3-2). Hence, the chemistry is reduced
and completely described by the two quantities, f and χ.
This reduction of the complex chemistry to two variables allows the flamelet calcula-
tions to be preprocessed, and stored in look-up tables. By preprocessing the chemistry,
computational costs are reduced considerably.
The balance equations, solution methods, and sample calculations of the counterflow
laminar diffusion flame can be found in several references. Comprehensive reviews and
analyses are presented in the works of Bray and Peters, and Dixon-Lewis [42, 82].
χ = 2D|∇f |2 (15.3-1)
15-26
c Fluent Inc. September 29, 2006
15.3 The Laminar Flamelet Models Theory
Cχ f 0 2
χst = (15.3-4)
k
where Cχ is a constant with a default value of 2.
For LES, the mean scalar dissipation is modeled as
(µt + µ) 2
χst = Cχ |∇f | (15.3-5)
ρσt
To avoid the PDF convolutions at FLUENT run-time, the integrations in Equation 15.3-3
are preprocessed and stored in look-up tables. For adiabatic flows, single-flamelet ta-
bles have two dimensions: f and f 0 2 . The multiple-flamelet tables have the additional
dimension χst .
For non-adiabatic steady laminar flamelets, the additional parameter of enthalpy is re-
quired. However, the computational cost of modeling steady flamelets over a range of
enthalpies is prohibitive, so some approximations are made. Heat gain/loss to the system
is assumed to have a negligible effect on the species mass fractions, and adiabatic mass
fractions are used [35, 254]. The temperature is then calculated from Equation 13.2-7
for a range of mean enthalpy gain/loss, H. Accordingly, mean temperature and density
PDF tables have an extra dimension of mean enthalpy. The approximation of constant
adiabatic species mass fractions is, however, not applied for the case corresponding to a
scalar dissipation of zero. Such a case is represented by the non-adiabatic equilibrium
solution. For χst = 0, the species mass fractions are computed as functions of f , f 0 2 , and
H.
c Fluent Inc. September 29, 2006 15-27
Modeling Non-Premixed Combustion
In FLUENT, you can either generate your own flamelets, or import them as flamelet
files calculated with other stand-alone packages. Such stand-alone codes include OP-
PDIF [224], RIF [22, 23, 285] and RUN-1DL [283]. FLUENT can import flamelet files in
OPPDIF format or standard flamelet file format.
Instructions for generating and importing flamelets are provided in Section 15.3.3: Flamelet
Generation and Section 15.3.4: Flamelet Import.
∂Yi 1 ∂ 2 Yi
ρ = ρχ 2 + Si (15.3-6)
∂t 2 ∂f
1 ∂2T
" #
∂T 1 X 1 ∂cp X ∂Yi ∂T
ρ = ρχ 2 − Hi Si + ρχ + cp,i (15.3-7)
∂t 2 ∂f cp i 2cp ∂f i ∂f ∂f
The notation in Equations 15.3-6 and 15.3-7 is as follows: Yi , T , ρ, and f are the ith
species mass fraction, temperature, density, and mixture fraction, respectively. cp,i and
cp are the ith species specific heat and mixture-averaged specific heat, respectively. Si is
the ith species reaction rate, and Hi is the specific enthalpy of the ith species.
The scalar dissipation, χ, must be modeled across the flamelet. An extension of Equa-
tion 15.3-2 to variable density is used [180]:
q 2
as 3( ρ∞ /ρ + 1)
χ(f ) = q exp −2[erfc−1 (2f )]2 (15.3-8)
4π 2 ρ∞ /ρ + 1
15-28
c Fluent Inc. September 29, 2006
15.3 The Laminar Flamelet Models Theory
Two types of flamelet files can be imported into FLUENT: binary files generated by the
OPPDIF code [224], and standard format files described in Section 15.12.3: Standard
Flamelet Files and in Peters and Rogg [283].
When flamelets are generated in physical space (such as with OPPDIF), the species and
temperature vary in one spatial dimension. The species and temperature must then be
mapped from physical space to mixture fraction space. If the diffusion coefficients of
all species are equal, a unique definition of the mixture fraction exists. However, with
differential diffusion, the mixture fraction can be defined in a number of ways.
FLUENT provides four methods of computing the mixture fraction profile along the lam-
inar flamelet:
• Average of C and H: Following the work of Drake and Blint [87], the mixture
fraction is calculated as the mean value of fC and fH , where fC and f H are the
mixture fraction values based on the carbon and hydrogen elements.
• Hydrocarbon formula: Following the work of Bilger et al. [34], the mixture fraction
is calculated as
b − box
f= (15.3-9)
bfuel − box
where
YC YH YO
b=2 + 0.5 − (15.3-10)
Mw,C Mw,H Mw,O
YC , YH , and YO are the mass fractions of carbon, hydrogen, and oxygen atoms, and
Mw,C , Mw,H , and Mw,O are the molecular weights. box and bfuel are the values of b
at the oxidizer and fuel inlets.
• Nitrogen method: The mixture fraction is computed in terms of the mass fraction
of the nitrogen species:
YN − YN,ox
f= (15.3-11)
YN,fuel − YN,ox
where YN is the elemental mass fraction of nitrogen along the flamelet, YN,ox is the
mass fraction of nitrogen at the oxidizer inlet, and YN,fuel is the mass fraction of
nitrogen at the fuel inlet.
• Read from a file (standard format files only): This option is for flamelets solved
in mixture fraction space. If you choose this method, FLUENT will search for
the mixture fraction keyword Z, as specified in Peter and Roggs’s work [283], and
retrieve the data. If FLUENT does not find mixture fraction data in the flamelet
file, it will instead use the hydrocarbon formula method described above.
c Fluent Inc. September 29, 2006 15-29
Modeling Non-Premixed Combustion
The flamelet profiles in the multiple-flamelet data set should vary only in the strain rate
imposed; the species and the boundary conditions should be the same. In addition, it is
recommended that an extinguished flamelet is excluded from the multiple-flamelet data
set. The formats for multiple flamelets are as follows:
For either type of file, FLUENT will determine the number of flamelet profiles and sort
them in ascending strain-rate order. For flamelets generated in physical space, you can
select one of the four methods available for the calculation of mixture fraction. The scalar
dissipation will be calculated from the strain rate using Equation 15.3-2.
15-30
c Fluent Inc. September 29, 2006
15.4 The Steady Laminar Flamelet Model Theory
For general information about the mixture fraction model, see Section 15.1: Introduction.
15.4.1 Overview
In a diffusion flame, at the molecular level, fuel and oxidizer diffuse into the reaction
zone. Here they encounter high temperatures and radical species, and ignite. More heat
and radicals are generated in the reaction zone, and some diffuse out. In near-equilibrium
flames, the reaction rate is much faster than the diffusion rate. However, as the flame
is stretched and strained by the turbulence, species and temperature gradients increase,
and radicals and heat diffuse more quickly out of the flame. The species have less time
to reach chemical equilibrium, and the degree of local non-equilibrium increases.
The steady laminar flamelet model is suited to predict chemical non-equilibrium due
to aerodynamic straining of the flame by the turbulence. The chemistry, however, is
assumed to respond rapidly to this strain, so as the strain relaxes to zero, the chemistry
tends to equilibrium.
When the chemical time-scale is comparable to the fluid mixing time-scale, the species
can be considered to be in global chemical non-equilibrium. Such cases include NOx
formation and low-temperature CO oxidation. The steady laminar flamelet model is not
suitable for such slow-chemistry flames. Instead, you can model slow chemistry using one
of the following:
• the Unsteady Laminar Flamelet model (see Section 15.5: The Unsteady Laminar
Flamelet Model Theory)
• the trace species assumption in the NOx model (see Chapter 20: Modeling Pollutant
Formation)
• the Laminar Finite-Rate model (see Section 14.1.1: The Generalized Finite-Rate
Formulation for Reaction Modeling), where the turbulence-chemistry interaction is
ignored.
• the EDC model (see Section 14.1.1: The Eddy-Dissipation-Concept (EDC) Model)
• the PDF transport model (see Chapter 18: Modeling a Composition PDF Transport
Problem).
c Fluent Inc. September 29, 2006 15-31
Modeling Non-Premixed Combustion
15-32
c Fluent Inc. September 29, 2006
15.5 The Unsteady Laminar Flamelet Model Theory
c Fluent Inc. September 29, 2006 15-33
Modeling Non-Premixed Combustion
∂ µt
(ρI) + ∇ · (ρ~v I) = ∇ · ∇I (15.5-1)
∂t σt
where f is the mean mixture fraction and finit is a user supplied constant, which should
be set greater than the stoichiometric mixture fraction. At inlet boundaries, FLUENT
always sets I toward zero, and hence the I field decreases to zero with time as I is
convected and diffused out of the domain (for cases with outlet boundaries).
The unsteady flamelet species equations (Equation 15.3-6) are integrated simultaneously
with the marker probability equation, I. For liquid-phase chemistry, the initial flamelet
field is the mixed-but-unburnt flamelet, as liquid reactions are assumed to proceed im-
mediately upon mixing. However, gas-phase chemistry invariably requires ignition, so
the initial flamelet field is calculated from a steady flamelet solution. All slow-forming
species, such as NOx , are zeroed in this initial flamelet profile since, at ignition, little
time has elapsed for any significant formation. The slow-forming species are identified
by the user before solution of the unsteady flamelet equations.
The scalar dissipation at stoichiometric mixture fraction (χst ) is required by the flamelet
species equation. This is calculated from the steady-state FLUENT field at each time
step as a probability-weighted volume integral:
where χst is defined in Equation 15.5-3, and V denotes the fluid volume. FLUENT
provides the option of limiting χst to a user-specified maximum value, which should
be approximately equal to the flamelet extinction scalar dissipation (the steady flamelet
solver can be used to calculate this extinction scalar dissipation in a separate simulation).
15-34
c Fluent Inc. September 29, 2006
15.5 The Unsteady Laminar Flamelet Model Theory
The unsteady flamelet energy equation is not solved in order to avoid flamelet extinc-
tion for high scalar dissipation, and to account for non-adiabatic heat loss or gain. For
adiabatic cases, the flamelet temperature T ad (f, t) is calculated at each time step from
the steady flamelet library at the probability-weighted scalar dissipation χst from Equa-
tion 15.5-3. For non-adiabatic cases, the flamelet temperature at time t is calculated
from
where
In Equation 15.5-5, T (~x|f ) denotes the FLUENTsteady-state mean cell temperature con-
ditioned on the local cell mixture fraction.
Unsteady flamelet mean species mass fractions in each cell are accumulated over time as
Rt hR i
1
uf la 0 Iρ 0 Yk (f, t) P (f ) df dt
Yk = Rt (15.5-6)
0 I ρ dt
where Yk (f, t) is the k’th species unsteady flamelet mass fraction, and P (f ) denotes the
Beta PDF.
The probability marker equation (Equation 15.5-1) and the flamelet species equation
(Equation 15.3-6) are advanced together in time until the probability marker has sub-
stantially convected and diffused out of the domain. The unsteady flamelet mean species,
calculated from Equation 15.5-5, reaches steady-state as the probability marker I van-
ishes.
Liquid Reactions
Liquid reactors are typically characterized by:
The Eulerian unsteady laminar flamelet model can be used to model liquid reactions.
When the Liquid Micro-Mixing model is invoked, FLUENT uses the volume-weighted-
mixing-law formula to calculate the density.
c Fluent Inc. September 29, 2006 15-35
Modeling Non-Premixed Combustion
The effect of high Sc is to decrease mixing at the smallest (micro) scales and increase
the mixture fraction variance, which is modeled with the Turbulent Mixer Model [17].
0
Three transport equations are solved for the inertial-convective (fic2 ), viscous-convective
02 0
(fvc ) and viscous-diffusive (fvd2 ) subranges of the turbulent scalar spectrum,
∂ 02 µt 0
2
0 0
ρfic + ∇ · ρ~v fic2 = ∇ · ∇fic2 + C1 µt ∇f − C2 ρ fic2 (15.5-7)
∂t σt k
∂ 02 µt 02
r
02 02
ρfvc + ∇ · ρ~v fvc =∇· ∇fvc + C2 ρ fvc − C3 (15.5-8)
∂t σt k ν
∂ 02 µt C5
r
0 0
ρfvd + ∇ · ρ~v fvd2 = ∇ · ∇fvd2 + C3 1 − C4 − (15.5-9)
∂t σt ν Sc
where the constants C1 through C5 have values of 2, 1.86, 0.058, 0.303 and 17050 respec-
0 02 0
tively. The total mixture fraction variance is the sum of fic2 , fvc and fvd2 .
In Equation 15.5-9, the cell Schmidt number, Sc, is calculated as Sc = µ/ρD where µ
is the viscosity, ρ the density and D the mass diffusivity as defined for the pdf-mixture
material.
Since liquid species are invariably in chemical non-equilibrium, the unsteady laminar
flamelet model should be used, postprocessing on a converged, steady-state, steady
flamelet FLUENTcase and data.
15-36
c Fluent Inc. September 29, 2006
15.6 Steps in Using the Non-Premixed Model
1 ∂p
q̇ = (15.5-10)
cp ∂t
where cp is a the specific heat and p is the volume-averaged pressure in the cylinder.
This rise in flamelet temperature due to compression eventually leads to ignition of the
flamelet.
After the flamelet equations have been advanced for the fractional time-step, the PDF
Table is created as a Non-Adiabatic Steady Flamelet table (see Section 15.4.3: Non-
Adiabatic Steady Laminar Flamelets). Using the properties of this table, the CFD flow
field is then advanced for the same fractional time-step.
The diesel unsteady flamelet approach can model ignition as well as formation of prod-
uct, intermediate and pollutant species. Enabling the Diesel Unsteady Flamelet model is
described in Section 15.8.6: Using the Diesel Unsteady Laminar Flamelet Model
• Section 15.8: Setting Up the Steady and Unsteady Laminar Flamelet Models
c Fluent Inc. September 29, 2006 15-37
Modeling Non-Premixed Combustion
15.6.1 Preliminaries
Before turning on the non-premixed combustion model, you must enable turbulence
calculations in the Viscous Model panel.
Define −→ Models −→Viscous...
If your model is non-adiabatic, you should also enable heat transfer (and radiation, if
required).
Define −→ Models −→Energy...
Define −→ Models −→Radiation...
Figure 15.2.7 illustrates the types of problems that must be treated as non-adiabatic.
• Non-premixed or partially premixed model option (see Chapter 17: Modeling Par-
tially Premixed Combustion).
You can make these model selections using the Species Model panel (Figure 15.7.1).
Define −→ Models −→ Species −→Transport & Reaction...
1. Choose the chemical description of the system: equilibrium, steady flamelet, un-
steady flamelet, or diesel unsteady flamelet (Figure 15.6.1).
15-38
c Fluent Inc. September 29, 2006
15.6 Steps in Using the Non-Premixed Model
3. (steady laminar flamelet model only) Import a flamelet file or appropriate CHEMKIN
mechanism file if generating flamelets (Figure 15.6.2).
4. (unsteady laminar flamelet model only) Import a flamelet file for restart (Fig-
ure 15.8.1).
5. Define the chemical boundary species to be considered for the streams in the react-
ing system model. Note that this step is not relevant in the case of flamelet import
(Figure 15.6.3).
6. (steady and unsteady laminar flamelet model only) If you are generating flamelets,
compute the flamelet state relationships of species mass fractions, density, and
temperature as a function of mixture fraction and scalar dissipation (Figure 15.6.4).
For unsteady laminar flamelets, you will initialize the unsteady flamelet probability
(Figure 15.11.2).
7. Compute the final chemistry look-up table, containing mean values of species frac-
tions, density, and temperature as a function of mean mixture fraction, mixture
fraction variance, and possibly enthalpy and scalar dissipation. The contents of
this look-up table will reflect your preceding inputs describing the turbulent react-
ing system (Figure 15.6.5).
c Fluent Inc. September 29, 2006 15-39
Modeling Non-Premixed Combustion
15-40
c Fluent Inc. September 29, 2006
15.6 Steps in Using the Non-Premixed Model
c Fluent Inc. September 29, 2006 15-41
Modeling Non-Premixed Combustion
The look-up table is the stored result of the integration of Equations 15.2-16 (or 15.2-24)
and 15.2-18. The look-up table will be used in FLUENT to determine mean species mass
fractions, density, and temperature from the values of mean mixture fraction (f ), mixture
fraction variance (f 0 2 ), and possibly mean enthalpy (H) and mean scalar dissipation
(χ) as they are computed during the FLUENT calculation of the reacting flow. See
Section 15.2.4: Look-Up Tables for Adiabatic Systems and Figures 15.2.8 and 15.2.10.
For a problem that includes a secondary stream (and, therefore, a second mixture frac-
tion), you will perform the first two steps listed above for the single-mixture-fraction
approach and then prepare a look-up table of instantaneous properties using Equa-
tion 15.2-12 or 15.2-14.
15-42
c Fluent Inc. September 29, 2006
15.7 Setting Up the Equilibrium Chemistry Model
c Fluent Inc. September 29, 2006 15-43
Modeling Non-Premixed Combustion
Note that the adiabatic model is a simpler model involving a two-dimensional look-up
table in which scalars depend only on f and f 0 2 (or on ffuel and psec ). If your model
is defined as adiabatic, you will not need to solve the energy equation in FLUENT and
the system temperature will be determined directly from the mixture fraction and the
fuel and oxidant inlet temperatures. The non-adiabatic case will be more complex and
more time-consuming to compute, requiring the generation of three-dimensional look-
up tables. However, the non-adiabatic model option allows you to include the types of
reacting systems described above.
Select Adiabatic or Non-Adiabatic in the Chemistry tab of the Species Model panel.
p
ρ = ρop (15.7-1)
pop
where ρop is the density at the specified Operating Pressure (pop ), and p is the local mean
pressure in a FLUENT cell.
When the Compressibility Effects option is enabled, the flow operating pressure (set in the
Operating Conditions panel) can differ from the Non-Premixed model operating pressure.
To distinguish this difference, the Operating Pressure name tag in the Species Model
panel changes to Equilibrium Operating Pressure when the compressibility effects option
is enabled.
SeeSection 15.16: Solution Strategies for Non-Premixed Modeling for details about en-
abling compressibility effects.
15-44
c Fluent Inc. September 29, 2006
15.7 Setting Up the Equilibrium Chemistry Model
• coal combustion
– Coal combustion can be more accurately modeled by using a secondary stream.
The fuel stream must define the char and the secondary stream must define the
volatile components of the coal. See Section 15.9.5: Modeling Coal Combustion
Using the Non-Premixed Model regarding coal combustion simulations with
the non-premixed combustion model.
c Fluent Inc. September 29, 2006 15-45
Modeling Non-Premixed Combustion
To include a secondary stream in your model, turn on the Secondary Stream option under
Options in the Chemistry tab.
1. Turn on the Empirical Fuel Stream option under Options in the Chemistry tab of the
Species Model panel. If you have a secondary stream, enable the Empirical Secondary
Stream option, or both as appropriate.
2. Specify the appropriate lower heating value (e.g., Fuel Lower Caloric Value, Secondary
Lower Caloric Value) and specific heat (e.g., Fuel Specific Heat, Secondary Specific
Heat) for each empirically-defined stream.
i The empirical definition option is available only with the full equilibrium
chemistry model. It cannot be used with the rich flammability limit (RFL)
option or the steady and unsteady laminar flamelet models, since equilib-
rium calculations are required for the determination of the fuel composi-
tion. If your empirically-defined fuel is entering the domain via an inlet
boundary, you will need to additionally define its molecular weight using
the text command:
define −→ models −→ species −→nonpremixed-combustion-expert
If you change the molecular weight of the empirically-defined fuel or sec-
ondary stream, you will need to rebuild the PDF table.
15-46
c Fluent Inc. September 29, 2006
15.8 Setting Up the Steady and Unsteady Laminar Flamelet Models
i Experimental studies and reviews [38, 336] have shown that although
the fuel-lean flame region approximates thermodynamic equilibrium, non-
equilibrium kinetics will prevail under fuel-rich conditions. Therefore, for
non-empirically defined fuels, the RFL model is strongly recommended.
3. Select Steady Flamelet or Unsteady Flamelet in the Chemistry tab of the Species
Model panel. See Section 15.8.5: Using the Unsteady Laminar Flamelet Model.
c Fluent Inc. September 29, 2006 15-47
Modeling Non-Premixed Combustion
Figure 15.8.1: The Chemistry Tab for the Unsteady Flamelet Model
15-48
c Fluent Inc. September 29, 2006
15.8 Setting Up the Steady and Unsteady Laminar Flamelet Models
Click Import in the CHEMKIN Mechanism Import panel to read the specified files into
FLUENT. Note that the import is limited to mechanisms with 300 or fewer species and
1500 or fewer reactions.
c Fluent Inc. September 29, 2006 15-49
Modeling Non-Premixed Combustion
1. Select the Import Flamelet option in the Chemistry tab of the Species Model panel.
2. (steady flamelet only) Select either Standard or Oppdif format under File Type.
3. (steady flamelet only) Select the Mixture Fraction Method. Select Drake if you
want to calculate the mixture fraction using carbon and hydrogen elements. Select
Bilger to calculate the mixture fraction using hydrocarbon formula. Select Nitrogen
to calculate the mixture fraction in terms of nitrogen species.
4. Click the Import Flamelet File... button. In the resulting Select File dialog box,
select the file (for a single flamelet) or files (for multiple flamelets) to be read in to
FLUENT.
After you have completed this step, you can skip ahead to the Table tab of the Species
Model panel (see Section 15.12: Calculating the Look-Up Tables).
15-50
c Fluent Inc. September 29, 2006
15.8 Setting Up the Steady and Unsteady Laminar Flamelet Models
• Maximum Scalar Dissipation. Laminar flamelets may extinguish at high scalar dissi-
pations because diffusion in the flamelet overwhelms the reaction. In order to avoid
excessive diffusion in the unsteady flamelet, the instantaneous scalar dissipation in
each cell is limited to the specified Maximum Scalar Dissipation.
• Courant Number. The time step for the unsteady probability marker equation is
calculated automatically by FLUENT based on the Courant Number. Larger values
imply fewer time steps to convect/diffuse the marker probability out of the domain,
but also results in a larger numerical error. The Courant Number should be small
enough so that the unsteady flamelet mean mass fractions are unchanged with
any smaller Courant Number. The default value of 1 should be sufficient for most
applications.
When these inputs have been set, clicking the Initialize Unsteady Flamelet Probability
button initializes the marker probability equation, automatically enabling the Unsteady
solver, while disabling all equations except the Unsteady Flamelet Probability equation
in the Solution Controls panel. and sets the time step in the Iterate... panel. This
initialization in the Flamelet tab sets the Time Step Size in the Iterate panel, allowing you
to set the Number of Time Steps. (Clicking the Apply button in the Chemistry tab will
also automatically change the solver settings).
i If you disable the Unsteady Laminar Flamelet model and you want to revert
to solving a laminar flamelet, make sure you enable Steady in the Solver
panel and enable all the equations in the Solution Controls panel.
A detailed chemical mechanism is required which should contain kinetic reactions appro-
priate for compression ignition. The mechanism can include pollutant formation reactions
as well if you are interested in modeling emissions.
c Fluent Inc. September 29, 2006 15-51
Modeling Non-Premixed Combustion
To access the model inputs, enable the Create Table or Set Table Parameters under PDF
Options. In the Chemistry tab, select Diesel Unsteady Flamelet.
With the Diesel Unsteady Flamelet model enabled, you can define the stream composi-
tions (Section 15.9: Defining the Stream Compositions) and the flamelet controls (Sec-
tion 15.10.2: Defining the Flamelet Controls). Note that while you can enter the Number
of Grid Points in Flamelets in the Flamelet tab (Section 15.11.2: Unsteady Flamelet), you
will not be able to calculate the flamelets. This is also true when calculating a PDF
table (Section 15.12: Calculating the Look-Up Tables). In the Table tab, you can set
the table parameters, but you will not be able to run the calculation. The reason for
this behavior is because the table creation and the flamelet calculation are performed at
every time step of the FLUENT simulation, and not just in a pre-processing step as in
other non-premixed combustion models.
15-52
c Fluent Inc. September 29, 2006
15.9 Defining the Stream Compositions
c Fluent Inc. September 29, 2006 15-53
Modeling Non-Premixed Combustion
The steps for adding new species and defining their compositions is as follows:
1. (equilibrium chemistry model only) If your fuel, oxidizer, or secondary streams are
composed of species other than the default species list, type the chemical formula
(e.g., so2 or SO2 for SO2 ) under Boundary Species and click Add. The species will
be added to the Species list. Continue in this manner until all of the boundary
species you want to include are shown in the Species list.
To remove a species from the list, type the chemical formula under Boundary Species
and click Remove. To print a list of all species in the thermodynamic database file
(thermo.db) in the console window, click List Available Species.
2. Under Species Unit, specify whether you want to enter the Mass Fraction or Mole
Fraction. Mass Fraction is the default.
15-54
c Fluent Inc. September 29, 2006
15.9 Defining the Stream Compositions
3. For each relevant species in the Species list, specify its mass or mole fraction for
each stream (Fuel, Oxid, or Second as appropriate) by entering values in the table.
Note that if you change from Mass Fraction to Mole Fraction (or vice versa), all
values will be automatically converted if they sum to 0 or 1, so be sure that you are
entering either all mass fractions or all mole fractions as appropriate. If the values
do not sum to 0 or 1, an error will be issued.
c Fluent Inc. September 29, 2006 15-55
Modeling Non-Premixed Combustion
• If your fuel composition is known empirically (e.g., C0.9 H3 O0.2 ), use the option for
an empirically-defined stream (see below).
• If you wish to include the sulfur that may be present in a hydrocarbon fuel, note
that this may hinder the convergence of the equilibrium solver, especially if the
concentration of sulfur is small. It is therefore recommended that you include
sulfur in the calculation only if it is present in considerable quantities.
15-56
c Fluent Inc. September 29, 2006
15.9 Defining the Stream Compositions
c Fluent Inc. September 29, 2006 15-57
Modeling Non-Premixed Combustion
• When coal is the only fuel in the system, you can model the coal using two mixture
fractions. When this approach is used, one stream is used to represent the char and
the other stream is used to represent volatiles. Generally, the char stream com-
position is represented as 100% C(s). The volatile stream composition is defined
by selecting appropriate species and setting their mole or mass fractions. Alter-
natively, you can use the empirical method (input of atom fractions) for defining
these compositions.
i Using a single mixture fraction for coal combustion is less accurate than
using two mixture fractions. However, convergence in FLUENT should be
substantially faster than the two-mixture-fraction model.
• When coal is used with another (gaseous or liquid) fuel of different composition, you
must model the coal with one mixture fraction and use a second mixture fraction
to represent the second (gaseous or liquid) fuel. The stream associated with the
coal composition is defined as detailed below for single-mixture-fraction models.
15-58
c Fluent Inc. September 29, 2006
15.9 Defining the Stream Compositions
• Conventional approach:
To use the conventional approach, you will need to define the mixture of species in
the coal and their mole or mass fractions in the fuel stream. Use the Boundary tab
in the Species Model panel to input the list of species (e.g., C3 H8 , CH4 , CO, CO2 ,
C(s)) that approximate the coal composition, and their mole or mass fractions.
Note that C(s) is used to represent the char content of the coal. For example,
consider a coal that has a molar composition of 40% volatiles and 60% char on a dry
ash free (DAF) basis. Assuming the volatiles can be represented by an equimolar
mixture of C3 H8 and CO, the fuel stream composition defined in the Boundary tab
would be C3 H8 =0.2, CO = 0.2, and C(s)=0.60. Note that the coal composition
should always be defined on an ash-free basis, even if ash will be considered in the
FLUENT calculation.
To define ash properties, go to the Materials panel and select combusting-particle as
the Material Type.
The following table illustrates the conversion from a typical mass-based proximate
analysis to the species fraction inputs required by FLUENT. Note that the conver-
sion requires that you make an assumption regarding the species representing the
volatiles. Here, the volatiles are assumed to exist as an equimolar mix of propane
and carbon monoxide.
c Fluent Inc. September 29, 2006 15-59
Modeling Non-Premixed Combustion
Moisture in the coal can be considered by adding it in the fuel composition as liquid
water, H2 O(l). The moisture can also be defined as water vapor, H2 O, provided
that the corresponding latent heat is included in the discrete phase material inputs
in FLUENT. If the liquid water is used as a boundary species, it should be removed
from the list of excluded species (see Section 15.10.1: Forcing the Exclusion and
Inclusion of Equilibrium Species).
i Note that if water is included in the coal, the water release is not modeled
as evaporation, which is typically the case in the wet combustion model,
described in Section 22.12.2: Particle Types.
• Empirical fuel approach:
To use the empirical approach, enable the Empirical Fuel Stream option in the
Chemistry tab. This method is ideal if you have an elemental analysis of the coal.
In the Chemistry tab, input the lower heating value and mean specific heat of the
coal. FLUENT will use these inputs to determine the mole fractions of the chemical
species you have included in the system. Then, in the Boundary tab, define the
atom fractions of C, H, N, S, and O in the fuel stream.
Note that for both of these composition input methods, you should take care to distin-
guish atomic carbon, C, from solid carbon, C(s). Atomic carbon should only be selected
if you are using the empirical fuel input method.
See Section 15.15: Coal Modeling Inputs in FLUENT for details about further inputs for
modeling coal combustion.
15-60
c Fluent Inc. September 29, 2006
15.9 Defining the Stream Compositions
• Conventional approach:
To use the conventional approach, you will need to define the mixture of species in
the coal and their mole or mass fractions in the fuel and secondary streams.
Use the Boundary tab of Species Model panel to define the mole or mass fractions of
volatile species in the secondary stream (e.g., C3 H8 , CH4 , CO, CO2 , C(s)). Next,
define the mole or mass fractions of species used to represent the char. Generally,
you will input 100% C(s) for the fuel stream.
(Note that in the final column, for modeling simplicity, the sulfur content of the
coal has been combined into the nitrogen mass fraction.)
c Fluent Inc. September 29, 2006 15-61
Modeling Non-Premixed Combustion
You can combine the proximate and ultimate analysis data to yield the following
elemental composition of the volatile stream:
This adjusted composition is used to define the secondary stream (volatile) com-
position.
The lower heating value of the volatiles can be computed from the known heating
value of the coal and the char (DAF):
– LCVcoal,DAF = 35.3 MJ/kg
– LCVchar,DAF = 32.9 MJ/kg
You can compute the heating value of the volatiles as
Note that for both of these composition input methods, you should take care to distin-
guish atomic carbon, C, from solid carbon, C(s). Atomic carbon should only be selected
if you are using the empirical fuel input method.
See Section 15.15: Coal Modeling Inputs in FLUENT for details about further inputs for
modeling coal combustion.
15-62
c Fluent Inc. September 29, 2006
15.10 Setting Up Control Parameters
The NOx species can be safely excluded from the equilibrium calculation since they are
present at low concentrations and have little impact on the density, temperature, and
other species.
To force the exclusion of a species from the equilibrium calculation, click the Control tab
in the Species Model panel (Figure 15.10.1).
Under Species Excluded From Equilibrium Calculation, enter the chemical formula for the
desired species in the Add/Remove Species field. Next, click Add to add the species to
the Species list or Remove to remove an existing species from the Species list.
c Fluent Inc. September 29, 2006 15-63
Modeling Non-Premixed Combustion
Figure 15.10.2: The Species Model Panel (Control Tab) for the Steady Lam-
inar Flamelet Model
The Initial Fourier Number sets the first time step for the solution of the flamelet equations
(Equations 15.3-6 and 15.3-7). This first time step is calculated as the explicit stability-
limited diffusion time step multiplied by the this value. If the solution diverges before
the first time step is complete, the value should be lowered.
The Fourier Number Multiplier increases the time step at subsequent times. Every time
step after the first is multiplied by this value. If the solution diverges after the first time
step, this value should be reduced.
During the numerical integration of the flamelet equations, the local error is controlled
to be less than
where φi represents the species mass fractions and temperature at point i in the 1D
flamelet. rel is the value of the Relative Error Tolerance and abs is the value of the
15-64
c Fluent Inc. September 29, 2006
15.10 Setting Up Control Parameters
c Fluent Inc. September 29, 2006 15-65
Modeling Non-Premixed Combustion
Number of Grid Points in Flamelet specifies the number of mixture fraction grid points
distributed between the oxidizer (f = 0) and the fuel (f = 1). Increased resolution
will provide greater accuracy, but since the flamelet species and temperature are
solved coupled and implicit in f space, the solution time and memory requirements
increase greatly with the number of f grid points.
Maximum Number of Flamelets specifies the maximum number of laminar flamelet pro-
files to be calculated. If the flamelet extinguishes before this number is reached,
flamelet generation is halted and the actual number of flamelets in the flamelet
library will be less than this value.
Initial Scalar Dissipation is the scalar dissipation of the first flamelet in the library.
This corresponds to χ0 in Equation 15.4-1.
15-66
c Fluent Inc. September 29, 2006
15.11 Calculating the Flamelets
Scalar Dissipation Step specifies the interval between scalar dissipation values (in s−1 )
for which multiple flamelets will be calculated. This corresponds to ∆χ in Equa-
tion 15.4-1.
Click Calculate Flamelets to begin the laminar flamelet calculation. Sample output for a
flamelet calculation is shown below.
c Fluent Inc. September 29, 2006 15-67
Modeling Non-Premixed Combustion
Figure 15.11.2: The Flamelet Tab for the Unsteady Laminar Flamelet Model
Number of Grid Points in Flamelet specifies the number of mixture fraction grid points
distributed between the oxidizer (f = 0) and the fuel (f = 1). Increased resolution
will provide greater accuracy, but since the flamelet species and temperature are
solved coupled and implicit in f space, the solution time and memory requirements
increase with the number of f grid points.
Mixture Fraction Lower Limit for Initial Probability is the limit at which the unsteady
flamelet model temporally convects and diffuses a marker probability equation
through a steady-state FLUENT flow-field. This marker is initialized to 1 above
the Mixture Fraction Lower Limit for initial probability, and 0 below this value. In
general, it should be set greater than the stoichiometric mixture fraction.
15-68
c Fluent Inc. September 29, 2006
15.11 Calculating the Flamelets
Courant Number is the number at which FLUENT automatically selects the time step
for the probability equation based on this convective Courant number.
Click Initialize Unsteady Flamelet Probability to initialize the unsteady flamelet and its
probability marker equation. FLUENT is now ready for postprocessing the unsteady
flamelet.
For the steady flamelet model, you can display 2D plots and 3D surfaces showing the
variation of species fraction or temperature with the mean mixture fraction or scalar
dissipation using the Flamelet 3D Surfaces panel (e.g., Figure 15.11.4).
c Fluent Inc. September 29, 2006 15-69
Modeling Non-Premixed Combustion
To access this panel, click the Display Flamelets... button in the Flamelet tab of the Species
Model panel, as shown in Figure 15.11.1.
1. In the Flamelet 3D Surfaces panel, in the Plot Variable drop-down list, you can select
temperature or species fraction as the variable to be plotted.
15-70
c Fluent Inc. September 29, 2006
15.11 Calculating the Flamelets
(c) Specify the type of discretization (i.e., how the flamelet data will be sliced)
for the variable that is being held constant (under Constant Value of Mix-
ture Fraction or Constant Value of Scalar Dissipation).
– If you selected Index under Slice by, specify the discretization Index of
the variable that is being held constant. The range of integer values
that you are allowed to choose from is displayed under Min and Max,
and is equivalent to the number of points specified for that variable
in the Flamelet tab of the Species Model panel (see Section 15.11: Cal-
culating the Flamelets).
– If you selected Value under Slice by, specify the numerical Value of the
variable that is being held constant. The range of values that you can
specify is displayed under Min and Max.
3. Write or display the flamelet table results. If you have turned on the Write To File
option for a 2D plot, click Write and specify a name for the file in the Select File
dialog box. Otherwise, click Plot or Display as appropriate to display a 2D plot or
3D surface in the graphics window.
Figures 15.11.5 and 15.11.6 show examples of a 2D curve plot and 3D surface plot of a
flamelet table.
8.00e-03
7.00e-03
6.00e-03
5.00e-03
Mass 4.00e-03
Fraction
of 3.00e-03
co
2.00e-03
1.00e-03
0.00e+00
0 5 10 15 20 25 30 35
Y
X Scalar Dissipation
Z
Mass Fraction of co
c Fluent Inc. September 29, 2006 15-71
Modeling Non-Premixed Combustion
Y
X
Z
15-72
c Fluent Inc. September 29, 2006
15.12 Calculating the Look-Up Tables
Number of Mean Mixture Fraction Points is the number of discrete values of f at which
the look-up tables will be computed. For a two-mixture-fraction model, this value
will also be the number of points used by FLUENT to compute the PDF if you choose
the β model (see Section 15.16.4: Tuning the PDF Parameters for Two-Mixture-
Fraction Calculations). Increasing the number of points will yield a more accurate
PDF shape, but the calculation will take longer. The mean mixture fraction points
will be clustered around the stoichiometric mixture fraction value.
c Fluent Inc. September 29, 2006 15-73
Modeling Non-Premixed Combustion
Number of Secondary Mixture Fraction Points is the number of discrete values of psec
at which the look-up tables will be computed. Like the Number of Mean Mixture
Fraction Points, FLUENT will use the Number of Secondary Mixture Fraction Points
to compute the PDF if you choose the β PDF option (see Section 15.16.4: Tuning
the PDF Parameters for Two-Mixture-Fraction Calculations) for a two-mixture-
fraction model. A larger number of points will give a more accurate shape for the
PDF, but with a longer calculation time. This option is available only when a
secondary stream has been defined.
Maximum Number of Species is the maximum number of species that will be included
in the look-up tables. The maximum number of species that can be included is 100.
Note that the maximum number of species for the equilibrium computations is 500,
and the maximum number of species for the flamelet generation and importing is
300. FLUENT will automatically select the species with the largest mole fractions
to include in the PDF table.
Number of Mean Enthalpy Points is the number of discrete values of enthalpy at which
the three-dimensional look-up tables will be computed. This input is required only
if you are modeling a non-adiabatic system. The number of points required will
depend on the chemical system that you are considering, with more points required
in high heat release systems (e.g., hydrogen/oxygen flames). This option is not
available with the unsteady flamelets model.
Minimum Temperature is used to determine the lowest temperature for which the look-
up tables are generated (see Figure 15.2.10). Your input should correspond to the
minimum temperature expected in the domain (e.g., an inlet or wall temperature).
The minimum temperature should be set 10–20 K below the minimum system
temperature. This option is available only if you are modeling a non-adiabatic
system. This option is not available with the unsteady flamelets model.
When you are satisfied with your inputs, click Calculate PDF Table to generate the look-up
tables.
The computations performed for a single-mixture-fraction calculation culminate in the
discrete integration of Equation 15.2-16 (or 15.2-24) as represented in Figure 15.2.5 (or
Figure 15.2.6). For a two-mixture-fraction calculation, FLUENT will calculate the physi-
cal properties using Equation 15.2-14 or its adiabatic equivalent. The computation time
15-74
c Fluent Inc. September 29, 2006
15.12 Calculating the Look-Up Tables
c Fluent Inc. September 29, 2006 15-75
Modeling Non-Premixed Combustion
After completing the calculation at the specified number of mixture fraction points,
FLUENT reports that the calculation succeeded. In a single-mixture-fraction case, the
resulting look-up tables take the form illustrated in Figure 15.2.8 (or Figure 15.2.10, for
non-adiabatic systems). These look-up tables can be plotted using the available graphics
tools, as described in Section 15.12.3: Postprocessing the Look-Up Table Data.
Note that in non-adiabatic calculations, the console window will report that the temper-
ature limits and enthalpy slices have been calculated.
For a two-mixture-fraction case, the resulting look-up tables take the form illustrated in
Figure 15.2.9 (or Figure 15.2.11, for non-adiabatic systems).
15-76
c Fluent Inc. September 29, 2006
15.12 Calculating the Look-Up Tables
Figure 15.12.2: The PDF Table Panel (Non-Adiabatic Case With Flamelets)
c Fluent Inc. September 29, 2006 15-77
Modeling Non-Premixed Combustion
1. In the PDF Table panel, in the Plot Variable drop-down list you can select temper-
ature, density, or species fraction as the variable to be plotted.
2. (multiple flamelets only) Specify the value of the Scalar Dissipation. In the case
of non-adiabatic flamelets, there is the additional parameter of mean enthalpy. In
addition to varying the mean enthalpy and mean mixture fraction, you can vary
the display of the PDF table by changing the value of the scalar dissipation, which
gives the table a fourth “dimension”.
f 02
fs0 2 = 0.25 (15.12-1)
f (1 − f )
15-78
c Fluent Inc. September 29, 2006
15.12 Calculating the Look-Up Tables
Figures 15.12.3 and 15.12.4 shows examples of 2D plots derived for a very simple hydro-
carbon system.
c Fluent Inc. September 29, 2006 15-79
Modeling Non-Premixed Combustion
1.20e-01
1.00e-01
8.00e-02
Mole 6.00e-02
Fraction
of
co 4.00e-02
2.00e-02
0.00e+00
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Y
Z X F-Mean
Mole Fraction of co
2.00e+03
1.80e+03
1.60e+03
1.40e+03
1.20e+03
Mean
Temperature(K) 1.00e+03
8.00e+02
6.00e+02
4.00e+02
2.00e+02
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Y
Z X F-Mean
15-80
c Fluent Inc. September 29, 2006
15.12 Calculating the Look-Up Tables
Figure 15.12.5 shows an example of a 3D surface derived for the same system.
Z
Y
X
Mean Temperature(K)
The data structure for the standard flamelet file format is based on keywords that precede
each data section. If any of the keywords in your flamelet data file do not match the
supported keywords, you will have to manually edit the file and change the keywords to
one of the supported types. (The FLUENT flamelet filter is case-insensitive, so you need
not worry about capitalization within the keywords.)
The following keywords are supported by the FLUENT filter:
c Fluent Inc. September 29, 2006 15-81
Modeling Non-Premixed Combustion
• Pressure: PRESSURE
• Mixture fraction: Z
Sample File
A sample flamelet file in the standard format is provided below. Note that not all species
are listed in this file.
HEADER
STRAINRATE 100.
NUMOFSPECIES 12
GRIDPOINTS 39
PRESSURE 1.
BODY
Z
0.0000E+00 4.3000E-07 2.1780E-06 1.2651E-05 7.8456E-05
2.1876E-04 5.9030E-04 9.4701E-04 1.4700E-03 1.8061E-03
2.1967E-03 2.6424E-03 3.1435E-03 4.3038E-03 5.6637E-03
8.9401E-03 1.2800E-02 1.7114E-02 2.1698E-02 2.6304E-02
2.8522E-02 3.0647E-02 3.2680E-02 3.4655E-02 4.2784E-02
5.2655E-02 6.5420E-02 8.2531E-02 1.0637E-01 1.4122E-01
1.9518E-01 2.8473E-01 4.4175E-01 6.6643E-01 8.6222E-01
9.5897E-01 9.9025E-01 9.9819E-01 1.0000E+00
TEMPERATURE
3.0000E+02 3.0013E+02 3.0085E+02 3.0475E+02 3.2382E+02
3.5644E+02 4.3055E+02 4.9469E+02 5.8260E+02 6.3634E+02
6.9655E+02 7.6268E+02 8.3393E+02 9.8775E+02 1.1493E+03
1.4702E+03 1.7516E+03 1.9767E+03 2.1403E+03 2.2444E+03
2.2766E+03 2.2962E+03 2.3044E+03 2.3027E+03 2.2164E+03
2.0671E+03 1.8792E+03 1.6655E+03 1.4355E+03 1.1986E+03
9.6530E+02 7.5025E+02 5.7496E+02 4.4805E+02 3.6847E+02
3.2730E+02 3.0939E+02 3.0248E+02 3.0000E+02
MASSFRACTION-H2
3.2354E-07 7.4290E-07 1.6979E-06 3.8179E-06 8.3038E-06
1.2219E-05 1.7873E-05 2.1556E-05 2.5872E-05 2.8290E-05
3.0888E-05 3.3684E-05 3.6720E-05 4.3768E-05 5.4359E-05
1.0484E-04 2.6807E-04 6.1906E-04 1.2615E-03 2.3555E-03
3.1422E-03 4.1281E-03 5.3302E-03 6.7434E-03 1.4244E-02
15-82
c Fluent Inc. September 29, 2006
15.12 Calculating the Look-Up Tables
Missing Species
FLUENT will check whether all species in the flamelet data file exist in the thermodynamic
properties databases thermo.db. If any of the species in the flamelet file do not exist,
FLUENT will issue an error message and halt the flamelet import. If this occurs, you can
either add the missing species to the database, or remove the species from the flamelet
file.
You should not remove a species from the flamelet data file unless its species concentra-
tion is very small (10−3 or less) throughout the flamelet profile. If you remove a low-
concentration species, you will not have the species concentrations available for viewing
in the FLUENT calculation, but the accuracy of the FLUENT calculation will otherwise
be unaffected.
i If you choose to remove any species, be sure to also update the number
of species (keyword NUMOFSPECIES) in the flamelet data file, to reflect the
loss of any species you have removed from the file.
If a species with relatively large concentration is missing from the FLUENT thermody-
namic databases, you will have to add it. Removing a high-concentration species from
the flamelet file is not recommended.
c Fluent Inc. September 29, 2006 15-83
Modeling Non-Premixed Combustion
Figure 15.13.1: The Velocity Inlet Panel Showing Mixture Fraction Boundary
Conditions
15-84
c Fluent Inc. September 29, 2006
15.13 Defining Non-Premixed Boundary Conditions
Click the Species tab and input the Mean Mixture Fraction and Mixture Fraction Variance
(and the Secondary Mean Mixture Fraction and Secondary Mixture Fraction Variance, if you
are using two mixture fractions). In general, the inlet value of the mean fractions will be
1.0 or 0.0 at flow inlets: the mean fuel mixture fraction will be 1.0 at fuel stream inlets
and 0.0 at oxidizer or secondary stream inlets; the mean secondary mixture fraction will
be 1.0 at secondary stream inlets and 0.0 at fuel or oxidizer inlets. The fuel or secondary
mixture fraction will lie between 0.0 and 1.0 only if you are modeling flue gas recycle,
as illustrated in Figure 15.2.15 and discussed in Section 15.2.1: Definition of the Mixture
Fraction. The fuel or secondary mixture fraction variance can usually be taken as zero
at inlet boundaries.
c Fluent Inc. September 29, 2006 15-85
Modeling Non-Premixed Combustion
15-86
c Fluent Inc. September 29, 2006
15.15 Coal Modeling Inputs in FLUENT
• In the Set Injection Properties panel, you will specify for the Oxidizing Species one
of the components of the oxidizer stream. This species concentration field will be
used to calculate the diffusion-controlled driving force in the char burnout law (if
applicable).
The specification of the char and volatile streams differs depending on the type of
model you are defining:
– If the coal is modeled using a single mixture fraction, the gas phase species
representing the volatiles and the char combustion are represented by the
mixture fraction used by the non-premixed combustion model.
– If the coal is modeled using two mixture fractions, rather than specifying
a destination species for the volatiles and char, you will instead specify the
Devolatilizing Stream and Char Stream.
– If the coal is modeled using one mixture fraction, and another fuel is modeled
using a second mixture fraction, you should specify the stream representing
the coal as both the Devolatilizing Stream and the Char Stream.
• In the Materials panel, Vaporization Temperature should be set equal to the fuel inlet
temperature. This temperature controls the onset of the devolatilization process.
The fuel inlet temperature that you define in the Boundary tab of the Species Model
panel should be set to the temperature at which you want to initiate devolatiliza-
tion. This way, the look-up tables will include the appropriate temperature range
for your process.
• In the Materials panel, Volatile Component Fraction and Combustible Fraction should
be set to values that are consistent with the coal composition used to define the
fuel (and secondary) stream composition.
• Also in the Materials panel, you will be prompted for the Burnout Stoichiometric
Ratio and for the Latent Heat. The Burnout Stoichiometric Ratio is used in the
calculation of the diffusion controlled burnout rate but has no other impact on the
system chemistry when the non-premixed combustion model is used. The Burnout
Stoichiometric Ratio is the mass of oxidant required per mass of char. The default
c Fluent Inc. September 29, 2006 15-87
Modeling Non-Premixed Combustion
value of 1.33 assumes that C(s) is oxidized by O2 to yield CO. The Latent Heat
input determines the heat required to generate the vapor phase volatiles defined in
the non-premixed system chemistry. You can usually set this value to zero when the
non-premixed model is used, since your definition of volatile species will have been
based on the overall heating value of the coal. However, if the coal composition
includes the water content, the latent heat should be set as follows:
– Set latent heat to zero if the water content of the coal has been defined as
H2O(L). In this case, the system chemistry will include the latent heat required
to vaporize the liquid water.
– Set latent heat to the value for water (2.25 × 106 J/kg), adjusted by the
mass loading of water in the volatiles, if the water content of the coal has
been defined using water vapor, H2O. In this case, the water content you
defined will be evolved along with the other species in the coal but the system
chemistry does not include the latent heat effect.
• The Density you define for the coal in the Materials panel should be the apparent
density, including ash content.
• You will not be asked to define the Heat of Reaction for Burnout for the char com-
bustion.
15-88
c Fluent Inc. September 29, 2006
15.16 Solution Strategies for Non-Premixed Modeling
i PDF files created by prePDF 2 or older are not supported by this version
of FLUENT. The files generated by PrePDF version 3 or newer, are fully
compatible.
In the Species Model panel, select Non-Premixed Combustion under the Model heading.
When you click OK in the Species Model panel, a Select File dialog box will immedi-
ately appear, prompting you for the name of the PDF file containing the look-up tables
created in a previous FLUENT session. (The PDF file is the file you saved using the
File/Write/PDF... menu item after computing the look-up tables.) FLUENT will indicate
that it has successfully read the specified PDF file:
Reading "/home/mydirectory/adiabatic.pdf"...
read 5 species (binary c, adiabatic fluent)
pdf file successfully read.
Done.
c Fluent Inc. September 29, 2006 15-89
Modeling Non-Premixed Combustion
After you read in the PDF file, FLUENT will inform you that some material properties
have changed. You can accept this information; you will be updating properties later on.
You can read in an altered PDF file at any time by using the File/Read/PDF... menu
item.
i Recall that the non-premixed combustion model is available only when you
used the pressure-based solver; it cannot be used with the density-based
solvers. Also, the non-premixed combustion model is available only when
turbulence modeling is active.
If you are modeling a non-adiabatic system and you wish to include the effects of com-
pressibility, re-open the Species Model panel (Figure 15.16.1) and turn on Compressibility
Effects under PDF Options. This option tells FLUENT to update the density according
to Equation 15.7-1. When the non-premixed combustion model is active, you can enable
compressibility effects only in the Species Model panel. For other models, you will specify
compressible flow (ideal-gas, boussinesq, etc.) in the Materials panel. See Sections 15.7.2
and 15.16.4 for more information about compressibility effects.
Figure 15.16.1: The Species Model Panel With Available PDF Options
15-90
c Fluent Inc. September 29, 2006
15.16 Solution Strategies for Non-Premixed Modeling
Note that the PDF filename stored in your case file may not contain the full name of
the directory in which the PDF file exists. The full directory name will be stored in the
case file only if you initially read the PDF file through the GUI (or if you typed in the
directory name along with the filename when using the text interface). In the event that
the full directory name is absent, the automatic reading of the PDF file may fail (since
FLUENT does not know which directory to look in for the file), and you will need to
manually specify the PDF file. The safest approaches are to use the GUI when you first
read the PDF file or to supply the full directory name when using the text interface.
(For two-mixture-fraction calculations, columns for psec and pvar will also appear.)
c Fluent Inc. September 29, 2006 15-91
Modeling Non-Premixed Combustion
Density Under-Relaxation
One of the main reasons a combustion calculation can have difficulty converging is that
large changes in temperature cause large changes in density, which can, in turn, cause
instabilities in the flow solution. FLUENT allows you to under-relax the change in density
to alleviate this difficulty. The default value for density under-relaxation is 1, but if you
encounter convergence trouble you may wish to reduce this to a value between 0.5 and 1
(in the Solution Controls panel).
15-92
c Fluent Inc. September 29, 2006
15.17 Postprocessing the Non-Premixed Model Results
Compressibility Effects (non-adiabatic systems only) tells FLUENT to update the den-
sity, temperature, species mass fraction, and enthalpy from the PDF tables to
account for the varying pressure of the system.
Probability Density Function specifies which type of PDF should be used. You can pick
either double delta (the default) or beta in the drop-down list. The double delta PDF
has the advantage of being faster than the beta PDF, and it is the default. The
beta function, however, may be a more accurate representation of the PDF.
Number of Flow Iterations Per Property Update specifies how often the density, temper-
ature, and specific heats are updated from the look-up table. Remember that when
you are calculating two mixture fractions, the updating of properties includes com-
putation of the PDFs and can be quite CPU-intensive. You should generally not
reduce the Number of Flow Iterations Per Property Update below the default value
of 10, unless you are experiencing convergence difficulties.
For simulations involving non-adiabatic multiple strained flamelets, looking up the
four-dimensional PDF tables can be CPU-intensive if a large number of species
exist in the flamelet files. In such cases, the Number of Flow Iterations Per Property
Update controls the updating of the mean molecular weight, which involves looking
up the PDF tables for the species mass fractions.
For the Eulerian unsteady laminar flamelet model, a marker probability equation
is solved in an unsteady mode. Residuals for ufla-prob will be displayed.
c Fluent Inc. September 29, 2006 15-93
Modeling Non-Premixed Combustion
i For the unsteady laminar flamelet model, mean species mass fractions are
displayed for the first fifty species in the flamelet kinetic mechanism.
These quantities can be selected for display in the indicated category of the variable-
selection drop-down list that appears in postprocessing panels. See Chapter 30: Field
Function Definitions for their definitions.
If there are species that you want to have available for postprocessing that would be
ignored by FLUENT due to their low concentration (e.g., CH, CH2 , CH3 for the NOx
calculation), you can force FLUENT to include them using the text interface.
define −→ models −→ species −→non-premixed-combustion
When the console window prompts you with Force Equilibrium Species to
Include..., specify the appropriate species by entering the chemical formula(s) in dou-
ble quotes (e.g., "ch", "ch2").
Note that you will have to first set up the inputs for the fuel and oxidizer before you are
given the option to include the species.
In all cases, the species concentrations are derived from the mixture fraction/variance
field using the look-up tables. Note that temperature and enthalpy can be postprocessed
even when your FLUENT model is an adiabatic non-premixed combustion simulation in
which you have not solved the energy equation. In both the adiabatic and non-adiabatic
cases, the temperature is derived from the look-up table.
Figures 15.17.1 and 15.17.2 illustrate typical results for a methane diffusion flame modeled
using the non-premixed approach.
15-94
c Fluent Inc. September 29, 2006
15.17 Postprocessing the Non-Premixed Model Results
1.00e+00
9.00e-01
8.00e-01
7.00e-01
6.00e-01
5.00e-01
4.00e-01
3.00e-01
2.00e-01
1.00e-01
0.00e+00
1.35e-01
1.22e-01
1.08e-01
9.48e-02
8.12e-02
6.77e-02
5.42e-02
4.06e-02
2.71e-02
1.35e-02
0.00e+00
Figure 15.17.2: Predicted Contours of CO2 Mass Fraction Using the Non-
Premixed Combustion Model
c Fluent Inc. September 29, 2006 15-95
Modeling Non-Premixed Combustion
15-96
c Fluent Inc. September 29, 2006
Chapter 16. Modeling Premixed Combustion
c Fluent Inc. September 29, 2006 16-1
Modeling Premixed Combustion
In premixed flames, the fuel and oxidizer are intimately mixed before they enter the com-
bustion device. Reaction then takes place in a combustion zone that separates unburnt
reactants and burnt combustion products. Partially premixed flames exhibit the proper-
ties of both premixed and diffusion flames. They occur when an additional oxidizer or
fuel stream enters a premixed system, or when a diffusion flame becomes lifted off the
burner so that some premixing takes place prior to combustion.
Premixed and partially premixed flames can be modeled using FLUENT’s finite-rate/eddy-
dissipation formulation (see Chapter 14: Modeling Species Transport and Finite-Rate
Chemistry). If finite-rate chemical kinetic effects are important, the EDC model (see
Section 14.1.1: The Eddy-Dissipation-Concept (EDC) Model) or the composition PDF
transport model (see Chapter 18: Modeling a Composition PDF Transport Problem)
can be used. For information about FLUENT’s partially premixed combustion model,
see Chapter 17: Modeling Partially Premixed Combustion. If the flame is perfectly pre-
mixed, so only one stream at one equivalence ratio enters the combustor, it is possible to
use the premixed combustion model, as described in this chapter.
16.1.2 Limitations
The following limitations apply to the premixed combustion model:
• You must use the pressure-based solver. The premixed combustion model is not
available with either of the density-based solvers.
• The premixed combustion model is valid only for turbulent, subsonic flows. These
types of flames are called deflagrations. Explosions, also called detonations, where
the combustible mixture is ignited by the heat behind a shock wave, can be modeled
with the finite-rate model using the density-based solver. See Chapter 14: Modeling
Species Transport and Finite-Rate Chemistry for information about the finite-rate
model.
• The premixed combustion model cannot be used in conjunction with the pollutant
(i.e., soot and NOx ) models. However, a perfectly premixed system can be modeled
with the partially premixed model (see Chapter 17: Modeling Partially Premixed
Combustion), which can be used with the pollutant models.
• You cannot use the premixed combustion model to simulate reacting discrete-phase
particles, since these would result in a partially premixed system. Only inert par-
ticles can be used with the premixed combustion model.
16-2
c Fluent Inc. September 29, 2006
16.2 Premixed Combustion Theory
∂ µt
(ρc) + ∇ · (ρ~v c) = ∇ · ∇c + ρSc (16.2-1)
∂t Sct
where
c = mean reaction progress variable
Sct = turbulent Schmidt number
Sc = reaction progress source term (s−1 )
The progress variable is defined as a normalized sum of the product species,
n
X
Yi
i=1
c= n
X
(16.2-2)
Yi,eq
i=1
where
n = number of products
Yi = mass fraction of product species i
Yi,eq = equilibrium mass fraction of product species i
Based on this definition, c = 0 where the mixture is unburnt and c = 1 where the mixture
is burnt:
• c = 0: unburnt mixture
• c = 1: burnt mixture
c Fluent Inc. September 29, 2006 16-3
Modeling Premixed Combustion
The value of c is defined as a boundary condition at all flow inlets. It is usually specified
as either 0 (unburnt) or 1 (burnt).
The mean reaction rate in Equation 16.2-1 is modeled as [415]
where
ρu = density of unburnt mixture
Ut = turbulent flame speed
Other mean reaction rate models exist [42], and can be specified using user-defined func-
tions. See the separate UDF Manual for details about user-defined functions.
• laminar flame speed, which is, in turn, determined by the fuel concentration, tem-
perature, and molecular diffusion properties, as well as the detailed chemical kinet-
ics
• flame front wrinkling and stretching by large eddies, and flame thickening by small
eddies
In FLUENT, the turbulent flame speed is computed using a model for wrinkled and
thickened flame fronts [415]:
1/2 1/4
Ut = A(u0 )3/4 Ul α−1/4 `t (16.2-4)
1/4
0 τt
= Au (16.2-5)
τc
where
A = model constant
u0 = RMS (root-mean-square) velocity (m/s)
Ul = laminar flame speed (m/s)
α = k/ρcp = molecular heat transfer coefficient of unburnt
mixture (thermal diffusivity) (m2 /s)
`t = turbulence length scale (m)
τt = `t /u0 = turbulence time scale (s)
τc = α/Ul2 = chemical time scale (s)
16-4
c Fluent Inc. September 29, 2006
16.2 Premixed Combustion Theory
(u0 )3
`t = CD (16.2-6)
where is the turbulence dissipation rate.
The model is based on the assumption of equilibrium small-scale turbulence inside the
laminar flame, resulting in a turbulent flame speed expression that is purely in terms of
the large-scale turbulent parameters. The default value of 0.52 for A is recommended
by [415], and is suitable for most premixed flames. The default value of 0.37 for CD
should also be suitable for most premixed flames.
The model is strictly applicable when the smallest turbulent eddies in the flow (the
Kolmogorov scales) are smaller than the flame thickness, and penetrate into the flame
zone. This is called the thin reaction zone combustion region, and can be quantified by
Karlovitz numbers, Ka, greater than unity. Ka is defined as
tl vη2
Ka = = 2 (16.2-7)
tη Ul
where
tl = characteristic flame time scale
tη = smallest (Kolmogorov) turbulence time scale
vη = (ν)1/4 = Kolmogorov velocity
ν = kinematic viscosity
Lastly, the model is valid for premixed systems where the flame brush width increases in
time, as occurs in most industrial combustors. Flames that propagate for a long period
of time equilibrate to a constant flame width, which cannot be captured in this model.
c Fluent Inc. September 29, 2006 16-5
Modeling Premixed Combustion
`t = Cs ∆ (16.2-8)
u0 = `t τsgs
−1
(16.2-9)
−1
where τsgs is the sub-grid scale mixing rate (inverse of the sub-grid scale time scale),
given in Equation 14.1-28.
!γ !β
Tu pu
Ul = Ul,ref (16.2-10)
Tu,ref pu,ref
In Equation 16.2-10, Tu and pu are the unburnt reactant temperature and pressure ahead
of the flame, Tu,ref = 298K and pu,ref = 1atm.
The reference laminar flame speed, Ul,ref , is calculated from
Ul,ref = C1 + C2 (φ − C3 )2 (16.2-11)
where φ is the equivalence ratio ahead of the flame front, and C1 , C2 and C3 are fuel-
specific constants. The exponents γ and β are calculated from,
γ = 2.18 − 0.8(φ − 1)
(16.2-12)
β = −0.16 + 0.22(φ − 1)
The Meghalchi-Keck laminar flame speeds are available for fuel-air mixtures of methane,
methanol, propane, iso-octane and indolene fuels.
16-6
c Fluent Inc. September 29, 2006
16.2 Premixed Combustion Theory
where erfc is the complementary error function, and σ and cr are defined below.
σ is the standard deviation of the distribution of :
!
L
σ = µstr ln (16.2-14)
η
where µstr is the stretch factor coefficient for dissipation pulsation, L is the turbulent
integral length scale, and η is the Kolmogorov micro-scale. The default value of 0.26 for
µstr (measured in turbulent non-reacting flows) is recommended by [415], and is suitable
for most premixed flames.
cr is the turbulence dissipation rate at the critical rate of strain [415]:
2
cr = 15νgcr (16.2-15)
c Fluent Inc. September 29, 2006 16-7
Modeling Premixed Combustion
By default, gcr is set to a very high value (1 × 108 ) so no flame stretching occurs. To
include flame stretching effects, the critical rate of strain gcr should be adjusted based on
experimental data for the burner. Numerical models can suggest a range of physically
plausible values [415], or an appropriate value can be determined from experimental data.
A reasonable model for the critical rate of strain gcr is
BUl2
gcr = (16.2-16)
α
where B is a constant (typically 0.5) and α is the thermal diffusivity. Equation 16.2-16
can be implemented in FLUENTusing a property user-defined function. See the separate
UDF Manual for details about user-defined functions.
Preferential Diffusion
Preferential diffusion accounts for the effect of variations in fuel molecular diffusion co-
efficients on heat release intensity in premixed turbulent combustion. Inclusion of this
effect is important for simulation of combustion with light fuels (e.g., hydrogen) or heavy
fuels (e.g., evaporated oil). The model for preferential diffusion is based on the concept of
leading points, formulated in [189]. The authors of [189] derived formulas for the changes
in mixture composition within the combustion zone due to the difference in the molecular
diffusivities of fuel, Dfuel , and oxidizer, Dox . These formulas are rewritten in [417] as
λ0 (1+Cst )d+d−1
d+Cst
λlp ≥ 1
λlp = (16.2-17)
λ0 (Cst +d)
λlp < 1
1+λ0 Cst +Cst (1−λ0 d)
where
Cst = mass stoichiometric coefficient
λ0 = stoichiometric ratio of unburnt mixture composition
λlp = stoichiometric ratio of leading-point composition
and
s
Dox
d= (16.2-18)
Dfuel
The concept of leading points is applied to the FLUENT model by using λlp instead of λ0
for the formulation of the laminar flame speed, Ul , or the molecular heat transfer coeffi-
cient, α. This simple approach results in reasonable agreement with the measurements of
mass combustion rates in stirred bombs [417], without the need for additional empirical
parameters.
16-8
c Fluent Inc. September 29, 2006
16.2 Premixed Combustion Theory
Gradient Diffusion
Volume expansion at the flame front can cause counter-gradient diffusion. This effect
becomes more pronounced when the ratio of the reactant density to the product den-
sity is large, and the turbulence intensity is small. It can be quantified by the ratio
(ρu /ρb )(Ul /I), where ρu , ρb , Ul , and I are the unburnt and burnt densities, laminar flame
speed, and turbulence intensity, respectively. Values of this ratio greater than one indi-
cate a tendency for counter-gradient diffusion, and the premixed combustion model may
be inappropriate. Recent arguments for the validity of the turbulent-flame-speed model
in such regimes can be found in Zimont et al. [416].
1/4
ρSc = AGρu I 3/4 [Ul (λlp )]1/2 [α(λlp )]−1/4 `t |∇c| (16.2-19)
" #1/4
τt
= AGρu I |∇c| (16.2-20)
τc (λlp )
c Fluent Inc. September 29, 2006 16-9
Modeling Premixed Combustion
Sh,rad represents the heat losses due to radiation and Sh,chem represents the heat gains
due to chemical reaction:
where
Sc = normalized average rate of product formation (s−1 )
Hcomb = heat of combustion for burning 1 kg of fuel (J/kg)
Yfuel = fuel mass fraction of unburnt mixture
ρb Tb = ρu Tu (16.2-24)
where the subscript u refers to the unburnt cold mixture, and the subscript b refers to
the burnt hot mixture. The required inputs are the unburnt density (ρu ), the unburnt
temperature (Tu ), and the burnt adiabatic flame temperature (Tb ).
For the non-adiabatic model, you can choose to either include or exclude pressure vari-
ations in the ideal gas equation of state. If you choose to ignore pressure fluctuations,
FLUENT calculates the density from
ρT = ρu Tu (16.2-25)
where T is computed from the energy transport equation, Equation 16.2-22. The required
inputs are the unburnt density (ρu ) and the unburnt temperature (Tu ). Note that, from
the incompressible ideal gas equation, the expression ρu RTu /pop may be considered to
16-10
c Fluent Inc. September 29, 2006
16.3 Using the Premixed Combustion Model
be the effective molecular weight of the gas, where R is the gas constant and pop is the
operating pressure.
If you want to include pressure fluctuations for a compressible gas, you will need to input
the effective molecular weight of the gas. The density will be calculated from the ideal
gas equation of state.
1. Enable the premixed turbulent combustion model and set the related parameters.
Define −→ Models −→Species...
2. Define the physical properties for the unburnt and burnt material in the domain.
Define −→Materials...
3. Set the value of the progress variable c at flow inlets and exits.
Define −→Boundary Conditions...
c Fluent Inc. September 29, 2006 16-11
Modeling Premixed Combustion
16-12
c Fluent Inc. September 29, 2006
16.3 Using the Premixed Combustion Model
c Fluent Inc. September 29, 2006 16-13
Modeling Premixed Combustion
For non-adiabatic models, you will instead specify the Heat of Combustion per unit mass
of fuel and the Unburnt Fuel Mass Fraction (Hcomb and Yfuel in Equation 16.2-23). FLUENT
will use these values to compute the heat losses or gains due to combustion, and include
these losses/gains in the energy equation that it uses to calculate temperature. The Heat
of Combustion can be specified only as a constant value, but you can specify a constant
value or use a user-defined function for the Unburnt Fuel Mass Fraction.
To specify the density for a premixed combustion model, choose premixed-combustion in
the Density drop-down list and set the Density of Unburnt Reactants and Temperature of
Unburnt Reactants (Tu and ρu in Equation 16.2-24). For adiabatic premixed models, your
input for Temperature of Unburnt Reactants (Tu ) will also be used in Equation 16.2-21 to
calculate the temperature.
The other properties specified for the unburnt mixture are viscosity, specific heat, thermal
conductivity, and any other properties related to other models that are being used in
conjunction with the premixed combustion model.
• c = 0: unburnt mixture
• c = 1: burnt mixture
16-14
c Fluent Inc. September 29, 2006
16.3 Using the Premixed Combustion Model
• Progress Variable
• Damkohler Number
• Stretch Factor
• Static Temperature
These variables are contained in the Premixed Combustion... category of the variable
selection drop-down list that appears in postprocessing panels. See Chapter 30: Field
Function Definitions for a complete list of flow variables, field functions, and their def-
initions. Chapters 28 and 29 explain how to generate graphics displays and reports of
data.
Note that Static Temperature and Adiabatic Flame Temperature will appear in the Premixed
Combustion... category only for adiabatic premixed combustion calculations; for non-
adiabatic calculations, Static Temperature will appear in the Temperature... category.
Unburnt Fuel Mass Fraction will appear only for non-adiabatic models.
c Fluent Inc. September 29, 2006 16-15
Modeling Premixed Combustion
• To determine the concentration of a species in the burnt mixture, define the custom
function Yb c, where Yb is the mass fraction for the species in the burnt mixture
(specified by you) and c is the value of the progress variable (computed by FLUENT).
See Section 30.5: Custom Field Functions for details about defining and using custom
field functions.
16-16
c Fluent Inc. September 29, 2006
Chapter 17. Modeling Partially Premixed Combustion
FLUENT provides a partially premixed combustion model that is based on the non-
premixed combustion model described in Chapter 15: Modeling Non-Premixed Combustion
and the premixed combustion model described in Chapter 16: Modeling Premixed Combustion.
Information about the partially premixed combustion model is presented in the following
sections:
17.1.2 Limitations
The underlying theory, assumptions, and limitations of the non-premixed and premixed
models apply directly to the partially premixed model. In particular, the single-mixture-
fraction approach is limited to two inlet streams, which may be pure fuel, pure oxidizer,
or a mixture of fuel and oxidizer. The two-mixture-fraction model extends the number of
inlet streams to three, but incurs a major computational overhead. See Sections 15.1.1
and 16.1.2 for additional limitations.
c Fluent Inc. September 29, 2006 17-1
Modeling Partially Premixed Combustion
17.2 Theory
The partially premixed model solves a transport equation for the mean reaction progress
variable, c (to determine the position of the flame front), as well as the mean mixture
fraction, f and the mixture fraction variance, f 0 2 . Ahead of the flame (c = 0), the fuel
and oxidizer are mixed but unburnt, and behind the flame (c = 1), the mixture is burnt.
Z 1 Z 1
φ= φ(f, c)p(f, c) df dc (17.2-1)
0 0
Under the assumption of thin flames, so that only unburnt reactants and burnt products
exist, the mean scalars are determined from
Z 1 Z 1
φ=c φb (f )p(f ) df + (1 − c) φu (f )p(f ) df (17.2-2)
0 0
3
X n
φu = cn f (17.2-3)
n=0
Since the unburnt scalars are smooth and slowly-varying functions of f , these polynomial
fits are generally accurate. Access to polynomials is provided in case you want to modify
them.
17-2
c Fluent Inc. September 29, 2006
17.3 Using the Partially Premixed Combustion Model
i These flame speed fits are accurate for air mixtures with pure fuels of H2 ,
CH4 , C2 H2 , C2 H4 , C2 H6 , and C3 H8 . If an oxidizer other than air or a
different fuel is used, if the mixture is rich, or if the unburnt temperature
or pressure is outside the range of validity, then the curve fits will be in-
correct. Although FLUENT defaults to a methane-air mixture, the laminar
flame speed polynomial and the rich and lean limits are most likely incor-
rect. The laminar flame speed polynomial should be determined from other
sources, such as measurements from the relevant literature or detailed 1D
simulations, and then input into FLUENT.
c Fluent Inc. September 29, 2006 17-3
Modeling Partially Premixed Combustion
3. Generate a PDF look-up table. You can follow the procedure for non-premixed
combustion described in Section 15.6: Steps in Using the Non-Premixed Model.
17-4
c Fluent Inc. September 29, 2006
17.3 Using the Partially Premixed Combustion Model
5. Set the values for the mean progress variable ( c) and the mean mixture fraction
(f ) and its variance (f 0 2 ) at flow inlets and exits. (For problems that include
a secondary stream, you will define boundary conditions for the mean secondary
partial fraction and its variance as well.)
Define −→Boundary Conditions...
See Section 15.13: Defining Non-Premixed Boundary Conditions for guidelines on
setting mixture fraction and variance conditions, as well as thermal and velocity
conditions at inlets.
For example, if the premixed inlet of methane and air is at an equivalence ratio of
0.3, you can
(a) specify the mass fraction of the fuel composition of YCH4 = 0.017, YO2 = 0.236,
and YN2 = 0.747 in the Boundary tab and f = 1 and c = 0 in the boundary
conditions panel.
(b) specify the mass fraction of the fuel composition of YCH4 = 1.0 in the Boundary
tab and f = 0.017 and c = 0 in the boundary conditions panel.
Method (a) is preferred since it will have more points in the flame zone than
method (b).
c Fluent Inc. September 29, 2006 17-5
Modeling Partially Premixed Combustion
17-6
c Fluent Inc. September 29, 2006
17.3 Using the Partially Premixed Combustion Model
For each polynomial function of f under Partially Premixed Mixture Properties (Unburnt
Density, Unburnt Temperature, Unburnt Specific Heat, and Unburnt Thermal Diffusivity),
you can specify values for Coefficient 1, Coefficient 2, Coefficient 3, and Coefficient 4
(the polynomial coefficients in Equation 17.2-3) in the appropriate Quadratic of Mixture
Fraction panel (Figure 17.3.2). To open this panel, click the appropriate Edit... button
in the Premix tab.
You can also specify the piecewise-linear Mixture Fraction and its corresponding laminar
Flame Speed for 10 different points in the Piecewise Linear panel (Figure 17.3.3). The first
set of values is the lower limit and the last set of values is the upper limit. Outside of
either limit, the laminar flame speed is constant and equal to that limit. To open this
panel, click the Edit... button next to Laminar Flame Speed in the Premix tab.
i Note also that if you choose to use a user-defined function for the lam-
inar flame speed in the Materials panel, the piecewise-linear fit becomes
irrelevant.
c Fluent Inc. September 29, 2006 17-7
Modeling Partially Premixed Combustion
17-8
c Fluent Inc. September 29, 2006
Chapter 18. Modeling a Composition PDF Transport
Problem
FLUENT provides a composition PDF transport model for modeling finite-rate chemistry
in turbulent flames. Information about this model is presented in the following sections:
• Section 18.3: Steps for Using the Composition PDF Transport Model
c Fluent Inc. September 29, 2006 18-1
Modeling a Composition PDF Transport Problem
" * + #
∂ ∂ ∂ ∂ h 00 i ∂ 1 ∂Ji,k
(ρP ) + (ρui P ) + (ρSk P ) = − ρhui |ψiP + ρ ψ P
∂t ∂xi ∂ψk ∂xi ∂ψk ρ ∂xi
(18.2-1)
where
P = Favre joint PDF of composition
ρ = mean fluid density
ui = Favre mean fluid velocity vector
Sk = reaction rate for species k
ψ = composition space vector
00
ui = fluid velocity fluctuation vector
Ji,k = molecular diffusion flux vector
The notation of h. . .i denotes expectations, and hA|Bi is the conditional probability of
event A, given the event B occurs.
In Equation 18.2-1, the terms on the left-hand side are closed, while those on the right-
hand side are not and require modeling. The first term on the left-hand side is the
unsteady rate of change of the PDF, the second term is the change of the PDF due to
convection by the mean velocity field, and the third term is the change due to chemical
reactions. The principal strength of the PDF transport approach is that the highly-non-
linear reaction term is completely closed and requires no modeling. The two terms on
the right-hand side represent the PDF change due to scalar convection by turbulence
(turbulent scalar flux), and molecular mixing/diffusion, respectively.
The turbulent scalar flux term is unclosed, and is modeled in FLUENT by the gradient-
diffusion assumption
!
∂ h 00 i ∂ µt ∂P
− ρhui |ψiP = (18.2-2)
∂xi ∂xi ρSct ∂xi
where µt is the turbulent viscosity and Sct is the turbulent Schmidt number. A turbulence
model, as described in Chapter 12: Modeling Turbulence, is required for composition PDF
transport simulations, and this determines µt .
18-2
c Fluent Inc. September 29, 2006
18.2 Composition PDF Transport Theory
Since single-point PDFs are described, information about neighboring points is missing
and all gradient terms, such as molecular mixing, are unclosed and must be modeled. The
mixing model is critical because combustion occurs at the smallest molecular scales when
reactants and heat diffuse together. Modeling mixing in PDF methods is not straightfor-
ward, and is the weakest link in the PDF transport approach. See Section 18.2.3: Particle
Mixing for a description of the mixing models.
1/2 1
xi = x0i + u0i ∆t (18.2-3)
2
where
xi = particle position vector
ui = Favre mean fluid-velocity vector at the particle position
∆t = particle time step
For unsteady flows, the particle time step is the physical time step. For steady-state
flows, local time steps are calculated for each cell as
c Fluent Inc. September 29, 2006 18-3
Modeling a Composition PDF Transport Problem
where
∆tconv = convection number × ∆x / (cell fluid velocity)
∆tdiff = diffusion number × (∆x)2 / (cell turbulent diffusivity)
∆tmix = mixing number × turbulent time scale
∆x = characteristic cell length = volume1/D where D is the problem dimension
After the first convection step, all other sub-processes, including diffusion and reaction
are treated. Finally, the second convection step is calculated as
s !
1/2 1/2 1 1 ∂µt 2µt
x1i = xi + ∆t ui − u0i + + ξi (18.2-5)
2 ρSct ∂xi ρ∆tSct
where
ρ = mean cell fluid density
ui = mean fluid-velocity vector at the particle position
µt = turbulent viscosity
Sct = turbulent Schmidt number
ξi = standardized normal random vector
1.5Cφ N ∆t
Npair = (18.2-6)
τt
where
N = total number of particles in the cell
Cφ = mixing constant (default = 2)
τt = turbulent time scale (for the k- model this is k/)
The algorithm in [264] is used for the general case of variable particle mass.
18-4
c Fluent Inc. September 29, 2006
18.2 Composition PDF Transport Theory
For each particle pair, a uniform random number ξ is selected and each particle’s com-
position φ is moved toward the pair’s mean composition by a factor proportional to ξ:
(φ0i mi + φ0j mj )
φ1i = (1 − ξ)φ0i + ξ
(mi + mj )
(φ0 mi + φ0j mj )
φ1j = (1 − ξ)φ0j + ξ i (18.2-7)
(mi + mj )
where φi and φj are the composition vectors of particles i and j, and mi and mj are the
masses of particles i and j.
φ1 = φ0 − 1 − e−0.5Cφ /τt φ0 − φ̃ (18.2-8)
where φ0 is the composition before mixing, φ1 is the composition after mixing and φ̃ is
the Favre mean-composition vector at the particle’s location.
Liquid Reactions
Reactions in liquids often occur at low turbulence levels (small Re), among reactants
with low diffusivities (large Sc). For such flows, the mixing constant default of Cφ = 2
overestimates the mixing rate. The Liquid Micro-Mixing option interpolates Cφ from
model turbulence [292] and scalar [113] spectra.
c Fluent Inc. September 29, 2006 18-5
Modeling a Composition PDF Transport Problem
φ = (Y1 , Y2 , . . . , YN , T, p) (18.2-9)
where Yk is the kth species mass fraction, T is the temperature and p the pressure.
For the reaction fractional step, the reaction source term is integrated as
Z ∆t
φ1 = φ0 + Sdt (18.2-10)
0
where S is the chemical source term. Most realistic chemical mechanisms consist of tens
of species and hundreds of reactions. Typically, reaction does not occur until an ignition
temperature is reached, but then proceeds very quickly until reactants are consumed.
Hence, some reactions have very fast time scales, on the order of 10−10 s, while others
have much slower time scales, on the order of 1 s. This time-scale disparity results
in numerical stiffness, which means that extensive computational work is required to
integrate the chemical source term in Equation 18.2-10. In FLUENT, the reaction step
(i.e., the calculation of φ1 ) can be performed either by Direct Integration or by In-Situ
Adaptive Tabulation (ISAT), as described in the following paragraphs.
A typical steady-state PDF transport simulation in FLUENT may have 50000 cells, with
20 particles per cell, and require 1000 iterations to converge. Hence, at least 109 stiff
ODE integrations are required. Since each integration typically takes tens or hundreds
of milliseconds, on average, the direct integration of the chemistry is extremely CPU-
demanding.
For a given reaction mechanism, Equation 18.2-10 may be considered as a mapping.
With an initial composition vector φ0 , the final state φ1 depends only on φ0 and the
mapping time ∆t. In theory, if a table could be built before the simulation, covering all
realizable φ0 states and time steps, the integrations could be avoided by table look-ups.
In practice, this a priori tabulation is not feasible since a full table in N + 3 dimensions
(N species, temperature, pressure and time-step) is required. To illustrate this, consider
a structured table with M points in each dimension. The required table size is M N +3 ,
and for a conservative estimate of M = 10 discretization points and N = 7 species, the
table would contain 1010 entries.
On closer examination, the full storage of the entire realizable space is very wasteful
because most regions are never accessed. For example, it would be unrealistic to find a
composition of YOH = 1 and T = 300K in a real combustor. In fact, for steady-state, 3D
laminar simulations, the chemistry can be parameterized by the spatial position vector.
Thus, mappings must lie on a three dimensional manifold within the N + 3 dimensional
composition space. It is, hence, sufficient to tabulate only this accessed region of the
composition space.
18-6
c Fluent Inc. September 29, 2006
18.2 Composition PDF Transport Theory
The accessed region, however, depends on the particular chemical mechanism, molecular
transport properties, flow geometry, and boundary conditions. For this reason, the ac-
cessed region is not known before the simulation and the table cannot be preprocessed.
Instead, the table must be built during the simulation, and this is referred to as in-situ
tabulation.
FLUENT employs ISAT [290] to dynamically tabulate the chemistry mappings and accel-
erate the time to solution. ISAT (In-Situ Adaptive Tabulation) is a method to tabulate
the accessed composition space region “on the fly” (in-situ) with error control (adaptive
tabulation). When ISAT is used correctly, accelerations of two to three orders of mag-
nitude are typical. However, it is important to understand how ISAT works to use it
optimally.
• the mapping φ1
• a hyper-ellipsoid of accuracy
The next reaction mapping is calculated as follows: The initial composition vector for
this particle is denoted φ0q , where the subscript q denotes a query. The existing table
(consisting of one entry at this stage) is queried by interpolating the new mapping as
The mapping gradient is hence used to linearly interpolate the table when queried. The
ellipsoid of accuracy (EOA) is the elliptical space around the table point φ0 where the
linear approximation to the mapping is accurate to the specified tolerance, tol .
c Fluent Inc. September 29, 2006 18-7
Modeling a Composition PDF Transport Problem
If the query point φ1q is within the EOA, then the linear interpolation by Equation 18.2-11
is sufficiently accurate, and the mapping is retrieved. Otherwise, a direct integration (DI)
is performed and the mapping error = |B(φ1DI − φ1q )| is calculated (here, B is a scaling
matrix). If this error is smaller than the specified error tolerance ( < tol ), then the
original interpolation φ1q is accurate and the EOA is grown so as to include φ0q . If not, a
new table entry is added.
Table entries are stored as leaves in a binary tree. When a new table entry is added,
the original leaf becomes a node with two leaves—the original leaf and the new entry.
A cutting hyper-plane is created at the new node, so that the two leaves are on either
side of this cutting plane. A composition vector φ0q will hence lie on either side of this
hyper-plane.
The ISAT algorithm is summarized as follows:
1. The ISAT table is queried for every composition vector during the reaction step.
2. For each query φ0q the table is traversed to identify a leaf whose composition φ0 is
close to φ0q .
3. If the query composition φ0q lies within the EOA of the leaf, then the mapping φ1q
is retrieved using interpolation by Equation 18.2-11. Otherwise, Direct Integration
(DI) is performed and the error between the DI and the linear interpolation is
measured.
4. If the error is less than the tolerance, then the ellipsoid of accuracy is grown and
the DI result is returned. Otherwise, a new table entry is added.
At the start of the simulation, most operations are adds and grows. Later, as more of
the composition space is tabulated, retrieves become frequent. Since adds and grows are
very slow whereas retrieves are relatively quick, initial FLUENT iterations are slow but
accelerate as the table is built.
18-8
c Fluent Inc. September 29, 2006
18.3 Steps for Using the Composition PDF Transport Model
3. Enable the Composition PDF Transport model and set the related parameters.
Define −→ Models −→ Species −→Transport & Reaction...
4. Check the material properties in the Materials panel and the reaction parameters
in the Reactions panel. The default settings should be sufficient.
Define −→Materials...
7. Initialize the solution. You may need to patch a high-temperature region to ignite
the flame.
Solve −→ Initialize −→Initialize...
Solve −→ Initialize −→Patch...
c Fluent Inc. September 29, 2006 18-9
Modeling a Composition PDF Transport Problem
Figure 18.3.1: The Species Model Panel for Composition PDF Transport
When you turn on Composition PDF Transport, the panel will expand to show the relevant
inputs.
18-10
c Fluent Inc. September 29, 2006
18.3 Steps for Using the Composition PDF Transport Model
The stiff ODE integrator has two error tolerances—the Absolute Error Tolerance and the
Relative Error Tolerance under ODE Parameters—that are set to default values of 10−8
and 10−9 respectively. These should be sufficient for most applications, although these
tolerances may need to be decreased for some cases such as ignition. For problems in
which the accuracy of the chemistry integrations is crucial, it may be useful to test
the accuracy of the error tolerances in simple zero-dimensional and one-dimensional test
simulations with parameters comparable to those in the full simulation.
c Fluent Inc. September 29, 2006 18-11
Modeling a Composition PDF Transport Problem
ISAT Parameters
If you have selected ISAT under Integration Method, you will then be able to set additional
ISAT parameters.
The numerical error in the ISAT table is controlled by the ISAT Error Tolerance under
Integration Parameters. It may help to increase this during the initial transient solution. A
larger error tolerance implies larger EOAs, greater error, but smaller tables and quicker
run times. The default ISAT Error Tolerance of 0.001 may be sufficiently accurate for
temperature and certain major species, but will most likely need to be decreased to get
accurate minor species and pollutant predictions.
i After your simulation is converged, you should always decrease the ISAT
Error Tolerance and perform further iterations until the species that you
are interested in are unchanged.
The Max. Storage is the maximum RAM used by the ISAT table, and has a default value
is 100 MB. It is recommended that you set this parameter to a large fraction of the
available memory on your computer.
You can also specify the Number of Trees and the Verbosity. The Number of Trees is
the number of sub-tables within the ISAT table. For simulations with a large number
of species, ISAT efficiency may be improved by increasing the number of trees from
the default value of 1. The value of Verbosity allows you to monitor ISAT performance
in different levels of detail. See Section 18.3.8: Monitoring ISAT for details about this
parameter.
To purge the ISAT table, click on Clear ISAT Table. See Section 18.3.9: Using ISAT
Efficiently for more details about using ISAT efficiently.
18-12
c Fluent Inc. September 29, 2006
18.3 Steps for Using the Composition PDF Transport Model
Particles Per Cell sets the number of PDF particles per cell. Higher values of this
parameter will reduce statistical error, but increase computational time.
Local Time Stepping toggles the calculation of local time steps. If this option is dis-
abled, then you will need to specify the Time Step directly (see Equation 18.2-4).
If Local Time Stepping is enabled, then you can specify the following parameters:
Convection # specifies the particle convection number (see ∆tconv in Equation 18.2-4).
Diffusion # specifies the particle diffusion number (see ∆tdiff in Equation 18.2-4).
Mixing # specifies the particle mixing number (see ∆tmix in Equation 18.2-4).
c Fluent Inc. September 29, 2006 18-13
Modeling a Composition PDF Transport Problem
Figure 18.3.3: The Solution Controls Panel for Composition PDF Transport
18-14
c Fluent Inc. September 29, 2006
18.3 Steps for Using the Composition PDF Transport Model
Averaging reduces statistical fluctuations and stabilizes the solution. However, FLUENT
often indicates convergence of the flow field before the composition fields (temperatures
and species) are converged. You should lower the default convergence criteria in the
Residual Monitors panel, and always check that the Total Heat Transfer Rate in the Flux
Reports panel is balanced. It is also recommended that you monitor temperature/species
on outlet boundaries and ensure that these are steady.
By default FLUENT performs one finite-volume iteration and then one PDF transport
particle step. This should be optimal for most cases; however, control is provided to
perform multiple finite-volume iterations (Number of FV Sub-Iterations) and multiple
PDF transport particle steps (Number of PDF Sub-Iterations).
c Fluent Inc. September 29, 2006 18-15
Modeling a Composition PDF Transport Problem
By increasing the Iterations in Time Average, fluctuations are smoothed out and residuals
level off at smaller values. However, the composition PDF method requires a larger
number of iterations to reach steady-state. It is recommended that you use the default
of 50 Iterations in Time Average until the steady-state solution is obtained. Then, to
gradually decrease the residuals, increase the Iterations in Time Average by setting a Time
Average Increment to a value from 0 to 1 (the value 0.2 is recommended). Subsequent
iterations will increase the Iterations in Time Average by the Time Average Increment.
• cumulative wall-clock time in seconds (i.e., total CPU time in ISAT plus total CPU
time out of ISAT plus CPU idle time)
The ISAT Verbosity option of 2 is for expert users who are familiar with ISATAB v3.0 [291].
FLUENT writes out the following files for Verbosity = 2:
• tablename ODE accuracy.out reports the accuracy of the ODE integrations. For
every new ISAT table entry, if the maximum absolute error in temperature or
species is greater than any previous error, a line is written to this file. This line
consists of the total number of ODE integrations performed up to this time, the
maximum absolute species error, the absolute temperature error, the initial tem-
perature and the time step.
18-16
c Fluent Inc. September 29, 2006
18.3 Steps for Using the Composition PDF Transport Model
Initially, the table name is equal by default to the current case name, and is changed as
the table is written or read.
In parallel, each processor builds its own ISAT table. If Verbosity is enabled in parallel,
each compute node writes out the Verbosity file(s) with the node ID number appended
to the file name.
i The numerical error in the ISAT table is controlled by the ISAT Error Tol-
erance, which has a default value of 0.001. This value is relatively large,
which allows faster convergence times. However, once the solution has con-
verged, it is important to reduce this ISAT Error Tolerance and re-converge.
This process should be repeated until the species that you are interested
in modeling are unchanged. Note that as the error tolerance is decreased,
the memory and time requirements to build the ISAT table will increase
substantially. There is a large performance penalty in specifying an error
tolerance smaller than is needed to achieve acceptable accuracy, and the
error tolerance should be decreased gradually and judiciously.
i Once the ISAT table is full, all queries that cannot be retrieved are directly
integrated. Since retrieves are much quicker than direct integrations, larger
ISAT tables are faster. Hence, you should set the ISAT Max. Storage to a
large fraction of the available memory on your computer.
During the initial iterations, before a steady-state solution is attained, transient com-
position states occur that are not present in the steady-state solution. For example,
you might patch a high temperature region in a cold fuel-air mixing zone to ignite the
flame, whereas the converged solution never has hot reactants without products. Since
all states that are realized in the simulation are tabulated in ISAT, these initial mappings
are wasteful of memory, and can degrade ISAT performance. If the table fills the allo-
cated memory and contains entries from an initial transient that are no longer accessed,
it may be beneficial to purge the ISAT table. This is achieved by either clearing it in the
Integration Parameters panel, or saving your case and data files, exiting FLUENT, then
restarting FLUENT and reading in the case and data.
The optimum ISAT table is achieved when a new table is started from the converged
FLUENT solution. If you are simulating a range of parametric cases where the flame
changes gradually, it is likely beneficial to create such an optimum table for the first
case, and then save it.
File −→ Write −→ISAT Table...
c Fluent Inc. September 29, 2006 18-17
Modeling a Composition PDF Transport Problem
Subsequent runs can start from this table by reading it into memory.
File −→ Read −→ISAT Table...
See Section 18.3.10: Reading and Writing ISAT Tables in Parallel for information about
reading and writing ISAT tables in parallel.
ISAT efficiency may be increased by employing multiple tables (also called trees). In-
creasing the number of trees has the effect of decreasing the table size and hence the
time needed to build the table, but increasing the retrieve time. Hence, for long simu-
lations with simple chemistry, a small number of tables may be optimal. On the other
hand, for short simulations with complex chemistry, computers with limited memory, or
simulations with a small ISAT error tolerance, a large number of trees is likely optimal
since most of the CPU time is spent building the table.
From experience, ISAT performs very well on premixed turbulent flames, where the
range of composition states are smaller than in non-premixed flames. ISAT performance
degrades in flames with large time-scales, where more work is required in the ODE
integrator.
• Parallel nodes can read in corresponding ISAT tables saved from a previous parallel
simulation. The appended node ID should be removed from the input file name.
For the above example, the file name my name should be specified in the Select File
dialog box. You should never read ISAT tables generated from a parallel simulation
with a different number of parallel nodes.
• All nodes can read one unique ISAT table. You might use this approach if you
have a large table from a serial simulation. FLUENT first checks to see if the exact
filename that you specified exists, and if it does, all nodes will read this one file.
18-18
c Fluent Inc. September 29, 2006
18.3 Steps for Using the Composition PDF Transport Model
• Static Temperature
c Fluent Inc. September 29, 2006 18-19
Modeling a Composition PDF Transport Problem
PNc
Tp mp
Tinstant = Pi=1
Nc (18.3-1)
i=1 mp
where
Tinstant = instantaneous cell temperature at the present iteration
Nc = number of particles in the cell
Tp = particle temperature
mp = particle mass
Mean and root-mean-square (RMS) temperatures are calculated in FLUENT by averag-
ing instantaneous temperatures over a user-specified number of previous iterations (see
Section 18.3.7: Monitoring the Solution).
Note that for steady-state simulations, instantaneous temperatures and species represent
a Monte Carlo realization and are as such unphysical. Mean and RMS quantities are
much more useful.
18-20
c Fluent Inc. September 29, 2006
18.3 Steps for Using the Composition PDF Transport Model
Figure 18.3.5: The Particle Tracks Panel for Tracking PDF Particles
c Fluent Inc. September 29, 2006 18-21
Modeling a Composition PDF Transport Problem
18-22
c Fluent Inc. September 29, 2006
Chapter 19. Modeling Engine Ignition
This chapter discusses the engine ignition models available in FLUENT in the following
sections:
c Fluent Inc. September 29, 2006 19-1
Modeling Engine Ignition
Since spark ignition is inherently transient, the spark model is only available in the
transient solver. Additionally, the spark model requires chemical reactions to be solved.
The spark model is available for all of the combustion models, however, it may be most
applicable to the premixed and partially premixed combustion models.
The Spark Model used in FLUENT is based on a one-dimensional analysis by Lipatnikov
[216]. The model is sensitive to perturbations and can be subject to instabilities when
used in multi-dimensional simulations. The instabilities are inherent to the model and
can be dependent on the mesh, especially near the beginning of the spark event when
the model reduces diffusion to simulate the initial laminar spark kernel growth. The
instability is susceptible to numerical errors which are increased when the grid is not
aligned with the flame propagation. As the spark kernel grows and the model allows
turbulent mixing to occur, the effect of the instability decreases.
∂ρc
+ ∇ · (ρ~v c) = ∇ · (Dt ∇c) + ρu Ut |∇c| (19.1-1)
∂t
where Dt is the turbulent diffusivity, ρu is the density of the unburned mixture and Ut is
the turbulent flame speed. Since the spark is often very small compared to the grid size
of the model and is often laminar in nature, the Zimont model is modified such that
∂ρc
+ ∇ · (ρ~v c) = ∇ · ((κ + Dtt )∇c) + ρu Ut |∇c| (19.1-2)
∂t
where κ is the laminar thermal diffusivity and the effective diffusivity Dtt is given by
−ttd
(
Dt 1 − exp τ0
if ttd ≥ 0
Dtt = (19.1-3)
Dt if ttd < 0
where is ttd = t−tig and tig denotes the time at which the spark is initiated. Additionally,
τ 0 is an effective diffusion time, set by the user.
19-2
c Fluent Inc. September 29, 2006
19.1 Spark Model
Only turbulent scales that are smaller than the spark radius can contribute to turbulent
spark diffusion, so the expression for the effective turbulent diffusivity, Dtt , is ramped up
as the spark grows. This creates higher temperatures at the location of the spark and
can cause convergence difficulties. In addition to convergence difficulties, small changes
in the diffusion time can change the result significantly. Because of these issues, the
diffusion time can be controlled by the user, and has a default value of 1e-5 seconds.
When the Fixed Spark Size is enabled, the panel expands to include the main spark model
inputs (Figure 19.1.2). The shape of the spark can be spherical, cylindrical or hexahedral
in three dimensional simulations, or circular or quadrilateral in two dimensional simu-
lations. Depending on the shape selected, appropriate inputs are highlighted or grayed
out.
c Fluent Inc. September 29, 2006 19-3
Modeling Engine Ignition
19-4
c Fluent Inc. September 29, 2006
19.2 Autoignition Models
• To define a spherical spark, the shape parameters can be selected by clicking the
Select Points with Mouse button at the bottom of the panel, and highlighting the
center and radius of the spark kernel.
• The Energy input, Start Time, Duration, and Diffusion Time are entered using the
GUI.
i When the in-cylinder model is turned on, the Start Time is entered in
crank angle degrees instead of seconds (as shown in Figure 19.1.2), while
the spark Duration is still in seconds.
• While the Energy input is in Joules by default, you can redefine the units as needed.
The rate of energy input into the domain is constant so that the total energy will
be evenly distributed over the duration that you set. The Energy input in the spark
model should result in an appropriate temperature rise in the cell that is high
enough to initiate combustion. The Energy input is only a model parameter and
does not reflect energy input in actual automotive ignition systems, which typically
range between 50 and 150 millijoules.
If the user selects the Time-Varying Spark Radius option, the spark is assumed spherical
and will grow from an Initial Radius, r0 , to a Final Radius, rf , over the spark
guiDuration, with a cube root dependence on time so that the radius will grow faster at
the beginning and more slowly near the end. This time-dependent behavior is consistent
with experimental findings (see Heywood [141]). The Time-Varying Spark Radius option
is recommended as it has been found to be less sensitive to model parameters.
c Fluent Inc. September 29, 2006 19-5
Modeling Engine Ignition
Model Limitations
The main difference between the knock model and the ignition delay model is the manner
in which the model is coupled with the chemistry. The knock model always releases
energy from the fuel while the ignition delay model prevents energy from being released
prematurely.
The knock model in FLUENT is compatible with the premixed and partially premixed
combustion models. The autoignition model is compatible with any volumetric combus-
tion model, with the exception of the purely premixed models. The autoignition models
are inherently transient and so are not available with steady simulations.
The autoignition models in general require adjustment of parameters to reproduce engine
data and are likely to require tuning to improve accuracy. Once the model is calibrated to
19-6
c Fluent Inc. September 29, 2006
19.2 Autoignition Models
a particular engine configuration, then different engine speeds and loads can be reasonably
well represented. Detailed chemical kinetics may be more applicable over a wider range of
conditions, though are more expensive to solve. The single equation autoignition models
are appropriate for the situation where geometric fidelity or resolution of particular flow
details is more important than chemical effects on the simulation.
∂ρYig µt
+ ∇ · (ρ~v Yig ) = ∇ · ∇Yig + ρSig (19.2-1)
∂t Sct
where Yig is a “mass fraction” of a passive species representing radicals which form when
the fuel in the domain breaks down. Sct is the turbulent Schmidt number. The term Sig
is the source term for the ignition species which has a form
Z t dt
Sig =
t=t0 τig
where t0 corresponds to the time at which fuel is introduced into the domain. The τig
term is a correlation of ignition delay with the units of time. Ignition has occurred when
the ignition species reaches a value of 1 in the domain. It is assumed that all the radical
species represented by Yig diffuse at the same rate as the mean flow.
Note that the source term for these radical species is treated differently for knock and
ignition delay. Furthermore, the form of the correlation of ignition delay differs between
the two models. Details of how the source term is treated are covered in the following
sections.
c Fluent Inc. September 29, 2006 19-7
Modeling Engine Ignition
Knock Modeling
When modeling knock or ignition delay, chemical energy in the fuel is released when the
ignition species reaches a value of 1 in the domain. For the knock model, two correlations
are built into FLUENT. One is given by Douaud [86], while the other is a generalized model
which reproduces several correlations, given by Heywood [141].
In order to model knock in a physically realistic manner, the source term is accumu-
lated under appropriate conditions in a cell. Consider the one dimensional flame in
Figure 19.2.1. Here, the flame is propagating from left to right, and the temperature is
relatively low in front of the flame and high behind the flame. In this figure, Tb and Tu
represent the temperatures at the burnt and unburned states, respectively. The ignition
species accumulates only when there is fuel. In the premixed model, the fuel is defined
as f uel = 1 − c, where c is the progress variable. If the progress variable has a value of
zero, the mixture is considered unburned. If the progress variable is 1, then the mixture
is considered burned.
T 6
Tb
Tu -
-
X
Figure 19.2.1: Flame Front Showing Accumulation of Source Terms for the
Knock Model
When the ignition species reaches a value of 1 in the domain, knock has occurred at that
point. The value of the ignition species can exceed unity. In fact, values well above that
can be obtained in a short time. The ignition species will continue to accumulate until
there is no more fuel present.
19-8
c Fluent Inc. September 29, 2006
19.2 Autoignition Models
Correlations
An extensively tested correlation for knock in SI engines is given by Douaud and Eyzat [86]:
3.402
ON 3800
−1.7
τ = 0.01768 p exp (19.2-2)
100 T
where ON is the octane number of the fuel, p is the absolute pressure in atmospheres
and T is the temperature in Kelvin.
A generalized expression for τ is also available which can reproduce many existing Ar-
rhenius correlations. The form of the correlation is
a
ON −Ea
τ =A pb T c RPMd Φd exp (19.2-3)
100 RT
where A is the pre-exponential (with units in seconds), RPM is the engine speed in cycles
per minute and Φ is the fuel/air equivalence ratio.
Energy Release
Once ignition has occurred in the domain, the knock event is modeled by releasing the
remaining fuel energy with a single-step Arrhenius reaction. An additional source term,
which burns the remaining fuel in that cell, is added to the rate term in the premixed
model. The reaction rate is given by
−Ea
ω̇ = A0 exp (19.2-4)
RT
where A0 = 8.6 × 109 , and Ea = −15078. These values are chosen to reflect single-step
reaction rates appropriate for propane as described in Amsden [8]. The rate at which the
fuel is consumed is limited such that a completely unburned cell will burn during three of
the current time steps. Limiting the reaction rate is done purely for numerical stability.
c Fluent Inc. September 29, 2006 19-9
Modeling Engine Ignition
If the ignition species is less than 1 when using the ignition delay model, the chemical
source term is suppressed by not activating the combustion model at that particular time
step; thus, the energy release is delayed. This approach is reasonable if the user has a
good high-temperature chemical model, but does not wish to solve for typically expensive
low temperature chemistry.
In order to model ignition in a physically realistic manner, the source term is accumulated
under appropriate conditions in a cell. Consider the one dimensional spray in Figure
19.2.2. Here, the spray is propagating from left to right and the fuel mass fraction is
Yf uel 6
relatively low in front of the spray and high behind the spray. If there is no fuel in the
cell, the model will set the local source term to zero, nevertheless, the value of Yig can
be nonzero due to convection and diffusion.
Correlations
If fuel is present in the cell, there are two built-in options in FLUENT to calculate the
local source term. The first correlation was done by Hardenburg and Hase and was
developed at Daimler Chrysler for heavy duty diesel engines. The correlation works over
a reasonably wide range of conditions and is given by
! " ! !ep #
C1 + 0.22S p 1 1 21.2
τid = exp Ea − + (19.2-5)
6N RT 17, 190 p − 12.4
19-10
c Fluent Inc. September 29, 2006
19.2 Autoignition Models
Ehh
Ea = (19.2-6)
CN + 25
where CN is the cetane number. The activation energy, Ehh , pre-exponential, C1 , pres-
sure exponent, ep , and cetane number, CN , are accessible from the GUI. The default
values of these variables are listed in the table below.
Variable Ehh CN C1 ep
Default 618,840 25 0.36 0.63
The second correlation, which is the generalized correlation, is given by Equation 19.2-3
and is available for ignition delay calculations.
Energy Release
If the ignition species is greater than or equal to 1 anywhere in the domain, ignition has
occurred and combustion is no longer delayed. The ignition species acts as a switch to
turn on the volumetric reactions in the domain. Note that the ignition species “mass
fraction” can exceed 1 in the domain, therefore, it is not truly a mass fraction, but rather
a passive scalar which represents the integrated correlation as a function of time.
c Fluent Inc. September 29, 2006 19-11
Modeling Engine Ignition
3. The models in the Species Model panel that are compatible with the autoignition
model are Species Transport, Premixed Combustion, and Partially Premixed Combus-
tion.
i If you select Species Transport, you must also enable the Volumetric option
in the Reactions group box.
Figure 19.2.3: The Ignition Delay Model in the Autoignition Model Panel
• If Premixed Combustion is selected in the Species Model panel, you can only
select the Knock Model.
• If Partially Premixed Combustion is selected in the Species Model panel, you can
select either the Knock Model or the Ignition Delay Model.
19-12
c Fluent Inc. September 29, 2006
19.2 Autoignition Models
5. When the Ignition Delay Model is enabled, the panel expands to include the modeling
parameters for this model (Figure 19.2.5). The two correlation options that exist
with this model are the Hardenburg and the Generalized. Depending on which
correlation option is selected, the appropriate modeling parameters will appear in
the panel.
Figure 19.2.5: The Ignition Delay Model for the Partially Premixed Combustion
Model
• The Hardenburg option is typically used for heavy duty diesel engines. A Fuel
Species is selected from the drop-down list and the Pre-Exponential, Pressure
Exponent, Activation Energy, and Cetane Number are entered using the GUI.
Default values of these parameters can be found in Table 19.2.1.
• The Generalized option is described by Equation 19.2-3. Similarly to the Hard-
enburg option, a Fuel Species is selected from the drop-down list and the Pre-
Exponential, Temperature Exponent, Activation Energy, RPM Exponent, Pressure
Exponent, Equivalence Ratio Exponent, Octane Number, and Octane Number Ex-
ponent are entered using the GUI.
c Fluent Inc. September 29, 2006 19-13
Modeling Engine Ignition
6. When the Knock Model is enabled, the panel expands to include modeling parame-
ters for this model (Figure 19.2.6). The two correlation options that exist with this
model are the Douaud and the Generalized. Depending on which correlation option
is selected, the appropriate modeling parameters will appear in the panel.
Figure 19.2.6: The Knock Model with the Partially Premixed Combustion
Model Enabled
• The Douaud option is used for knock in SI engines. The modeling parameters
that are specified in the GUI for this option are the Pre-Exponential, Pres-
sure Exponent, Activation Temperature, Octane Number, and Octane Exponent
(Equation 19.2-2).
• The Generalized option (Equation 19.2-3) in the knock model requires the same
parameters as in the ignition delay model.
19-14
c Fluent Inc. September 29, 2006
19.3 Crevice Model
Cylinder
Land length wall
1
p
0
Ring spacing
2
1: Top gap
2: Middle gap
Piston to bore 3: Bottom gap
clearance p
6
Wr
Tr
p = cylinder pressure
p • 0
Ring 1 1•
• p2
Ring 2 p•
3
• p4
Ring 3 p•
5
• p = crankcase pressure
6
c Fluent Inc. September 29, 2006 19-15
Modeling Engine Ignition
Model Parameters
• The piston to bore clearance is the distance between the piston and the bore. Typ-
ical values are 2 to 5 mil (80 to 120 µm) in a spark engine (SI) and 4 to 7 mil
(100 to 240 µm) in some diesel engines (DI).
• The ring thickness is the variable Tr in Figure 19.3.2. Typical values range from
1 to 3 mm for SI engines and 2 to 4 mm for DI engines.
• The ring width is the variable Wr in Figure 19.3.2. Typical values range from 3 to
3.5 mm for SI engines and 4 to 6 mm for DI diesel engines.
• The ring spacing is the distance between the bottom of one ring land and the top of
the next ring land. Typical values of the ring spacing are 3 to 5 mm for SI engines
and 4 to 8 mm for DI diesel engines.
• The land length is the depth of the ring land (i.e., the cutout into the piston);
always deeper than the width of the ring by about 1 mm. Typical values are 4 to
4.5 mm for SI engines and 5 to 7 mm for DI diesel engines.
• The top gap is the clearance between the ring land and the top of the ring (40 to
80 µm).
• The middle gap is the distance between the ring and the bore (10 to 40 µm).
• The bottom gap is the clearance between the ring land and the bottom of the ring
(40 to 80 µm).
• The shared boundary and leaking wall is the piston (e.g., wall-8) and the cylinder
wall (e.g., wall.1) in most in-cylinder simulations. Cells that share a boundary
with the top of the piston and the cylinder wall are defined as the crevice cells.
The ring pack is the set of rings that seal the piston in the cylinder bore. As the piston
moves upward in the cylinder when the valves are closed (e.g., during the compression
stroke in a four-stroke cycle engine), the pressure in the cylinder rises and flow begins to
move past the rings. The pressure distribution in the ring pack is modeled by assuming
either fully-developed compressible flow through the spaces between the rings and the
piston, or choked compressible flow between the rings and the cylinder wall.
Since the temperature in the ring pack is fixed and the geometry is known, once a
pressure distribution is calculated, the mass in each volume can be found using the ideal
gas equation of state. The overall mass flow out of the ring pack (i.e., the flow past the
last ring specified) is also calculated at each discrete step in the FLUENT solution.
19-16
c Fluent Inc. September 29, 2006
19.3 Crevice Model
19.3.2 Limitations
The limitations of the crevice model are that it is zero dimensional, transient, and cur-
rently limited to two threads that share a boundary.
A zero-dimensional approach is used because it is difficult to accurately predict lateral
diffusion of species in the crevice. If the lateral diffusion of species is important in the
simulation, as in when a spray plume in a DI engine is in close proximity to the boundary
and the net mass flow is into the crevice, it is recommended that the full multidimensional
crevice geometry be simulated in FLUENT using a nonconformal mesh. Additionally, this
approach does not specifically track individual species, as any individual species would be
instantly distributed over the entire ring pack. The mass flux into the domain from the
crevice is assumed to have the same composition as the cell into which mass is flowing.
The formulation of the crevice flow equations is inherently transient and is solved using
FLUENT’s stiff-equation solver. A steady problem with leakage flow can be solved by
running the transient problem to steady state. Additional limitations of the crevice
model in its current form are that only a single crevice is allowed and only one thread
can have leakage. Ring dynamics are not explicitly accounted for, although ring positions
can be set during the simulation.
In this context, the crevice model solution is a stiff initial boundary-value problem. The
stiffness increases as the pressure difference between the ring crevices increases and also as
the overall pressure difference across the ring pack increases. Thus, if the initial conditions
are very far from the solution during a time step, the ODE solver may not be able to
integrate the equations successfully. One solution to this problem is to decrease the flow
time step for several iterations. Another solution is to start with initial conditions that
are closer to the solution at the end of the time step.
c Fluent Inc. September 29, 2006 19-17
Modeling Engine Ignition
where Cd is the discharge coefficient, Aij is the gap area, ρ is the gas density, c is the
local speed of sound, and ηij is a compressibility factor given by
" #0.5
2 γ−1
2 pi γ pi γ pi
− > 0.52
γ−1 pj pj pj
ηij = (19.3-2)
γ+1
pi
2 2(γ−1)
≤ 0.52
γ−1 pj
where γ is the ratio of specific heats, pi the upstream pressure and pj the downstream
pressure. The equation for the mass flow through the top and bottom faces of the ring
(i.e., into and out of the volume behind the piston ring) is given by
h2ij p2i − p2j Aij
ṁij = (19.3-3)
24Wr µgas RT
where hij is the cross-sectional area of the gap, Wr is the width of the ring along which
the gas is flowing, µgas is the local gas viscosity, T is the temperature of the gas and R
is the universal gas constant. The system of equations for a set of three rings is of the
following form:
dp1 p1
= (ṁ01 − ṁ12 ) (19.3-4)
dt m1
dp2 p2
= (ṁ02 + ṁ12 − ṁ23 − ṁ24 ) (19.3-5)
dt m2
dp3 p3
= (ṁ23 − ṁ34 ) (19.3-6)
dt m3
dp4 p4
= (ṁ24 + ṁ34 − ṁ45 − ṁ46 ) (19.3-7)
dt m4
dp5 p5
= (ṁ45 − ṁ56 ) (19.3-8)
dt m5
where p0 is the average pressure in the crevice cells and p6 is the crankcase pressure input
from the text interface. The expressions for the mass flows for numerically adjacent zones
(e.g., 0-1, 1-2, 2-3, etc.) are given by Equation 19.3-3 and expressions for the mass flows
for zones separated by two integers (e.g., 0-2, 2-4, 4-6) are given by Equations 19.3-1
and 19.3-2. Thus, there are 2nr − 1 equations needed for the solution to the ring-pack
equations, where nr is the number of rings in the simulation.
19-18
c Fluent Inc. September 29, 2006
19.3 Crevice Model
Z
Y
X
Grid (Time=2.2222e-02)
Crank Angle=-5.00(deg)
The following example shows the necessary steps to enable the crevice model for a typical
in-cylinder flow.
1. From the > prompt, enter the define/models menu by using the following text
command:
define −→models
2. Enable the crevice model, as follows:
/define/models> crevice-model?
Enable crevice model? [no] yes
/define/models>
acoustics/ frozen-flux? sox?
addon-module multiphase/ species/
axisymmetric? noniterative-time-advance? steady?
crevice-model-controls/ nox? unsteady-1st-order?
crevice-model? radiation/ unsteady-2nd-order?
dpm/ solidification-melting? viscous/
dynamic-mesh? solver/
energy? soot?
c Fluent Inc. September 29, 2006 19-19
Modeling Engine Ignition
/define/models> crevice-model-controls
Cylinder bore (m) [0.1] 0.1397
Piston to bore clearance (m) [3.0e-5] 5.08e-05
Piston crevice temperature (K) [400] 433
Piston sector angle (deg) [360] 45
Ring discharge coefficient [0.8] 0.7
Pressure in crankcase (exit pressure) (Pa) [101325]
Write out crevice data to a file? [no] yes
output file name ["crev.out"]
A fast way to set up multiple rings in the ring pack is to specify only one ring and
enter the geometry. Once the ring geometry is entered, invoke the crevice-model-
controls menu a second time and specify the number of rings desired. When
the number of rings changes, the geometry from the first ring is copied to all
subsequent rings. Default values can be taken for the rest of the way through the
menu structure.
19-20
c Fluent Inc. September 29, 2006
19.3 Crevice Model
>(crevice-summary)
crevice/n-rings : 3
crevice/ring-width : (0.00375 0.00375 0.00375)
crevice/ring-thickness : (0.0015 0.0015 0.0015)
crevice/ring-mass : (0.00375 0.00375 0.00375)
crevice/ring-spacing : (0.008 0.008 0.00391)
crevice/land-length : (0.00391 0.00391 0.00391)
crevice/top-ring-gap : (6e-05 6e-05 6e-05)
crevice/mid-ring-gap : (4e-05 4e-05 4e-05)
crevice/bot-ring-gap : (6e-05 6e-05 6e-05)
crevice/piston-temperature : 433
crevice/sector-angle : 45
crevice/mid-gap-cd : 0.7
crevice/exit-pressure : 101325
crevice/threads : (5 6)
names of crevice/threads : (wall.1 wall-8)
crevice/unit-roundoff : 5.9604645e-08
crevice/piston-bore-clearance : 5.08e-05
crevice/write? : #t
crevice/output-file : crev.out
crevice/solve? : #t
crevice/enabled? : #t
crevice/pressures : (4600623.5 4173522.5 3689110.5 3130620 2214841)
c Fluent Inc. September 29, 2006 19-21
Modeling Engine Ignition
4.40e-03
4.20e-03
4.00e-03
3.80e-03
3.60e-03
3.40e-03
3.20e-03
0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05 0.055
Cylinder Pressure
With Crevice
Without Crevice
5.50e+06
5.00e+06
4.50e+06
4.00e+06
3.50e+06
3.00e+06
2.50e+06
2.00e+06
1.50e+06
1.00e+06
5.00e+05
0.00e+00
0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05 0.055
19-22
c Fluent Inc. September 29, 2006
19.3 Crevice Model
where the first column is the current flow time (or crank angle), and the next ncv + 2
columns are the ring pressures (where ncv is the number of crevice volumes, or 2nr − 1),
including the face pressure on the crevice cell, and the defined pressure at the crevice
exit. The final column is the mass flow past the top ring. This file is currently format-
ted so that it can be read into the free Gnuplot plotting package, which is available at
www.gnuplot.info .
To read the crevice output file into FLUENT as a data file, you will need to put each
column of the crevice output file in its own individual file. The first three lines of each
column of the data file should be of the following form:
"Title"
"X-Label" "Y-Label"
0 0 0 0
where the title, x-label, and y-label strings are enclosed by double quotes and the third
line of the file contains four zeros. The lines following the first three lines of the file
are the columns you wish to plot. For example, to plot column 1 versus column 3 of
the crevice model output file in FLUENT, you would enter the following commands in a
UNIX terminal:
c Fluent Inc. September 29, 2006 19-23
Modeling Engine Ignition
where ctrl-d is the end-of-file character made holding down the <Ctrl> key and pressing
d. To append columns 1 and 3 to this file, enter the following:
The file crev col 1 3.dat can now be read into FLUENT using the File XY Plot panel. See
Section 28.8.3: XY Plots of File Data for details about creating x-y plots. For Windows
users, the file crev.out can be imported into Excel for plotting purposes without any
modification.
A Gnuplot plot of the pressure in the ring pack crevices for the above engine simulation is
shown in Figure 19.3.7. After an initial transient period where the flows in the network
settle down, Figure 19.3.7 shows that the pressure in the ring crevices follows the cylinder
pressure in form, though with pressure magnitudes that are controlled by the ring pack
geometry.
Pressures in Ring Pack vs Crank Angle
5.5e+06
Cylinder
Ring 1
5e+06 1-2 Gap
Ring 2
2-3 Gap
4.5e+06 Ring 3
Exit Pressure
4e+06
3.5e+06
Pressure (Pa)
3e+06
2.5e+06
2e+06
1.5e+06
1e+06
500000
0
150 200 250 300 350 400 450 500 550 600
Crank Angle (deg ATDC)
19-24
c Fluent Inc. September 29, 2006
Chapter 20. Modeling Pollutant Formation
This chapter discusses the models available in FLUENT for modeling pollutant formation.
Information is presented in the following sections:
c Fluent Inc. September 29, 2006 20-1
Modeling Pollutant Formation
20.1.1 Overview
NOx emission consists of mostly nitric oxide (NO), and to a lesser degree nitrogen dioxide
(NO2 ) and nitrous oxide (N2 O). NOx is a precursor for photochemical smog, contributes
to acid rain, and causes ozone depletion. Thus, NOx is a pollutant. The FLUENT NOx
model provides a tool to understand the sources of NOx production and to aid in the
design of NOx control measures.
20-2
c Fluent Inc. September 29, 2006
20.1 NOx Formation
i The NOx models cannot be used in conjunction with the premixed com-
bustion model.
∂
(ρYNO ) + ∇ · (ρ~v YNO ) = ∇ · (ρD∇YNO ) + SNO (20.1-1)
∂t
As discussed in Section 20.1.5: Fuel NOx Formation, the fuel NOx mechanisms are more
involved. The tracking of nitrogen-containing intermediate species is important. FLUENT
solves a transport equation for the HCN, NH3 or N2 O species in addition to the NO
species:
∂
(ρYHCN ) + ∇ · (ρ~v YHCN ) = ∇ · (ρDYHCN ) + SHCN (20.1-2)
∂t
∂
(ρYNH3 ) + ∇ · (ρ~v YNH3 ) = ∇ · (ρDYNH3 ) + SNH3 (20.1-3)
∂t
∂
(ρYN2 O ) + ∇ · (ρ~v YN2 O ) = ∇ · (ρDYN2 O ) + SN2 O (20.1-4)
∂t
c Fluent Inc. September 29, 2006 20-3
Modeling Pollutant Formation
where YHCN , YNH3 , YN2 O , and YNO are mass fractions of HCN, NH3 , N2 O, and NO in
the gas phase, and D is the effective diffusion coefficient. The source terms SHCN , SNH3 ,
SN2 O , and SNO are to be determined next for different NOx mechanisms.
O + N2 *
) N + NO (20.1-5)
N + O2 *
) O + NO (20.1-6)
A third reaction has been shown to contribute to the formation of thermal NOx , partic-
ularly at near-stoichiometric conditions and in fuel-rich mixtures:
N + OH *
) H + NO (20.1-7)
In the above expressions, kf,1 , kf,2 , and kf,3 are the rate constants for the forward reactions
20.1-5–20.1-7, respectively, and kr,1 , kr,2 , and kr,3 are the corresponding reverse rate
constants. All of these rate constants have units of m3 /gmol-s.
The net rate of formation of NO via Reactions 20.1-5–20.1-7 is given by
d[NO]
= kf,1 [O][N2 ] + kf,2 [N][O2 ] + kf,3 [N][OH] − kr,1 [NO][N] − kr,2 [NO][O] − kr,3 [NO][H]
dt
(20.1-8)
where all concentrations have units of gmol/m3 .
To calculate the formation rates of NO and N, the concentrations of O, H, and OH are
required.
20-4
c Fluent Inc. September 29, 2006
20.1 NOx Formation
c Fluent Inc. September 29, 2006 20-5
Modeling Pollutant Formation
The kinetics of the thermal NOx formation rate is much slower than the main hydro-
carbon oxidation rate, and so most of the thermal NOx is formed after completion of
combustion. Therefore, the thermal NOx formation process can often be decoupled from
the main combustion reaction mechanism and the NOx formation rate can be calculated
by assuming equilibration of the combustion reactions. Using this approach, the calcu-
lation of the thermal NOx formation rate is considerably simplified. The assumption of
equilibrium can be justified by a reduction in the importance of radical overshoots at
higher flame temperature [88]. According to Westenberg [401], the equilibrium O-atom
concentration can be obtained from the expression
where T is in Kelvin.
20-6
c Fluent Inc. September 29, 2006
20.1 NOx Formation
O2 + M *
)O+O+M (20.1-12)
When the O-atom concentration is well predicted using an advanced chemistry model
(such as the flamelet submodel of the nonpremixed model), [O] can be taken simply from
the local O-species mass fraction.
In this approach, the third reaction in the extended Zeldovich mechanism (Equation 20.1-7)
is assumed to be negligible through the following observation:
This assumption is justified for lean fuel conditions and is a reasonable assumption for
most cases.
In this approach, the concentration of OH in the third reaction in the extended Zeldovich
mechanism (Equation 20.1-7) is given by [26, 400]
[OH] = 2.129 × 102 T −0.57 e−4595/T [O]1/2 [H2 O]1/2 gmol/m3 (20.1-14)
c Fluent Inc. September 29, 2006 20-7
Modeling Pollutant Formation
As in the predicted O approach, when the OH radical concentration is well predicted using
an advanced chemistry model such as the flamelet model, [OH] can be taken directly from
the local OH species mass fraction.
Summary
To summarize, thermal NOx formation rate is predicted by Equation 20.1-9. The
O-atom concentration needed in Equation 20.1-9 is computed using Equation 20.1-11
for the equilibrium assumption, using Equation 20.1-13 for a partial equilibrium assump-
tion, or using the local O-species mass fraction. You will make the choice during problem
setup. In terms of the transport equation for NO (Equation 20.1-1), the NO source term
due to thermal NOx mechanisms is
d[NO]
Sthermal,NO = Mw,NO (20.1-15)
dt
where Mw,NO is the molecular weight of NO (kg/gmol), and d[NO]/dt is computed from
Equation 20.1-9.
20-8
c Fluent Inc. September 29, 2006
20.1 NOx Formation
CH + N2 *
) HCN + N (20.1-16)
N + O2 *
) NO + O (20.1-17)
HCN + OH *
) CN + H2 O (20.1-18)
CN + O2 *
) NO + CO (20.1-19)
A number of species resulting from fuel fragmentation have been suggested as the source
of prompt NOx in hydrocarbon flames (e.g., CH, CH2 , C, C2 H), but the major contribu-
tion is from CH (Equation 20.1-16) and CH2 , via
CH2 + N2 *
) HCN + NH (20.1-20)
The products of these reactions could lead to formation of amines and cyano compounds
that subsequently react to form NO by reactions similar to those occurring in oxidation
of fuel nitrogen, for example:
HCN + N *
) N2 + ... (20.1-21)
Primary Reaction
Reaction 20.1-16 is of primary importance. In recent studies [320], comparison of proba-
bility density distributions for the location of the peak NOx with those obtained for the
peak CH have shown close correspondence, indicating that the majority of the NOx at the
flame base is prompt NOx formed by the CH reaction. Assuming that Reaction 20.1-16
controls the prompt NOx formation rate,
d[NO]
= k0 [CH][N2 ] (20.1-22)
dt
c Fluent Inc. September 29, 2006 20-9
Modeling Pollutant Formation
Modeling Strategy
There are, however, uncertainties about the rate data for the above reaction. From Reac-
tions 20.1-16–20.1-20, it can be concluded that the prediction of prompt NOx formation
within the flame requires coupling of the NOx kinetics to an actual hydrocarbon com-
bustion mechanism. Hydrocarbon combustion mechanisms involve many steps and, as
mentioned previously, are extremely complex and costly to compute. In the present NOx
model, a global kinetic parameter derived by De Soete [77] is used. De Soete compared
the experimental values of total NOx formation rate with the rate of formation calculated
by numerical integration of the empirical overall reaction rates of NOx and N2 formation.
He showed that overall prompt formation rate can be predicted from the expression
d[NO]
= (overall prompt NOx formation rate) − (overall prompt N2 formation rate)
dt
(20.1-23)
In the early stages of the flame, where prompt NOx is formed under fuel-rich conditions,
the O concentration is high and the N radical almost exclusively forms NOx rather than
nitrogen. Therefore, the prompt NOx formation rate will be approximately equal to the
overall prompt NOx formation rate:
d[NO]
= kpr [O2 ]a [N2 ][FUEL]e−Ea /RT (20.1-24)
dt
For C2 H4 (ethylene)-air flames,
where a is the oxygen reaction order, R is the universal gas constant, and p is pressure
(all in SI units). The rate of prompt NOx formation is found to be of the first order with
respect to nitrogen and fuel concentration, but the oxygen reaction order, a, depends on
experimental conditions.
20-10
c Fluent Inc. September 29, 2006
20.1 NOx Formation
d[NO] 0 0
= f kpr [O2 ]a [N2 ][FUEL]e−Ea /RT (20.1-25)
dt
so that the source term due to prompt NOx mechanism is
d[NO]
Sprompt,NO = Mw,NO (20.1-26)
dt
In the above equations,
0
kpr = 6.4 × 106 (RT /p)a+1 ; Ea0 = 303474.125 J/gmol
n is the number of carbon atoms per molecule for the hydrocarbon fuel, and φ is the
equivalence ratio. The correction factor is a curve fit for experimental data, valid for
aliphatic alkane hydrocarbon fuels (Cn H2n+2 ) and for equivalence ratios between 0.6 and
0
1.6. For values outside the range, the appropriate limit should be used. Values of kpr and
0
Ea were developed at the Department of Fuel and Energy at The University of Leeds in
England.
Here the concept of equivalence ratio refers to an overall equivalence ratio for the flame,
rather than any spatially varying quantity in the flow domain. In complex geometries with
multiple burners this may lead to some uncertainty in the specification of φ. However,
since the contribution of prompt NOx to the total NOx emission is often very small,
results are not likely to be significantly biased.
c Fluent Inc. September 29, 2006 20-11
Modeling Pollutant Formation
Reaction Pathways
The extent of conversion of fuel nitrogen to NOx is dependent on the local combustion
characteristics and the initial concentration of nitrogen-bound compounds. Fuel-bound
compounds that contain nitrogen are released into the gas phase when the fuel droplets or
particles are heated during the devolatilization stage. From the thermal decomposition
of these compounds, (aniline, pyridine, pyrroles, etc.) in the reaction zone, radicals
such as HCN, NH3 , N, CN, and NH can be formed and converted to NOx . The above
free radicals (i.e., secondary intermediate nitrogen compounds) are subject to a double
competitive reaction path. This chemical mechanism has been subject to several detailed
investigations [244]. Although the route leading to fuel NOx formation and destruction
is still not completely understood, different investigators seem to agree on a simplified
model:
NO
O 2
ion
dat
oxi
Fuel Nitrogen Nitrogen Intermediates
red
uct
ion
NO
N2
20-12
c Fluent Inc. September 29, 2006
20.1 NOx Formation
Recent investigations [147] have shown that hydrogen cyanide appears to be the principal
product if fuel nitrogen is present in aromatic or cyclic form. However, when fuel nitrogen
is present in the form of aliphatic amines, ammonia becomes the principal product of
fuel nitrogen conversion.
In the FLUENT NOx model, sources of NOx emission for gaseous, liquid and coal fuels
are considered separately. The nitrogen-containing intermediates are grouped as HCN,
NH3 , or a combination of both. Transport equations (20.1-1 and 20.1-2 or 20.1-3) are
solved, after which the source terms SHCN , SNH3 , and SNO are determined for different
fuel types. Discussions to follow refer to fuel NOx sources for SNO and intermediate HCN,
NH3 sources for SHCN and SNH3 . Contributions from thermal and prompt mechanisms
have been discussed in previous sections.
2
NO
1: O
ion
dat
oxi
c Fluent Inc. September 29, 2006 20-13
Modeling Pollutant Formation
The rate of HCN production is equivalent to the rate of combustion of the fuel:
The rate of HCN production is equivalent to the rate of fuel release into the gas phase
through droplet evaporation:
HCN Consumption
The HCN depletion rates from reactions (1) and (2) in the above mechanism are the
same for both gaseous and liquid fuels, and are given by De Soete [77] as
20-14
c Fluent Inc. September 29, 2006
20.1 NOx Formation
The mass consumption rates of HCN which appear in Equation 20.1-29 are calculated as
Mw,HCN p
SHCN−1 = −R1 (20.1-36)
RT
Mw,HCN p
SHCN−2 = −R2 (20.1-37)
RT
NOx is produced in reaction 1 but destroyed in reaction 2. The sources for Equa-
tion 20.1-30 are the same for a gaseous as for a liquid fuel, and are evaluated as follows:
Mw,NO Mw,NO p
SNO−1 = −SHCN−1 = R1 (20.1-38)
Mw,HCN RT
Mw,NO Mw,NO p
SNO−2 = SHCN−2 = −R2 (20.1-39)
Mw,HCN RT
c Fluent Inc. September 29, 2006 20-15
Modeling Pollutant Formation
2
NO
1: O
ion
dat
oxi
Fuel Nitrogen NH 3
red
uct
ion
2: N
O
N2
The rate of NH3 production is equivalent to the rate of combustion of the fuel:
20-16
c Fluent Inc. September 29, 2006
20.1 NOx Formation
The rate of NH3 production is equivalent to the rate of fuel release into the gas phase
through droplet evaporation:
NH3 Consumption
The NH3 depletion rates from reactions (1) and (2) in the above mechanism are the same
for both gaseous and liquid fuels, and are given by De Soete [77] as
c Fluent Inc. September 29, 2006 20-17
Modeling Pollutant Formation
The mass consumption rates of NH3 which appear in Equation 20.1-40 are calculated as
Mw,NH3 p
SNH3 −1 = −R1 (20.1-46)
RT
Mw,NH3 p
SNH3 −2 = −R2 (20.1-47)
RT
NOx is produced in reaction 1 but destroyed in reaction 2. The sources for Equa-
tion 20.1-41 are the same for a gaseous as for a liquid fuel, and are evaluated as follows:
Mw,NO Mw,NO p
SNO−1 = −SNH3 −1 = R1 (20.1-48)
Mw,NH3 RT
Mw,NO Mw,NO p
SNO−2 = SNH3 −2 = −R2 (20.1-49)
Mw,NH3 RT
For the coal it is assumed that fuel nitrogen is distributed between the volatiles and
the char. Since there is no reason to assume that N is equally distributed between the
volatiles and the char the fraction of N in the volatiles and the char should be specified
separately.
When HCN is used as the intermediate species, two variations of fuel NOx mechanisms
for coal are included. When NH3 is used as the intermediate species, two variations of fuel
NOx mechanisms for coal are included, much like in the calculation of NOx production
from the coal via HCN. It is assumed that fuel nitrogen is distributed between the volatiles
and the char.
20-18
c Fluent Inc. September 29, 2006
20.1 NOx Formation
The first HCN mechanism assumes that all char N converts to HCN which is then con-
verted partially to NO [345]. The reaction pathway is described as follows:
Char N
1: O 2 3: Char
Volatile N N2
HCN NO
2: NO
N2
With the first scheme, all char-bound nitrogen converts to HCN. Thus,
Sc YN,char Mw,HCN
Schar,HCN = (20.1-50)
Mw,N V
Schar,NO = 0 (20.1-51)
The second HCN mechanism assumes that all char N converts to NO directly [221]. The
reaction pathway is described as follows:
Char N
1: O 2 3: Char
Volatile N N2
HCN NO
2: NO
N2
c Fluent Inc. September 29, 2006 20-19
Modeling Pollutant Formation
According to Lockwood [221], the char nitrogen is released to the gas phase as NO directly,
mainly as a desorption product from oxidized char nitrogen atoms. If this approach is
followed, then
Schar,HCN = 0 (20.1-52)
Sc YN,char Mw,NO
Schar,NO = (20.1-53)
Mw,N V
The second HCN mechanism tends to produce more NOx emission than the first. In
general, however, it is difficult to say which one outperforms the other.
The source terms for the transport equations are
Source contributions SHCN−1 , SHCN−2 , SNO−1 , and SNO−2 are described previously. There-
fore, only the heterogeneous reaction source, SNO−3 , the char NOx source, Schar,NO , and
the HCN production source, Spvc,HCN , need to be considered.
The heterogeneous reaction of NO reduction on the char surface has been modeled ac-
cording to the following [204]:
pNO = pXNO
20-20
c Fluent Inc. September 29, 2006
20.1 NOx Formation
The heterogeneous reaction involving char is mainly an adsorption process whose rate is
directly proportional to the pore surface area. The pore surface area is also known as the
BET surface area due to the researchers who pioneered the adsorption theory (Brunauer,
Emmett and Teller [45]). For commercial adsorbents, the pore (BET) surface areas range
from 100,000 to 2 million square meters per kilogram, depending on the microscopic
structure. For coal, the BET area is typically 25,000 m2 /kg which is used as the default
in FLUENT. The overall source of HCN (Spvc,HCN ) is a combination of volatile contribution
(Svol,HCN ) and char contribution (Schar,HCN ):
The source of HCN from the volatiles is related to the rate of volatile release:
c Fluent Inc. September 29, 2006 20-21
Modeling Pollutant Formation
The first NH3 mechanism assumes that all char N converts to NH3 which is then converted
partially to NO [345]. The reaction pathway is described as follows:
Char N
1: O 2 3: Char
Volatile N N2
NH 3 NO
2: NO
N2
Sc YN,char Mw,NH3
Schar,NH3 = (20.1-57)
Mw,N V
Schar,NO = 0 (20.1-58)
The second NH3 mechanism assumes that all char N converts to NO directly [221]. The
reaction pathway is described as follows:
Char N
1: O 2 3: Char
Volatile N N2
NH 3 NO
2: NO
N2
20-22
c Fluent Inc. September 29, 2006
20.1 NOx Formation
According to Lockwood [221], the char nitrogen is released to the gas phase as NO directly,
mainly as a desorption product from oxidized char nitrogen atoms. If this approach is
followed, then
Schar,NH3 = 0 (20.1-59)
Sc YN,char Mw,NO
Schar,NO = (20.1-60)
Mw,N V
The second NH3 mechanism tends to produce more NOx emission than the first. In
general, however, it is difficult to say which one outperforms the other.
The source terms for the transport equations are
Source contributions SNH3 −1 , SNH3 −2 , SNO−1 , SNO−2 , SNO−3 , Schar,NO are described previ-
ously. Therefore, only the NH3 production source, Spvc,NH3 , needs to be considered.
The overall production source of NH3 is a combination of volatile contribution (Svol,NH3 ),
and char contribution (Schar,NH3 ):
The source of NH3 from the volatiles is related to the rate of volatile release:
c Fluent Inc. September 29, 2006 20-23
Modeling Pollutant Formation
20-24
c Fluent Inc. September 29, 2006
20.1 NOx Formation
N2 + O + M )* N2 O + M (20.1-64)
N2 O + O *
) 2NO (20.1-65)
Here, M is a general third body. Because the first reaction involves third bodies, the
mechanism is favored at elevated pressures. Both reactions involve the oxygen radical
O, which makes the mechanism favored at oxygen-rich conditions. While not always
justified, it is often assumed that the radical O atoms originate solely from the dissociation
of molecular oxygen,
1
O2 *
)O (20.1-66)
2
According to the kinetic rate laws, the rate of NOx formation via the N2 O-intermediate
mechanism is
d[NO]
= 2 kf,2 [N2 O][O] − kr,2 [NO]2 gmol/m3 -s (20.1-67)
dt
To solve Equation 20.1-67, you will need to have first calculated [O] and [N2 O].
It is often assumed that N2 O is at quasi-steady-state (i.e., d[N2 O]/dt = 0), which implies
The system of Equations 20.1-67–20.1-68 can be solved for the rate of NOx formation
when the concentration of N2 , O2 , and M, the kinetic rate constants for Equations 20.1-64
and 20.1-65, and the equilibrium constant of Equation 20.1-66 are known. The appear-
ance of NO in Equation 20.1-65 entails that coupling of the N2 O mechanism with the
thermal NOx mechanism (and other NOx mechanisms).
In the above expressions, kf,1 and kf,2 are the forward rate constants of Equations 20.1-64
and 20.1-65, and kr,1 and kr,2 are the corresponding reverse rate constants. The units for
kf,2 , kr,1 , and kr,2 are m3 /gmol-s, while kf,1 has units of m6 /gmol2 -s.
c Fluent Inc. September 29, 2006 20-25
Modeling Pollutant Formation
Instantaneous Approach
The instantaneous NOx reburning mechanism is a pathway whereby NO reacts with
hydrocarbons and is subsequently reduced. In general:
k
CH + NO →1 HCN + O (20.1-70)
k2
CH2 + NO → HCN + OH (20.1-71)
k3
CH3 + NO → HCN + H2 O (20.1-72)
The rate constants for these reactions are taken from Bowman [38] and have units of
m3 /gmol-s:
d[NO]
= −k1 [CH][NO] − k2 [CH2 ][NO] − k3 [CH3 ][NO] (20.1-73)
dt
20-26
c Fluent Inc. September 29, 2006
20.1 NOx Formation
and the source term for the reburning mechanism in the NO transport equation can be
calculated as
d[NO]
Sreburn,NO = −Mw,NO (20.1-74)
dt
This model can be used in conjunction with the eddy-dissipation combustion model and
does not require the specification of CH radical concentrations, since they are computed
based on the CH-radical partial equilibrium. The reburn fuel itself can be an equivalent of
CH4 , CH3 , CH2 , or CH. How this equivalent fuel is determined is open for debate and an
approximate guide would be to consider the C/H ratio of the fuel itself. A multiplicative
constant of 4.0 × 10−4 has been developed for the partial equilibrium of CH radicals
to reduce the rates of HCN and NO in the reburn model. This value was obtained by
researchers, who developed the model, by way of predicting NOx values for a number of
test cases for which experimental data exists.
c Fluent Inc. September 29, 2006 20-27
Modeling Pollutant Formation
In the fuel-rich reburn zone, the HCN oxidation is suppressed and the amount of NO
formed in the primary combustion zone is decreased by the reduction reaction from HCN
to N2 . However, the NO concentration may also decrease due to reactions with CH
radicals, which are available in significant amounts in the reburn zone. The following are
considered to be the most important reactions of NO reduction by CH radicals:
These reactions may be globally described by the addition of pathways (4) and (5) in
Figure 20.1.1, leading respectively to the formation of HCN and of minor intermediate
nitrogen radicals. Assuming that methane is the reburning gas, the global NO reduction
rates are then expressed as
where
[H] [OH]
χ1 = ; χ2 =
[H2 ] [H2 O]
Therefore, the additional source terms of the HCN and NO transport equations due to
reburn reactions are given by
d[HCN]
= 4 × 10−4 R4 (20.1-80)
dt
d[NO]
= −4 × 10−4 (R4 + R5 ) (20.1-81)
dt
20-28
c Fluent Inc. September 29, 2006
20.1 NOx Formation
Certain assumptions are required to evaluate the rate constants ka , kb , and kc and the
factors χ1 and χ2 . For hydrocarbon diffusion flames, the following reaction set can be
reasonably considered to be in partial equilibrium:
CH4 + H *
) CH3 + H2 (20.1-82)
CH3 + OH *
) CH2 + H2 O (20.1-83)
CH2 + H *
) CH + H2 (20.1-84)
CH + H *
) C + H2 (20.1-85)
where k1 , k2 , and k3 are the rate constants for Equations 20.1-75–20.1-77. The forward
and reverse rate constants for Equations 20.1-82–20.1-85 are kf,4 –kf,7 and kr,4 –kr,7 , re-
spectively. In addition, it is assumed that χ1 = 1, because the H-radical concentration
in the post-flame region of a hydrocarbon diffusion flame has been observed to be of the
same order as [H2 ]. Finally, the OH-radical concentration is estimated by considering the
reaction
OH + H2 *
) H2 O + H (20.1-86)
kr,8
χ2 =
kf,8
Values for the rate constants ka , kb , and kc for different equivalent fuel types are given
in Arrhenius form (AT b e−E/RT ) in Table 20.1.1 [203]. All rate constants have units of
m3 /gmol-s, and all values of E have units of J/gmol.
c Fluent Inc. September 29, 2006 20-29
Modeling Pollutant Formation
Equivalent ka kb kc
Fuel Type A b E A b E A b E
CH4 5.30 × 109 -1.54 27977 3.31 × 1013 -3.33 15090 3.06 × 1011 -2.64 77077
CH3 0.37 × 109 -1.54 27977 0.23 × 1013 -3.33 15090 0.21 × 1011 -2.64 77077
CH2 0.23 × 107 -1.54 27977 0.14 × 1011 -3.33 15090 0.13 × 109 -2.64 77077
CH 0.0 0.0 0.0 0.63 × 108 -3.33 15090 0.58 × 106 -2.64 77077
kf,8 = 1.02 × 105 T 1.60 e−13802/RT ; kr,8 = 4.52 × 105 T 1.60 e−80815/RT
Ammonia Injection
Several investigators have modeled the process using a large number of elementary reac-
tions. A simple empirical model has been proposed by Fenimore [103], which is based on
experimental measurements. However, the model was found to be unsuitable for practical
applications. Ostberg and Dam-Johansen [273] proposed a two-step scheme describing
the SNCR process as shown in Figure 20.1.2, which is a single initiation step followed
by two parallel reaction pathways: one leading to NO reduction, and the other to NO
formation.
20-30
c Fluent Inc. September 29, 2006
20.1 NOx Formation
OH NO
OH
NH NH
3 2
NO N2
1 3
NO + NH3 + O2 −→ N2 + H2 O (20.1-87)
4 2
5 3
NH3 + O2 −→ NO + H2 O (20.1-88)
4 2
The reaction orders of NO and NH3 at 4% volume O2 and the empirical rate constants
kr and kox for Equations 20.1-87 and 20.1-88, respectively, have been estimated from
work done by Brouwer et al. [44]. The reaction order of NO was found to be 1 for
Equation 20.1-87 and the order of NH3 was found to be 1 for both reactions. As such,
the following reaction rates for NO and NH3 , at 4% volume O2 , were proposed:
The rate constants kr and kox have units of m3 /gmol-s, and are defined as
kr = 4.24 × 102 T 5.30 e−Er /RT ; kox = 3.50 × 10−1 T 7.65 e−Eox /RT
c Fluent Inc. September 29, 2006 20-31
Modeling Pollutant Formation
This model has been shown to give reasonable predictions of the SNCR process in pul-
verized coal and fluidized bed combustion applications. The model also captures the
influence of the most significant parameters for SNCR, which are the temperature of the
flue gas at the injection position, the residence time in the relevant temperature interval,
the NH3 to NO molar ratio, and the effect of combustible additives. This model overesti-
mates the NO reduction for temperatures above the optimum temperature by an amount
similar to that of the detailed kinetic model of Miller and Bowman [242].
i The SNCR process naturally occurs when NH3 is present in the flame as
a fuel N intermediate. For this reason, even if the SNCR model is not
activated and there is no reagent injection, the natural SNCR process may
still occur in the flame. The temperature range or “window” at which
SNCR may occur is 1073 K < T < 1373 K. To model your case without
using the natural SNCR process, please contact your support engineer for
information on how to deactivate it.
Urea Injection
Urea as a reagent for the SNCR process is similar to that of injecting ammonia and has
been used in the power station combustors to reduce NO emissions successfully. However,
both reagents, ammonia and urea, have major limitations as a NOx reducing agent. The
narrow temperature “window” of effectiveness and mixing limitations are difficult factors
to handle in a large combustor. The use of urea instead of ammonia as the reducing
agent is attractive because of the ease of storage and handling of the reagent.
The SNCR process using urea is a combination of Thermal DeNOx (SNCR with am-
monia) and RAPRENOx (SNCR using cyanuric acid that, under heating, sublimes and
decomposes into isocyanic acid) since urea most probably decomposes into ammonia and
isocyanic acid [242].
One problem of SNCR processes using urea is that slow decay of HNCO as well as
the reaction channels leading to N2O and CO can significantly increase the emission
of pollutants other than NO. Urea seems to involve a significant emission of carbon-
containing pollutants, such as CO and HNCO.
Also, some experimental observations [311] show that SNCR using urea is effective in a
narrow temperature window that is shifted toward higher temperatures when compared
to Thermal DeNOx processes at the same value of the ratio of nitrogen in the reducing
agent and in NO in the feed, β. The effect of increasing the β value is to increase the
efficiency of abatement, while the effect of increasing O2 concentration depends on the
temperature considered.
The model described here is proposed by Brouwer et al. [44] and is a seven-step reduced
kinetic mechanism. Brouwer et al. [44] assumes that the breakdown of urea is instan-
taneous and 1 mole of urea is assumed to produce 1.1 moles of N H3 and 0.9 moles of
20-32
c Fluent Inc. September 29, 2006
20.1 NOx Formation
HNCO. The work of Rota et al. [311] proposed a finite rate two-step mechanism for the
breakdown of urea into ammonia and HNCO.
The seven-step reduced mechanism is given in Table 20.1.2 and the two-step urea break-
down mechanism is given in Table 20.1.3.
Reaction A b E
N H3 + N O → N2 + H 2 O + H 4.24E+02 5.30 349937.06
N H3 + O2 → N O + H 2 O + H 3.500E-01 7.65 524487.005
HN CO + M → H + N CO + M 2.400E+08 0.85 284637.8
N CO + N O → N 2 O + CO 1.000E+07 0.00 -1632.4815
N CO + OH → N O + CO + H 1.000E+07 0.00 0
N 2 O + OH → N2 + O2 + H 2.000E+06 0.00 41858.5
N 2 O + M → N2 + O + M 6.900E+17 -2.5 271075.646
Reaction A b E
CO(N H 2 )2 → N H3 + HN CO 1.27E-02 0 65048.109
CO(N H 2 )2 + H 2 O → 2N H3 + CO2 6.13E+04 0 87819.133
where the units of A, in Tables 20.1.2 and 20.1.3, are m-gmol-sec and E units are J/gmol.
∂
(ρYCO(NH2 )2 ) + ∇ · (ρ~v YCO(NH2 )2 ) = ∇ · (ρDYCO(NH2 )2 ) + SCO(NH2 )2 (20.1-91)
∂t
∂
(ρYHNCO ) + ∇ · (ρ~v YHNCO ) = ∇ · (ρDYHNCO ) + SHNCO (20.1-92)
∂t
∂
(ρYNCO ) + ∇ · (ρ~v YNCO ) = ∇ · (ρDYNCO ) + SNCO (20.1-93)
∂t
c Fluent Inc. September 29, 2006 20-33
Modeling Pollutant Formation
where YCO(NH2 )2 , YHNCO and YNCO are mass fractions of urea, HNCO and NCO in the
gas phase. Source terms SCO(NH2 )2 , SHNCO and SNCO are determined according to the
rate equations given in Tables 20.1.2 and 20.1.3 and the additional source terms due to
reagent injection. These additional source terms are determined next. The source terms
in the transport equations can be written as follows:
Apart from the source terms for the above three species, additional source terms for N O,
N H3 and N 2 O are also determined as follows, which should be added to the previously
calculated sources due to fuel NOx:
Source terms Si−reac for ith species are determined from the rate equations given in Ta-
bles 20.1.2 and 20.1.3.
where Sreagent is the rate of reagent release from the liquid droplets to the gas phase
(kg/s) and V is the cell volume (m3 ).
20-34
c Fluent Inc. September 29, 2006
20.1 NOx Formation
Sreagent
Spl,NH3 = M CFN H3 (20.1-101)
V
where Sreagent is the rate of reagent release from the liquid droplets to the gas phase
(kg/s), M CFN H3 is the mole fraction of N H3 in the N H3 /HN CO mixture created from
urea decomposition and V is the cell volume (m3 ).
Sreagent
Spl,HNCO = M CFHN CO (20.1-102)
V
where Sreagent , the injection source term, is the rate of reagent release from the liq-
uid droplets to the gas phase (kg/s), M CFN H3 is the mole fraction of HNCO in the
N H3 /HN CO mixture created from urea decomposition and V is the cell volume (m3 ).
i The mole conversion fractions (MCF) for species N H3 and HNCO are
determined through the user species values such that if one mole of urea
decomposes into 1.1 moles of N H3 and 0.9 moles of HNCO, then M CFN H3
= 0.55 and M CFHN CO = 0.45. When the user-specified option is used for
urea decomposition, then Spl,CO(NH2 )2 = 0.
However, the default option for urea decomposition is through rate limiting reactions
given in Table 20.1.3 and the source terms are calculated accordingly. In this case, both
values of Spl,N H3 and Spl,HN CO are zero.
c Fluent Inc. September 29, 2006 20-35
Modeling Pollutant Formation
i The PDF method described here applies to the NOx transport equations
only. The preceding combustion simulation can use either the general-
ized finite-rate chemistry model by Magnussen and Hjertager or the non-
premixed combustion model. For details on these models, refer to Chap-
ters 14 and 15.
20-36
c Fluent Inc. September 29, 2006
20.1 NOx Formation
where V1 , V2 ,... are temperature and/or the various species concentrations present. P is
the probability density function (PDF).
where S NO is the mean turbulent rate of production of NO, SNO is the instantaneous rate
of production given by, for example, Equation 20.1-15, and P1 (V1 ) and P (V1 , V2 ) are the
PDFs of the variables V1 and, if relevant, V2 . The same treatment applies for the HCN
or NH3 source terms.
Equation 20.1-104 or 20.1-105 must be integrated at every node and at every iteration.
For a PDF in temperature, the limits of integration are determined from the minimum
and maximum values of temperature in the combustion solution. For a PDF in mixture
fraction, the limits of the integrations in Equation 20.1-104 or 20.1-105 are determined
from the values stored in the look-up tables.
Statistical Independence
In the case of the two-variable PDF, it is further assumed that the variables V1 and V2
are statistically independent so that P (V1 , V2 ) can be expressed as
c Fluent Inc. September 29, 2006 20-37
Modeling Pollutant Formation
where Γ( ) is the Gamma function, α and β depend on m, the mean value of the quantity
in question, and its variance, σ 2 :
!
m(1 − m)
α=m −1 (20.1-108)
σ2
!
m(1 − m)
β = (1 − m) −1 (20.1-109)
σ2
The beta function requires that the independent variable V assume values between 0 and
1. Thus, field variables such as temperature must be normalized. See Section 20.1.10: Set-
ting Turbulence Parameters for information on using the beta PDF when using single-
mixture fraction models and two-mixture fraction models.
∂ 2 µt
ρσ + ∇ · (ρ~v σ 2 ) = ∇ ∇σ 2 + Cg µt (∇m)2 − Cd ρ σ 2 (20.1-110)
∂t σt k
where the constants σt , Cg and Cd take the values 0.85, 2.86, and 2.0, respectively.
Assuming equal production and dissipation of variance, one gets
!2 !2 !2
µt k Cg µt k Cg ∂m ∂m ∂m
σ2 = (∇m)2 = + + (20.1-111)
ρ Cd ρ Cd ∂x ∂y ∂z
The term in the brackets is the dissipation rate of the independent variable.
For a PDF in mixture fraction, the mixture fraction variance has already been solved as
part of the basic combustion calculation, so no additional calculation for σ 2 is required.
20-38
c Fluent Inc. September 29, 2006
20.1 NOx Formation
i If you plan to use the FLUENT SNCR model for NOx reduction, you will
first need to include ammonia or urea (depending upon which reagent is
employed) as a fluid species in the main combustion calculation and define
appropriate ammonia injections, as described later in this section. See
Section 14.1.4: Defining the Species in the Mixture for details about adding
species to your model and Section 22.12: Setting Initial Conditions for the
Discrete Phase for details about creating injections.
2. Activate the desired NOx models (thermal, fuel, and/or prompt NOx , with or with-
out reburn) and set the appropriate parameters, as described in this section.
Define −→ Models −→ Species −→NOx...
Inputs specific to the calculation of NOx formation are explained in the remainder of this
section.
c Fluent Inc. September 29, 2006 20-39
Modeling Pollutant Formation
In the Formation tab, select the NOx models under Pathways to be used in the calculation
of the NO and HCN, NH3 , or N2 O concentrations:
Your selection(s) under Pathways will activate the calculation of thermal, prompt, fuel,
and/or N2 O-intermediate NOx in accordance with the chemical kinetic models described
in Sections 20.1.3–20.1.6. Mean NO formation rates will be computed directly from mean
concentrations and temperature in the flow field.
20-40
c Fluent Inc. September 29, 2006
20.1 NOx Formation
• To choose the equilibrium method, select equilibrium in the [O] Model drop-down
list.
• To choose the partial equilibrium method, select partial-equilibrium in the [O] Model
or [OH] Model drop-down list.
• Specify which of the defined specie(s) is (are) the fuel by choosing it in the Fuel
Species list. A maximum of 10 prompt fuel species can be selected.
• Set the Fuel Carbon Number (number of carbon atoms per fuel molecule).
c Fluent Inc. September 29, 2006 20-41
Modeling Pollutant Formation
Note that you can use only one of the fuel models at a time. The Gas option is available
only with the finite-rate and eddy break-up (EBU) chemistry models are active (see
Section 14.1.3: Enabling Species Transport and Reactions and Choosing the Mixture
Material).
If you have selected Gas or Liquid as the Fuel Type, you will also need to specify the
following:
• For a gaseous fuel, select the Fuel Species from the drop-down list.
• Set the correct mass fraction of nitrogen in the fuel (kg nitrogen per kg fuel) in the
Fuel N Mass Fraction field.
• If you selected hcn/nh3/no as the intermediate, you will need to set the following
values:
– Specify the overall fraction of the fuel N, by mass, that will be converted to
the intermediate species and/or product NO in the Conversion Fraction field.
The Conversion Fraction for the N Intermediate has a default value of 1. Thus,
any remaining N will not contribute to NOx formation. This is based on the
assumption that the remaining volatile N will convert to gas phase nitrogen.
However, this has very little effect on the overall mass fraction of gas phase
nitrogen. Therefore, you do not have to solve for nitrogen species when solving
pollutant transport equations.
– Specify the fraction of the converted fuel N, by mass, that will become hcn
and nh3 under Partition Fractions. The fraction of fuel N that will become NO
will be calculated by the remainder.
20-42
c Fluent Inc. September 29, 2006
20.1 NOx Formation
Note that setting a partition fraction of 0 for both HCN and NH3 is equivalent to
assuming that all fuel N is converted to the final product NO, whereas a partition
fraction of 0 for HCN and 1 for NH3 is the same as selecting nh3 as the intermediate.
FLUENT will use Equations 20.1-29 and 20.1-30 (for HCN) or Equations 20.1-40 and
20.1-41 (for NH3 ) to predict NO formation for a gaseous or liquid fuel.
For solid fuel, FLUENT will use Equations 20.1-54 and 20.1-55 (for HCN) or Equa-
tions 20.1-61 and 20.1-62 (for NH3 ) to predict NO formation. Several inputs are required
for the coal fuel NOx model as follows:
• Specify the mass fraction of nitrogen in the volatiles in the Volatile N Mass Fraction
field.
• If you selected hcn/nh3/no as the volatile N intermediate, you will need to set the
following values:
– Specify the overall fraction of the volatile N, by mass, that will be converted to
the intermediate species and/or product NO in the Conversion Fraction field.
– Specify the fraction of the converted volatile N, by mass, that will become hcn
and nh3 under Partition Fractions. The fraction of volatile N that will become
NO will be calculated by the remainder.
• Select the char N conversion path from the Char N Conversion drop-down list as
no, hcn, nh3, or hcn/nh3/no. Note that hcn or nh3 can be selected only if the
same species has been selected as the intermediate species in the N Intermediate
drop-down list.
• Specify the mass fraction of nitrogen in the char in the Char N Mass Fraction field.
• If you selected hcn/nh3/no as the char N conversion, you will need to set the
following values:
– Specify the overall fraction of the char N, by mass, that will be converted to
the intermediate species and/or product NO in the Conversion Fraction field.
– Specify the fraction of the converted char N, by mass, that will become hcn
and nh3 under Partition Fractions. The fraction of char N that will become NO
will be calculated by the remainder.
• Define the BET internal pore surface area (see Section 20.1.5: BET Surface Area
for details) of the particles in the BET Surface Area field.
c Fluent Inc. September 29, 2006 20-43
Modeling Pollutant Formation
The following equations are used to determine the mass fraction of nitrogen in the
volatiles and char:
where
ṁNv/c = rate of release of fuel nitrogen in kg/s
ṁv/c = rate of release of volatiles (v) or char (c) in kg/s
mfNv/c = mass fraction of nitrogen in volatiles or char
Let
PN v = percentage by mass rate of nitrogen in volatiles
PN c = percentage by mass rate of nitrogen in char
T Nf uel = percentage by mass of nitrogen in fuel (daf)
Nsplit = split of nitrogen between volatiles and char
Fvol = mass fraction of volatiles in coal (daf)
Fchar = mass fraction of char in coal (daf)
Then the following should hold:
PN v
= Nsplit (20.1-114)
PN c
T Nf uel
PN c = (20.1-116)
(Fvol · Nsplit ) + Fchar
i Note that if water is assumed to release at the same rate as volatiles, the
above calculation has to be slightly modified.
20-44
c Fluent Inc. September 29, 2006
20.1 NOx Formation
• To choose the quasi-steady state method, select quasi-steady in the N2O Model
drop-down list.
i The transport equation for the species N2 O will not be solved for N2 O,
however, N2 O will be updated at every iteration. Therefore, the residual
values that appear for N2 O are always zero. Do not be alarmed if the solver
keeps printing zero at each iteration.
• To choose the simplified form of the N2 O-intermediate mechanism, select transported-
simple in the N2O Model drop-down list. Here, the species N2 O is added to the list
of pollutant species, and its mass fraction is solved via a transport equation.
The atomic O concentration will be calculated according to the thermal NOx [O] Model
that you have specified previously. If you have not selected the Thermal NO pathway,
then you will be given the option to specify an [O] Model for the N2 O pathway calculation.
The same three options for the thermal NOx [O] Model will be the available options.
c Fluent Inc. September 29, 2006 20-45
Modeling Pollutant Formation
Figure 20.1.4: The NOx Panel Displaying the Reburn Reduction Method
• To choose the instantaneous method, select instantaneous [CH] in the Reburn Model
drop-down list.
i When you use this method, you must be sure to include the species CH,
CH2 , and CH3 in your problem definition. See Section 20.1.7: NOx Reduc-
tion by Reburning for details.
• To choose the partial equilibrium method, select partial-equilibrium in the Reburn
Model drop-down list. You will then need to select the Reburn Fuel Species from the
list of available species. FLUENT will allow you select up to 5 reburn fuel species.
Specify the Equivalent Fuel Type (ch4, ch3, ch2, or ch). For example, if you choose
methane as the reburn fuel, then the Equivalent Fuel Type would be ch4. If you
choose a reburn fuel such as hv vol (a volatile component of coal), then you must
specify the most appropriate equivalent hydrocarbon fuel type so that the partial
equilibrium model will be activated correctly.
• Due to coal volatiles behaving very differently, it is important to select the correct
equivalent fuel type. You must first consider the volatile fuel composition, then
check the C/H ratio to find the fuel which most closely matches CH, CH2 , CH3 ,
or CH4 [213]. How the equivalent fuel is determined is still debatable, however,
considering the C/H ratio of the fuel itself is a reasonable indicator.
20-46
c Fluent Inc. September 29, 2006
20.1 NOx Formation
Figure 20.1.5: The NOx Panel Displaying the Reburn Reduction Method
• To have ammonia or urea included as a gas-phase pollutant species from the injec-
tion locations, select gaseous in the Injection Method drop-down list.
If you plan to select this option for NOx postprocessing, then you must also include
ammonia or urea as a gas-phase species. Additionally, you will need to specify
the mass fraction of ammonia or urea at the respective inlet for the SNCR injec-
tion. You must include this set of inputs prior to the main FLUENT combustion
calculation.
c Fluent Inc. September 29, 2006 20-47
Modeling Pollutant Formation
If you plan to select this option for NOx postprocessing, then you must include NH3
as both a gas-phase and liquid-phase species. Additionally, you will need to specify
injection locations for liquid droplet ammonia particles and set gaseous ammonia
as the evaporation species. You need to include this set of inputs in conjunction
with the main FLUENT combustion calculation.
Since urea is a subliming solid, and usually is injected as a solution, mixed in
water, you have to define solid properties for urea under the materials panel. We
assume that the water evaporates before urea begins its subliming process. The
sublimation process is modeled similar to the single rate devolatilization model of
coal. You will supply the value for the sublimation rate (s−1 ). You must specify
the water content while defining the injection properties.
• Specify the SNCR Reagent Species as nh3 (ammonia) or co<nh2>2 (urea) in the
drop-down list.
• If the Reagent Species selected is co<nh2>2, then you will either accept the rate-
limiting option for Urea Decomposition, or specify the NH3 Conversion value when
selecting a user-specified Urea Decomposition.
You will use the urea decomposition under the SNCR tab to define which of the
two decomposition models is to be used. The first model (which is the default) is
the rate-limiting decomposition model, as given in Table 20.1.3. FLUENT will then
calculates the source terms according to the rates given in Table 20.1.3. The second
model is for the user who assumes urea decomposes instantly into ammonia and
HNCO at a given proportion. In this case, you will specify the molar conversion
fraction for ammonia, assuming that the rest of the urea is converted to HNCO.
An example value is given above.
The value for user-specified nh3 conversion is the mole fraction of nh3 in the mixture
of nh3/hnco instantly created from the reagent injection. In this case, there is no
urea source because all of reagent is assumed to convert to both nh3 and hnco,
instantly.
20-48
c Fluent Inc. September 29, 2006
20.1 NOx Formation
Figure 20.1.6: The NOx Model Panel and the Turbulence Interaction Tab
The mixture fraction option is available only if you are using the nonpremixed combustion
model to model the reacting system. If you use the mixture fraction option, the instanta-
neous temperatures and species concentrations are taken from the PDF look-up table as a
function of mixture fraction and enthalpy and the instantaneous NOx rates are calculated
at each cell. The PDF used for convoluting the instantaneous NOx rates is the same as
c Fluent Inc. September 29, 2006 20-49
Modeling Pollutant Formation
the one used to compute the mean flowfield properties. For example, for single-mixture
fraction models the beta PDF is used, and for two-mixture fraction models, the beta or
the double delta PDF can be used. The PDF in mixture fraction is calculated from the
values of mean mixture fraction and variance at each cell, and the instantaneous NOx
rates are convoluted with the mixture fraction PDF to yield the mean rates in turbulent
flow.
You can, optionally, adjust the number of Beta PDF Points. The default value of 10,
indicating that the beta function in Equation 20.1-104 or Equation 20.1-105 will be inte-
grated at 10 points on a histogram basis, will yield an accurate solution with reasonable
computation time. Increasing this value may improve accuracy, but will also increase the
computation time. This option is not available when you select mixture fraction in the
PDF Mode drop-down list under Turbulence Interaction Mode. In this case, the mixture
fraction points defined in the PDF table will be used.
20-50
c Fluent Inc. September 29, 2006
20.1 NOx Formation
• (optional) If the discrete phase model (DPM) is activated (by turning on the In-
teraction with Continuous Phase) to run with the NOx model, then set the Number
of Continuous Phase Iterations per DPM Iteration to 0 such that no DPM iterations
are performed as the NOx case is being solved.
• In the Solution Controls panel, turn off the solution of all variables except species
NO (and HCN, NH3 , or N2 O, based on the model selected).
Solve −→ Controls −→Solution...
• Also in the Solution Controls panel, set a suitable value for the NO (and HCN, NH3 ,
or N2 O, if appropriate) under-relaxation. A value of 0.95 is suggested, although
lower values may be required for certain problems (i.e., if convergence cannot be
obtained, try a lower under-relaxation value).
• In the Residual Monitors panel, decrease the convergence criterion for NO (and
HCN, NH3 , or N2 O, if appropriate) to 10−6 .
Solve −→ Monitors −→Residual...
• Perform calculations until convergence (i.e., until the NO (and HCN, NH3 , or N2 O,
if solved) species residuals are below 10−6 ) to ensure that the NO and HCN or NH3
concentration fields are no longer evolving.
Solve −→Iterate...
i When you begin iterating with the NOx model enabled, FLUENT may
report that the solution has converged after the first iteration. This is
due to the lack of significant levels of pollutants in the solution. You can
force FLUENT to continue iterating by repeated iteration requests. Once
pollutants appear in the solution, FLUENT will continue iterating on its
own until a steady solution is achieved.
c Fluent Inc. September 29, 2006 20-51
Modeling Pollutant Formation
20.1.12 Postprocessing
When you compute NOx formation, the following additional variables will be available
for postprocessing:
• no Density
20-52
c Fluent Inc. September 29, 2006
20.2 SOx Formation
These variables are contained in the NOx... category of the variable selection drop-down
list that appears in postprocessing panels. Additional NO rates from individual pathways,
Thermal, Prompt, Fuel, N20 Path, and SNCR can be plotted.
c Fluent Inc. September 29, 2006 20-53
Modeling Pollutant Formation
20.2.1 Overview
Sulfur exists in coal as organic sulfur, pyretic and sulfates [1], and exists in liquid fu-
els mostly in organic form [249], in compositions ranging from 0.5% to 3%. All SOx
emissions are produced because of the oxidation of fuel-bound sulfur. During the com-
bustion process, fuel sulfur is oxidized to SO2 and SO3 . A portion of the gaseous SOx
will condense on the particles, attaching an amount of water and thus forming sulfuric
acid, or may react further to form sulfates. While SOx emissions are the main cause of
acid rain, SO3 also contributes to particulate emissions, and is responsible for corrosion
of combustion equipment. Furthermore, there is a growing interest in the interaction
of sulfur species with the nitrogen oxide chemistry [249], as NO levels are affected by
the presence of sulfur species. The evidence to date indicates that thermal NO levels
(Section 20.1.3: Thermal NOx Formation) are reduced in the presence of SO2 . However,
the effect of sulfur compounds on the fuel NOx formation is yet to be clarified.
Sulfur emissions are regulated from stationary sources and from automotive fuels. Sul-
fur pollutants can be captured during the combustion process, or with after treatment
methods, such as wet or dry scrubbing. Coal fired boilers are by far the biggest single
SOx emissions source, accounting for over 50% of total SO2 emissions [60].
For higher sulfur concentrations in the fuel, the SOx concentration field should be resolved
together with the main combustion calculation using any of the FLUENT reaction models.
For cases where the sulfur fraction in fuel is low, a generalized post-processing option
could be developed based on the solution of transport equations for H 2 S, SO2 , SO, SH,
and SO3 .
20-54
c Fluent Inc. September 29, 2006
20.2 SOx Formation
For low sulfur fuels, we can assume that sulfur is mainly released as H 2 S. The rate
of release can be determined similarly to that of fuel-bound N. For the char S it can
be assumed that SO2 is produced directly at the same rate as that of char burnout.
Transport equations for H 2 S, SO2 , SO, SH, and SO3 species are incorporated and an
appropriate reaction set has been developed as described in the ensuing sections.
∂
(ρYSO2 ) + ∇ · (ρ~v YSO2 ) = ∇ · (ρD∇YSO2 ) + SSO2 (20.2-1)
∂t
c Fluent Inc. September 29, 2006 20-55
Modeling Pollutant Formation
As discussed in Section 20.2.3: Reaction Mechanisms for Sulfur Oxidation, SOx formation
mechanisms are more involved. The tracking of sulfur-containing intermediate species is
important. FLUENT solves a transport equation for the H 2 S, SO3 , SO, and SH species
in addition to the SO2 species:
∂
(ρYH2 S ) + ∇ · (ρ~v YH2 S ) = ∇ · (ρDYH2 S ) + SH2 S (20.2-2)
∂t
∂
(ρYSO3 ) + ∇ · (ρ~v YSO3 ) = ∇ · (ρDYSO3 ) + SSO3 (20.2-3)
∂t
∂
(ρYSO ) + ∇ · (ρ~v YSO ) = ∇ · (ρDYSO ) + SSO (20.2-4)
∂t
∂
(ρYSH ) + ∇ · (ρ~v YSH ) = ∇ · (ρDYSH ) + SSH (20.2-5)
∂t
where YSO2 , YH2 S , YSO3 , YSO , and YSH are mass fractions of SO2 , H 2 S, SO3 , SO, and SH
in the gas phase. The source terms SSO2 , SH2 S , SSO3 , SSO , and SSH are to be determined
depending on the form of fuel sulfur release (SO2 and/or H 2 S) and inclusion of SO3 , SO
and SH in the SOx mechanism.
20-56
c Fluent Inc. September 29, 2006
20.2 SOx Formation
Above 1500 K, both mechanisms are in close agreement for SO2 and H 2 S concentration
predictions. However, SO and SH are not well correlated by the reduced mechanism
when compared against the predictions using the original detailed mechanism.
A major concern in these mechanisms is the presence of H radical and the method in which
to calculate its concentration in the flow field. At present, the concentration of H radical
is assumed to be proportional to the O radical concentration, which can be evaluated from
one of the existing methods in FLUENT; viz. Partial Equilibrium (Section 20.1.3: Method
2: Partial Equilibrium Approach) or Equilibrium (Section 20.1.3: Method 1: Equilibrium
Approach). The user is then given the option to vary the proportionality constant.
Although this assumption is open to debate, the lack of simple relation to calculate the
H radical concentration in a flame has prompted the present choice.
Present implementation allows the user to either include or remove SO3 from the calcu-
lations. Also, depending on the form of fuel sulfur release (e.g., H 2 S or SO2 ) the species
H 2 S may or may not be present for the calculation. The user is also given the extended
option of partitioning the intermediate fuel sulfur species to H 2 S and SO2 . However,
there is no literature to guide the user on how to select a correct partition fraction.
Reaction A b E
H 2 S + H → SH + H2 1.819702E+07 0.0E+00 7.484300E+03
SH + H2 → H 2 S + H 9.375623E+06 0.0E+00 6.253660E+04
OH + H 2 S → H 2 O + SH 1.380385E+02 0.0E+00 3.742150E+03
H 2 O + SH → OH + H 2 S 3.104557E+07 0.0E+00 1.218543E+05
SO + OH → H + SO2 1.621810E+08 0.0E+00 2.565926E+03
H + SO2 → SO + OH 7.691299E+09 0.0E+00 1.187023E+05
SH + O → SO + H 3.548135E+08 0.0E+00 2.687316E+03
SO + H → SH + O 2.985385E+09 0.0E+00 1.694600E+05
O + H 2 S → SH + OH 4.365162E+03 0.0E+00 1.380493E+04
SH + OH → O + H 2 S 9.885528E+08 0.0E+00 6.035996E+04
SO + O2 → SO2 + O 4.466832E+05 0.0E+00 2.703222E+04
SO2 + O → SO + O2 1.663412E+06 0.0E+00 7.613643E+04
H + SH + M → H 2 S + M 1.096478E+03 0.0E+00 0.000000E+00
H 2 S + M → H + SH + M 8.669613E+14 0.0E+00 3.819463E+05
SO + O + M → SO2 + M 8.709647E+09 k -1.8E+00 0.000000E+00
SO2 + M → SO + O + M 1.905464E+14 0.0E+00 5.207365E+05
A is in m3 /gmol-s, E is J/gmol (assumed 1 cal = 4.18585 J), A units for the thirteenth
reaction is m6 /gmol2 -s, and A units for the fifteenth reaction is m6 /gmol2 -s.
c Fluent Inc. September 29, 2006 20-57
Modeling Pollutant Formation
In addition, the following two reactions were included in FLUENT to complete the SOx
mechanism, with the rate constants taken from Hunter’s work [150].
20-58
c Fluent Inc. September 29, 2006
20.2 SOx Formation
Sc YS,char Mw,i
Schar,i = (20.2-10)
Mw,S V
c Fluent Inc. September 29, 2006 20-59
Modeling Pollutant Formation
20-60
c Fluent Inc. September 29, 2006
20.2 SOx Formation
2. Enable the SOx model by clicking the SOx Formation button and set the appropriate
parameters, as described in this section.
Define −→ Models −→ Species −→SOx...
3. Define the boundary conditions for SO2 and H 2 S (and SO3 , SH, or SO if necessary)
at flow inlets.
Define −→Boundary Conditions...
4. In the Solution Controls panel, turn off the solution of all variables except species
SO2 and H 2 S (and SO3 , SH, or SO, based on your selections).
Solve −→ Controls −→Solution...
c Fluent Inc. September 29, 2006 20-61
Modeling Pollutant Formation
5. Perform calculations until convergence (i.e., until the SO2 and H 2 S (and SO3 , SH,
or SO, if solved) species residuals are below 10−6 ) to ensure that the SO2 and H 2 S
concentration fields are no longer evolving.
Solve −→Iterate...
6. Review the mass fractions of SO2 and H 2 S (and SO3 , SH, or SO) with alphanu-
merics and/or graphics tools in the usual way.
Note that you can use only one of the fuel models at a time. The Gas option is available
only when the Species Transport model is enabled (see Section 14.1.3: Enabling Species
Transport and Reactions and Choosing the Mixture Material).
20-62
c Fluent Inc. September 29, 2006
20.2 SOx Formation
Figure 20.2.2: The SOx Model Panel Displaying Liquid Fuel Parameters
c Fluent Inc. September 29, 2006 20-63
Modeling Pollutant Formation
If you have selected Gas or Liquid as the Fuel Type, you will also need to specify the
following:
• For gaseous fuels only, select the Fuel Species from the drop-down list.
• Select the intermediate species (h2s, so2, or h2s/so2) in the S Intermediate drop-
down list.
• Set the correct mass fraction of sulfur in the fuel (kg sulfur per kg fuel) in the Fuel
S Mass Fraction field.
• Specify the overall fraction of the fuel S, by mass, that will be converted to the
intermediate species and/or product SO2 in the Conversion Fraction field. Thus, any
remaining S will not contribute to SOx formation. This is based on the assumption
that the remaining volatile S will convert to gas phase sulfur. The Conversion
Fraction for the S Intermediate has a default value of 1.
• If you selected h2s/so2 as the intermediate, you will need to set the fraction of
the converted fuel S, by mass, that will become h2s under Partition Fractions. The
fraction of fuel S that will become SO2 will be calculated by the remainder.
Note that setting a partition fraction of 0 for H2 S is equivalent to assuming that
all fuel S is converted to the final product SO2 .
• You have the option of including SO3 as a product, and including SH and SO
as intermediates as described in Section 20.2.3: Reaction Mechanisms for Sulfur
Oxidation.
• Specify the method by which O and OH will be calculated. The SOx routines
employs three methods for reduction calculations of SOx :
– You can select equilibrium, partial-equilibrium, or instantaneous in the [O] Model
drop-down list.
– You can select none, partial-equilibrium, or instantaneous in the [OH] Model
drop-down list.
20-64
c Fluent Inc. September 29, 2006
20.2 SOx Formation
For solid fuel, several inputs are required for SOx model.
Figure 20.2.3: The SOx Model Panel Displaying Solid Fuel Parameters
• Select the intermediate species (h2s, so2, or h2s/so2) in the S Intermediate drop-
down list.
• Specify the mass fraction of sulfur in the volatiles in the Volatile S Mass Fraction
field.
• Specify the overall fraction of the volatile S, by mass, that will be converted to the
intermediate species and/or product SO2 in the Conversion Fraction field.
c Fluent Inc. September 29, 2006 20-65
Modeling Pollutant Formation
• If you selected h2s/so2 as the volatile S intermediate, you will need to specify the
fraction of the converted volatile S, by mass, that will become h2s under Partition
Fractions. The fraction of volatile S that will become SO2 will be calculated by the
remainder.
• Select the char S conversion path from the Char S Conversion drop-down list as so2,
h2s, or so2/h2s.
• Specify the mass fraction of sulfur in the char in the Char S Mass Fraction field.
• Specify the overall fraction of the char S, by mass, that will be converted to the
intermediate species and/or product SO2 in the Conversion Fraction field.
• If you selected so2/h2s from the Char S Conversion drop-down list, you will need to
specify the fraction of the converted char S, by mass, that will become SO2 under
Partition Fractions. The fraction of char S that will become H2 S will be calculated
by the remainder.
• You have the option of including SO3 as a product, and including SH and SO
as intermediates as described in Section 20.2.3: Reaction Mechanisms for Sulfur
Oxidation.
The following equations are used to determine the mass fraction of sulfur in the volatiles
and char
where
ṁSv/c = rate of release of fuel sulfur in kg/s
ṁv/c = rate of release of volatiles (v) or char (c) in kg/s
mfSv/c = mass fraction of sulfur in volatiles or char
20-66
c Fluent Inc. September 29, 2006
20.2 SOx Formation
Let
PSv = percentage by mass of sulfur in volatiles
PSc = percentage by mass of sulfur in char
T Sf uel = percentage by mass of sulfur in fuel (daf)
Ssplit = split of sulfur between volatiles and char
Fvol = mass fraction of volatiles in coal (daf)
Fchar = mass fraction of char in coal (daf)
Then the following should hold:
PSv
= Ssplit (20.2-14)
PS c
T Sf uel
PSc = (20.2-16)
(Fvol · Ssplit ) + Fchar
i Note that if water is assumed to release at the same rate as volatiles, the
above calculation has to be slightly modified.
c Fluent Inc. September 29, 2006 20-67
Modeling Pollutant Formation
Figure 20.2.4: The SOx Model Panel for a Gas Fuel Type with Turbulence
20-68
c Fluent Inc. September 29, 2006
20.2 SOx Formation
You can, optionally, adjust the number of Beta PDF Points. The default value is 10,
indicating that the beta function in Equation 20.1-104 or Equation 20.1-105 will be inte-
grated at 10 points on a histogram basis, will yield an accurate solution with reasonable
computation time. Increasing this value may improve accuracy, but will also increase the
computation time. This option is not available when you select mixture fraction in the
PDF Mode drop-down list under Turbulence Interaction. In this case, the mixture fraction
points defined in the PDF table will be used.
c Fluent Inc. September 29, 2006 20-69
Modeling Pollutant Formation
Figure 20.2.5: The Mass-Flow Inlet Panel and the Species Tab
20-70
c Fluent Inc. September 29, 2006
20.2 SOx Formation
• (optional) If the discrete phase model (DPM) is activated (by turning on the In-
teraction with Continuous Phase to run with the SOx model, then set the Number
of Continuous Phase Iterations per DPM Iteration to 0 such that no DPM iterations
are performed as the SOx case is being solved.
• In the Solution Controls panel, turn off the solution of all variables except Pollutant
so2 and Pollutant h2s (and Pollutant so3, Pollutant sh, and Pollutant so, if applicable).
Solve −→ Controls −→Solution...
• Also in the Solution Controls panel, set suitable values for the pollutant SO2 and
H2 S (and SO3 , SH, and SO, if applicable) under-relaxation factors. A value of 0.95
is suggested, although lower values may be required for certain problems. That is,
if convergence cannot be obtained, try a lower under-relaxation value.
• Under Discretization select the desired scheme for each of the pollutants,SO2 and
H2 S (and SO3 , SH, and SO, if applicable)
c Fluent Inc. September 29, 2006 20-71
Modeling Pollutant Formation
• In the Residual Monitors panel, decrease the convergence criterion for the pollutants,
SO2 and H2 S (and SO3 , SH, and SO, if applicable) to 10−6 .
Solve −→ Monitors −→Residual...
• Perform calculations until convergence (i.e., until the SO2 and H2 S (and SO3 , SH,
and SO) pollutant residuals are below 10−6 ) to ensure that the SO2 and H2 S (and
SO3 , SH, and SO) concentration fields are no longer evolving.
• Review the mass fractions of pollutants, SO2 and H2 S (and SO3 , SH, and SO) al-
phanumerics and/or graphics tools in as described in Section 20.2.10: Postprocessing.
20.2.10 Postprocessing
When you compute SOx formation, the following additional variables will be available
for postprocessing. They are contained in the SOx... category of the variable selection
drop-down list that appears in postprocessing panels.
• so2 Density
• h2s Density
• so3 Density
• sh Density
• so Density
• Rate of so2
20-72
c Fluent Inc. September 29, 2006
20.3 Soot Formation
• Rate of h2s
• Rate of so3
• Rate of sh
• Rate of so
• the single-step Khan and Greeves model [179], in which FLUENT predicts the rate
of soot formation based on a simple empirical rate.
• the two-step Tesner model [229, 373], in which FLUENT predicts the formation of
nuclei particles, with soot formation on the nuclei.
The Khan and Greeves model is the default model used by FLUENT when you include
soot formation. In both models, combustion of the soot (and particle nuclei) is assumed
to be governed by the Magnussen combustion rate [229]. Note that this limits the use
of the soot formation models to turbulent flows. Soot formation cannot be predicted by
FLUENT for laminar or inviscid flows.
Both soot formation models are empirically-based, approximate models of the soot for-
mation process in combustion systems. The detailed chemistry and physics of soot for-
mation are quite complex and are only approximated in the models used by FLUENT.
You should view the results of these models as qualitative indicators of your system
performance unless you can undertake experimental validation of the results.
c Fluent Inc. September 29, 2006 20-73
Modeling Pollutant Formation
• You must use the pressure-based solver. The soot models are not available with
either of the density-based solvers.
• The soot model cannot be used in conjunction with the premixed combustion model.
20.3.2 Theory
The Single-Step Soot Formation Model
In the single-step Khan and Greeves model [179], FLUENT solves a single transport
equation for the soot mass fraction:
∂ µt
(ρYsoot ) + ∇ · (ρ~v Ysoot ) = ∇ · ∇Ysoot + Rsoot (20.3-1)
∂t σsoot
where
Ysoot = soot mass fraction
σsoot = turbulent Prandtl number for soot transport
Rsoot = net rate of soot generation (kg/m3 -s)
Rsoot , the net rate of soot generation, is the balance of soot formation, Rsoot,form , and
soot combustion, Rsoot,comb :
where
Cs = soot formation constant (kg/N-m-s)
pfuel = fuel partial pressure (Pa)
φ = equivalence ratio
r = equivalence ratio exponent
E/R = activation temperature (K)
20-74
c Fluent Inc. September 29, 2006
20.3 Soot Formation
The rate of soot combustion is the minimum of two rate expressions [229]:
R1 = AρYsoot (20.3-5)
k
and
where
A = constant in the Magnussen model
Yox , Yfuel = mass fractions of oxidizer and fuel
νsoot , νfuel = mass stoichiometries for soot and fuel combustion
The default constants for the single-step model are valid for a wide range of hydrocarbon
fuels.
∂ µt
(ρb∗nuc ) + ∇ · (ρ~v b∗nuc ) = ∇ · ∇b∗ + R∗nuc (20.3-7)
∂t σnuc nuc
where
b∗nuc = normalized radical nuclei concentration (particles ×10−15 /kg)
σnuc = turbulent Prandtl number for nuclei transport
R∗nuc = normalized net rate of nuclei generation (particles ×10−15 /m3 -s)
In these transport equations, the rates of nuclei and soot generation are the net rates,
involving a balance between formation and combustion.
c Fluent Inc. September 29, 2006 20-75
Modeling Pollutant Formation
The two-step model computes the net rate of soot generation, Rsoot , in the same way as
the single-step model, as a balance of soot formation and soot combustion:
In the two-step model, however, the rate of soot formation, Rsoot,form , depends on the
concentration of radical nuclei, cnuc :
where
mp = mean mass of soot particle (kg/particle)
Nsoot = concentration of soot particles (particles/m3 )
cnuc = radical nuclei concentration = ρbnuc (particles/m3 )
α = empirical constant (s−1 )
β = empirical constant (m3 /particle-s)
The rate of soot combustion, Rsoot,comb , is computed in the same way as for the single-step
model, using Equations 20.3-4–20.3-6.
The default constants for the two-step model are for combustion of acetylene (C2 H2 ).
According to Ahmad et al. [5], these values should be modified for other fuels, since the
sooting characteristics of acetylene are known to be different from those of saturated
hydrocarbon fuels.
The net rate of nuclei generation in the two-step model is given by the balance of the
nuclei formation rate and the nuclei combustion rate:
where
R∗nuc,form = rate of nuclei formation (particles ×10−15 /m3 -s)
R∗nuc,comb = rate of nuclei combustion (particles ×10−15 /m3 -s)
20-76
c Fluent Inc. September 29, 2006
20.3 Soot Formation
The rate of nuclei formation, R∗nuc,form , depends on a spontaneous formation and branch-
ing process, described by
where
c∗nuc = normalized nuclei concentration (= ρb∗nuc )
a∗0 = a0 /1015
a0 = pre-exponential rate constant (particles/kg-s)
cfuel = fuel concentration (kg/m3 )
f −g = linear branching − termination coefficient (s−1 )
g0 = linear termination on soot particles (m3 /particle-s)
Note that the branching term, (f − g)c∗nuc , in Equation 20.3-11 is included only when
the kinetic rate, η0 , is greater than the limiting formation rate (105 particles/m3 -s, by
default).
The rate of nuclei combustion is assumed to be proportional to the rate of soot combus-
tion:
b∗nuc
R∗nuc,comb = Rsoot,comb (20.3-13)
Ysoot
c Fluent Inc. September 29, 2006 20-77
Modeling Pollutant Formation
2. Enable the desired soot formation model and set the related parameters, as de-
scribed in this section.
Define −→ Models −→ Species −→Soot...
3. In the Solution Controls panel, turn off solution of all variables except soot (and
nuclei, if you are using the two-step model).
Solve −→ Controls −→Solution...
4. Also in the Solution Controls panel, set a suitable value for the soot (and nuclei,
for the two-step model) under-relaxation factor(s). A value of 0.9 is suggested,
although a lower value may be required for certain problems. That is, if convergence
cannot be obtained, try a lower under-relaxation value.
5. In the Residual Monitors panel, decrease the convergence criterion for soot (and
nuclei, for the two-step model) to 10−5 .
Solve −→ Monitors −→Residual...
6. Define the boundary conditions for soot (and nuclei, for the two-step model) at
flow inlets.
Define −→Boundary Conditions...
7. Perform calculations until convergence (i.e., until the soot—and nuclei, for the two-
step model—residual is below 10−5 ) to ensure that the soot (and nuclei) field is no
longer evolving.
8. Review the mass fraction of soot (and nuclei) with alphanumerics and/or graphics
tools in the usual way.
10. If you want to calculate a coupled solution for the soot and the flow field, turn on
the other variables again and recompute until convergence. (See the end of this
section for some advice on coupled calculations.)
20-78
c Fluent Inc. September 29, 2006
20.3 Soot Formation
Under Model, select either the One-Step or the Two-Step model. The panel will expand
to show the appropriate inputs for the selected model.
(If you want to include the effects of soot formation on the radiation absorption coefficient,
turn on the Generalized Model option under Soot-Radiation Interaction.)
Mean Diameter of Soot Particle and Mean Density of Soot Particle are the assumed av-
erage diameter and average density of the soot particles in the combustion sys-
tem, used to compute the soot particle mass, mp , in Equation 20.3-9 for the two-
step model. Note that the default values for soot density and diameter are taken
from [229].
These parameters will not appear when the one-step model is used.
c Fluent Inc. September 29, 2006 20-79
Modeling Pollutant Formation
Stoichiometry for Soot Combustion is the mass stoichiometry, νsoot , in Equation 20.3-6,
which computes the soot combustion rate in both soot models. The default value
supplied by FLUENT (2.6667) assumes that the soot is pure carbon and that the
oxidizer is O2 .
Stoichiometry for Fuel Combustion is the mass stoichiometry, νfuel , in Equation 20.3-6,
which computes the soot combustion rate in both soot models. The default value
supplied by FLUENT (3.6363) is for combustion of propane (C3 H8 ) by oxygen (O2 ).
Equivalence Ratio Minimum and Equivalence Ratio Maximum are the minimum and
maximum values of the fuel equivalence ratio φ in Equation 20.3-3. Equation 20.3-3
will be solved only if Equivalence Ratio Minimum < φ < Equivalence Ratio Maximum;
if φ is outside of this range, there is no soot formation.
Activation Temperature of Soot Formation Rate is the term E/R in Equation 20.3-3.
Magnussen Constant for Soot Combustion is the constant A used in the rate expres-
sions governing the soot combustion rate (Equations 20.3-5 and 20.3-6).
Note that the default values for these parameters are for propane fuel [63, 388], and are
considered to be valid for a wide range of hydrocarbon fuels.
20-80
c Fluent Inc. September 29, 2006
20.3 Soot Formation
Limiting Nuclei Formation Rate is the limiting value of the kinetic nuclei formation rate
η0 in Equation 20.3-12. Below this limiting value, the branching and termination
term, (f − g) in Equation 20.3-11, is not included.
Activation Temperature of Nuclei Formation Rate is the term E/R in the kinetic nuclei
formation term, Equation 20.3-12.
Constant Alpha for Soot Formation Rate is α, the constant in the soot formation rate
equation, Equation 20.3-9.
Constant Beta for Soot Formation Rate is β, the constant in the soot formation rate
equation, Equation 20.3-9.
Magnussen Constant for Soot and Nuclei Combustion is the constant A used in the rate
expressions governing the soot combustion rate (Equations 20.3-5 and 20.3-6).
The default values for the two-step model are the same as in Magnussen and Hjertager [229]
(for an acetylene flame), except for a0 , which is assumed to have the original value from
Tesner et al. [373]. If your model involves propane fuel rather that acetylene, it is rec-
ommended that you change the value of α to 3.5 × 108 [5]. For best results, you should
modify both of these parameters, using empirically determined inputs for your specific
combustion system.
c Fluent Inc. September 29, 2006 20-81
Modeling Pollutant Formation
• Soot Density
• Rate of Soot
Both of these parameters are contained in the Soot... category of the variable selection
drop-down list that appears in postprocessing panels.
20-82
c Fluent Inc. September 29, 2006
Chapter 21. Predicting Aerodynamically Generated Noise
• Section 21.3: Using the Ffowcs Williams and Hawkings Acoustics Model
21.1 Overview
Considering the breadth of the discipline and the challenges encountered in comput-
ing sounds, it is not surprising that a number of computational approaches have been
proposed over the years whose sophistication, applicability, and cost widely vary.
FLUENT offers three approaches to computing sounds, a direct method, an integral
method based on acoustic analogy, and a method that utilizes broadband noise source
models.
c Fluent Inc. September 29, 2006 21-1
Predicting Aerodynamically Generated Noise
21-2
c Fluent Inc. September 29, 2006
21.1 Overview
• Proudman’s formula
c Fluent Inc. September 29, 2006 21-3
Predicting Aerodynamically Generated Noise
Considering that one would ultimately want to come up with some measures to mitigate
the noise generated by the flow in question, the source models can be employed to extract
useful diagnostics on the noise source to determine which portion of the flow is primarily
responsible for the noise generation. Note, however, that these source models do not
predict the sound at receivers.
Unlike the direct method and the FW-H integral method, the broadband noise source
models do not require transient solutions to any governing fluid dynamics equations. All
the source models need is what typical RANS models would provide, such as the mean
velocity field, turbulent kinetic energy (k) and the dissipation rate (ε). Therefore, the
use of broadband noise source models requires the least computational resources.
1 ∂ 2 p0 2 0 ∂2
− ∇ p = {Tij H(f )}
a20 ∂t2 ∂xi ∂xj
∂
− {[Pij nj + ρui (un − vn )] δ(f )}
∂xi
∂
+ {[ρ0 vn + ρ (un − vn )] δ(f )} (21.2-1)
∂t
where
ui = fluid velocity component in the xi direction
un = fluid velocity component normal to the surface f = 0
vi = surface velocity components in the xi direction
vn = surface velocity component normal to the surface
δ(f ) = Dirac delta function
H(f ) = Heaviside function
p0 is the sound pressure at the far field (p0 = p − p0 ). f = 0 denotes a mathematical
surface introduced to “embed” the exterior flow problem (f > 0) in an unbounded space,
which facilitates the use of generalized function theory and the free-space Green function
to obtain the solution. The surface (f = 0) corresponds to the source (emission) surface,
and can be made coincident with a body (impermeable) surface or a permeable surface
21-4
c Fluent Inc. September 29, 2006
21.2 Acoustics Model Theory
off the body surface. ni is the unit normal vector pointing toward the exterior region
(f > 0), a0 is the far-field sound speed, and Tij is the Lighthill stress tensor, defined as
Pij is the compressive stress tensor. For a Stokesian fluid, this is given by
" #
∂ui ∂uj 2 ∂uk
Pij = pδij − µ + − δij (21.2-3)
∂xj ∂xi 3 ∂xk
where
ρ0 U˙n + Uṅ
Z
4πp0T (~x, t) = dS
f =0 r (1 − Mr )2
n o
Z ρ0 Un rṀr + a0 (Mr − M 2 )
+ dS (21.2-5)
f =0 r2 (1 − Mr )3
" #
1 Z L̇r
4πp0L (~x, t) = dS
a0 f =0 r (1 − Mr )2
" #
Z
Lr − L M
+ dS
f =0 r (1 − Mr )2
2
n o
1 Z Lr rṀr + a0 (Mr − M 2 )
+ dS (21.2-6)
a0 f =0 r2 (1 − Mr )3
c Fluent Inc. September 29, 2006 21-5
Predicting Aerodynamically Generated Noise
where
ρ
Ui = v i + (ui − vi ) (21.2-7)
ρ0
Li = Pij n̂j + ρui (un − vn ) (21.2-8)
When the integration surface coincides with an impenetrable wall, the two terms on the
right in Equation 21.2-4, p0T (~x, t) and p0L (~x, t), are often referred to as thickness and
loading terms, respectively, in light of their physical meanings. The square brackets in
Equations 21.2-5 and 21.2-6 denote that the kernels of the integrals are computed at the
corresponding retarded times, τ , defined as follows, given the observer time, t, and the
distance to the observer, r,
r
τ =t− (21.2-9)
a0
The various subscripted quantities appearing in Equations 21.2-5 and 21.2-6 are the
inner products of a vector and a unit vector implied by the subscript. For instance,
Lr = L~ · ~ˆr = Li ri and Un = U~ · ~n = Ui ni , where ~r and ~n denote the unit vectors in
the radiation and wall-normal directions, respectively. The dot over a variable denotes
source-time differentiation of that variable.
Please note the following remarks regarding the applicability of this integral solution:
• The FW-H formulation in FLUENT can handle rotating surfaces as well as station-
ary surfaces.
• It is not required that the surface f = 0 coincide with body surfaces or walls. The
formulation permits source surfaces to be permeable, and therefore can be placed
in the interior of the flow.
21-6
c Fluent Inc. September 29, 2006
21.2 Acoustics Model Theory
u3 u5
!
PA = αρ0 (21.2-10)
` a50
where u and ` are the turbulence velocity and length scales, respectively, and a0 is
the speed of sound. α in Equation 21.2-10 is a model constant. In terms of k and ε,
Equation 21.2-10 can be rewritten as
PA = αε ρ0 εMt5 (21.2-11)
where √
2k
Mt = (21.2-12)
a0
The rescaled constant, α , is set to 0.1 in FLUENT based on the calibration of Sarkar and
Hussaini [316] using direct numerical simulation of isotropic turbulence.
FLUENT can also report the acoustic power in dB, which is computed from
PA
LP = 10 log (21.2-13)
Pref
where Pref is the reference acoustic power (Pref = 10−12 W/m3 by default).
The Proudman’s formula gives an approximate measure of the local contribution to total
acoustic power per unit volume in a given turbulence field. Proper caution, however,
should be taken when interpreting the results in view of the assumptions made in the
derivation, such as high Reynolds number, small Mach number, isotropy of turbulence,
and zero mean motion.
c Fluent Inc. September 29, 2006 21-7
Predicting Aerodynamically Generated Noise
In Goldstein’s model, the total acoustic power emitted by the unit volume of a turbulent
jet is computed from
Z 2π Z π
PA (~y ) = I(r, θ; ~y )r2 sin θdθ dψ
0
Z0 π
2
= 2πr I(r, θ; ~y ) sin θ dθ (21.2-14)
0
where r and θ are the radial and angular coordinates of the receiver location, and I(r, θ; ~y )
is the directional acoustic intensity per unit volume of a jet defined by
2 !2
12 ρ0 ωf4 L1 L22 u2t1 Dself 24 ρ0 ωf4 L1 L42 u2t1 ∂U Dshear
I(r, θ; ~y ) = + (21.2-15)
5 π a50 r2 C5 π a50 r2 ∂r C5
C = 1 − Mc cos θ (21.2-16)
and
M
Dself = 1 + 2( − N ) cos2 θ sin2 θ
9
1 M2 1.5 ∆2
" #
+ + M − 1.5N (3 − 3N + 2 − ) sin4 θ (21.2-17)
3 7 ∆ 2
1 1
Dshear = cos2 θ cos2 θ + 2
− 2N sin2 θ (21.2-18)
2 ∆
L2
∆ = (21.2-19)
L1
3 1 2
M = ∆− (21.2-20)
2 ∆
u2t2
N = 1− (21.2-21)
u2t1
3/2
u2t1
L1 = (21.2-22)
3/2
u2t2
L2 = (21.2-23)
ωf = 2π (21.2-24)
k
21-8
c Fluent Inc. September 29, 2006
21.2 Acoustics Model Theory
where u2t1 and u2t2 are computed differently depending on the turbulence model chosen for
the computation. When the RSM is selected, they are computed from the corresponding
normal stresses. For all other two-equation turbulence models, they are obtained from
8
u2t1 = k (21.2-25)
9
4
u2t2 = k (21.2-26)
9
FLUENT reports the acoustic power both in the dimensional units (W/m3 ) and in dB
computed from
PA
LP = 10 log (21.2-27)
Pref
where Pref is the reference acoustic power (Pref = 10−12 W/m3 by default).
1 Z (xi − yi ) ni ∂p
p0 (~x, t) = (~y , τ ) dS(~y ) (21.2-28)
4πa0 S r2 ∂t
where τ denotes the emission time (τ = t − r/a0 ), and S the integration surface.
Using this, the sound intensity in the far field can then be approximated by
#2
1 Z cos2 θ ∂p
"
p02 ≈ (~y , τ ) Ac (~y ) dS(~y ) (21.2-29)
16π 2 a20 S r2 ∂t
where Ac is the correlation area, r ≡ |~x − ~y |, and cos θ is the angle between |~x − ~y | and
the wall-normal direction ~n.
The total acoustic power emitted from the entire body surface can be computed from
1 Z 2π Z π 02 2
PA = p r sin θ dθdψ
ρ 0 a0 0 0
Z
= I(~y ) dS(~y ) (21.2-30)
S
where " #2
Ac (~y ) ∂p
I(~y ) ≡ (21.2-31)
12ρ0 πa30 ∂t
c Fluent Inc. September 29, 2006 21-9
Predicting Aerodynamically Generated Noise
which can be interpreted as the local contribution per unit surface area of the body surface
to the total acoustic power. The mean-square time derivative of the surface pressure
and the correlation area are further approximated in terms of turbulent quantities like
turbulent kinetic energy, dissipation rate, and wall shear.
FLUENT reports the acoustic surface power defined by Equation 21.2-31 both in physical
(W/m2 ) and dB units.
where the subscript “a” refers to the corresponding acoustic components, and the prime
superscript refers to the turbulent components.
The right side of Equation 21.2-32 can be considered as effective source terms responsible
for sound generation. Among them, the first three terms involving turbulence are the
main contributors. The first two terms denoted by Lsh are often referred to as “shear-
noise” source terms, since they involve the mean shear. The third term denoted by Lse
is often called the “self-noise” source term, for it involves turbulent velocity components
only.
The turbulent velocity field needed to compute the LEE source terms is obtained using
the method of stochastic noise generation and radiation (SNGR) [30]. In this method,
the turbulent velocity field and its derivatives are computed from a sum of N Fourier
modes.
N
ũn cos ~kn · ~x + ψn ~σn
X
~u (~x, t) = 2 (21.2-33)
n=1
where ũn , ψn , ~σn are the amplitude, phase, and directional (unit) vector of the nth Fourier
mode associated with the wave-number vector ~kn .
Note that the source terms in the LEE are vector quantities, having two or three com-
ponents depending on the dimension of the problem at hand.
21-10
c Fluent Inc. September 29, 2006
21.2 Acoustics Model Theory
D D2 Π
" !# !
∂ 2∂Π ∂uk ∂ ∂Π ∂uk ∂uj ∂ui
2
− a +2 a2 = −2 (21.2-34)
Dt Dt ∂xj ∂xj ∂xj ∂xk ∂xj ∂xi ∂xk ∂xj
The resulting source terms in Equation 21.2-36 are evaluated using the mean velocity field
and the turbulent (fluctuating) velocity components synthesized by the SNGR method.
As with the LEE source terms, the source terms in Equation 21.2-36 are grouped de-
pending on whether the mean velocity gradients are involved (shear noise or self noise),
and reported separately in FLUENT.
c Fluent Inc. September 29, 2006 21-11
Predicting Aerodynamically Generated Noise
i Note that you can also use the FW-H model for a steady-state simulation
in the case where your model has a single rotating reference frame. Here,
the loading noise due to the motion of the noise sources is computed using
the FW-H integrals (see Equations 21.2-5 and 21.2-6), except that the term
involving the time derivative of surface pressure (L̇r in Equation 21.2-6) is
set to zero.
In computing sound pressure using the FW-H integral solution, FLUENT uses a so-called
“forward-time projection” to account for the time delay between the emission time (the
time at which the sound is emitted from the source) and the reception time (the time at
which the sound arrives at the receiver location). The forward-time projection approach
enables you to compute sound at the same time “on the fly” as the transient flow solution
progresses, without having to save the source data.
In this section, the procedure for setting up and using the FW-H acoustics model is
outlined first, followed by detailed descriptions of each of the steps involved. Remember
that only the steps that are pertinent to acoustics modeling are discussed here. For
information about the inputs related to other models that you are using in conjunction
with the FW-H acoustics model, see the appropriate sections for those models.
The general procedure for carrying out an FW-H acoustics calculation in FLUENT is as
follows:
1. Calculate a converged flow solution. For a transient case, run the transient solution
until you obtain a “statistically steady-state” solution as described below.
2. Enable the FW-H acoustics model and set the associated model parameters.
Define −→ Models −→Acoustics...
3. Specify the source surface(s) and choose the options associated with acquisition
and saving of the source data. For a steady-state case, specify the rotating surface
zone(s) as the source surface(s).
21-12
c Fluent Inc. September 29, 2006
21.3 Using the Ffowcs Williams and Hawkings Acoustics Model
5. Continue the transient solution for a sufficiently long period of time and save the
source data (transient cases only).
Solve −→Iterate...
i Before you start the acoustics calculation for a transient case, a FLUENT
transient solution should have been run to a point where the transient
flow field has become “statistically steady”. In practice, this means that
the unsteady flow field under consideration, including all the major flow
variables, has become fully developed in such a way that its statistics do
not change with time. Monitoring the major flow variables at selected
points in the domain is helpful for determining if this condition has been
met.
As discussed earlier, URANS, DES, and LES are all legitimate candidates for transient
flow calculations. For stationary source surfaces, the frequency of the aerodynamically
generated sound heard at the receivers is largely determined by the time scale or fre-
quency of the underlying flow. Therefore, one way to determine the time-step size for
the transient computation is to make it small enough to resolve the smallest character-
istic time scale of the flow at hand that can be reproduced by the mesh and turbulence
adopted in your model.
Once you have obtained a statistically stationary flow-field solution, you are ready to
acquire the source data.
c Fluent Inc. September 29, 2006 21-13
Predicting Aerodynamically Generated Noise
Far-Field Density (for example, ρ0 in Equation 21.2-1) is the far-field fluid density.
Far-Field Sound√Speed (for example, a0 in Equation 21.2-1) is the sound speed in the
far field (= γRT0 ).
Reference Acoustic Pressure (for example, pref in Equation 28.10-11) is used to calcu-
late the sound pressure level in dB (see Section 28.10.4: Using the FFT Utility).
The default reference acoustic pressure is 2 × 10−5 Pa.
Number of Time Steps Per Revolution is available only for steady-state cases that have
a single rotating reference frame. Here you will specify the number of equivalent
time steps that it will take for the rotating zone to complete one revolution.
Number of Revolutions is available only for steady-state cases that have a single rotat-
ing reference frame. Here you will specify the number of revolutions that will be
simulated in the model.
The default values are appropriate for sound propagating in air at atmospheric pressure
and temperature.
21-14
c Fluent Inc. September 29, 2006
21.3 Using the Ffowcs Williams and Hawkings Acoustics Model
i Note that this option is available only when the FW-H acoustics model has
been enabled. See below for details about exporting source data without
enabling the FW-H model.
c Fluent Inc. September 29, 2006 21-15
Predicting Aerodynamically Generated Noise
You can also export sound source data for use with SYSNOISE without having to enable
the Ffowcs Williams and Hawkings (FW-H) model. You will still need to specify source
surfaces (see Section 21.3.2: Specifying Source Surfaces), as .index and .asd files are
required by SYSNOISE. In addition, you can choose fluid zones as emission sources if
you want to export quadrupole sources. To enable the selection of fluid zones as sources,
use the
define −→ models −→ acoustics −→export-volumetric-sources?
text command and change the selection to yes.
SYSNOISE also requires centroid data for source zones that are being exported.
For fan noise calculations, once you have specified the source zones in the Acoustic Sources
panel and you have selected Export Acoustic Source Data from the Acoustic Model panel,
you can export geometry in cylindrical coordinates by using the
define −→ models −→ acoustics −→cylindrical-export?
text command and changing the selection to yes. By default, FLUENT exports source
zones for SYSNOISE in Cartesian coordinates.
You can then export the centroid data to a .data file using the following text command:
define −→ models −→ acoustics −→write-centroid-info
Since you will not be using the FW-H model to compute signals, you will not need to
specify any acoustic model parameters or receiver locations. Also, you will not be able to
turn on the Compute Acoustic Signals Simultaneously option in the Acoustics Model panel,
and Acoustic Signals... will not be available in the Solve menu.
21-16
c Fluent Inc. September 29, 2006
21.3 Using the Ffowcs Williams and Hawkings Acoustics Model
Under Source Zones, you can select multiple emission (source) surfaces and the surface
Type that you can select is not limited to a wall. You can also choose interior surfaces
and sliding interfaces (both stationary and rotating) as source surfaces.
i The ability to choose multiple source surfaces is useful for investigating the
contributions from individual source surfaces. The results based on the use
of multiple source surfaces are valid as long as there are negligible acoustic
interactions among the surfaces. Thus, some caution needs to be taken
when selecting multiple source surfaces.
In cases where multiple source surfaces are selected, no source surface may enclose any
of the other source surfaces. Otherwise, the sound pressure calculated based on the
source surfaces will not be accurate, as the contribution from the enclosed (inner) source
surfaces is over predicted, since the FW-H model is unable to account for the shading of
the sound from the inner source surfaces by the enclosure surface.
c Fluent Inc. September 29, 2006 21-17
Predicting Aerodynamically Generated Noise
If you specify any interior surfaces as source surfaces, the interior surface must be gen-
erated in advance (e.g., in GAMBIT) in such a way that the two cell zones adjacent to
the surface have different cell zone IDs. Furthermore, you must correctly specify which
of the two zones is occupied by the quadrupole sources (interior cell zone). This will
allow FLUENT to determine the direction in which the sound will propagate. When you
first attempt to select a legitimate interior surface (i.e., an interior surface having two
different cell zones on both sides) as a source surface, the Interior Cell Zone Selection
panel (Figure 21.3.3) will appear. You will then need to select the interior cell zones
from the two zones listed under the Interior Cell Zone. Figure 21.3.4 shows an example of
an interior source surface.
Like general interior surfaces, if the source surfaces selected are sliding interfaces, a panel
similar to Figure 21.3.3 will appear that will show the two adjacent cell zones and you
will be asked to specify the zone which has the sound sources.
21-18
c Fluent Inc. September 29, 2006
21.3 Using the Ffowcs Williams and Hawkings Acoustics Model
3.36e+03
2.92e+03
2.48e+03
2.04e+03
1.59e+03 outer fluid
1.15e+03
7.12e+02 interior source surface
2.70e+02
-1.71e+02
-6.13e+02
-1.05e+03
-1.50e+03
-1.94e+03 inner fluid
-2.38e+03
-2.82e+03
-3.26e+03
-3.70e+03
-4.14e+03
-4.59e+03
-5.03e+03
-5.47e+03
c Fluent Inc. September 29, 2006 21-19
Predicting Aerodynamically Generated Noise
to exclude an initial portion of the source data from your acoustics calculation because
you may realize later that the flow field has not fully attained a statistically steady state.
After you click Apply, FLUENT will create the index file (e.g., acoustics example.index),
which contains information about the source data.
i If you choose to save source data, keep in mind that the source data can use
up a considerable amount of disk space, especially if the mesh being used
has a large number of face elements on the source surfaces you selected.
FLUENT will print out the disk space requirement per time step at the
time of source surface selection if the Export Acoustic Source Data option
is enabled in the Acoustics Model panel.
At this point, if you have chosen to perform your acoustics calculation in two steps, (i.e.,
saving the source data first, and computing the sound at a later time), you can go ahead
and instruct FLUENT to perform a suitable number of time steps, and the source data will
be saved to the disk. If you have chosen to perform an “on-the-fly” acoustic calculation,
then you will need to specify receiver locations (see Section 21.3.3: Specifying Acoustic
Receivers) before you run the unsteady FLUENT solution any further.
i Note that you can also open the Acoustic Receivers panel by clicking the
Receivers... button in the Acoustic Sources or the Acoustic Signals panels.
21-20
c Fluent Inc. September 29, 2006
21.3 Using the Ffowcs Williams and Hawkings Acoustics Model
Increase the No. of Receivers to the total number of receivers for which you want to
compute sound, and enter the coordinates for each receiver in the X-Coord., Y-Coord.,
and Z-Coord. fields. Note that because FLUENT’s acoustics model is ideally suited for far-
field noise prediction, the receiver locations you define should be at a reasonable distance
from the sources of sound (i.e., the selected source surfaces). The receiver locations can
also fall outside of the computational domain.
For each receiver, you can specify a file name in the Signal File Name field. These files will
be used to store the sound pressure signals at the corresponding receivers. By default,
the files will be named receiver-1.ard, receiver-2.ard, etc.
Once the receiver locations have been defined, the setup for your acoustic calculation is
complete. You can now proceed to instruct FLUENT to perform a transient calculation
for a suitable number of time steps. When the calculation is finished, you will have
either the source data saved on files (if you chose to save it to a file or files), or the sound
pressure signals (if you chose to perform an acoustic calculation “on the fly”), or both
(if you chose to save the source data to files and if you chose to perform the acoustic
calculation “on the fly”).
If you chose to save the source data to files, the FLUENT console window will print a
message at the end of each time step indicating that source data have been written (or
appended to) a file (e.g., acoustic example240.asd).
c Fluent Inc. September 29, 2006 21-21
Predicting Aerodynamically Generated Noise
1. In the Acoustic Signals panel, select Read Unsteady Acoustic Source Data Files under
Options.
2. Click Load Index File... and select the index file for your computation in the Select
File dialog box. The file will have the name you entered in the Source Data Root
Filename field in the Acoustic Sources panel, followed by the .index suffix (e.g.,
acoustic example.index).
3. In the Source Data Files list, select the source data files that you want to use
to compute sound. Source data files will all contain the specified root file name
followed by the suffix .asd.
i You can use any number of source data files. However, note that you should
select only consecutive files.
21-22
c Fluent Inc. September 29, 2006
21.3 Using the Ffowcs Williams and Hawkings Acoustics Model
4. In the Active Source Zones list, select the source zones you want to include to
compute sound. See Section 21.3.2: Specifying Source Surfaces for details about
proper source surface selection.
5. In the Receivers list, select the receivers for which you want to compute and save
sound.
Optionally, you can click the Receivers... button to open the Acoustic Receivers
panel and define additional receivers.
6. Click the Compute/Write button to compute and save the sound pressure data. One
file will be saved for each receiver you previously specified in the Acoustic Receivers
panel (e.g., receiver-1.ard).
i If you enabled both the Export Acoustic Source Data and Compute Acoustic
Signals Simultaneously options in the Acoustics Model panel, you will need
to first select the Write Acoustic Signals option in the Acoustic Signals panel
after the flow simulation has been completed. If you select the Read Un-
steady Acoustic Source Data Files before writing out the “on-the-fly” data
in such a case, the data will be flushed out of the internal buffer memory.
To avoid such a loss of data, you should save the FLUENT case and data
files whenever you begin to do an acoustic computation in the Acoustic
Signals panel. The sound pressure data calculated “on the fly” will then be
saved into the .dat file. Finally, after the “on-the-fly” data is saved, make
sure to change the file names of the receivers before doing a sound pres-
sure calculation with the Read Unsteady Acoustic Source Data Files option
enabled, to avoid overwriting the “on-the-fly” signal files.
i Note that you can compute and write sound pressure signals only when
the FW-H acoustics model has been enabled. See Section 21.3.1: Export-
ing Source Data Without Enabling the FW-H Model for details about
exporting source data (e.g., for SYSNOISE) without enabling the FW-H
model.
c Fluent Inc. September 29, 2006 21-23
Predicting Aerodynamically Generated Noise
Before the computed sound pressure data at each receiver is saved, it is by default
automatically pruned. Pruning of the receiver data means clipping the tails of the signal
where incomplete source information is available.
The acoustic source data is tabulated from time τ0 to τn . Without auto-pruning, the
receiver register begins receiving the earliest sound pressure signal at
rmin
t0 = τ0 +
a0
where rmin is the shortest distance between the source surfaces and the receiver. However,
the receiver will not receive the sound pressure signal from the farthest point on the source
surfaces (rmax ) until the receiver time becomes
rmax
t1 = τ0 +
a0
From time t0 to t1 , the sound accumulated on the receiver register does not include
the contribution from the entire source surface area, and thus the sound pressure data
received during that time is not complete. The same thing occurs during the period from
rmin
tm = τm +
a0
to
rmax
tn = τn +
a0
Thus, pruning means clipping the signal on the incomplete ends, from t0 to t1 and tm to tn .
Auto-pruning can be disabled using the define −→ models −→ acoustics −→auto-prune
text command. Although auto-pruning can be disabled, it is expected that you will use
only the complete sound pressure data.
21-24
c Fluent Inc. September 29, 2006
21.4 Using the Broadband Noise Source Models
2. Enable the broadband noise model and set the associated model parameters.
Define −→ Models −→Acoustics...
c Fluent Inc. September 29, 2006 21-25
Predicting Aerodynamically Generated Noise
Reference Acoustic Power (for example, Pref in Equation 21.2-13) is used to compute
the acoustic power outputs in decibels (dB). The default value is 10−12 . Note that
the units for the reference acoustic power will be different in 2D (W/m2 ) and 3D
(W/m3 ) cases.
Number of Realizations is the number of samples used in the SNGR to compute the
averaged source terms of LEE and Lilley’s equations. The default value is 200.
Number of Fourier Modes (N in Equation 21.2-33) is the number of the Fourier modes
used to compute the turbulent velocity field and its derivatives. The turbulent
velocity field is then used to compute the LEE and Lilley’s source terms. The
default value is 50.
21-26
c Fluent Inc. September 29, 2006
21.4 Using the Broadband Noise Source Models
• Acoustic Power
c Fluent Inc. September 29, 2006 21-27
Predicting Aerodynamically Generated Noise
21-28
c Fluent Inc. September 29, 2006
Chapter 22. Modeling Discrete Phase
This chapter describes the Lagrangian discrete phase capabilities available in FLUENT
and how to use them.
Information is organized into the following sections:
c Fluent Inc. September 29, 2006 22-1
Modeling Discrete Phase
22.1 Introduction
In addition to solving transport equations for the continuous phase, FLUENT allows
you to simulate a discrete second phase in a Lagrangian frame of reference. This second
phase consists of spherical particles (which may be taken to represent droplets or bubbles)
dispersed in the continuous phase. FLUENT computes the trajectories of these discrete
phase entities, as well as heat and mass transfer to/from them. The coupling between the
phases and its impact on both the discrete phase trajectories and the continuous phase
flow can be included.
FLUENT provides the following discrete phase modeling options:
• optional coupling of the continuous phase flow field prediction to the discrete phase
calculations
These modeling capabilities allow FLUENT to simulate a wide range of discrete phase
problems including particle separation and classification, spray drying, aerosol dispersion,
bubble stirring of liquids, liquid fuel combustion, and coal combustion. The physical
equations used for these discrete phase calculations are described in Sections 22.2–22.9.1,
and instructions for setup, solution, and postprocessing are provided in Sections 22.11–
22.16.
22.1.1 Overview
Advances in computational fluid mechanics have provided the basis for further insight into
the dynamics of multiphase flows. Currently there are two approaches for the numerical
calculation of multiphase flows: the Euler-Lagrange approach (discussed below) and the
Euler-Euler approach (discussed in Section 23.2.1: Approaches to Multiphase Modeling).
22-2
c Fluent Inc. September 29, 2006
22.1 Introduction
22.1.2 Limitations
Limitation on the Particle Volume Fraction
The discrete phase formulation used by FLUENT contains the assumption that the second
phase is sufficiently dilute that particle-particle interactions and the effects of the particle
volume fraction on the gas phase are negligible. In practice, these issues imply that the
discrete phase must be present at a fairly low volume fraction, usually less than 10–12%.
Note that the mass loading of the discrete phase may greatly exceed 10–12%: you may
solve problems in which the mass flow of the discrete phase equals or exceeds that of the
continuous phase. See Chapter 23: Modeling Multiphase Flows for information about
when you might want to use one of the general multiphase models instead of the discrete
phase model.
c Fluent Inc. September 29, 2006 22-3
Modeling Discrete Phase
Limitations on Using the Discrete Phase Model with Other FLUENT Models
The following restrictions exist on the use of other models with the discrete phase model:
• When tracking particles in parallel, the DPM model cannot be used with any of
the multiphase flow models (VOF, mixture, or Eulerian – see Chapter 23: Modeling
Multiphase Flows) if the shared memory option is enabled (Section 22.11.9: Parallel
Processing for the Discrete Phase Model). (Note that using the message passing
option, when running in parallel, enables the compatibility of all multiphase flow
models with the DPM model.)
• Streamwise periodic flow (either specified mass flow rate or specified pressure drop)
cannot be modeled when the discrete phase model is used.
• Only nonreacting particles can be included when the premixed combustion model
is used.
• Surface injections will be moved with the grid when a sliding mesh or a moving
or deforming mesh is being used, however only those surfaces associated with a
boundary will be recalculated. Injections from cut plane surfaces will not be moved
with the mesh and will be deleted when remeshing occurs.
• The cloud model is not available for unsteady particle tracking, or in parallel, when
using the message passing option for the particles.
• The wall-film model is only valid for liquid materials. If a nonliquid particle inter-
acts with a wall-film boundary, the boundary condition will default to the reflect
boundary condition.
• When multiple reference frames are used in conjunction with the discrete phase
model, the display of particle tracks will not, by default, be meaningful. Similarly,
coupled discrete-phase calculations are not meaningful.
An alternative approach for particle tracking and coupled discrete-phase calcula-
tions with multiple reference frames is to track particles based on absolute velocity
instead of relative velocity. To make this change, use the define/models/dpm/
options/track-in-absolute-frame text command. Note that the results may
strongly depend on the location of walls inside the multiple reference frame.
The particle injection velocities (specified in the Set Injection Properties panel) are
defined relative to the frame of reference in which the particles are tracked. By
default, the injection velocities are specified relative to the local reference frame.
If you enable the track-in-absolute-frame option, the injection velocities are
specified relative to the absolute frame.
• Relative particle tracking cannot be used in combination with sliding and moving
deforming meshes. If sliding and/or deforming meshes are used with the DPM
22-4
c Fluent Inc. September 29, 2006
22.2 Particle Motion Theory
model, the particles will always be tracked in the absolute frame. Switching to the
relative frame is not permitted.
dup gx (ρp − ρ)
= FD (u − up ) + + Fx (22.2-1)
dt ρp
18µ CD Re
FD = (22.2-2)
ρp d2p 24
Here, u is the fluid phase velocity, up is the particle velocity, µ is the molecular viscosity
of the fluid, ρ is the fluid density, ρp is the density of the particle, and dp is the particle
diameter. Re is the relative Reynolds number, which is defined as
ρdp |up − u|
Re ≡ (22.2-3)
µ
c Fluent Inc. September 29, 2006 22-5
Modeling Discrete Phase
Other Forces
Equation 22.2-1 incorporates additional forces (Fx ) in the particle force balance that can
be important under special circumstances. The first of these is the “virtual mass” force,
the force required to accelerate the fluid surrounding the particle. This force can be
written as
1ρ d
Fx = (u − up ) (22.2-4)
2 ρp dt
and is important when ρ > ρp . An additional force arises due to the pressure gradient in
the fluid: !
ρ ∂u
Fx = up i (22.2-5)
ρp ∂xi
a2 a3
CD = a1 + + 2 (22.2-6)
Re Re
where a1 , a2 , and a3 are constants that apply to smooth spherical particles over several
ranges of Re given by Morsi and Alexander [253], or
24 b3 Resph
CD = 1 + b1 Resph b2 + (22.2-7)
Resph b4 + Resph
where
b1 = exp(2.3288 − 6.4581φ + 2.4486φ2 )
b2 = 0.0964 + 0.5565φ
b3 = exp(4.905 − 13.8944φ + 18.4222φ2 − 10.2599φ3 )
b4 = exp(1.4681 + 12.2584φ − 20.7322φ2 + 15.8855φ3 ) (22.2-8)
which is taken from Haider and Levenspiel [132]. The shape factor, φ, is defined as
s
φ= (22.2-9)
S
where s is the surface area of a sphere having the same volume as the particle, and S
is the actual surface area of the particle. The Reynolds number Resph is computed with
the diameter of a sphere having the same volume.
22-6
c Fluent Inc. September 29, 2006
22.2 Particle Motion Theory
For sub-micron particles, a form of Stokes’ drag law is available [274]. In this case, FD
is defined as
18µ
FD = (22.2-10)
dp 2 ρp Cc
The factor Cc is the Cunningham correction to Stokes’ drag law, which you can compute
from
2λ
Cc = 1 + (1.257 + 0.4e−(1.1dp /2λ) ) (22.2-11)
dp
where uy,p and uy are the particle and fluid velocities in the Cartesian y direction, and
! !
ρ ρ
1− Ω2 y − 2Ω ux,p − ux (22.2-13)
ρp ρp
where ux,p and ux are the particle and fluid velocities in the Cartesian x direction.
c Fluent Inc. September 29, 2006 22-7
Modeling Discrete Phase
Thermophoretic Force
Small particles suspended in a gas that has a temperature gradient experience a force
in the direction opposite to that of the gradient. This phenomenon is known as ther-
mophoresis. FLUENT can optionally include a thermophoretic effect on particles in the
additional acceleration (force/unit mass) term, Fx , in Equation 22.2-1:
1 ∂T
Fx = −DT,p (22.2-14)
mp T ∂x
where DT,p is the thermophoretic coefficient. You can define the coefficient to be constant,
polynomial, or a user-defined function, or you can use the form suggested by Talbot [367]:
6πdp µ2 Cs (K + Ct Kn) 1 ∂T
Fx = − (22.2-15)
ρ(1 + 3Cm Kn)(1 + 2K + 2Ct Kn) mp T ∂x
22-8
c Fluent Inc. September 29, 2006
22.2 Particle Motion Theory
Brownian Force
For sub-micron particles, the effects of Brownian motion can be optionally included in the
additional force term. The components of the Brownian force are modeled as a Gaussian
white noise process with spectral intensity Sn,ij given by [205]
216νkB T
S0 = (22.2-17)
ρp 2
π 2 ρd5p ρ
Cc
T is the absolute temperature of the fluid, ν is the kinematic viscosity, and kB is the
Boltzmann constant. Amplitudes of the Brownian force components are of the form
s
πSo
Fbi = ζi (22.2-18)
∆t
where K = 2.594 and dij is the deformation tensor. This form of the lift force is intended
for small particle Reynolds numbers. Also, the particle Reynolds number based on the
particle-fluid velocity difference must be smaller than the square root of the particle
Reynolds number based on the shear field. Since this restriction is valid for submicron
particles, it is recommended to use this option only for submicron particles.
c Fluent Inc. September 29, 2006 22-9
Modeling Discrete Phase
Stochastic Tracking
When the flow is turbulent, FLUENT will predict the trajectories of particles using the
mean fluid phase velocity, u, in the trajectory equations (Equation 22.2-1). Optionally,
you can include the instantaneous value of the fluctuating gas flow velocity,
u = u + u0 (22.2-20)
22-10
c Fluent Inc. September 29, 2006
22.2 Particle Motion Theory
Prediction of particle dispersion makes use of the concept of the integral time scale, T ,
which describes the time spent in turbulent motion along the particle path, ds:
Z ∞ up 0 (t)up 0 (t + s)
T = ds (22.2-21)
0 up 0 2
The integral time is proportional to the particle dispersion rate, as larger values indicate
more turbulent motion in the flow. It can be shown that the particle diffusivity is given
by ui 0 uj 0 T .
For small “tracer” particles that move with the fluid (zero drift velocity), the integral time
becomes the fluid Lagrangian integral time, TL . This time scale can be approximated as
k
TL = CL (22.2-22)
where CL is to be determined as it is not well known. By matching the diffusivity of
tracer particles, ui 0 uj 0 TL , to the scalar diffusion rate predicted by the turbulence model,
νt /σ, one can obtain
k
TL ≈ 0.15 (22.2-23)
for the k- model and its variants, and
k
TL ≈ 0.30 (22.2-24)
when the Reynolds stress model (RSM) is used [75]. For the k-ω models, substitute
ω = /k into Equation 22.2-22. The LES model uses the equivalent LES time scales.
In the discrete random walk (DRW) model, or “eddy lifetime” model, the interaction of
a particle with a succession of discrete stylized fluid phase turbulent eddies is simulated.
Each eddy is characterized by
• a time scale, τe
c Fluent Inc. September 29, 2006 22-11
Modeling Discrete Phase
The values of u0 , v 0 , and w0 that prevail during the lifetime of the turbulent eddy are
sampled by assuming that they obey a Gaussian probability distribution, so that
q
0
u = ζ u0 2 (22.2-25)
where ζ is a normally distributed random number, and the remainder of the right-hand
side is the local RMS value of the velocity fluctuations. Since the kinetic energy of
turbulence is known at each point in the flow, these values of the RMS fluctuating
components can be defined (assuming isotropy) as
q q q q
u0 2 = v02 = w0 2 = 2k/3 (22.2-26)
for the k- model, the k-ω model, and their variants. When the RSM is used, nonisotropy
of the stresses is included in the derivation of the velocity fluctuations:
q
0
u = ζ u0 2 (22.2-27)
q
v0 = ζ v02 (22.2-28)
q
w0 = ζ w0 2 (22.2-29)
when viewed in a reference frame in which the second moment of the turbulence is diag-
onal [413]. For the LES model, the velocity fluctuations are equivalent in all directions.
See Section 12.9.4: Inlet Boundary Conditions for the LES Model for details.
The characteristic lifetime of the eddy is defined either as a constant:
τe = 2TL (22.2-30)
where r is a uniform random number between 0 and 1 and TL is given by Equation 22.2-23.
The option of random calculation of τe yields a more realistic description of the correlation
function.
22-12
c Fluent Inc. September 29, 2006
22.2 Particle Motion Theory
where τ is the particle relaxation time, Le is the eddy length scale, and |u − up | is the
magnitude of the relative velocity.
The particle is assumed to interact with the fluid phase eddy over the smaller of the
eddy lifetime and the eddy crossing time. When this time is reached, a new value of the
instantaneous velocity is obtained by applying a new value of ζ in Equation 22.2-25.
The only inputs required for the DRW model are the value for the integral time-scale
constant, CL (see Equations 22.2-22 and 22.2-30) and the choice of the method used for
the prediction of the eddy lifetime. You can choose to use either a constant value or a
random value by selecting the appropriate option in the Set Injection Properties panel for
each injection, as described in Section 22.12.5: Stochastic Tracking.
c Fluent Inc. September 29, 2006 22-13
Modeling Discrete Phase
The “staggering factor” in the TUI is a constant which multiplies the random sample.
The staggering factor controls the percentage of the initial time step that will be sampled.
For example, if the staggering factor is 0.5, then the parcels in the injection will be tracked
between half and all of their full initial time step. If the staggering factor is 0.1, then the
parcels will be tracked between ninety percent and all of their initial time step. If the
staggering factor is set to 0.9, the parcels will be tracked between ten percent and all of
their initial time step. This allows the user to control the amount of smoothing between
injections.
The default values for the options in the TUI are no temporal staggering and a temporal
staggering factor of 1.0. The temporal staggering factor is inactive until the flag for
temporal staggering is turned on.
The PDFs for particle position are assumed to be multivariate Gaussian. These are
completely described by their mean, µi , and variance, σi 2 , and are of the form
1
P (xi , t) = 3
e−s/2 (22.2-34)
Y
(2π)3/2 σi
i=1
22-14
c Fluent Inc. September 29, 2006
22.2 Particle Motion Theory
where
3
x i − µi 2
X
s= (22.2-35)
i=1 σi
The mean of the PDF, or the center of the cloud, at a given time represents the most
likely location of the particles in the cloud. The mean location is obtained by integrating
a particle velocity as defined by an equation of motion for the cloud of particles:
Z t
µi (t) ≡ hxi (t)i = hVi (t1 )idt1 + hxi (0)i (22.2-36)
0
Z t Z t2
σi2 (t) = 2 hu02
p,i (t2 )i Rp,ii (t2 , t1 )dt1 dt2 (22.2-37)
0 0
2 0
where hup,i i are the mean square velocity fluctuations, and Rp,ij (t2 , t1 ) is the particle
velocity correlation function:
Note that cross correlations in the definition of the variance (Rp,ij , i 6= j) have been
neglected.
c Fluent Inc. September 29, 2006 22-15
Modeling Discrete Phase
The form of the particle velocity correlation function used determines the particle disper-
sion in the cloud model. FLUENT uses a correlation function first proposed by Wang [389],
and used by Jain [159]. When the gravity vector is aligned with the z-coordinate direc-
tion, Rij takes the form:
ρp d2p
τa = (22.2-44)
18µ
and
mT TmE
T = (22.2-45)
m
3/4 3/2
Cµ k
Tf E = (22.2-46)
( 23 k)1/2
τa g
γ = (22.2-47)
u0
τa
St = (22.2-48)
TmE
τa
StT = (22.2-49)
T
θ = St2T (1 + m2T γ 2 ) − 1 (22.2-50)
ū
m = (22.2-51)
u0
ū
TmE = Tf E 0 (22.2-52)
"u #
G(m)
mT = m 1− (22.2-53)
(1 + St)0.4(1+0.01St)
2
2 Z∞ e−y dy
G(m) = √ √ 5/2 (22.2-54)
π 0
m2
1+ π
( π erf(y)y − 1 + e−y2 )
22-16
c Fluent Inc. September 29, 2006
22.3 Multicomponent Particle Theory
Using this correlation function, the variance is integrated over the life of the cloud. At
any given time, the cloud radius is set to three standard deviations in the coordinate
directions. The cloud radius is limited to three standard deviations since at least 99.2%
of the area under a Gaussian PDF is accounted for at this distance. Once the cells
within the cloud are established, the fluid properties are ensemble-averaged for the mean
trajectory, and the mean path is integrated in time. This is done with a weighting factor
defined as
Z
P (xi , t)dV
Vcell
W (xi , t) ≡ Z (22.2-55)
P (xi , t)dV
Vcloud
If coupled calculations are performed, sources are distributed to the cells in the cloud
based on the same weighting factors.
The only inputs required for the cloud model are the values of the minimum and maximum
cloud diameters. The cloud model is enabled in the Set Injection Properties panel for each
injection, as described in Section 22.12.5: Cloud Tracking.
i The cloud model is not available for unsteady particle tracking, or in par-
allel, when using the message passing option for the particles.
where Tp is the droplet temperature, and psat is the saturation pressure of the droplet
species at Tp .
c Fluent Inc. September 29, 2006 22-17
Modeling Discrete Phase
For the general case where N components are evaporating from a droplet (distillation),
the evaporation rate of each species is again given by Equation 22.9-20; however, psat in
Equation 22.3-1 must be replaced by pi , the partial pressure of species i, to calculate the
concentration of i at the droplet surface.
The partial pressure of species i can be obtained from the general expression for vapor
liquid equilibrium [343],
Vi L (p − psat,i )
" #
φ̂i yi p = γi xi φsat,i psat,i exp (22.3-2)
RT
which is obtained by equating the fugacity of the liquid and vapor mixtures. Here, φ̂i , is
the fugacity coefficient for species i in the mixture, and accounts for nonideality in the
gas; φsat,i is the fugacity coefficient for pure i at the saturation pressure; γi is the activity
coefficient for species i in the mixture, and accounts for nonideality in the liquid phase; p
is the absolute pressure; T is the temperature; R is the universal gas constant; Vi L is the
molar volume of the liquid; psat,i is the saturation pressure of species i ; and xi and yi are
the equilibrium compositions of species i in the liquid and gas phases, respectively. The
exponential term is the Poynting correction factor and accounts for compressibility effects
within the liquid. Except at high pressures, the Poynting factor is usually negligible.
Under low pressure conditions where the gas phase may be assumed to be ideal, φ̂i ≈ 1
and φsat,i ≈ 1. Furthermore, if the liquid is also assumed to be ideal, γi ≈ 1 and
Equation 22.3-2 reduces to Raoult’s law,
yi p = xi psat,i (22.3-3)
Raoult’s law is the default vapor-liquid equilibrium expression used in the FLUENT mul-
ticomponent droplet model. However, there is a UDF hook available for user-defined
vapor-liquid equilibrium models.
While Raoult’s law represents the simplest form of the VLE equation, keep in mind that
it is of limited use, as the assumptions made for its derivation are usually unrealistic.
The most critical assumption is that the liquid phase is an ideal solution. This is not
likely to be valid, unless the system is made up of species of similar molecular sizes and
chemical nature, such as in the case of benzene and toluene, or n-heptane and n-hexane.
When Raoult’s law is applicable, the vaporization rate of each species from a multicompo-
nent droplet can be computed from Equation 22.9-20, with the equilibrium concentration
of species i in the gas phase Ci,s computed as:
where Tp is the droplet temperature, xi is the mole fraction of species i in the droplet,
and psat,i is the saturation pressure of species i at Tp .
22-18
c Fluent Inc. September 29, 2006
22.4 Wall-Film Model Theory
• The layer is thin, less than 500 microns in thickness. This limitation is due to the
assumption of a linear velocity profile in the film.
• The temperature in the film particles change relatively slowly so that an analytical
integration scheme can be utilized.
• Film particles are assumed to be in direct contact with the wall surface and the
heat transfer from the wall to the film takes place by conduction.
• The film temperature never exceeds the boiling temperature for the liquid.
• The wall-film model is not available with the Workpile Algorithm shared memory
option in parallel processing.
c Fluent Inc. September 29, 2006 22-19
Modeling Discrete Phase
Convective
heat transfer
Impinging Splashing
Fuel Drops Evaporation Shear Forces Film separation
and sheet breakup
Conduction
If you wish to model a spray impacting a very hot wall, the wall-jet model may be
more appropriate as the assumption in the wall-jet impingement model is that there is
a vapor layer underneath the drops which keeps them from making direct contact with
the boundary surface. This may be a more accurate assumption for in-cylinder diesel
computations at typical operating conditions.
22-20
c Fluent Inc. September 29, 2006
22.4 Wall-Film Model Theory
E 6 Splash
Spread
Rebound
Stick
-
Tb Tw
Figure 22.4.2: Simplified Decision Chart for Wall Interaction Criterion.
Below the boiling temperature of the liquid, the impinging droplet can either stick, spread
or splash, while above the boiling temperature, the particle can either rebound or splash.
The criteria by which the regimes are partitioned are based on the impact energy and
the boiling temperature of the liquid. The impact energy is defined by
ρV 2 D
!
1
E = r
2
(22.4-1)
σ min (h0 /D, 1) + δbl /D
where ρ is the liquid density, Vr is the relative velocity of the particle in the frame of the
wall (i.e. Vr2 = (Vp − Vw )2 ), D is the diameter of the droplet, and σ is the surface tension
of the liquid. Here, δbl is a boundary layer thickness, defined by
D
δbl = √ (22.4-2)
Re
where the Reynolds number is defined as Re = ρVr D/µ. By defining the energy as in
Equation 22.4-1, the presence of the film on the wall suppresses the splash, but does not
give unphysical results when the film height approaches zero.
The sticking regime is applied when the dimensionless energy E is less than 16, and the
particle velocity is set equal to the wall velocity. In the spreading regime, the initial di-
rection and velocity of the particle are set using the wall-jet model, where the probability
of the drop having a particular direction along the surface is given by an analogy of an
inviscid liquid jet with an empirically defined radial dependence for the momentum flux.
If the wall temperature is above the boiling temperature of the liquid, impingement events
below a critical impact energy (E) results in the particles rebounding from the wall. For
the rebound regime, the particle rebounds with the following coefficient of restitution:
c Fluent Inc. September 29, 2006 22-21
Modeling Discrete Phase
22.4.3 Splashing
If the particle impinging on the surface has a sufficiently high energy, the particle splashes
and several new particles are created. The number of particles created by each impact
is explicitly set by the user in the DPM tab in the Boundary Conditions panel, as in
Figure 22.4.3. The number of splashed parcels may be set to an integer value between
zero and ten. The properties (diameter, magnitude, and direction) of the splashed parcels
are randomly sampled from the experimentally obtained distribution functions described
in the following sections. Setting the number of splashed parcels to zero turns off the
splashing calculation. Bear in mind that each splashed parcel can be considered a discrete
sample of the distribution curves and that selecting the number of splashed drops in the
Boundary Conditions panel does not limit the number of splashed drops, only the number
of parcels representing those drops.
Therefore, for each splashed parcel, a different diameter is obtained by sampling a cu-
mulative probability distribution function (CPDF), which is obtained from a Weibull
distribution function and fitted to the data from Mundo, et al. [255]. The equation is
! !2
d d d
pdf = 2 2 exp − (22.4-4)
D D D
22-22
c Fluent Inc. September 29, 2006
22.4 Wall-Film Model Theory
Figure 22.4.3: The Discrete Phase Model Panel and the Film Model Parameters
c Fluent Inc. September 29, 2006 22-23
Modeling Discrete Phase
which is bounded by zero and one. An expression for the diameter (which is a function
of D, the impingement Weber number W e, and the impingement energy) is obtained by
inverting Equation 22.4-7 and sampling the CPDF between zero and one. The expression
for the diameter of the ith splashed parcel is therefore given by,
q
di = D − ln (1 − ci )
where ci is the ith random sample. Once the diameter of the splashed drop has been
determined, the probability of finding that drop in a given sample is determined by
evaluating Equation 22.4-4 at the given diameter. The number of drops per parcel can
be expressed as a function of the total number of splashed drops:
where the pdfi is for the ith sample. The values of pdfi are then normalized so that their
sum is one. Both the number per parcel (Ni ) and the total number of splashed drops
(Ntot ) is unknown, but an expression for Ntot can be obtained from the conservation of
mass if the total splashed mass is known.
The amount of mass splashed from the surface is a quadratic function of the splashing
energy, obtained from the experimental data from Mundo [255]. The splashed mass
fraction ys is given by
(
1.8x10−4 (E 2 − Ecrit
2 2
) , Ecrit < E 2 < 7500
ys =
0.70 , E 2 > 7500
The authors (O’Rourke et al. [272]) noted that nearly all of the impacts for typical diesel
sprays are well above the upper bound and so the splashing event nearly always ejects
70% of the mass of the impinging drop. To obtain an expression for the total number of
drops, we note that overall conservation of mass requires that the sum of the total mass
of the splashed parcel(s) must equal the splashed mass fraction, or
Nparcels
ρπ
pdfn d3n = ys m0
X
Ntot (22.4-9)
6 n=1
where m0 is the total mass of the impinging parcel. The expression for the total number
of splashed drops is
ys m0
Ntot = ρπ PNparcels
6 n=1 (pdfn d3n )
22-24
c Fluent Inc. September 29, 2006
22.4 Wall-Film Model Theory
The number of splashed drops per parcel is then determined by Equation 22.4-8 with the
values of pdfi given by Equation 22.4-4.
To calculate the velocity with which the splashed drops leave the surface, additional
correlations are sampled for the normal component of the velocity. A Weibull function,
fit to the data from Mundo [255], is used as the PDF for the normal component. The
probability density is given by
!bv −1 !bv
Vni bv Vni /Vnd Vni /Vnd
pdf = exp − (22.4-10)
Vnd Θv Θv Θv
where
(
2.1, ΘI ≤ 50◦
bv = (22.4-11)
1.10 + 0.02ΘI , ΘI > 50◦
and
Θv = 0.158e0.017ΘI (22.4-12)
where ΘI is the angle at which the parcel impacts the surface, or the impingement angle.
The tangential component of the velocity is obtained from the expression for the reflection
angle Θs :
Θs = 65.4 + 0.226Θl (22.4-13)
combined with
Vni
Vti = (22.4-14)
tan(Θs )
Finally, an energy balance is performed for the new parcels so that the sum of the kinetic
and surface energies of the new drops does not exceed that of the old drops. The energy
balance is given by
N Nparcel
1 parcel
X
2
1
Ni d2i = md Vd2 mi Vi2 + πσ md d2i − Ecrit
X
mi Vi + πσ
2 i=1 i=1 2
where Ecrit is the threshold energy for splashing to occur. To ensure conservation of
energy, the following correction factor is computed:
1 PNparcel
m V2
2 d d
(mi Vi2 ) + πσ (md d2i ) − Ecrit − πσ i=1 (Ni d2i )
K= 1 PNparcel . (22.4-15)
2 i=1 (mi Vi2 )
This correction factor is needed due to the relatively small number of sampled points for
the velocity of the splashed drops (see Stanton [355] for more detail). The components
of the splashed parcel are multiplied by the square root of K in Equation 22.4-15 so that
energy will be conserved. The normal and tangential velocity components of the splashed
parcels are therefore given by
√ √
Vni0 = KVni and Vti0 = KVti
c Fluent Inc. September 29, 2006 22-25
Modeling Discrete Phase
FLUENT will limit the velocity of the splashed parcels so that they do not exceed the
impact velocity of the original parcel. It is important to note that splashing events are
inherently transient, so the splashing submodel is only available with unsteady tracking
in FLUENT. Splashing can also cause large increases in source terms in the cells in which
it occurs, which can cause difficulty in convergence between time steps. Thus, it may be
necessary to use a smaller time step during the simulation when splashing is enabled.
Momentum
22-26
c Fluent Inc. September 29, 2006
22.4 Wall-Film Model Theory
Here, ρh(~g − ~aw ) is the body force term. Note that the body force term can be very
significant, despite the small values of film thickness due to the very high accelera-
tion rates seen in simulations with moving boundaries. The requirement represented
by Equation 22.4-17 is explicitly enforced at each time step in FLUENT for all particles
representing the wall-film.
The term h(∇s pf )α is the surface gradient of the pressure on the face, pf . This pressure,
pf , is the sum of the fluid pressure and the impingement pressure from the drops on the
face, given by
˙
pf = Pcell − P~ imp,α · n̂ + Ṁimp,α~up · n̂
where the impingement mass Ṁimp,α is given by
ZZZ
Ṁimp,α = ρl Vp~v · n̂f (~xs , ~v , r, Td , t)drd~v dTd (22.4-18)
The summation in Equation 22.4-20 is over all the drops which actually stick to the face
α during the time step (Ns ). The summation in Equation 22.4-21 is over all the particles
which impinge upon the face during the same interval (Ni ).
The expression for the stress that the gas exerts on the surface of the wall-film, τg , in
Equation 22.4-16 is given by
τg = Cf (~ug − 2~up )2 = Cf Vrel
2
g
where Cf is the skin friction coefficient and ~ug is the gas velocity evaluated at the film
height above the wall. The assumption made in evaluating the skin friction coefficient
is that the wall shear stress from the gas is constant over the thickness of the film and
the boundary layer above the film (in the normal direction from the face). The stress is
tangent to the wall in the direction of the difference between the wall-film velocity and
the gas velocity, so the unit vector in the direction of the velocity difference along the
surface is
V~relg − (V~relg · n̂)n̂
t̂g =
|V~relg − (V~relg · n̂)n̂|
c Fluent Inc. September 29, 2006 22-27
Modeling Discrete Phase
where n̂ is the normal face . The expression for the stress that the wall exerts on the
film, τw , in Equation 22.4-16 is given by
µl µl
τw = − |2~up − ~uw | = − |V~relw |
h h
where µl is the liquid viscosity and ~uw is the velocity of the wall. Here, τw acts in the
direction of the velocity difference between the wall and the film, as given by
Note that the tangential unit vectors, t̂g and t̂w , are independent and can point in com-
pletely different directions.
Since FLUENT solves a particle position equation of the form
d~up
= α − β~up ,
dt
Equation 22.4-16 must be rearranged. The film particle acceleration is then given by
P~imp
!
d~up Cf |Vrelg | (∇s pf )α µl |u~w | 2Cf |Vrelg | 2µl Ṁimp
= t̂g − + 2
t̂w + + ~
g − + 2+ ~up .
dt ρh ρ ρh ρh ρh ρh ρh
(22.4-22)
~
The terms for Mimp and Pimp are used from the previous time step and the differential
equations for the particle motion are solved with the existing integration routines.
The film vaporization law is applied when the film particle is above the vaporization
temperature Tvap . A wall particle has the temperature limited by the boiling temperature
Tbp and does not have a specific boiling law associated with the physics of film boiling.
The vaporization rate of the film is governed by gradient diffusion from the surface
exposed to the gas phase. The gradient of vapor concentration between the film surface
and the gas phase is
Ṅi = Bf (Ci,s − Ci,∞ ) (22.4-23)
where Ṅi is the molar flux of vapor (with units of kgmol/m2 -s), Bf is the mass transfer
coefficient (in m/s), and Ci,s and Ci,∞ are the vapor concentrations on the film surface
and in the bulk gas, respectively. The units of vapor concentration are kgmol/m3 .
The vapor concentration at the surface is evaluated using the saturated vapor pressure
at the film surface temperature and the bulk gas concentration is obtained from the flow
field solution. The vaporization rate is sensitive to the saturated vapor pressure, similar
to droplet vaporization.
22-28
c Fluent Inc. September 29, 2006
22.4 Wall-Film Model Theory
The mass transfer coefficient is obtained using a Nusselt correlation for the heat transfer
coefficient and replacing the Prandtl number with the Schmidt number. The equation is
(
Bf x 0.332Rex1/2 Sc1/3 Rex < 2500, 0.6 < Sc < 50
N ux = = (22.4-24)
kf 0.0296Re4/5
x Sc
1/3
Rex > 2500, 0.6 < Sc < 60
where the Reynolds number is based on a representative length derived from the face
area. The temperature for the film surface is equal to the gas temperature, but is limited
by the boiling temperature of the liquid. The particle properties are evaluated at the
surface temperature when used in correlation 22.4-24.
For multicomponent vaporization, the Schmidt number based on the diffusivity of each
species is used to calculate the correlation in equation 22.4-24 for each component.
The mass of the particle is decreased by
where Mw,i is the molecular weight of the gas phase species to which the vapor from the
liquid is added. The diameter of the film particle is decreased to account for the mass
loss in the individual parcel. This keeps the number of drops in the parcel constant and
acts only as a place holder. When the parcel detaches from the boundary, the diameter
is set to the height of the film and the number in the parcel is adjusted so that the overall
mass of the parcel is conserved.
To obtain an equation for the temperature in the film, energy flux from the gas side as
well as energy flux from the wall side must be considered. The assumed temperature
profile in the liquid is bilinear, with the surface temperature Ts being the maximum
temperature of the gas at the film height. Furthermore, the boiling point of the liquid
and the wall temperature will be the maximum of the wall face temperature Tw , and
will be the same boiling temperature as the liquid. An energy balance on a film particle
yields
d
{mp Cp Tp } = Qcond + Qconv (22.4-26)
dt
where Qcond is the conduction from the wall, given by
κAp
Qcond = (Tw − Tp )
h
where κ is the thermal conductivity of the liquid and h is the film height at the location
of the particle, as seen in Figure 22.4.4. The convection from the top surface, Qconv is
given by
Qconv = hf Ap (Tg − Tp )
where hf is the film heat transfer coefficient given by Equation 22.4-24 and Ap is the
area represented by a film particle, taken to be a mass weighted percentage of the face
c Fluent Inc. September 29, 2006 22-29
Modeling Discrete Phase
area, Af . Contributions from the impingement terms are neglected in this formulation,
as well as contributions from the gradients of the mean temperature on the edges of the
film.
Ts
Tp 2h
Tw
Assuming that the temperature changes slowly for each particle in the film, the equation
for the change in temperature of a non vaporizing particle can be written as
dTp κ κ
mp Cp = Ap − hf + Tp + hTg + Tw (22.4-27)
dt h h
As the particle trajectory is computed, FLUENT integrates Equation 22.4-27 to obtain
the particle temperature at the next time value, yielding
hf Tg + κh Tw
αp = (22.4-29)
hf + κh
and
Ap (hf + hκ )
βp = (22.4-30)
mp Cp
When the particle changes its mass during vaporization, an additional term is added to
Equation 22.4-27 to account for the enthalpy of vaporization, which is given by
dTp κ κ
mp Cp = Ap − hf + Tp + hTg + Tw + ṁp hf g (22.4-31)
dt h h
22-30
c Fluent Inc. September 29, 2006
22.5 Particle Erosion and Accretion Theory
where hf g is the latent heat of vaporization (with units of J/kg) and the expression ṁp
is the rate of evaporation in kg/s. This alters the expression for αp in Equation 22.4-29
so that
hf Tg + κh Tw + ṁp hf g /Ap
αp = (22.4-32)
hf + κh
When the wall-film model is active, the heat flux from the wall to the liquid film is
subtracted from the heat flux from the wall to the gas phase. Additionally, enthalpy
from vaporization of the liquid from the wall is subtracted from the cell to which the
vapor mass goes. Since film boiling is modeled by limiting the liquid phase temperature
to the boiling point of the material, energy in excess of that absorbed by the liquid will
be put into the gas phase. When the thermal boundary conditions on the wall are set
to a constant heat flux, the local temperature of the wall face is used as the thermal
boundary condition for the wall-film particles.
Nparticles
X ṁp C(dp )f (α)v b(v)
Rerosion = (22.5-1)
p=1 Aface
where C(dp ) is a function of particle diameter, α is the impact angle of the particle path
with the wall face, f (α) is a function of impact angle, v is the relative particle velocity,
b(v) is a function of relative particle velocity, and Aface is the area of the cell face at the
wall. Default values are C = 1.8 × 10−9 , f = 1, and b = 0.
Since C, f , and b are defined as boundary conditions at a wall, rather than properties
of a material, the default values are not updated to reflect the material being used. You
will need to specify appropriate values at all walls. Values of these functions for sand
eroding both carbon steel and aluminum are given by Edwards et al. [96].
The erosion rate as calculated above is displayed in units of removed material/(area-
time), i.e., mass flux, and can therefore be changed accordingly to the defined units
in FLUENT. The functions C and f have to be specified in consistent units to build a
dimensionless group with the relative particle velocity and its exponent. To compute
an erosion rate in terms of length/time (mm/year, for example) you can either define a
custom field function to divide the erosion rate by the density of the wall material or
include this division in the units for C and/or f . Note that the units given by FLUENT
when displaying the erosion rate are no longer valid in the latter case.
A variety of erosion models [107, 235, 95, 263, 138, 314] containing model constants [138,
95] and angle functions can be easily implemented into FLUENT. The equations describing
c Fluent Inc. September 29, 2006 22-31
Modeling Discrete Phase
some of the erosion models can be modified to appear in the form of the general equation
describing the erosion rate, Equation 22.5-1. For example, the Tulsa Angle Dependent
Model [95] described by Equation 22.5-2
can be rewritten in the form of Equation 22.5-1 with the following substitutions:
v 1.73 = v b(v)
1559B −0.59 Fs = C(dp )
where ER is the erosion rate, B is the Brinell hardness, and Fs is a particle shape
coefficient.
User-defined functions can be used to describe erosion models of any form. For more
complex models, such as those models with varying function angles, f (α), the default
Erosion Model in the wall Boundary Conditions panel cannot be used. Hence, a user-defined
function should be used instead. For information on how to apply user-defined functions
for DPM erosion models, refer to the DEFINE DPM EROSION macro in the separate UDF
Manual , or contact your support engineer for further assistance.
Note that the particle erosion and accretion rates can be displayed only when coupled
calculations are enabled.
The accretion rate is defined as
Nparticles
X ṁp
Raccretion = (22.5-3)
p=1 Aface
22-32
c Fluent Inc. September 29, 2006
22.7 Spray Model Theory
However, as an initially spherical droplet moves through a gas, its shape is distorted
significantly when the Weber number is large. In the extreme case, the droplet shape
will approach that of a disk. The drag of a disk, however, is significantly higher than that
of a sphere. Since the droplet drag coefficient is highly dependent upon the droplet shape,
a drag model that assumes the droplet is spherical is unsatisfactory. The dynamic drag
model accounts for the effects of droplet distortion, linearly varying the drag between
that of a sphere (Equation 22.6-1) and a value of 1.54 corresponding to a disk [218]. The
drag coefficient is given by
d2 y CF ρg u2 Ck σ Cd µl dy
2
= 2
− 3
y− (22.6-3)
dt Cb ρl r ρl r ρl r2 dt
In the limit of no distortion (y = 0), the drag coefficient of a sphere will be obtained,
while at maximum distortion (y = 1) the drag coefficient corresponding to a disk will be
obtained.
Note that Equation 22.6-3 is obtained from the TAB model for spray breakup, described
in Section 22.7.2: Taylor Analogy Breakup (TAB) Model, but the dynamic drag model
can be used with either of the breakup models.
c Fluent Inc. September 29, 2006 22-33
Modeling Discrete Phase
22-34
c Fluent Inc. September 29, 2006
22.7 Spray Model Theory
Theory
As noted above, O’Rourke’s algorithm assumes that two droplets may collide only if they
are in the same continuous-phase cell. This assumption can prevent droplets that are
quite close to each other, but not in the same cell, from colliding, although the effect of
this error is lessened by allowing some droplets that are farther apart to collide. The
overall accuracy of the scheme is second-order in space.
Probability of Collision
The probability of collision of two droplets is derived from the point of view of the larger
droplet, called the collector droplet and identified below with the number 1. The smaller
droplet is identified in the following derivation with the number 2. The calculation is in
the frame of reference of the larger droplet so that the velocity of the collector droplet is
zero. Only the relative distance between the collector and the smaller droplet is important
in this derivation. If the smaller droplet is on a collision course with the collector, the
centers will pass within a distance of r1 + r2 . More precisely, if the smaller droplet center
passes within a flat circle centered around the collector of area π(r1 + r2 )2 perpendicular
to the trajectory of the smaller droplet, a collision will take place. This disk can be used
to define the collision volume, which is the area of the aforementioned disk multiplied by
the distance traveled by the smaller droplet in one time step, namely π(r1 + r2 )2 vrel ∆t.
The algorithm of O’Rourke uses the concept of a collision volume to calculate the prob-
ability of collision. Rather than calculating whether or not the position of the smaller
c Fluent Inc. September 29, 2006 22-35
Modeling Discrete Phase
droplet center is within the collision volume, the algorithm calculates the probability
of the smaller droplet being within the collision volume. It is known that the smaller
droplet is somewhere within the continuous-phase cell of volume V . If there is a uniform
probability of the droplet being anywhere within the cell, then the chance of the droplet
being within the collision volume is the ratio of the two volumes. Thus, the probability
of the collector colliding with the smaller droplet is
π(r1 + r2 )2 vrel ∆t
P1 = (22.7-2)
V
Equation 22.7-2 can be generalized for parcels, where there are n1 and n2 droplets in
the collector and smaller droplet parcels, respectively. The collector undergoes a mean
expected number of collisions given by
n2 π(r1 + r2 )2 vrel ∆t
n̄ = (22.7-3)
V
The actual number of collisions that the collector experiences is not generally the mean
expected number of collisions. The probability distribution of the number of collisions
follows a Poisson distribution, according to O’Rourke, which is given by
n̄n
P (n) = e−n̄ (22.7-4)
n!
where n is the number of collisions between a collector and other droplets.
Collision Outcomes
Once it is determined that two parcels collide, the outcome of the collision must be
determined. In general, the outcome tends to be coalescence if the droplets collide head-
on, and bouncing if the collision is more oblique. In the reference frame being used here,
the probability of coalescence can be related to the offset of the collector droplet center
and the trajectory of the smaller droplet. The critical offset is a function of the collisional
Weber number and the relative radii of the collector and the smaller droplet.
The critical offset is calculated by O’Rourke using the expression
v !
u
u 2.4f
bcrit = (r1 + r2 ) min 1.0,
t (22.7-5)
We
3 2
r1 r1 r1 r1
f = − 2.4 + 2.7 (22.7-6)
r2 r2 r2 r2
22-36
c Fluent Inc. September 29, 2006
22.7 Spray Model Theory
√
The value of the actual collision parameter, b, is (r1 + r2 ) Y , where Y is a random
number between 0 and 1. The calculated value of b is compared to bcrit , and if b < bcrit ,
the result of the collision is coalescence. Equation 22.7-4 gives the number of smaller
droplets that coalesce with the collector. The properties of the coalesced droplets are
found from the basic conservation laws.
In the case of a grazing collision, the new velocities are calculated based on conservation
of momentum and kinetic energy. It is assumed that some fraction of the kinetic energy
of the droplets is lost to viscous dissipation and angular momentum generation. This
fraction is related to b, the collision offset parameter. Using assumed forms for the energy
loss, O’Rourke derived the following expression for the new velocity:
!
m1 v1 + m2 v2 + m2 (v1 − v2 ) b − bcrit
v10 = (22.7-7)
m1 + m2 r1 + r2 − bcrit
This relation is used for each of the components of velocity. No other droplet properties
are altered in grazing collisions.
The Taylor analogy breakup (TAB) model is a classic method for calculating droplet
breakup, which is applicable to many engineering sprays. This method is based upon
Taylor’s analogy [369] between an oscillating and distorting droplet and a spring mass
system. Table 22.7.1 illustrates the analogous components.
c Fluent Inc. September 29, 2006 22-37
Modeling Discrete Phase
The resulting TAB model equation set, which governs the oscillating and distorting
droplet, can be solved to determine the droplet oscillation and distortion at any given
time. As described in detail below, when the droplet oscillations grow to a critical value
the “parent” droplet will break up into a number of smaller “child” droplets. As a droplet
is distorted from a spherical shape, the drag coefficient changes. A drag model that incor-
porates the distorting droplet effects is available in FLUENT. See Section 22.6: Dynamic
Drag Model Theory for details.
Droplet Distortion
dx d2 x
F − kx − d =m 2 (22.7-8)
dt dt
where x is the displacement of the droplet equator from its spherical (undisturbed) po-
sition. The coefficients of this equation are taken from Taylor’s analogy:
F ρg u 2
= CF (22.7-9)
m ρl r
k σ
= Ck 3 (22.7-10)
m ρl r
d µl
= Cd 2 (22.7-11)
m ρl r
where ρl and ρg are the discrete phase and continuous phase densities, u is the relative
velocity of the droplet, r is the undisturbed droplet radius, σ is the droplet surface
tension, and µl is the droplet viscosity. The dimensionless constants CF , Ck , and Cd will
be defined later.
The droplet is assumed to break up if the distortion grows to a critical ratio of the droplet
radius. This breakup requirement is given as
x > Cb r (22.7-12)
where Cb is a constant equal to 0.5 if breakup is assumed to occur when the distortion
is equal to the droplet radius, i.e., the north and south poles of the droplet meet at
22-38
c Fluent Inc. September 29, 2006
22.7 Spray Model Theory
the droplet center. This implicitly assumes that the droplet is undergoing only one
(fundamental) oscillation mode. Equation 22.7-8 is nondimensionalized by setting y =
x/(Cb r) and substituting the relationships in Equations 22.7-9–22.7-11:
d2 y CF ρg u2 Ck σ Cd µl dy
2
= 2
− 3
y− (22.7-13)
dt Cb ρl r ρl r ρl r2 dt
where breakup now occurs for y > 1. For under-damped droplets, the equation governing
y can easily be determined from Equation 22.7-13 if the relative velocity is assumed to
be constant:
" ! #
−(t/td ) 1 dy0 y0 − Wec
y(t) = Wec + e (y0 − Wec ) cos(ωt) + + sin(ωt) (22.7-14)
ω dt td
where
ρg u 2 r
We = (22.7-15)
σ
CF
Wec = We (22.7-16)
Ck Cb
y0 = y(0) (22.7-17)
dy0 dy
= (0) (22.7-18)
dt dt
1 Cd µl
= (22.7-19)
td 2 ρl r 2
σ 1
ω2 = Ck 3 − 2 (22.7-20)
ρl r td
In Equation 22.7-14, u is the relative velocity between the droplet and the gas phase
and We is the droplet Weber number, a dimensionless parameter defined as the ratio
of aerodynamic forces to surface tension forces. The droplet oscillation frequency is
represented by ω. The default value of y0 is 0, based upon the work of Liu et al. [218].
The constants have been chosen to match experiments and theory [190]:
Ck = 8
Cd = 5
1
CF =
3
If Equation 22.7-14 is solved for all droplets, those with y > 1 are assumed to break up.
The size and velocity of the new child droplets must be determined.
c Fluent Inc. September 29, 2006 22-39
Modeling Discrete Phase
The size of the child droplets is determined by equating the energy of the parent droplet
to the combined energy of the child droplets. The energy of the parent droplet is [270]
!2
π dy
Eparent = 4πr2 σ + K ρl r5 + ω2y2 (22.7-21)
5 dt
where K is the ratio of the total energy in distortion and oscillation to the energy in the
fundamental mode, of the order ( 103
). The child droplets are assumed to be nondistorted
and nonoscillating. Thus, the energy of the child droplets can be shown to be
!2
2 r π dy
Echild = 4πr σ + ρl r 5 (22.7-22)
r32 6 dt
where r32 is the Sauter mean radius of the droplet size distribution. r32 can be found by
equating the energy of the parent and child droplets (i.e., Equations 22.7-21 and 22.7-22),
setting y = 1, and ω 2 = 8σ/ρl r3 :
r
r32 = 8Ky 2 ρl r 3 (dy/dt)2
6K−5
(22.7-23)
1+ 20
+ σ 120
Once the size of the child droplets is determined, the number of child droplets can easily
be determined by mass conservation.
The TAB model allows for a velocity component normal to the parent droplet velocity
to be imposed upon the child droplets. When breakup occurs, the equator of the parent
droplet is traveling at a velocity of dx/dt = Cb r(dy/dt). Therefore, the child droplets
will have a velocity normal to the parent droplet velocity given by
dy
vnormal = Cv Cb r (22.7-24)
dt
where Cv is a constant of order (1).
22-40
c Fluent Inc. September 29, 2006
22.7 Spray Model Theory
Droplet Breakup
To model droplet breakup, the TAB model first determines the amplitude for an un-
damped oscillation (td ≈ ∞) for each droplet at time step n using the following:
v
u !2
u (dy/dt)n
A= t
(y n − Wec )2 + (22.7-25)
ω
This is the limiting case, as damping will only reduce the chance of breakup. If a
droplet fails the above criterion, breakup does not occur. The only additional calculations
required then, are to update y using a discretized form of Equation 22.7-14 and its
derivative, which are both based on work done by O’Rourke and Amsden [270]:
!n
y n − Wec
( " # )
n+1 −(∆t/td ) n 1 dy
y = Wec + e (y − Wec ) cos(ωt) + + sin(ωt)
ω dt td
(22.7-27)
!n+1
dy Wec − y n+1
= +
dt td
!n
y n − Wec
( " # )
−(∆t/td ) 1 dy
ωe + cos(ω∆t) − (y n − Wec ) sin(ω∆t) (22.7-28)
ω dt td
All of the constants in these expressions are assumed to be constant throughout the time
step.
If the criterion of Equation 22.7-26 is met, then breakup is possible. The breakup time,
tbu , must be determined to see if breakup occurs within the time step ∆t. The value of
tbu is set to the time required for oscillations to grow sufficiently large that the magnitude
of the droplet distortion, y, is equal to unity. The breakup time is determined under the
assumption that the droplet oscillation is undamped for its first period. The breakup time
is therefore the smallest root greater than tn of an undamped version of Equation 22.7-14:
c Fluent Inc. September 29, 2006 22-41
Modeling Discrete Phase
where
y n − Wec
cos φ = (22.7-30)
A
and
(dy/dt)n
sin φ = − (22.7-31)
Aω
If tbu > tn+1 , then breakup will not occur during the current time step, and y and
(dy/dt) are updated by Equations 22.7-27 and 22.7-28. The breakup calculation then
continues with the next droplet. Conversely, if tn < tbu < tn+1 , then breakup will occur
and the child droplet radii are determined by Equation 22.7-23. The number of child
droplets, N , is determined by mass conservation:
3
rn
n+1 n
N =N (22.7-32)
rn+1
It is assumed that the child droplets are neither distorted nor oscillating; i.e., y =
(dy/dt) = 0. The child droplets are represented by a number of child parcels which
are created from the original parcel. These child parcels are distributed equally along
the equator of the parent droplet in a plane normal to the parent relative velocity vector.
The diameter of each of the child parcels is sampled from a Rosin Rammler distribution
based on the Sauter mean radius (Equation 22.7-23) and a spread parameter of 3.5.
A velocity component normal to the relative velocity vector, with magnitude computed
by Equation 22.7-24, is imposed upon the child droplets. It is decomposed at the equator
into components pointing radially outward.
22-42
c Fluent Inc. September 29, 2006
22.7 Spray Model Theory
An alternative to the TAB model that is appropriate for high-Weber-number flows is the
wave breakup model of Reitz [299], which considers the breakup of the droplets to be
induced by the relative velocity between the gas and liquid phases. The model assumes
that the time of breakup and the resulting droplet size are related to the fastest-growing
Kelvin-Helmholtz instability, derived from the jet stability analysis described below. The
wavelength and growth rate of this instability are used to predict details of the newly-
formed droplets.
The wave model is appropriate for high-speed injections, where the Kelvin-Helmholtz
instability is believed to dominate droplet breakup (We > 100). Because this breakup
model can increase the number of computational parcels, you may wish to inject a modest
number of droplets initially.
The jet stability analysis described in detail by Reitz and Bracco [301] is presented briefly
here. The analysis considers the stability of a cylindrical, viscous, liquid jet of radius
a issuing from a circular orifice at a velocity v into a stagnant, incompressible, inviscid
gas of density ρ2 . The liquid has a density, ρ1 , and viscosity, µ1 , and a cylindrical
polar coordinate system is used which moves with the jet. An arbitrary infinitesimal
axisymmetric surface displacement of the form
η = η0 eikz+ωt (22.7-33)
is imposed on the initially steady motion and it is thus desired to find the dispersion
relation ω = ω(k) which relates the real part of the growth rate, ω, to its wave number,
k = 2π/λ.
In order to determine the dispersion relation, the linearized equations for the hydrody-
namics of the liquid are solved assuming wave solutions of the form
φ1 = C1 I0 (kr)eikz+ωt (22.7-34)
ψ1 = C2 I1 (Lr)eikz+ωt (22.7-35)
where φ1 and ψ1 are the velocity potential and stream function, respectively, C1 and
C2 are integration constants, I0 and I1 are modified Bessel functions of the first kind,
L2 = k 2 + ω/ν1 , and ν1 is the liquid kinematic viscosity [299]. The liquid pressure is
c Fluent Inc. September 29, 2006 22-43
Modeling Discrete Phase
obtained from the inviscid part of the liquid equations. In addition, the inviscid gas
equations can be solved to obtain the fluctuating gas pressure at r = a:
K0 (ka)
− p21 = −ρ2 (U − iωk)2 kη (22.7-36)
K1 (ka)
where K0 and K1 are modified Bessel functions of the second kind and u is the relative
velocity between the liquid and the gas. The linearized boundary conditions are
∂η
v1 = (22.7-37)
∂t
∂u1 ∂v1
= − (22.7-38)
∂r ∂z
and
∂2η
!
σ
− p1 + 2µ1 − 2 η + a2 2 + p2 = 0 (22.7-39)
a ∂z
which are mathematical statements of the liquid kinematic free surface condition, conti-
nuity of shear stress, and continuity of normal stress, respectively. Note that u1 is the
axial perturbation liquid velocity, v1 is the radial perturbation liquid velocity, and σ is
the surface tension. Also note that Equation 22.7-38 was obtained under the assumption
that v2 = 0.
As described by Reitz [299], Equations 22.7-37 and 22.7-38 can be used to eliminate
the integration constants C1 and C2 in Equations 22.7-34 and 22.7-35. Thus, when
the pressure and velocity solutions are substituted into Equation 22.7-39, the desired
dispersion relation is obtained:
L 2 − a2 L 2 − a2
! 2 !
σk I1 (ka) ρ2 ω I1 (ka) K0 (ka)
2 2
(1 − k a ) + U −i (22.7-40)
ρ1 a2 L 2 + a2 I0 (ka) ρ1 k L 2 + a2 I0 (ka) K1 (ka)
22-44
c Fluent Inc. September 29, 2006
22.7 Spray Model Theory
As shown by Reitz [299], Equation 22.7-40 predicts that a maximum growth rate (or
most unstable wave) exists for a given set of flow conditions. Curve fits of numerical
solutions to Equation 22.7-40 were generated for the maximum growth rate, Ω, and the
corresponding wavelength, Λ, and are given by Reitz [299]:
ρ 1 a3 (0.34 + 0.38We1.5
!
2 )
Ω = (22.7-42)
σ (1 + Oh)(1 + 1.4Ta0.6 )
√ √
where Oh = We1 /Re1 is the Ohnesorge number and Ta = Oh We2 is the Taylor
number. Furthermore, We1 = ρ1 U 2 a/σ and We2 = ρ2 U 2 a/σ are the liquid and gas
Weber numbers, respectively, and Re1 = U a/ν1 is the Reynolds number.
Droplet Breakup
In the wave model, breakup of droplet parcels is calculated by assuming that the radius
of the newly-formed droplets is proportional to the wavelength of the fastest-growing
unstable surface wave on the parent droplet. In other words,
r = B0 Λ (22.7-43)
where B0 is a model constant set equal to 0.61 based on the work of Reitz [299]. Fur-
thermore, the rate of change of droplet radius in the parent parcel is given by
da (a − r)
=− , r≤a (22.7-44)
dt τ
where the breakup time, τ , is given by
3.726B1 a
τ= (22.7-45)
ΛΩ
and Λ and Ω are obtained from Equations 22.7-41 and 22.7-42, respectively. The breakup
time constant, B1 , is set to a value of 1.73 as recommended by Liu et al. [218]. Values of
B1 can range between 1 and 60, depending on the injector characterization.
In the wave model, mass is accumulated from the parent drop at a rate given by Equa-
tion 22.7-45 until the shed mass is equal to 5% of the initial parcel mass. At this time, a
new parcel is created with a radius given by Equation 22.7-43. The new parcel is given
the same properties as the parent parcel (i.e., temperature, material, position, etc.) with
the exception of radius and velocity. The new parcel is given a component of velocity
c Fluent Inc. September 29, 2006 22-45
Modeling Discrete Phase
randomly selected in the plane orthogonal to the direction vector of the parent parcel,
and the momentum of the parent parcel is adjusted so that momentum is conserved. The
velocity magnitude of the new parcel is the same as the parent parcel.
You must also specify the model constants which determine how the gas phase interacts
with the liquid droplets. For example, the breakup time constant B1 is the constant
multiplying the time scale which determines how quickly the parcel will loose mass.
Therefore, a larger number means that it takes longer for the particle to loose a given
amount. A larger number for B1 in the context of interaction with the gas phase would
mean that the interaction with the subgrid is less intense. B0 is the constant for the drop
size and is generally taken to be 0.61.
• plain-orifice atomizer
• pressure-swirl atomizer
• flat-fan atomizer
• air-blast/air-assisted atomizer
• effervescent/flashing atomizer
22-46
c Fluent Inc. September 29, 2006
22.8 Atomizer Model Theory
You can choose them as injection types and define the associated parameters in the Set
Injection Properties panel, as described in Section 22.12.1: Injection Types. Details about
the atomizer models are provided below.
p p
1 2
d liquid jet
Figure 22.8.1: Single-Phase Nozzle Flow (Liquid Completely Fills the Ori-
fice)
c Fluent Inc. September 29, 2006 22-47
Modeling Discrete Phase
vapor
liquid jet
vapor
Figure 22.8.2: Cavitating Nozzle Flow (Vapor Pockets Form Just after the
Inlet Corners)
liquid jet
Figure 22.8.3: Flipped Nozzle Flow (Downstream Gas Surrounds the Liquid
Jet Inside the Nozzle)
22-48
c Fluent Inc. September 29, 2006
22.8 Atomizer Model Theory
nozzle diameter d
nozzle length L
radius of curvature of the inlet corner r
upstream pressure p1
downstream pressure p2
viscosity µ
liquid density ρl
vapor pressure pv
s
dρl 2(p1 − p2 )
Reh = (22.8-1)
µ ρl
p1 − pv
K= (22.8-2)
p1 − p2
The liquid flow often contracts in the nozzle, as can be seen in Figures 22.8.2 and 22.8.3.
Nurick [266] found it helpful to use a coefficient of contraction (Cc ) to represent the
reduction in the cross-sectional area of the liquid jet. The coefficient of contraction is
defined as the area of the stream of contracting liquid over the total cross-sectional area
of the nozzle. FLUENT uses Nurick’s fit for the coefficient of contraction:
1
Cc = q 1 11.4r
(22.8-3)
2
Cct
− d
c Fluent Inc. September 29, 2006 22-49
Modeling Discrete Phase
Here, Cct is a theoretical constant equal to 0.611, which comes from potential flow analysis
of flipped nozzles.
Coefficient of Discharge
Another important parameter for describing the performance of nozzles is the coefficient
of discharge (Cd ). The coefficient of discharge is the ratio of the mass flow rate through
the nozzle to the theoretical maximum mass flow rate:
ṁeff
Cd = q (22.8-4)
A 2ρl (p1 − p2 )
where ṁeff is the effective mass flow rate of the nozzle, defined by
2π ṁ
ṁeff = (22.8-5)
∆φ
Here, ṁ is the mass flow rate specified in the user interface, and ∆φ is the difference
between the azimuthal stop angle and the azimuthal start angle
as input by the user (see Section 22.12.1: Point Properties for Plain-Orifice Atomizer
Injections). Note that the mass flow rate input by the user should be for the appropriate
start and stop angles, in other words the correct mass flow rate for the sector being
modeled. Note also that for ∆φ of 2π, the effective mass flow rate is identical to the
mass flow rate in the interface.
The cavitation number (K in Equation 22.8-2) is an essential parameter for predicting
the inception of cavitation. The inception of cavitation is known to occur at a value
of Kincep ≈ 1.9 for short, sharp-edged nozzles. However, to include the effects of inlet
rounding and viscosity, an empirical relationship is used:
2
r 1000
Kincep = 1.9 1 − − (22.8-7)
d Reh
1
Kcrit = 1 + L
2000
(22.8-8)
1+ 4d
1+ Reh
e70r/d
If r/d is greater than 0.05, then flip is deemed impossible and Kcrit is set to 1.0.
22-50
c Fluent Inc. September 29, 2006
22.8 Atomizer Model Theory
The cavitation number, K, is compared to the values of Kincep and Kcrit to identify the
nozzle state. The decision tree is shown in Figure 22.8.4. Depending on the state of the
nozzle, a unique closure is chosen for the above equations.
For a single-phase nozzle (K > Kincep , K ≥ Kcrit ) [207], the coefficient of discharge is
given by
1
Cd = (22.8-9)
1
Cdu
+ 20 (1+2.25L/d)
Reh
L
Cdu = 0.827 − 0.0085 (22.8-10)
d
For a cavitating nozzle (Kcrit ≤ K ≤ Kincep ) [266] the coefficient of discharge is deter-
mined from
√
Cd = Cc K (22.8-11)
Figure 22.8.4: Decision Tree for the State of the Cavitating Nozzle
All of the nozzle flow equations are solved iteratively, along with the appropriate relation-
ship for coefficient of discharge as given by the nozzle state. The nozzle state may change
as the upstream or downstream pressures change. Once the nozzle state is determined,
the exit velocity is calculated, and appropriate correlations for spray angle and initial
droplet size distribution are determined.
c Fluent Inc. September 29, 2006 22-51
Modeling Discrete Phase
Exit Velocity
For a single-phase nozzle, the estimate of exit velocity (u) comes from the conservation
of mass and the assumption of a uniform exit velocity:
ṁeff
u= (22.8-13)
ρl A
For the cavitating nozzle, Schmidt and Corradini [323] have shown that the uniform exit
velocity is not accurate. Instead, they derived an expression for a higher velocity over a
reduced area:
This analytical relation is used for cavitating nozzles in FLUENT. For the case of flipped
nozzles, the exit velocity is found from the conservation of mass and the value of the
reduced flow area:
ṁeff
u= (22.8-15)
ρl Cct A
Spray Angle
The correlation for the spray angle (θ) comes from the work of Ranz [295]:
h q √ i
−1 4π ρg 3
tan single phase, cavitating
θ CA ρl 6
= (22.8-16)
2
0.01 flipped
The spray angle for both single-phase and cavitating nozzles depends on the ratio of the
gas and liquid densities and also the parameter CA . For flipped nozzles, the spray angle
has a constant value.
The parameter CA , which you must specify, is thought to be a constant for a given nozzle
geometry. The larger the value, the narrower the spray. Reitz [300] suggests the following
correlation for CA :
L
CA = 3 + (22.8-17)
3.6d
22-52
c Fluent Inc. September 29, 2006
22.8 Atomizer Model Theory
The spray angle is sensitive to the internal flow regime of the nozzle. Hence, you may
wish to choose smaller values of CA for cavitating nozzles than for single-phase nozzles.
Typical values range from 4.0 to 6.0. The spray angle for flipped nozzles is a small,
arbitrary value that represents the lack of any turbulence or initial disturbance from the
nozzle.
where λ = d/8, λ is the radial integral length scale at the jet exit based upon fully-
developed turbulent pipe flow, and We is the Weber number, defined as
ρl u2 λ
We ≡ . (22.8-19)
σ
Here, σ is the droplet surface tension. For a more detailed discussion of droplet surface
tension and the Weber number, see Section 22.7.2: Droplet Breakup Models. For more
information about mean particle diameters, see Section 22.16.8: Summary Reporting of
Current Particles.
For cavitating nozzles, FLUENT uses a slight modification of Equation 22.8-18. The
initial jet diameter used in Wu’s correlation, d, is calculated from the effective area of
the cavitating orifice exit, and thus represents the effective diameter of the exiting liquid
jet, deff . For an explanation of effective area of cavitating nozzles, please see Schmidt
and Corradini [323].
The length scale for a cavitating nozzle is λ = deff /8, where
s
4ṁeff
deff = . (22.8-20)
πρl u
c Fluent Inc. September 29, 2006 22-53
Modeling Discrete Phase
For the case of the flipped nozzle, the initial droplet diameter is set to the diameter of
the liquid jet:
q
d0 = d Cct (22.8-21)
Since the correlations of Wu et al. provide the Sauter mean diameter, d32 , these are
converted to the most probable diameter, d0 . Lefebvre [200] gives the most general
relationship between the Sauter mean diameter and most probable diameter for a Rosin-
Rammler distribution. The simplified version for s=3.5 is as follows:
1/s
1
d0 = 1.2726d32 1− (22.8-22)
s
At this point, the droplet size, velocity, and spray angle have been determined and the
initialization of the injections is complete.
22-54
c Fluent Inc. September 29, 2006
22.8 Atomizer Model Theory
half angle
dispersion
angle
The interaction between the air and the sheet is not well understood. It is generally ac-
cepted that an aerodynamic instability causes the sheet to break up. The mathematical
analysis below assumes that Kelvin-Helmholtz waves grow on the sheet and eventually
break the liquid into ligaments. It is then assumed that the ligaments break up into
droplets due to varicose instability. Once the liquid droplets are formed, the spray evo-
lution is determined by drag, collision, coalescence, and secondary breakup.
c Fluent Inc. September 29, 2006 22-55
Modeling Discrete Phase
The pressure-swirl atomizer model used in FLUENT is called the Linearized Instability
Sheet Atomization (LISA) model of Schmidt et al. [325]. The LISA model is divided into
two stages:
1. film formation
Film Formation
The centrifugal motion of the liquid within the injector creates an air core surrounded
by a liquid film. The thickness of this film, t, is related to the mass flow rate by
where dinj is the injector exit diameter, and ṁeff is the effective mass flow rate, which is
defined by equation Equation 22.8-5 . The other unknown in Equation 22.8-23 is u, the
axial component of velocity at the injector exit. This quantity depends on internal details
of the injector and is difficult to calculate from first principles. Instead, the approach
of Han et al. [134] is used. The total velocity is assumed to be related to the injector
pressure by
s
2∆p
U = kv (22.8-24)
ρl
where kv is the velocity coefficient. Lefebvre [200] has noted that kv is a function of the
injector design and injection pressure. If the swirl ports are treated as nozzles and if it is
assumed that the dominant portion of the pressure drop occurs at those ports, kv is the
expression for the discharge coefficient (Cd ). For single-phase nozzles with sharp inlet
corners and L/d ratios of 4, a typical Cd value is 0.78 or less [207]. If the nozzles are
cavitating, the value of Cd may be as low as 0.61. Hence, 0.78 should be a practical upper
bound for kv . Reducing kv by 10% to 0.7 approximates the effect of other momentum
losses on the discharge coefficient.
Physical limits on kv require that it be less than unity from conservation of energy, yet
be large enough to permit sufficient mass flow. To guarantee that the size of the air core
is non-negative, the following expression is used for kv :
" s #
4ṁeff ρl
kv = max 0.7, 2 (22.8-25)
d0 ρl cos θ 2∆p
22-56
c Fluent Inc. September 29, 2006
22.8 Atomizer Model Theory
Assuming that ∆p is known, Equation 22.8-24 can be used to find U . Once U is deter-
mined, u is found from
u = U cos θ (22.8-26)
where θ is the spray angle, which is assumed to be known. At this point, the thickness
and axial component of the liquid film are known at the injector exit. The tangential
component of velocity (w = U sin θ) is assumed to be equal to the radial velocity compo-
nent of the liquid sheet downstream of the nozzle exit. The axial component of velocity
is assumed to remain constant.
η = η0 eikx+ωt (22.8-27)
is imposed on the initially steady motion. The spectrum of disturbances results in fluc-
tuating velocities and pressures for both the liquid and the gas. In Equation 22.8-27, η0
is the initial wave amplitude, k = 2π/λ is the wave number, and ω = ωr + iωi is the
complex growth rate. The most unstable disturbance has the largest value of ωr , denoted
here by Ω, and is assumed to be responsible for sheet breakup. Thus, it is desired to
obtain a dispersion relation ω = ω(k) from which the most unstable disturbance can be
calculated as a function of wave number.
Squire [353], Li and Tankin [206], and Hagerty and Shea [131] have shown that two
solutions, or modes, exist that satisfy the governing equations subject to the boundary
conditions at the upper and lower interfaces. The first solution, called the sinuous mode,
has waves at the upper and lower interfaces in phase. The second solution is called the
varicose mode which has the waves at the upper and lower interfaces π radians out of
phase. It has been shown by numerous authors (e.g., Senecal et. al. [326]) that the
c Fluent Inc. September 29, 2006 22-57
Modeling Discrete Phase
sinuous mode dominates the growth of varicose waves for low velocities and low gas-to-
liquid density ratios. In addition, it can be shown that the sinuous and varicose modes
become indistinguishable for high-velocity flows. As a result, the atomization model in
FLUENT is based upon the growth of sinuous waves on the liquid sheet.
As derived in Senecal et al. [326], the dispersion relation for the sinuous mode is given
by
For waves that are long compared with the sheet thickness, a mechanism of sheet disin-
tegration proposed by Dombrowski and Johns [84] is adopted. For long waves, ligaments
are assumed to form from the sheet breakup process once the unstable waves reach a
critical amplitude. If the surface disturbance has reached a value of ηb at breakup, a
breakup time, τ , can be evaluated:
!
1 ηb
ηb = η0 eΩτ ⇒ ln (22.8-30)
Ω η0
where Ω, the maximum growth rate, is found by numerically maximizing Equation 22.8-29
as a function of k. The maximum is found using a binary search that checks the sign of
the derivative. The sheet breaks up and ligaments will be formed at a length given by
22-58
c Fluent Inc. September 29, 2006
22.8 Atomizer Model Theory
!
U ηb
Lb = U τ = ln (22.8-31)
Ω η0
where the quantity ln( ηη0b ) is an empirical sheet constant that you must specify. The
default value of 12 was obtained theoretically by Weber [392] for liquid jets. Dombrowski
and Hooper [83] showed that a value of 12 for the sheet constant agreed favorably with
experimental sheet breakup lengths over a range of Weber numbers from 2 to 200.
The diameter of the ligaments formed at the point of breakup can be obtained from a
mass balance. If it is assumed that the ligaments are formed from tears in the sheet twice
per wavelength, the resulting diameter is given by
s
8h
dL = (22.8-32)
Ks
where Ks is the wave number corresponding to the maximum growth rate, Ω. The
ligament diameter depends on the sheet thickness, which is a function of the breakup
length. The film thickness is calculated from the breakup length and the radial distance
from the center line to the mid-line of the sheet at the atomizer exit, r0 :
r0 h0
hend =
θ
(22.8-33)
r0 + Lb sin 2
This mechanism is not used for waves that are short compared to the sheet thickness.
For short waves, the ligament diameter is assumed to be linearly proportional to the
wavelength that breaks up the sheet,
2πCL
dL = (22.8-34)
Ks
c Fluent Inc. September 29, 2006 22-59
Modeling Discrete Phase
experience [324]. It is important to note that the spray cone angle must be specified by
the user when using this model.
22-60
c Fluent Inc. September 29, 2006
22.8 Atomizer Model Theory
dispersion
angle
half
angle
dispersion
angle
Figure 22.8.6: Flat Fan Viewed from Above and from the Side
c Fluent Inc. September 29, 2006 22-61
Modeling Discrete Phase
The breakup of the flat fan is calculated very much like the breakup of the sheet in the
pressure-swirl atomizer. The sheet breaks up into ligaments which then form individual
droplets. The only difference is that for short waves, the flat fan sheet is assumed to form
ligaments at half-wavelength intervals. Hence the ligament diameter for short waves is
given by
s
16h
dL = (22.8-36)
Ks
In this case, dL in Equation 22.8-36 is taken to be the most probable diameter, with a
Rosin-Rammler spread parameter of 3.5 and a default dispersion angle of 6◦ . This angle
can be set in the Set Injection Properties panel. In all other respects, the flat-fan atomizer
model is like the sheet breakup portion of the pressure-swirl atomizer.
ṁeff
u= (22.8-37)
ρl Cct A
The maximum droplet diameter is set to the effective diameter of the exiting jet:
q
dmax = d Cct (22.8-38)
22-62
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
The droplet size is then sampled from a Rosin-Rammler distribution with a spread pa-
rameter of 4.0. (See Section 22.12.1: Using the Rosin-Rammler Diameter Distribution
Method for details on the Rosin-Rammler distribution.) The most probable droplet size
depends on the angle, θ, between the droplet’s stochastic trajectory and the injection
direction:
2
d0 = dmax e−(θ/Θs ) (22.8-39)
The dispersion angle multiplier, Θs , is computed from the quality, x, and the specified
value for the dispersion constant, Ceff :
ṁvapor
x = (22.8-40)
(ṁvapor + ṁliquid )
x
Θs = (22.8-41)
Ceff
This technique creates a spray with large droplets in the central core and a shroud of
smaller surrounding droplets. The droplet temperature is initialized to 0.99 times the
saturation temperature, such that the temperature of the droplet is close to boiling. To
complete the model, the flashing vapor must also be included in the calculation. This
vapor is part of the continuous phase and not part of the discrete phase model. You
must create an inlet at the point of injection when you specify boundary conditions for
the continuous phase. When the effervescent atomizer model is selected, you will need to
specify the nozzle diameter, mass flow rate, mixture quality, saturation temperature of
the volatile substance, spray half-angle and dispersion constant in addition to specifying
the position and direction of the injector.
c Fluent Inc. September 29, 2006 22-63
Modeling Discrete Phase
typical
particle
trajectory
mass-exchange
heat-exchange
momentum-exchange
typical continuous
phase control volume
Figure 22.9.1: Heat, Mass, and Momentum Transfer Between the Discrete
and Continuous Phases
Momentum Exchange
The momentum transfer from the continuous phase to the discrete phase is computed in
FLUENT by examining the change in momentum of a particle as it passes through each
control volume in the FLUENT model. This momentum change is computed as
!
X 18µCD Re
F = (up − u) + Fother ṁp ∆t (22.9-1)
ρp d2p 24
22-64
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
where
µ = viscosity of the fluid
ρp = density of the particle
dp = diameter of the particle
Re = relative Reynolds number
up = velocity of the particle
u = velocity of the fluid
CD = drag coefficient
ṁp = mass flow rate of the particles
∆t = time step
Fother = other interaction forces
This momentum exchange appears as a momentum sink in the continuous phase momen-
tum balance in any subsequent calculations of the continuous phase flow field and can
be reported by FLUENT as described in Section 22.16: Postprocessing for the Discrete
Phase.
Heat Exchange
The heat transfer from the continuous phase to the discrete phase is computed in FLUENT
by examining the change in thermal energy of a particle as it passes through each control
volume in the FLUENT model. In the absence of a chemical reaction (i.e., for all particle
laws except Law 5) the heat exchange is computed as
Z Tp out Z Tp in
Q = (mp in − mp out )[−Hlatref + Hpyrol ] − mp out cp p dT + mp in cp p dT (22.9-2)
Tref Tref
where
mp in = mass of the particle on cell entry (kg)
mp out = mass of the particle on cell exit (kg)
cp p = heat capacity of the particle (J/kg-K)
Hpyrol = heat of pyrolysis as volatiles are evolved (J/kg)
Tp in = temperature of the particle on cell entry (K)
Tp out = temperature of the particle on cell exit (K)
Tref = reference temperature for enthalpy (K)
Hlatref = latent heat at reference conditions (J/kg)
The latent heat at the reference conditions Hlatref for droplet particles is computed as
the difference of the liquid and gas standard formation enthalpies, and can be related to
the latent heat at the boiling point as follows:
Z Tbp Z Tbp
Hlatref = Hlat − cp g dT + cp p dT (22.9-3)
Tref Tref
c Fluent Inc. September 29, 2006 22-65
Modeling Discrete Phase
where
cp g = heat capacity of gas product species (J/kg-K)
Tbp = boiling point temperature (K)
Hlat = latent heat at the boiling point temperature (J/kg)
For the volatile part of the combusting particles, some constraints are applied to ensure
that the enthalpy source terms do not depend on the particle history. The formulation
should be consistent with the mixing of two gas streams, one consisting of the fluid and
the other consisting of the volatiles. Hence Hlatref is derived by applying a correction to
Hlat , which accounts for different heat capacities in the particle and gaseous phase:
Z Tp,init Z Tp,init
Hlatref = Hlat − cp g dT + cp p dT (22.9-4)
Tref Tref
where
Tp,init = particle initial temperature (K)
Mass Exchange
The mass transfer from the discrete phase to the continuous phase is computed in FLU-
ENT by examining the change in mass of a particle as it passes through each control
volume in the FLUENT model. The mass change is computed simply as
∆mp
M= ṁp,0 (22.9-5)
mp,0
This mass exchange appears as a source of mass in the continuous phase continuity
equation and as a source of a chemical species defined by you. The mass sources are
included in any subsequent calculations of the continuous phase flow field and are reported
by FLUENT as described in Section 22.16: Postprocessing for the Discrete Phase.
22-66
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
where α is the under-relaxation factor for particles/droplets that you can set in the
Solution Controls panel. The default value for α is 0.5. This value may be reduced to
improve the stability of coupled calculations. Note that the value of α does not influence
the predictions obtained in the final converged solution.
Two options exist when updating the new particle source terms Fnew , Qnew and Mnew . The
first option is to compute the new source terms and the particle source terms, Fcalculated ,
Qcalculated and Mcalculated , at the same time. The second option is to update the new
source terms, Fnew , Qnew and Mnew , every flow iteration, while the particle source terms,
Fcalculated , Qcalculated and Mcalculated , are calculated every Discrete Phase Model iteration.
The latter option is recommended for transient flows, where the particles are updated
once per flow time step.
c Fluent Inc. September 29, 2006 22-67
Modeling Discrete Phase
In addition to the above laws, you can define your own laws using a user-defined function.
See the separate UDF Manual for information about user-defined functions.
You can also extend combusting particles to include an evaporating/boiling material by
selecting Wet Combustion in the Set Injection Properties panel.
FLUENT’s physical laws (Laws 1 through 6), which describe the heat and mass transfer
conditions listed in this table, are explained in detail in the sections that follow.
Law 6:
mp ≤ (1 − fv,0 )mp,0 (22.9-10)
where Tp is the particle temperature, mp,0 is the initial mass of the particle, and mp is
its current mass.
Law 1 is applied until the temperature of the particle/droplet reaches the vaporiza-
tion temperature. At this point a noninert particle/droplet may proceed to obey one
of the mass-transfer laws (2, 3, 4, and/or 5), returning to Law 6 when the volatile
portion of the particle/droplet has been consumed. (Note that the vaporization temper-
ature, Tvap , is an arbitrary modeling constant used to define the onset of the vaporiza-
tion/boiling/volatilization laws.)
When using Law 1 or Law 6, FLUENT uses a simple heat balance to relate the parti-
cle temperature, Tp (t), to the convective heat transfer and the absorption/emission of
radiation at the particle surface:
dTp 4
m p cp = hAp (T∞ − Tp ) + p Ap σ(θR − Tp4 ) (22.9-11)
dt
where
mp = mass of the particle (kg)
cp = heat capacity of the particle (J/kg-K)
Ap = surface area of the particle (m2 )
T∞ = local temperature of the continuous phase (K)
h = convective heat transfer coefficient (W/m2 -K)
p = particle emissivity (dimensionless)
σ = Stefan-Boltzmann constant (5.67 x 10−8 W/m2 -K4 )
G 1/4
θR = radiation temperature, ( 4σ )
22-68
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
Equation 22.9-11 assumes that there is negligible internal resistance to heat transfer, i.e.,
the particle is at uniform temperature throughout.
G is the incident radiation in W/m2 :
Z
G= IdΩ (22.9-12)
Ω=4π
dTp n h i h io
mp cp = Ap − h + p σTp3 Tp + hT∞ + p σθR
4
(22.9-13)
dt
As the particle trajectory is computed, FLUENT integrates Equation 22.9-13 to obtain
the particle temperature at the next time value, yielding
4
hT∞ + p σθR
αp = (22.9-15)
h + p σTp3 (t)
and
Ap (h + p σTp3 (t))
βp = (22.9-16)
m p cp
FLUENT can also solve Equation 22.9-13 in conjunction with the equivalent mass transfer
equation using a stiff coupled solver. See Section 22.11.7: Including Coupled Heat-Mass
Solution Effects on the Particles for details.
The heat transfer coefficient, h, is evaluated using the correlation of Ranz and Mar-
shall [296, 297]:
hdp 1/2
Nu = = 2.0 + 0.6Red Pr1/3 (22.9-17)
k∞
c Fluent Inc. September 29, 2006 22-69
Modeling Discrete Phase
where
The onset of the vaporization law is determined by the setting of Tvap , a modeling pa-
rameter that has no physical significance. Note that once vaporization is initiated (by
the droplet reaching this threshold temperature), it will continue to vaporize even if the
droplet temperature falls below Tvap . Vaporization will be halted only if the droplet
temperature falls below the dew point. In such cases, the droplet will remain in Law
2 but no evaporation will be predicted. When the boiling point is reached, the droplet
vaporization is predicted by a boiling rate, Law 3, as described in a section that follows.
During Law 2, the rate of vaporization is governed by gradient diffusion, with the flux
of droplet vapor into the gas phase related to the gradient of the vapor concentration
between the droplet surface and the bulk gas:
22-70
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
where
Ni = molar flux of vapor (kgmol/m2 -s)
kc = mass transfer coefficient (m/s)
Ci,s = vapor concentration at the droplet surface (kgmol/m3 )
Ci,∞ = vapor concentration in the bulk gas (kgmol/m3 )
Note that FLUENT’s vaporization law assumes that Ni is positive (evaporation). If
conditions exist in which Ni is negative (i.e., the droplet temperature falls below the dew
point and condensation conditions exist), FLUENT treats the droplet as inert (Ni = 0.0).
The concentration of vapor at the droplet surface is evaluated by assuming that the
partial pressure of vapor at the interface is equal to the saturated vapor pressure, psat ,
at the particle droplet temperature, Tp :
psat (Tp )
Ci,s = (22.9-21)
RTp
p
Ci,∞ = Xi (22.9-22)
RT∞
where Xi is the local bulk mole fraction of species i, p is the local absolute pressure,
and T∞ is the local bulk temperature in the gas. The mass transfer coefficient in Equa-
tion 22.9-20 is calculated from the Sherwood number correlation [296, 297]:
kc dp 1/2
ShAB = = 2.0 + 0.6Red Sc1/3 (22.9-23)
Di,m
c Fluent Inc. September 29, 2006 22-71
Modeling Discrete Phase
You must define the vapor pressure as a polynomial or piecewise linear function of tem-
perature (psat (T )) during the problem definition. Note that the vapor pressure definition
is critical, as psat is used to obtain the driving force for the evaporation process (Equa-
tions 22.9-20 and 22.9-21). You should provide accurate vapor pressure values for tem-
peratures over the entire range of possible droplet temperatures in your problem. Vapor
pressure data can be obtained from a physics or engineering handbook (e.g., [279]).
You must also input the diffusion coefficient, Di,m , during the setup of the discrete phase
material properties. Note that the diffusion coefficient inputs that you supply for the
continuous phase are not used in the discrete phase model.
Finally, the droplet temperature is updated according to a heat balance that relates the
sensible heat change in the droplet to the convective and latent heat transfer between
the droplet and the continuous phase:
dTp dmp
mp cp = hAp (T∞ − Tp ) + hfg + Ap p σ(θR 4 − Tp 4 ) (22.9-25)
dt dt
22-72
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
Tp ≥ Tbp (22.9-26)
and
When the droplet temperature reaches the boiling point, a boiling rate equation is ap-
plied [188]:
" #
d(dp ) 4k∞ q cp,∞ (T∞ − Tp )
= (1 + 0.23 Red ) ln 1 + (22.9-28)
dt ρp cp,∞ dp hfg
dmp
− hfg = hAp (T∞ − Tp ) + Ap p σ(θR 4 − Tp 4 ) (22.9-29)
dt
or
" #
d(dp ) 2 k∞ Nu 4
− = (T∞ − Tp ) + p σ(θR − Tp4 ) (22.9-30)
dt ρp hfg dp
Using Equation 22.9-17 for the Nusselt number correlation and replacing the Prandtl
number term with an empirical constant, Equation 22.9-30 becomes
" √ #
d(dp ) 2 2k∞ [1 + 0.23 Red ] 4
− = (T∞ − Tp ) + p σ(θR − Tp4 ) (22.9-31)
dt ρp hfg dp
c Fluent Inc. September 29, 2006 22-73
Modeling Discrete Phase
In the absence of radiation, this result matches that of Equation 22.9-28 in the limit that
the argument of the logarithm is close to unity. FLUENT uses Equation 22.9-31 when
radiation is active in your model and Equation 22.9-28 when radiation is not active.
Radiation heat transfer to the particle is included only if you have enabled the P-1 or
discrete ordinates radiation model and you have activated radiation heat transfer to
particles using the Particle Radiation Interaction option in the Discrete Phase Model panel.
The droplet is assumed to stay at constant temperature while the boiling rate is applied.
Once the boiling law is entered it is applied for the duration of the particle trajectory.
The energy required for vaporization appears as a (negative) source term in the energy
equation for the gas phase. The evaporated liquid enters the gas phase as species i, as
defined by your input for the destination species (see Section 22.14: Setting Material
Properties for the Discrete Phase).
Devolatilization (Law 4)
The devolatilization law is applied to a combusting particle when the temperature of the
particle reaches the vaporization temperature, Tvap , and remains in effect while the mass
of the particle, mp , exceeds the mass of the nonvolatiles in the particle:
and
where fw,0 is the mass fraction of the evaporating/boiling material if Wet Combustion is
selected (otherwise, fw,0 = 0). As implied by Equation 22.9-32, the boiling point, Tbp ,
and the vaporization temperature, Tvap , should be set equal to each other when Law 4
is to be used. When wet combustion is active, Tbp and Tvap refer to the boiling and
evaporation temperatures for the combusting material only.
FLUENT provides a choice of four devolatilization models:
22-74
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
You will choose the devolatilization model when you are setting physical properties for the
combusting-particle material in the Materials panel, as described in Section 22.14.2: De-
scription of the Properties. By default, the constant rate model (Equation 22.9-34) will
be used.
The constant rate devolatilization law dictates that volatiles are released at a constant
rate [27]:
1 dmp
− = A0 (22.9-34)
fv,0 (1 − fw,0 )mp,0 dt
The single kinetic rate devolatilization model assumes that the rate of devolatilization is
first-order dependent on the amount of volatiles remaining in the particle [16]:
dmp
− = k[mp − (1 − fv,0 )(1 − fw,0 )mp,0 ] (22.9-35)
dt
c Fluent Inc. September 29, 2006 22-75
Modeling Discrete Phase
Note that fv,0 , the fraction of volatiles in the particle, should be defined using a value
slightly in excess of that determined by proximate analysis. The kinetic rate, k, is defined
by input of an Arrhenius type pre-exponential factor and an activation energy:
k = A1 e−(E/RT ) (22.9-36)
mp (t + ∆t) = (1 − fv,0 )(1 − fw,0 )mp,0 + [mp (t) − (1 − fv,0 )(1 − fw,0 )mp,0 ]e−k∆t (22.9-37)
which is obtained by assuming that the particle temperature varies only slightly between
discrete time integration steps.
FLUENT can also solve Equation 22.9-37 in conjunction with the equivalent heat transfer
equation using a stiff coupled solver. See Section 22.11.7: Including Coupled Heat-Mass
Solution Effects on the Particles for details.
FLUENT also provides the kinetic devolatilization rate expressions of the form proposed
by Kobayashi [185]:
where R1 and R2 are competing rates that may control the devolatilization over different
temperature ranges. The two kinetic rates are weighted to yield an expression for the
devolatilization as
Z t Z t
mv (t)
= (α1 R1 + α2 R2 ) exp − (R1 + R2 ) dt dt (22.9-40)
(1 − fw,0 )mp,0 − ma 0 0
22-76
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
The Kobayashi model requires input of the kinetic rate parameters, A1 , E1 , A2 , and
E2 , and the yields of the two competing reactions, α1 and α2 . FLUENT uses default
values for the yield factors of 0.3 for the first (slow) reaction and 1.0 for the second
(fast) reaction. It is recommended in the literature [185] that α1 be set to the fraction
of volatiles determined by proximate analysis, since this rate represents devolatilization
at low temperature. The second yield parameter, α2 , should be set close to unity, which
is the yield of volatiles at very high temperature.
By default, Equation 22.9-40 is integrated in time analytically, assuming the particle
temperature to be constant over the discrete time integration step. FLUENT can also
solve Equation 22.9-40 in conjunction with the equivalent heat transfer equation using a
stiff coupled solver. See Section 22.11.7: Including Coupled Heat-Mass Solution Effects
on the Particles for details.
In contrast to the coal devolatilization models presented above, which are based on em-
pirical rate relationships, the chemical percolation devolatilization (CPD) model char-
acterizes the devolatilization behavior of rapidly heated coal based on the physical and
chemical transformations of the coal structure [110, 111, 128].
General Description
During coal pyrolysis, the labile bonds between the aromatic clusters in the coal structure
lattice are cleaved, resulting in two general classes of fragments. One set of fragments
has a low molecular weight (and correspondingly high vapor pressure) and escapes from
the coal particle as a light gas. The other set of fragments consists of tar gas precursors
that have a relatively high molecular weight (and correspondingly low vapor pressure)
and tend to remain in the coal for a long period of time during typical devolatilization
conditions. During this time, reattachment with the coal lattice (which is referred to as
crosslinking) can occur. The high molecular weight compounds plus the residual lattice
are referred to as metaplast. The softening behavior of a coal particle is determined
by the quantity and nature of the metaplast generated during devolatilization. The
portion of the lattice structure that remains after devolatilization is comprised of char
and mineral-compound-based ash.
The CPD model characterizes the chemical and physical processes by considering the
coal structure as a simplified lattice or network of chemical bridges that link the aromatic
clusters. Modeling the cleavage of the bridges and the generation of light gas, char, and
tar precursors is then considered to be analogous to the chemical reaction scheme shown
in Figure 22.9.2.
The variable £ represents the original population of labile bridges in the coal lattice.
Upon heating, these bridges become the set of reactive bridges, £∗ . For the reactive
bridges, two competing paths are available. In one path, the bridges react to form side
c Fluent Inc. September 29, 2006 22-77
Modeling Discrete Phase
chains, δ. The side chains may detach from the aromatic clusters to form light gas, g1 .
As bridges between neighboring aromatic clusters are cleaved, a certain fraction of the
coal becomes detached from the coal lattice. These detached aromatic clusters are the
heavy-molecular-weight tar precursors that form the metaplast. The metaplast vaporizes
to form coal tar. While waiting for vaporization, the metaplast can also reattach to the
coal lattice matrix (crosslinking). In the other path, the bridges react and become a char
bridge, c, with the release of an associated light gas product, g2 . The total population of
bridges in the coal lattice matrix can be represented by the variable p, where p = £ + c.
Reaction Rates
Given this set of variables that characterizes the coal lattice structure during devolatiliza-
tion, the following set of reaction rate expressions can be defined for each, starting with
the assumption that the reactive bridges are destroyed at the same rate at which they
∗
are created ( ∂£
∂t
= 0):
d£
= −kb £ (22.9-41)
dt
dc £
= kb (22.9-42)
dt ρ+1
" #
dδ £
= 2ρkb − kg δ (22.9-43)
dt ρ+1
dg1
= kg δ (22.9-44)
dt
dg2 dc
= 2 (22.9-45)
dt dt
22-78
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
where the rate constants for bridge breaking and gas release steps, kb and kg , are expressed
in Arrhenius form with a distributed activation energy:
where A, E, and Eσ are, respectively, the pre-exponential factor, the activation energy,
and the distributed variation in the activation energy, R is the universal gas constant,
and T is the temperature. The ratio of rate constants, ρ = kδ /kc , is set to 0.9 in this
model based on experimental data.
Mass Conservation
g = g1 + g2 (22.9-47)
g1 = 2f − σ (22.9-48)
g2 = 2(c − c0 ) (22.9-49)
where f is the fraction of broken bridges (f = 1 − p). The initial conditions for this
system are given by the following:
c(0) = c0 (22.9-50)
£(0) = £0 = p 0 − c 0 (22.9-51)
δ(0) = 2f0 = 2(1 − c0 − £0 ) (22.9-52)
g(0) = g1 (0) = g2 (0) = 0 (22.9-53)
where c0 is the initial fraction of char bridges, p0 is the initial fraction of bridges in the
coal lattice, and £0 is the initial fraction of labile bridges in the coal lattice.
c Fluent Inc. September 29, 2006 22-79
Modeling Discrete Phase
Given the set of reaction equations for the coal structure parameters, it is necessary to
relate these quantities to changes in coal mass and the related release of volatile products.
To accomplish this, the fractional change in the coal mass as a function of time is divided
into three parts: light gas (fgas ), tar precursor fragments (ffrag ), and char (fchar ). This is
accomplished by using the following relationships, which are obtained using percolation
lattice statistics:
r(g1 + g2 )(σ + 1)
fgas (t) = (22.9-54)
4 + 2r(1 − c0 )(σ + 1)
2
ffrag (t) = [ΦF (p) + rΩK(p)] (22.9-55)
2 + r(1 − c0 )(σ + 1)
fchar (t) = 1 − fgas (t) − ffrag (t) (22.9-56)
The variables Φ, Ω, F (p), and K(p) are the statistical relationships related to the cleaving
of bridges based on the percolation lattice statistics, and are given by the following
equations:
" #
£ (σ − 1)δ
Φ = 1+r + (22.9-57)
p 4(1 − p)
δ £
Ω = − (22.9-58)
2(1 − p) p
! σ+1
p0 σ−1
F (p) = (22.9-59)
p
! σ+1
σ+1 0 p0 σ−1
K(p) = 1− p (22.9-60)
2 p
mb = 2Mw,δ (22.9-61)
ma = Mw,1 − (σ + 1)Mw,δ (22.9-62)
22-80
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
where Mw,δ and Mw,1 are the side chain and cluster molecular weights respectively. σ + 1
is the lattice coordination number, which is determined from solid-state nuclear magnetic
esonance (NMR) measurements related to coal structure parameters, and p0 is the root
of the following equation in p (the total number of bridges in the coal lattice matrix):
In accounting for mass in the metaplast (tar precursor fragments), the part that vaporizes
is treated in a manner similar to flash vaporization, where it is assumed that the finite
fragments undergo vapor/liquid phase equilibration on a time scale that is rapid with
respect to the bridge reactions. As an estimate of the vapor/liquid that is present at
any time, a vapor pressure correlation based on a simple form of Raoult’s Law is used.
The vapor pressure treatment is largely responsible for predicting pressure-dependent
devolatilization yields. For the part of the metaplast that reattaches to the coal lattice,
a cross-linking rate expression given by the following equation is used:
dmcross
= mfrag Across e−(Ecross /RT ) (22.9-64)
dt
where mcross is the amount of mass reattaching to the matrix, mfrag is the amount of
mass in the tar precursor fragments (metaplast), and Across and Ecross are rate expression
constants.
CPD Inputs
Given the set of equations and corresponding rate constants introduced for the CPD
model, the number of constants that must be defined to use the model is a primary
concern. For the relationships defined previously, it can be shown that the following
parameters are coal independent [110]:
These constants are included in the submodel formulation and are not input or modified
during problem setup.
c Fluent Inc. September 29, 2006 22-81
Modeling Discrete Phase
There are an additional five parameters that are coal-specific and must be specified during
the problem setup:
The first four of these are coal structure quantities that are obtained from NMR exper-
imental data. The last quantity, representing the char bridges that either exist in the
parent coal or are formed very early in the devolatilization process, is estimated based
on the coal rank. These quantities are entered in the Materials panel as described in
Section 22.14.2: Description of the Properties. Values for the coal-dependent parameters
for a variety of coals are listed in Table 22.9.1.
13
Table 22.9.1: Chemical Structure Parameters for C NMR for 13 Coals
AR refers to eight types of coal from the Argonne premium sample bank [347, 387]. Sandia refers to
the coal examined at Sandia National Laboratories [109]. AFR refers to coal examined at Advanced
Fuel Research. ACERC refers to three types of coal examined at the Advanced Combustion Engineering
Research Center.
22-82
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
The particle diameter changes during devolatilization according to the swelling coefficient,
Csw , which is defined by you and applied in the following relationship:
dp (1 − fw,0 )mp,0 − mp
= 1 + (Csw − 1) (22.9-65)
dp,0 fv,0 (1 − fw,0 )mp,0
Heat transfer to the particle during the devolatilization process includes contributions
from convection, radiation (if active), and the heat consumed during devolatilization:
dTp dmp
mp cp = hAp (T∞ − Tp ) + hfg + Ap p σ(θR 4 − Tp 4 ) (22.9-66)
dt dt
Radiation heat transfer to the particle is included only if you have enabled the P-1 or
discrete ordinates radiation model and you have activated radiation heat transfer to
particles using the Particle Radiation Interaction option in the Discrete Phase Model panel.
By default, Equation 22.9-66 is solved analytically, by assuming that the temperature
and mass of the particle do not change significantly between time steps:
where
hAp T∞ + dm
dt
p
hfg + Ap p σθR 4
αp = (22.9-68)
hAp + p Ap σTp 3
and
Ap (h + p σTp 3 )
βp = (22.9-69)
m p cp
c Fluent Inc. September 29, 2006 22-83
Modeling Discrete Phase
FLUENT can also solve Equation 22.9-66 in conjunction with the equivalent mass transfer
equation using a stiff coupled solver. See Section 22.11.7: Including Coupled Heat-Mass
Solution Effects on the Particles for details.
When the combustible fraction, fcomb , has been consumed in Law 5, the combusting
particle may contain residual “ash” that reverts to the inert heating law, Law 6 (described
previously).
With the exception of the multiple surface reactions model, the surface combustion law
consumes the reactive content of the particle as governed by the stoichiometric require-
ment, Sb , of the surface “burnout” reaction:
where Sb is defined in terms of mass of oxidant per mass of char, and the oxidant and
product species are defined in the Set Injection Properties panel.
FLUENT provides a choice of four heterogeneous surface reaction rate models for com-
busting particles:
Each of these models is described in detail below. You will choose the surface combustion
model when you are setting physical properties for the combusting-particle material in
the Materials panel, as described in Section 22.14.2: Description of the Properties. By
default, the diffusion-limited rate model will be used.
22-84
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
The diffusion-limited surface reaction rate model which is the default model in FLUENT,
assumes that the surface reaction proceeds at a rate determined by the diffusion of the
gaseous oxidant to the surface of the particle:
dmp Yox T∞ ρ
= −4πdp Di,m (22.9-73)
dt Sb (Tp + T∞ )
where Di,m = diffusion coefficient for oxidant in the bulk (m2 /s)
Yox = local mass fraction of oxidant in the gas
ρ = gas density (kg/m3 )
Sb = stoichiometry of Equation 22.9-72
Equation 22.9-73 is derived from the model of Baum and Street [27] with the kinetic con-
tribution to the surface reaction rate ignored. The diffusion-limited rate model assumes
that the diameter of the particles does not change. Since the mass of the particles is
decreasing, the effective density decreases, and the char particles become more porous.
The kinetic/diffusion-limited rate model assumes that the surface reaction rate is deter-
mined either by kinetics or by a diffusion rate. FLUENT uses the model of Baum and
Street [27] and Field [106], in which a diffusion rate coefficient
[(Tp + T∞ )/2]0.75
D0 = C1 (22.9-74)
dp
R = C2 e−(E/RTp ) (22.9-75)
dmp D0 R
= −Ap pox (22.9-76)
dt D0 + R
c Fluent Inc. September 29, 2006 22-85
Modeling Discrete Phase
where Ap is the surface area of the droplet (πd2p ), pox is the partial pressure of oxidant
species in the gas surrounding the combusting particle, and the kinetic rate, R, incorpo-
rates the effects of chemical reaction on the internal surface of the char particle (intrinsic
reaction) and pore diffusion. In FLUENT, Equation 22.9-76 is recast in terms of the
oxidant mass fraction, Yox , as
The particle size is assumed to remain constant in this model while the density is allowed
to decrease.
When this model is enabled, the rate constants used in Equations 22.9-74 and 22.9-75 are
entered in the Materials panel, as described in Section 22.14: Setting Material Properties
for the Discrete Phase.
The intrinsic model in FLUENT is based on Smith’s model [342], assuming the order of
reaction is equal to unity. Like the kinetic/diffusion model, the intrinsic model assumes
that the surface reaction rate includes the effects of both bulk diffusion and chemical
reaction (see Equation 22.9-77). The intrinsic model uses Equation 22.9-74 to compute
the diffusion rate coefficient, D0 , but the chemical rate, R, is explicitly expressed in terms
of the intrinsic chemical and pore diffusion rates:
dp
R=η ρ p Ag k i (22.9-78)
6
η is the effectiveness factor, or the ratio of the actual combustion rate to the rate attain-
able if no pore diffusion resistance existed [198]:
3
η= (φ coth φ − 1) (22.9-79)
φ2
" #1/2
dp Sb ρp Ag ki pox
φ= (22.9-80)
2 De ρox
22-86
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
ρox is the density of oxidant in the bulk gas (kg/m3 ) and De is the effective diffusion
coefficient in the particle pores. Assuming that the pore size distribution is unimodal
and the bulk and Knudsen diffusion proceed in parallel, De is given by
−1
θ 1 1
De = 2 + (22.9-81)
τ DKn D0
where D0 is the bulk molecular diffusion coefficient and θ is the porosity of the char
particle:
ρp
θ =1− (22.9-82)
ρt
ρp and ρt are, respectively, the apparent and true densities of the pyrolysis char.
τ (in
√ Equation 22.9-81) is the tortuosity of the pores. The default value for τ in FLUENT
is 2, which corresponds to an average intersecting angle between the pores and the
external surface of 45◦ [198].
DKn is the Knudsen diffusion coefficient:
s
Tp
DKn = 97.0rp (22.9-83)
Mw,ox
where Tp is the particle temperature and rp is the mean pore radius of the char parti-
cle, which can be measured by mercury porosimetry. Note that macropores (rp > 150
Å) dominate in low-rank chars while micropores (rp < 10 Å) dominate in high-rank
chars [198].
Ag (in Equations 22.9-78 and 22.9-80) is the specific internal surface area of the char
particle, which is assumed in this model to remain constant during char combustion.
Internal surface area data for various pyrolysis chars can be found in [341]. The mean
value of the internal surface area during char combustion is higher than that of the
pyrolysis char [198]. For example, an estimated mean value for bituminous chars is 300
m2 /g [53].
ki (in Equations 22.9-78 and 22.9-80) is the intrinsic reactivity, which is of Arrhenius
form:
where the pre-exponential factor Ai and the activation energy Ei can be measured for
each char. In the absence of such measurements, the default values provided by FLUENT
(which are taken from a least squares fit of data of a wide range of porous carbons,
including chars [341]) can be used.
c Fluent Inc. September 29, 2006 22-87
Modeling Discrete Phase
To allow a more adequate description of the char particle size (and hence density) vari-
ation during combustion, you can specify the burning mode α, relating the char particle
diameter to the fractional degree of burnout U (where U = 1 − mp /mp,0 ) by [340]
dp
= (1 − U )α (22.9-85)
dp,0
where mp is the char particle mass and the subscript zero refers to initial conditions (i.e.,
at the start of char combustion). Note that 0 ≤ α ≤ 1/3 where the limiting values 0 and
1/3 correspond, respectively, to a constant size with decreasing density (zone 1) and a
decreasing size with constant density (zone 3) during burnout. In zone 2, an intermediate
value of α = 0.25, corresponding to a decrease of both size and density, has been found
to work well for a variety of chars [340].
When this model is enabled, the rate constants used in Equations 22.9-74, 22.9-78,
22.9-80, 22.9-81, 22.9-83, 22.9-84, and 22.9-85 are entered in the Materials panel, as
described in Section 22.14: Setting Material Properties for the Discrete Phase.
Modeling multiple particle surface reactions follows a pattern similar to the wall surface
reaction models, where the surface species is now a “particle surface species”. For the
mixture material defined in the Species Model panel, the particle surface species can be
depleted or produced by the stoichiometry of the particle surface reaction (defined in the
Reactions panel). The particle surface species constitutes the reactive char mass of the
particle, hence, if a particle surface species is depleted, the reactive “char” content of the
particle is consumed, and in turn, when a surface species is produced, it is added to the
particle “char” mass. Any number of particle surface species and any number of particle
surface reactions can be defined for any given combusting particle.
Multiple injections can be accommodated, and combusting particles reacting according
to the multiple surface reactions model can coexist in the calculation, with combusting
particles following other char combustion laws. The model is based on oxidation studies
of char particles, but it is also applicable to gas-solid reactions in general, not only to
char oxidation reactions.
See Section 14.3: Particle Surface Reactions for information about particle surface reac-
tions.
22-88
c Fluent Inc. September 29, 2006
22.9 One-Way and Two-Way Coupling
Limitations
• The model is not available together with the unsteady tracking option.
• The model is available only with the species transport model for volumetric reac-
tions, and not with the nonpremixed, premixed, or partially premixed combustion
models.
The surface reaction consumes the oxidant species in the gas phase; i.e., it supplies a
(negative) source term during the computation of the transport equation for this species.
Similarly, the surface reaction is a source of species in the gas phase: the product of
the heterogeneous surface reaction appears in the gas phase as a user-selected chemical
species. The surface reaction also consumes or produces energy, in an amount determined
by the heat of reaction defined by you.
The particle heat balance during surface reaction is
dTp dmp
mp cp = hAp (T∞ − Tp ) − fh Hreac + Ap p σ(θR 4 − Tp 4 ) (22.9-86)
dt dt
where Hreac is the heat released by the surface reaction. Note that only a portion (1 − fh )
of the energy produced by the surface reaction appears as a heat source in the gas-
phase energy equation: the particle absorbs a fraction fh of this heat directly. For coal
combustion, it is recommended that fh be set at 1.0 if the char burnout product is CO
and 0.3 if the char burnout product is CO2 [39].
Radiation heat transfer to the particle is included only if you have enabled the P-1 or
discrete ordinates radiation model and you have activated radiation heat transfer to
particles using the Particle Radiation Interaction option in the Discrete Phase Model panel.
By default, Equation 22.9-86 is solved analytically, by assuming that the temperature
and mass of the particle do not change significantly between time steps. FLUENT can
also solve Equation 22.9-86 in conjunction with the equivalent mass transfer equation
using a stiff coupled solver. See Section 22.11.7: Including Coupled Heat-Mass Solution
Effects on the Particles for details.
c Fluent Inc. September 29, 2006 22-89
Modeling Discrete Phase
X
m= mi (22.9-87)
i
!−1
X mi
ρp = (22.9-88)
i mρi
For particles containing more than one component it is difficult to assign the whole
particle to one process like boiling or heating. Therefore it can be only modeled by a law
integrating all processes of relevance in one equation. The source terms for temperature
and component mass are the sum of the sources from the partial processes:
!
dTp 4
X dmi
m p cp = Ap p σ(θR − Tp4 ) + hAp (T∞ − Tp ) + (hi,p − hi,g ) (22.9-89)
dt i dt
!
dmi
= Mw,i kc,i (Ci,s − Ci,∞ ) (22.9-90)
dt
The equation for the particle temperature T consists of terms for radiation, convective
heating (Equation 22.9-11) and vaporization. Radiation heat transfer to the particle is
included only if you have enabled P-1 or Discrete-Ordinates (DO) radiation and you have
activated radiation heat transfer to the particles using the Particle Radiation Interaction
option in the Discrete Phase Model panel.
The mass of the particle components mi is only influenced by the vaporization (Equa-
tion 22.9-20), where Mw,i is the molecular weight of species i. The mass transfer coefficient
kc,i of component i is calculated from the Sherwood correlation (Equation 22.9-23). The
concentration of vapor at the particle surface Ci,s depends on the saturation pressure of
the component.
Raoult’s Law
The correlation between the vapor concentration of a species Ci,s over the surface and
its mole fraction in the condensed phase Xi (under the assumption of an ideal gas law)
is described by Raoult’s law:
pi Xi p
Ci,s = = (22.9-91)
RT RT
22-90
c Fluent Inc. September 29, 2006
22.10 Discrete Phase Model (DPM) Boundary Conditions
You can define your own law other than Raoult’s Law for vapor concentration at the
particle surface using a user-defined function.
See Section 2.5.15: DEFINE DPM VP EQUILIB of the FLUENT UDF Manual for details.
• The particle may escape through the boundary. The particle is lost from the cal-
culation at the point where it impacts the boundary.
• The particle may be trapped at the wall. Nonvolatile material is lost from the
calculation at the point of impact with the boundary; volatile material present in
the particle or droplet is released to the vapor phase at this point.
• The particle may pass through an internal boundary zone, such as radiator or
porous jump.
• The particle may slide along the wall, depending on particle properties and impact
angle.
You also have the option of implementing a user-defined function to model the particle
behavior when hitting the boundary. See the separate UDF Manual for information
about user-defined functions.
These boundary condition options are described in detail in Section 22.13: Setting Bound-
ary Conditions for the Discrete Phase.
c Fluent Inc. September 29, 2006 22-91
Modeling Discrete Phase
The procedure for setting up and solving a problem involving a discrete phase is outlined
below, and described in detail in Sections 22.11.1–22.16. Only the steps related specifi-
cally to discrete phase modeling are shown here. For information about inputs related to
other models that you are using in conjunction with the discrete phase models, see the
appropriate sections for those models.
1. Enable any of the discrete phase modeling options, if relevant, as described in this
section.
3. Enable the required physical submodels for the discrete phase model, as described
in Section 22.11.5: Physical Models for the Discrete Phase Model.
4. Set the numerics parameters and solve the problem, as described in Section 22.11.7: Nu-
merics of the Discrete Phase Model and Section 22.15: Solution Strategies for the
Discrete Phase.
5. Specify the initial conditions and particle size distributions, as described in Sec-
tion 22.12: Setting Initial Conditions for the Discrete Phase.
7. Define the material properties, as described in Section 22.14: Setting Material Prop-
erties for the Discrete Phase.
9. For transient cases, advance the solution in time by taking the desired number of
time steps. Particle positions will be updated as the solution advances in time. If
you are solving an uncoupled flow, the particle position will be updated at the end
of each time step. For a coupled calculation, the positions are iterated on or within
each time step.
10. Solve the coupled or uncoupled flow (Section 22.15: Solution Strategies for the
Discrete Phase).
11. Examine the results, as described in Section 22.16: Postprocessing for the Discrete
Phase.
22-92
c Fluent Inc. September 29, 2006
22.11 Steps for Using the Discrete Phase Models
c Fluent Inc. September 29, 2006 22-93
Modeling Discrete Phase
22-94
c Fluent Inc. September 29, 2006
22.11 Steps for Using the Discrete Phase Models
When Unsteady Particle Tracking is enabled, several new options appear. If steady state
equations are solved for the continuous phase, you simply enter the Particle Time Step
Size and the Number of Time Steps, thus tracking particles every time a DPM iteration
is conducted. When you increase the Number of Time Steps, the droplets penetrate the
domain faster.
i Note that you must enter the start and stop times for each injection.
When solving unsteady equations for the continuous phase, you must decide whether you
want to use Fluid Flow Time Step to inject the particles, or whether you prefer a Particle
Time Step Size independent of the Fluid Flow Time Step. With the latter option, you
can use the Discrete Phase Model in combination with changes in the time step for the
continuous equations, as it is done when using adaptive flow time stepping.
If you do not use Fluid Flow Time Step, you will need to decide when to inject the particles
for a new time step. You can either Inject Particles at Particle Time step or at the flow time
step. In any case, the particles will always be tracked in such a way that they coincide
with the flow time of the continuous flow solver.
You can use a user-defined function (DEFINE DPM TIMESTEP) to change the time step for
DPM particle tracking. The time step can be prescribed for special applications where
a certain time step is needed. See Section 2.5.14: DEFINE DPM TIMESTEP of the FLUENT
UDF Manual for details on changing the time step size for DPM particle tracking.
i When the density-based explicit solver is used with the explicit unsteady
formulation, the particles are advanced once per time step and are calcu-
lated at the start of the time step (before the flow is updated).
Additional inputs are required for each injection in the Set Injection Properties panel.
For Unsteady Particle Tracking, the injection Start Time and Stop Time must be specified
under Point Properties. Injections with start and stop times set to zero will be injected
only at the start of the calculation (t = 0). Changing injection settings during a transient
simulation will not affect particles currently released in the domain. At any point during
a simulation, you can clear particles that are currently in the domain by clicking on the
Clear Particles button in the Discrete Phase Model panel.
c Fluent Inc. September 29, 2006 22-95
Modeling Discrete Phase
For unsteady simulations (with the implicit solvers), several methods can be chosen to
control when the particles are advanced.
• If the Number of Continuous Phase Iterations per DPM Iteration is less than the
number of iterations required to converge the continuous phase between time steps,
then sub-iterations are done. Here, particles are tracked to their new positions
during a time step and DPM sources are updated; particles are then returned to
their original state at the beginning of the time step. At the end of the time
step, particles are advanced to their new positions based on the continuous-phase
solution.
• If the Number of Continuous Phase Iterations per DPM Iteration is larger than the
number of iterations specified to converge the continuous phase between time steps,
the particles are advanced at the beginning of the time step to compute the particle
source terms.
• When you specify a value of Zero as the Number of Continuous Phase Iterations per
DPM Iteration, the particles are advanced at the end of the time step. For this
option, it may be better if the particle source terms are not reset at the begin-
ning of the time step. This can be done with the TUI command define/models
/dpm/interaction/reset-sources-at-timestep?.
In all the above cases, you must provide a sufficient number of particle source term
updates to better control when the particles are advanced, see Figure 22.11.1.
i If the collision model is used, you will not be able to set the Number of Con-
tinuous Phase Iterations per DPM Iteration. Refer to Section 22.7.1: Droplet
Collision Model for details about this limitation.
22-96
c Fluent Inc. September 29, 2006
22.11 Steps for Using the Discrete Phase Models
Each of these parameters is set in the Discrete Phase Model panel (Figure 22.11.2) under
Tracking Parameters in the Tracking tab.
Define −→ Models −→Discrete Phase...
Figure 22.11.2: The Discrete Phase Model Panel and the Tracking Parameters
c Fluent Inc. September 29, 2006 22-97
Modeling Discrete Phase
Max. Number Of Steps is the maximum number of time steps used to compute a single
particle trajectory via integration of Equations 22.2-1 and 22.15-1. When the max-
imum number of steps is exceeded, FLUENT abandons the trajectory calculation
for the current particle injection and reports the trajectory fate as “incomplete”.
The limit on the number of integration time steps eliminates the possibility of a
particle being caught in a recirculating region of the continuous phase flow field
and being tracked infinitely. Note that you may easily create problems in which
the default value of 500 time steps is insufficient for completion of the trajectory
calculation. In this case, when trajectories are reported as incomplete within the
domain and the particles are not recirculating indefinitely, you can increase the
maximum number of steps (up to a limit of 109 ).
Length Scale controls the integration time step size used to integrate the equations
of motion for the particle. The integration time step is computed by FLUENT
based on a specified length scale L, and the velocity of the particle (up ) and of the
continuous phase (uc ):
L
∆t = (22.11-1)
up + uc
where L is the Length Scale that you define. As defined by Equation 22.11-1, L is
proportional to the integration time step and is equivalent to the distance that the
particle will travel before its motion equations are solved again and its trajectory
is updated. A smaller value for the Length Scale increases the accuracy of the
trajectory and heat/mass transfer calculations for the discrete phase.
(Note that particle positions are always computed when particles enter/leave a cell;
even if you specify a very large length scale, the time step used for integration will
be such that the cell is traversed in one step.)
Length Scale will appear in the Discrete Phase Model panel when the Specify Length
Scale option is on.
Step Length Factor also controls the time step size used to integrate the equations of
motion for the particle. It differs from the Length Scale in that it allows FLUENT to
compute the time step in terms of the number of time steps required for a particle
to traverse a computational cell. To set this parameter instead of the Length Scale,
turn off the Specify Length Scale option.
The integration time step is computed by FLUENT based on a characteristic time
that is related to an estimate of the time required for the particle to traverse the
current continuous phase control volume. If this estimated transit time is defined
as ∆t∗ , FLUENT chooses a time step ∆t as
∆t∗
∆t = (22.11-2)
λ
22-98
c Fluent Inc. September 29, 2006
22.11 Steps for Using the Discrete Phase Models
One simple rule of thumb to follow when setting the parameters above is that if you want
the particles to advance through a domain consisting of N grid cells into the main flow
direction, the Step Length Factor times N should be approximately equal to the Max.
Number Of Steps.
c Fluent Inc. September 29, 2006 22-99
Modeling Discrete Phase
Figure 22.11.3: The Discrete Phase Model Panel and the Physical Models
22-100
c Fluent Inc. September 29, 2006
22.11 Steps for Using the Discrete Phase Models
c Fluent Inc. September 29, 2006 22-101
Modeling Discrete Phase
22-102
c Fluent Inc. September 29, 2006
22.11 Steps for Using the Discrete Phase Models
Note that you may want to use the dynamic drag law when you use one of the spray
breakup models. See Section 22.11.4: Alternate Drag Laws for information about choos-
ing the drag law.
analytic uses an analytical integration of Equation 22.2-1 where the forces are held
constant during the integration.
runge-kutta facilitates a 5th order Runge Kutta scheme derived by Cash and Karp [50].
c Fluent Inc. September 29, 2006 22-103
Modeling Discrete Phase
Figure 22.11.4: The Discrete Phase Model Panel and the Numerics
22-104
c Fluent Inc. September 29, 2006
22.11 Steps for Using the Discrete Phase Models
You can either choose a single tracking scheme, or switch between higher order and lower
order tracking schemes using an automated selection based on the accuracy to be achieved
and the stability range of each scheme. In addition, you can control how accurately the
equations need to be solved.
Accuracy Control enables the solution of equations of motion within a specified toler-
ance. This is done by computing the error of the integration step and reducing the
integration step if the error is too large. If the error is within the given tolerance,
the integration step will also be increased in the next steps.
Tolerance is the maximum relative error which has to be achieved by the tracking
procedure. Based on the numerical scheme, different methods are used to estimate
the relative error. The implemented Runge-Kutta scheme uses an embedded error
control mechanism. The error of the other schemes is computed by comparing the
result of the integration step with the outcome of a two step procedure with half
the step size.
Max. Refinements is the maximum number of step size refinements in one single inte-
gration step. If this number is exceeded the integration will be conducted with the
last refined integration step size.
Higher Order Scheme can be chosen from the group consisting of trapezoidal and runge-
kutta scheme.
Lower Order Scheme consists of implicit and the exponential analytic integration scheme.
c Fluent Inc. September 29, 2006 22-105
Modeling Discrete Phase
i When tracking particles in parallel, the DPM model cannot be used with
any of the multiphase flow models (VOF, mixture, or Eulerian) if the Shared
Memory option is enabled. (Note that using the Message Passing option,
when running in parallel, enables the compatibility of all multiphase flow
models with the DPM model.)
The Shared Memory option is implemented using POSIX Threads (pthreads) based on a
shared memory model. Once the Shared Memory option is enabled, you can then select
along with it the Workpile Algorithm and specify the Number of Threads. By default, the
Number of Threads is equal to the number of compute nodes specified for the parallel
computation. You can modify this value based on the computational requirements of the
particle calculations. If, for example, the particle calculations require more computation
22-106
c Fluent Inc. September 29, 2006
22.11 Steps for Using the Discrete Phase Models
Figure 22.11.5: The Discrete Phase Model Panel and the UDFs
c Fluent Inc. September 29, 2006 22-107
Modeling Discrete Phase
than the flow calculation, you can increase the Number of Threads (up to the number of
available processors) to improve performance. When using the Shared Memory option, the
particle calculations are entirely managed by the FLUENT host process. You must make
sure that the machine executing the host process has enough memory to accommodate
the entire grid.
i Note that the Shared Memory option is not available for Windows 2000.
The Message Passing option enables cluster computing and also works on shared memory
machines. With this option enabled, the compute node processes perform the particle
work on their local partitions. Particle migration to other compute nodes is implemented
using message passing primitives. There are no special requirements for the host machine.
Note that this model is not available if the Cloud Model option is turned on under the
Turbulent Dispersion tab of the Set Injection Properties panel. When running FLUENT in
parallel, by default, pathline displays are computed in serial on the host node. Pathline
displays may be computed in parallel on distributed memory systems if the Message
Passing parallel option is selected in the Discrete Phase Model panel.
You may seamlessly switch between the Shared Memory option and the Message Passing
option at any time during the FLUENT session.
In addition to performing general parallel processing of the Discrete Phase Model, you
have the option of implementing DPM-specific user-defined functions in parallel FLUENT.
See Section 7.4: Parallelization of Discrete Phase Model (DPM) UDFs of the separate
UDF Manual for details on parallelization of DPM UDFs.
22-108
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
¯n
Yd = e−(d/d) (22.12-1)
where d¯ is the size constant and n is the size distribution parameter. Use of the Rosin-
Rammler size distribution is detailed in Section 22.12.1: Using the Rosin-Rammler Di-
ameter Distribution Method.
The primary inputs that you must provide for the discrete phase calculations in FLUENT
are the initial conditions that define the starting positions, velocities, and other param-
eters for each particle stream. These initial conditions provide the starting values for all
of the dependent discrete phase variables that describe the instantaneous conditions of
an individual particle, and include the following:
• mass flow rate of the particle stream that will follow the trajectory of the individual
particle/droplet, ṁp (required only for coupled calculations)
• additional parameters if one of the atomizer models described in Section 22.8: At-
omizer Model Theory is used for the injection
i When an atomizer model is selected, you will not input initial diameter,
velocity, and position quantities for the particles due to the complexities
of sheet and ligament breakup. Instead of initial conditions, the quantities
you will input for the atomizer models are global parameters.
c Fluent Inc. September 29, 2006 22-109
Modeling Discrete Phase
applied (Section 22.9: One-Way and Two-Way Coupling) as the particle/droplet moves
along its trajectory. You can define any number of different sets of initial conditions for
discrete phase particles/droplets provided that your computer has sufficient memory.
• single
• group
• surface
• plain-orifice atomizer
• pressure-swirl atomizer
• flat-fan-atomizer
• air-blast-atomizer
• effervescent-atomizer
• file
For each nonatomizer injection type, you will specify each of the initial conditions listed
in Section 22.12: Setting Initial Conditions for the Discrete Phase, the type of particle
that possesses these initial conditions, and any other relevant parameters for the particle
type chosen.
You should create a single injection when you want to specify a single value for each of
the initial conditions (Figure 22.12.1). Create a group injection (Figure 22.12.2) when
you want to define a range for one or more of the initial conditions (e.g., a range of
diameters or a range of initial positions). To define hollow spray cone injections in 3D
problems, create a cone injection (Figure 22.12.3). To release particles from a surface
(either a zone surface or a surface you have defined using the items in the Surface menu),
you will create a surface injection. (If you create a surface injection, a particle stream
will be released from each facet of the surface. You can use the Bounded and Sample
Points options in the Plane Surface panel to create injections from a rectangular grid of
particles in 3D (see Section 27.6: Plane Surfaces for details).
22-110
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
● ➞
➞
●
➞
●
➞
●
➞
●
● ▼
▼
▼
c Fluent Inc. September 29, 2006 22-111
Modeling Discrete Phase
Particle initial conditions (position, velocity, diameter, temperature, and mass flow rate)
can also be read from an external file if none of the injection types listed above can be
used to describe your injection distribution. The file has the following form:
with all of the parameters in SI units. All the parentheses are required, but the name is
optional.
The inputs for setting injections are described in detail in Section 22.12.4: Defining In-
jection Properties.
• position
Set the x, y, and z positions of the injected stream along the Cartesian axes of the
problem geometry in the X-, Y-, and Z-Position fields. (Z-Position will appear only
for 3D problems.)
• velocity
Set the x, y, and z components of the stream’s initial velocity in the X-, Y-, and
Z-Velocity fields. (Z-Velocity will appear only for 3D problems.)
• diameter
Set the initial diameter of the injected particle stream in the Diameter field.
• temperature
Set the initial (absolute) temperature of the injected particle stream in the Tem-
perature field.
• mass flow rate
For coupled phase calculations (see Section 22.15: Solution Strategies for the Dis-
crete Phase), set the mass of particles per unit time that follows the trajectory
defined by the injection in the Flow Rate field. Note that in axisymmetric problems
the mass flow rate is defined per 2π radians and in 2D problems per unit meter
depth (regardless of the reference value for length).
• duration of injection
For unsteady particle tracking (see Section 22.11.2: Steady/Transient Treatment of
Particles), set the starting and ending time for the injection in the Start Time and
Stop Time fields.
22-112
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
φN − φ1
φi = φ1 + (i − 1) (22.12-2)
N −1
Thus, for example, if your group consists of 5 particle streams and you define a range for
the initial x location from 0.2 to 0.6 meters, the initial x location of each stream is as
follows:
i In general, you should supply a range for only one of the initial conditions
in a given group—leaving all other conditions fixed while a single condition
varies among the stream numbers of the group. Otherwise you may find,
for example, that your simultaneous inputs of a spatial distribution and
a size distribution have placed the small droplets at the beginning of the
spatial range and the large droplets at the end of the spatial range.
Note that you can use a different method for defining the size distribution of the particles,
as discussed below.
c Fluent Inc. September 29, 2006 22-113
Modeling Discrete Phase
By default, you will define the size distribution of particles by inputting a diameter for
the first and last points and using the linear equation (22.12-2) to vary the diameter
of each particle stream in the group. When you want a different mass flow rate for
each particle/droplet size, however, the linear variation may not yield the distribution
you need. Your particle size distribution may be defined most easily by fitting the size
distribution data to the Rosin-Rammler equation. In this approach, the complete range
of particle sizes is divided into a set of discrete size ranges, each to be defined by a single
stream that is part of the group. Assume, for example, that the particle size data obeys
the following distribution:
n
Yd = e−(d/d) (22.12-3)
FLUENT refers to the quantity d in Equation 22.12-3 as the Mean Diameter and to n as
the Spread Parameter. These parameters are input by you (in the Set Injection Properties
panel under the First Point heading) to define the Rosin-Rammler size distribution. To
solve for these parameters, you must fit your particle size data to the Rosin-Rammler
exponential equation. To determine these inputs, first recast the given droplet size data
in terms of the Rosin-Rammler format. For the example data provided above, this yields
the following pairs of d and Yd :
22-114
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
1.0
0.9
0.8
0.7
0.6
Mass Fraction > d, Yd
0.5
0.4
0.3
0.2
0.1
0
50 70 90 110 130 150 170 190 210 230 250
Diameter, d ( µm)
Next, derive values of d and n such that the data in Figure 22.12.4 fit Equation 22.12-3.
The value for d is obtained by noting that this is the value of d at which Yd = e−1 ≈ 0.368.
From Figure 22.12.4, you can estimate that this occurs for d ≈ 131 µm. The numerical
value for n is given by
ln(− ln Yd )
n=
ln d/d
By substituting the given data pairs for Yd and d/d into this equation, you can obtain
values for n and find an average. Doing so yields an average value of n = 4.52 for the
example data above. The resulting Rosin-Rammler curve fit is compared to the example
data in Figure 22.12.5. You can input values for d and n, as well as the diameter range
of the data and the total mass flow rate for the combined individual size ranges, using
the Set Injection Properties panel.
c Fluent Inc. September 29, 2006 22-115
Modeling Discrete Phase
This technique of fitting the Rosin-Rammler curve to spray data is used when reporting
the Rosin-Rammler diameter and spread parameter in the discrete phase summary panel
in Section 22.16.8: Summary Reporting of Current Particles.
1.0
0.9
0.8
0.7
0.6
Mass Fraction > d, Yd
0.5
0.4
0.3
0.2
0.1
0
50 70 90 110 130 150 170 190 210 230 250
Diameter, d ( µm)
Figure 22.12.5: Rosin-Rammler Curve Fit for the Example Particle Size Data
22-116
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
When a Rosin-Rammler size distribution is being defined for the group of streams, you
should define (in addition to the initial velocity, position, and temperature) the following
parameters, which appear under the heading for the First Point:
• Min. Diameter
This is the smallest diameter to be considered in the size distribution.
• Max. Diameter
This is the largest diameter to be considered in the size distribution.
• Mean Diameter
This is the size parameter, d, in the Rosin-Rammler equation (22.12-3).
• Spread Parameter
This is the exponential parameter, n, in Equation 22.12-3.
For atomizer injections, a Rosin-Rammler distribution is assumed for the particles exiting
the injector. In order to decrease the number of particles necessary to accurately describe
the distribution, the diameter distribution function is randomly sampled for each instance
where new particles are introduced into the domain.
The Rosin-Rammler distribution can be written as
" n #
D
1 − Y = exp − ¯ (22.12-4)
d
where Y is the mass fraction smaller than a given diameter D, d¯ is the Rosin-Rammler
diameter and n is the Rosin-Rammler exponent. This expression can be inverted by
taking logs of both sides and rearranging,
Given a mass fraction Y along with parameters d¯ and n, this function will explic-
itly provide a diameter, D. Diameters for the atomizer injectors described in Sec-
tion 22.12.1: Point Properties for Plain-Orifice Atomizer Injections are obtained by uni-
formly sampling Y in equation 22.12-5.
c Fluent Inc. September 29, 2006 22-117
Modeling Discrete Phase
• position
Set the coordinates of the origin of the spray cone in the X-, Y-, and Z-Position
fields.
• diameter
Set the diameter of the particles in the stream in the Diameter field.
• temperature
Set the temperature of the streams in the Temperature field.
• axis
Set the x, y, and z components of the vector defining the cone’s axis in the X-Axis,
Y-Axis, and Z-Axis fields.
• velocity
Set the velocity magnitude of the particle streams that will be oriented along the
specified spray cone angle in the Velocity Mag. field.
• cone angle
Set the included half-angle, θ, of the hollow spray cone in the Cone Angle field, as
shown in Figure 22.12.6.
θ
r origin
axis
22-118
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
• radius
A nonzero inner radius can be specified to model injectors that do not emanate
from a single point. Set the radius r (defined as shown in Figure 22.12.6) in the
Radius field. The particles will be distributed about the axis with the specified
radius.
The distribution of the particle streams for the solid cone injection is random, as seen in
Figure 22.12.3. Furthermore, duplicating this injection may not necessarily result in the
same distribution, at the same location.
c Fluent Inc. September 29, 2006 22-119
Modeling Discrete Phase
the face they are released from to the total area of the surface. To scale the mass flow
rates, select the Scale Flow Rate By Face Area option under Point Properties.
Note that many surfaces have nonuniform distributions of points. If you want to generate
a uniform spatial distribution of particle streams released from a surface in 3D, you can
create a bounded plane surface with a uniform distribution using the Plane Surface panel,
as described in Section 27.6: Plane Surfaces. In 2D, you can create a rake using the
Line/Rake Surface panel, as described in Section 27.5: Line and Rake Surfaces.
In addition to the option of scaling the flow rate by the face area, the normal direction
of a face can be used for the injection direction. To use the face normal direction for the
injection direction, select the Inject Using Normal Direction option under Point Properties
(Figure 22.12.9). Once this option is selected, you only need to specify the velocity
magnitude of the injection, not the individual components of the velocity magnitude.
i Note also that only surface injections from boundary surfaces will be moved
with the grid when a sliding mesh or a moving or deforming mesh is being
used.
A nonuniform size distribution can be used for surface injections, as described below.
The Rosin-Rammler size distributions described in Section 22.12.1: Using the Rosin-
Rammler Diameter Distribution Method for group injections is also available for surface
injections. If you select one of the Rosin-Rammler distributions, you will need to spec-
ify the following parameters under Point Properties, in addition to the initial velocity,
temperature, and total flow rate:
• Min. Diameter
This is the smallest diameter to be considered in the size distribution.
• Max. Diameter
This is the largest diameter to be considered in the size distribution.
• Mean Diameter
This is the size parameter, d, in the Rosin-Rammler equation (Equation 22.12-3).
• Spread Parameter
This is the exponential parameter, n, in Equation 22.12-3.
• Number of Diameters
This is the number of diameters in each distribution (i.e., the number of different
diameters in the stream injected from each face of the surface).
22-120
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
FLUENT will inject streams of particles from each face on the surface, with diameters de-
fined by the Rosin-Rammler distribution function. The total number of injection streams
tracked for the surface injection will be equal to the number of diameters in each distri-
bution (Number of Diameters) multiplied by the number of faces on the surface.
• position
Set the x, y, and z positions of the injected stream along the Cartesian axes of the
problem geometry in the X-Position, Y-Position, and Z-Position fields. (Z-Position
will appear only for 3D problems).
• temperature
Set the temperature of the streams in the Temperature field.
• duration of injection
For unsteady particle tracking (see Section 22.11.2: Steady/Transient Treatment of
Particles), set the starting and ending time for the injection in the Start Time and
Stop Time fields.
• vapor pressure
Set the vapor pressure governing the flow through the internal orifice (pv in Ta-
ble 22.8.1) in the Vapor Pressure field.
• diameter
Set the diameter of the orifice in the Injector Inner Diam. field (d in Table 22.8.1).
• orifice length
Set the length of the orifice in the Orifice Length field (L in Table 22.8.1).
c Fluent Inc. September 29, 2006 22-121
Modeling Discrete Phase
• radius of curvature
Set the radius of curvature of the inlet corner in the Corner Radius of Curv. field (r
in Table 22.8.1).
• nozzle parameter
Set the constant for the spray angle correlation in the Constant A field (CA in
Equation 22.8-17).
• azimuthal angles
For 3D sectors, set the Azimuthal Start Angle and Azimuthal Stop Angle.
See Section 22.8.1: The Plain-Orifice Atomizer Model for details about how these inputs
are used.
• spray angle
Set the value of the spray angle of the injected stream in the Spray Half Angle field
(θ in Equation 22.8-26).
• pressure
Set the absolute pressure upstream of the injection in the Upstream Pressure field
(p1 in Table 22.8.1).
• sheet breakup
Set the value of the empirical constant that determines the length of the ligaments
that are formed after sheet breakup in the Sheet Constant field (ln( ηη0b ) in Equa-
tion 22.8-31).
• ligament diameter
For short waves, set the proportionality constant that linearly relates the ligament
diameter, dL , to the wavelength that breaks up the sheet in the Ligament Constant
field (see Equations 22.8-32–22.8-35).
See Section 22.8.2: The Pressure-Swirl Atomizer Model for details about how these inputs
are used.
22-122
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
• outer diameter
Set the outer diameter of the injector in the Injector Outer Diam. field. This value
is used in conjunction with the Injector Inner Diam. to set the thickness of the liquid
sheet (t in Equation 22.8-23).
• spray angle
Set the initial trajectory of the film as it leaves the end of the orifice in the Spray
Half Angle field (θ in Equation 22.8-26).
• relative velocity
Set the maximum relative velocity that is produced by the sheet and air in the
Relative Velocity field.
• sheet breakup
Set the value of the empirical constant that determines the length of the ligaments
that are formed after sheet breakup in the Sheet Constant field (ln( ηη0b ) in Equa-
tion 22.8-31).
• ligament diameter
For short waves, set the proportionality constant (CL in Equation 22.8-34) that
linearly relates the ligament diameter, dL , to the wavelength that breaks up the
sheet in the Ligament Constant field.
See Section 22.8.3: The Air-Blast/Air-Assist Atomizer Model for details about how these
inputs are used.
c Fluent Inc. September 29, 2006 22-123
Modeling Discrete Phase
• arc position
Set the coordinates of the center point of the arc from which the fan originates in
the X-Center, Y-Center, and Z-Center fields (see Figure 22.8.6).
• virtual position
Set the coordinates of the virtual origin of the fan in the X-Virtual Origin, Y-Virtual
Origin, and Z-Virtual Origin fields. This point is the intersection of the lines that
mark the sides of the fan (see Figure 22.8.6).
• normal vector
Set the direction that is normal to the fan in the X-Fan Normal Vector, Y-Fan Normal
Vector, and Z-Fan Normal Vector fields.
• temperature
Set the temperature of the streams in the Temperature field.
• duration of injection
For unsteady particle tracking (see Section 22.11.2: Steady/Transient Treatment of
Particles), set the starting and ending time for the injection in the Start Time and
Stop Time fields.
• orifice width
Set the width of the orifice (in the normal direction) in the Orifice Width field.
• sheet breakup
Set the value of the empirical constant that determines the length of the ligaments
that are formed after sheet breakup in the Flat Fan Sheet Constant field (see Equa-
tion 22.8-31).
See Section 22.8.4: The Flat-Fan Atomizer Model for details about how these inputs are
used.
22-124
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
• mixture quality
Set the mass fraction of the injected mixture that vaporizes in the Mixture Quality
field (x in Equation 22.8-41).
• saturation temperature
Set the saturation temperature of the volatile substance in the Saturation Temp.
field.
• droplet dispersion
Set the parameter that controls the spatial dispersion of the droplet sizes in the
Dispersion Constant field (Ceff in Equation 22.8-41).
• spray angle
Set the initial trajectory of the film as it leaves the end of the orifice in the Maximum
Half Angle field.
See Section 22.8.5: The Effervescent Atomizer Model for details about how these inputs
are used.
c Fluent Inc. September 29, 2006 22-125
Modeling Discrete Phase
22-126
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
(You can also click on the Injections... button in the Discrete Phase Model panel to open
the Injections panel.)
Creating Injections
To create an injection, click on the Create button. A new injection will appear in the
Injections list and the Set Injection Properties panel will open automatically to allow
you to set the injection properties (as described in Section 22.12.4: Defining Injection
Properties).
Modifying Injections
To modify an existing injection, select its name in the Injections list and click on the Set...
button. The Set Injection Properties panel will open, and you can modify the properties
as needed.
If you have two or more injections for which you want to set some of the same properties,
select their names in the Injections list and click on the Set... button. The Set Multiple
Injection Properties panel will open, which will allow you to set the common properties.
c Fluent Inc. September 29, 2006 22-127
Modeling Discrete Phase
For instructions about using this panel, see Section 22.12.7: Defining Properties Common
to More than One Injection.
Copying Injections
To copy an existing injection to a new injection, select the existing injection in the
Injections list and click on the Copy button. The Set Injection Properties panel will open
with a new injection that has the same properties as the injection you selected. This is
useful if you want to set another injection with similar properties.
Deleting Injections
You can delete an injection by selecting its name in the Injections list and clicking on the
Delete button.
Listing Injections
To list the initial conditions for the particle streams in the selected injection, click on
the List button. FLUENT reports the initial conditions (in SI units) in the console under
various columns:
• The particle type (IN for inert, DR for droplet, or CP for combusting particle) is in
the column headed TYP.
• The x, y, and z positions are in the columns headed (X), (Y), and (Z).
• The x, y, and z velocities are in the columns headed (U), (V), and (W).
22-128
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
c Fluent Inc. September 29, 2006 22-129
Modeling Discrete Phase
1. If you want to change the name of the injection from its default name, enter a
new one in the Injection Name field. This is recommended if you are defining a
large number of injections so you can easily distinguish them. When assigning
names to your injections, keep in mind the selection shortcut described in Sec-
tion 22.12.3: Creating, Modifying, Copying, Deleting, and Listing Injections.
2. Choose the type of injection in the Injection Type drop-down list. The eleven choices
(single, group, cone, solid-cone, surface, plain-orifice-atomizer, pressure-swirl-atomizer,
air-blast-atomizer, flat-fan-atomizer, effervescent-atomizer, and file) are described in
Section 22.12.1: Injection Types. Note that if you select any of the atomizer models,
you will also need to set the Viscosity and Droplet Surface Tension in the Materials
panel.
22-130
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
c Fluent Inc. September 29, 2006 22-131
Modeling Discrete Phase
5. Choose the material for the particle(s) in the Material drop-down list. If this is
the first time you have created a particle of this type, you can choose from all of
the materials of this type defined in the database. If you have already created a
particle of this type, the only available material will be the material you selected
for that particle. You can define additional materials by copying them from the
database or creating them from scratch, as discussed in Section 22.14.2: Setting
Discrete-Phase Physical Properties and described in detail in Section 8.1.2: Using
the Materials Panel.
6. If you are defining a group or surface injection and you want to change from the
default linear (for group injections) or uniform (for surface injections) interpola-
tion method used to determine the size of the particles, select rosin-rammler or
rosin-rammler-logarithmic in the Diameter Distribution drop-down list. The Rosin-
Rammler method for determining the range of diameters for a group injection
is described in Section 22.12.1: Using the Rosin-Rammler Diameter Distribution
Method.
7. If you have created a customized particle law using user-defined functions, turn
on the Custom option under Laws and specify the appropriate laws as described in
Section 22.12.6: Custom Particle Laws.
8. If your particle type is Inert, go to the next step. If you are defining Droplet particles,
select the gas phase species created by the vaporization and boiling laws (Laws 2
and 3) in the Evaporating Species drop-down list.
If you are defining Combusting particles, select the gas phase species created by
the devolatilization law (Law 4) in the Devolatilizing Species drop-down list, the
gas phase species that participates in the surface char combustion reaction (Law
5) in the Oxidizing Species list, and the gas phase species created by the surface
char combustion reaction (Law 5) in the Product Species list. Note that if the
Combustion Model for the selected combusting particle material (in the Materials
panel) is the multiple-surface-reaction model, then the Oxidizing Species and Product
Species lists will be disabled because the reaction stoichiometry has been defined
in the mixture material.
If you are defining Multicomponent particles, law 7 will go into effect. Notice that
the Components tab will become active when this particle type is selected. See
below for information on the Components tab.
22-132
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
9. Click the Point Properties tab (the default), and specify the point properties (posi-
tion, velocity, diameter, temperature, and—if appropriate—mass flow rate and any
atomizer-related parameters) as described for each injection type in Sections 22.12.1–
22.12.1.
For surface injections, you can enable the Scale Flow Rate by Face Area and you
can choose the injection direction. To use the face normal direction for the injec-
tion direction, select the Inject Using Normal Direction option under Point Properties
(Figure 22.12.9). Once this option is selected, you only need to specify the ve-
locity magnitude of the injection, not the individual components of the velocity
magnitude.
10. If the flow is turbulent and you wish to include the effects of turbulence on the parti-
cle dispersion, click the Turbulent Dispersion tab, turn on the Stochastic Model or the
Cloud Model, and set the related parameters as described in Section 22.12.5: Mod-
eling Turbulent Dispersion of Particles.
11. If your combusting particle includes an evaporating material, click the Wet Com-
bustion tab, select the Wet Combustion option, and then select the material that
is evaporating/boiling from the particle before devolatilization begins in the Liq-
uid Material drop-down list. You should also set the volume fraction of the liquid
present in the particle by entering the value of the Liquid Fraction. Finally, select
the gas phase species created by the evaporating and boiling laws in the Evaporating
Species drop-down list in the top part of the panel.
12. If you include multicomponent droplets as the material in your discrete phase
model, a Components tab will become active. In this tab, you will specify the
Mass Fraction of each of the components. Note that the sum of the Mass fractions
should add up to unity, otherwise FLUENT will adjust the values such that you have
a sum of 1 for the mass fraction, and will prompt you to accept the entry. Under
Vaporized Species, select not-vaporizing if the component in the particle does not
vaporize. Otherwise, select from the Vaporized Species drop-down list the species
that will be vaporized.
To change the components of a multicomponent droplet, copy the droplet materials
from the Fluent Database Materials panel, or define the droplet materials in the
Materials panel, then add them to the Selected Species list in the Species panel by
clicking the Edit... button (in the Materials panel) next to Mixture Species.
13. If you want to use a user-defined function to initialize the injection properties, click
the UDF tab to access the UDF inputs. You can select an Initialization function
under User-Defined Functions to modify injection properties at the time the particles
are injected into the domain. This allows the position and/or properties of the
injection to be set as a function of flow conditions. See the separate UDF Manual
for information about user-defined functions.
c Fluent Inc. September 29, 2006 22-133
Modeling Discrete Phase
Stochastic Tracking
For turbulent flows, if you choose to use the stochastic tracking technique, you must
enable it and specify the “number of tries”. Stochastic tracking includes the effect of tur-
bulent velocity fluctuations on the particle trajectories using the DRW model described
in Section 22.2.2: Stochastic Tracking.
1. Click the Turbulent Dispersion tab in the Set Injection Properties panel.
22-134
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
If you want the characteristic lifetime of the eddy to be random (Equation 22.2-31),
enable the Random Eddy Lifetime option. You will generally not need to change the
Time Scale Constant (CL in Equation 22.2-22) from its default value of 0.15, unless you
are using the Reynolds Stress turbulence model (RSM), in which case a value of 0.3 is
recommended.
Figure 22.12.10 illustrates a discrete phase trajectory calculation computed via the “mean”
tracking (number of tries = 0) and Figure 22.12.11 illustrates the “stochastic” tracking
(number of tries > 1) option.
When multiple stochastic trajectory calculations are performed, the momentum and mass
defined for the injection are divided evenly among the multiple particle/droplet tracks,
and are thus spread out in terms of the interphase momentum, heat, and mass transfer
calculations. Including turbulent dispersion in your model can thus have a significant
impact on the effect of the particles on the continuous phase when coupled calculations
are performed.
3.04e-02
2.84e-02
2.63e-02
2.43e-02
2.23e-02
2.03e-02
1.82e-02
1.62e-02
1.42e-02
1.22e-02
1.01e-02
8.10e-03
6.08e-03
4.05e-03
2.03e-03
0.00e+00
c Fluent Inc. September 29, 2006 22-135
Modeling Discrete Phase
3.00e-02
2.80e-02
2.60e-02
2.40e-02
2.20e-02
2.00e-02
1.80e-02
1.60e-02
1.40e-02
1.20e-02
1.00e-02
8.00e-03
6.00e-03
4.00e-03
2.00e-03
0.00e+00
Cloud Tracking
For turbulent flows, you can also include the effects of turbulent dispersion on the injec-
tion. When cloud tracking is used, the trajectory will be tracked as a cloud of particles
about a mean trajectory, as described in Section 22.2.2: Particle Cloud Tracking.
1. Click the Turbulent Dispersion tab in the Set Injection Properties panel.
2. Enable cloud tracking by turning on the Cloud Model under Cloud Tracking.
3. Specify the minimum and maximum cloud diameters. Particles enter the domain
with an initial cloud diameter equal to the Min. Cloud Diameter. The particle
cloud’s maximum allowed diameter is specified by the Max. Cloud Diameter.
You may want to restrict the Max. Cloud Diameter to a relevant length scale for the
problem to improve computational efficiency in complex domains where the mean
trajectory may become stuck in recirculation regions.
22-136
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
There is a seventh drop-down list in the Custom Laws panel labeled Switching. You may
wish to have FLUENT vary the laws used depending on conditions in the model. You can
customize the way FLUENT switches between laws by selecting a user-defined function
from this drop-down list.
An example of when you might want to use a custom law might be to replace the stan-
dard devolatilization law with a specialized devolatilization law that more accurately
describes some unique aspects of your model. After creating and loading a user-defined
function that details the physics of your devolatilization law, you would visit the Custom
Laws panel and replace the standard devolatilization law (Law 2) with your user-defined
function.
c Fluent Inc. September 29, 2006 22-137
Modeling Discrete Phase
Depending on the type of injections you have selected (single, group, atomizers, etc.),
there will be different categories of properties listed under Injections Setup. The names
of these categories correspond to the headings within the Set Injection Properties panel
(e.g., Particle Type and Stochastic Tracking). Only those categories that are appropriate
for all of your selected injections (which are shown in the Injections list) will be listed. If
all of these injections are of the same type, more categories of properties will be available
for you to modify. If the injections are of different types, you will have fewer categories
to select from.
22-138
c Fluent Inc. September 29, 2006
22.12 Setting Initial Conditions for the Discrete Phase
Modifying Properties
To modify a property, perform the following steps:
1. Select the appropriate category in the Injections Setup list. For example, if you want
to set the same flow rate for all of the selected injections, select Point Properties.
The panel will expand to show the properties that appear under that heading in
the Set Injection Properties panel.
3. Click Apply. FLUENT will report the change in the console window.
i You must click Apply to save the property settings within each category. If,
for example, you want to modify the flow rate and the stochastic tracking
parameters, you will need to select Point Properties in the Injections Setup
list, specify the flow rate, and click Apply. You would then repeat the
process for the stochastic tracking parameters, clicking Apply again when
you are done.
There are two types of properties that can be modified using the Set Multiple Injection
Properties panel.
The first type involves one of the following actions:
Setting the first type of property works the same way as in the Set Injection Properties
panel. For example, if you select Particle Type in the Injections Setup list, the panel will
expand to show the portion of the Set Injection Properties panel where you choose the
particle type. You can simply choose the desired type and click Apply.
Setting the second type of property requires an additional step. If you select a category
in the Injections Setup list that contains this type of property, the expanded portion of the
panel will look like the corresponding part of the Set Injection Properties panel, with the
addition of Modify check buttons (see Figure 22.12.13). To change one of the properties,
c Fluent Inc. September 29, 2006 22-139
Modeling Discrete Phase
first turn on the Modify check button to its left, and then specify the desired status or
value.
For example, if you would like to enable stochastic tracking, first turn on the Modify
check button to the left of Stochastic Model. This will make the property active so you
can modify its status. Then, under Property, turn on the Stochastic Model check button.
(Be sure to click Apply when you are done setting stochastic tracking parameters.)
If you would like to change the value of Number of Tries, select the Modify check button
to its left to make it active, and then enter the new value in the field. Make sure you
click Apply when you have finished modifying the stochastic tracking properties.
i The setting for a property that has not been activated with the Modify
check button is not relevant, because it will not be applied to the selected
injections when you click Apply. After you turn on Modify for a particular
property, clicking Apply will modify that property for all of the selected
injections, so make sure that you have the settings the way that you want
them before you do this. If you make a mistake, you will have to return
to the Set Injection Properties panel for each injection to fix the incorrect
setting, if it is not possible to do so in the Set Multiple Injection Properties
panel.
22-140
c Fluent Inc. September 29, 2006
22.13 Setting Boundary Conditions for the Discrete Phase
• “reflect”
The particle rebounds the off the boundary in question with a change in its mo-
mentum as defined by the coefficient of restitution. (See Figure 22.13.1.)
coefficient V2,n
of =
restitution V
1,n
θ1
θ
2
The normal coefficient of restitution defines the amount of momentum in the di-
rection normal to the wall that is retained by the particle after the collision with
the boundary [366]:
v2,n
en = (22.13-1)
v1,n
where vn is the particle velocity normal to the wall and the subscripts 1 and 2 refer
to before and after collision, respectively. Similarly, the tangential coefficient of
restitution, et , defines the amount of momentum in the direction tangential to the
wall that is retained by the particle.
A normal or tangential coefficient of restitution equal to 1.0 implies that the particle
retains all of its normal or tangential momentum after the rebound (an elastic
collision). A normal or tangential coefficient of restitution equal to 0.0 implies that
the particle retains none of its normal or tangential momentum after the rebound.
Nonconstant coefficients of restitution can be specified for wall zones with the
“reflect” type boundary condition. The coefficients are set as a function of the
impact angle, θ1 , in Figure 22.13.1.
Note that the default setting for both coefficients of restitution is a constant value
of 1.0 (all normal and tangential momentum retained).
c Fluent Inc. September 29, 2006 22-141
Modeling Discrete Phase
• “trap”
The trajectory calculations are terminated and the fate of the particle is recorded as
“trapped”. In the case of evaporating droplets, their entire mass instantaneously
passes into the vapor phase and enters the cell adjacent to the boundary. See
Figure 22.13.2. In the case of combusting particles, the remaining volatile mass is
passed into the vapor phase.
volatile fraction
flashes to vapor
θ1
• “escape”
The particle is reported as having “escaped” when it encounters the boundary in
question. Trajectory calculations are terminated. See Figure 22.13.3.
particle vanishes
22-142
c Fluent Inc. September 29, 2006
22.13 Setting Boundary Conditions for the Discrete Phase
• “wall-jet”
The direction and velocity of the droplet particles are given by the resulting mo-
mentum flux, which is a function of the impingement angle, φ, and Weber number.
See Figure 22.13.4.
z
y
H(Ψ)
φ
Ψ
x
side view top view
Figure 22.13.4: “Wall Jet” Boundary Condition for the Discrete Phase
The “wall-jet” type boundary condition assumes an analogy with an inviscid jet
impacting a solid wall. Equation 22.13-2 shows the analytical solution for an ax-
isymmetric impingement assuming an empirical function for the sheet height (H)
as a function of the angle that the drop leaves the impingement (Ψ).
Ψ
H(Ψ) = Hπ eβ(1− π ) (22.13-2)
where Hπ is the sheet height at Ψ = π and β is a constant determined from conser-
vation of mass and momentum. The probability that a drop leaves the impingement
point at an angle between Ψ and Ψ + δΨ is given by integrating the expression for
H(Ψ)
π
Ψ = − ln[1 − P (1 − e−β )] (22.13-3)
β
where P is a random number between 0 and 1. The expression for β is given in
Naber and Reitz [258] as
eβ + 1
sin(φ) = (22.13-4)
(eβ − 1)(1 + ( βπ )2 )
The “wall-jet” type boundary condition is appropriate for high-temperature walls
where no significant liquid film is formed, and in high-Weber-number impacts where
the spray acts as a jet. The model is not appropriate for regimes where film is
important (e.g., port fuel injection in SI engines, rainwater runoff, etc.).
c Fluent Inc. September 29, 2006 22-143
Modeling Discrete Phase
• “wall-film”
This boundary condition consists of four regimes: stick, rebound, spread, and
splash, which are based on the impact energy and wall temperature. Detailed
information on the wall-film model can be found in Section 22.4: Wall-Film Model
Theory.
• “interior”
This boundary condition means that the particles will pass through the internal
boundary. This option is available only for internal boundary zones, such as a
radiator or a porous jump.
It is also possible to use a user-defined function to compute the behavior of the particles
at a physical boundary. See the separate UDF Manual for information about user-defined
functions.
Because you can stipulate any of these conditions at flow boundaries, it is possible to
incorporate mixed discrete phase boundary conditions in your FLUENT model.
Discrete phase boundary conditions can be set for boundaries in the panels opened from
the Boundary Conditions panel. When one or more injections have been defined, inputs
for the discrete phase will appear in the panels (e.g., Figure 22.13.5).
Select reflect, trap, escape, wall-jet, or user-defined in the Boundary Cond. Type drop-down
list under Discrete Phase Model Conditions. (In the Walls panel, you will need to click on
the DPM tab to access the Discrete Phase Model Conditions.) If you select user-defined,
you can select a user-defined function in the Boundary Cond. Function drop-down list.
For internal boundary zones, such as a radiator or a porous jump, you can also choose
an interior boundary condition. The interior condition means that the particles will pass
through the internal boundary.
If you select the reflect type at a wall (only), you can define a constant, polynomial,
piecewise-linear, or piecewise-polynomial function for the Normal and Tangent coefficients
of restitution under Discrete Phase Reflection Coefficients. See Section 22.13.1: Discrete
Phase Boundary Condition Types for details about the boundary condition types and
the coefficients of restitution. The panels for defining the polynomial, piecewise-linear,
and piecewise-polynomial functions are the same as those used for defining temperature-
dependent properties. See Section 8.2: Defining Properties Using Temperature-Dependent
Functions for details.
22-144
c Fluent Inc. September 29, 2006
22.13 Setting Boundary Conditions for the Discrete Phase
c Fluent Inc. September 29, 2006 22-145
Modeling Discrete Phase
• The reflect type is assumed at wall, symmetry, and axis boundaries, with both
coefficients of restitution equal to 1.0
• The escape type is assumed at all flow boundaries (pressure and velocity inlets,
pressure outlets, etc.)
• The interior type is assumed at all internal boundaries (radiator, porous jump, etc.)
22-146
c Fluent Inc. September 29, 2006
22.14 Setting Material Properties for the Discrete Phase
Property Symbol
density ρp in Eq. 22.2-1
specific heat cp in Eq. 22.9-11
particle emissivity p in Eq. 22.9-11
particle scattering factor f in Eq. 13.3-13
thermophoretic coefficient DT,p in Eq. 22.2-14
Properties Symbol
density ρp in Eq. 22.2-1
specific heat cp in Eq. 22.9-25
thermal conductivity kp in Eq. 22.2-15
viscosity µ in Eq. 22.7-11
latent heat hfg in Eq. 22.9-25
vaporization temperature Tvap in Eq. 22.9-18
boiling point Tbp in Eq. 22.9-18, 22.9-26
volatile component fraction fv0 in Eq. 22.9-19, 22.9-27
binary diffusivity Di,m in Eq. 22.9-23
saturation vapor pressure psat (T ) in Eq. 22.9-21
heat of pyrolysis hpyrol in Eq. 22.9-2
droplet surface tension σ in Eq. 22.8-19, 22.7-10
particle emissivity p in Eq. 22.9-25, 22.9-31
particle scattering factor f in Eq. 13.3-13
thermophoretic coefficient DT,p in Eq. 22.2-14
c Fluent Inc. September 29, 2006 22-147
Modeling Discrete Phase
Properties Symbol
density ρp in Eq. 22.2-1
specific heat cp in Eq. 22.9-11
latent heat hfg in Eq. 22.9-2
vaporization temperature Tvap = Tbp in Eq. 22.9-32
volatile component fraction fv0 in Eq. 22.9-33
swelling coefficient Csw in Eq. 22.9-65
burnout stoichiometric ratio Sb in Eq. 22.9-72
combustible fraction fcomb in Eq. 22.9-71
heat of reaction for burnout Hreac in Eq. 22.9-72 22.9-86
fraction of reaction heat given to solid fh in Eq. 22.9-86
particle emissivity p in Eq. 22.9-66, 22.9-86
particle scattering factor f in Eq. 13.3-13
thermophoretic coefficient DT,p in Eq. 22.2-14
devolatilization model
– law 4, constant rate
– – constant A0 in Eq. 22.9-34
– law 4, single rate
– – pre-exponential factor A1 in Eq. 22.9-35
– – activation energy E in Eq. 22.9-35
– law 4, two rates
– – pre-exponential factors A1 , A2 in Eq. 22.9-38, 22.9-39
– – activation energies E1 , E2 in Eq. 22.9-38, 22.9-39
– – weighting factors α1 , α2 in Eq. 22.9-40
– law 4, CPD
– – initial fraction of bridges in coal lattice p0 in Eq. 22.9-51
– – initial fraction of char bridges c0 in Eq. 22.9-50
– – lattice coordination number σ + 1 in Eq. 22.9-62
– – cluster molecular weight Mw,1 in Eq. 22.9-62
– – side chain molecular weight Mw,δ in Eq. 22.9-61
22-148
c Fluent Inc. September 29, 2006
22.14 Setting Material Properties for the Discrete Phase
Properties Symbol
combustion model
– law 5, diffusion rate
– – binary diffusivity Di,m in Eq. 22.9-73
– law 5, diffusion/kinetic rate
– – mass diffusion limited rate constant C1 in Eq. 22.9-74
– – kinetics limited rate pre-exp. factor C2 in Eq. 22.9-75
– – kinetics limited rate activ. energy E in Eq. 22.9-75
– law 5, intrinsic rate
– – mass diffusion limited rate constant C1 in Eq. 22.9-74
– – kinetics limited rate pre-exp. factor Ai in Eq. 22.9-84
– – kinetics limited rate activ. energy Ei in Eq. 22.9-84
– – char porosity θ in Eq. 22.9-81
– – mean pore radius rp in Eq. 22.9-83
– – specific internal surface area Ag in Eq. 22.9-78, 22.9-80
– – tortuosity τ in Eq. 22.9-81
– – burning mode α in Eq. 22.9-85
– law 5, multiple surface reaction
– – binary diffusivity Di,m in Eq. 22.9-73
Property Symbol
mixture species selected droplets for components
density ρp in Eq. 22.2-1
specific heat cp in Eq. 22.9-89
thermal conductivity kp in Eq. 22.2-15
vapor particle equilibrium Ci,s in Eq. 22.3-4
c Fluent Inc. September 29, 2006 22-149
Modeling Discrete Phase
i If you do not find the material you want in the database, you can se-
lect a material that is close to the one you wish to use, and then modify
the properties and give the material a new name, as described in Sec-
tion 8.1.2: Creating a New Material.
i Note that a discrete-phase material type will not appear in the Material
Type list in the Materials panel until you have defined an injection of that
type of particles. This means, for example, that you cannot define or mod-
ify any combusting-particle materials until you have defined a combusting
particle injection (as described in Section 22.12: Setting Initial Conditions
for the Discrete Phase).
For a particle-mixture material type, you will need to select the species in your mixture.
To do this, click the Edit... button next to Mixture Species in the Materials panel. The
Species panel will open, where you will include your Selected Species. The selected species
will now be available in the Set Injection Properties panel, under the Components tab.
22-150
c Fluent Inc. September 29, 2006
22.14 Setting Material Properties for the Discrete Phase
In many cases, a single set of physical properties (density, heat capacity, etc.) is appro-
priate for each type of discrete phase particle considered in a given model. Sometimes,
however, a single model may contain two different types of inert, droplet, combusting
particles, or multicomponent particles (e.g., heavy particles and gaseous bubbles or two
different types of evaporating liquid droplets). In such cases, it is necessary to assign a
different set of properties to the two (or more) different types of particles. This is easily
accomplished by defining two or more inert, droplet, or combusting particle materials
and using the appropriate one for each particle injection.
You can define additional discrete-phase materials either by copying them from the
database or by creating them from scratch. See Section 8.1.2: Using the Materials Panel
for instructions on using the Materials panel to perform these actions.
i Recall that you must define at least one injection (as described in Sec-
tion 22.12: Setting Initial Conditions for the Discrete Phase) containing
particles of a certain type before you will be able to define additional ma-
terials for that particle type.
Density is the density of the particulate phase in units of mass per unit volume of the
discrete phase. This density is the mass density and not the volumetric density.
Since certain particles may swell during the trajectory calculations, your input is
actually an “initial” density.
Cp is the specific heat, cp , of the particle. The specific heat may be defined as a func-
tion of temperature by selecting one of the function types from the drop-down list to
the right of Cp. See Section 8.2: Defining Properties Using Temperature-Dependent
Functions for details about temperature-dependent properties. For multicomponent
particles, it can be calculated as a mass-weighted value of the specific heat of the
droplet component.
Thermal Conductivity is the thermal conductivity of the particle. This input is specified
in units of W/m-K in SI units or Btu/ft-h-◦ F in British units and is treated as a
constant by FLUENT.
c Fluent Inc. September 29, 2006 22-151
Modeling Discrete Phase
Latent Heat is the latent heat of vaporization, hfg , required for phase change from an
evaporating liquid droplet (Equation 22.9-25) or for the evolution of volatiles from
a combusting particle (Equation 22.9-66). This input is supplied in units of J/kg in
SI units or of Btu/lbm in British units and is treated as a constant by FLUENT. For
the droplet particle, the latent heat value at the boiling point temperature should
be used.
Boiling Point is the temperature, Tbp , at which the calculation of the boiling rate
equation (22.9-28) is initiated by FLUENT. When a droplet particle reaches the
boiling point, FLUENT applies Law 3 and assumes that the droplet temperature is
constant at Tbp . The boiling point denotes the temperature at which the particle
law transitions from the vaporization law to the boiling law.
Volatile Component Fraction (fv0 ) is the fraction of a droplet particle that may va-
porize via Laws 2 and/or 3 (Section 22.9.2: Droplet Vaporization (Law 2)). For
combusting particles, it is the fraction of volatiles that may be evolved via Law 4
(Section 22.9.2: Devolatilization (Law 4)).
Binary Diffusivity is the mass diffusion coefficient, Di,m , used in the vaporization law,
Law 2 (Equation 22.9-23). This input is also used to define the mass diffusion
of the oxidizing species to the surface of a combusting particle, Di,m , as given in
Equation 22.9-73. (Note that the diffusion coefficient inputs that you supply for
the continuous phase are not used for the discrete phase.)
Saturation Vapor Pressure is the saturated vapor pressure, psat , defined as a function
of temperature, which is used in the vaporization law, Law 2 (Equation 22.9-21).
The saturated vapor pressure may be defined as a function of temperature by
selecting one of the function types from the drop-down list to the right of its name.
(See Section 8.2: Defining Properties Using Temperature-Dependent Functions for
22-152
c Fluent Inc. September 29, 2006
22.14 Setting Material Properties for the Discrete Phase
Heat of Pyrolysis is the heat of the instantaneous pyrolysis reaction, hpyrol , that the
evaporating/boiling species may undergo when released to the continuous phase.
This input represents the conversion of the evaporating species to lighter compo-
nents during the evaporation process. The heat of pyrolysis should be input as a
positive number for exothermic reaction and as a negative number for endother-
mic reaction. The default value of zero implies that the heat of pyrolysis is not
considered. This input is used in Equation 22.9-2.
Swelling Coefficient is the coefficient Csw in Equation 22.9-65, which governs the swelling
of the coal particle during the devolatilization law, Law 4 (Section 22.9.2: De-
volatilization (Law 4)). A swelling coefficient of unity (the default) implies that
the coal particle stays at constant diameter during the devolatilization process.
Combustible Fraction is the mass fraction of char, fcomb , in the coal particle, i.e., the
fraction of the initial combusting particle that will react in the surface reaction,
Law 5 (Equation 22.9-71).
Heat of Reaction for Burnout is the heat released by the surface char combustion re-
action, Law 5 (Equation 22.9-72). This parameter is input in terms of heat release
(e.g., Joules) per unit mass of char consumed in the surface reaction.
React. Heat Fraction Absorbed by Solid is the parameter fh (Equation 22.9-86), which
controls the distribution of the heat of reaction between the particle and the con-
tinuous phase. The default value of zero implies that the entire heat of reaction is
released to the continuous phase.
c Fluent Inc. September 29, 2006 22-153
Modeling Discrete Phase
When the single kinetic rate model (single-rate) is selected, the Single Rate De-
volatilization Model panel will appear and you will enter the Pre-exponential Factor,
A1 , and the Activation Energy, E, to be used in Equation 22.9-36 for the computa-
tion of the kinetic rate.
When the two competing rates model (two-competing-rates) is selected, the Two
Competing Rates Model panel will appear and you will enter, for the First Rate
and the Second Rate, the Pre-exponential Factor (A1 in Equation 22.9-38 and A2
in Equation 22.9-39), Activation Energy (E1 in Equation 22.9-38 and E2 in Equa-
tion 22.9-39), and Weighting Factor (α1 and α2 in Equation 22.9-40). The constants
you input are used in Equations 22.9-38 through 22.9-40.
When the CPD model (cpd-model) is selected, the CPD Model panel will appear and
you will enter the Initial Fraction of Bridges in Coal Lattice (p0 in Equation 22.9-51),
Initial Fraction of Char Bridges (c0 in Equation 22.9-50), Lattice Coordination Number
(σ + 1 in Equation 22.9-62), Cluster Molecular Weight (Mw,1 in Equation 22.9-62),
and Side Chain Molecular Weight (Mw,δ in Equation 22.9-61).
Note that the Single Rate Devolatilization Model, Two Competing Rates Model, and
CPD Model panels are modal panels, which means that you must tend to them
immediately before continuing the property definitions.
Combustion Model defines which version of the surface char combustion law (Law 5)
is being used. If you want to use the default diffusion-limited rate model, retain
the selection of diffusion-limited in the drop-down list to the right of Combustion
Model. No additional inputs are necessary, because the binary diffusivity defined
above will be used in Equation 22.9-73.
To use the kinetics/diffusion-limited rate model for the surface combustion model,
select kinetics/diffusion-limited in the drop-down list. The Kinetics/Diffusion-Limited
Combustion Model panel will appear and you will enter the Mass Diffusion Limited
Rate Constant (C1 in Equation 22.9-74), Kinetics Limited Rate Pre-exponential Fac-
tor (C2 in Equation 22.9-75), and Kinetics Limited Rate Activation Energy (E in
Equation 22.9-75).
Note that the Kinetics/Diffusion-Limited Combustion Model panel is a modal panel,
which means that you must tend to it immediately before continuing the property
definitions.
To use the intrinsic model for the surface combustion model, select intrinsic-model in
the drop-down list. The Intrinsic Combustion Model panel will appear and you will
enter the Mass Diffusion Limited Rate Constant (C1 in Equation 22.9-74), Kinetics
Limited Rate Pre-exponential Factor (Ai in Equation 22.9-84), Kinetics Limited Rate
Activation Energy (Ei in Equation 22.9-84), Char Porosity (θ in Equation 22.9-81),
Mean Pore Radius (rp in Equation 22.9-83), Specific Internal Surface Area (Ag in
Equations 22.9-78 and 22.9-80), Tortuosity (τ in Equation 22.9-81), and Burning
Mode, alpha (α in Equation 22.9-85).
22-154
c Fluent Inc. September 29, 2006
22.14 Setting Material Properties for the Discrete Phase
Note that the Intrinsic Combustion Model panel is a model panel, which means that
you must tend to it immediately before continuing the property definitions.
To use the multiple surface reactions model, select multiple-surface-reactions in the
drop-down list. FLUENT will display a dialog box informing you that you will need
to open the Reactions panel, where you can review or modify the particle surface
reactions that you specified as described in Section 14.1.2: Overview of User Inputs
for Modeling Species Transport and Reactions.
i If you have not yet defined any particle surface reactions, you must be sure
to define them now. See Section 14.3.3: Using the Multiple Surface Reac-
tions Model for Discrete-Phase Particle Combustion for more information
about using the multiple surface reactions model.
You will notice that the Burnout Stoichiometric Ratio and Heat of Reaction for
Burnout are no longer available in the Materials panel, as these parameters are now
computed from the particle surface reactions you defined in the Reactions panel.
Note that the multiple surface reactions model is available only if the Particle Surface
option for Reactions is enabled in the Species Model panel. See Section 14.3.2: User
Inputs for Particle Surface Reactions for details.
When the effect of particles on radiation is enabled (for the P-1 or discrete ordinates
radiation model only) in the Discrete Phase Model panel, you will need to define the
following additional parameters:
Particle Scattering Factor is the scattering factor, fp , due to particles in the P-1 or
discrete ordinates radiation model (Equation 13.3-13). Note that you must enable
particle effects in the radiation model, using the Particle Radiation Interaction option
in the Discrete Phase Model panel. The recommended value of fp for coal combustion
modeling is 0.9 [220]. Note that if the effect of particles on radiation is enabled,
scattering in the continuous phase will be ignored in the radiation model.
c Fluent Inc. September 29, 2006 22-155
Modeling Discrete Phase
When an atomizer injection model and/or the droplet breakup or collision model is
enabled in the Set Injection Properties panel (atomizers) and/or Discrete Phase Model panel
(droplet breakup/collision), you will need to define the following additional parameters:
Viscosity is the droplet viscosity, µl . The viscosity may be defined as a function of tem-
perature by selecting one of the function types from the drop-down list to the right
of Viscosity. See Section 8.2: Defining Properties Using Temperature-Dependent
Functions for details about temperature-dependent properties. You also have the
option of implementing a user-defined function to model the droplet viscosity. See
the separate UDF Manual for information about user-defined functions.
Droplet Surface Tension is the droplet surface tension, σ. The surface tension may be
defined as a function of temperature by selecting one of the function types from
the drop-down list to the right of Droplet Surface Tension. See Section 8.2: Defining
Properties Using Temperature-Dependent Functions for details about temperature-
dependent properties. You also have the option of implementing a user-defined
function to model the droplet surface tension. See the separate UDF Manual for
information about user-defined functions.
22-156
c Fluent Inc. September 29, 2006
22.15 Solution Strategies for the Discrete Phase
dx
= up (22.15-1)
dt
Equations 22.2-1 and 22.15-1 are a set of coupled ordinary differential equations. Equa-
tion 22.2-1 can be cast into the following general form
dup 1
= (u − up ) + a (22.15-2)
dt τp
where the term a includes accelerations due to all other forces except drag force.
This set can be solved for constant u, a and τp by analytical integration. For the particle
velocity at the new location un+1
p we get
− ∆t − ∆t
un+1
p
n
=u +e τ
p unp −u n
− aτp e τ
p −1 (22.15-3)
In these equations unp and un represent particle velocities and fluid velocities at the old
location. Equations 22.15-3 and 22.15-4 are applied when using the analytic discretization
scheme.
The set of Equations 22.2-1 and 22.15-1 can also be solved using numerical discretization
schemes. When applying the Euler implicit discretization to Equation 22.15-2 we get
un
unp + ∆t(a + τp
)
un+1
p = ∆t (22.15-5)
1+ τp
un+1
p − unp 1
= (u∗ − u∗p ) + an (22.15-6)
∆t τp
c Fluent Inc. September 29, 2006 22-157
Modeling Discrete Phase
1 n
u∗p = (u + un+1 ) (22.15-7)
2 p p
1 n
u∗ = (u + un+1 ) (22.15-8)
2
un+1 = un + ∆tunp · ∇un (22.15-9)
For the implicit and the trapezoidal schemes the new particle location is always computed
by a trapezoidal discretization of Equation 22.15-1.
1 n
xn+1
p = x n
p + ∆t u p + u n+1
p (22.15-11)
2
Equations 22.15-2 and 22.15-1 can also be computed using a Runge-Kutta scheme which
was published by Cash and Karp [50]. The ordinary differential equations can be con-
sidered as vectors, where the left hand side is the derivative ~y 0 and the right hand side is
an arbitrary function f~(t, ~y ).
~y 0 = f~(t, ~y ) (22.15-12)
We get
with
~k1 = ∆tf~(t, ~y n )
~k2 = ∆tf~(t + a2 ∆t, ~y n + b21~k1 )
~k3 = ∆tf~(t + a3 ∆t, ~y n + b31~k1 + b32~k2 )
~k4 = ∆tf~(t + a4 ∆t, ~y n + b41~k1 + b42~k2 + b43~k3 )
~k5 = ∆tf~(t + a5 ∆t, ~y n + b51~k1 + b52~k2 + b53~k3 + b54~k4 )
~k6 = ∆tf~(t + a6 ∆t, ~y n + b61~k1 + b62~k2 + b63~k3 + b64~k4 + b65~k5 )
22-158
c Fluent Inc. September 29, 2006
22.15 Solution Strategies for the Discrete Phase
The coefficients a2 . . . a6 , b21 . . . b65 , and c1 . . . c6 are taken from Cash and Karp [50]
This scheme provides an embedded error control, which is switched off, when no Accuracy
Control is enabled.
For rotating reference frames, the integration is carried out in the rotating frame with
the extra terms described in Equations 22.2-12 and 22.2-13, thus accounting for system
rotation. Using the mechanisms available for accuracy control, the trajectory integration
will be done accurately in time.
The analytic scheme is very efficient. It can become inaccurate for large steps and in situ-
ations where the particles are not in hydrodynamic equilibrium with the continuous flow.
The numerical schemes implicit and trapezoidal, in combination with Automated Tracking
Scheme Selection, consider most of the changes in the forces acting on the particles and
are chosen as default schemes. The runge-kutta scheme is recommended of nondrag force
changes along a particle integration step.
The integration step size of the higher-order schemes, trapezoidal and runge-kutta, is
limited to a stable range. Therefore it is recommended to use them in combination with
Automated Tracking Scheme Selection.
c Fluent Inc. September 29, 2006 22-159
Modeling Discrete Phase
Uncoupled Calculations
For the uncoupled calculation, you will perform the following two steps:
2. Plot (and report) the particle trajectories for discrete phase injections of interest.
In the uncoupled approach, this two-step procedure completes the modeling effort, as
illustrated in Figure 22.15.1. The particle trajectories are computed as they are displayed,
based on a fixed continuous-phase flow field. Graphical and reporting options are detailed
in Section 22.16: Postprocessing for the Discrete Phase.
This procedure is adequate when the discrete phase is present at a low mass and mo-
mentum loading, in which case the continuous phase is not impacted by the presence of
the discrete phase.
Coupled Calculations
In a coupled two-phase simulation, FLUENT modifies the two-step procedure above as
follows:
1. Solve the continuous phase flow field (prior to introduction of the discrete phase).
2. Introduce the discrete phase by calculating the particle trajectories for each discrete
phase injection.
3. Recalculate the continuous phase flow, using the interphase exchange of momentum,
heat, and mass determined during the previous particle calculation.
4. Recalculate the discrete phase trajectories in the modified continuous phase flow
field.
5. Repeat the previous two steps until a converged solution is achieved in which both
the continuous phase flow field and the discrete phase particle trajectories are un-
changed with each additional calculation.
22-160
c Fluent Inc. September 29, 2006
22.15 Solution Strategies for the Discrete Phase
This coupled calculation procedure is illustrated in Figure 22.15.2. When your FLUENT
model includes a high mass and/or momentum loading in the discrete phase, the coupled
procedure must be followed in order to include the important impact of the discrete phase
on the continuous phase flow field.
continuous phase flow field calculation
i When you perform coupled calculations, all defined discrete phase injec-
tions will be computed. You cannot calculate a subset of the injections
you have defined.
If your FLUENT model includes prediction of a coupled two-phase flow, you should begin
with a partially (or fully) converged continuous-phase flow field. You will then create
your injection(s) and set up the coupled calculation.
For each discrete-phase iteration, FLUENT computes the particle/droplet trajectories and
updates the interphase exchange of momentum, heat, and mass in each control volume.
These interphase exchange terms then impact the continuous phase when the continuous
phase iteration is performed. During the coupled calculation, FLUENT will perform the
discrete phase iteration at specified intervals during the continuous-phase calculation.
The coupled calculation continues until the continuous phase flow field no longer changes
with further calculations (i.e., all convergence criteria are satisfied). When convergence
is reached, the discrete phase trajectories no longer change either, since changes in the
discrete phase trajectories would result in changes in the continuous phase flow field.
c Fluent Inc. September 29, 2006 22-161
Modeling Discrete Phase
2. In the Discrete Phase Model panel (Figure 22.11.2), enable the Interaction with
Continuous Phase option.
3. Set the frequency with which the particle trajectory calculations are introduced in
the Number Of Continuous Phase Iterations Per DPM Iteration field. If you set this
parameter to 5, for example, a discrete phase iteration will be performed every fifth
continuous phase iteration. The optimum number of iterations between trajectory
calculations depends upon the physics of your FLUENT model.
i Note that if you set this parameter to 0, FLUENT will not perform any
discrete phase iterations.
During the coupled calculation (which you initiate using the Iterate panel in the usual
manner) you will see the following information in the FLUENT console as the continuous
and discrete phase iterations are performed:
Note that you can perform a discrete phase calculation at any time by using the
solve/dpm-update text command.
If you include the stochastic prediction of turbulent dispersion in the coupled two-phase
flow calculations, the number of stochastic tries applied each time the discrete phase
trajectories are introduced during coupled calculations will be equal to the Number of
Tries specified in the Set Injection Properties panel. Input of this parameter is described
in Section 22.12.5: Stochastic Tracking.
Note that the number of tries should be set to 0 if you want to perform the coupled
calculation based on the mean continuous phase flow field. An input of n ≥ 1 requests n
22-162
c Fluent Inc. September 29, 2006
22.16 Postprocessing for the Discrete Phase
stochastic trajectory calculations for each particle in the injection. Note that when the
number of stochastic tracks included is small, you may find that the ensemble average
of the trajectories is quite different each time the trajectories are computed. These
differences may, in turn, impact the convergence of your coupled solution. For this
reason, you should include an adequate number of stochastic tracks in order to avoid
convergence troubles in coupled calculations.
When you are coupling the discrete and continuous phases for steady-state calculations,
using the calculation procedures noted above, FLUENT applies under-relaxation to the
momentum, heat, and mass transfer terms. This under-relaxation serves to increase the
stability of the coupled calculation procedure by letting the impact of the discrete phase
change only gradually:
where Enew is the exchange term, Eold is the previous value, Ecalculated is the newly
computed value, and α is the particle/droplet under-relaxation factor. FLUENT uses a
default value of 0.5 for α. You can modify α by changing the value in the Discrete Phase
Sources field under Under-Relaxation Factors in the Solution Controls panel. You may need
to decrease α in order to improve the stability of coupled discrete phase calculations.
c Fluent Inc. September 29, 2006 22-163
Modeling Discrete Phase
1. Select the particle injection(s) you wish to track in the Release From Injections list.
(You can choose to track a specific particle, instead, as described below.)
2. Set the length scale and the maximum number of steps in the Discrete Phase Model
panel, as described in Section 22.11.7: Numerics of the Discrete Phase Model.
Define −→ Models −→Discrete Phase...
If stochastic and/or cloud tracking is desired, set the related parameters in the Set
Injection Properties panel, as described in Section 22.12.5: Stochastic Tracking.
3. Set any of the display options described below.
4. Click on the Display button to draw the trajectories or click on the Pulse button
to animate the particle positions. The Pulse button will become the Stop ! button
during the animation, and you must click on Stop ! to stop the pulsing.
22-164
c Fluent Inc. September 29, 2006
22.16 Postprocessing for the Discrete Phase
c Fluent Inc. September 29, 2006 22-165
Modeling Discrete Phase
1. Enable the Track Single Particle Stream option in the Particle Tracks panel.
2. In the Stream ID field, specify the ID number of the particle stream for which you
want to plot the trajectory.
i Note that if any particle or pathline enters a new cell, this point will always
be plotted.
To reduce plotting time in transient cases, FLUENT has available an option to skip
plotting every nth particle in an injection. Selecting this option is also done in the
Particle Tracks panel menu by specifying a nonzero integer in the Skip field. For example,
if an individual stream is selected and the skip option is set to 1, every other particle will
be plotted. If the entire injection is selected with a skip option of 1, every other particle
will be plotted for all streams in the injection.
22-166
c Fluent Inc. September 29, 2006
22.16 Postprocessing for the Discrete Phase
These options are controlled in exactly the same way that pathline-plotting options are
controlled. See Section 28.1.4: Options for Pathline Plots for details about setting the
trajectory plotting options mentioned above.
Note that in addition to coloring the trajectories by continuous phase variables, you
can also color them according to the following discrete phase variables: particle time,
particle velocity, particle diameter, particle density, particle mass, particle temperature,
particle law number, particle time step, and particle Reynolds number. These variables
are included in the Particle Variables... category of the Color By list. To display the
minimum and maximum values in the domain, click the Update Min/Max button.
You can also track particles through the domain without displaying the trajectories by
clicking on the Track button at the bottom of the panel. This allows the listing of reports
without also displaying the tracks.
c Fluent Inc. September 29, 2006 22-167
Modeling Discrete Phase
Trajectory Fates
The possible fates for a particle trajectory are as follows:
• “Escaped” trajectories are those that terminate at a flow boundary for which the
“escape” condition is set.
• “Incomplete” trajectories are those that were terminated when the maximum al-
lowed number of time steps—as defined by the Max. Number Of Steps input in the
Discrete Phase Model panel (see Section 22.11.7: Numerics of the Discrete Phase
Model)—was exceeded.
• “Trapped” trajectories are those that terminate at a flow boundary where the
“trap” condition has been set.
• “Evaporated” trajectories include those trajectories along which the particles were
evaporated within the domain.
• “Aborted” trajectories are those that fail to complete due to roundoff reasons. You
may want to retry the calculation with a modified length scale and/or different
initial conditions.
• “Shed” trajectories are newly generated particles during the breakup of a larger
droplet. They appear only if a breakup model is enabled.
• “Coalesced” trajectories are removed particles which have coalesced after particle-
particle collisions. They appear only if the coalescence model is enabled.
• “Splashed” trajectories are particles which are newly generated when a particle
touches a wall-film. Those trajectories appear only if the wall-film model is enabled.
Summary Reports
You can request additional detail about the trajectory fates as the particles exit the
domain, including the mass flow rates through each boundary zone, mass flow rate of
evaporated droplets, and composition of the particles.
A detailed report similar to the following example will appear in the console window.
(You may also choose to write this report to a file by selecting File as the Report to option,
clicking on the Write... button (which was originally the Display button), and specifying
a file name for the summary report file in the resulting Select File dialog box.)
22-168
c Fluent Inc. September 29, 2006
22.16 Postprocessing for the Discrete Phase
Done.
The report groups together particles with each possible fate, and reports the number of
particles, the time elapsed during trajectories, and the mass and energy transfer. This
information can be very useful for obtaining information such as where particles are
escaping from the domain, where particles are colliding with surfaces, and the extent of
heat and mass transfer to/from the particles within the domain. Additional information
is reported for combusting particles.
c Fluent Inc. September 29, 2006 22-169
Modeling Discrete Phase
Elapsed Time
The number of particles with each fate is listed under the Number heading. (Particles
that escape through different zones or are trapped at different zones are considered to
have different fates, and are therefore listed separately.) The minimum, maximum, and
average time elapsed during the trajectories of these particles, as well as the standard
deviation about the average time, are listed in the Min, Max, Avg, and Std Dev columns.
This information indicates how much time the particle(s) spent in the domain before
they escaped, aborted, evaporated, or were trapped.
Also, on the right side of the report are listed the injection name and index of the
trajectories with the minimum and maximum elapsed times. (You may need to use the
scroll bar to view this information.)
For all droplet or combusting particles with each fate, the total initial and final mass flow
rates and the change in mass flow rate are reported in the Initial, Final, and Change
columns. With this information, you can determine how much mass was transferred to
the continuous phase from the particles.
22-170
c Fluent Inc. September 29, 2006
22.16 Postprocessing for the Discrete Phase
For all particles with each fate, the total initial and final heat content and the change in
heat content are reported in the Initial, Final, and Change columns. This report tells
you how much heat was transferred from the continuous phase to the particles.
Combusting Particles
If combusting particles are present, FLUENT will include additional reporting on the
volatiles and char converted. These reports are intended to help you identify the com-
position of the combusting particles as they exit the computational domain.
The total volatile content at the start and end of the trajectory is reported in the Initial
and Final columns under Volatile Content. The percentage of volatiles that has been
devolatilized is reported in the %Conv column.
The total reactive portion (char) at the start and end of the trajectory is reported in the
Initial and Final columns under Char Content. The percentage of char that reacted
is reported in the %Conv column.
If the multiple surface reaction model is used with combusting particles, FLUENT will
include additional reporting on the mass of the individual solid species that constitute
the particle mass.
c Fluent Inc. September 29, 2006 22-171
Modeling Discrete Phase
The total mass of each solid species in the particles at the start and end of the trajectory
is reported in the Initial and Final columns, respectively. The percentage of each
species that is reacted is reported in the %Conv column. Note that for the solid reaction
products (e.g., if the mass of a solid species has increased in the particle), the conversion
is reported to be 0.
i This option is only available for steady-state cases. For transient cases, see
Section 22.16.4: Reporting of Current Positions for Unsteady Tracking.
3. Select File as the Report to option. (The Display button will become the Write...
button.)
4. In the Significant Figures field, enter the number of significant figures to be used in
the step-by-step report.
5. Click on the Write... button and specify a file name for the step-by-step report file
in the resulting Select File dialog box.
22-172
c Fluent Inc. September 29, 2006
22.16 Postprocessing for the Discrete Phase
A detailed report similar to the following example will be saved to the specified file before
the trajectories are plotted. (You may also choose to print the report in the console by
choosing Console as the Report to option and clicking on Display or Track, but the report
is very long that it is unlikely to be of use to you in that form.)
The step-by-step report lists the particle position and velocity of the particle at selected
time steps along the trajectory:
Also listed are the diameter, temperature, density, and mass of the particle. (You may
need to use the scroll bar to view this information.) In addition, the variable you have
selected in the Color By list is also listed. This provides you with a simple way to export
any variable along a particle trajectory onto the console or into a file.
Note that the Coarsen option affects the step-by-step report.
c Fluent Inc. September 29, 2006 22-173
Modeling Discrete Phase
3. Select File as the Report to option. (The Display button will become the Write...
button.)
4. In the Significant Figures field, enter the number of significant figures to be used in
the step-by-step report.
5. Click on the Write... button and specify a file name for the current position report
file in the resulting Select File dialog box.
The current position report lists the positions and velocities of all particles that are
currently in the domain:
Also listed are the diameter, temperature, density, mass of the particles, number in parcel
and the variable selected from the Color By list. (You may need to use the scroll bar to
view this information.)
22-174
c Fluent Inc. September 29, 2006
22.16 Postprocessing for the Discrete Phase
• DPM Concentration
• DPM Emission
• DPM Scattering
• DPM Burnout
• DPM Evaporation/Devolatilization
• DPM Erosion
c Fluent Inc. September 29, 2006 22-175
Modeling Discrete Phase
• DPM Accretion
See Chapter 30: Field Function Definitions for definitions of these variables.
Note that these exchange terms are updated and displayed only when coupled calcu-
lations are performed. Displaying and reporting particle trajectories (as described in
Sections 22.16.1 and 22.16.2) will not affect the values of these exchange terms.
22-176
c Fluent Inc. September 29, 2006
22.16 Postprocessing for the Discrete Phase
The procedure for generating files containing the particle samples is listed below:
2. Select the surfaces at which samples will be written. These can be boundaries from
the Boundaries list or planes from the Planes list (in 3D) or lines from the Lines list
(in 2D).
3. Click on the Compute button. Note that for unsteady particle tracking, the Compute
button will become the Start button (to initiate sampling) or a Stop button (to stop
sampling).
Clicking on the Compute button will cause the particles to be tracked and their status to
be written to files when they encounter selected surfaces. The file names will be formed
by appending .dpm to the surface name.
For unsteady particle tracking, clicking on the Start button will open the files and write
the file header sections. If the solution is advanced in time by computing some time
steps, the particle trajectories will be updated and the particle states will be written to
the files as they cross the selected planes or boundaries. Clicking on the Stop button will
close the files and end the sampling.
For stochastic tracking, it may be useful to repeat this process multiple times and append
the results to the same file, while monitoring the sample statistics at each update. To
do this, enable the Append Files option before repeating the calculation (clicking on
Compute). Similarly, you can cause erosion and accretion rates to be accumulated for
repeated trajectory calculations by turning on the Accumulate Erosion/Accretion Rates
option. (See also Section 22.16.9: Postprocessing of Erosion/Accretion Rates.) The
format and the information written for the sample output can also be controlled through
a user-defined function, which can be selected in the Output drop-down list. See the
separate UDF Manual for information about user-defined functions.
c Fluent Inc. September 29, 2006 22-177
Modeling Discrete Phase
The procedure for plotting histograms from data in a sample file is listed below:
1. Select a file to be read by clicking on the Read... button. After you read in the
sample file, the boundary name will appear in the Sample list.
2. Select the data sample in the Sample list, and then select the data to be plotted
from the Fields list.
3. Click on the Plot button at the bottom of the panel to display the histogram.
By default, the percent of particles will be plotted on the y axis. You can plot the
actual number of particles by deselecting Percent under Options. The number of “bins”
or intervals in the plot can be set in the Divisions field. You can delete samples from the
list with the Delete button and update the Min/Max values with the Compute button.
22-178
c Fluent Inc. September 29, 2006
22.16 Postprocessing for the Discrete Phase
where j and k are integers and f (D) is the distribution function (e.g., Rosin-Rammler).
D10 , for example, is the average (arithmetic) particle diameter. The Sauter mean diam-
eter (SMD), D32 , is the diameter of a particle whose ratio of volume to surface area is
equal to that of all particles in the computation. A summary of common mean diameters
is given in Table 22.16.1.
c Fluent Inc. September 29, 2006 22-179
Modeling Discrete Phase
Summary information (number, mass, average diameter) for particles currently in the
computational domain can be reported using the Particle Summary panel (Figure 22.16.4).
Report −→ Discrete Phase −→Summary...
1. Select the particle injection(s) for which you want to generate a summary in the
Injections list.
FLUENT provides a shortcut for selecting injections with names that match a spec-
ified pattern. To use this shortcut, enter the pattern under Injection Name Pattern
and then click Match to select the injections with names that match the speci-
fied pattern. For example, if you specify drop*, all injections that have names
beginning with drop (e.g., drop-1, droplet) will be selected automatically. If they
are all selected already, they will be deselected. If you specify drop?, all surfaces
with names consisting of drop followed by a single character will be selected (or
deselected, if they are all selected already).
22-180
c Fluent Inc. September 29, 2006
22.16 Postprocessing for the Discrete Phase
i Both the erosion rate and the accretion rate are defined at wall face surfaces
only, so they cannot be displayed at node values.
c Fluent Inc. September 29, 2006 22-181
Modeling Discrete Phase
22-182
c Fluent Inc. September 29, 2006
Chapter 23. Modeling Multiphase Flows
This chapter discusses the general multiphase models that are available in FLUENT.
Section 23.1: Introduction provides a brief introduction to multiphase modeling, Chap-
ter 22: Modeling Discrete Phase discusses the Lagrangian dispersed phase model, and
Chapter 24: Modeling Solidification and Melting describes FLUENT’s model for solidifi-
cation and melting.
c Fluent Inc. September 29, 2006 23-1
Modeling Multiphase Flows
23.1 Introduction
A large number of flows encountered in nature and technology are a mixture of phases.
Physical phases of matter are gas, liquid, and solid, but the concept of phase in a mul-
tiphase flow system is applied in a broader sense. In multiphase flow, a phase can be
defined as an identifiable class of material that has a particular inertial response to and
interaction with the flow and the potential field in which it is immersed. For example,
different-sized solid particles of the same material can be treated as different phases be-
cause each collection of particles with the same size will have a similar dynamical response
to the flow field.
• Bubbly flow: This is the flow of discrete gaseous or fluid bubbles in a continuous
fluid.
• Droplet flow: This is the flow of discrete fluid droplets in a continuous gas.
• Slug flow: This is the flow of large bubbles in a continuous fluid.
• Stratified/free-surface flow: This is the flow of immiscible fluids separated by a
clearly-defined interface.
Gas-Solid Flows
The following regimes are gas-solid flows:
23-2
c Fluent Inc. September 29, 2006
23.1 Introduction
Liquid-Solid Flows
The following regimes are liquid-solid flows:
• Slurry flow: This flow is the transport of particles in liquids. The fundamental
behavior of liquid-solid flows varies with the properties of the solid particles relative
to those of the liquid. In slurry flows, the Stokes number (see Equation 23.2-4) is
normally less than 1. When the Stokes number is larger than 1, the characteristic
of the flow is liquid-solid fluidization.
Three-Phase Flows
Three-phase flows are combinations of the other flow regimes listed in the previous sec-
tions.
c Fluent Inc. September 29, 2006 23-3
Modeling Multiphase Flows
23-4
c Fluent Inc. September 29, 2006
23.2 Choosing a General Multiphase Model
• Bubbly flow examples include absorbers, aeration, air lift pumps, cavitation, evap-
orators, flotation, and scrubbers.
• Particle-laden flow examples include cyclone separators, air classifiers, dust collec-
tors, and dust-laden environmental flows.
• Pneumatic transport examples include transport of cement, grains, and metal pow-
ders.
• Fluidized bed examples include fluidized bed reactors and circulating fluidized beds.
c Fluent Inc. September 29, 2006 23-5
Modeling Multiphase Flows
The VOF model (described in Section 23.3: Volume of Fluid (VOF) Model Theory) is
a surface-tracking technique applied to a fixed Eulerian mesh. It is designed for two or
more immiscible fluids where the position of the interface between the fluids is of interest.
In the VOF model, a single set of momentum equations is shared by the fluids, and the
volume fraction of each of the fluids in each computational cell is tracked throughout the
domain. Applications of the VOF model include stratified flows, free-surface flows, filling,
sloshing, the motion of large bubbles in a liquid, the motion of liquid after a dam break,
the prediction of jet breakup (surface tension), and the steady or transient tracking of
any liquid-gas interface.
The mixture model (described in Section 23.4: Mixture Model Theory) is designed for two
or more phases (fluid or particulate). As in the Eulerian model, the phases are treated as
interpenetrating continua. The mixture model solves for the mixture momentum equation
and prescribes relative velocities to describe the dispersed phases. Applications of the
mixture model include particle-laden flows with low loading, bubbly flows, sedimentation,
and cyclone separators. The mixture model can also be used without relative velocities
for the dispersed phases to model homogeneous multiphase flow.
23-6
c Fluent Inc. September 29, 2006
23.2 Choosing a General Multiphase Model
The Eulerian model (described in Section 23.5: Eulerian Model Theory) is the most com-
plex of the multiphase models in FLUENT. It solves a set of n momentum and continuity
equations for each phase. Coupling is achieved through the pressure and interphase ex-
change coefficients. The manner in which this coupling is handled depends upon the type
of phases involved; granular (fluid-solid) flows are handled differently than nongranular
(fluid-fluid) flows. For granular flows, the properties are obtained from application of ki-
netic theory. Momentum exchange between the phases is also dependent upon the type
of mixture being modeled. FLUENT’s user-defined functions allow you to customize the
calculation of the momentum exchange. Applications of the Eulerian multiphase model
include bubble columns, risers, particle suspension, and fluidized beds.
• For bubbly, droplet, and particle-laden flows in which the phases mix and/or
dispersed-phase volume fractions exceed 10%, use either the mixture model (de-
scribed in Section 23.4: Mixture Model Theory) or the Eulerian model (described
in Section 23.5: Eulerian Model Theory).
• For slug flows, use the VOF model. See Section 23.3: Volume of Fluid (VOF) Model
Theory for more information about the VOF model.
• For stratified/free-surface flows, use the VOF model. See Section 23.3: Volume of
Fluid (VOF) Model Theory for more information about the VOF model.
• For pneumatic transport, use the mixture model for homogeneous flow (described
in Section 23.4: Mixture Model Theory) or the Eulerian model for granular flow
(described in Section 23.5: Eulerian Model Theory).
• For fluidized beds, use the Eulerian model for granular flow. See Section 23.5: Eu-
lerian Model Theory for more information about the Eulerian model.
• For slurry flows and hydrotransport, use the mixture or Eulerian model (described,
respectively, in Sections 23.4 and 23.5).
• For sedimentation, use the Eulerian model. See Section 23.5: Eulerian Model
Theory for more information about the Eulerian model.
• For general, complex multiphase flows that involve multiple flow regimes, select
the aspect of the flow that is of most interest, and choose the model that is most
appropriate for that aspect of the flow. Note that the accuracy of results will not
be as good as for flows that involve just one flow regime, since the model you use
will be valid for only part of the flow you are modeling.
c Fluent Inc. September 29, 2006 23-7
Modeling Multiphase Flows
As discussed in this section, the VOF model is appropriate for stratified or free-surface
flows, and the mixture and Eulerian models are appropriate for flows in which the phases
mix or separate and/or dispersed-phase volume fractions exceed 10%. (Flows in which
the dispersed-phase volume fractions are less than or equal to 10% can be modeled using
the discrete phase model described in Chapter 22: Modeling Discrete Phase.)
To choose between the mixture model and the Eulerian model, you should consider the
following guidelines:
• If there is a wide distribution of the dispersed phases (i.e., if the particles vary
in size and the largest particles do not separate from the primary flow field), the
mixture model may be preferable (i.e., less computationally expensive). If the
dispersed phases are concentrated just in portions of the domain, you should use
the Eulerian model instead.
• If interphase drag laws that are applicable to your system are available (either
within FLUENT or through a user-defined function), the Eulerian model can usually
provide more accurate results than the mixture model. Even though you can apply
the same drag laws to the mixture model, as you can for a nongranular Eulerian
simulation, if the interphase drag laws are unknown or their applicability to your
system is questionable, the mixture model may be a better choice. For most cases
with spherical particles, then the Schiller-Naumann law is more than adequate. For
cases with nonspherical particles, then a user-defined function can be used.
• If you want to solve a simpler problem, which requires less computational effort, the
mixture model may be a better option, since it solves a smaller number of equations
than the Eulerian model. If accuracy is more important than computational effort,
the Eulerian model is a better choice. Keep in mind, however, that the complexity
of the Eulerian model can make it less computationally stable than the mixture
model.
FLUENT’s multiphase models are compatible with FLUENT’s dynamic mesh modeling
feature. For more information on the dynamic mesh feature, see Section 11: Modeling
Flows Using Sliding and Deforming Meshes. For more information about how other FLU-
ENT models are compatible with FLUENT’s multiphase models, see Appendix A: FLUENT
Model Compatibility.
Detailed Guidelines
For stratified and slug flows, the choice of the VOF model, as indicated in Section 23.2.2: Model
Comparisons, is straightforward. Choosing a model for the other types of flows is less
straightforward. As a general guide, there are some parameters that help to identify the
appropriate multiphase model for these other flows: the particulate loading, β, and the
Stokes number, St. (Note that the word “particle” is used in this discussion to refer to
a particle, droplet, or bubble.)
23-8
c Fluent Inc. September 29, 2006
23.2 Choosing a General Multiphase Model
Particulate loading has a major impact on phase interactions. The particulate loading is
defined as the mass density ratio of the dispersed phase (d) to that of the carrier phase
(c):
αd ρd
β= (23.2-1)
αc ρc
The material density ratio
ρd
γ= (23.2-2)
ρc
is greater than 1000 for gas-solid flows, about 1 for liquid-solid flows, and less than 0.001
for gas-liquid flows.
Using these parameters it is possible to estimate the average distance between the indi-
vidual particles of the particulate phase. An estimate of this distance has been given by
Crowe et al. [69]:
1/3
L π1+κ
= (23.2-3)
dd 6 κ
where κ = βγ . Information about these parameters is important for determining how the
dispersed phase should be treated. For example, for a gas-particle flow with a particulate
loading of 1, the interparticle space dLd is about 8; the particle can therefore be treated
as isolated (i.e., very low particulate loading).
Depending on the particulate loading, the degree of interaction between the phases can
be divided into the following three categories:
• For very low loading, the coupling between the phases is one-way (i.e., the fluid
carrier influences the particles via drag and turbulence, but the particles have no
influence on the fluid carrier). The discrete phase (Chapter 22: Modeling Discrete
Phase), mixture, and Eulerian models can all handle this type of problem correctly.
Since the Eulerian model is the most expensive, the discrete phase or mixture model
is recommended.
• For intermediate loading, the coupling is two-way (i.e., the fluid carrier influences
the particulate phase via drag and turbulence, but the particles in turn influence
the carrier fluid via reduction in mean momentum and turbulence). The discrete
phase(Chapter 22: Modeling Discrete Phase) , mixture, and Eulerian models are
all applicable in this case, but you need to take into account other factors in order
to decide which model is more appropriate. See below for information about using
the Stokes number as a guide.
c Fluent Inc. September 29, 2006 23-9
Modeling Multiphase Flows
• For high loading, there is two-way coupling plus particle pressure and viscous
stresses due to particles (four-way coupling). Only the Eulerian model will handle
this type of problem correctly.
For systems with intermediate particulate loading, estimating the value of the Stokes
number can help you select the most appropriate model. The Stokes number can be
defined as the relation between the particle response time and the system response time:
τd
St = (23.2-4)
ts
ρ d2
d d
where τd = 18µ c
and ts is based on the characteristic length (Ls ) and the characteristic
velocity (Vs ) of the system under investigation: ts = LVss .
For St 1.0, the particle will follow the flow closely and any of the three models (discrete
phase(Chapter 22: Modeling Discrete Phase) , mixture, or Eulerian) is applicable; you
can therefore choose the least expensive (the mixture model, in most cases), or the most
appropriate considering other factors. For St > 1.0, the particles will move independently
of the flow and either the discrete phase model (Chapter 22: Modeling Discrete Phase)
or the Eulerian model is applicable. For St ≈ 1.0, again any of the three models is
applicable; you can choose the least expensive or the most appropriate considering other
factors.
Examples
Other Considerations
Keep in mind that the use of the discrete phase model (Chapter 22: Modeling Discrete
Phase) is limited to low volume fractions. Also, the discrete phase model is the only mul-
tiphase model that allows you to specify the particle distribution or include combustion
modeling in your simulation.
23-10
c Fluent Inc. September 29, 2006
23.2 Choosing a General Multiphase Model
i The second-order time scheme cannot be used with the VOF Explicit
Schemes.
The second-order time scheme has been adapted to all the transport equations, includ-
ing mixture phase momentum equations, energy equations, species transport equations,
turbulence models, phase volume fraction equations, the pressure correction equation,
and the granular flow model. In multiphase flow, a general transport equation (similar
to that of Equation 25.3-15) may be written as
∂(αρφ)
+ ∇ · (αρV~ φ) = ∇ · τ + Sφ (23.2-5)
∂t
Where φ is either a mixture (for the mixture model) or a phase variable, α is the phase
volume fraction (unity for the mixture equation), ρ is the mixture phase density, V~ is
the mixture or phase velocity (depending on the equations), τ is the diffusion term, and
Sφ is the source term.
As a fully implicit scheme, this second-order time-accurate scheme achieves its accuracy
by using an Euler backward approximation in time (see Equation 25.3-17). The general
transport equation, Equation 23.2-5 is discretized as
where
1.5(αp ρp V ol)n+1
Anb n+1 + S p n+1 +
P
Ap = ∆t
2(αp ρp φp V ol)n −0.5(αp ρp φp V ol)n−1
Sφ = S U n+1 + ∆t
c Fluent Inc. September 29, 2006 23-11
Modeling Multiphase Flows
This scheme is easily implemented based on FLUENT’s existing first-order Euler scheme.
It is unconditionally stable, however, the negative coefficient at the time level tn−1 , of the
three-time level method, may produce oscillatory solutions if the time steps are large.
This problem can be eliminated if a bounded second-order scheme is introduced. How-
ever, oscillating solutions are most likely seen in compressible liquid flows. Therefore,
in this version of FLUENT, a bounded second-order time scheme has been implemented
for compressible liquid flows only. For single phase and multiphase compressible liquid
flows, the second-order time scheme is, by default, the bounded scheme.
23-12
c Fluent Inc. September 29, 2006
23.3 Volume of Fluid (VOF) Model Theory
Limitations
The following restrictions apply to the VOF model in FLUENT:
• You must use the pressure-based solver. The VOF model is not available with
either of the density-based solvers.
• All control volumes must be filled with either a single fluid phase or a combination
of phases. The VOF model does not allow for void regions where no fluid of any
type is present.
• Only one of the phases can be defined as a compressible ideal gas. There is no
limitation on using compressible liquids using user-defined functions.
• Streamwise periodic flow (either specified mass flow rate or specified pressure drop)
cannot be modeled when the VOF model is used.
• The second-order implicit time-stepping formulation cannot be used with the VOF
explicit scheme.
• When tracking particles in parallel, the DPM model cannot be used with the VOF
model if the shared memory option is enabled (Section 22.11.9: Parallel Processing
for the Discrete Phase Model). (Note that using the message passing option, when
running in parallel, enables the compatibility of all multiphase flow models with
the DPM model.)
c Fluent Inc. September 29, 2006 23-13
Modeling Multiphase Flows
representative of a mixture of the phases, depending upon the volume fraction values.
In other words, if the q th fluid’s volume fraction in the cell is denoted as αq , then the
following three conditions are possible:
• 0 < αq < 1: The cell contains the interface between the q th fluid and one or more
other fluids.
Based on the local value of αq , the appropriate properties and variables will be assigned
to each control volume within the domain.
where ṁqp is the mass transfer from phase q to phase p and ṁpq is the mass transfer from
phase p to phase q. By default, the source term on the right-hand side of Equation 23.3-1,
Sαq , is zero, but you can specify a constant or user-defined mass source for each phase.
See Section 23.7: Modeling Mass Transfer in Multiphase Flows for more information on
the modeling of mass transfer in FLUENT’s general multiphase models.
The volume fraction equation will not be solved for the primary phase; the primary-phase
volume fraction will be computed based on the following constraint:
n
X
αq = 1 (23.3-2)
q=1
The volume fraction equation may be solved either through implicit or explicit time
discretization.
23-14
c Fluent Inc. September 29, 2006
23.3 Volume of Fluid (VOF) Model Theory
Since this equation requires the volume fraction values at the current time step (rather
than at the previous step, as for the explicit scheme), a standard scalar transport equation
is solved iteratively for each of the secondary-phase volume fractions at each time step.
The implicit scheme can be used for both time-dependent and steady-state calculations.
See Section 23.10.1: Choosing a VOF Formulation for details.
c Fluent Inc. September 29, 2006 23-15
Modeling Multiphase Flows
23-16
c Fluent Inc. September 29, 2006
23.3 Volume of Fluid (VOF) Model Theory
The explicit scheme and the implicit scheme treat these cells with the same interpo-
lation as the cells that are completely filled with one phase or the other (i.e., using
the standard upwind (Section 25.3.1: First-Order Upwind Scheme), second-order (Sec-
tion 25.3.1: Second-Order Upwind Scheme), QUICK (Section 25.3.1: QUICK Scheme,
modified HRIC (Section 25.3.1: Modified HRIC Scheme), or CICSAM scheme), rather
than applying a special treatment.
In the geometric reconstruction approach, the standard interpolation schemes that are
used in FLUENT are used to obtain the face fluxes whenever a cell is completely filled
with one phase or another. When the cell is near the interface between two phases, the
geometric reconstruction scheme is used.
The geometric reconstruction scheme represents the interface between fluids using a
piecewise-linear approach. In FLUENT this scheme is the most accurate and is applicable
for general unstructured meshes. The geometric reconstruction scheme is generalized
for unstructured meshes from the work of Youngs [412]. It assumes that the interface
between two fluids has a linear slope within each cell, and uses this linear shape for
calculation of the advection of fluid through the cell faces. (See Figure 23.3.1.)
The first step in this reconstruction scheme is calculating the position of the linear in-
terface relative to the center of each partially-filled cell, based on information about
the volume fraction and its derivatives in the cell. The second step is calculating the
advecting amount of fluid through each face using the computed linear interface repre-
sentation and information about the normal and tangential velocity distribution on the
face. The third step is calculating the volume fraction in each cell using the balance of
fluxes calculated during the previous step.
c Fluent Inc. September 29, 2006 23-17
Modeling Multiphase Flows
In the donor-acceptor approach, the standard interpolation schemes that are used in
FLUENT are used to obtain the face fluxes whenever a cell is completely filled with
one phase or another. When the cell is near the interface between two phases, a “donor-
acceptor” scheme is used to determine the amount of fluid advected through the face [145].
This scheme identifies one cell as a donor of an amount of fluid from one phase and
another (neighbor) cell as the acceptor of that same amount of fluid, and is used to
prevent numerical diffusion at the interface. The amount of fluid from one phase that
can be convected across a cell boundary is limited by the minimum of two values: the
filled volume in the donor cell or the free volume in the acceptor cell.
The orientation of the interface is also used in determining the face fluxes. The interface
orientation is either horizontal or vertical, depending on the direction of the volume
fraction gradient of the q th phase within the cell, and that of the neighbor cell that shares
the face in question. Depending on the interface’s orientation as well as its motion, flux
values are obtained by pure upwinding, pure downwinding, or some combination of the
two.
The compressive interface capturing scheme for arbitrary meshes (CICSAM), based on
the Ubbink’s work [377], is a high resolution differencing scheme. The CICSAM scheme is
particularly suitable for flows with high ratios of viscosities between the phases. CICSAM
is implemented in FLUENT as an explicit scheme and offers the advantage of producing
an interface that is almost as sharp as the geometric reconstruction scheme.
23-18
c Fluent Inc. September 29, 2006
23.3 Volume of Fluid (VOF) Model Theory
ρ = α2 ρ2 + (1 − α2 )ρ1 (23.3-5)
X
ρ= αq ρq (23.3-6)
∂ h i
(ρ~v ) + ∇ · (ρ~v~v ) = −∇p + ∇ · µ ∇~v + ∇~v T + ρ~g + F~ (23.3-7)
∂t
One limitation of the shared-fields approximation is that in cases where large velocity
differences exist between the phases, the accuracy of the velocities computed near the
interface can be adversely affected.
Note that if the viscosity ratio is more than 1x103 , this may lead to convergence diffi-
culties. The compressive interface capturing scheme for arbitrary meshes (CICSAM)
(Section 23.3.2: The Compressive Interface Capturing Scheme for Arbitrary Meshes
(CICSAM)) is suitable for flows with high ratios of viscosities between the phases, thus
solving the problem of poor convergence.
c Fluent Inc. September 29, 2006 23-19
Modeling Multiphase Flows
∂
(ρE) + ∇ · (~v (ρE + p)) = ∇ · (keff ∇T ) + Sh (23.3-8)
∂t
The VOF model treats energy, E, and temperature, T , as mass-averaged variables:
n
X
αq ρq Eq
q=1
E= Xn (23.3-9)
αq ρq
q=1
where Eq for each phase is based on the specific heat of that phase and the shared
temperature.
The properties ρ and keff (effective thermal conductivity) are shared by the phases. The
source term, Sh , contains contributions from radiation, as well as any other volumetric
heat sources.
As with the velocity field, the accuracy of the temperature near the interface is limited in
cases where large temperature differences exist between the phases. Such problems also
arise in cases where the properties vary by several orders of magnitude. For example, if a
model includes liquid metal in combination with air, the conductivities of the materials
can differ by as much as four orders of magnitude. Such large discrepancies in properties
lead to equation sets with anisotropic coefficients, which in turn can lead to convergence
and precision limitations.
23-20
c Fluent Inc. September 29, 2006
23.3 Volume of Fluid (VOF) Model Theory
Surface Tension
Surface tension arises as a result of attractive forces between molecules in a fluid. Con-
sider an air bubble in water, for example. Within the bubble, the net force on a molecule
due to its neighbors is zero. At the surface, however, the net force is radially inward, and
the combined effect of the radial components of force across the entire spherical surface
is to make the surface contract, thereby increasing the pressure on the concave side of
the surface. The surface tension is a force, acting only at the surface, that is required
to maintain equilibrium in such instances. It acts to balance the radially inward inter-
molecular attractive force with the radially outward pressure gradient force across the
surface. In regions where two fluids are separated, but one of them is not in the form
of spherical bubbles, the surface tension acts to minimize free energy by decreasing the
area of the interface.
The surface tension model in FLUENT is the continuum surface force (CSF) model pro-
posed by Brackbill et al. [40]. With this model, the addition of surface tension to the
VOF calculation results in a source term in the momentum equation. To understand the
origin of the source term, consider the special case where the surface tension is constant
along the surface, and where only the forces normal to the interface are considered. It can
be shown that the pressure drop across the surface depends upon the surface tension co-
efficient, σ, and the surface curvature as measured by two radii in orthogonal directions,
R1 and R2 :
1 1
p2 − p1 = σ + (23.3-10)
R1 R2
where p1 and p2 are the pressures in the two fluids on either side of the interface.
In FLUENT, a formulation of the CSF model is used, where the surface curvature is
computed from local gradients in the surface normal at the interface. Let n be the
surface normal, defined as the gradient of αq , the volume fraction of the q th phase.
n = ∇αq (23.3-11)
c Fluent Inc. September 29, 2006 23-21
Modeling Multiphase Flows
The curvature, κ, is defined in terms of the divergence of the unit normal, n̂ [40]:
κ = ∇ · n̂ (23.3-12)
where
n
n̂ = (23.3-13)
|n|
The surface tension can be written in terms of the pressure jump across the surface. The
force at the surface can be expressed as a volume force using the divergence theorem. It
is this volume force that is the source term which is added to the momentum equation.
It has the following form:
X αi ρi κj ∇αj + αj ρj κi ∇αi
Fvol = σij 1 (23.3-14)
pairs ij, i<j 2
(ρi + ρj )
This expression allows for a smooth superposition of forces near cells where more than
two phases are present. If only two phases are present in a cell, then κi = −κj and
∇αi = −∇αj , and Equation 23.3-14 simplifies to
ρκi ∇αi
Fvol = σij 1 (23.3-15)
2
(ρi + ρj )
where ρ is the volume-averaged density computed using Equation 23.3-6. Equation 23.3-15
shows that the surface tension source term for a cell is proportional to the average density
in the cell.
Note that the calculation of surface tension effects on triangular and tetrahedral meshes
is not as accurate as on quadrilateral and hexahedral meshes. The region where surface
tension effects are most important should therefore be meshed with quadrilaterals or
hexahedra.
23-22
c Fluent Inc. September 29, 2006
23.3 Volume of Fluid (VOF) Model Theory
The importance of surface tension effects is determined based on the value of two di-
mensionless quantities: the Reynolds number, Re, and the capillary number, Ca; or the
Reynolds number, Re, and the Weber number, We. For Re 1, the quantity of interest
is the capillary number:
µU
Ca = (23.3-16)
σ
and for Re 1, the quantity of interest is the Weber number:
ρLU 2
We = (23.3-17)
σ
where U is the free-stream velocity. Surface tension effects can be neglected if Ca 1
or We 1.
Several surface tension options are provided through the text user interface (TUI) using
the solve/set/surface-tension command:
solve −→ set −→surface-tension
The surface-tension command prompts you for the following information:
• whether you want to use VOF gradients at the nodes for curvature calculations
With this option, FLUENT uses VOF gradients directly from the nodes to calculate
the curvature for surface tension forces. The default is yes which produces better
results with surface tension compared to gradients that are calculated at the cell
centers.
c Fluent Inc. September 29, 2006 23-23
Modeling Multiphase Flows
Wall Adhesion
An option to specify a wall adhesion angle in conjunction with the surface tension model
is also available in the VOF model. The model is taken from work done by Brackbill et
al. [40]. Rather than impose this boundary condition at the wall itself, the contact angle
that the fluid is assumed to make with the wall is used to adjust the surface normal in
cells near the wall. This so-called dynamic boundary condition results in the adjustment
of the curvature of the surface near the wall.
If θw is the contact angle at the wall, then the surface normal at the live cell next to the
wall is
where n̂w and t̂w are the unit vectors normal and tangential to the wall, respectively.
The combination of this contact angle with the normally calculated surface normal one
cell away from the wall determine the local curvature of the surface, and this curvature
is used to adjust the body force term in the surface tension calculation.
The contact angle θw is the angle between the wall and the tangent to the interface
at the wall, measured inside the phase listed in the left column under Wall Adhesion in
the Momentum tab of the Wall panel. For example, if you are setting the contact angle
between the oil and air phases in the Wall panel shown in Figure 23.3.2, θw is measured
inside the oil phase, as seen in Figure 23.3.3.
23-24
c Fluent Inc. September 29, 2006
23.3 Volume of Fluid (VOF) Model Theory
Figure 23.3.2: The Wall Panel for a Mixture in a VOF Calculation with Wall
Adhesion
c Fluent Inc. September 29, 2006 23-25
Modeling Multiphase Flows
OIL
interface
AIR
interface
AIR
OR OIL
θW = 30
o
θW = 30 o
wall wall
V
Fr = √ (23.3-19)
gy
where V is the velocity magnitude, g is gravity, and y is a length scale, in this case,
the distance from the bottom of the channel to the free surface. The denominator in
Equation 23.3-19 is the propagation speed of the wave. The wave speed as seen by the
fixed observer is defined as
√
Vw = V ± gy (23.3-20)
23-26
c Fluent Inc. September 29, 2006
23.3 Volume of Fluid (VOF) Model Theory
Based on the Froude number, open channel flows can be classified in the following three
categories:
√
• When F r < 1, i.e., V < gy (thus Vw < 0 or Vw > 0), the flow is known to be
subcritical where disturbances can travel upstream as well as downstream. In this
case, downstream conditions might affect the flow upstream.
• pressure inlet
Pressure Inlet
1 → →
−
p0 = (ρ − ρ0 )V 2 + (ρ − ρ0 )|−
→
g |(ĝ · ( b − −
a )) (23.3-21)
2
→
−
where b and − →a are the position vectors of the face centroid and any point on the free
surface, respectively, Here, free surface is assumed to be horizontal and normal to the
direction of gravity. −
→g is the gravity vector, |−
→
g | is the gravity magnitude, ĝ is the unit
vector of gravity, V is the velocity magnitude, ρ is the density of the mixture in the cell,
and ρ0 is the reference density.
From this, the dynamic pressure q is
ρ − ρ0 2
q= V (23.3-22)
2
and the static pressure ps is
→
− →
ps = (ρ − ρ0 )|−
→
g |(ĝ · ( b − −
a )) (23.3-23)
c Fluent Inc. September 29, 2006 23-27
Modeling Multiphase Flows
→
−
ps = (ρ − ρ0 )|−
→
g |((ĝ · b ) + ylocal ) (23.3-24)
where the distance from the free surface to the reference position, ylocal , is
ylocal = −(−
→
a · ĝ) (23.3-25)
The mass flow rate for each phase associated with the open channel flow is defined by
In open channel flows, FLUENT internally calculates the volume fraction based on the
input parameters specified in the Boundary Conditions panel, therefore this option has
been disabled.
For subcritical inlet flows (Fr < 1), FLUENT reconstructs the volume fraction values on
the boundary by using the values from the neighboring cells. This can be accomplished
using the following procedure:
• Calculate the node values of volume fraction at the boundary using the cell values.
• Calculate the volume fraction at the each face of boundary using the interpolated
node values.
For supercritical inlet flows (Fr > 1), the volume fraction value on the boundary can be
calculated using the fixed height of the free surface from the bottom.
Determining the static pressure is dependent on the Pressure Specification Method. Using
the Free Surface Level, the static pressure is dictated by Equation 23.3-23 and Equa-
tion 23.3-25, otherwise you must specify the static pressure as the Gauge Pressure.
For subcritical outlet flows (Fr < 1), if there are only two phases, then the pressure is
taken from the pressure profile specified over the boundary, otherwise the pressure is
taken from the neighboring cell. For supercritical flows (Fr >1), the pressure is always
taken from the neighboring cell.
23-28
c Fluent Inc. September 29, 2006
23.4 Mixture Model Theory
Outflow Boundary
Outflow boundary conditions can be used at the outlet of open channel flows to model
flow exits where the details of the flow velocity and pressure are not known prior to
solving the flow problem. If the conditions are unknown at the outflow boundaries, then
FLUENT will extrapolate the required information from the interior.
It is important, however, to understand the limitations of this boundary type:
• You can only use single outflow boundaries at the outlet, which is achieved by set-
ting the flow rate weighting to 1. In other words, outflow splitting is not permitted
in open channel flows with outflow boundaries.
• There should be an initial flow field in the simulation to avoid convergence issues
due to flow reversal at the outflow, which will result in an unreliable solution.
• An outflow boundary condition can only be used with mass flow inlets. It is not
compatible with pressure inlets and pressure outlets. For example, if you choose
the inlet as pressure-inlet, then you can only use pressure-outlet at the outlet. If you
choose the inlet as mass-flow-inlet, then you can use either outflow or pressure-outlet
boundary conditions at the outlet. Note that this only holds true for open channel
flow.
• Note that the outflow boundary condition assumes that flow is fully developed
in the direction perpendicular to the outflow boundary surface. Therefore, such
surfaces should be placed accordingly.
FLUENT internally calculates the volume fraction values on the outlet boundary by using
the neighboring cell values, therefore, this option is disabled.
c Fluent Inc. September 29, 2006 23-29
Modeling Multiphase Flows
The mixture model can model n phases (fluid or particulate) by solving the momentum,
continuity, and energy equations for the mixture, the volume fraction equations for the
secondary phases, and algebraic expressions for the relative velocities. Typical applica-
tions include sedimentation, cyclone separators, particle-laden flows with low loading,
and bubbly flows where the gas volume fraction remains low.
The mixture model is a good substitute for the full Eulerian multiphase model in several
cases. A full multiphase model may not be feasible when there is a wide distribution of
the particulate phase or when the interphase laws are unknown or their reliability can
be questioned. A simpler model like the mixture model can perform as well as a full
multiphase model while solving a smaller number of variables than the full multiphase
model.
The mixture model allows you to select granular phases and calculates all properties of
the granular phases. This is applicable for liquid-solid flows.
Limitations
The following limitations apply to the mixture model in FLUENT:
• You must use the pressure-based solver. The mixture model is not available with
either of the density-based solvers.
• Only one of the phases can be defined as a compressible ideal gas. There is no
limitation on using compressible liquids using user-defined functions.
• Streamwise periodic flow with specified mass flow rate cannot be modeled when
the mixture model is used (the user is allowed to specify a pressure drop).
• The LES turbulence model cannot be used with the mixture model if the cavitation
model is enabled.
• The relative velocity formulation cannot be used in combination with the MRF and
mixture model (see Section 10.3.1: Limitations).
• The shell conduction model for walls cannot be used with the mixture model.
• When tracking particles in parallel, the DPM model cannot be used with the mix-
ture model if the shared memory option is enabled (Section 22.11.9: Parallel Pro-
cessing for the Discrete Phase Model). (Note that using the message passing option,
when running in parallel, enables the compatibility of all multiphase flow models
with the DPM model.)
23-30
c Fluent Inc. September 29, 2006
23.4 Mixture Model Theory
The mixture model, like the VOF model, uses a single-fluid approach. It differs from the
VOF model in two respects:
• The mixture model allows the phases to be interpenetrating. The volume fractions
αq and αp for a control volume can therefore be equal to any value between 0 and
1, depending on the space occupied by phase q and phase p.
• The mixture model allows the phases to move at different velocities, using the
concept of slip velocities. (Note that the phases can also be assumed to move
at the same velocity, and the mixture model is then reduced to a homogeneous
multiphase model.)
The mixture model solves the continuity equation for the mixture, the momentum equa-
tion for the mixture, the energy equation for the mixture, and the volume fraction equa-
tion for the secondary phases, as well as algebraic expressions for the relative velocities
(if the phases are moving at different velocities).
∂
(ρm ) + ∇ · (ρm~vm ) = 0 (23.4-1)
∂t
where ~vm is the mass-averaged velocity:
Pn
k=1 αk ρk~vk
~vm = (23.4-2)
ρm
n
X
ρm = αk ρk (23.4-3)
k=1
c Fluent Inc. September 29, 2006 23-31
Modeling Multiphase Flows
∂ h
T
i
(ρm~vm ) + ∇ · (ρm~vm~vm ) = −∇p + ∇ · µm ∇~vm + ∇~vm +
∂t
n
!
ρm~g + F~ + ∇ ·
X
αk ρk~vdr,k~vdr,k (23.4-4)
k=1
where n is the number of phases, F~ is a body force, and µm is the viscosity of the mixture:
n
X
µm = αk µk (23.4-5)
k=1
n n
∂ X X
(αk ρk Ek ) + ∇ · (αk~vk (ρk Ek + p)) = ∇ · (keff ∇T ) + SE (23.4-7)
∂t k=1 k=1
P
where keff is the effective conductivity ( αk (kk + kt )), where kt is the turbulent thermal
conductivity, defined according to the turbulence model being used). The first term on
the right-hand side of Equation 23.4-7 represents energy transfer due to conduction. SE
includes any other volumetric heat sources.
In Equation 23.4-7,
p v2
Ek = hk − + k (23.4-8)
ρk 2
23-32
c Fluent Inc. September 29, 2006
23.4 Mixture Model Theory
αk ρk
ck = (23.4-10)
ρm
The drift velocity and the relative velocity (~vqp ) are connected by the following expression:
n
X
~vdr,p = ~vpq − ck~vqk (23.4-11)
k=1
FLUENT’s mixture model makes use of an algebraic slip formulation. The basic assump-
tion of the algebraic slip mixture model is that to prescribe an algebraic relation for the
relative velocity, a local equilibrium between the phases should be reached over short
spatial length scale. Following Manninen et al. [230], the form of the relative velocity is
given by:
τp (ρp − ρm )
~vpq = ~a (23.4-12)
fdrag ρp
ρp d2p
τp = (23.4-13)
18µq
d is the diameter of the particles (or droplets or bubbles) of secondary phase p, ~a is the
secondary-phase particle’s acceleration. The default drag function fdrag is taken from
Schiller and Naumann [321]:
(
1 + 0.15 Re0.687 Re ≤ 1000
fdrag = (23.4-14)
0.0183 Re Re > 1000
∂~vm
~a = ~g − (~vm · ∇)~vm − (23.4-15)
∂t
c Fluent Inc. September 29, 2006 23-33
Modeling Multiphase Flows
The simplest algebraic slip formulation is the so-called drift flux model, in which the ac-
celeration of the particle is given by gravity and/or a centrifugal force and the particulate
relaxation time is modified to take into account the presence of other particles.
In turbulent flows the relative velocity should contain a diffusion term due to the disper-
sion appearing in the momentum equation for the dispersed phase. FLUENT adds this
dispersion to the relative velocity:
(ρp − ρm )d2p νm
~vpq = ~a − ∇αq (23.4-16)
18µq fdrag αp σD
where (νm ) is the mixture turbulent viscosity and (σD ) is a Prandtl dispersion coefficient.
When you are solving a mixture multiphase calculation with slip velocity, you can directly
prescribe formulations for the drag function. The following choices are available:
• Morsi-Alexander
• symmetric
• constant
• user-defined
See Section 23.5.4: Interphase Exchange Coefficients for more information on these drag
functions and their formulations, and Section 23.11.1: Defining the Phases for the Mixture
Model for instructions on how to enable them.
Note that, if the slip velocity is not solved, the mixture model is reduced to a homogeneous
multiphase model. In addition, the mixture model can be customized (using user-defined
functions) to use a formulation other than the algebraic slip method for the slip velocity.
See the separate UDF Manual for details.
n
∂ X
(αp ρp ) + ∇ · (αp ρp~vm ) = −∇ · (αp ρp~vdr,p ) + (ṁqp − ṁpq ) (23.4-17)
∂t q=1
23-34
c Fluent Inc. September 29, 2006
23.4 Mixture Model Theory
Collisional Viscosity
The collisional part of the shear viscosity is modeled as [121, 364]
1/2
4 Θs
µs,col = αs ρs ds g0,ss (1 + ess ) (23.4-19)
5 π
Kinetic Viscosity
FLUENT provides two expressions for the kinetic viscosity.
The default expression is from Syamlal et al. [364]:
√
αs ds ρs Θs π 2
µs,kin = 1 + (1 + ess ) (3ess − 1) αs g0,ss (23.4-20)
6 (3 − ess ) 5
The following optional expression from Gidaspow et al. [121] is also available:
√ 2
10ρs ds Θs π 4
µs,kin = 1 + g0,ss αs (1 + ess ) (23.4-21)
96αs (1 + ess ) g0,ss 5
c Fluent Inc. September 29, 2006 23-35
Modeling Multiphase Flows
where
(−ps I + τ s ) : ∇~vs = the generation of energy by the solid stress tensor
γΘs = the collisional dissipation of energy
φls = the energy exchange between the lth
fluid or solid phase and the sth solid phase
The collisional dissipation of energy, γΘs , represents the rate of energy dissipation within
the sth solids phase due to collisions between particles. This term is represented by the
expression derived by Lun et al. [222]
The transfer of the kinetic energy of random fluctuations in particle velocity from the sth
solids phase to the lth fluid or solid phase is represented by φls [121]:
FLUENT allows you to solve for the granular temperature with the following options:
where pq is presented in the section for granular flows by equation Equation 23.5-48
23-36
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
c Fluent Inc. September 29, 2006 23-37
Modeling Multiphase Flows
Limitations
All other features available in FLUENT can be used in conjunction with the Eulerian
multiphase model, except for the following limitations:
• The Reynolds Stress turbulence model is not available on a per phase basis.
• Particle tracking (using the Lagrangian dispersed phase model) interacts only with
the primary phase.
• Streamwise periodic flow with specified mass flow rate cannot be modeled when
the Eulerian model is used (the user is allowed to specify a pressure drop).
• Inviscid flow is not allowed.
• Melting and solidification are not allowed.
• When tracking particles in parallel, the DPM model cannot be used with the Eule-
rian multiphase model if the shared memory option is enabled (Section 22.11.9: Par-
allel Processing for the Discrete Phase Model). (Note that using the message pass-
ing option, when running in parallel, enables the compatibility of all multiphase
flow models with the DPM model.)
23-38
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
To change from a single-phase model, where a single set of conservation equations for
momentum, continuity and (optionally) energy is solved, to a multiphase model, addi-
tional sets of conservation equations must be introduced. In the process of introduc-
ing additional sets of conservation equations, the original set must also be modified.
The modifications involve, among other things, the introduction of the volume fractions
α1 , α2 , . . . αn for the multiple phases, as well as mechanisms for the exchange of momen-
tum, heat, and mass between the phases.
where
n
X
αq = 1 (23.5-2)
q=1
ρ̂q = αq ρq (23.5-3)
c Fluent Inc. September 29, 2006 23-39
Modeling Multiphase Flows
n
∂ X
(αq ρq ) + ∇ · (αq ρq~vq ) = (ṁpq − ṁqp ) + Sq (23.5-4)
∂t p=1
where ~vq is the velocity of phase q and ṁpq characterizes the mass transfer from the pth
to q th phase, and ṁqp characterizes the mass transfer from phase q to phase p, and you
are able to specify these mechanisms separately.
By default, the source term Sq on the right-hand side of Equation 23.5-4 is zero, but you
can specify a constant or user-defined mass source for each phase. A similar term appears
in the momentum and enthalpy equations. See Section 23.7: Modeling Mass Transfer in
Multiphase Flows for more information on the modeling of mass transfer in FLUENT’s
general multiphase models.
Conservation of Momentum
∂
(αq ρq~vq ) + ∇ · (αq ρq~vq~vq ) = −αq ∇p + ∇ · τ q + αq ρq~g +
∂t
n
~ pq + ṁpq~vpq − ṁqp~vqp ) + (F~q + F~lift,q + F~vm,q )
X
(R (23.5-5)
p=1
2
τ q = αq µq (∇~vq + ∇~vqT ) + αq (λq − µq )∇ · ~vq I (23.5-6)
3
Here µq and λq are the shear and bulk viscosity of phase q, F~q is an external body force,
F~lift,q is a lift force, F~vm,q is a virtual mass force, R
~ pq is an interaction force between
phases, and p is the pressure shared by all phases.
~vpq is the interphase velocity, defined as follows. If ṁpq > 0 (i.e., phase p mass is being
transferred to phase q), ~vpq = ~vp ; if ṁpq < 0 (i.e., phase q mass is being transferred to
phase p), ~vpq = ~vq . Likewise, if ṁqp > 0 then vqp = vq , if ṁqp < 0 then vqp = vp .
23-40
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
~ pq .
Equation 23.5-5 must be closed with appropriate expressions for the interphase force R
This force depends on the friction, pressure, cohesion, and other effects, and is subject
~ pq = −R
to the conditions that R ~ qp and R
~ qq = 0.
n n
~ pq =
X X
R Kpq (~vp − ~vq ) (23.5-7)
p=1 p=1
where Kpq (= Kqp ) is the interphase momentum exchange coefficient (described in Sec-
tion 23.5.4: Interphase Exchange Coefficients).
Lift Forces
For multiphase flows, FLUENT can include the effect of lift forces on the secondary phase
particles (or droplets or bubbles). These lift forces act on a particle mainly due to velocity
gradients in the primary-phase flow field. The lift force will be more significant for larger
particles, but the FLUENT model assumes that the particle diameter is much smaller
than the interparticle spacing. Thus, the inclusion of lift forces is not appropriate for
closely packed particles or for very small particles.
The lift force acting on a secondary phase p in a primary phase q is computed from [90]
The lift force F~lift will be added to the right-hand side of the momentum equation for
both phases (F~lift,q = −F~lift,p ).
In most cases, the lift force is insignificant compared to the drag force, so there is no
reason to include this extra term. If the lift force is significant (e.g., if the phases separate
quickly), it may be appropriate to include this term. By default, F~lift is not included.
The lift force and lift coefficient can be specified for each pair of phases, if desired.
i It is important that if you include the lift force in your calculation, you
need not include it everywhere in the computational domain since it is
computationally expensive to converge. For example, in the wall boundary
layer for turbulent bubbly flows in channels, the lift force is significant
when the slip velocity is large in the vicinity of high strain rates for the
primary phase.
c Fluent Inc. September 29, 2006 23-41
Modeling Multiphase Flows
For multiphase flows, FLUENT includes the “virtual mass effect” that occurs when a
secondary phase p accelerates relative to the primary phase q. The inertia of the primary-
phase mass encountered by the accelerating particles (or droplets or bubbles) exerts a
“virtual mass force” on the particles [90]:
!
dq~vq dp~vp
F~vm = 0.5αp ρq − (23.5-9)
dt dt
dq
The term dt
denotes the phase material time derivative of the form
dq (φ) ∂(φ)
= + (~vq · ∇)φ (23.5-10)
dt ∂t
The virtual mass force F~vm will be added to the right-hand side of the momentum equation
for both phases (F~vm,q = −F~vm,p ).
The virtual mass effect is significant when the secondary phase density is much smaller
than the primary phase density (e.g., for a transient bubble column). By default, F~vm is
not included.
Conservation of Energy
n
∂ ∂pq X
(αq ρq hq )+∇·(αq ρq ~uq hq ) = −αq +τ q : ∇~uq −∇·~qq +Sq + (Qpq + ṁpq hpq − ṁqp hqp )
∂t ∂t p=1
(23.5-11)
where hq is the specific enthalpy of the q th phase, ~qq is the heat flux, Sq is a source term
that includes sources of enthalpy (e.g., due to chemical reaction or radiation), Qpq is
the intensity of heat exchange between the pth and q th phases, and hpq is the interphase
enthalpy (e.g., the enthalpy of the vapor at the temperature of the droplets, in the case
of evaporation). The heat exchange between phases must comply with the local balance
conditions Qpq = −Qqp and Qqq = 0.
23-42
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
Continuity Equation
where ρrq is the phase reference density, or the volume averaged density of the q th phase
in the solution domain.
The solution of this equation for each secondary phase, along with the condition that the
volume fractions sum to one (given by Equation 23.5-2), allows for the calculation of the
primary-phase volume fraction. This treatment is common to fluid-fluid and granular
flows.
∂
(αq ρq~vq ) + ∇ · (αq ρq~vq~vq ) = −αq ∇p + ∇ · τ q + αq ρq~g +
∂t
n
X
(Kpq (~vp − ~vq ) + ṁpq~vpq − ṁqp~vqp ) +
p=1
Here ~g is the acceleration due to gravity and τ q , F~q , F~lift,q , and F~vm,q are as defined for
Equation 23.5-5.
Following the work of [7, 52, 81, 121, 199, 222, 268, 364], FLUENT uses a multi-fluid
granular model to describe the flow behavior of a fluid-solid mixture. The solid-phase
stresses are derived by making an analogy between the random particle motion arising
from particle-particle collisions and the thermal motion of molecules in a gas, taking into
account the inelasticity of the granular phase. As is the case for a gas, the intensity of the
particle velocity fluctuations determines the stresses, viscosity, and pressure of the solid
phase. The kinetic energy associated with the particle velocity fluctuations is represented
c Fluent Inc. September 29, 2006 23-43
Modeling Multiphase Flows
∂
(αs ρs~vs ) + ∇ · (αs ρs~vs~vs ) = −αs ∇p − ∇ps + ∇ · τ s + αs ρs~g +
∂t
N
X
(Kls (~vl − ~vs ) + ṁls~vls − ṁsl~vsl ) +
l=1
where ps is the sth solids pressure, Kls = Ksl is the momentum exchange coefficient
between fluid or solid phase l and solid phase s, N is the total number of phases, and
F~q , F~lift,q , and F~vm,q are as defined for Equation 23.5-5.
Conservation of Energy
The equation solved by FLUENT for the conservation of energy is Equation 23.5-11.
αq αp ρp f
Kpq = (23.5-15)
τp
where f , the drag function, is defined differently for the different exchange-coefficient
models (as described below) and τp , the “particulate relaxation time”, is defined as
ρp d2p
τp = (23.5-16)
18µq
23-44
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
CD Re
f= (23.5-17)
24
where
(
24(1 + 0.15 Re0.687 )/Re Re ≤ 1000
CD = (23.5-18)
0.44 Re > 1000
and Re is the relative Reynolds number. The relative Reynolds number for the
primary phase q and secondary phase p is obtained from
The relative Reynolds number for secondary phases p and r is obtained from
CD Re
f= (23.5-21)
24
where
a2 a3
CD = a1 + + 2 (23.5-22)
Re Re
c Fluent Inc. September 29, 2006 23-45
Modeling Multiphase Flows
and Re is defined by Equation 23.5-19 or 23.5-20. The a’s are defined as follows:
0, 24, 0 0 < Re < 0.1
3.690, 22.73, 0.0903 0.1 < Re < 1
1.222, 29.1667, −3.8889
1 < Re < 10
0.6167, 46.50, −116.67 10 < Re < 100
a1 , a 2 , a 3 = (23.5-23)
0.3644, 98.33, −2778 100 < Re < 1000
0.357, 148.62, −47500 1000 < Re < 5000
0.46, −490.546, 578700 5000 < Re < 10000
0.5191, −1662.5, 5416700 Re ≥ 10000
The Morsi and Alexander model is the most complete, adjusting the function def-
inition frequently over a large range of Reynolds numbers, but calculations with
this model may be less stable than with the other models.
αp (αp ρp + αq ρq )f
Kpq = (23.5-24)
τpq
where
(αp ρp + αq ρq )( dp +d
2
q 2
)
τpq = (23.5-25)
18(αp µp + αq µq )
and
CD Re
f= (23.5-26)
24
where
(
24(1 + 0.15 Re0.687 )/Re Re ≤ 1000
CD = (23.5-27)
0.44 Re > 1000
and Re is defined by Equation 23.5-19 or 23.5-20. Note that if there is only one
dispersed phase, then dp = dq in Equation 23.5-25.
The symmetric model is recommended for flows in which the secondary (dispersed)
phase in one region of the domain becomes the primary (continuous) phase in
another. Thus for a single dispersed phase, dp = dq and (dp +d
2
q)
= dp . For example,
if air is injected into the bottom of a container filled halfway with water, the air
is the dispersed phase in the bottom half of the container; in the top half of the
container, the air is the continuous phase. This model can also be used for the
interaction between secondary phases.
23-46
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
You can specify different exchange coefficients for each pair of phases. It is also possible
to use user-defined functions to define exchange coefficients for each pair of phases. If the
exchange coefficient is equal to zero (i.e., if no exchange coefficient is specified), the flow
fields for the fluids will be computed independently, with the only “interaction” being
their complementary volume fractions within each computational cell.
αs ρs f
Ksl = (23.5-28)
τs
where f is defined differently for the different exchange-coefficient models (as described
below), and τs , the “particulate relaxation time”, is defined as
ρs d2s
τs = (23.5-29)
18µl
CD Res αl
f= 2
(23.5-30)
24vr,s
where the drag function has a form derived by Dalla Valle [74]
2
4.8
CD = 0.63 + q (23.5-31)
Res /vr,s
ρl ds |~vs − ~vl |
Res = (23.5-32)
µl
where the subscript l is for the lth fluid phase, s is for the sth solid phase, and ds is
the diameter of the sth solid phase particles.
c Fluent Inc. September 29, 2006 23-47
Modeling Multiphase Flows
where vr,s is the terminal velocity correlation for the solid phase [115]:
q
2
vr,s = 0.5 A − 0.06 Res + (0.06 Res ) + 0.12 Res (2B − A) + A2 (23.5-34)
with
A = αl4.14 (23.5-35)
and
B = 0.8αl1.28 (23.5-36)
B = αl2.65 (23.5-37)
• For the model of Wen and Yu [397], the fluid-solid exchange coefficient is of the
following form:
24 h i
CD = 1 + 0.15(αl Res )0.687 (23.5-39)
αl Res
and Res is defined by Equation 23.5-32.
This model is appropriate for dilute systems.
23-48
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
• The Gidaspow model [121] is a combination of the Wen and Yu model [397] and
the Ergun equation [98].
When αl > 0.8, the fluid-solid exchange coefficient Ksl is of the following form:
24 h i
CD = 1 + 0.15(αl Res )0.687 (23.5-41)
αl Res
When αl ≤ 0.8,
where
els = the coefficient of restitution
Cfr,ls = the coefficient of friction between the lth and sth
solid-phase particles (Cfr,ls = 0)
dl = the diameter of the particles of solid l
g0,ls = the radial distribution coefficient
Note that the coefficient of restitution is described in Section 23.5.5: Solids Pressure
and the radial distribution coefficient is described in Section 23.5.5: Radial Distribution
Function.
c Fluent Inc. September 29, 2006 23-49
Modeling Multiphase Flows
where ess is the coefficient of restitution for particle collisions, g0,ss is the radial distribu-
tion function, and Θs is the granular temperature. FLUENT uses a default value of 0.9
for ess , but the value can be adjusted to suit the particle type. The granular temperature
Θs is proportional to the kinetic energy of the fluctuating particle motion, and will be
described later in this section. The function g0,ss (described below in more detail) is a
distribution function that governs the transition from the “compressible” condition with
α < αs,max , where the spacing between the solid particles can continue to decrease, to
the “incompressible” condition with α = αs,max , where no further decrease in the spacing
can occur. A value of 0.63 is the default for αs,max , but you can modify it during the
problem setup.
Other formulations that are also available in FLUENT are [364]
and [227]
1
ps = αs ρs Θs [(1 + 4αs g0,ss ) + [(1 + ess )(1 − ess + 2µf ric )]] (23.5-46)
2
When more than one solids phase are calculated, the above expression does not take into
account the effect of other phases. A derivation of the expressions from the Boltzman
equations for a granular mixture are beyond the scope of this manual, however there is
a need to provide a better formulation so that some properties may feel the presence of
other phases. A known problem is that N solids phases with identical properties should be
consistent when the same phases are described by a single solids phase. Equations derived
empirically may not satisfy this property and need to be changed accordingly without
deviating significantly from the original form. From [120], a general solids pressure
formulation in the presence of other phases could be of the form
N
π
g0,pq d3qp nq np (1 + eqp )f (mp , mq , Θp , Θq )
X
pq = αq ρq Θq + (23.5-47)
p=1 3
23-50
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
where dpq = dp +d
2
q
is the average diameter, np , nq are the number of particles, mp and mq
are the masses of the particles in phases p and q, and f is a function of the masses of the
particles and their granular temperatures. For now, we have to simplify this expression
so that it depends only on the granular temperature of phase q
N
X d3pq
pq = αq ρq Θq + 2 (1 + epq )g0,pq αq αp ρq Θq (23.5-48)
p=1 d3q
Since all models need to be cast in the general form, it follows that
N
X d3pq
pq = αq ρq Θq + ( pc,qp )ρq Θq (23.5-49)
p=1 d3q
where pc,qp is the collisional part of the pressure between phases q and p.
The above expression reverts to the one solids phase expression when N = 1 and q = p
but also has the property of feeling the presence of other phases.
s + dp
g0 = (23.5-50)
s
where s is the distance between grains. From Equation 23.5-50 it can be observed that
for a dilute solid phase s → ∞, and therefore g0 → 1. In the limit when the solid phase
compacts, s → 0 and g0 → ∞. The radial distribution function is closely connected
to the factor χ of Chapman and Cowling’s [52] theory of nonuniform gases. χ is equal
to 1 for a rare gas, and increases and tends to infinity when the molecules are so close
together that motion is not possible.
c Fluent Inc. September 29, 2006 23-51
Modeling Multiphase Flows
In the literature there is no unique formulation for the radial distribution function. FLU-
ENT has a number of options:
This is an empirical function and does not extends easily to n phases. For two
identical phases with the property that αq = α1 + α2 , the above function is not
consistent for the calculation of the partial pressures p1 and p2 , pq = p1 + p2 . In
order to correct this problem, FLUENT uses the following consistent formulation:
! 1 −1 N
αs 3
1 X αk
g0,ll = 1 − + dl (23.5-52)
αs,max 2 k=1 dk
where
N
X
αs = αk (23.5-53)
k=1
N
1 3 X αk
g0,ll = αs + dl (23.5-54)
(1 − αs,max ) 2 k=1 dk
• Also available [227], slightly modified for n solids phases, is the following:
N
1 + 2.5αs + 4.59αs2 + 4.52αs3 1 X αk
g0,ll = 3 0.678 + dl (23.5-55)
2 k=1 dk
αs
1− αs,max
αk
3( N
P
1 k=1 dk )
g0,kl = + dk dl (23.5-56)
(1 − αs ) (1 − αs )2 (dj + dk )
23-52
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
When the number of solid phases is greater than 1, Equation 23.5-52, Equation 23.5-54
and Equation 23.5-55 are extended to
dm g0,ll + dl g0,mm
g0,lm = (23.5-57)
dm + dl
It is interesting to note that equations Equation 23.5-54 and Equation 23.5-55 compare
well with [6] experimental data, while Equation 23.5-56 reverts to the [48] derivation.
where
α1,max
X1 <= (23.5-58)
(α1,max + (1 − α1,max )α2,max )
s
d2
αs,max = (α1,max − α2,max + [1 − ](1 − α1,max )α2,max ) (23.5-59)
d1
X1
∗(α1,max + (1 − α1,max )α2,max )
α1,max
+α2,max (23.5-60)
The packing limit is used for the calculation of the radial distribution function.
c Fluent Inc. September 29, 2006 23-53
Modeling Multiphase Flows
Collisional Viscosity
The collisional part of the shear viscosity is modeled as [121, 364]
1/2
4 Θs
µs,col = αs ρs ds g0,ss (1 + ess ) (23.5-63)
5 π
Kinetic Viscosity
FLUENT provides two expressions for the kinetic part.
The default expression is from Syamlal et al. [364]:
√
αs ds ρs Θs π 2
µs,kin = 1 + (1 + ess ) (3ess − 1) αs g0,ss (23.5-64)
6 (3 − ess ) 5
The following optional expression from Gidaspow et al. [121] is also available:
√ 2
10ρs ds Θs π 4
µs,kin = 1 + g0,ss αs (1 + ess ) (23.5-65)
96αs (1 + ess ) g0,ss 5
Bulk Viscosity
The solids bulk viscosity accounts for the resistance of the granular particles to compres-
sion and expansion. It has the following form from Lun et al. [222]:
1/2
4 Θs
λs = αs ρs ds g0,ss (1 + ess ) (23.5-66)
3 π
Note that the bulk viscosity is set to a constant value of zero, by default. It is also
possible to select the Lun et al. expression or use a user-defined function.
23-54
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
Frictional Viscosity
In dense flow at low shear, where the secondary volume fraction for a solid phase nears
the packing limit, the generation of stress is mainly due to friction between particles.
The solids shear viscosity computed by FLUENT does not, by default, account for the
friction between particles.
If the frictional viscosity is included in the calculation, FLUENT uses Schaeffer’s [319]
expression:
ps sin φ
µs,fr = √ (23.5-67)
2 I2D
where ps is the solids pressure, φ is the angle of internal friction, and I2D is the second
invariant of the deviatoric stress tensor. It is also possible to specify a constant or user-
defined frictional viscosity.
In granular flows with high solids volume fraction, instantaneous collisions are less im-
portant. The application of kinetic theory to granular flows is no longer relevant since
particles are in contact and the resulting frictional stresses need to be taken into account.
FLUENT extends the formulation of the frictional viscosity and employs other models, as
well as providing new hooks for UDFs. See the separate UDF Manual for details.
The frictional stresses are usually written in Newtonian form:
~
τf riction = −Pf riction I~ + µf riction (∇~us + (∇~us )T ) (23.5-68)
The frictional stress is added to the stress predicted by the kinetic theory when the solids
volume fraction exceeds a critical value. This value is normally set to 0.5 when the flow
is three-dimensional and the maximum packing limit is about 0.63. Then
The derivation of the frictional pressure is mainly semi-empirical, while the frictional vis-
cosity can be derived from the first principles. The application of the modified Coulomb
law leads to an expression of the form
Pf riction sin φ
µf riction = √ (23.5-71)
2 I2D
Where φ is the angle of internal friction and I2D is the second invariant of the deviatoric
stress tensor.
c Fluent Inc. September 29, 2006 23-55
Modeling Multiphase Flows
Two additional models are available in FLUENT: the Johnson and Jackson [166] model
for frictional pressure and Syamlal et al [364].
The Johnson and Jackson [166] model for frictional pressure is defined as
(αs − αs,min )n
Pf riction = Fr (23.5-72)
(αs,max − αs )p
With coefficient Fr = 0.05, n=2 and p = 3 [267]. The critical value for the solids volume
fraction is 0.5. The coefficient Fr was modified to make it a function of the volume
fraction:
F r = 0.1αs (23.5-73)
The second model that is employed is Syamlal et al [364], described in Equation 23.5-64.
Comparing the two models results in the frictional normal stress differing by orders of
magnitude.
The radial distribution function is an important parameter in the description of the solids
pressure resulting from granular kinetic theory. If we use the models of Lun et al. [222] or
Gidaspow [120] the radial function tends to infinity as the volume fraction tends to the
packing limit. It would then be possible to use this pressure directly in the calculation
of the frictional viscosity, as it has the desired effect. This approach is also available in
FLUENT by default.
23-56
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
" #
3 ∂
(ρs αs Θs ) + ∇ · (ρs αs~vs Θs ) = (−ps I+τ s ) : ∇~vs +∇·(kΘs ∇Θs )−γΘs +φls (23.5-75)
2 ∂t
where
(−ps I + τ s ) : ∇~vs = the generation of energy by the solid stress tensor
kΘs ∇Θs = the diffusion of energy (kΘs is the diffusion coefficient)
γΘs = the collisional dissipation of energy
φls = the energy exchange between the lth
fluid or solid phase and the sth solid phase
Equation 23.5-75 contains the term kΘs ∇Θs describing the diffusive flux of granular
energy. When the default Syamlal et al. model [364] is used, the diffusion coefficient for
granular energy, kΘs is given by
√
15ds ρs αs Θs π 12 16
kΘs = 1 + η 2 (4η − 3)αs g0,ss + (41 − 33η)ηαs g0,ss ) (23.5-76)
4(41 − 33η) 5 15π
where
1
η = (1 + ess )
2
FLUENT uses the following expression if the optional model of Gidaspow et al. [121] is
enabled:
q s
150ρs ds (Θπ) 6
2
2 Θs
kΘs = 1 + αs g0,ss (1 + es ) + 2ρs αs ds (1 + ess )g0,ss (23.5-77)
384(1 + ess )g0,ss 5 π
The collisional dissipation of energy, γΘs , represents the rate of energy dissipation within
the sth solids phase due to collisions between particles. This term is represented by the
expression derived by Lun et al. [222]
c Fluent Inc. September 29, 2006 23-57
Modeling Multiphase Flows
The transfer of the kinetic energy of random fluctuations in particle velocity from the sth
solids phase to the lth fluid or solid phase is represented by φls [121]:
FLUENT allows the user to solve for the granular temperature with the following options:
For a granular phase s, we may write the shear force at the wall in the following form:
π√ αs q
τ~s = − 3φ ρs g0 Θs U~s,|| (23.5-80)
6 αs,max
Here U~s,|| is the particle slip velocity parallel to the wall, φ is the specularity coefficient
between the particle and the wall, αs,max is the volume fraction for the particles at
maximum packing, and g0 is the radial distribution function that is model dependent.
The general boundary condition for granular temperature at the wall takes the form
[166]
π√ αs q π √ αs 3
qs = 3φ ρs g0 Θs )U~s,|| · U~s,|| − 3 (1 − e2sw )ρs g0 Θs2 (23.5-81)
6 αs,max 4 αs,max
where cp,q is the specific heat at constant pressure of phase q. The thermal boundary
conditions used with multiphase flows are the same as those for a single-phase flow. See
Chapter 7: Boundary Conditions for details.
23-58
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
where hpq (= hqp ) is the heat transfer coefficient between the pth phase and the q th phase.
The heat transfer coefficient is related to the pth phase Nusselt number, Nup , by
6κq αp αq Nup
hpq = (23.5-84)
dp 2
Here κq is the thermal conductivity of the q th phase. The Nusselt number is typically
determined from one of the many correlations reported in the literature. In the case of
fluid-fluid multiphase, FLUENT uses the correlation of Ranz and Marshall [296, 297]:
where Rep is the relative Reynolds number based on the diameter of the pth phase and
the relative velocity |u~p − u~q |, and Pr is the Prandtl number of the q th phase:
c p q µq
Pr = (23.5-86)
κq
In the case of granular flows (where p = s), FLUENT uses a Nusselt number correlation
by Gunn [130], applicable to a porosity range of 0.35–1.0 and a Reynolds number of up
to 105 :
The Prandtl number is defined as above with q = f . For all these situations, hpq should
tend to zero whenever one of the phases is not present within the domain. To enforce
this, hpq is always multiplied by the volume fraction of the primary phase q, as reflected
in Equation 23.5-84.
c Fluent Inc. September 29, 2006 23-59
Modeling Multiphase Flows
i Note that the descriptions of each method below are presented based on
the standard k- model. The multiphase modifications to the RNG and
realizable k- models are similar, and are therefore not presented explicitly.
The RSM turbulence model options are:
For either category, the choice of model depends on the importance of the secondary-
phase turbulence in your application.
23-60
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
The mixture turbulence model is the default multiphase turbulence model. It represents
the first extension of the single-phase k- model, and it is applicable when phases separate,
for stratified (or nearly stratified) multiphase flows, and when the density ratio between
phases is close to 1. In these cases, using mixture properties and mixture velocities is
sufficient to capture important features of the turbulent flow.
The k and equations describing this model are as follows:
∂ µt,m
(ρm k) + ∇ · (ρm~vm k) = ∇ · ∇k + Gk,m − ρm (23.5-88)
∂t σk
and
∂ µt,m
(ρm ) + ∇ · (ρm~vm ) = ∇ · ∇ + (C1 Gk,m − C2 ρm ) (23.5-89)
∂t σ k
where the mixture density and velocity, ρm and ~vm , are computed from
N
X
ρm = αi ρi (23.5-90)
i=1
and
N
X
αi ρi~vi
i=1
~vm = N
(23.5-91)
X
αi ρi
i=1
k2
µt,m = ρm Cµ (23.5-92)
and the production of turbulence kinetic energy, Gk,m , is computed from
The constants in these equations are the same as those described in Section 12.4.1: Stan-
dard k- Model for the single-phase k- model.
c Fluent Inc. September 29, 2006 23-61
Modeling Multiphase Flows
The dispersed turbulence model is the appropriate model when the concentrations of the
secondary phases are dilute. In this case, interparticle collisions are negligible and the
dominant process in the random motion of the secondary phases is the influence of the
primary-phase turbulence. Fluctuating quantities of the secondary phases can therefore
be given in terms of the mean characteristics of the primary phase and the ratio of the
particle relaxation time and eddy-particle interaction time.
The model is applicable when there is clearly one primary continuous phase and the rest
are dispersed dilute secondary phases.
Assumptions
The dispersed method for modeling turbulence in FLUENT assumes the following:
23-62
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
The eddy viscosity model is used to calculate averaged fluctuating quantities. The
Reynolds stress tensor for continuous phase q takes the following form:
kq2
µt,q = ρq Cµ (23.5-95)
q
3 kq
τt,q = Cµ (23.5-96)
2 q
and
c Fluent Inc. September 29, 2006 23-63
Modeling Multiphase Flows
The term Πkq can be derived from the instantaneous equation of the continuous phase
and takes the following form, where M represents the number of secondary phases:
M
Kpq ~p − U
~ q ) · ~vdr )
(< ~vq00 · ~vp00 > +(U
X
Πk q = (23.5-100)
p=1 αq ρq
M
X Kpq
Πk q = (kpq − 2kq + ~vpq · ~vdr ) (23.5-101)
p=1 αq ρq
where klq is the covariance of the velocities of the continuous phase q and the dispersed
phase l (calculated from Equation 23.5-109 below), ~vpq is the relative velocity, and ~vdr is
the drift velocity (defined by Equation 23.5-114 below).
Πq is modeled according to Elgobashi et al. [97]:
q
Πq = C3 Πk (23.5-102)
kq q
Time and length scales that characterize the motion are used to evaluate dispersion
coefficients, correlation functions, and the turbulent kinetic energy of each dispersed
phase.
The characteristic particle relaxation time connected with inertial effects acting on a
dispersed phase p is defined as
!
−1 ρp
τF,pq = αp ρq Kpq + CV (23.5-103)
ρq
The Lagrangian integral time scale calculated along particle trajectories, mainly affected
by the crossing-trajectory effect [70], is defined as
τt,q
τt,pq = q (23.5-104)
(1 + Cβ ξ 2 )
where
|~vpq |τt,q
ξ= (23.5-105)
Lt,q
23-64
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
and
where θ is the angle between the mean particle velocity and the mean relative velocity.
The ratio between these two characteristic times is written as
τt,pq
ηpq = (23.5-107)
τF,pq
Following Simonin [334], FLUENT writes the turbulence quantities for dispersed phase p
as follows:
b2 + ηpq
!
kp = kq (23.5-108)
1 + ηpq
!
b + ηpq
kpq = 2kq (23.5-109)
1 + ηpq
1
Dt,pq = kpq τt,pq (23.5-110)
3
2 1
Dp = Dt,pq + kp − b kpq τF,pq (23.5-111)
3 3
!−1
ρp
b = (1 + CV ) + CV (23.5-112)
ρq
The turbulent drag term for multiphase flows (Kpq (~vp −~vq ) in Equation 23.5-7) is modeled
as follows, for dispersed phase p and continuous phase q:
~p − U
Kpq (~vp − ~vq ) = Kpq (U ~ q ) − Kpq~vdr (23.5-113)
The second term on the right-hand side of Equation 23.5-113 contains the drift velocity:
!
Dp Dq
~vdr = − ∇αp − ∇αq (23.5-114)
σpq αp σpq αq
Here Dp and Dq are diffusivities, and σpq is a dispersion Prandtl number. When using
Tchen theory in multiphase flows, FLUENT assumes Dp = Dq = Dt,pq and the default
value for σpq is 0.75.
c Fluent Inc. September 29, 2006 23-65
Modeling Multiphase Flows
The drift velocity results from turbulent fluctuations in the volume fraction. When
multiplied by the exchange coefficient Kpq , it serves as a correction to the momentum
exchange term for turbulent flows. This correction is not included, by default, but you
can enable it during the problem setup.
You can enable the effect of drift velocity by performing the following:
1. If it is not already done, set the k-epsilon Multiphase Model to Dispersed in the
Viscous panel.
/define/models/viscous/multiphase-turbulence> multiphase-options
Enable dispersion force in momentum? [no] yes
Enable interphase k-epsilon source? [no] yes
The effect of the drift velocity is influenced both by the momentum equation and,
to a lesser extent, the turbulence equation. Therefore, you should answer yes to
both questions to take into account the effect of drift velocity.
The most general multiphase turbulence model solves a set of k and transport equations
for each phase. This turbulence model is the appropriate choice when the turbulence
transfer among the phases plays a dominant role.
Note that, since FLUENT is solving two additional transport equations for each sec-
ondary phase, the per-phase turbulence model is more computationally intensive than
the dispersed turbulence model.
Transport Equations
The Reynolds stress tensor and turbulent viscosity are computed using Equations 23.5-94
and 23.5-95. Turbulence predictions are obtained from
23-66
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
and
"
∂ ~ q q ) = ∇ · (αq µt,q ∇q ) + q
(αq ρq q ) + ∇ · (αq ρq U C1 αq Gk,q − C2 αq ρq q +
∂t σ kq
N N N
!#
~ q ) · µt,l ∇αl +
~l − U ~ q ) · µt,q ∇αq
~l − U
X X X
C3 Klq (Clq kl − Cql kq ) − Klq (U Klq (U
l=1 l=1 αl σl l=1 αq σq
(23.5-116)
The terms Clq and Cql can be approximated as
!
ηlq
Clq = 2, Cql = 2 (23.5-117)
1 + ηlq
The turbulent drag term (Kpq (~vp − ~vq ) in Equation 23.5-7) is modeled as follows, where
l is the dispersed phase (replacing p in Equation 23.5-7) and q is the continuous phase:
N N N
~l − U
~q) −
X X X
Klq (~vl − ~vq ) = Klq (U Klq~vdr,lq (23.5-118)
l=1 l=1 l=1
Here U~ l and U
~ q are phase-weighted velocities, and ~vdr,lq is the drift velocity for phase
l (computed using Equation 23.5-114, substituting l for p). Note that FLUENT will
compute the diffusivities Dl and Dq directly from the transport equations, rather than
using Tchen theory (as it does for the dispersed turbulence model).
As noted above, the drift velocity results from turbulent fluctuations in the volume
fraction. When multiplied by the exchange coefficient Klq , it serves as a correction to
the momentum exchange term for turbulent flows. This correction is not included, by
default, but you can enable it during the problem setup.
The turbulence model for each phase in FLUENT accounts for the effect of the turbulence
field of one phase on the other(s). If you want to modify or enhance the interaction of the
multiple turbulence fields and interphase turbulent momentum transfer, you can supply
these terms using user-defined functions.
c Fluent Inc. September 29, 2006 23-67
Modeling Multiphase Flows
∂
(αc ρc ) + ∇ · (αc ρc Ũc ) = 0 (23.5-119)
∂t
∂
Ũc ) = −αc ∇p̃ + ∇ · τ̃ct + FDc
O
(αc ρrmc Ũc ) + ∇ · (αc ρrmc Ũc (23.5-120)
∂t
For simplicity, the laminar stress-strain tensor and other body forces such as gravity
have been omitted from Equations 23.5-119-23.5-120. The tilde denotes phase-averaged
variables while an overbar (e.g., αc ) reflects time-averaged values. In general, any variable
Φ can have a phase-average value defined as
αc Φc
Φ̃c = (23.5-121)
αc
Considering only two phases for simplicity, the drag force between the continuous and
the dispersed phases can be defined as:
αd u0d αc u0c
" !#
FDc = Kdc (Ũd − Ũc ) − − (23.5-122)
αd αc
where Kdc is the drag coefficient. Several terms in the Equation 23.5-122 need to be
modeled in order to close the phase-averaged momentum equations. Full descriptions of
all modeling assumptions can be found in [65]. This section only describes the different
modeling definition of the turbulent stresses τ˜t that appears in Equation 23.5-120.
The turbulent stress that appears in the momentum equations need to be defined on a
per-phase basis and can be calculated as:
23-68
c Fluent Inc. September 29, 2006
23.5 Eulerian Model Theory
where the subscript k is replaced by c for the primary (i.e., continuous) phase or by d for
any secondary (i.e., dispersed) phases. As is the case for single-phase flows, the current
multiphase Reynolds stress model (RSM) also solves the transport equations for Reynolds
stresses Rij . FLUENT includes two methods for modeling turbulence in multiphase flows
within the context of the RSM model: the dispersed turbulence model, and the mixture
turbulence model.
The dispersed turbulence model is used when the concentrations of the secondary phase
are dilute and the primary phase turbulence is regarded as the dominant process. Conse-
quently, the transport equations for turbulence quantities are only solved for the primary
(continuous) phase, while the predictions of turbulence quantities for dispersed phases
are obtained using the Tchen theory. The transport equation for the primary phase
Reynolds stresses in the case of the dispersed model are:
! " #
∂ ∂ ∂ Ũj ∂ Ũi ∂ ∂
(αρR̃ij ) + (αρŨk R̃ij ) = −αρ R̃ik + R̃jk + αµ (R̃ij )
∂t ∂xk ∂xk ∂xk ∂xk ∂xk
∂ ∂u0 ∂u0
− [αρu0i u0j u0k ] + αp( i + j )
∂xk ∂xj ∂xi
− αρ˜ij + ΠR,ij (23.5-124)
The variables in Equation 23.5-124 are per continuous phase c and the subscript is omitted
for clarity. The last term of Equation 23.5-124, ΠR,ij , takes into account the interaction
between the continuous and the dispersed phase turbulence. A general model for this
term can be of the form:
ΠR,ij = Kdc C1,dc (Rdc,ij − Rc,ij ) + Kdc C2,dc adc,i bdc,j (23.5-125)
where C1 and C2 are unknown coefficients, adc,i is the relative velocity, bdc,j represents
the drift or the relative velocity, and Rdc,ij is the unknown particulate-fluid velocity
correlation. To simplify this unknown term, the following assumption has been made:
2
ΠR,ij = δij Πk (23.5-126)
3
where δij is the Kronecker delta, and Πk represents the modified version of the original
Simonin model [334].
c Fluent Inc. September 29, 2006 23-69
Modeling Multiphase Flows
where K̃c represents the turbulent kinetic energy of the continuous phase, k̃dc is the
continuous-dispersed phase velocity covariance and finally, Ṽrel and Ṽdrift stand for the
relative and the drift velocities, respectively. In order to achieve full closure, the transport
equation for the turbulent kinetic energy dissipation rate (˜) is required. The modeling
of ˜ together with all other unknown terms in Equation 23.5-127 are modeled in the same
way as in [65].
The main assumption for the mixture model is that all phases share the same turbu-
lence field which consequently means that the term ΠR in the Reynolds stress transport
equations (Equation 23.5-124) is neglected. Apart from that, the equations maintain the
same form but with phase properties and phase velocities being replaced with mixture
properties and mixture velocities. The mixture density, for example, can be expressed as
N
X
ρm = αi ρi (23.5-128)
i=1
PN
αi ρi Ũi
Ũm = Pi=1
N (23.5-129)
i=1 αi ρi
n n
( )
1 ∂
αk ρk + ∇ · αk ρk~vk0 + ∇ · αk ρk~vk∗ − ( (ṁlk − ṁkl )) = 0
X X
(23.5-130)
k=1 ρrk ∂t l=1
23-70
c Fluent Inc. September 29, 2006
23.6 Wet Steam Model Theory
where ρrk is the phase reference density for the k th phase (defined as the total volume
average density of phase k), ~vk0 is the velocity correction for the k th phase, and ~vk∗ is the
value of ~vk at the current iteration. The velocity corrections are themselves expressed as
functions of the pressure corrections.
Volume Fractions
The volume fractions are obtained from the phase continuity equations. In discretized
form, the equation of the k th volume fraction is
X
ap,k αk = (anb,k αnb,k ) + bk = Rk (23.5-131)
nb
In order to satisfy the condition that all the volume fractions sum to one,
n
X
αk = 1 (23.5-132)
k=1
c Fluent Inc. September 29, 2006 23-71
Modeling Multiphase Flows
and strategies for the wet steam model can be found in Section 23.14.5: Wet Steam Model.
Postprocessing variables are described in Section 23.15.1: Model-Specific Variables.
Limitations
The following restrictions and limitations currently apply to the wet steam model in
FLUENT:
• The wet steam model is available for the density-based solvers only.
• Pressure inlet, mass-flow inlet, and pressure outlet are the only inflow and outflow
boundary conditions available.
• When the wet steam model is active, the access to the Materials panel is restricted
because the fluid mixture properties are determined from the built in steam prop-
erty functions or from the user-defined wet steam property functions. Therefore, if
solid properties need to be set and adjusted, then it must be done in the Materials
panel before activating the wet steam model.
• The mass fraction of the condensed phase, β (also known as wetness factor), is
small (β < 0.2).
• Since droplet sizes are typically very small (from approximately 0.1 microns to
approximately 100 microns), it is assumed that the volume of the condensed liquid
phase is negligible.
From the preceding assumptions, it follows that the mixture density (ρ) can be related
to the vapor density (ρv ) by the following equation:
ρv
ρ= (23.6-1)
(1 − β)
23-72
c Fluent Inc. September 29, 2006
23.6 Wet Steam Model Theory
In addition, the temperature and the pressure of the mixture will be equivalent to the
temperature and pressure of the vapor-phase.
The mixture flow is governed by the compressible Navier-Stokes equations given in vector
form by Equation 25.5-4:
∂W ∂ Z I Z
Q dV + [F − G] · dA = H dV (23.6-2)
∂Q ∂t V V
where Q=(P,u,v,w,T) are mixture quantities. The flow equations are solved using the
same density-based solver algorithms employed for general compressible flows.
To model wet steam, two additional transport equations are needed [153]. The first
transport equation governs the mass fraction of the condensed liquid phase (β):
∂ρβ
+ ∇ · (ρ−
→
v β) = Γ (23.6-3)
∂t
where Γ is the mass generation rate due to condensation and evaporation (kg per unit
volume per second). The second transport equation models the evolution of the number
density of the droplets per unit volume:
∂ρη
+ ∇ · (ρ−
→
v η) = ρI (23.6-4)
∂t
where I is the nucleation rate (number of new droplets per unit volume per second).
To determine the number of droplets per unit volume, Equation 23.6-1 and the average
droplet volume Vd are combined in the following expression:
β
η= (23.6-5)
(1 − β)Vd (ρl /ρv )
where ρl is the liquid density and the average droplet volume is defined as
4
Vd = πr3d (23.6-6)
3
where rd is the droplet radius.
Together, Equation 23.6-2, Equation 23.6-3, and Equation 23.6-4 form a closed system
of equations which, along with Equation 23.6-1, permit the calculation of the wet steam
flow field.
c Fluent Inc. September 29, 2006 23-73
Modeling Multiphase Flows
• The heat capacity of the fine droplet is negligible compared with the latent heat
released in condensation.
The mass generation rate Γ in the classical nucleation theory during the nonequilibrium
condensation process is given by the sum of mass increase due to nucleation (the formation
of critically sized droplets) and also due to growth/demise of these droplets [153].
Therefore, Γ is written as:
4 ∂r
Γ = πρl Ir∗ 3 + 4πρl ηr2 (23.6-7)
3 ∂t
where r is the average radius of the droplet, and r∗ is the Kelvin-Helmholtz critical droplet
radius, above which the droplet will grow and below which the droplet will evaporate.
An expression for r∗ is given by [411].
2σ
r∗ = (23.6-8)
ρl RT ln S
P
s= (23.6-9)
Psat (T )
The expansion process is usually very rapid. Therefore, when the state path crosses the
saturated-vapor line, the process will depart from equilibrium, and the supersaturation
ratio S can take on values greater than one.
23-74
c Fluent Inc. September 29, 2006
23.6 Wet Steam Model Theory
The condensation process involves two mechanisms, the transfer of mass from the vapor
to the droplets and the transfer of heat from the droplets to the vapor in the form of
latent heat. This energy transfer relation was presented in [409] and used in [153] and
can be written as:
∂r P γ+1
= √ Cp (T0 − T ) (23.6-10)
∂t hlv ρl 2πRT 2γ
!s
4πr∗ 2 σ
qc ρ2v 2σ − 3Kb T
I= e (23.6-11)
(1 + θ) ρl Mm 3 π
where hlv is the specific enthalpy of evaporation at pressure p and γ is the ratio of specific
heat capacities.
c Fluent Inc. September 29, 2006 23-75
Modeling Multiphase Flows
Equation of State
The steam equation of state used in the solver, which relates the pressure to the vapor
density and the temperature, is given by [410]:
where B, and C are the second and the third virial coefficients given by the following
empirical functions:
τ −1 5
B = a1 (1 + ) + a2 eτ (1 − e−τ ) 2 + a3 τ (23.6-14)
α
C2
Cpv = Cp0 (T ) + R [(1 − αv T )(B − B1 ) − B2 ] ρv + (1 − 2αv T )C + αv T C1 − ρv 2
2
(23.6-16)
The vapor specific enthalpy, hv is given by:
C1 2
hv = h0 (T ) + RT (B − B1 )ρv + (C − )ρv (23.6-17)
2
The vapor specific entropy, sv is given by:
" #
(C + C1 ) 2
sv = s0 (T ) − R ln ρv + (B + B1 )ρv + ρv (23.6-18)
2
The isobaric specific heat at zero pressure is defined by the following empirical equation:
X6
Cp0 (T ) = ai T i−2 (23.6-19)
i=1
23-76
c Fluent Inc. September 29, 2006
23.6 Wet Steam Model Theory
Z
Cp0
s0 (T ) = dT + sc (23.6-21)
T
where hc and sc are arbitrary constants.
The vapor dynamic viscosity µv and thermal conductivity Ktv are also functions of
temperature and were obtained from [409].
Mixture Properties
The mixture properties are related to vapor and liquid properties via the wetness factor
using the following mixing law:
φm = φl β + (1 − β)φv (23.6-22)
c Fluent Inc. September 29, 2006 23-77
Modeling Multiphase Flows
i Note that FLUENT’s current cavitation model can only be used in the
framework of the mixture multiphase model.
Mass Equation
The contribution to the mass source for phase p in a cell is
mp = −mpi qj (23.7-1)
23-78
c Fluent Inc. September 29, 2006
23.7 Modeling Mass Transfer in Multiphase Flows
Momentum Equation
For VOF or mixture models, there is no momentum source.
For the Eulerian model, the momentum source in a cell for phase p is
Energy Equation
For all multiphase models, the following energy sources are added.
The energy source in a cell for phase p is
Species Equation
The species source in a cell for species i of phase p is
c Fluent Inc. September 29, 2006 23-79
Modeling Multiphase Flows
where
and ṙ is a constant rate of particle shrinking or swelling, such as the rate of burning of
a liquid droplet. This is not available for the VOF model.
If phase p is a mixture material and a mass transfer mechanism is defined for species i
of phase p, then
23-80
c Fluent Inc. September 29, 2006
23.7 Modeling Mass Transfer in Multiphase Flows
c Fluent Inc. September 29, 2006 23-81
Modeling Multiphase Flows
• The system under investigation involves only two phases (a liquid and its vapor),
and a certain fraction of separately modeled noncondensable gases.
• Both bubble formation (evaporation) and collapse (condensation) are taken into
account in the model.
• The mass fraction of noncondensable gases is known in advance.
• The cavitation model accounts for the mass transfer between a single liquid and its
vapor.
• It is compatible with all the available turbulence models in FLUENT.
• It can be solved with the mixture energy equation.
• It is fully compatible with dynamic mesh and nonconformal interfaces.
• Both liquid and vapor phases can be incompressible or compressible. The noncon-
densible gases are assumed to always be compressible. For compressible liquids,
the density can be described using a user-defined function. See the separate UDF
Manual for more information on user-defined density functions.
• The parameters used in the mass transfer model for cavitation (vaporization pres-
sure, liquid surface tension coefficient) can be either a constant or a function of
temperature.
• The cavitation model cannot be used with the VOF model, because the surface
tracking schemes for the VOF model are incompatible with the interpenetrating
continua assumption of the cavitation model.
• The cavitation model can be used only for multiphase simulations that use the
mixture model. It is always preferable to solve for cavitation using the mixture
model without slip velocity; slip velocities can be turned on if the problem suggests
that there is significant slip between phases.
• The cavitation model can only used for cavitating flow occurring in a single liquid
fluid;
• With the cavitation model, the primary phase must be liquid, the secondary phase
must be vapor.
23-82
c Fluent Inc. September 29, 2006
23.7 Modeling Mass Transfer in Multiphase Flows
The working fluid is assumed to be a mixture of liquid, vapor and noncondensable gases.
Standard governing equations in the mixture model and the mixture turbulence model
describe the flow and account for the effects of turbulence. A vapor transport equation
governs the vapor mass fraction, f , given by:
∂
(ρf ) + ∇(ρv~v f ) = ∇(γ∇f ) + Re − Rc (23.7-12)
∂t
where ρ is the mixture density, v~v is the velocity vector of the vapor phase, γ is the
effective exchange coefficient, and Re and Rc are the vapor generation and condensation
rate terms (or phase change rates). The rate expressions are derived from the Rayleigh-
Plesset equations, and limiting bubble size considerations (interface surface area per
unit volume of vapor) [335]. These rates are functions of the instantaneous, local static
pressure and are given by:
when p < psat
s
Vch 2(psat − p)
Re = Ce ρl ρv (1 − f ) (23.7-13)
σ 3ρl
where the suffixes l and v denote the liquid and vapor phases, Vch is a characteristic
√
velocity, which is approximated by the local turbulence intensity, (i.e. Vch = k), σ is
the surface tension coefficient of the liquid, psat is the liquid saturation vapor pressure at
the given temperature, and Ce and Cc are empirical constants. The default values are
Ce = 0.02 and Cc = 0.01.
c Fluent Inc. September 29, 2006 23-83
Modeling Multiphase Flows
Significant effect of turbulence on cavitating flows has been reported [312]. FLUENT’s
cavitation model accounts for the turbulence-induced pressure fluctuations by simply
raising the phase-change threshold pressure from psat to
1
pv = (psat + pturb ) (23.7-15)
2
where
The operating liquid usually contains small finite amounts of noncondensable gases (e.g.,
dissolved gases, aeration). Even a very small amount (e.g., 10 ppm) of noncondensable
gases can have significant effects on the cavitating flow field due to expansion at low
pressures (following the ideal gas law). In the present approach, the working fluid is
assumed to be a mixture of the liquid phase and the gaseous phase, with the gaseous
phase comprising of the liquid vapor and the noncondensable gases. The density of the
mixture, ρ, is calculated as
ρ = αv ρv + αg ρg + (1 − αv − αg )ρl (23.7-17)
where ρl , ρv , and ρg are the densities of the liquid, the vapor, and the noncondensable
gases, respectively, and αl , αv , and αg are the respective volume fractions. The relation-
ship between the mass fraction (fi ) in Equations 23.7-12–23.7-14 and the volume fraction
(αi ) in Equation 23.7-17 is
ρ
αi = fi (23.7-18)
ρi
The combined volume fraction of vapor and gas (i.e., αv + αg ) is commonly referred to
as the void fraction (α).
It may be noted that the noncondensable gas is not defined as a phase or a material.
When using the ideal gas law to compute the noncondensable gas density, the molecular
weight and temperature are required. By default, the gas is assumed to be air and the
molecular weight is set to 29.0. However, if the noncondensable gas is not air, then
the molecular weight can be changed by using a text command. For more information,
contact your FLUENT support engineer.
23-84
c Fluent Inc. September 29, 2006
23.7 Modeling Mass Transfer in Multiphase Flows
As for the temperature, the default value is set to 300 K when the energy equation is not
activated. If the temperature is different, but still a constant (i.e., isothermal flow), you
can change the temperature in FLUENT in the following way:
• In the Solution Controls panel, under Equations, turn off the energy equation by
deselecting Energy in the list.. By so doing, FLUENT uses the initial values for the
temperature.
After accounting for the effects of turbulence-induced pressure fluctuations and noncon-
densable gases, the final phase rate expressions are written as:
when p < pv
√ s
k 2(pv − p)
Re = Ce ρl ρv (1 − fv − fg ) (23.7-19)
σ 3ρl
when p > pv
√ s
k 2(p − pv )
Rc = Cc ρl ρl fv (23.7-20)
σ 3ρl
c Fluent Inc. September 29, 2006 23-85
Modeling Multiphase Flows
In practical applications of the cavitation model, several factors greatly influence nu-
merical stability. For instance, high pressure difference between the inlet and exit, large
ratio of liquid to vapor density, and near zero saturation pressure all cause unfavorable
effects on solution convergence. In addition, poor initial conditions very often lead to an
unrealistic pressure field and unexpected cavitating zones, which, once present, are then
usually very difficult for the model to correct. The following is a list of factors that must
be considered when using the cavitation model, along with tips to help address potential
numerical problems:
• relaxation factors
In general, small relaxation factors are advised for momentum equations, usually,
between 0.05 – 0.4; The relaxation factor for the pressure-correction equation should
usually be larger than those for momentum equations, say in the range 0.2 – 0.7.
The density and the vaporization mass (source term in the vapor equation) can also
be relaxed to improve convergence, Typically, the relaxation factor for density is set
between the values of 0.3 and 1.0, while for the vaporization mass values between
0.1 and 1.0 may be appropriate. For some extreme cases, even smaller relaxation
factors may be required for all the equations.
• initial conditions
Though no special initial condition settings are required, it is suggested that the
vapor fraction is always set to inlet values. The pressure is set close to the high-
est pressure among the inlets and outlets to avoid unexpected low pressure and
cavitating spots. Also, in complicated cases, it may be beneficial to obtain a real-
istic pressure field before substantial cavities are formed. This can be achieved by
performing the following steps:
1. Set near zero relaxation factors for the vaporization mass and for density, and
increase them to reasonable values after a sufficient number of iterations.
2. Obtain a converged / near-converged solution for a single phase liquid flow,
and then switch on the cavitation model.
• noncondensable gases
Noncondensable gases are usually present in liquids. Even a small amount (e.g.,
15 ppm) of noncondensable gases can have significant effects on both the physical
realism and the convergence characteristics of the solution. A value of zero for the
mass fraction of noncondensable gases should generally be avoided. In some cases, if
the liquid is purified of noncondensable gases, a much smaller value (e.g., 10−8 ) may
be used to replace the default value of 1.5×10−5 . In fact, higher mass fractions of
the noncondensable gases may, in many cases, enhance numerical stability and lead
to more realistic results. In particular, when the saturation pressure of a liquid at a
23-86
c Fluent Inc. September 29, 2006
23.7 Modeling Mass Transfer in Multiphase Flows
certain temperature is zero or very small, noncondensable gases will play a crucial
role both numerically and physically.
c Fluent Inc. September 29, 2006 23-87
Modeling Multiphase Flows
The multiphase cavitation model is an extension of the basic two-phase cavitation model
to multiphase flows. In addition to the primary liquid and secondary vapor phase, more
secondary gaseous phases can be included into the computational system under the fol-
lowing assumptions/limitations:
• Mass transfer (cavitation) only occurs between the first and the second phases.
• The basic cavitation model is still used to model the phase changes between the
liquid and vapor.
• Only one secondary phase can be defined as compressible gas phase, while a user-
defined density may be applied to all the phases.
• For an noncavitating phase i, the general transport equation governing the mass
fraction fi given by:
∂
(ρfi ) + ∇(ρv~v fi ) = ∇(γfi ∇fi ) + Sfi (23.7-21)
∂t
where Sfi is a (user-defined) source term. By default, Sfi = 0.
In some cases, there are several gas phase components in a system. It is desirable to
consider them all compressible. Since only one compressible gas phase is allowed in the
general multiphase approach, the multiphase species transport approach offers an option
to handle these type of applications by assuming that there is one compressible gas phase
with multiple species.
The detailed description of the multiphase species transport approach can be found in
Section 23.8: Modeling Species Transport in Multiphase Flows. The multiphase species
transport cavitation model can be summarized as follows:
• All the assumptions/limitations for the multiphase cavitation model also apply
here.
23-88
c Fluent Inc. September 29, 2006
23.8 Modeling Species Transport in Multiphase Flows
• The mass transfer between a liquid and a vapor phase/species is modeled by the
basic cavitation model.
• The mass transfer between other phases or species are modeled with the standard
mass transfer approach. In the standard model, the zero constant rate should be
chosen.
• For the phases with multiple species, the phase shares the same pressure as the
other phases, but each species has its own pressure (i.e., partial pressure). As a
result, the vapor density and the pressure used in Equation 23.7-19 are the partial
density and pressure of the vapor.
n
∂ q q q q
(ρ α Yi )+∇·(ρq αq~v q Yi q ) = −∇·αq J~i +αq Ri q +αq Si q + (ṁpi qj − ṁqj pi )+R (23.8-1)
X
∂t p=1
where Ri q is the net rate of production of homogeneous species i by chemical reaction for
phase q, ṁqj pi is the mass transfer source between species i and j from phase q to p, and
R is the heterogeneous reaction rate. In addition, αq is the volume fraction for phase q
and Si q is the rate of creation by addition from the dispersed phase plus any user-defined
sources.
FLUENT treats homogeneous gas phase chemical reactions the same as a single-phase
chemical reaction. The reactants and the products belong to the same mixture material
(set in the Species Model panel), and hence the same phase. The reaction rate is scaled
by the volume fraction of the particular phase in the cell.
The set-up of a homogeneous gas phase chemical reaction in FLUENT is the same as it is
for a single phase. For more information, see Chapter 14: Modeling Species Transport and
Finite-Rate Chemistry. For most multiphase species transport problems, boundary con-
ditions for a particular species are set in the associated phase boundary condition panel
(see Chapter 23.9.8: Defining Multiphase Boundary Conditions), and postprocessing and
c Fluent Inc. September 29, 2006 23-89
Modeling Multiphase Flows
i To turn off reactions for a particular phase, while keeping the reactions
active for other phases. turn on Volumetric under Reactions in the Species
Model panel. Then, in the Materials panel, select none from the Reactions
drop-down list.
The species of different phases is entirely independent. There is no implicit relationship
between them even if they share the same name. Explicit relationships between species of
different phases can be specified through mass transfer and heterogeneous reactions. For
more information on mass transfer and heterogeneous reactions, see Section 23.9.7: In-
cluding Mass Transfer Effects and Section 23.9.6: Specifying Heterogeneous Reactions,
respectively.
Some phases may have a fluid material associated with them instead of a mixture ma-
terial. The species equations are solved in those phases that are assigned a mixture
material. The species equation above is solved for the mass fraction of the species in a
particular phase. The mass transfer and heterogeneous reactions will be associated with
the bulk fluid for phases with a single fluid material.
23.8.1 Limitations
The following limitations exist for the modeling of species transport for multiphase flows:
• The stiff chemistry solver is not available for multiphase species reactions.
• The discrete phase model (DPM) is not compatible with multiphase species trans-
port.
23-90
c Fluent Inc. September 29, 2006
23.8 Modeling Species Transport in Multiphase Flows
aA + bB → cC + dD (23.8-2)
Mass Transfer
where S is the mass source, M is the molecular weight, and R is the reaction rate.
The general expression for the mass source for the ith phase is
γjr Mjr
X
Sri = −R (23.8-5)
ri
γjp Mjp
X
Spi = R (23.8-6)
pi
Si = Spi + Sri (23.8-7)
where γ is the stoichiometric coefficient, p represents the product, and r represents the
reactant.
c Fluent Inc. September 29, 2006 23-91
Modeling Multiphase Flows
Momentum Transfer
Momentum transfer is more complicated, but we can assume that the reactants mix
(conserving momentum) and the products take momentum in the ratio of the rate of
their formation.
The net velocity, ~unet , of the reactants is given by:
aMa~u1 + bMb~u2
~unet = (23.8-8)
aMa + bMb
The general expression for the net velocity of the reactants is given by:
P r r
rγ M ~ ur
~unet = P j r j r j (23.8-9)
r γj Mj
If we assume that there is no momentum transfer, then the above term will be zero.
Species Transfer
23-92
c Fluent Inc. September 29, 2006
23.8 Modeling Species Transport in Multiphase Flows
Heat Transfer
For heat transfer, we need to consider the formation enthalpies of the reactants and
products as well:
The net enthalpy of the reactants is given by:
If we assume that this enthalpy gets distributed to the products in the ratio of their mass
production rates, heat transfer for the phases are given by:
The last term in the above equations appears because our enthalpy is with reference to
the formation enthalpy.
The general expression for the heat source is:
!
p
SiH γjr Mjr Hjr γjp Mjp hf j
X X
= Spi Hnet − R + (23.8-20)
ri pi
If we assume that there is no heat transfer, we can assume that the different species only
carry their formation enthalpies with them. Thus the expression for Hnet will be:
r
γjr Mjr hf j
P
r
Hnet = P r r (23.8-21)
r γj Mj
c Fluent Inc. September 29, 2006 23-93
Modeling Multiphase Flows
1. Enable the multiphase model you want to use (VOF, mixture, or Eulerian) and
specify the number of phases. For the VOF model, specify the VOF formulation
as well.
Define −→ Models −→Multiphase...
See Sections 23.9.1 and 23.10.1 for details.
2. Copy the material representing each phase from the materials database.
Define −→Materials...
If the material you want to use is not in the database, create a new material.
See Section 8.1.2: Using the Materials Panel for details about copying from the
database and creating new materials. See Sections 23.10.5 and 23.11.3 for additional
information about specifying material properties for a compressible phase (VOF
and mixture models only). It is possible to turn off reactions in some materials
by selecting none in the Reactions drop-down list under Properties in the Materials
panel.
3. Define the phases, and specify any interaction between them (e.g., surface tension
if you are using the VOF model, slip velocity functions if you are using the mixture
model, or drag functions if you are using the Eulerian model).
Define −→Phases...
See Sections 23.9.3–23.12.2 for details.
4. (Eulerian model only) If the flow is turbulent, define the multiphase turbulence
model.
Define −→ Models −→Viscous...
See Section 23.12.3: Modeling Turbulence for details.
23-94
c Fluent Inc. September 29, 2006
23.9 Steps for Using a Multiphase Model
5. If body forces are present, turn on gravity and specify the gravitational acceleration.
Define −→Operating Conditions...
See Section 23.9.4: Including Body Forces for details.
8. Initialize the solution and set the initial volume fractions for the secondary phases.
Solve −→ Initialize −→Patch...
See Section 23.14.1: Setting Initial Volume Fractions for details.
This section provides instructions and guidelines for using the VOF, mixture, and Eule-
rian multiphase models.
Information is presented in the following subsections:
c Fluent Inc. September 29, 2006 23-95
Modeling Multiphase Flows
The panel will expand to show the relevant inputs for the selected multiphase model.
23-96
c Fluent Inc. September 29, 2006
23.9 Steps for Using a Multiphase Model
• number of phases
• (optional) implicit body force formulation (see Section 23.9.4: Including Body
Forces)
• number of phases
• whether or not to compute the slip velocities (see Section 23.9.2: Solving a Homo-
geneous Multiphase Flow)
• (optional) implicit body force formulation (see Section 23.9.4: Including Body
Forces)
• number of phases
To specify the number of phases for the multiphase calculation, enter the appropriate
value in the Number of Phases field. You can specify up to 20 phases.
c Fluent Inc. September 29, 2006 23-97
Modeling Multiphase Flows
Each item in the Phase list in this panel is one of two types, as indicated in the Type list:
primary-phase indicates that the selected item is the primary phase, and secondary-phase
indicates that the selected item is a secondary phase. To specify any interaction between
the phases, click the Interaction... button.
Instructions for defining the phases and interaction are provided in Sections 23.10.3,
23.11.1, and 23.12.2 for the VOF, mixture, and Eulerian models, respectively.
23-98
c Fluent Inc. September 29, 2006
23.9 Steps for Using a Multiphase Model
c Fluent Inc. September 29, 2006 23-99
Modeling Multiphase Flows
Figure 23.9.3: The Species Model Panel with a Multiphase Model Enabled
3. Select a specific phase using the Phase drop-down list under Phase Properties.
4. Click the Set... button to display the Phase Properties panel (Figure 23.9.4).
23-100
c Fluent Inc. September 29, 2006
23.9 Steps for Using a Multiphase Model
In the Phase Properties panel, the material for each phase is listed in the Material
drop-down list. From this list, you can choose the material that you want to use
for a specific phase. The drop-down list contains all of the materials that have been
defined for your simulation. If you want to inspect or edit any of the properties
of any of the materials, then you need to open the Materials panel by clicking the
Edit... button.
When modeling multiphase species transport, additional inputs may also be required
depending on your modeling needs. See, for example, Section 23.9.6: Specifying Het-
erogeneous Reactions for more information defining heterogeneous reactions, or Sec-
tion 23.9.7: Including Mass Transfer Effects for more information on mass transfer effects.
c Fluent Inc. September 29, 2006 23-101
Modeling Multiphase Flows
1. In the Phases panel (Figure 23.9.2), click the Interaction... button to open the Phase
Interaction panel.
3. Set the total number of reactions (volumetric reactions, wall surface reactions, and
particle surface reactions) in the Total Number of Heterogeneous Reactions field.
(Use the arrows to change the value, or type in the value and press <Enter>.)
4. Specify the Reaction Name of each reaction that you want to define.
5. Set the ID of each reaction you want to define. (Again, if you type in the value be
sure to press <Enter>.)
23-102
c Fluent Inc. September 29, 2006
23.9 Steps for Using a Multiphase Model
6. For each reaction, specify how many reactants and products are involved in the
reaction by increasing the value of the Number of Reactants and the Number of
Products. Select each reactant or product in the Reaction tab and then set its stoi-
chiometric coefficient in the Stoich. Coefficient field. (The stoichiometric coefficient
0 00
is the constant νi,r or νi,r in Equation 14.1-6.)
7. For each reaction, indicate the Phase and Species and the stoichiometric coefficient
for each of your reactants and products.
8. For each reaction, indicate an applicable user-defined function using the Reaction
Rate Function drop-down list.
i FLUENT assumes that the reactants are mixed thoroughly before reacting
together, thus the heat and momentum transfer is based on this assump-
tion. This assumption can be deactivated using a text command. For more
information, contact your FLUENT support engineer.
• unidirectional constant rate mass transfer (not available for VOF calculations)
• mass transfer through cavitation (only valid for the mixture multiphase model)
Because of the different procedures and limitations involved, defining mass transfer
through cavitation is described separately in Section 23.11.2: Including Cavitation Effects.
c Fluent Inc. September 29, 2006 23-103
Modeling Multiphase Flows
1. In the Phases panel (Figure 23.9.2), click the Interaction... button to open the Phase
Interaction panel.
3. Specify the Number of Mass Transfer Mechanisms. You can include any number
of mass transfer mechanisms in your simulation. Note also that the same pair of
phases can have multiple mass transfer mechanisms and you have the ability to
activate and deactivate the mechanisms of your choice.
4. For each mechanism, specify the phase of the source material under From Phase.
5. If species transport is part of the simulation, and the source phase is composed of
a mixture material, then specify the species of the source phase mixture material
in the corresponding Species drop-down list.
6. For each mechanism, specify the phase of the destination material phase under To
Phase.
23-104
c Fluent Inc. September 29, 2006
23.9 Steps for Using a Multiphase Model
7. If species transport is part of the simulation, and the destination phase is composed
of a mixture material, then specify the species of the destination phase mixture
material in the corresponding Species drop-down list.
8. For each mass transfer mechanism, select the desired mass transfer correlation
under Mechanism. The following choices are available:
constant-rate enables a constant, unidirectional mass transfer.
user-defined allows you to implement a correlation reflecting a model of your
choice, through a user-defined function.
FLUENT will automatically include the terms needed to model mass transfer in all
relevant conservation equations. Another option to model mass transfer between
phases is through the use of user-defined sources and their inclusion in the rele-
vant conservation equations. This approach is a more involved but more powerful,
allowing you to split the source terms according to a model of your choice.
i Note that momentum, energy, and turbulence are also transported with the
mass that is transferred. FLUENT assumes that the reactants are mixed
thoroughly before reacting together, thus the heat and momentum transfer
is based on this assumption. This assumption can be deactivated using
a text command. For more information, contact your FLUENT support
engineer.
When your model involves the transport of multiphase species, you can define a mass
transfer mechanism between species from different phases. If a particular phase does not
have a species associated with it, then the mass transfer throughout the system will be
performed by the bulk fluid material.
i Note that including species transport effects in the mass transport of multi-
phase simulation requires that Species Transport be turned on in the Species
Model panel.
Define −→ Models −→ Species −→Transport & Reaction...
c Fluent Inc. September 29, 2006 23-105
Modeling Multiphase Flows
23-106
c Fluent Inc. September 29, 2006
23.9 Steps for Using a Multiphase Model
VOF Model
If you are using the VOF model, the conditions you need to specify for each type of zone
are listed below and summarized in Table 23.9.1.
• For an exhaust fan, inlet vent, intake fan, outlet vent, pressure inlet, pressure outlet,
or velocity inlet, there are no conditions to be specified for the primary phase. For
each secondary phase, you will need to set the volume fraction as a constant, a
profile (see Section 7.26: Boundary Profiles), or a user-defined function (see the
separate UDF Manual). All other conditions are specified for the mixture.
• For a mass flow inlet, you will need to set the mass flow rate or mass flux for each
individual phase. All other conditions are specified for the mixture.
i Note that if you read a VOF case that was set up in a version of FLUENT
prior to 6.1, you will need to redefine the conditions at the mass flow inlets.
• For an axis, fan, outflow, periodic, porous jump, radiator, solid, symmetry, or wall
zone, all conditions are specified for the mixture. There are no conditions to be set
for the individual phases.
• For a wall zone, you can specify the contact angle if wall adhesion option is enabled.
• For a fluid zone, mass sources are specified for the individual phases, and all other
sources are specified for the mixture.
If the fluid zone is not porous, all other conditions are specified for the mixture.
If the fluid zone is porous, you will enable the Porous Zone option in the Fluid panel
for the mixture. The porosity inputs (if relevant) are also specified for the mixture.
The resistance coefficients and direction vectors, however, are specified separately
for each phase. See Section 7.19.6: User Inputs for Porous Media for details about
these inputs. All other conditions are specified for the mixture.
See Chapter 7: Boundary Conditions for details about the relevant conditions for each
type of boundary. Note that the pressure far-field boundary is not available with the
VOF model.
c Fluent Inc. September 29, 2006 23-107
Modeling Multiphase Flows
Table 23.9.1: Phase-Specific and Mixture Conditions for the VOF Model
23-108
c Fluent Inc. September 29, 2006
23.9 Steps for Using a Multiphase Model
Mixture Model
If you are using the mixture model, the conditions you need to specify for each type of
zone are listed below and summarized in Table 23.9.2.
• For an exhaust fan, outlet vent, or pressure outlet, there are no conditions to be
specified for the primary phase. For each secondary phase, you will need to set the
volume fraction as a constant, a profile (see Section 7.26: Boundary Profiles), or
a user-defined function (see the separate UDF Manual). All other conditions are
specified for the mixture.
• For an inlet vent, intake fan, or pressure inlet, you will specify for the mixture which
direction specification method will be used at this boundary (Normal to Boundary
or Direction Vector). If you select the Direction Vector specification method, you
will specify the coordinate system (3D only) and flow-direction components for
the individual phases. For each secondary phase, you will need to set the volume
fraction (as described above). All other conditions are specified for the mixture.
• For a mass flow inlet, you will need to set the mass flow rate or mass flux for each
individual phase. All other conditions are specified for the mixture.
i Note that if you read a mixture multiphase case that was set up in a version
of FLUENT previous to 6.1, you will need to redefine the conditions at the
mass flow inlets.
• For a velocity inlet, you will specify the velocity for the individual phases. For each
secondary phase, you will need to set the volume fraction (as described above). All
other conditions are specified for the mixture.
• For an axis, fan, outflow, periodic, porous jump, radiator, solid, symmetry, or wall
zone, all conditions are specified for the mixture. There are no conditions to be set
for the individual phases. Outflow boundary conditions are not available for the
cavitation model.
• For a fluid zone, mass sources are specified for the individual phases, and all other
sources are specified for the mixture.
If the fluid zone is not porous, all other conditions are specified for the mixture.
If the fluid zone is porous, you will enable the Porous Zone option in the Fluid panel
for the mixture. The porosity inputs (if relevant) are also specified for the mixture.
The resistance coefficients and direction vectors, however, are specified separately
for each phase. See Section 7.19.6: User Inputs for Porous Media for details about
these inputs. All other conditions are specified for the mixture.
See Chapter 7: Boundary Conditions for details about the relevant conditions for each
type of boundary. Note that the pressure far-field boundary is not available with the
mixture model.
c Fluent Inc. September 29, 2006 23-109
Modeling Multiphase Flows
Table 23.9.2: Phase-Specific and Mixture Conditions for the Mixture Model
23-110
c Fluent Inc. September 29, 2006
23.9 Steps for Using a Multiphase Model
Eulerian Model
If you are using the Eulerian model, the conditions you need to specify for each type
of zone are listed below and summarized in Tables 23.9.3, 23.9.4, 23.9.5, and 23.9.6.
Note that the specification of turbulence parameters will depend on which of the three
multiphase turbulence models you are using, as indicated in Tables 23.9.4–23.9.6. See
Sections 23.5.10 and 23.12.3 for more information about multiphase turbulence models.
• For an exhaust fan, outlet vent, or pressure outlet, there are no conditions to be
specified for the primary phase if you are modeling laminar flow or using the mixture
turbulence model (the default multiphase turbulence model), except for backflow
total temperature if heat transfer is on.
For each secondary phase, you will need to set the volume fraction as a constant,
a profile (see Section 7.26: Boundary Profiles), or a user-defined function (see the
separate UDF Manual). If the phase is granular, you will also need to set its
granular temperature. If heat transfer is on, you will also need to set the backflow
total temperature.
If you are using the mixture turbulence model, you will need to specify the turbu-
lence boundary conditions for the mixture. If you are using the dispersed turbulence
model, you will need to specify them for the primary phase. If you are using the
per-phase turbulence model, you will need to specify them for the primary phase
and for each secondary phase.
All other conditions are specified for the mixture.
• For an inlet vent, intake fan, or pressure inlet, you will specify for the mixture which
direction specification method will be used at this boundary (Normal to Boundary
or Direction Vector). If you select the Direction Vector specification method, you
will specify the coordinate system (3D only) and flow-direction components for
the individual phases. If heat transfer is on, you will also need to set the total
temperature for the individual phases.
For each secondary phase, you will need to set the volume fraction (as described
above). If the phase is granular, you will also need to set its granular temperature.
If you are using the mixture turbulence model, you will need to specify the turbu-
lence boundary conditions for the mixture. If you are using the dispersed turbulence
model, you will need to specify them for the primary phase. If you are using the
per-phase turbulence model, you will need to specify them for the primary phase
and for each secondary phase.
All other conditions are specified for the mixture.
• For a mass flow inlet, you will need to set the mass flow rate or mass flux for each
individual phase. You will also need to specify the temperature of each phase, since
the energy equations are solved for each phase.
c Fluent Inc. September 29, 2006 23-111
Modeling Multiphase Flows
For mass flow inlet boundary conditions, you can specify the slip velocity between
phases. When you select a mass flow inlet boundary for the secondary phase, two
options will be available for the Slip Velocity Specification Method, as shown in
Figure 23.9.8:
– Velocity Ratio
The value for the phase velocity ratio is the secondary phase to primary phase
velocity ratio. By default, it is 1.0, which means velocities are the same (no
slip). By entering a ratio that is greater than 1.0, you are indicating a larger
secondary phase velocity. Otherwise, you can enter a ratio that is less than
1.0 to indicate a smaller secondary phase velocity.
– Volume Fraction
If you specify the volume fraction at an inlet, FLUENT will calculate the phase
velocities.
i If a secondary phase has zero mass flux (i.e., the Eulerian model is used to
run a single phase case), neither Phase Velocity Ratio nor Volume Fraction
will affect the solution.
• For a velocity inlet, you will specify the velocity for the individual phases. If heat
transfer is on, you will also need to set the total temperature for the individual
phases.
23-112
c Fluent Inc. September 29, 2006
23.9 Steps for Using a Multiphase Model
For each secondary phase, you will need to set the volume fraction (as described
above). If the phase is granular, you will also need to set its granular temperature.
If you are using the mixture turbulence model, you will need to specify the turbu-
lence boundary conditions for the mixture. If you are using the dispersed turbulence
model, you will need to specify them for the primary phase. If you are using the
per-phase turbulence model, you will need to specify them for the primary phase
and for each secondary phase.
All other conditions are specified for the mixture.
• For an axis, outflow, periodic, solid, or symmetry zone, all conditions are specified
for the mixture. There are no conditions to be set for the individual phases.
• For a wall zone, shear conditions are specified for the individual phases. All other
conditions are specified for the mixture, including thermal boundary conditions, if
heat transfer is on.
• For a fluid zone, all source terms and fixed values are specified for the individual
phases, unless you are using the mixture turbulence model or the dispersed tur-
bulence model. If you are using the mixture turbulence model, source terms and
fixed values for turbulence are specified instead for the mixture. If you are using
the dispersed turbulence model, they are specified only for the primary phase.
If the fluid zone is not porous, all other conditions are specified for the mixture.
If the fluid zone is porous, you will enable the Porous Zone option in the Fluid panel
for the mixture. The porosity inputs (if relevant) are also specified for the mixture.
The resistance coefficients and direction vectors, however, are specified separately
for each phase. See Section 7.19.6: User Inputs for Porous Media for details about
these inputs. All other conditions are specified for the mixture.
See Chapter 7: Boundary Conditions for details about the relevant conditions for each
type of boundary. Note that the pressure far-field, fan, porous jump, radiator, and mass
flow inlet boundaries are not available with the Eulerian model.
c Fluent Inc. September 29, 2006 23-113
Modeling Multiphase Flows
Table 23.9.3: Phase-Specific and Mixture Conditions for the Eulerian Model
(for Laminar Flow)
Type Primary Phase Secondary Phase Mixture
exhaust fan; (tot. temperature) volume fraction; all others
outlet vent; gran. temperature
pressure outlet (tot. temperature)
inlet vent; coord. system; coord. system; dir. spec.
intake fan; flow direction flow direction; method;
pressure inlet (tot. temperature) volume fraction; all others
gran. temperature
(tot. temperature)
velocity inlet velocity velocity; all others
(tot. temperature) volume fraction;
gran. temperature
(tot. temperature)
axis; nothing nothing all others
outflow;
periodic;
solid;
symmetry
wall shear condition shear condition all others
pressure not available not available not available
far-field;
fan;
porous jump;
radiator;
mass flow inlet
fluid all source terms; all source terms; porous zone;
all fixed values; all fixed values; porosity;
other porous inputs other porous inputs all others
23-114
c Fluent Inc. September 29, 2006
23.9 Steps for Using a Multiphase Model
Table 23.9.4: Phase-Specific and Mixture Conditions for the Eulerian Model
(with the Mixture Turbulence Model)
Type Primary Phase Secondary Phase Mixture
exhaust fan; (tot. temperature) volume fraction; all others
outlet vent; gran. temperature
pressure outlet (tot. temperature)
inlet vent; coord. system; coord. system; dir. spec.
intake fan; flow direction flow direction; method;
pressure inlet (tot. temperature) volume fraction; all others
gran. temperature
(tot. temperature)
velocity inlet velocity velocity; all others
(tot. temperature) volume fraction;
gran. temperature
(tot. temperature)
axis; nothing nothing all others
outflow;
periodic;
solid;
symmetry
wall shear condition shear condition all others
pressure not available not available not available
far-field;
fan;
porous jump;
radiator;
mass flow inlet
fluid other source terms; other source terms; source terms for
other fixed values; other fixed values; turbulence;
other porous inputs other porous inputs fixed values for
turbulence;
porous zone;
porosity;
all others
c Fluent Inc. September 29, 2006 23-115
Modeling Multiphase Flows
Table 23.9.5: Phase-Specific and Mixture Conditions for the Eulerian Model
(with the Dispersed Turbulence Model)
Type Primary Phase Secondary Phase Mixture
exhaust fan; turb. parameters volume fraction; all others
outlet vent; (tot. temperature) gran. temperature
pressure outlet (tot. temperature)
inlet vent; coord. system; coord. system; dir. spec.
intake fan; flow direction; flow direction; method;
pressure inlet turb. parameters; volume fraction; all others
(tot. temperature) gran. temperature
(tot. temperature)
velocity inlet velocity; velocity; all others
turb. parameters volume fraction;
(tot. temperature) gran. temperature
(tot. temperature)
axis; nothing nothing all others
outflow;
periodic;
solid;
symmetry
wall shear condition shear condition all others
pressure not available not available not available
far-field;
fan;
porous jump;
radiator;
mass flow inlet
fluid momentum, mass, momentum and mass porous zone;
turb. sources; sources; porosity;
momentum, mass, momentum and mass all others
turb. fixed values; fixed values;
other porous inputs other porous inputs
23-116
c Fluent Inc. September 29, 2006
23.9 Steps for Using a Multiphase Model
Table 23.9.6: Phase-Specific and Mixture Conditions for the Eulerian Model
(with the Per-Phase Turbulence Model)
Type Primary Phase Secondary Phase Mixture
exhaust fan; turb. parameters volume fraction; all others
outlet vent; (tot. temperature) turb. parameters;
pressure outlet gran. temperature
(tot. temperature)
inlet vent; coord. system; coord. system; dir. spec.
intake fan; flow direction; flow direction; method;
pressure inlet turb. parameters volume fraction; all others
(tot. temperature) turb. parameters;
gran. temperature
(tot. temperature)
velocity inlet velocity; velocity; all others
turb. parameters volume fraction;
(tot. temperature) turb. parameters;
gran. temperature
(tot. temperature)
axis; nothing nothing all others
outflow;
periodic;
solid;
symmetry
wall shear condition shear condition all others
pressure not available not available not available
far-field;
fan;
porous jump;
radiator;
mass flow inlet
fluid momentum, mass, momentum, mass, porous zone;
turb. sources; turb. sources; porosity;
momentum, mass, momentum, mass, all others
turb. fixed values; turb. fixed values;
other porous inputs other porous inputs
c Fluent Inc. September 29, 2006 23-117
Modeling Multiphase Flows
1. Select the boundary in the Zone list in the Boundary Conditions panel.
2. Set the conditions for the mixture at this boundary, if necessary. (See above for
information about which conditions need to be set for the mixture.)
(a) In the Phase drop-down list, select mixture.
(b) If the current Type for this zone is correct, click Set... to open the corresponding
panel (e.g., the Pressure Inlet panel); otherwise, choose the correct zone type
in the Type list, confirm the change (when prompted), and the corresponding
panel will open automatically.
(c) In the corresponding panel for the zone type you have selected (e.g., the Pres-
sure Inlet panel, shown in Figure 23.9.9), specify the mixture boundary condi-
tions.
Note that only those conditions that apply to all phases, as described above,
will appear in this panel.
i For a VOF calculation, if you enabled the Wall Adhesion option in the
Phase Interaction panel, you can specify the contact angle at the wall for
each pair of phases as a constant (as shown in Figure 23.9.10) or a UDF
(see the UDF manual for more information).
The contact angle (θw in Figure 23.3.3) is the angle between the wall and the
tangent to the interface at the wall, measured inside the phase listed in the
left column under Wall Adhesion in the Momentum tab of the Wall panel. For
23-118
c Fluent Inc. September 29, 2006
23.9 Steps for Using a Multiphase Model
example, if you are setting the contact angle between the oil and air phases in
the Wall panel shown in Figure 23.9.10, θw is measured inside the oil phase.
Figure 23.9.10: The Wall Panel for a Mixture in a VOF Calculation with
Wall Adhesion
The default value for all pairs is 90 degrees, which is equivalent to no wall
adhesion effects (i.e., the interface is normal to the adjacent wall). A contact
angle of 45◦ , for example, corresponds to water creeping up the side of a
container, as is common with water in a glass.
(d) Click OK when you are done setting the mixture boundary conditions.
c Fluent Inc. September 29, 2006 23-119
Modeling Multiphase Flows
3. Set the conditions for each phase at this boundary, if necessary. (See above for
information about which conditions need to be set for the individual phases.)
(a) In the Phase drop-down list, select the phase (e.g., water).
i Note that, when you select one of the individual phases (rather than the
mixture), only one type of zone appears in the Type list. It is not possible
to assign phase-specific zone types at a given boundary; the zone type is
specified for the mixture, and it applies to all of the individual phases.
(b) Click Set... to open the panel for this phase’s conditions (e.g., the Pressure
Inlet panel, shown in Figure 23.9.11).
(c) Specify the conditions for the phase. Note that only those conditions that
apply to the individual phase, as described above, will appear in this panel.
(d) Click OK when you are done setting the phase-specific boundary conditions.
23-120
c Fluent Inc. September 29, 2006
23.10 Setting Up the VOF Model
1. In the Boundary Conditions panel, click the Copy... button. This will open the Copy
BCs panel.
2. In the From Zone list, select the zone that has the conditions you want to copy.
3. In the To Zones list, select the zone or zones to which you want to copy the condi-
tions.
4. In the Phase drop-down list, select the phase for which you want to copy the
conditions (either mixture or one of the individual phases).
i Note that copying the boundary conditions for one phase does not auto-
matically result in the boundary conditions for the other phases and the
mixture being copied as well. You need to copy the conditions for each
phase on each boundary of interest.
5. Click Copy. FLUENT will set all of the selected phase’s (or mixture’s) boundary
conditions on the zones selected in the To Zones list to be the same as that phase’s
conditions on the zone selected in the From Zone list. (You cannot copy a subset
of the conditions, such as only the thermal conditions.)
See Section 7.1.5: Copying Boundary Conditions for additional information about copying
boundary conditions, including limitations.
c Fluent Inc. September 29, 2006 23-121
Modeling Multiphase Flows
Explicit Schemes
• Time-dependent with the explicit interpolation scheme: Since the donor-acceptor
scheme is available only for quadrilateral and hexahedral meshes, it cannot be used
for a hybrid mesh containing twisted hexahedral cells. For such cases, you should
use the time-dependent explicit scheme. This formulation can also be used for
other cases in which the geometric reconstruction scheme does not give satisfactory
results, or the flow calculation becomes unstable. Note that the CICSAM scheme or
the modified HRIC scheme can be computationally inexpensive when compared to
the geometric reconstruction scheme and improves the robustness and stability of
the calculations. The Volume Fraction discretizations, Modified HRIC and CICSAM,
are available in the Solution Controls panel when the explicit VOF scheme is selected.
Note that FLUENT will automatically turn on the unsteady formulation with first-
order discretization for time in the Solver panel.
If your response is yes, then many more discretization schemes will be available
for your selection. You can now use this formulation by selecting Donor-Acceptor
as the Volume Fraction Discretization in the Solution Controls panel.
• The CICSAM scheme gives interface sharpness of the same level as the geometric
reconstruction scheme and is particularly suitable for flows with high viscosity ratios
between the phases.
23-122
c Fluent Inc. September 29, 2006
23.10 Setting Up the VOF Model
To use this formulation, select Explicit as the VOF Scheme in the Multiphase panel,
then select CICSAM as the Volume Fraction Discretization in the Solution Controls
panel.
While the explicit time-dependent formulation is less computationally expensive
than the geometric reconstruction scheme, the interface between phases will not be
as sharp as that predicted with the geometric reconstruction scheme. To reduce this
diffusivity, it is recommended that you use the second-order discretization scheme
for the volume fraction equations. In addition, you may want to consider turning
the geometric reconstruction scheme back on after calculating a solution with the
implicit scheme, in order to obtain a sharper interface.
Implicit Schemes
• Time-dependent with the implicit interpolation scheme: This formulation can be
used if you are looking for a steady-state solution and you are not interested in the
intermediate transient flow behavior, but the final steady-state solution is dependent
on the initial flow conditions and/or you do not have a distinct inflow boundary
for each phase.
To use this formulation, select Implicit as the VOF Scheme, and enable an Unsteady
calculation in the Solver panel (opened with the Define/Models/Solver... menu
item).
• Steady-state with the implicit interpolation scheme: This formulation can be used if
you are looking for a steady-state solution, you are not interested in the intermediate
transient flow behavior, and the final steady-state solution is not affected by the
initial flow conditions and there is a distinct inflow boundary for each phase. Note
that the implicit modified HRIC scheme can be used as a robust alternative to the
explicit geometric reconstruction scheme.
To use this formulation, select Implicit as the VOF Scheme in the Multiphase panel,
then select Modified HRIC as the Volume Fraction Discretization in the Solution Con-
trols panel.
c Fluent Inc. September 29, 2006 23-123
Modeling Multiphase Flows
Examples
To help you determine the best formulation to use for your problem, examples that use
different formulations are listed below:
• jet breakup
Use the explicit scheme (time-dependent with the geometric reconstruction scheme
or the donor-acceptor) if problems occur with the geometric reconstruction scheme.
1. Turn on gravity.
(a) Open the Operating Conditions panel.
Define −→Operating Conditions...
(b) Turn on Gravity and set the gravitational acceleration fields.
23-124
c Fluent Inc. September 29, 2006
23.10 Setting Up the VOF Model
In order to set specific parameters for a particular boundary for open channel flows,
turn on the Open Channel Flow option in the corresponding boundary condition panel.
Table 23.10.1 summarizes the types of boundaries available to the open channel flow
boundary condition, and the additional parameters needed to model open channel flow.
For more information on setting boundary condition parameters, see Chapter 7: Boundary
Conditions.
Table 23.10.1: Open Channel Boundary Parameters for the VOF Model
c Fluent Inc. September 29, 2006 23-125
Modeling Multiphase Flows
i In three-phase flows, the outlet should represent the outlet group, i.e.,
separate outlets for each phase are not recommended in three-phase flows.
• Since the Inlet Group ID is used to identify the inlets of the same inlet group, general
information such as Free Surface Level, Bottom Level, or the mass flow rate for each
phase should be the same for each inlet of the same inlet group.
• You should specify a different Inlet Group ID for each distinct inlet group.
For example, consider the case of two inlet groups for a particular problem. The
first inlet group consists of water and air entering through the same inlet (a single
face zone). In this case, you would specify an inlet group ID of 1 for that inlet (or
inlet group). The second inlet group consists of oil and air entering through the
same inlet group, but each uses a different inlet (oil-inlet and air-inlet) for
each phase. In this case, you would specify the same Inlet Group ID of 2 for both of
the inlets that belong to the inlet group.
23-126
c Fluent Inc. September 29, 2006
23.10 Setting Up the VOF Model
• Since the Outlet Group ID is used to identify the outlets of the same outlet group,
general information such as Free Surface Level or Bottom Level should be the same
for each outlet of the same outlet group.
• You should specify a different Outlet Group ID for each distinct outlet group.
For example, consider the case of two outlet groups for a particular problem. The
first inlet group consists of water and air exiting from the same outlet (a single face
zone). In this case, you would specify an outlet number of 1 for that outlet (or
outlet group). The second outlet group consists of oil and air exiting through the
same outlet group, but each uses a different outlet (oil-outlet and air-outlet)
for each phase. In this case, you would specify the same Outlet Group ID of 2 for
both of the outlets that belong to the outlet group.
i For three-phase flows, when all the phases are leaving through the same
outlet, the outlet should consist only of a single face zone.
ylocal = −(−
→
a · ĝ) (23.10-1)
where −→
a is the position vector of any point on the free surface, and ĝ is the unit vector
in the direction of the force of gravity. Here we assume a horizontal free surface that is
normal to the direction of gravity.
We can simply calculate the free surface level in two steps:
1. Determine the absolute value of height from the free surface to the origin in the
direction of gravity.
2. Apply the correct sign based on whether the free surface level is above or below
the origin.
If the liquid’s free surface level lies above the origin, then the Free Surface Level is positive
(see Figure 23.10.1). Likewise, if the liquid’s free surface level lies below the origin, then
the Free Surface Level is negative.
c Fluent Inc. September 29, 2006 23-127
Modeling Multiphase Flows
→
−
ybottom = −( b · ĝ) (23.10-2)
→
−
where b is the position vector of any point on the bottom of the channel, and ĝ is the
unit vector of gravity. Here we assume a horizontal free surface that is normal to the
direction of gravity.
We can simply calculate the bottom level in two steps:
1. Determine the absolute value of depth from the bottom level to the origin in the
direction of gravity.
2. Apply the correct sign based on whether the bottom level is above or below the
origin.
If the channel’s bottom lies above the origin, then the Bottom Level is positive (see
Figure 23.10.1). Likewise, if the channel’s bottom lies below the origin, then the Bottom
Level is negative.
Reference Level
Origin
Figure 23.10.1: Determining the Free Surface Level and the Bottom Level
23-128
c Fluent Inc. September 29, 2006
23.10 Setting Up the VOF Model
V2
ytot = ylocal + (23.10-3)
2g
i Note that only one secondary phase is allowed to pass through one inlet
group.
Consider a problem involving a three-phase flow consisting of air as the primary phase,
and oil and water as the secondary phases. Consider also that there are two inlet groups:
For the former inlet group, you would choose water as the secondary phase. For the
latter inlet group, you would choose oil as the secondary phase.
i This option is not available in the case of three-phase flows since the pres-
sure on the boundary is taken from the neighboring cell.
c Fluent Inc. September 29, 2006 23-129
Modeling Multiphase Flows
Limitations
The following list summarizes some issues and limitations associated with the open chan-
nel boundary condition.
• The conservation of the Bernoulli integral does not provide the conservation of
mass flow rate for the pressure boundary. In the case of a coarser mesh, there can
be a significant difference in mass flow rate from the actual mass flow rate. For
finer meshes, the mass flow rate comes closer to the actual value. So, for problems
having constant mass flow rate, the mass flow rate boundary condition is a better
option. The pressure boundary should be selected when steady and nonoscillating
drag is the main objective.
• Specifying the top boundary as the pressure outlet can sometimes lead to a diver-
gent solution. This may be due to the corner singularity at the pressure boundary
in the air region or due to the inability to specify local flow direction correctly if
the air enters through the top locally.
• In the case of three-phase flows, only one secondary phase is allowed to enter
through one inlet group (i.e., the mixed inflow of different secondary phases is not
allowed).
• In the cases where the inlet group has a different inlet for each phase of fluid, then
the parameter values (such as Free Surface Level, Bottom Level, and Mass Flow Rate)
for each inlet should correspond to all other inlets that belong to the inlet group.
• The solution begins with an estimated pressure profile at the outlet boundary.
In general, you can start the solution by assuming that the level of liquid at the
outlet corresponds to the level of liquid at the inlet. The convergence and solution
time is very dependent on the initial conditions. When the flow is completely
subcritical (upstream and downstream), in marine applications for instance, the
above approach is recommended.
If the final conditions of the flow can be predicted by other means, the solution
time can be significantly reduced by using the proper boundary condition.
23-130
c Fluent Inc. September 29, 2006
23.10 Setting Up the VOF Model
• For the initial stability of the solution, a smaller time step is recommended. You
can increase the time step once the solution becomes more stable.
i In general, you can specify the primary and secondary phases whichever
way you prefer. It is a good idea, especially in more complicated problems,
to consider how your choice will affect the ease of problem setup. For
example, if you are planning to patch an initial volume fraction of 1 for
one phase in a portion of the domain, it may be more convenient to make
that phase a secondary phase. Also, if one of the phases is a compressible
ideal gas, it is recommended that you specify it as the primary phase to
improve solution stability.
i Recall that only one of the phases can be a compressible ideal gas. Be sure
that you do not select a compressible ideal gas material (i.e., a material
that uses the compressible ideal gas law for density) for more than one of
the phases. See Sections 23.10.5 and 23.11.3 for details.
c Fluent Inc. September 29, 2006 23-131
Modeling Multiphase Flows
4. Specify which material the phase contains by choosing the appropriate material in
the Phase Material drop-down list.
23-132
c Fluent Inc. September 29, 2006
23.10 Setting Up the VOF Model
Figure 23.10.3: The Secondary Phase Panel for the VOF Model
4. Specify which material the phase contains by choosing the appropriate material in
the Phase Material drop-down list.
5. Define the material properties for the Phase Material, following the procedure out-
lined above for setting the material properties for the primary phase.
c Fluent Inc. September 29, 2006 23-133
Modeling Multiphase Flows
i Note that the calculation of surface tension effects will be more accurate
if you use a quadrilateral or hexahedral mesh in the area(s) of the compu-
tational domain where surface tension is significant. If you cannot use a
quadrilateral or hexahedral mesh for the entire domain, then you should
use a hybrid mesh, with quadrilaterals or hexahedra in the affected areas.
FLUENT also offers an option to use VOF gradients at the nodes for cur-
vature calculations on meshes when more accuracy is desired. For more
information, see Section 23.3.8: Surface Tension and Wall Adhesion.
If you want to include the effects of surface tension along the interface between one or
more pairs of phases, as described in Section 23.3.8: Surface Tension and Wall Adhesion,
click Interaction... to open the Phase Interaction panel (Figure 23.10.4).
Figure 23.10.4: The Phase Interaction Panel for the VOF Model (Surface Ten-
sion Tab)
23-134
c Fluent Inc. September 29, 2006
23.10 Setting Up the VOF Model
Perform the following steps to include surface tension (and, if appropriate, wall adhesion)
effects along the interface between one or more pairs of phases:
2. If you want to include wall adhesion, turn on the Wall Adhesion option. When Wall
Adhesion is enabled, you will need to specify the contact angle at each wall as a
boundary condition (as described in Section 23.9.8: Defining Multiphase Boundary
Conditions).
3. For each pair of phases between which you want to include the effects of surface
tension, specify a constant surface tension coefficient. Alternatively you can spec-
ify a temperature dependent, polynomial, piece-wise polynomial, piecewise linear,
or a user-defined surface tension coefficient. See Section 23.3.8: Surface Tension
and Wall Adhesion for more information on surface tension, and the separate UDF
Manual for more information on user-defined functions. All surface tension coeffi-
cients are equal to 0 by default, representing no surface tension effects along the
interface between the two phases.
c Fluent Inc. September 29, 2006 23-135
Modeling Multiphase Flows
There are two inputs for the time-dependent calculation for the VOF model:
• By default, FLUENT will solve the volume fraction equation(s) once for each time
step. This means that the convective flux coefficients appearing in the other trans-
port equations will not be completely updated each iteration, since the volume
fraction fields will not change from iteration to iteration.
If you want FLUENT to solve the volume fraction equation(s) at every iteration
within a time step, use the text command:
define −→ models −→ multiphase −→
and select vof as the model. When prompted to solve vof every iteration?,
enter yes. When FLUENT solves these equations every iteration, the convective flux
coefficients in the other transport equations will be updated based on the updated
volume fractions at each iteration. This choice is the less stable of the two, and
requires more computational effort per time step than the default choice.
i If you are using sliding meshes, or dynamic meshes with layering and/or
remeshing, using the solve vof every iteration? option will yield
more accurate results, although at a greater computational cost.
• When FLUENT performs a time-dependent VOF calculation, the time step used
for the volume fraction calculation will not be the same as the time step used for
the rest of the transport equations. FLUENT will refine the time step for VOF
automatically, based on your input for the maximum Courant Number allowed near
the free surface. The Courant number is a dimensionless number that compares
the time step in a calculation to the characteristic time of transit of a fluid element
across a control volume:
∆t
(23.10-4)
∆xcell /vfluid
In the region near the fluid interface, FLUENT divides the volume of each cell by
the sum of the outgoing fluxes. The resulting time represents the time it would
take for the fluid to empty out of the cell. The smallest such time is used as
the characteristic time of transit for a fluid element across a control volume, as
described above. Based upon this time and your input for the maximum allowed
Courant Number in the Multiphase Models panel, a time step is computed for use
in the VOF calculation. For example, if the maximum allowed Courant number
is 0.25 (the default), the time step will be chosen to be at most one-fourth the
minimum transit time for any cell near the interface.
Note that these inputs are not required when the implicit scheme is used.
23-136
c Fluent Inc. September 29, 2006
23.10 Setting Up the VOF Model
• Only one of the phases can be defined as a compressible ideal gas (i.e., you can
select the ideal gas law for the density of only one phase’s material). There is no
limitation on using compressible liquids using user-defined functions.
• When using the VOF model, for stability reasons, it is better (although not re-
quired) if the primary phase is a compressible ideal gas.
• If you specify the total pressure at a boundary (e.g., for a pressure inlet or intake
fan) the specified value for temperature at that boundary will be used as total
temperature for the compressible phase, and as static temperature for the other
phases (which are incompressible).
• For each mass flow inlet, you will need to specify mass flow or mass flux for each
individual phase.
i Note that if you read a case file that was set up in a version of FLUENT
previous to 6.1, you will need to redefine the conditions at the mass flow
inlets. See Section 23.9.8: Defining Multiphase Boundary Conditions for
more information on defining conditions for a mass flow inlet in VOF mul-
tiphase calculations.
See Section 9.6: Compressible Flows for more information about compressible flows.
c Fluent Inc. September 29, 2006 23-137
Modeling Multiphase Flows
• For phases that are not melting or solidifying, you must set the latent heat (L),
liquidus temperature (Tliquidus ), and solidus temperature (Tsolidus ) to zero.
See Chapter 24: Modeling Solidification and Melting for more information about melting
and solidification.
i Recall that only one of the phases can be a compressible ideal gas. Be sure
that you do not select a compressible ideal gas material (i.e., a material
that uses the compressible ideal gas law for density) for more than one of
the phases. See Section 23.11.3: Modeling Compressible Flows for details.
23-138
c Fluent Inc. September 29, 2006
23.11 Setting Up the Mixture Model
Figure 23.11.1: The Secondary Phase Panel for the Mixture Model
4. Specify which material the phase contains by choosing the appropriate material in
the Phase Material drop-down list.
5. Define the material properties for the Phase Material, following the same pro-
cedure you used to set the material properties for the primary phase (see Sec-
tion 23.10.3: Defining the Primary Phase). For a particulate phase (which must
be placed in the fluid materials category, as mentioned in Section 23.9: Steps for
Using a Multiphase Model), you need to specify only the density; you can ignore
the values for the other properties, since they will not be used.
6. In the Secondary Phase panel, specify the Diameter of the bubbles, droplets, or
particles of this phase (dp in Equation 23.4-12). You can specify a constant value,
or use a user-defined function. See the separate UDF Manual for details about
user-defined functions. Note that when you are using the mixture model without
slip velocity, this input is not necessary, and it will not be available to you.
c Fluent Inc. September 29, 2006 23-139
Modeling Multiphase Flows
Figure 23.11.2: The Secondary Phase Panel for a Granular Phase Using the
Mixture Model
4. Specify which material the phase contains by choosing the appropriate material in
the Phase Material drop-down list.
23-140
c Fluent Inc. September 29, 2006
23.11 Setting Up the Mixture Model
5. Define the material properties for the Phase Material, following the same pro-
cedure you used to set the material properties for the primary phase (see Sec-
tion 23.10.3: Defining the Primary Phase). For a granular phase (which must be
placed in the fluid materials category, as mentioned in Section 23.9: Steps for Us-
ing a Multiphase Model), you need to specify only the density; you can ignore the
values for the other properties, since they will not be used.
i Note that all properties for granular flows can utilize user-defined functions
(UDFs).
See the separate UDF Manual for details about user-defined functions.
7. In the Secondary Phase panel, specify the following properties of the particles of
this phase:
Diameter specifies the diameter of the particles. You can select constant in the
drop-down list and specify a constant value, or select user-defined to use a user-
defined function. See the separate UDF Manual for details about user-defined
functions.
Granular Viscosity specifies the kinetic part of the granular viscosity of the par-
ticles (µs,kin in Equation 23.4-18). You can select constant (the default) in the
drop-down list and specify a constant value, select syamlal-obrien to compute
the value using Equation 23.4-20, select gidaspow to compute the value using
Equation 23.4-21, or select user-defined to use a user-defined function.
Granular Temperature specifies temperature for the solids phase and is propor-
tional to the kinetic energy of the random motion of the particles. Choose
either the algebraic, the constant, or user-defined option.
Solids Pressure specifies the pressure gradient term, ∇ps , in the granular-phase
momentum equation. Choose either the lun-et-al, the syamlal-obrien, the ma-
ahmadi, or the user-defined option.
Radial Distribution specifies a correction factor that modifies the probability of
collisions between grains when the solid granular phase becomes dense. Choose
either the lun-et-al, the syamlal-obrien, the ma-ahmadi, the arastoopour, or a
user-defined option.
Elasticity Modulus is defined as
∂Ps
G= (23.11-1)
∂αs
with G ≥ 0.
Choose either the derived or user-defined options.
c Fluent Inc. September 29, 2006 23-141
Modeling Multiphase Flows
Packing Limit specifies the maximum volume fraction for the granular phase
(αs,max ). For monodispersed spheres, the packing limit is about 0.63, which is
the default value in FLUENT. In polydispersed cases, however, smaller spheres
can fill the small gaps between larger spheres, so you may need to increase the
maximum packing limit.
Figure 23.11.3: The Phase Interaction Panel for the Mixture Model (Drag
Tab)
23-142
c Fluent Inc. September 29, 2006
23.11 Setting Up the Mixture Model
Figure 23.11.4: The Phase Interaction Panel for the Mixture Model (Slip Tab)
Under Slip Velocity, you can specify the slip velocity function for each secondary phase
with respect to the primary phase by choosing the appropriate item in the adjacent
drop-down list.
• Select maninnen-et-al (the default) to use the algebraic slip method of Manninen et
al. [230], described in Section 23.4.5: Relative (Slip) Velocity and the Drift Velocity.
• Select none if the secondary phase has the same velocity as the primary phase (i.e.,
no slip velocity).
• Select user-defined to use a user-defined function for the slip velocity. See the
separate UDF Manual for details.
c Fluent Inc. September 29, 2006 23-143
Modeling Multiphase Flows
Figure 23.11.5: The Phase Interaction Panel for Mass Transfer with Cavita-
tion Enabled
When you are using FLUENT’s cavitation model, you will specify three parameters to be
used in the calculation of mass transfer due to cavitation. Under Cavitation Parameters
in the Phase Interaction panel, set the Vaporization Pressure (psat in Equation 23.7-15),
the Surface Tension Coefficient , and the Non-Condensable Gas Mass Fraction . The default
value of psat is 2540 Pa, the vaporization pressure for water at ambient temperature.
Note that psat and the surface tension are properties of the liquid, depending mainly on
temperature. Non-Condensable Gas Mass Fraction is the mass fraction of dissolved gases,
which depends on the purity of the liquid.
23-144
c Fluent Inc. September 29, 2006
23.11 Setting Up the Mixture Model
When multiple species are included in one or more secondary phases, or the heat transfer
due to phase change needs to be taken into account, the mass transfer mechanism must
be defined before turning on the Cavitation option. This is defined in the same way as
described Section 23.9.7: Including Mass Transfer Effects. It may be noted, however,
that for cavitation problems, at least two mass transfer mechanisms are defined:
In the Phase Interaction panel (Figure 23.11.6), you should choose the constant-rate op-
tion in the Mechanism drop-down list and leave the value as 0 for both mass transfer
mechanisms before turning on the Cavitation option.
Figure 23.11.6: The Phase Interaction Panel for Mass Transfer with Cavita-
tion Disabled
c Fluent Inc. September 29, 2006 23-145
Modeling Multiphase Flows
• Only one of the phases can be defined as a compressible ideal gas (i.e., you can
select the ideal gas law for the density of only one phase’s material). There is no
limitation on using compressible liquids using user-defined functions.
• If you specify the total pressure at a boundary (e.g., for a pressure inlet or intake
fan) the specified value for temperature at that boundary will be used as total
temperature for the compressible phase, and as static temperature for the other
phases (which are incompressible).
• For each mass flow inlet, you will need to specify mass flow or mass flux for each
individual phase.
i Note that if you read a case file that was set up in a version of FLUENT
previous to 6.1, you will need to redefine the conditions at the mass flow
inlets. See Section 23.9.8: Defining Multiphase Boundary Conditions for
more information on defining conditions for a mass flow inlet in mixture
multiphase calculations.
See Section 9.6: Compressible Flows for more information about compressible flows.
23-146
c Fluent Inc. September 29, 2006
23.12 Setting Up the Eulerian Model
You may find that even a very simple approximation will provide you with useful infor-
mation about your problem.
See Section 23.14.4: Eulerian Model for more solution strategies for Eulerian multiphase
calculations.
c Fluent Inc. September 29, 2006 23-147
Modeling Multiphase Flows
23-148
c Fluent Inc. September 29, 2006
23.12 Setting Up the Eulerian Model
4. Specify which material the phase contains by choosing the appropriate material in
the Phase Material drop-down list.
c Fluent Inc. September 29, 2006 23-149
Modeling Multiphase Flows
5. Define the material properties for the Phase Material, following the same pro-
cedure you used to set the material properties for the primary phase (see Sec-
tion 23.10.3: Defining the Primary Phase). For a granular phase (which must be
placed in the fluid materials category, as mentioned in Section 23.9: Steps for Us-
ing a Multiphase Model), you need to specify only the density; you can ignore the
values for the other properties, since they will not be used.
i Note that all properties for granular flows can utilize user-defined functions
(UDFs).
See the separate UDF Manual for details about user-defined functions.
6. Turn on the Granular option.
7. (optional) Turn on the Packed Bed option if you want to freeze the velocity field for
the granular phase. Note that when you select the packed bed option for a phase,
you should also use the fixed velocity option with a value of zero for all velocity
components for all interior cell zones for that phase.
8. Specify the Granular Temperature Model. Choose either the default Phase Prop-
erty option or the Partial Differential Equation option. See Section 23.5.8: Granular
Temperature for details.
9. In the Secondary Phase panel, specify the following properties of the particles of
this phase:
Diameter specifies the diameter of the particles. You can select constant in the
drop-down list and specify a constant value, or select user-defined to use a user-
defined function. See the separate UDF Manual for details about user-defined
functions.
Granular Viscosity specifies the kinetic part of the granular viscosity of the par-
ticles (µs,kin in Equation 23.5-62). You can select constant (the default) in the
drop-down list and specify a constant value, select syamlal-obrien to compute
the value using Equation 23.5-64, select gidaspow to compute the value using
Equation 23.5-65, or select user-defined to use a user-defined function.
Granular Bulk Viscosity specifies the solids bulk viscosity (λq in Equation 23.5-6).
You can select constant (the default) in the drop-down list and specify a con-
stant value, select lun-et-al to compute the value using Equation 23.5-66, or
select user-defined to use a user-defined function.
Frictional Viscosity specifies a shear viscosity based on the viscous-plastic flow
(µs,fr in Equation 23.5-62). By default, the frictional viscosity is neglected,
as indicated by the default selection of none in the drop-down list. If you
want to include the frictional viscosity, you can select constant and specify a
constant value, select schaeffer to compute the value using Equation 23.5-67,
select johnson-et-al to compute the value using Equation 23.5-72, or select
user-defined to use a user-defined function.
23-150
c Fluent Inc. September 29, 2006
23.12 Setting Up the Eulerian Model
Angle of Internal Friction specifies a constant value for the angle φ used in Scha-
effer’s expression for frictional viscosity (Equation 23.5-67). This parameter
is relevant only if you have selected schaeffer or user-defined for the Frictional
Viscosity.
Frictional Pressure specifies the pressure gradient term, ∇Pf riction , in the granular-
phase momentum equation. Choose none to exclude frictional pressure from
your calculation, johnson-et-al to apply Equation 23.5-72, syamlal-obrien to ap-
ply Equation 23.5-30, based-ktgf, where the frictional pressure is defined by the
kinetic theory [81]. The solids pressure tends to a large value near the packing
limit, depending on the model selected for the radial distribution function.
You must hook a user-defined function when selecting the user-defined option.
See the separate UDF manual for information on hooking a UDF.
Frictional Modulus is defined as
∂Pf riction
G= (23.12-1)
∂αf riction
with G ≥ 0, which is the derived option. You can also specify a user-defined
function for the frictional modulus.
Friction Packing Limit specifies the maximum volume fraction for the granular
phase (αs,max ). For monodispersed spheres, the packing limit is about 0.63,
which is the default value in FLUENT. In polydispersed cases, however, smaller
spheres can fill the small gaps between larger spheres, so you may need to
increase the maximum packing limit.
Granular Conductivity specifies the solids granular conductivity (kΘs in
Equation 23.5-75). You can select syamlal-obrien to compute the value using
Equation 23.5-76, select gidaspow to compute the value using Equation 23.5-77,
or select user-defined to use a user-defined function. Note, however, that FLU-
ENT currently uses an algebraic relation for the granular temperature. This
has been obtained by neglecting convection and diffusion in the transport
equation, Equation 23.5-75 [364].
Granular Temperature specifies temperature for the solids phase and is propor-
tional to the kinetic energy of the random motion of the particles. Choose
either the algebraic, the constant, or user-defined option.
Solids Pressure specifies the pressure gradient term, ∇ps , in the granular-phase
momentum equation. Choose either the lun-et-al, the syamlal-obrien, the ma-
ahmadi, none, or a user-defined option.
Radial Distribution specifies a correction factor that modifies the probability of
collisions between grains when the solid granular phase becomes dense. Choose
either the lun-et-al, the syamlal-obrien, the ma-ahmadi, the arastoopour, or a
user-defined option.
c Fluent Inc. September 29, 2006 23-151
Modeling Multiphase Flows
Figure 23.12.3: The Phase Interaction Panel for the Eulerian Model
23-152
c Fluent Inc. September 29, 2006
23.12 Setting Up the Eulerian Model
FLUENT allows you to specify a drag function for each pair of phases. Perform the
following steps:
2. For each pair of phases, select the appropriate drag function from the corresponding
drop-down list.
• Select schiller-naumann to use the fluid-fluid drag function described by Equa-
tion 23.5-18. The Schiller and Naumann model is the default method, and it
is acceptable for general use in all fluid-fluid multiphase calculations.
• Select morsi-alexander to use the fluid-fluid drag function described by Equa-
tion 23.5-22. The Morsi and Alexander model is the most complete, adjusting
the function definition frequently over a large range of Reynolds numbers, but
calculations with this model may be less stable than with the other models.
• Select symmetric to use the fluid-fluid drag function described by
Equation 23.5-27. The symmetric model is recommended for flows in which
the secondary (dispersed) phase in one region of the domain becomes the
primary (continuous) phase in another. For example, if air is injected into the
bottom of a container filled halfway with water, the air is the dispersed phase
in the bottom half of the container; in the top half of the container, the air is
the continuous phase.
• Select wen-yu to use the fluid-solid drag function described by Equation 23.5-39.
The Wen and Yu model is applicable for dilute phase flows, in which the total
secondary phase volume fraction is significantly lower than that of the primary
phase.
• Select gidaspow to use the fluid-solid drag function described by
Equation 23.5-41. The Gidaspow model is recommended for dense fluidized
beds.
• Select syamlal-obrien to use the fluid-solid drag function described by Equa-
tion 23.5-31. The Syamlal-O’Brien model is recommended for use in conjunc-
tion with the Syamlal-O’Brien model for granular viscosity.
• Select syamlal-obrien-symmetric to use the solid-solid drag function described
by Equation 23.5-43. The symmetric Syamlal-O’Brien model is appropriate
for a pair of solid phases.
• Select constant to specify a constant value for the drag function, and then
specify the value in the text field.
c Fluent Inc. September 29, 2006 23-153
Modeling Multiphase Flows
• Select user-defined to use a user-defined function for the drag function (see the
separate UDF Manual for details).
• If you want to temporarily ignore the interaction between two phases, select
none.
For granular flows, you need to specify the coefficients of restitution for collisions between
particles (els in Equation 23.5-43 and ess in Equation 23.5-44). In addition to specifying
the restitution coefficient for collisions between each pair of granular phases, you will also
specify the restitution coefficient for collisions between particles of the same phase.
Perform the following steps:
2. For each pair of phases, specify a constant restitution coefficient. All restitution
coefficients are equal to 0.9 by default.
i Note that the lift force will be more significant for larger particles, but the
FLUENT model assumes that the particle diameter is much smaller than the
interparticle spacing. Thus, the inclusion of lift forces is not appropriate
for closely packed particles or for very small particles.
23-154
c Fluent Inc. September 29, 2006
23.12 Setting Up the Eulerian Model
2. For each pair of phases, select the appropriate specification method from the cor-
responding drop-down list. Note that, since the lift forces for a particle, droplet, or
bubble are due mainly to velocity gradients in the primary-phase flow field, you will
not specify lift coefficients for pairs consisting of two secondary phases; lift coeffi-
cients are specified only for pairs consisting of a secondary phase and the primary
phase.
• Select none (the default) to ignore the effect of lift forces.
• Select constant to specify a constant lift coefficient, and then specify the value
in the text field.
• Select user-defined to use a user-defined function for the lift coefficient (see the
separate UDF Manual for details).
For both granular and nongranular flows, it is possible to include the “virtual mass force”
(F~vm in Equation 23.5-9) that is present when a secondary phase accelerates relative to the
primary phase. The virtual mass effect is significant when the secondary phase density
is much smaller than the primary phase density (e.g., for a transient bubble column).
To include the effect of the virtual mass force, turn on the Virtual Mass option in the
Phase Interaction panel. The virtual mass effect will be included for all secondary phases;
it is not possible to enable it just for a particular phase.
c Fluent Inc. September 29, 2006 23-155
Modeling Multiphase Flows
Figure 23.12.4: The Viscous Model Panel for an Eulerian Multiphase Calcu-
lation
23-156
c Fluent Inc. September 29, 2006
23.12 Setting Up the Eulerian Model
2. Select the desired k-epsilon Model or RSM Multiphase Model and any other related
parameters, as described for single-phase calculations in Section 12.12: Steps in
Using a Turbulence Model.
3. Under k-epsilon Multiphase Model or RSM Multiphase Model, indicate the desired
multiphase turbulence model (see Section 23.5.10: Turbulence Models for details
about each):
• Select Mixture to use the mixture turbulence model. This is the default model.
• Select Dispersed to use the dispersed turbulence model. This model is ap-
plicable when there is clearly one primary continuous phase and the rest are
dispersed dilute secondary phases.
• Select Per Phase to use a k- turbulence model for each phase. This model is
appropriate when the turbulence transfer among the phases plays a dominant
role.
c Fluent Inc. September 29, 2006 23-157
Modeling Multiphase Flows
1. Click the Interaction... button to open the Phase Interaction panel (e.g., Fig-
ure 23.12.5).
3. Select the desired correlation for the Heat Transfer Coefficient. Note the following
regarding the available choices:
gunn is frequently used for Eulerian multiphase simulations involving a granular
phase.
ranz-marshall is frequently used for Eulerian multiphase simulations not involv-
ing a granular phase.
none allows you to ignore the effects of heat transfer between the two phases
user-defined allows you to implement a correlation reflecting a model of your
choice, through a user-defined function.
23-158
c Fluent Inc. September 29, 2006
23.12 Setting Up the Eulerian Model
4. Set the appropriate thermal boundary conditions. You will specify the thermal
boundary conditions for each individual phase on most boundaries, and for the
mixture on some boundaries. See Chapter 7: Boundary Conditions for more in-
formation on boundary conditions, and Section 23.9.8: Eulerian Model for more
information on specifying boundary conditions for a Eulerian multiphase calcula-
tion.
See Section 23.5.9: Description of Heat Transfer for more information on heat transfer in
the framework of a Eulerian multiphase simulation.
• While you can specify both compressible gas phases and compressible liquid phases,
you can only define one of the phases as a compressible ideal gas (i.e., you can select
the ideal-gas for the density in the Materials panel of only one phase’s material).
There is no limitation on using compressible liquids using user-defined functions.
• For each mass flow inlet, you will need to specify mass flow or mass flux for each
individual phase.
• If you specify the total pressure at a boundary (e.g., for a pressure inlet or intake
fan), FLUENT will use the specified value for temperature at that boundary as
total temperature for the compressible phase, and as static temperature for the
other phases (which are incompressible).
i Note that if you read a case file that was set up in a version of FLUENT
previous to 6.1, you will need to redefine the conditions at the mass flow
inlets. See Section 23.9.8: Defining Multiphase Boundary Conditions for
more information on defining conditions for a mass flow inlet in Eulerian
multiphase calculations.
See Section 9.6: Compressible Flows for more information about compressible flows.
c Fluent Inc. September 29, 2006 23-159
Modeling Multiphase Flows
Figure 23.13.1: The Multiphase Model Panel with the Wet Steam Model Ac-
tivated
This section includes information about using your own property functions and data with
the wet steam model. Solution settings and strategies for the wet steam model can be
found in Section 23.14.5: Wet Steam Model. Postprocessing variables are described in
Section 23.15.1: Model-Specific Variables.
23-160
c Fluent Inc. September 29, 2006
23.13 Setting Up the Wet Steam Model
The following is the procedure for using the user-defined wet steam property functions
(UDWSPF):
1. Define the wet steam equation of state and all related thermodynamic and transport
property equations.
2. Create a C source code file that conforms to the format defined in this section.
3. Start FLUENT and set up your case file in the usual way.
4. Turn on the wet steam model.
5. Compile your UDWSPF C functions and build a shared library file using the text
user interface.
define −→ models −→ multiphase −→
wet-steam −→compile-user-defined-wetsteam-functions
6. Load your newly created UDWSPF library using the text user interface.
define −→ models −→ multiphase −→
wet-steam −→load-unload-user-defined-wetsteam-library
7. Run your calculation.
i Note that the UDWSPF can only be used when the wet steam model is
activated. Therefore, the UDWSPF are available for use with the density-
based solver only.
• The code must contain the udf.h file inclusion directive at the beginning of the
source code. This allows the definitions for DEFINE macros and other FLUENT
functions to be accessible during the compilation process.
• The code must include at least one of the UDF’s DEFINE functions
(i.e. DEFINE ON DEMAND) to be able to use the compiled UDFs utility.
• Any values that are passed to the solver by the UDWSPF or returned by the solver
to the UDWSPF are assumed to be in SI units.
• You must use the principle set of user-defined wet steam property functions in
your UDWSPF library, as described in the list that follows. These functions are
the mechanism by which your thermodynamic property data is transferred to the
FLUENT solver.
c Fluent Inc. September 29, 2006 23-161
Modeling Multiphase Flows
The following lists the user-defined wet steam property function names and arguments,
as well as a short description of their functions. Function inputs from the FLUENT solver
consist of one or more of the following variables: T = temperature (K), P = pressure
(P a), and ρ = vapor-phase density (kg/m3 ).
23-162
c Fluent Inc. September 29, 2006
23.13 Setting Up the Wet Steam Model
c Fluent Inc. September 29, 2006 23-163
Modeling Multiphase Flows
At the end of the code you must define a structure of type WS Functions whose mem-
bers are pointers to the principle functions listed previously. The structure is of type
WS Functions and its name is WetSteamFunctionList.
i To use the UDWSPF you will need to first build the UDWSPF library
by compiling your UDWSPF C code and then loading the library into the
FLUENT code.
The UDWSPF shared library is built in the same way that the FLUENT executable itself
is built. Internally, a script called Makefile is used to invoke the system C compiler
to build an object code library that contains the native machine language translation of
your higher-level C source code. This shared library is then loaded into FLUENT (either
at runtime or automatically when a case file is read) by a process called dynamic loading.
The object libraries are specific to the computer architecture being used, as well as to the
particular version of the FLUENT executable being run. The libraries must, therefore,
23-164
c Fluent Inc. September 29, 2006
23.13 Setting Up the Wet Steam Model
be rebuilt any time FLUENT is upgraded, when the computer’s operating system level
changes, or when the job is run on a different type of computer.
The general procedure for compiling UDWSPF C code is as follows:
• Place the UDWSPF C code in your working directory (i.e., where your case file
resides).
• Launch FLUENT.
• You can now compile your UDWSPF C code and build a shared library file using
the commands provided in the text command interface (TUI):
– Select the define/models/multiphase/wet-steam menu item
define −→ models −→ multiphase −→wet-steam
– Select the compile-user-defined-wetsteam-functions option.
– Enter the compiled UDWSPF library name.
The name given here is the name of the directory where the shared library
(e.g., libudf) will reside. For example, if you hit <Enter> then a directory
should exist with the name libudf, and this directory will contain library file
called libudf. If, however, you type a new library name such as mywetsteam,
then a directory called mywetsteam will be created and it will contain the
library libudf.
– Continue on with the procedure when prompted.
– Enter the C source file names.
i Ideally you should place all of your functions into a single file. However,
you can split them into separate files if desired.
– Enter the header file names, if applicable. If you do not have an extra header
file, then press <Enter> when prompted.
FLUENT will then start compiling the UDWSPF C code and put it in the
appropriate architecture directory.
c Fluent Inc. September 29, 2006 23-165
Modeling Multiphase Flows
23-166
c Fluent Inc. September 29, 2006
23.13 Setting Up the Wet Steam Model
/**********************************************************************/
/* User Defined Wet Steam Properties:
EOS : Ideal Gas Eq.
Vapor Sat. Line : W.C.Reynolds tables (1979)
Liquid Sat. Line: E. Eckert & R. Drake book (1972)
Author: L. Zori
Date : Jan. 29 2004
*/
/**********************************************************************/
#include "udf.h"
#include "stdio.h"
#include "ctype.h"
#include "stdarg.h"
DEFINE_ON_DEMAND(I_do_nothing)
{
/* This is a dummy function to allow us to use */
/* the Compiled UDFs utility */
}
c Fluent Inc. September 29, 2006 23-167
Modeling Multiphase Flows
void
wetst_init(Domain *domain)
{
/*
You must initialize these material property constants..
they will be used in the wet steam model in fluent
*/
ws_Tc = 647.286 ;/*Critical Temp. */
ws_Pc = 22089000.00 ;/*Critical Pressure */
mw_f = 18.016 ;/*fluid droplet molecular weight (water) */
Rgas_v = 461.50 ;/*vapor Gas Const*/
}
real
wetst_satP(real T)
{
real psat ;
real SUM=0.0;
real pratio;
real F ;
real a1 = -7.41924200 ;
real a2 = 2.97210000E-01 ;
real a3 = -1.15528600E-01 ;
real a4 = 8.68563500E-03 ;
real a5 = 1.09409899E-03 ;
real a6 = -4.39993000E-03 ;
real a7 = 2.52065800E-03 ;
real a8 = -5.21868400E-04 ;
23-168
c Fluent Inc. September 29, 2006
23.13 Setting Up the Wet Steam Model
real
wetst_satT(real P, real T)
{
real tsat ;
p1= wetst_satP(T) ;
p2= wetst_satP(T+0.1) ;
dPdT = (p2-p1)/0.1 ;
dP = P - p1 ;
dT = dP/dPdT ;
dTA = fabs(dT);
dTM = 0.1*T ;
if (dTA > dTM) dT=dT*dTM/dTA ;
T = T + dT;
if (fabs(dT) < TEMP_eps*T) break;
}
tsat = T;
real
wetst_eosP(real rho, real T)
{
real P ;
P = rho* Rgas_v * T ;
return P; /*Pa */
}
c Fluent Inc. September 29, 2006 23-169
Modeling Multiphase Flows
real
wetst_eosRHO(real P, real T)
{
real rho ;
rho = P/(Rgas_v * T) ;
real
wetst_cpv(real T, real rho)
{
real cp;
cp = cpg ;
real
wetst_cvv(real T, real rho)
{
real cv;
cv = wetst_cpv(T,rho) - Rgas_v ;
real
wetst_hv(real T,real rho)
{
real h;
h = T* wetst_cpv(T,rho) ;
return h; /* (J/Kg) */
}
23-170
c Fluent Inc. September 29, 2006
23.13 Setting Up the Wet Steam Model
real
wetst_sv(real T, real rho)
{
real s ;
real TDatum=288.15;
real PDatum=1.01325e5;
s=wetst_cpv(T,rho)*log(T/TDatum)+
Rgas_v*log(PDatum/(Rgas_v*T*rho));
return s; /* (J/Kg/K) */
}
real
wetst_muv(real T, real rho)
{
real muv ;
muv=1.7894e-05 ;
real
wetst_ktv(real T, real rho)
{
real ktv ;
ktv=0.0242 ;
c Fluent Inc. September 29, 2006 23-171
Modeling Multiphase Flows
real
wetst_rhol(real T)
{
real rhol;
D[0] = 3.6711257 ;
D[1] = -2.8512396E+01 ;
D[2] = 2.2265240E+02 ;
D[3] = -8.8243852E+02 ;
D[4] = 2.0002765E+03 ;
D[5] = -2.6122557E+03 ;
D[6] = 1.8297674E+03 ;
D[7] = -5.3350520E+02 ;
if (T > ws_Tc) T = ws_Tc ;
for(ii=0;ii < 8;++ii)
{
i = ii+1 ;
SUM += D[ii] * pow((1.0 - T/ws_Tc), i/3.0) ;
}
rhol = rhoc*(1.0+SUM);
real
wetst_cpl(real T)
{
real cpl;
23-172
c Fluent Inc. September 29, 2006
23.13 Setting Up the Wet Steam Model
real
wetst_mul(real T)
{
real mul ;
real
wetst_ktl(real T)
{
real ktl ;
c Fluent Inc. September 29, 2006 23-173
Modeling Multiphase Flows
real
wetst_surft(real T)
{
real sigma ;
real Tr ;
real a1= 82.27 ;
real a2= 75.612 ;
real a3= -256.889 ;
real a4= 95.928 ;
23-174
c Fluent Inc. September 29, 2006
23.14 Solution Strategies for Multiphase Modeling
c Fluent Inc. September 29, 2006 23-175
Modeling Multiphase Flows
• Modified HRIC
• QUICK
When the explicit scheme is used, the available options for Volume Fraction Discretization
are
• Geo-Reconstruct
• CICSAM
• Modified HRIC
• QUICK
When using the explicit scheme, First Order Upwind, Second Order upwind, and Donor-
Acceptor can be made available under Volume Fraction Discretization by using the following
text command:
solve −→ set −→expert
You will be asked a series of questions, one of which is
23-176
c Fluent Inc. September 29, 2006
23.14 Solution Strategies for Multiphase Modeling
c Fluent Inc. September 29, 2006 23-177
Modeling Multiphase Flows
• Set up and solve the problem using the mixture model (with slip velocities) instead
of the Eulerian model. You can then enable the Eulerian model, complete the
setup, and continue the calculation using the mixture-model solution as a starting
point.
• Set up the Eulerian multiphase calculation as usual, but compute the flow for only
the primary phase. To do this, deselect Volume Fraction in the Equations list in the
Solution Controls panel. Once you have obtained an initial solution for the primary
phase, turn the volume fraction equations back on and continue the calculation for
all phases.
• Use the mass flow inlet boundary condition to initialize the flow conditions. It is
recommended that you set the value of the volume fraction close to the value of
the volume fraction at the inlet.
i You should not try to use a single-phase solution obtained without the
mixture or Eulerian model as a starting point for an Eulerian multiphase
calculation. Doing so will not improve convergence, and may make it even
more difficult for the flow to converge.
23-178
c Fluent Inc. September 29, 2006
23.14 Solution Strategies for Multiphase Modeling
c Fluent Inc. September 29, 2006 23-179
Modeling Multiphase Flows
i Note that the maximum wetness factor should not be set beyond 0.2 since
the present model assumes a low wetness factor. When the wetness factor is
greater than 0.1, the solution tends to be less stable due to the large source
terms in the transport equations. Thus, the maximum wetness factor has
been set to a default value of 0.1, which corresponds to the fact that most
nozzle and turbine flows will have a wetness factor less that 0.1.
1. Lower the under-relaxation factor for the wet steam equation below the current set
value. The under-relaxation factor can be found in the Solution Controls panel.
Solve −→ Controls −→Solution...
2. Solve for an initial solution with no condensation. Once you have obtained a proper
initial solution, turn on the condensation.
To turn condensation on or off, go to the Solution Controls panel.
Solve −→ Controls −→Solution...
In the Solution Controls panel, deselect Wet Steam in the Equations list. When
doing so, you are preventing condensation from taking place while still computing
the flow based on steam properties. Once a converged flow field is obtained, turn
the Wet Steam equation back on again and compute the mixture solution.
23-180
c Fluent Inc. September 29, 2006
23.15 Postprocessing for Multiphase Modeling
VOF Model
For VOF calculations you can generate graphical plots or alphanumeric reports of the
following additional item:
The variables that are not phase specific are available (e.g., variables in the Pressure... and
Velocity... categories) represent mixture quantities. Thermal quantities will be available
only for calculations that include the energy equation.
c Fluent Inc. September 29, 2006 23-181
Modeling Multiphase Flows
Mixture Model
For calculations with the mixture model, you can generate graphical plots or alphanu-
meric reports of the following additional items:
The variables that are not phase specific are available (e.g., variables in the Pressure...
category) represent mixture quantities. Thermal quantities will be available only for
calculations that include the energy equation.
Eulerian Model
For Eulerian multiphase calculations you can generate graphical plots or alphanumeric
reports of the following additional items:
23-182
c Fluent Inc. September 29, 2006
23.15 Postprocessing for Multiphase Modeling
Thermal quantities will be available only for calculations that include the energy equation.
c Fluent Inc. September 29, 2006 23-183
Modeling Multiphase Flows
• Mixture Density
• Saturation Ratio
• Saturation Pressure
• Saturation Temperature
23-184
c Fluent Inc. September 29, 2006
23.15 Postprocessing for Multiphase Modeling
c Fluent Inc. September 29, 2006 23-185
Modeling Multiphase Flows
/report> mf
(mixture water air)
domain id/name [mixture] air
zone 10 (spiral-press-outlet): -1.2330244
zone 3 (pressure-outlet): -9.7560663
zone 11 (spiral-vel-inlet): 0.6150589
zone 8 (spiral-wall): 0
zone 1 (walls): 0
zone 4 (velocity-inlet): 4.9132133
23-186
c Fluent Inc. September 29, 2006
Chapter 24. Modeling Solidification and Melting
This chapter describes how you can model solidification and melting in FLUENT. Infor-
mation is organized into the following sections:
• modeling of continuous casting processes (i.e., “pulling” of solid material out of the
domain)
• modeling of the thermal contact resistance between solidified material and walls
(e.g., due to the presence of an air gap)
c Fluent Inc. September 29, 2006 24-1
Modeling Solidification and Melting
24.1.2 Limitations
As mentioned in Section 24.1.1: Overview, the formulation in FLUENT can be used to
model the solidification/melting of pure materials, as well as alloys. The liquid fraction
versus temperature relationship used in FLUENT is the lever rule; i.e., a linear relationship
(Equation 24.2-3). Other relationships are possible [361], but are not currently available
in FLUENT.
The following limitations apply to the solidification/melting model in FLUENT:
• The solidification/melting model can be used only with the pressure-based solver;
it is not available with the density-based solvers.
• The solidification/melting model cannot be used for compressible flows.
• Of the general multiphase models (VOF, mixture, and Eulerian), only the VOF
model can be used with the solidification/melting model.
• With the exception of species diffusivities, you cannot specify material properties
separately for the solid and liquid materials.
• When using the solidification/melting model in conjunction with modeling species
transport with reactions, there is no mechanism to restrict the reactions to only
the liquid region; i.e., the reactions are solved everywhere.
24-2
c Fluent Inc. September 29, 2006
24.2 Theory for the Solidification/Melting Model
H = h + ∆H (24.2-1)
where
Z T
h = href + cp dT (24.2-2)
Tref
β = 0 if T < Tsolidus
β = 1 if T > Tliquidus
T − Tsolidus
β= if Tsolidus < T < Tliquidus (24.2-3)
Tliquidus − Tsolidus
∆H = βL (24.2-4)
The latent heat content can vary between zero (for a solid) and L (for a liquid).
In the case of multicomponent solidification with species segregation; i.e., solidification
or melting with species transport, the solidus and liquidus temperatures are computed
instead of specified (Equations 24.2-5 and 24.2-6).
X
Tsolidus = Tmelt + Ki m i Y i (24.2-5)
solutes
X
Tliquidus = Tmelt + m i Yi (24.2-6)
solutes
where Ki is the partition coefficient of solute i, which is the ratio of the concentration
in solid to that in liquid at the interface, Yi is the mass fraction of solute i, and mi is
c Fluent Inc. September 29, 2006 24-3
Modeling Solidification and Melting
the slope of the liquidus surface with respect to Yi . It is assumed that the last species
material of the mixture is the solvent and that the other species are the solutes.
For solidification/melting problems, the energy equation is written as
∂
(ρH) + ∇ · (ρ~v H) = ∇ · (k∇T ) + S (24.2-7)
∂t
(1 − β)2
S= Amush (~v − ~vp ) (24.2-8)
(β 3 + )
where β is the liquid volume fraction, is a small number (0.001) to prevent division by
zero, Amush is the mushy zone constant, and ~vp is the solid velocity due to the pulling of
solidified material out of the domain (also referred to as the pull velocity).
The mushy zone constant measures the amplitude of the damping; the higher this value,
the steeper the transition of the velocity of the material to zero as it solidifies. Very large
values may cause the solution to oscillate.
The pull velocity is included to account for the movement of the solidified material as
it is continuously withdrawn from the domain in continuous casting processes. The
presence of this term in Equation 24.2-8 allows newly solidified material to move at the
pull velocity. If solidified material is not being pulled from the domain, ~vp = 0. More
details about the pull velocity are provided in Section 24.2.5: Pull Velocity for Continuous
Casting.
24-4
c Fluent Inc. September 29, 2006
24.2 Theory for the Solidification/Melting Model
(1 − β)2
S= Amush φ (24.2-9)
(β 3 + )
where φ represents the turbulence quantity being solved (k, , ω, etc.), and the mushy
zone constant, Amush , is the same as the one used in Equation 24.2-8.
∂
(ρYi ) + ∇ · (ρ [β~vliq Yi,liq + (1 − β)~vp Yi,sol ]) = −∇ · J~i + Ri (24.2-10)
∂t
~vliq is the velocity of the liquid and ~vp is the solid (pull) velocity. ~vp is set to zero if pull
velocities are not included in the solution. The liquid velocity can be found from the
average velocity (as determined by the flow equation) as
c Fluent Inc. September 29, 2006 24-5
Modeling Solidification and Melting
vp
∇2~vp = 0 (24.2-15)
24-6
c Fluent Inc. September 29, 2006
24.2 Theory for the Solidification/Melting Model
FLUENT uses the following boundary conditions when computing the pull velocities:
• At all other boundaries (including the liquid-solid interface between the liquid and
solidified material), a zero-gradient velocity is used.
(T − Tw )
q= (24.2-16)
(l/k + Rc (1 − β))
where T , Tw , and l are defined in Figure 24.2.2, k is the thermal conductivity of the fluid,
β is the liquid volume fraction, and Rc is the contact resistance, which has the same units
as the inverse of the heat transfer coefficient.
c Fluent Inc. September 29, 2006 24-7
Modeling Solidification and Melting
wall
near-wall cell
Tw T
●
Tw T
● ● ●
Rc l/k
Figure 24.2.2: Circuit for Contact Resistance
24-8
c Fluent Inc. September 29, 2006
24.3 Using the Solidification/Melting Model
FLUENT will automatically enable the energy equation, so you do not have to visit
the Energy panel before turning on the solidification/melting model.
2. Under Parameters, specify the value of the Mushy Zone Constant (Amush in Equa-
tion 24.2-8).
Values between 104 and 107 are recommended for most computations. The higher
the value of the Mushy Zone Constant, the steeper the damping curve becomes, and
the faster the velocity drops to zero as the material solidifies. Very large values
may cause the solution to oscillate as control volumes alternately solidify and melt
with minor perturbations in liquid volume fraction.
3. If you want to include the pull velocity in your simulation (as described in Sec-
tions 24.2.2 and 24.2.5), turn on the Include Pull Velocities option under Parameters.
c Fluent Inc. September 29, 2006 24-9
Modeling Solidification and Melting
4. If you are including pull velocities and you want FLUENT to compute them (using
Equation 24.2-15) based on the specified velocity boundary conditions, as described
in Section 24.2.5: Pull Velocity for Continuous Casting, turn on the Compute Pull
Velocities option and specify the number of Flow Iterations Per Pull Velocity Iteration.
i It is not necessary to have FLUENT compute the pull velocities. See Sec-
tion 24.3.2: Procedures for Modeling Continuous Casting for information
about other approaches.
The default value of 1 for the Flow Iterations Per Pull Velocity Iteration indicates
that the pull velocity equations will be solved after each iteration of the solver. If
you increase this value, the pull velocity equations will be solved less frequently.
You may want to increase the number of Flow Iterations Per Pull Velocity Iteration if
the liquid fraction equation is almost converged (i.e., the position of the liquid-solid
interface is not changing very much). This will speed up the calculation, although
the residuals may jump when the pull velocities are updated.
5. In the Materials panel, specify the Melting Heat (L in Equation 24.2-3), Solidus Tem-
perature (Tsolidus in Equation 24.2-3), and Liquidus Temperature (Tliquidus in Equa-
tion 24.2-3) for the material being used in your model.
Define −→Materials...
If you are solving for species transport, you will also have to specify the Melting
Temperature of pure solvent (Tmelt in Equations 24.2-5 and 24.2-6). The solvent is
the last species material of the mixture material. For each solute, you will have
to specify the slope of the liquidus surface (Slope of Liquidus Line) with respect to
the concentration of the solute (mi in Equations 24.2-5 and 24.2-6), the Partition
Coefficient (Ki ), and the rate of Diffusion in Solid. It is not necessary to specify mi
and Ki for the solvent.
6. Set the boundary conditions.
Define −→Boundary Conditions...
In addition to the usual boundary conditions, consider the following:
• If you want to account for the presence of an air gap between a wall and an
adjacent solidified region (as described in Section 24.2.6: Contact Resistance
at Walls), specify a nonzero value, a profile, or a user-defined function for
Contact Resistance (Rc in Equation 24.2-16) under Thermal Conditions in the
Wall panel.
• If you want to specify the gradient of the surface tension with respect to the
temperature at a wall boundary, you can use the Marangoni Stress option for
the wall Shear Condition. See Section 7.13.1: Marangoni Stress for details.
• If you want FLUENT to compute the pull velocities during the calculation,
note how your specified velocity conditions are used in this calculation (see
Section 24.2.5: Pull Velocity for Continuous Casting).
24-10
c Fluent Inc. September 29, 2006
24.3 Using the Solidification/Melting Model
Section 24.3.2: Procedures for Modeling Continuous Casting contains additional informa-
tion about modeling continuous casting. See Sections 24.3.3 and 24.3.4 for information
about solving a solidification/melting model and postprocessing the results.
• Have FLUENT compute the pull velocities (using Equation 24.2-15) during the
calculation, based on the specified velocity boundary conditions.
To use this approach, turn on the Compute Pull Velocities option. This method
is computationally expensive, and is recommended only if the pull velocities are
strongly dependent on the location of the liquid-solid interface.
If you have FLUENT compute the pull velocities, then there are no additional inputs
or setup procedures beyond those presented in Section 24.3.1: Setup Procedure.
• Have FLUENT compute the pull velocities just once, and then use those values for
the remainder of the calculation.
To use this approach, perform one iteration with FLUENT computing the pull
velocities, and then turn off the Compute Pull Velocities option and continue the
calculation. For the remainder of the calculation, FLUENT will use the values
computed for the pull velocities at the first iteration.
c Fluent Inc. September 29, 2006 24-11
Modeling Solidification and Melting
βn+1 = βn + αβ ∆β (24.3-1)
24.3.4 Postprocessing
For solidification/melting calculations, you can generate graphical plots or alphanumeric
reports of the following items, which are all available in the Solidification/Melting... cat-
egory of the variable selection drop-down list that appears in postprocessing panels:
• Liquid Fraction
• Contact Resistivity
• X, Y, Z, Axial, Radial, or Swirl Pull Velocity
The first two items are available for all solidification/melting simulations, and the others
will appear only if you are including pull velocities (either computed or specified) in
the simulation. See Chapter 30: Field Function Definitions for a complete list of field
functions and their definitions. Chapters 28 and 29 explain how to generate graphics
displays and reports of data.
Figure 24.3.2 shows filled contours of liquid fraction for a continuous crystal growth
simulation.
24-12
c Fluent Inc. September 29, 2006
24.3 Using the Solidification/Melting Model
1.00e+00
9.00e-01
8.00e-01
7.00e-01
6.00e-01
5.00e-01
4.00e-01
3.00e-01
2.00e-01
1.00e-01
0.00e+00
c Fluent Inc. September 29, 2006 24-13
Modeling Solidification and Melting
24-14
c Fluent Inc. September 29, 2006
Chapter 25. Using the Solver
This chapter describes the FLUENT solver and how to use it. Details about the solver
algorithms used by FLUENT are provided in Sections 25.1–25.6. Section 25.7: How to
Use the Solver provides an overview of how to use the solver, and the remaining sections
provide detailed instructions.
c Fluent Inc. September 29, 2006 25-1
Using the Solver
• pressure-based solver
• density-based solver
Historically speaking, the pressure-based approach was developed for low-speed incom-
pressible flows, while the density-based approach was mainly used for high-speed com-
pressible flows. However, recently both methods have been extended and reformulated to
solve and operate for a wide range of flow conditions beyond their traditional or original
intent.
In both methods the velocity field is obtained from the momentum equations. In the
density-based approach, the continuity equation is used to obtain the density field while
the pressure field is determined from the equation of state.
On the other hand, in the pressure-based approach, the pressure field is extracted by
solving a pressure or pressure correction equation which is obtained by manipulating
continuity and momentum equations.
Using either method, FLUENT will solve the governing integral equations for the con-
servation of mass and momentum, and (when appropriate) for energy and other scalars
such as turbulence and chemical species. In both cases a control-volume-based technique
is used that consists of:
• Division of the domain into discrete control volumes using a computational grid.
• Linearization of the discretized equations and solution of the resultant linear equa-
tion system to yield updated values of the dependent variables.
The two numerical methods employ a similar discretization process (finite-volume), but
the approach used to linearize and solve the discretized equations is different.
The general solution methods are described in Sections 25.1.1 and 25.1.2.
25-2
c Fluent Inc. September 29, 2006
25.1 Overview of Flow Solvers
1. Update fluid properties (e,g, density, viscosity, specific heat) including turbulent
viscosity (diffusivity) based on the current solution.
2. Solve the momentum equations, one after another, using the recently updated val-
ues of pressure and face mass fluxes.
3. Solve the pressure correction equation using the recently obtained velocity field and
the mass-flux.
4. Correct face mass fluxes, pressure, and the velocity field using the pressure correc-
tion obtained from Step 3.
5. Solve the equations for additional scalars, if any, such as turbulent quantities,
energy, species, and radiation intensity using the current values of the solution
variables.
c Fluent Inc. September 29, 2006 25-3
Using the Solver
6. Update the source terms arising from the interactions among different phases (e.g.,
source term for the carrier phase due to discrete particles).
These steps are continued until the convergence criteria are met.
Pressure−Based Segregated Algorithm Pressure−Based Coupled Algorithm
Solve sequentially:
Uvel Vvel Wvel
Solve simultaneously:
system of momentum
and pressure−based
continuity equations
Solve pressure−correction
(continuity) equation
25-4
c Fluent Inc. September 29, 2006
25.1 Overview of Flow Solvers
1. Update the fluid properties based on the current solution. (If the calculation has
just begun, the fluid properties will be updated based on the initialized solution.)
2. Solve the continuity, momentum, and (where appropriate) energy and species equa-
tions simultaneously.
3. Where appropriate, solve equations for scalars such as turbulence and radiation
using the previously updated values of the other variables.
4. When interphase coupling is to be included, update the source terms in the appro-
priate continuous phase equations with a discrete phase trajectory calculation.
These steps are continued until the convergence criteria are met.
c Fluent Inc. September 29, 2006 25-5
Using the Solver
Update properties
No Yes
Converged? Stop
In the density-based solution method you can solve the coupled system of equations (con-
tinuity, momentum, energy and species equations if available) using, either the coupled-
explicit formulation or the coupled-implicit formulation. The main distinction between
the density-based explicit and implicit formulations is described next.
In the density-based solution methods the discrete, non-linear governing equations are
linearized to produce a system of equations for the dependent variables in every compu-
tational cell. The resultant linear system is then solved to yield an updated flow-field
solution.
The manner in which the governing equations are linearized may take an “implicit” or
“explicit” form with respect to the dependent variable (or set of variables) of interest.
By implicit or explicit we mean the following:
• implicit: For a given variable, the unknown value in each cell is computed using
a relation that includes both existing and unknown values from neighboring cells.
Therefore each unknown will appear in more than one equation in the system, and
these equations must be solved simultaneously to give the unknown quantities.
• explicit: For a given variable, the unknown value in each cell is computed using a
relation that includes only existing values. Therefore each unknown will appear in
only one equation in the system and the equations for the unknown value in each
cell can be solved one at a time to give the unknown quantities.
25-6
c Fluent Inc. September 29, 2006
25.1 Overview of Flow Solvers
In the density-based solution method you have a choice of using either an implicit or ex-
plicit linearization of the governing equations. This choice applies only to the coupled set
of governing equations. Transport equations for additional scalars are solved segregated
from the coupled set (such as turbulence, radiation, etc.). The transport equations are
linearized and solved implicitly using the method described in section Section 25.2: Gen-
eral Scalar Transport Equation: Discretization and Solution. Regardless of whether you
choose the implicit or explicit methods, the solution procedure shown in Figure 25.1.2 is
followed.
If you choose the implicit option of the density-based solver, each equation in the coupled
set of governing equations is linearized implicitly with respect to all dependent variables
in the set. This will result in a system of linear equations with N equations for each cell
in the domain, where N is the number of coupled equations in the set. Because there are
N equations per cell, this is sometimes called a “block” system of equations.
A point implicit linear equation solver (Incomplete Lower Upper (ILU) factorization
scheme or a symmetric block Gauss-Seidel) is used in conjunction with an algebraic
multigrid (AMG) method to solve the resultant block system of equations for all N
dependent variables in each cell. For example, linearization of the coupled continuity, x-,
y-, z-momentum, and energy equation set will produce a system of equations in which
p, u, v, w, and T are the unknowns. Simultaneous solution of this equation system
(using the block AMG solver) yields at once updated pressure, u-, v-, w-velocity, and
temperature fields.
In summary, the coupled implicit approach solves for all variables (p, u, v, w, T ) in all
cells at the same time.
If you choose the explicit option of the density-based solver, each equation in the coupled
set of governing equations is linearized explicitly. As in the implicit option, this too will
result in a system of equations with N equations for each cell in the domain and likewise,
all dependent variables in the set will be updated at once. However, this system of
equations is explicit in the unknown dependent variables. For example, the x-momentum
equation is written such that the updated x velocity is a function of existing values of
the field variables. Because of this, a linear equation solver is not needed. Instead,
the solution is updated using a multi-stage (Runge-Kutta) solver. Here you have the
additional option of employing a full approximation storage (FAS) multigrid scheme to
accelerate the multi-stage solver.
In summary, the density-based explicit approach solves for all variables (p, u, v, w, T )
one cell at a time.
Note that the FAS multigrid is an optional component of the explicit approach, while
the AMG is a required element in both the pressure-based and density-based implicit
approaches.
c Fluent Inc. September 29, 2006 25-7
Using the Solver
Z
∂ρφ I I
~ = Γφ ∇φ · dA
Z
~ + Sφ dV
dV + ρφ ~v · dA (25.2-1)
V ∂t V
where
ρ = density
~v = velocity vector (= u ı̂ + v ̂ in 2D)
~
A = surface area vector
Γφ = diffusion coefficient for φ
∇φ = gradient of φ (= ∂φ/∂x) ı̂ + (∂φ/∂y) ̂ in 2D)
Sφ = source of φ per unit volume
Equation 25.2-1 is applied to each control volume, or cell, in the computational domain.
The two-dimensional, triangular cell shown in Figure 25.2.1 is an example of such a
control volume. Discretization of Equation 25.2-1 on a given cell yields
NX NX
∂ρφ faces
~f =
faces
~ f + Sφ V
V + ρf ~vf φf · A Γφ ∇φf · A (25.2-2)
∂t f f
where
Nfaces = number of faces enclosing cell
φf = value of φ convected through face f
~f
ρf ~vf · A = mass flux through the face
~f
A = area of face f , |A| (= |Ax ı̂ + Ay ̂| in 2D)
∇φf = gradient of φ at face f
V = cell volume
Where ∂ρφ
∂t
V is defined in Section 25.3.2: Temporal Discretization. The equations solved
by FLUENT take the same general form as the one given above and apply readily to
multi-dimensional, unstructured meshes composed of arbitrary polyhedra.
25-8
c Fluent Inc. September 29, 2006
25.2 General Scalar Transport Equation: Discretization and Solution
Af
f
r1
r0 c1
c0
X
aP φ = anb φnb + b (25.2-3)
nb
where the subscript nb refers to neighbor cells, and aP and anb are the linearized coeffi-
cients for φ and φnb .
The number of neighbors for each cell depends on the grid topology, but will typically
equal the number of faces enclosing the cell (boundary cells being the exception).
Similar equations can be written for each cell in the grid. This results in a set of algebraic
equations with a sparse coefficient matrix. For scalar equations, FLUENT solves this linear
system using a point implicit (Gauss-Seidel) linear equation solver in conjunction with
an algebraic multigrid (AMG) method which is described in Section 25.6.3: Algebraic
Multigrid (AMG).
c Fluent Inc. September 29, 2006 25-9
Using the Solver
25.3 Discretization
25.3.1 Spatial Discretization
By default, FLUENT stores discrete values of the scalar φ at the cell centers (c0 and c1 in
Figure 25.2.1). However, face values φf are required for the convection terms in Equa-
tion 25.2-2 and must be interpolated from the cell center values. This is accomplished
using an upwind scheme.
Upwinding means that the face value φf is derived from quantities in the cell upstream, or
“upwind,” relative to the direction of the normal velocity vn in Equation 25.2-2. FLUENT
allows you to choose from several upwind schemes: first-order upwind, second-order
upwind, power law, and QUICK. These schemes are described in Sections 25.3.1–25.3.1.
The diffusion terms in Equation 25.2-2 are central-differenced and are always second-
order accurate.
Power-Law Scheme
The power-law discretization scheme interpolates the face value of a variable, φ, using
the exact solution to a one-dimensional convection-diffusion equation
∂ ∂ ∂φ
(ρuφ) = Γ (25.3-1)
∂x ∂x ∂x
where Γ and ρu are constant across the interval ∂x. Equation 25.3-1 can be integrated
to yield the following solution describing how φ varies with x:
φ(x) − φ0 exp(Pe Lx ) − 1
= (25.3-2)
φL − φ0 exp(Pe) − 1
25-10
c Fluent Inc. September 29, 2006
25.3 Discretization
where
φ0 = φ|x=0
φL = φ|x=L
and Pe is the Peclet number:
ρuL
Pe = (25.3-3)
Γ
The variation of φ(x) between x = 0 and x = L is depicted in Figure 25.3.1 for a range
of values of the Peclet number. Figure 25.3.1 shows that for large Pe, the value of φ at
x = L/2 is approximately equal to the upstream value. This implies that when the flow
is dominated by convection, interpolation can be accomplished by simply letting the face
value of a variable be set equal to its “upwind” or upstream value. This is the standard
first-order scheme for FLUENT.
φL
Pe < -1
Pe = -1
φ Pe= 0
Pe = 1
Pe > 1
φ0
0 L
X
If the power-law scheme is selected, FLUENT uses Equation 25.3-2 in an equivalent “power
law” format [277], as its interpolation scheme.
As discussed in Section 25.3.1: First-Order Upwind Scheme, Figure 25.3.1 shows that for
large Pe, the value of φ at x = L/2 is approximately equal to the upstream value. When
Pe=0 (no flow, or pure diffusion), Figure 25.3.1 shows that φ may be interpolated using
c Fluent Inc. September 29, 2006 25-11
Using the Solver
a simple linear average between the values at x = 0 and x = L. When the Peclet number
has an intermediate value, the interpolated value for φ at x = L/2 must be derived by
applying the “power law” equivalent of Equation 25.3-2.
φf,SOU = φ + ∇φ · ~r (25.3-4)
where φ and ∇φ are the cell-centered value and its gradient in the upstream cell, and
~r is the displacement vector from the upstream cell centroid to the face centroid. This
formulation requires the determination of the gradient ∇φ in each cell, as discussed in
Section 25.3.3: Evaluation of Gradients and Derivatives. Finally, the gradient ∇φ is
limited so that no new maxima or minima are introduced.
Central-Differencing Scheme
A second-order-accurate central-differencing discretization scheme is available for the mo-
mentum equations when you are using the LES turbulence model. This scheme provides
improved accuracy for LES calculations.
The central-differencing scheme calculates the face value for a variable (φf ) as follows:
1 1
φf,CD = (φ0 + φ1 ) + (∇φ0 · ~r0 + ∇φ1 · ~r1 ) (25.3-5)
2 2
where the indices 0 and 1 refer to the cells that share face f , ∇φr,0 and ∇φr,1 are the
reconstructed gradients at cells 0 and 1, respectively, and ~r is the vector directed from
the cell centroid toward the face centroid.
It is well known that central-differencing schemes can produce unbounded solutions and
non-physical wiggles, which can lead to stability problems for the numerical procedure.
25-12
c Fluent Inc. September 29, 2006
25.3 Discretization
These stability problems can often be avoided if a deferred approach is used for the
central-differencing scheme. In this approach, the face value is calculated as follows:
where UP stands for upwind. As indicated, the upwind part is treated implicitly while
the difference between the central-difference and upwind values is treated explicitly. Pro-
vided that the numerical solution converges, this approach leads to pure second-order
differencing.
c Fluent Inc. September 29, 2006 25-13
Using the Solver
QUICK Scheme
For quadrilateral and hexahedral meshes, where unique upstream and downstream faces
and cells can be identified, FLUENT also provides the QUICK scheme for computing a
higher-order value of the convected variable φ at a face. QUICK-type schemes [202] are
based on a weighted average of second-order-upwind and central interpolations of the
variable. For the face e in Figure 25.3.2, if the flow is from left to right, such a value can
be written as
Sd Sc Su + 2Sc Sc
φe = θ φP + φE + (1 − θ) φP − φW (25.3-7)
S c + Sd S c + Sd Su + S c Su + S c
Su Sc Sd
W ∆x w P ∆x e E
w e
25-14
c Fluent Inc. September 29, 2006
25.3 Discretization
where φf,CD is defined in Equation 25.3-5, and φf,SOU is computed using the second-order
upwind scheme as described in Section 25.3.1: Second-Order Upwind Scheme.
Unlike the QUICK scheme which is applicable to structured hex meshes only, the MUSCL
scheme is applicable to arbitrary meshes. Compared to the second-order upwind scheme,
the third-order MUSCL has a potential to improve spatial accuracy for all types of meshes
by reducing numerical diffusion, most significantly for complex three-dimensional flows,
and it is available for all transport equations.
φD − φU
φ˜c = (25.3-9)
φA − φU
c Fluent Inc. September 29, 2006 25-15
Using the Solver
φf
φU φD φA
where A is the acceptor cell, D is the donor cell, and U is the upwind cell, and
˜ φ˜c < 0 or φ˜c > 1
φc
φ̃f = 2φ˜c 0 ≤ φ˜c ≤ 0.5 (25.3-10)
0.5 ≤ φ˜c ≤ 1
1
Here, if the upwind cell is not available (e.g., unstructured mesh), an extrapolated value
is used for φU . Directly using this value of φ̃f causes wrinkles in the interface, if the flow
is parallel to the interface. So, FLUENT switches to ULTIMATE QUICKEST scheme
(the one-dimensional bounded version of the QUICK scheme [201]) based on the angle
between the face normal and interface normal:
φ˜c φ˜c < 0 or φ˜c > 1
φUf˜Q = ˜
(25.3-11)
M IN φ̃f , 6φc8+3 0.5 ≤ φ˜c ≤ 1
√ √
φ̃∗f = φ̃f cos θ + (1 − cos θ)φUf˜Q (25.3-12)
where
∇φ · ~d
cos θ = (25.3-13)
|∇φ||~d|
25-16
c Fluent Inc. September 29, 2006
25.3 Discretization
The face volume fraction is now obtained from the normalized value computed above as
follows:
The modified HRIC scheme provides improved accuracy for VOF calculations when com-
pared to QUICK and second-order schemes, and is less computationally expensive than
the Geo-Reconstruct scheme.
where the function F incorporates any spatial discretization. If the time derivative is
discretized using backward differences, the first-order accurate temporal discretization is
given by
φn+1 − φn
= F (φ) (25.3-16)
∆t
and the second-order discretization is given by
c Fluent Inc. September 29, 2006 25-17
Using the Solver
φn+1 − φn
= F (φn+1 ) (25.3-18)
∆t
This is referred to as “implicit” integration since φn+1 in a given cell is related to φn+1
in neighboring cells through F (φn+1 ):
This implicit equation can be solved iteratively at each time level before moving to the
next time step.
The advantage of the fully implicit scheme is that it is unconditionally stable with respect
to time step size.
φn+1 − φn
= F (φn ) (25.3-20)
∆t
and is referred to as “explicit” integration since φn+1 can be expressed explicitly in terms
of the existing solution values, φn :
Here, the time step ∆t is restricted to the stability limit of the underlying solver (i.e.,
a time step is limited by the Courant-Friedrich-Lewy condition). In order to be time-
accurate, all cells in the domain must use the same time step. For stability, this time
step must be the minimum of all the local time steps in the domain. This method is also
referred to as “global time stepping”.
25-18
c Fluent Inc. September 29, 2006
25.3 Discretization
The use of explicit time stepping is fairly restrictive. It is used primarily to capture the
transient behavior of moving waves, such as shocks, because it is more accurate and less
expensive than the implicit time stepping methods in such cases. You cannot use explicit
time stepping in the following cases:
• Green-Gauss Cell-Based
• Green-Gauss Node-Based
Green-Gauss Theorem
When the Green-Gauss theorem is used to compute the gradient of the scalar φ at the
cell center c0, the following discrete form is written as
1X ~f
(∇φ)c0 = φ A (25.3-22)
V f f
where φf is the value of φ at the cell face centroid, computed as shown in the sections
below. The summation is over all the faces enclosing the cell.
c Fluent Inc. September 29, 2006 25-19
Using the Solver
φc0 + φc1
φf = (25.3-23)
2
To use this option, select Green-Gauss Cell-Based under Gradient Option in the Solver
panel.
Nf
1 X
φf = φ (25.3-24)
Nf n n
To use this option, select Green-Gauss Node-Based under Gradient Option in the Solver
panel.
25-20
c Fluent Inc. September 29, 2006
25.3 Discretization
co
ci
r
i
If we write similar equations for each cell surrounding the cell c0, we obtain the following
system written in compact form:
[J](∇φ)c0 = ∆φ (25.3-26)
c Fluent Inc. September 29, 2006 25-21
Using the Solver
Therefore, the gradient at the cell center can then be computed by multiplying the weight
factors by the difference vector ∆φ = (φc1 − φc0 ),
n
W x i0 · (φci − φc0 )
X
(φx )c0 = (25.3-27)
i=1
n
W y i0 · (φci − φc0 )
X
(φy )c0 = (25.3-28)
i=1
n
W z i0 · (φci − φc0 )
X
(φz )c0 = (25.3-29)
i=1
When a flow solution is solved on polyhedral meshes the cell-based least squares gradients
are recommended for use over the default cell-based gradients, particularly if a more
accurate flow solution is required. Although, the cell-based least squares gradients are
available for use with triangular and tetrahedral meshes and their accuracy is comparable
to node-based gradients, it is best if the node-based gradients are used on these meshes
since they are known to be more stable.
To use this option, go to the Solver panel and select Least Squares Cell Based under
Gradient Option.
I I I Z
~=−
ρ~v ~v · dA ~+
pI · dA ~+
τ · dA F~ dV (25.4-2)
V
where I is the identity matrix, τ is the stress tensor, and F~ is the force vector.
25-22
c Fluent Inc. September 29, 2006
25.4 Pressure-Based Solver
X X
aP u = anb unb + pf A · ı̂ + S (25.4-3)
nb
If the pressure field and face mass fluxes are known, Equation 25.4-3 can be solved in the
manner outlined in Section 25.3: Discretization, and a velocity field obtained. However,
the pressure field and face mass fluxes are not known a priori and must be obtained as a
part of the solution. There are important issues with respect to the storage of pressure
and the discretization of the pressure gradient term; these are addressed next.
FLUENT uses a co-located scheme, whereby pressure and velocity are both stored at cell
centers. However, Equation 25.4-3 requires the value of the pressure at the face between
cells c0 and c1, shown in Figure 25.2.1. Therefore, an interpolation scheme is required
to compute the face values of pressure from the cell values.
Pc0 Pc1
ap,c0
+ ap,c1
Pf = 1 1 (25.4-4)
ap,c0
+ ap,c1
This procedure works well as long as the pressure variation between cell centers is smooth.
When there are jumps or large gradients in the momentum source terms between con-
trol volumes, the pressure profile has a high gradient at the cell face, and cannot be
interpolated using this scheme. If this scheme is used, the discrepancy shows up in
overshoots/undershoots of cell velocity.
Flows for which the standard pressure interpolation scheme will have trouble include
flows with large body forces, such as in strongly swirling flows, in high-Rayleigh-number
natural convection and the like. In such cases, it is necessary to pack the mesh in regions
of high gradient to resolve the pressure variation adequately.
Another source of error is that FLUENT assumes that the normal pressure gradient at
the wall is zero. This is valid for boundary layers, but not in the presence of body forces
or curvature. Again, the failure to correctly account for the wall pressure gradient is
manifested in velocity vectors pointing in/out of walls.
c Fluent Inc. September 29, 2006 25-23
Using the Solver
Several alternate methods are available for cases in which the standard pressure interpo-
lation scheme is not valid:
• The linear scheme computes the face pressure as the average of the pressure values
in the adjacent cells.
• The second-order scheme reconstructs the face pressure in the manner used for
second-order accurate convection terms (see Section 25.3.1). This scheme may
provide some improvement over the standard and linear schemes, but it may have
some trouble if it is used at the start of a calculation and/or with a bad mesh.
The second-order scheme is not applicable for flows with discontinuous pressure
gradients imposed by the presence of a porous medium in the domain or the use of
the VOF or mixture model for multiphase flow.
• The body-force-weighted scheme computes the face pressure by assuming that the
normal gradient of the difference between pressure and body forces is constant.
This works well if the body forces are known a priori in the momentum equations
(e.g., buoyancy and axisymmetric swirl calculations).
• The PRESTO! (PREssure STaggering Option) scheme uses the discrete continuity
balance for a “staggered” control volume about the face to compute the “staggered”
(i.e., face) pressure. This procedure is similar in spirit to the staggered-grid schemes
used with structured meshes [277]. Note that for triangular, tetrahedral, hybrid,
and polyhedral meshes, comparable accuracy is obtained using a similar algorithm.
The PRESTO! scheme is available for all meshes.
See Section 25.8.3: Choosing the Pressure Interpolation Scheme for recommendations on
when to use these alternate schemes.
25-24
c Fluent Inc. September 29, 2006
25.4 Pressure-Based Solver
NX
faces
J f Af = 0 (25.4-5)
f
c Fluent Inc. September 29, 2006 25-25
Using the Solver
similar to the QUICK scheme used for other variables. See Section 25.3.1: QUICK
Scheme for details.
25-26
c Fluent Inc. September 29, 2006
25.4 Pressure-Based Solver
Segregated Algorithms
SIMPLE
The SIMPLE algorithm uses a relationship between velocity and pressure corrections to
enforce mass conservation and to obtain the pressure field.
If the momentum equation is solved with a guessed pressure field p∗ , the resulting face
flux, Jf∗ , computed from Equation 25.4-6
does not satisfy the continuity equation. Consequently, a correction Jf0 is added to the
face flux Jf∗ so that the corrected face flux, Jf
satisfies the continuity equation. The SIMPLE algorithm postulates that Jf0 be written
as
aP p 0 = anb p0nb + b
X
(25.4-10)
nb
where the source term b is the net flow rate into the cell:
NX
faces
b= Jf∗ Af (25.4-11)
f
c Fluent Inc. September 29, 2006 25-27
Using the Solver
The pressure-correction equation (Equation 25.4-10) may be solved using the algebraic
multigrid (AMG) method described in Section 25.6.3: Algebraic Multigrid (AMG). Once
a solution is obtained, the cell pressure and the face flux are corrected using
p = p∗ + αp p0 (25.4-12)
Here αp is the under-relaxation factor for pressure (see Section 25.4.4: Under-Relaxation
of Variables for information about under-relaxation). The corrected face flux, Jf , satisfies
the discrete continuity equation identically during each iteration.
SIMPLEC
A number of variants of the basic SIMPLE algorithm are available in the literature. In ad-
dition to SIMPLE, FLUENT offers the SIMPLEC (SIMPLE-Consistent) algorithm [379].
SIMPLE is the default, but many problems will benefit from the use of SIMPLEC, as
described in Section 25.9.1: SIMPLE vs. SIMPLEC.
The SIMPLEC procedure is similar to the SIMPLE procedure outlined above. The only
difference lies in the expression used for the face flux correction, Jf0 . As in SIMPLE, the
correction equation may be written as
However, the coefficient df is redefined as a function of (aP − nb anb ). The use of this
P
modified correction equation has been shown to accelerate convergence in problems where
pressure-velocity coupling is the main deterrent to obtaining a solution.
Skewness Correction
For meshes with some degree of skewness, the approximate relationship between the
correction of mass flux at the cell face and the difference of the pressure corrections at
the adjacent cells is very rough. Since the components of the pressure-correction gradient
along the cell faces are not known in advance, an iterative process similar to the PISO
neighbor correction described below is desirable. After the initial solution of the pressure-
correction equation, the pressure-correction gradient is recalculated and used to update
the mass flux corrections. This process, which is referred to as “skewness correction”,
significantly reduces convergence difficulties associated with highly distorted meshes. The
SIMPLEC skewness correction allows FLUENT to obtain a solution on a highly skewed
mesh in approximately the same number of iterations as required for a more orthogonal
mesh.
25-28
c Fluent Inc. September 29, 2006
25.4 Pressure-Based Solver
PISO
Neighbor Correction
The main idea of the PISO algorithm is to move the repeated calculations required
by SIMPLE and SIMPLEC inside the solution stage of the pressure-correction equa-
tion [155]. After one or more additional PISO loops, the corrected velocities satisfy the
continuity and momentum equations more closely. This iterative process is called a mo-
mentum correction or “neighbor correction”. The PISO algorithm takes a little more
CPU time per solver iteration, but it can dramatically decrease the number of iterations
required for convergence, especially for transient problems.
Skewness Correction
For meshes with some degree of skewness, the approximate relationship between the
correction of mass flux at the cell face and the difference of the pressure corrections at
the adjacent cells is very rough. Since the components of the pressure-correction gradient
along the cell faces are not known in advance, an iterative process similar to the PISO
neighbor correction described above is desirable [104]. After the initial solution of the
pressure-correction equation, the pressure-correction gradient is recalculated and used
to update the mass flux corrections. This process, which is referred to as “skewness
correction”, significantly reduces convergence difficulties associated with highly distorted
meshes. The PISO skewness correction allows FLUENT to obtain a solution on a highly
skewed mesh in approximately the same number of iterations as required for a more
orthogonal mesh.
For meshes with a high degree of skewness, the simultaneous coupling of the neighbor
and skewness corrections at the same pressure correction equation source may cause
divergence or a lack of robustness. An alternate, although more expensive, method for
handling the neighbor and skewness corrections inside the PISO algorithm is to apply
one or more iterations of skewness correction for each separate iteration of neighbor
correction. For each individual iteration of the classical PISO algorithm from [155], this
technique allows a more accurate adjustment of the face mass flux correction according
to the normal pressure correction gradient.
c Fluent Inc. September 29, 2006 25-29
Using the Solver
Coupled Algorithm
As previously mentioned, the pressure-based solver allows you to solve your flow prob-
lem in either a segregated or coupled manner. Using the coupled approach offers some
advantages over the non-coupled or segregated approach. The coupled scheme obtains
a robust and efficient single phase implementation for steady-state flows, with superior
performance compared to the segregated solution schemes. This pressure-based coupled
algorithm offers an alternative to the density-based and pressure-based segregated al-
gorithm with SIMPLE-type pressure-velocity coupling. For transient flows, using the
coupled algorithm is necessary when the quality of the mesh is poor, or if large time
steps are used.
The pressure-based segregated algorithm solves the momentum equation and pressure
correction equations separately. This semi-implicit solution method results in slow con-
vergence.
The coupled algorithm solves the momentum and pressure-based continuity equations
together. The full implicit coupling is achieved through an implicit discretization of
pressure gradient terms in the momentum equations, and an implicit discretization of
the face mass flux, including the Rhie-Chow pressure dissipation terms.
In the momentum equations (25.4-3), the pressure gradient for component k is of the
form
au k p p j
X X
p f Ak = − (25.4-15)
f j
Where auk p is the coefficient derived from the Gauss divergence theorem and coefficients
of the pressure interpolation schemes (Equation 25.4-4). Finally, for any ith cell, the
discretized form of the momentum equation for component uk is defined as
25-30
c Fluent Inc. September 29, 2006
25.4 Pressure-Based Solver
In the continuity equation, Equation 25.4-5, the balance of fluxes is replaced using the
flux expression in Equation 25.4-6, resulting in the discretized form
As a result, the overall system of equations (25.4-16 and 25.4-17), after being transformed
to the δ-form, is presented as
~j = B
~i
X
[A]ij X (25.4-18)
j
−rip
~i =
−riu
B (25.4-21)
−riv
−riw
Note that Equation 25.4-18 is solved using the coupled AMG, which is detailed in Sec-
tion 25.6.3: The Coupled and Scalar AMG Solvers.
Limitations
c Fluent Inc. September 29, 2006 25-31
Using the Solver
Under-Relaxation of Variables
The under-relaxation of variables is used in all cases for some material properties, in the
NITA solver for solution variables, and in the pressure-based coupled algorithm where
this explicit under-relaxation is used for momentum and pressure.
Because of the nonlinearity of the equation set being solved by FLUENT, it is necessary
to control the change of φ. This is typically achieved by under-relaxation of variables
(also referred to as explicit relaxation), which reduces the change of φ produced during
each iteration. In a simple form, the new value of the variable φ within a cell depends
upon the old value, φold , the computed change in φ, ∆φ, and the under-relaxation factor,
α, as follows:
Under-Relaxation of Equations
The under-relaxation of equations, also known as implicit relaxation, is used in the
pressure-based solver to stabilize the convergence behavior of the outer nonlinear itera-
tions by introducing selective amounts of φ in the system of discretized equations. This
is equivalent to the location-specific time step.
ap φ X 1−α
= anb φnb + b + ap φold (25.4-23)
α nb α
The CFL number is a solution parameter in the pressure-based coupled algorithm and
can be written in terms of α:
1−α 1
= (25.4-24)
α CF L
25-32
c Fluent Inc. September 29, 2006
25.4 Pressure-Based Solver
Z
∂ρφ I
~
I
~
Z
dV + ρφ ~v · dA = Γφ ∇φ · dA + Sφ dV (25.4-25)
V ∂t V
where
∂ρφ
∂t
= conservative form of transient derivative of transported variable φ
ρ = density
~v = velocity vector (= u ı̂ + v ̂ in 2D)
~
A = surface area vector
Γφ = diffusion coefficient for φ
∇φ = gradient of φ (= ∂φ/∂x) ı̂ + (∂φ/∂y) ̂ in 2D)
Sφ = source of φ per unit volume
The temporal discretization of the transient derivative in the Equation 25.4-25 is de-
scribed in Section 25.3.2: Temporal Discretization, including first-order and second-order
schemes in time. The pressure-based solver in FLUENT uses an implicit discretization of
the transport equation (Equation 25.4-25). As a standard default approach, all convec-
tive, diffusive, and source terms are evaluated from the fields for time level n+1.
Z
∂ρφ I
~
I
n+1 ~
Z
n+1 n+1 n+1
dV + ρ φ ~v · dA = Γφ ∇φn+1
· dA + Sφ n+1 dV (25.4-26)
V ∂t V
c Fluent Inc. September 29, 2006 25-33
Using the Solver
t = t + n∆ t
Correct Velocity
Pressure Flux
Converged? no
yes
Next Time Step
n += 1
25-34
c Fluent Inc. September 29, 2006
25.4 Pressure-Based Solver
The standard fully-implicit discretization of the convective part of Equation 25.4-26 pro-
duces non-linear terms in the resulting equations. In addition, solving these equations
generally requires numerous iterations per time step. As an alternative, FLUENT pro-
vides an optional way to discretize the convective part of Equation 25.4-25 using the
mass flux at the cell faces from the previous time level n.
I I
~=
ρφ ~v · dA ~
ρn φn+1 ~v n · dA (25.4-27)
The solution still has the same order of accuracy but the non-linear character of the
discretized transport equation is essentially reduced and the convergence within each
time step is improved.
To use this feature, turn on the Frozen Flux Formulation option in the Solver panel.
i This option is only available for single-phase transient problems that use
the segregated iterative solver and do not use a moving/deforming mesh
model.
i In general, the NITA solver is not recommended for highly viscous fluid
flow.
c Fluent Inc. September 29, 2006 25-35
Using the Solver
t = t + n∆ t
Converged? No
Yes
Inner
Correct Velocity Iterations
Pressure Flux
Converged? No
Yes
Solve κ and ε
Inner
Iterations
Converged? No
Yes
25-36
c Fluent Inc. September 29, 2006
25.5 Density-Based Solver
∂ Z I Z
W dV + [F − G] · dA = H dV (25.5-1)
∂t V V
ρv
ρ
0
ρu ρvu + pî τxi
W = ρv , F = ρvv + pĵ , G = τyi
ρw
ρvw + p k̂
τzi
ρE
τ v + q
ρvE + pv
ij j
and the vector H contains source terms such as body forces and energy sources.
Here ρ, v, E, and p are the density, velocity, total energy per unit mass, and pressure of
the fluid, respectively. τ is the viscous stress tensor, and q is the heat flux.
Total energy E is related to the total enthalpy H by
E = H − p/ρ (25.5-2)
where
H = h + |v|2 /2 (25.5-3)
c Fluent Inc. September 29, 2006 25-37
Using the Solver
25.5.2 Preconditioning
Time-derivative preconditioning modifies the time-derivative term in Equation 25.5-1 by
pre-multiplying it with a preconditioning matrix. This has the effect of re-scaling the
acoustic speed (eigenvalue) of the system of equations being solved in order to alleviate
the numerical stiffness encountered in low Mach numbers and incompressible flow.
Derivation of the preconditioning matrix begins by transforming the dependent variable
in Equation 25.5-1 from conserved quantities W to primitive variables Q using the chain-
rule as follows:
∂W ∂ Z I Z
Q dV + [F − G] · dA = H dV (25.5-4)
∂Q ∂t V V
where
∂ρ ∂ρ
ρp = , ρT =
∂p T ∂T p
25-38
c Fluent Inc. September 29, 2006
25.5 Density-Based Solver
We precondition the system by replacing the Jacobian matrix ∂W/∂Q (Equation 25.5-5)
with the preconditioning matrix Γ so that the preconditioned system in conservation form
becomes
∂ Z I Z
Γ Q dV + [F − G] · dA = H dV (25.5-6)
∂t V V
where
Θ 0 0 0 ρT
Θu ρ 0 0 ρT u
Γ=
Θv 0 ρ 0 ρT u
(25.5-7)
Θw 0 0 ρ ρT u
ΘH − δ ρu ρv ρw ρT H + ρCp
The reference velocity Ur appearing in Equation 25.5-8 is chosen locally such that the
eigenvalues of the system remain well conditioned with respect to the convective and
diffusive time scales [396].
The resultant eigenvalues of the preconditioned system (Equation 25.5-6) are given by
u, u, u, u0 + c0 , u0 − c0 (25.5-9)
where
u = v · n̂
u0 = u (1 − α)
q
c0 = α2 u2 + Ur2
α = 1 − βUr2 /2
!
ρT
β = ρp +
ρCp
c Fluent Inc. September 29, 2006 25-39
Using the Solver
For an ideal gas, β = (γRT )−1 = 1/c2 . Thus, when Ur = c (at sonic speeds and above),
α = 0 and the eigenvalues of the preconditioned system take their traditional form, u ± c.
At low speed, however, as Ur → 0, α → 1/2 and all eigenvalues become of the same order
as u. For constant-density flows, β = 0 and α = 1/2 regardless of the values of Ur . As
long as the reference velocity is of the same order as the local velocity, all eigenvalues
remain of the order u. Thus, the eigenvalues of the preconditioned system remain well
conditioned at all speeds.
Note that the non-preconditioned Navier-Stokes equations are recovered exactly from
Equation 25.5-6 by setting 1/Ur2 to ρp , the derivative of density with respect to pressure.
In this case Γ reduces exactly to the Jacobian ∂W/∂Q.
Although Equation 25.5-6 is conservative in the steady state, it is not, in a strict sense,
conservative for time-dependent flows. This is not a problem, however, since the pre-
conditioning has already destroyed the time accuracy of the equations and we will not
employ them in this form for unsteady calculations.
For unsteady calculations, an unsteady preconditioning is available when the dual-time
stepping method is used (Section 25.5.5: Implicit Time Stepping (Dual-Time formulation)).
The unsteady preconditioning enhances the solution accuracy by improving the scaling
of the artificial dissipation and maximizes the efficiency by optimizing the number of
sub-iterations required at each physical time step [276]. For low Mach number flows
in particular, for both low frequency problems (large time steps) and high frequency
problems (small time step), significant savings in computational time are possible when
compared with the non-preconditioned case.
The unsteady preconditioning adapts the level of preconditioning based on the user speci-
fied time-step and on the local advective and acoustic time scales of the flow. For acoustic
problems, the physical time-step size is small as it is based on the acoustic CFL number.
In this case the preconditioning parameter Ur2 will approach c2 , which in effect will turn
off the low-Mach preconditioning almost completely. For advection dominated problems,
like the transport of turbulent vortical structures, etc., the physical time-step is large as
it is based on the particle CFL number. The corresponding unsteady preconditioning
parameter Ur2 will then approach u2 , which corresponds to the steady preconditioning
choice. For intermediate physical time-step sizes, the unsteady preconditioning parameter
will be adapted to provide optimum convergence efficiency of the pseudo-time iterations
and accurate scaling of the artificial dissipation terms, regardless of the choice of the
physical time step.
25-40
c Fluent Inc. September 29, 2006
25.5 Density-Based Solver
1 1
F= (FR + FL ) − Γ |Â| δQ (25.5-10)
2 2
Here δQ is the spatial difference QR − QL . The fluxes FR = F (QR ) and FL = F (QL )
are computed using the (reconstructed) solution vectors QR and QL on the “right” and
“left” side of the face. The matrix |Â| is defined by
where Λ is the diagonal matrix of eigenvalues and M is the modal matrix that diagonalizes
Γ−1 A, where A is the inviscid flux Jacobian ∂F/∂Q.
For the non-preconditioned system (and an ideal gas) Equation 25.5-10 reduces to Roe’s
flux-difference splitting [308] when Roe-averaged values are used to evaluate Γ |Â|. At
present, arithmetic averaging of states QR and QL is used.
In its current form, Equation 25.5-10 can be viewed as a second-order central difference
plus an added matrix dissipation. The added matrix dissipation term is not only respon-
sible for producing an upwinding of the convected variables, and of pressure and flux
velocity in supersonic flow, but it also provides the pressure-velocity coupling required
for stability and efficient convergence of low-speed and incompressible flows.
c Fluent Inc. September 29, 2006 25-41
Using the Solver
AUSM+ Scheme
An alternative way to compute the flux vector F appearing in Equation 25.5-6 is by us-
ing a flux-vector splitting scheme [57]. The scheme, called Advection Upstream Splitting
Method (AUSM), was first introduced by Liou and Steffen in 1993 [215]. The AUSM
scheme first computes a cell interface Mach number based on the characteristic speeds
from the neighboring cells. The interface Mach number is then used to determine the
upwind extrapolation for the convection part of the inviscid fluxes. A separate Mach
number splitting is used for the pressure terms. Generalized Mach number based con-
vection and pressure splitting functions were proposed by Liou [214] and the new scheme
was termed AUSM+. The AUSM+ scheme has several desirable properties:
The AUSM+ scheme avoids using an explicit artificial dissipation, by proposing a nu-
merical flux of the form:
F = mf φ + pi (25.5-12)
Here mf is the mass flux through the interface, which is computed using the fourth order
polynomial functions of the left and right side (of the interface) Mach numbers.
FLUENT utilizes an all-speed version of the AUSM+ scheme based on the low-Mach
preconditioning.
i The low diffusion discretization must be used only for subsonic flows. For
high Mach number flows, you should switch to the second-order upwind
scheme.
25-42
c Fluent Inc. September 29, 2006
25.5 Density-Based Solver
Explicit Formulation
In the explicit scheme a multi-stage, time-stepping algorithm [161] is used to discretize
the time derivative in Equation 25.5-6. The solution is advanced from iteration n to
iteration n + 1 with an m-stage Runge-Kutta scheme, given by
Q0 = Qn
∆Qi = −αi ∆tΓ−1 Ri−1
Qn+1 = Qm
where ∆Qi ≡ Qi − Qn and i = 1, 2, . . . , m is the stage counter for the m-stage scheme.
αi is the multi-stage coefficient for the ith stage. The residual Ri is computed from the
intermediate solution Qi and, for Equation 25.5-6, is given by
NX
faces
Ri = F(Qi ) − G(Qi ) · A − V H (25.5-13)
2CFL · V
∆t = P max (25.5-14)
f λf Af
where V is the cell volume, Af is the face cell, and λf max is the maximum of the local
eigenvalues defined by Equation 25.5-9.
For steady-state solutions, convergence acceleration of the explicit formulation can be
achieved with the use of local time stepping, residual smoothing, and full-approximation
storage multigrid.
Local time stepping is a method by which the solution at each control volume is advanced
in time with respect to the cell time step, defined by the local stability limit of the time-
stepping scheme.
Residual smoothing, on the other hand, increases the bound of stability limits of the
time-stepping scheme and hence allows for the use of a larger CFL value to achieve fast
convergence (Section 25.5.4: Implicit Residual Smoothing).
c Fluent Inc. September 29, 2006 25-43
Using the Solver
The convergence rate of the explicit scheme can be accelerated through use of the
full-approximation storage (FAS) multigrid method described in Section 25.6.4: Full-
Approximation Storage (FAS) Multigrid.
By default, FLUENT uses a 3-stage Runge-Kutta scheme based on the work by Lynn [225]
for steady-state flows that use the density-based explicit solver.
The maximum time step can be further increased by increasing the support of the scheme
through implicit averaging of the residuals with their neighbors. The residuals are filtered
through a Laplacian smoothing operator:
X
R̄i = Ri + (R̄j − R̄i ) (25.5-15)
Ri + R̄jm−1
P
R̄im = P (25.5-16)
1+ 1
Two Jacobi iterations are usually sufficient to allow doubling the time step with a value
of = 0.5.
Implicit Formulation
In the implicit scheme, an Euler implicit discretization in time of the governing equations
(Equation 25.5-6) is combined with a Newton-type linearization of the fluxes to produce
the following linearized system in delta form [394]:
NX
faces
D + Sj,k ∆Qn+1 = −Rn (25.5-17)
j
The center and off-diagonal coefficient matrices, D and Sj,k are given by
NX
V faces
D = Γ+ Sj,i (25.5-18)
∆t j
!
∂Fj ∂Gj
Sj,k = − Aj (25.5-19)
∂Qk ∂Qk
and the residual vector Rn and time step ∆t are defined as in Equation 25.5-13 and
Equation 25.5-14, respectively.
25-44
c Fluent Inc. September 29, 2006
25.5 Density-Based Solver
Equation 25.5-17 is solved using either Incomplete Lower Upper factorization (ILU) by
default or asymmetric point Gauss-Seidel algorithm, in conjunction with an algebraic
multigrid (AMG) method (see Section 25.6.3: Algebraic Multigrid (AMG)) adapted for
coupled sets of equations.
∂ Z ∂ Z I Z
W dV + Γ Q dV + [F − G] · dA = H dV (25.5-20)
∂t V ∂τ V V
c Fluent Inc. September 29, 2006 25-45
Using the Solver
" #
Γ 0 ∂W k+1 1 I
+ ∆Q + [F − G] · dA
∆τ ∆t ∂Q V
1
=H − 0 Wk − 1 Wn + 2 Wn−1
∆t
where {0 = 1 = 1/2, 2 = 0} gives first-order time accuracy, and {0 = 3/2, 1 = 2, 2 =
1/2} gives second-order. k is the inner iteration counter and n represents any given
physical-time level.
The pseudo-time-derivative is driven to zero at each physical time level by a series of
inner iterations using either the implicit or explicit time-marching algorithm.
Throughout the (inner) iterations in pseudo-time, Wn and Wn−1 are held constant and
Wk is computed from Qk . As τ → ∞, the solution at the next physical time level Wn+1
is given by W(Qk ).
Note that the physical time step ∆t is limited only by the level of desired temporal
accuracy. The pseudo-time-step ∆τ is determined by the CFL condition of the (implicit
or explicit) time-marching scheme.
Table 25.5.1 summarizes all operation modes for the density-based solver from the itera-
tive scheme in steady-state calculations to time-marching schemes for transient calcula-
tions.
25-46
c Fluent Inc. September 29, 2006
25.5 Density-Based Solver
c Fluent Inc. September 29, 2006 25-47
Using the Solver
25.6.1 Approach
FLUENT uses a multigrid scheme to accelerate the convergence of the solver by computing
corrections on a series of coarse grid levels. The use of this multigrid scheme can greatly
reduce the number of iterations and the CPU time required to obtain a converged solution,
particularly when your model contains a large number of control volumes.
25-48
c Fluent Inc. September 29, 2006
25.6 Multigrid Method
A φe + b = 0 (25.6-1)
where φe is the exact solution. Before the solution has converged there will be a defect
d associated with the approximate solution φ:
Aφ + b = d (25.6-2)
φe = φ + ψ (25.6-3)
A (φ + ψ) + b = 0 (25.6-4)
A ψ + (A φ + b) = 0 (25.6-5)
Aψ + d = 0 (25.6-6)
which is an equation for the correction in terms of the original fine level operator A and
the defect d. Assuming the local (high-frequency) errors have been sufficiently damped
by the relaxation scheme on the fine level, the correction ψ will be smooth and therefore
more effectively solved on the next coarser level.
c Fluent Inc. September 29, 2006 25-49
Using the Solver
AH ψ H + R d = 0 (25.6-7)
where AH is the coarse level operator and R the restriction operator responsible for
transferring the fine level defect down to the coarse level. Solution of Equation 25.6-7 is
followed by an update of the fine level solution given by
φnew = φ + P ψ H (25.6-8)
where P is the prolongation operator used to transfer the coarse level corrections up to
the fine level.
Unstructured Multigrid
The primary difficulty with using multigrid on unstructured grids is the creation and use
of the coarse grid hierarchy. On a structured grid, the coarse grids can be formed simply
by removing every other grid line from the fine grids and the prolongation and restriction
operators are simple to formulate (e.g., injection and bilinear interpolation).
The difficulties of applying multigrid on unstructured grids are overcome in a separate
fashion by each of the two multigrid methods used in FLUENT. While the basic principles
discussed so far and the cycling strategy described in Section 25.6.2: Multigrid Cycles
are the same, the techniques for construction of restriction, prolongation, and coarse
grid operators are different, as discussed in Section 25.6.3: Algebraic Multigrid (AMG)
and Section 25.6.4: Full-Approximation Storage (FAS) Multigrid for the AMG and FAS
methods, respectively.
25-50
c Fluent Inc. September 29, 2006
25.6 Multigrid Method
1. First, iterations are performed on the current grid level to reduce the high-frequency
components of the error (local error). For AMG, one iteration consists of one for-
ward and one backward Gauss-Seidel sweep. For FAS, one iteration consists of one
pass of the multi-stage scheme (described in Section 25.5.4: Explicit Formulation).
These iterations are referred to as pre-relaxation sweeps because they are performed
before moving to the next coarser grid level. The number of pre-relaxation sweeps
is specified by β1 .
In Figures 25.6.1 and 25.6.2 this step is represented by a circle and marks the start
of a multigrid cycle. The high-wave-number components of error should be reduced
until the remaining error is expressible on the next coarser mesh without significant
aliasing.
If this is the coarsest grid level, then the multigrid cycle on this level is complete. (In
Figures 25.6.1 and 25.6.2 there are 3 coarse grid levels, so the square representing
the multigrid cycle on level 3 is equivalent to a circle, as shown in the final diagram
in each figure.)
3. The error on the coarse grid is reduced by performing a specified number (β2 ) of
multigrid cycles (represented in Figures 25.6.1 and 25.6.2 as squares). Commonly,
for fixed multigrid strategies β2 is either 1 or 2, corresponding to V-cycle and W-
cycle multigrid, respectively.
c Fluent Inc. September 29, 2006 25-51
Using the Solver
grid
level multigrid cycle
0 pre-relaxation sweeps
0
1
2
0
1
2
3
0
1
2
3
grid
level multigrid cycle
0 pre-relaxation sweeps
0
1
2
0
1
2
3
0
1
2
3
25-52
c Fluent Inc. September 29, 2006
25.6 Multigrid Method
5. In the final step, iterations are performed on the fine grid to remove the high-
frequency error introduced on the coarse grid by the multigrid cycles. These iter-
ations are referred to as post-relaxation sweeps because they are performed after
returning from the next coarser grid level. The number of post-relaxation sweeps
is specified by β3 .
In Figures 25.6.1 and 25.6.2, this relaxation procedure is represented by a single
triangle.
For AMG, the default value of β3 is 1.
i Note, however, that if you are using AMG with V-cycle to solve an en-
ergy equation with a solid conduction model presented with anisotropic
or very high conductivity coefficient, there is a possibility of divergence
with a default post-relaxation sweep of 1. In such cases you should in-
crease the post-relaxation sweep (e.g., to 2) in the AMG section for bet-
ter convergence, or change the cycle type to F-cycle or W-cycle, with an
under-relaxation factor set to 1. This is especially effective when calcu-
lating pure heat conduction or conjugate heat transfer. Any instability
observed when using the F-cycle or W-cycle can be remedied by increasing
the pre-relaxation sweep count to 1. Although the default value of 0 is
optimal for most cases, increasing the pre-relaxation sweep value to 1 or 2
can improve convergence.
Since the default value for β1 is 0 (i.e., pre-relaxation sweeps are not performed),this
procedure is roughly equivalent to using the solution from the coarse level as the
initial guess for the solution at the fine level.
For FAS, the default value of β3 is zero (i.e., post-relaxation sweeps are not per-
formed); post-relaxation sweeps are never performed at the end of the cycle for
the finest grid level, regardless of the value of β3 . This is because for FAS, post-
relaxation sweeps at the fine level are equivalent to pre-relaxation sweeps during
the next cycle.
c Fluent Inc. September 29, 2006 25-53
Using the Solver
P = RT (25.6-9)
The restriction operator is defined by a coarsening or “grouping” of fine level cells into
coarse level ones. In this process each fine level cell is grouped with one or more of
its “strongest” neighbors, with a preference given to currently ungrouped neighbors.
The algorithm attempts to collect cells into groups of fixed size, typically two or four,
but any number can be specified. In the context of grouping, strongest refers to the
neighbor j of the current cell i for which the coefficient Aij is largest. For sets of coupled
equations Aij is a block matrix and the measure of its magnitude is simply taken to be
the magnitude of its first element. In addition, the set of coupled equations for a given
cell are treated together and not divided amongst different coarse cells. This results in
the same coarsening for each equation in the system.
25-54
c Fluent Inc. September 29, 2006
25.6 Multigrid Method
R dnew = 0 (25.6-10)
Upon substituting Equations 25.6-2 and 25.6-8 for dnew and φnew we have
R [A φnew + b] = 0
h i
R A φ + P ψH + b = 0 (25.6-11)
R A P ψ H + R (A φ + b) = 0
R A P ψH + R d = 0 (25.6-12)
Comparison of Equation 25.6-12 with Equation 25.6-7 leads to the following expression
for the coarse level operator:
AH = R A P (25.6-13)
The construction of coarse level operators thus reduces to a summation of diagonal and
corresponding off-diagonal blocks for all fine level cells within a group to form the diagonal
block of that group’s coarse cell.
c Fluent Inc. September 29, 2006 25-55
Using the Solver
The F Cycle
The multigrid F cycle is essentially a combination of the V and W cycles described in
Section 25.6.2: The V and W Cycles.
Recall that the multigrid cycle is a recursive procedure. The procedure is expanded to
the next coarsest grid level by performing a single multigrid cycle on the current level.
Referring to Figures 25.6.1 and 25.6.2, this means replacing the square on the current
level (representing a single cycle) with the procedure shown for the 0-1 level cycle (the
second diagram in each figure). We see that a V cycle consists of:
and a W cycle:
As expected, the F cycle requires more computation than the V cycle, but less than the
W cycle. However, its convergence properties turn out to be better than the V cycle and
roughly equivalent to the W cycle. The F cycle is the default AMG cycle type for the
coupled equation set.
25-56
c Fluent Inc. September 29, 2006
25.6 Multigrid Method
level
R0
0
Solve for φ on level 0 (fine) grid return R 0i< α R 00 or
relaxation i > i max,fine
0 0
R i> β R i-1 1 1
R i< α R 0 or
i > i max,coarse
1 1
R i> β R i-1 2 2
R i< α R 0 or
i > i max,coarse
2 2
R i> β R i-1 3 3
R i< α R 0 or
i > i max,coarse
etc.
The multigrid procedure invokes calculations on the next coarser grid level when the
error reduction rate on the current level is insufficient, as defined by
Here Ri is the absolute sum of residuals (defect) computed on the current grid level after
the ith relaxation on this level. The above equation states that if the residual present in
the iterative solution after i relaxations is greater than some fraction, β (between 0 and
1), of the residual present after the (i − 1)th relaxation, the next coarser grid level should
be visited. Thus β is referred to as the residual reduction tolerance, and determines when
to “give up” on the iterative solution at the current grid level and move to solving the
correction equations on the next coarser grid. The value of β controls the frequency with
which coarser grid levels are visited. The default value is 0.7. A larger value will result
in less frequent visits, and a smaller value will result in more frequent visits.
c Fluent Inc. September 29, 2006 25-57
Using the Solver
Provided that the residual reduction rate is sufficiently rapid, the correction equations
will be converged on the current grid level and the result applied to the solution field on
the next finer grid level.
The correction equations on the current grid level are considered sufficiently converged
when the error in the correction solution is reduced to some fraction, α (between 0 and
1), of the original error on this grid level:
Here, Ri is the residual on the current grid level after the ith iteration on this level,
and R0 is the residual that was initially obtained on this grid level at the current global
iteration. The parameter α, referred to as the termination criterion, has a default value
of 0.1. Note that the above equation is also used to terminate calculations on the lowest
(finest) grid level during the multigrid procedure. Thus, relaxations are continued on each
grid level (including the finest grid level) until the criterion of this equation is obeyed
(or until a maximum number of relaxations has been completed, in the case that the
specified criterion is never achieved).
aij xj = bi (25.6-16)
~j = B
[A]ij X ~i (25.6-17)
25-58
c Fluent Inc. September 29, 2006
25.6 Multigrid Method
~j =
.
X (25.6-19)
.
xNj
b1i
~i =
.
B (25.6-20)
.
bNi
The above resultant system of equations is solved in FLUENT using either the Gauss-
Seidel smoother or the Incomplete Lower Upper decomposition (ILU) smoother. If a
scalar system of equations is to be solved then the point-method (Gauss-Seidel or ILU)
smoother is used, while for a coupled system of equations the block-method (Gauss-Seidel
or ILU) smoother is used.
Gauss-Seidel
The Gauss-Seidel method is a technique for solving a linear system of equations one at
a time and in sequence. It uses the previously computed results as soon as they become
available. It performs two sweeps on the unknowns in forward and backward directions.
Both point or block method Gauss-Seidel smoothers are available in FLUENT to solve
for either the scalar AMG system of equations or the coupled AMG system of equations.
The Gauss-Seidel procedure can be illustrated using the scalar system, Equation 25.6-16.
The forward sweep can be written as:
(i = 1, ..., N )
where N is the number of unknowns. The forward sweep is followed by a backward sweep
which can be written as:
c Fluent Inc. September 29, 2006 25-59
Using the Solver
Following from Equations 25.6-21 and 25.6-22, symmetric Gauss-Seidel can be expressed
in matrix form as a two-step recursive solution of the system
where DA , LA , and UA represent diagonal, lower tridiagonal, and upper tridiagonal parts
of matrix A, respectively.
Symmetric Gauss-Seidel has a somewhat limited rate of smoothing of residuals between
levels of AMG, unless the coarsening factor is set to 2.
A more effective AMG smoother is based on the ILU decomposition technique. In general,
any iterational method can be represented as
Ax = b (25.6-25)
M should be close to A and the calculation of M −1 should have a low operation count.
We consider M as an incomplete lower upper factorization of the matrix A such that
M = LU = (D + LA )D−1 (D + UA ) (25.6-26)
where LA and UA are the lower tridiagonal and upper tridiagonal parts of matrix A. The
diagonal matrix D is calculated in a special way to satisfy the following condition for
diagonal DM of matrix M:
DM = DA (25.6-27)
In this case, the ith element of the diagonal of D will be calculated using
X aij aji
dii = aii − ( ) (25.6-28)
j<1 djj
The calculation of the new solution xk+1 is then performed in two symmetric recursive
sweeps, similar to Gauss-Seidel sweeps. Diagonal elements dii of the ILU decomposition
are calculated during the construction of levels and stored in the memory. ILU smoother
is slightly more expensive compared to Gauss-Seidel, but has better smoothing properties,
25-60
c Fluent Inc. September 29, 2006
25.6 Multigrid Method
especially for block-coupled systems solved by coupled AMG. In this case, coarsening of
levels can be more aggressive using coarsening factors between 8 and 12 for 3D problems
compared to 2 for Gauss-Seidel.
i When solving the coupled systems, shorter solution times and more robust
performance can be obtained by using the default ILU smoother, rather
than the Gauss-Seidel smoother, which is the default for scalar systems.
ILU is recommended whenever the coupled AMG solver is used.
It is interesting to note that although the coarse grid cells look very irregular, the dis-
cretization cannot “see” the jaggedness in the cell faces. The discretization uses only the
area projections of the cell faces and therefore each group of “jagged” cell faces separat-
ing two irregularly-shaped cells is equivalent to a single straight line (in 2D) connecting
the endpoints of the jagged segment. (In 3D, the area projections form an irregular, but
continuous, geometrical shape.) This optimization decreases the memory requirement
and the computation time.
c Fluent Inc. September 29, 2006 25-61
Using the Solver
by taking the volume average of the solution values in the embedded fine grid cells.
Residuals for the coarse grid cell are obtained by summing the residuals in the embedded
fine grid cells.
The prolongation operator P used to transfer corrections up to the fine level is constructed
to simply set the fine grid correction to the associated coarse grid value.
The coarse grid corrections ψ H , which are brought up from the coarse level and applied to
the fine level solution, are computed from the difference between the solution calculated
on the coarse level φH and the initial solution restricted down to the coarse level Rφ.
Thus correction of the fine level solution becomes
φnew = φ + P φH − Rφ (25.6-29)
Here dH is the coarse grid residual computed from the current coarse grid solution φH ,
and dH (Rφ) is the coarse grid residual computed from the restricted fine level solution
Rφ. Initially, these two terms will be the same (because initially we have φH = Rφ) and
cancel from the equation, leaving
AH φH = −Rdh (25.6-31)
So there will be no coarse level correction when the fine grid residual dh is zero.
25-62
c Fluent Inc. September 29, 2006
25.7 How to Use the Solver
• pressure-based
• density-based
Both solvers can be used for a broad range of flows, but in some cases one formulation may
perform better (i.e., yield a solution more quickly or resolve certain flow features better)
than the other. The pressure-based and density-based approaches differ in the way that
the continuity, momentum, and (where appropriate) energy and species equations are
solved, as described in Section 25.1: Overview of Flow Solvers.
The pressure-based solver traditionally has been used for incompressible and mildly com-
pressible flows. The density-based approach, on the other hand, was originally designed
for high-speed compressible flows. Both approaches are now applicable to a broad range
of flows (from incompressible to highly compressible), but the origins of the density-
based formulation may give it an accuracy (i.e. shock resolution) advantage over the
pressure-based solver for high-speed compressible flows.
Two formulations exist under the density-based solver: implicit and explicit. The density-
based explicit and implicit formulations solve the equations for additional scalars (e.g.,
turbulence or radiation quantities) sequentially. The implicit and explicit density-based
formulations differ in the way that they linearize the coupled equations.
See Section 25.1: Overview of Flow Solvers for more details about the solver formulations.
Due to broader stability characteristics of the implicit formulation, a converged steady-
state solution can be obtained much faster using the implicit formulation rather than the
explicit formulation. However, the implicit formulation requires more memory than the
explicit formulation.
Two algorithms also exist under the pressure-based solver in FLUENT: a segregated al-
gorithm and a coupled algorithm. In the segregated algorithm the governing equations
are solved sequentially, segregated from one another, while in the coupled algorithm the
momentum equations and the pressure-based continuity equation are solved in a cou-
pled manner. In general, the coupled algorithm significantly improves the convergence
speed over the segregated algorithm, however, the memory requirement for the coupled
algorithm is more than the segregated algorithm.
c Fluent Inc. September 29, 2006 25-63
Using the Solver
When selecting a solver and an algorithm you must consider the following issues:
• The size of the mesh under consideration and the available memory on your ma-
chine. This issue could be an important factor in deciding whether to use an
explicit or implicit formulation when the density-based solver is selected, or to use
a segregated or coupled algorithm when the pressure-based solver is selected.
The following two lists highlight the model availability for each solver:
• Cavitation model
• Soot model
• Melting/solidification model
25-64
c Fluent Inc. September 29, 2006
25.7 How to Use the Solver
The following features are available with the density-based solver, but not with the
pressure-based solver:
To choose one of the solver formulations, you will use the Solver panel (Figure 25.7.1).
Define −→ Models −→Solver...
To use the pressure-based solver, retain the default selection of Pressure Based under
Solver.
To use the density-based implicit formulation, select Density Based under Solver and
Implicit (the default) under Formulation.
To use the density-based explicit formulation, select Density Based under Solver and
Explicit under Formulation.
c Fluent Inc. September 29, 2006 25-65
Using the Solver
After you have defined your model and specified which solver you want to use, you are
ready to run the solver. The following steps outline a general procedure you can follow:
1. Choose the discretization scheme and, for the pressure-based solver, the pressure
interpolation scheme (see Section 25.8: Choosing the Discretization Scheme).
2. (pressure-based solver only) Select the pressure-velocity coupling method (see Sec-
tion 25.9.1: Choosing the Pressure-Velocity Coupling Method).
3. (pressure-based solver only) Select the porous media velocity method (see
Section 7.19: Porous Media Conditions).
4. Select how you want the derivatives to be evaluated by choosing a gradient option
(see Section 25.3.3: Evaluation of Gradients and Derivatives).
5. Set the under-relaxation factors (see Section 25.9.2: Setting Under-Relaxation Factors).
6. (density-based explicit formulation only) Turn on FAS multigrid (see Section 25.10.3: Turn-
ing On FAS Multigrid).
7. Make any additional modifications to the solver settings that are suggested in the
chapters or sections that describe the models you are using.
9. Enable the appropriate solution monitors (see Section 25.18: Monitoring Solution
Convergence).
10. Start calculating (see Section 25.16: Performing Steady-State Calculations for steady-
state calculations, or Section 25.17: Performing Time-Dependent Calculations for
time-dependent calculations).
11. If you have convergence trouble, try one of the methods discussed in
Section 25.22: Convergence and Stability.
The default settings for the first three items listed above are suitable for most problems
and need not be changed. The following sections outline how these and other solution
parameters can be changed, and when you may wish to change them.
25-66
c Fluent Inc. September 29, 2006
25.8 Choosing the Discretization Scheme
c Fluent Inc. September 29, 2006 25-67
Using the Solver
i If QUICK is used for hybrid meshes, it will be invoked only for quadrilateral
and hexahedral cells. Second-order discretization will be applied to all
other cells.
A power law scheme is also available, but it will generally yield the same accuracy as the
first-order scheme.
The bounded central differencing and central differencing schemes are available only when
you are using the LES and DES turbulence models, and the central differencing scheme
should be used only when the mesh spacing is fine enough so that the magnitude of the
local Peclet number (Equation 25.3-3) is less than 1.
A modified HRIC scheme (Section 25.3.1: Modified HRIC Scheme) is also available for
VOF simulations using either the implicit or explicit formulation.
• For problems involving large body forces, the body-force-weighted scheme is rec-
ommended.
• For flows with high swirl numbers, high-Rayleigh-number natural convection, high-
speed rotating flows, flows involving porous media, and flows in strongly curved
domains, use the PRESTO! scheme.
• For compressible flows, the second-order scheme is recommended.
• Use the second-order scheme for improved accuracy when one of the other schemes
is not applicable.
i Only PRESTO! and body-force-weighted schemes are available for the VOF
and mixture multiphase models.
25-68
c Fluent Inc. September 29, 2006
25.8 Choosing the Discretization Scheme
Note that you will not specify the pressure interpolation scheme if you are using the
Eulerian multiphase model. FLUENT will use the solution method described in Sec-
tion 23.5.11: Solution Method in FLUENT for Eulerian multiphase calculations.
c Fluent Inc. September 29, 2006 25-69
Using the Solver
Figure 25.8.1: The Solution Controls Panel for the Pressure-Based Segregated
Algorithm
For each scalar equation listed under Discretization (Momentum, Energy, Turbulence Ki-
netic Energy, etc. for the pressure-based solver or Turbulence Kinetic Energy, Turbulence
Dissipation Rate, etc. for the density-based solver) you can choose First Order Upwind,
Second Order Upwind, Power Law, QUICK, Third-Order MUSCL, or (if you are using the
LES turbulence model) Bounded Central Differencing (the default) or Central Differencing
in the adjacent drop-down list. For the density-based solver, you can choose either First
Order Upwind, Second Order Upwind, or Third-Order MUSCL for the Flow equations (which
include momentum and energy). Note that the panel shown in Figure 25.8.1 is for the
pressure-based solver.
25-70
c Fluent Inc. September 29, 2006
25.9 Pressure-Based Solver Settings
If you are using the pressure-based solver, select the pressure interpolation scheme under
Discretization in the drop-down list next to Pressure. You can choose Standard, Linear,
Second Order, Body Force Weighted, or PRESTO!.
c Fluent Inc. September 29, 2006 25-71
Using the Solver
PISO
The PISO algorithm (see Section 25.4.3: PISO) with neighbor correction is highly recom-
mended for all transient flow calculations, especially when you want to use a large time
step. (For problems that use the LES turbulence model, which usually requires small
time steps, using PISO may result in increased computational expense, so SIMPLE or
SIMPLEC should be considered instead.) PISO can maintain a stable calculation with
a larger time step and an under-relaxation factor of 1.0 for both momentum and pres-
sure. For steady-state problems, PISO with neighbor correction does not provide any
noticeable advantage over SIMPLE or SIMPLEC with optimal under-relaxation factors.
PISO with skewness correction is recommended for both steady-state and transient cal-
culations on meshes with a high degree of distortion.
When you use PISO neighbor correction, under-relaxation factors of 1.0 or near 1.0
are recommended for all equations. If you use just the PISO skewness correction for
highly-distorted meshes (without neighbor correction), set the under-relaxation factors
for momentum and pressure so that they sum to 1 (e.g., 0.3 for pressure and 0.7 for mo-
mentum). If you use both PISO methods, follow the under-relaxation recommendations
for PISO neighbor correction, above.
For most problems, it is not necessary to disable the default coupling between neighbor
and skewness corrections. For highly distorted meshes, however, disabling the default
coupling between neighbor and skewness corrections is recommended.
25-72
c Fluent Inc. September 29, 2006
25.9 Pressure-Based Solver Settings
Coupled
Selecting Coupled from the Pressure-Velocity Coupling drop-down list indicates that you
are using the pressure-based coupled algorithm, described in Section 25.4.3: Coupled
Algorithm. This solver offers some advantages over the pressure-based segregated algo-
rithm. The pressure-based coupled algorithm obtains a more robust and efficient single
phase implementation for steady-state flows. It is not available for cases using the Eule-
rian multiphase, NITA, and periodic mass-flow boundary conditions.
User Inputs
You can specify the pressure-velocity coupling method in the Solution Controls panel
(Figure 25.8.1).
Solve −→ Controls −→Solution...
Choose SIMPLE, SIMPLEC, PISO, Fractional Step, or Coupled in the Pressure-Velocity
Coupling drop-down list.
If you choose PISO, the panel will expand to show the additional parameters for pressure-
velocity coupling. By default, the number of iterations for Skewness Correction and Neigh-
bor Correction are set to 1. If you want to use only Skewness Correction, then set the
number of iterations for Neighbor Correction to 0. Likewise, if you want to use only
Neighbor Correction, then set the number of iterations for Skewness Correction to 0. For
most problems, you do not need to change the default iteration values. By default, the
Skewness-Neighbor Coupling option is enabled to allow for a more economical but a less
robust variation of the PISO algorithm.
If you choose SIMPLEC under Pressure-Velocity Coupling, you must also set the Skewness
Correction, whose default value is 0.
c Fluent Inc. September 29, 2006 25-73
Using the Solver
If you choose Coupled, you will have to specify the Courant number, which is set at 200 by
default. You will also specify the Explicit Relaxation Factors for Momentum and Pressure,
which are set at 0.75 by default. For more information about these options, refer to
Sections 25.4.3 and 25.4.4.
If high-order momentum discretization is used, you may need to decrease the explicit
relaxation to 0.5. For cases with very skewed meshes, the run can be stabilized by further
reduction of the explicit relaxation factor to 0.25. If FLUENT immediately diverges in
the AMG solver, then the CFL number is too high and should be reduced. Reducing the
CFL number below 10 is not recommended since it would be better to use the segregated
algorithm for the pressure-velocity coupling.
In most transient cases, the CFL number should be set to 107 with an explicit relaxation
of 1.0.
25-74
c Fluent Inc. September 29, 2006
25.9 Pressure-Based Solver Settings
Note that viscosity and density are under-relaxed from iteration to iteration. Also, if the
enthalpy equation is solved directly instead of the temperature equation (i.e., for non-
premixed combustion calculations), the update of temperature based on enthalpy will
be under-relaxed. To see the default under-relaxation factors, you can click the Default
button in the Solution Controls panel.
For most flows, the default under-relaxation factors do not usually require modification.
If unstable or divergent behavior is observed, however, you need to reduce the under-
relaxation factors for pressure, momentum, k, and from their default values to about
0.2, 0.5, 0.5, and 0.5. (It is usually not necessary to reduce the pressure under-relaxation
for SIMPLEC.) In problems where density is strongly coupled with temperature, as in
very-high-Rayleigh-number natural- or mixed-convection flows, it is wise to also under-
relax the temperature equation and/or density (i.e., use an under-relaxation factor less
than 1.0). Conversely, when temperature is not coupled with the momentum equations
(or when it is weakly coupled), as in flows with constant density, the under-relaxation
factor for temperature can be set to 1.0.
For other scalar equations (e.g., swirl, species, mixture fraction and variance) the default
under-relaxation may be too aggressive for some problems, especially at the start of the
calculation. You may wish to reduce the factors to 0.8 to facilitate convergence.
User Inputs
You can modify the under-relaxation factors in the Solution Controls panel (Figure 25.8.1).
i If you are using the pressure-based solver, all equations will have an
associated under-relaxation factor (Section 25.4.4: Under-Relaxation of
Equations). If you are using the density-based solver, only those equations
that are solved sequentially (see Section 25.1.2: Density-Based Solver) will
have under-relaxation factors.
If you change under-relaxation factors, but you then want to return to FLUENT’s default
settings, you can click the Default button. FLUENT will change the factors to the default
values and the Default button will become the Reset button. To get your settings back
again, you can click the Reset button.
Note that with optimal settings, the convergence of the coupled pressure-velocity algo-
rithm will be limited by the segregated solution of other scalar equations, e.g., turbulence.
For optimum solver performance, you will need to increase the relaxation factors for these
equations to a value greater than the default values.
c Fluent Inc. September 29, 2006 25-75
Using the Solver
4. Under Pressure-Velocity Coupling, you can choose either the Fractional Step or PISO
scheme. Under Non-Iterative Solver Controls, you will see parameters that control
the sub-iterations for individual equations (see below). When you select the PISO
scheme, you can set the value for the Neighbor Correction. Skewness correction is
performed automatically.
25-76
c Fluent Inc. September 29, 2006
25.9 Pressure-Based Solver Settings
User Inputs
You can modify the non-iterative solution controls in the Solution Controls panel (Fig-
ure 25.9.1).
Solve −→ Controls −→Solution...
Figure 25.9.1: The Solution Controls Panel for the Pressure-Based Segregated
Non-Iterative Solver
Under Non-Iterative Solver Controls, there are several parameters that control the sub-
iterations for the individual equations.
The sub-iterations for an equation stop when the total number of sub-iterations exceeds
the value specified for Max. Corrections, regardless of whether or not the convergence
criteria (described below) are met.
The sub-iterations for an equation end when the ratio of the residuals at the current
sub-iteration and the first sub-iteration is less than the value specified in the Correction
Tolerance field. You can monitor the details of the sub-iteration convergence by looking
at the AMG solver performance (i.e., setting the Verbosity field in the Multigrid Controls
panel to 1). Be sure to pay attention to the residuals for the current sub-iteration (i.e.,
the residual for the 0-th AMG cycle at the current sub-iteration) and the initial residual
of the time step (i.e., the residual for the 0-th AMG cycle of the first sub-iteration).
The ratio of these two residuals is what is controlled by the Correction Tolerance field.
c Fluent Inc. September 29, 2006 25-77
Using the Solver
These two residuals are also the residuals plotted when using the Residual Monitor panel
and reported in the FLUENT console at the end of a time step. Note that the residuals
reported at the end of a time step can be scaled or unscaled, depending on the settings
in the Residual Monitor panel. The residuals reported when monitoring the AMG solver
performance are always unscaled.
For each interim sub-iteration, the AMG cycles continue until the usual AMG termination
criteria (0.1 by default, and set in the Multigrid Controls panel) are met. However, for the
last sub-iteration (i.e., either when the maximum number of sub-iterations are reached or
when the correction tolerance is satisfied), the AMG cycles continue until the ratio of the
residual at the current cycle to the initial residual (the residual for the 0-th AMG cycle
of the first sub-iteration of the time step) drops below the value specified for Residual
Tolerance. You may want to adjust the Residual Tolerance, depending on the time step
selected. The default Residual Tolerance should be well suited for moderate time steps
(i.e., for cell CFL numbers of 1 to 10). Note that you can display the cell CFL numbers
for unsteady problems by selecting Cell Courant Number in the Velocity... category of all
postprocessing panels. For very small time steps (cell CFL <<1), the diagonal dominance
of the system is very high and the convergence should be driven further by reducing the
Residual Tolerance value. For larger time steps (cell CFL >>1), it may be possible that
the residual tolerance cannot be reached due to round-off errors, and unless the Residual
Tolerance value is increased, AMG cycles can be wasted. Again, this can be monitored
by monitoring the AMG solver performance.
The Relaxation Factor field defines the explicit relaxation (Section 25.4.4: Under-Relaxation
of Variables) of variables between sub-iterations. The relaxation factors can be used to
prevent the solution from diverging. They should be left at their default values of 1,
unless divergence is detected. If the solution diverges, you should first try to stabilize
the solution by lowering the relaxation factors for pressure to 0.7–0.8, and by reducing
the time step.
The following is a list of models that are compatible with the non-iterative solver:
• Laminar flow
• Heat transfer
25-78
c Fluent Inc. September 29, 2006
25.9 Pressure-Based Solver Settings
The following is a list of models that are compatible with the non-iterative solver, but
may result in some instabilities and inaccuracies for certain flow conditions:
• MDM
• Non-Newtonian fluids
The following is a list of models that are not compatible with the non-iterative solver:
• Radiation models
• UDS transport
• Porous jump
c Fluent Inc. September 29, 2006 25-79
Using the Solver
25-80
c Fluent Inc. September 29, 2006
25.10 Density-Based Solver Settings
problem. You may find that a lower CFL is required during startup (when changes in
the solution are highly nonlinear), but it can be increased as the solution progresses.
The coupled AMG solver has the capability to detect divergence of the multigrid cycles
within a given iteration. If this happens, it will automatically reduce the CFL and
perform the iteration again, and a message will be printed to the screen. Five attempts
are made to complete the iteration successfully. Upon successful completion of the current
iteration the CFL is returned to its original value and the iteration procedure proceeds
as required.
User Inputs
The Courant number is set in the Solution Controls panel (Figure 25.10.1).
Solve −→ Controls −→Solution...
Figure 25.10.1: The Solution Controls Panel for the Density-Based Explicit
Formulation
Enter the value for Courant Number under Solver Parameters. (Note that the panel shown
in Figure 25.10.1 is for the density-based explicit formulation.)
c Fluent Inc. September 29, 2006 25-81
Using the Solver
When you select the density-based explicit formulation in the Solver panel, FLUENT will
automatically set the Courant Number to 1; when you select the density-based implicit
formulation, the Courant Number will be changed to 5 automatically.
Roe-FDS splits the fluxes in a manor that is consistent with their corresponding flux
method eigenvalues. It is the default and is recommended for most cases.
AUSM provides exact resolution of contact and shock discontinuities and it is less sus-
ceptible to Carbuncle phenomena.
Low diffusion Roe-FDS is used when the LES viscous model is enabled. It reduces the
dissipation in LES calculations and is used only for subsonic flows.
User Inputs
The convective fluxes are selected from the Flux Type drop-down list under Solver Param-
eters in the Solution Controls panel (Figure 25.10.1).
Solve −→ Controls −→Solution...
Select Roe-FDS, AUSM, or if the LES viscous model is enabled, Low Diffusion Roe-FDS.
i Note that you cannot use FAS multigrid with explicit time stepping (de-
scribed in Section 25.3.2: Temporal Discretization) because the coarse grid
corrections will destroy the time accuracy of the fine grid solution.
25-82
c Fluent Inc. September 29, 2006
25.10 Density-Based Solver Settings
c Fluent Inc. September 29, 2006 25-83
Using the Solver
25-84
c Fluent Inc. September 29, 2006
25.11 Setting Algebraic Multigrid Parameters
In the pressure-based coupled algorithm and the density-based implicit formulation, there
is no pressure correction. Instead, there is a flow correction, which by default uses the
F cycle. The density-based explicit formulation uses the V cycle as the default flow
correction.
Solve −→ Controls −→Multigrid...
c Fluent Inc. September 29, 2006 25-85
Using the Solver
25-86
c Fluent Inc. September 29, 2006
25.11 Setting Algebraic Multigrid Parameters
i If you are using AMG with V-cycle to solve an energy equation with a solid
conduction model presented with anisotropic or very high conductivity
coefficient, there is a possibility of divergence with a default post-relaxation
sweep of 1. In such cases you should increase the post-relaxation sweep (to
say 2) in the AMG section for better convergence when using the pressure-
based segregated algorithms.
c Fluent Inc. September 29, 2006 25-87
Using the Solver
Coarsening Parameters
For all multigrid cycle types, you can control the maximum number of coarse levels (Max
Coarse Levels under Scalar or Coupled Parameters) that will be built by the multigrid
solver.
Sets of coarser simultaneous equations are built until the maximum number of levels has
been created, or the coarsest level has only 3 equations. Each level has about half as
many unknowns as the previous level, so coarsening until there are only a few cells left
will require about as much total coarse-level coefficient storage as was required on the
fine mesh. Reducing the maximum coarse levels will reduce the memory requirements,
but may require more iterations to achieve a converged solution. Setting Max Coarse
Levels to 0 turns off the algebraic multigrid solver.
Another coarsening parameter you can control is the increase in coarseness on successive
levels. The Coarsen by parameter specifies the number of fine grid cells that will be
grouped together to create a coarse grid cell. The algorithm groups each cell with its
closest neighbor, then groups the cell and its closest neighbor with the neighbor’s closest
neighbor, continuing until the desired coarsening is achieved. Typical values for the scalar
parameters are in the range from 2 to 10, with the default value of 2 for the Gauss-Seidel
smoother giving the best performance, but also the greatest memory use. For coupled
parameters, a default value of 4 (for 2D) and 8 (for 3D) for the ILU smoother give the
best performance. You should not adjust this parameter unless you need to reduce the
memory required to run a problem.
Smoother Types
Two smoother types are available for scalar and coupled parameters. Gauss-Seidel is the
simplest smoother type and is recommended when using the pressure-based segregated
algorithm. ILU is more CPU intensive, but has better smoothing properties for block-
coupled systems such as the pressure-based coupled solver and the density-based implicit
formulation. In other words, the default scalar Smoother Type is Gauss-Seidel, while the
coupled Smoother Type is ILU. For more information about the two smoother types, refer
to Section 25.6.3: The Coupled and Scalar AMG Solvers.
25-88
c Fluent Inc. September 29, 2006
25.11 Setting Algebraic Multigrid Parameters
c Fluent Inc. September 29, 2006 25-89
Using the Solver
If you set the verbosity to 2, the information printed in the FLUENT console for each
equation will include the following:
• equation name
• equation tolerance (computed by the solver using a normalization of the source
vector)
• residual value after each fixed multigrid cycle or fine relaxation for the flexible cycle
• number of equations in each multigrid level, with the zeroth level being the original
(finest-level) system of equations
Note that the residual printed at cycle or relaxation 0 is the initial residual before any
multigrid cycles are performed.
When verbosity is set to 1, only the equation name, tolerance, and residuals are printed.
A portion of a sample printout is shown below:
multigrid levels:
0 918
1 426
2 205
3 97
4 45
5 21
6 10
7 4
25-90
c Fluent Inc. September 29, 2006
25.11 Setting Algebraic Multigrid Parameters
i Recall that FAS multigrid is used only by the density-based explicit for-
mulation.
i These settings are very aggressive and assume that the solution information
passed through the multigrid levels is somewhat accurate. For this reason,
you should only attempt the procedure described here after you have per-
formed enough iterations that the solution is off to a good start. Using
“industrial-strength” multigrid too early in the calculation process—when
the solution is far from correct—will not help convergence and may cause
the calculation to become unstable, as very incorrect values are propagated
quickly to the original grid. Note also that while these multigrid settings
will usually reduce the total number of iterations required to reach conver-
gence, they will greatly increase the computation time for each multigrid
cycle. Thus the solver will be performing fewer but longer iterations.
c Fluent Inc. September 29, 2006 25-91
Using the Solver
• Increase the number of iterations performed on each grid level before proceeding
to a coarser level
• Increase the number of iterations performed on each grid level after returning from
a coarser level
• Allow full correction transfer from one level to the next finer level, instead of trans-
ferring reduced values of the corrections
• Do not smooth the interpolated corrections when they are transferred from a coarser
grid to a finer grid
You can set all of the parameters for this strategy under FAS Multigrid Controls in the
Multigrid Controls panel (Figure 25.11.2) and then continue the calculation.
Solve −→ Controls −→Multigrid...
Increasing the number of iterations performed on each grid level before proceeding to a
coarser level (the value of β1 described in Section 25.6.2: Multigrid Cycles) will improve
the solution passed from each finer grid level to the next coarser grid level. Try increas-
ing the value of Pre-Sweeps (under FAS Multigrid Controls, not under Algebraic Multigrid
Controls) to 10.
Increasing the number of iterations performed on each level after returning from a coarser
level will improve the corrections passed from each coarser grid level to the next finer grid
level. Errors introduced on the coarser grid levels can therefore be reduced before they
are passed further up the grid hierarchy to the original grid. Try increasing the value of
Post-Sweeps (under FAS Multigrid Controls, not under Algebraic Multigrid Controls) to 10.
By default, the full values of the multigrid corrections are not transferred from a coarser
grid to a finer grid; only 60% of the value is transferred. This prevents large errors
from transferring quickly up to the original grid and causing the calculation to become
unstable. It also prevents a “good” solution from propagating quickly to the original grid.
However, by increasing the Correction Reduction to 1, you can transfer the full values from
coarser to finer grid levels, speeding the propagation of the solution and, usually, the
convergence as well. The Species Correction Reduction sets the factor by which to reduce
the magnitude of the species corrections to stabilize the multigrid calculation. This item
appears only when species transport is being modeled.
When the corrections on a coarse grid are passed back to the next finer grid level, the
values are, by default, interpolated and then smoothed. Disabling the smoothing so that
the actual value in a coarse grid cell is assigned to the fine grid cells that comprise it can
also aid convergence. To disable smoothing, set the Correction Smoothing to 0. Large
discontinuities between cells will be smoothed out implicitly as a result of the additional
Post-Sweeps performed.
25-92
c Fluent Inc. September 29, 2006
25.11 Setting Algebraic Multigrid Parameters
c Fluent Inc. September 29, 2006 25-93
Using the Solver
The Courant Number Reduction (at the bottom of the Multigrid Controls panel) sets the
factor by which to reduce the Courant number for coarse grid levels (i.e., every level
except the finest). Some reduction of time step (such as the default 0.9) is typically
required because the stability limit cannot be determined as precisely on the irregularly
shaped coarser grid cells.
25-94
c Fluent Inc. September 29, 2006
25.12 Setting Solution Limits
FLUENT applies limiting values for pressure, static temperature, and turbulence quanti-
ties. The purpose of these limits is to keep the absolute pressure or the static temperature
from becoming 0, negative, or excessively large during the calculation, and to keep the
turbulence quantities from becoming excessive. FLUENT also puts a limit on the rate of
reduction of static temperature to prevent it from becoming 0 or negative.
i Typically, you will not need to change the default solution limits. If pres-
sure, temperature, or turbulence quantities are being reset to the limiting
value repeatedly (as indicated by the appropriate warning messages in
the console), you should check the dimensions, boundary conditions, and
properties to be sure that the problem is set up correctly and try to de-
termine why the variable in question is getting so close to zero or so large.
You can use the “marking” feature (used to mark cells for adaption) to
identify which cells have a value equal to the limit. (Use the Iso-Value
Adaption panel, as described in Section 26.6: Isovalue Adaption.) In very
rare cases, you may need to change the solution limits, but only do so if
you are sure that you understand the reason for the solver’s unusual be-
havior. (For example, you may know that the temperature in your domain
will exceed 5000 K. Be sure that any temperature-dependent properties are
appropriately defined for high temperatures if you increase the maximum
temperature limit.)
i For an ideal gas, the absolute pressure and static temperature solution
limits are set as described in this section. However, there are no static
temperature and absolute pressure solution limits for incompressible flow.
c Fluent Inc. September 29, 2006 25-95
Using the Solver
i For high-speed flow, if your solution is diverging particularly for the energy
equation, then lowering this limit to 0.05 or 0.02 might help in overcoming
divergence.
25-96
c Fluent Inc. September 29, 2006
25.13 Setting Multi-Stage Time-Stepping Parameters
c Fluent Inc. September 29, 2006 25-97
Using the Solver
By default, the FLUENT multi-stage scheme uses 3 stages for steady-state solutions with
coefficients of 0.2075, 0.5915, and 1.0, and 4 stages for unsteady solutions with coefficients
of 0.25, 0.3333, 0.5, and 1.0. You can decrease or increase the number of stages using
the arrow buttons for Number of Stages in the Multi-Stage Parameters panel. (If you
want to increase the number of stages beyond five, you will need to use the text-interface
command solve/set/multi-stage.) For each stage, you can modify the Coefficient.
Coefficients must be greater than 0 and less than 1. The final stage should always have
a coefficient of 1.
For each stage, you can indicate whether or not artificial dissipation and viscous stresses
are evaluated. If a Dissipation box is selected for a particular stage, artificial dissipation
will be updated on that stage. If not selected, artificial dissipation will remain “frozen”
at the value of the previous stage. If a Viscous box is selected for a particular stage,
viscous stresses will be updated on that stage. If not selected, viscous stresses will
remain “frozen” at the value of the previous stage. Viscous stresses should always be
computed on the first stage, and successive evaluations will increase the “robustness” of
the solution process, but will also increase the expense (i.e., increase the CPU time per
iteration). For steady problems, the final solution is independent of the stages on which
viscous stresses are updated.
If you change the multi-stage parameters, but you then want to return to the default
scheme set by FLUENT, you can click the Default button in the Multi-Stage Parameters
panel. FLUENT will change the values to the defaults and the Default button will become
the Reset button. To get your values back again, you can click the Reset button.
25-98
c Fluent Inc. September 29, 2006
25.14 Initializing the Solution
• Patch values or functions for selected flow variables in selected cell zones or “regis-
ters” of cells. (Registers are created with the same functions that are used to mark
cells for adaption.)
i Before patching initial values in selected cells, you must first initialize the
entire flow field. You can then patch the new values over the initialized
values for selected variables.
c Fluent Inc. September 29, 2006 25-99
Using the Solver
You can compute the values from information in a specified zone, enter them manually,
or have the solver compute average values based on all zones. You can also indicate
whether the specified values for velocities are absolute or relative to the velocity in each
cell zone. The steps for initialization are as follows:
3. Once you are satisfied with the Initial Values displayed in the panel, you can click
the Init button to initialize the flow field. If solution data already exist (i.e., if
you have already performed some calculations or initialized the solution), you must
confirm that it is OK to overwrite those data.
25-100
c Fluent Inc. September 29, 2006
25.14 Initializing the Solution
Values are saved each time the panel is opened, before Compute From is executed, and
after Init or Apply is executed.
i When shell conduction is enabled, the names of the Zones to Patch will
appear as shell:wall-name. The wall-name is the name of the wall on which
a shell conduction zone has been created.
3. If you wish to patch a constant value, simply enter that value in the Value field. If
you want to patch a previously-defined field function, enable the Use Field Function
option and select the appropriate function in the Field Function list.
c Fluent Inc. September 29, 2006 25-101
Using the Solver
4. If you selected a velocity in the Variable list, and your problem involves moving
reference frames or sliding meshes, indicate whether the patched velocities are ab-
solute velocities or velocities relative to the motion of each cell zone by selecting
Absolute or Relative to Cell Zone under Reference Frame. (If no zone motion occurs
in the problem, the two options are equivalent.) The default reference frame for
velocity patching in FLUENT is relative. If the solution in most of your domain is
rotating, using the relative option may be better than using the absolute option.
5. Click the Patch button to update the flow-field data. (Note that patching will have
no effect on the iteration or time-step count.)
Using Registers
The ability to patch values in cell registers gives you the flexibility to patch different
values within a single cell zone. For example, you may want to patch a certain value
for temperature only in fluid cells with a particular range of concentrations for one
species. You can create a cell register (basically a list of cells) using the functions that
are used to mark cells for adaption. These functions allow you to mark cells based on
physical location, cell volume, gradient or isovalue of a particular variable, and other
parameters. See Chapter 26: Adapting the Grid for information about marking cells for
adaption. Section 26.11.1: Manipulating Adaption Registers provides information about
manipulating different registers to create new ones. Once you have created a register,
you can patch values in it as described above.
25-102
c Fluent Inc. September 29, 2006
25.15 Using Full Multigrid (FMG) Initialization
Coarse 3
Since FMG initialization does most of the work on coarse levels, this initialization proce-
dure is computationally inexpensive and, for large problems, a good initial solution can
be obtained in a fraction of the time spent to converge on a final solution. Note that
FMG initialization can be used with the pressure-based and density-based solvers.
c Fluent Inc. September 29, 2006 25-103
Using the Solver
When FMG initialization is started, the algorithm will perform the following steps:
1. Records the current solver selection and all current solver parameters.
3. Performs one FMG iteration using the FMG parameters given in the text command
interface (see below).
4. Switches back to the initially selected solver and resets all solver parameters back
to the original solver settings.
In the FMG iteration, the inviscid Euler equations are solved using first order-discretization
to obtain the approximate solution. If species are present, then the FMG initialization
will solve the species equations. However, turbulence equations or any other transport
scalars are not solved in the FMG initialization.
i If your are solving for turbulent flow, then you can still use FMG initial-
ization, however the FMG will not initialize the turbulence field variables.
For this reason, a good initial guess of the turbulence field quantities are
important for achieving fast convergence after the FMG initialization has
been performed.
• FMG should not be used with multiphase flow.
25-104
c Fluent Inc. September 29, 2006
25.15 Using Full Multigrid (FMG) Initialization
• The number of multigrid levels for the FMG iteration (the default is 5).
i For small cases (100, 000 cells or less), it is recommended that you lower
the number of multigrid levels to 3 or 4.
• For each level of multigrid, you will be asked to enter the residual reduction (the
default value is 0.001), and the number of cycles per level (the defaults at each level
are 10, 10, 50, 100, 500, and 500). In general, you should perform more iterations
on coarse levels than fine levels. Level 0 is the finest level, which represents the
original mesh.
• FMG iteration Courant-number (the default is 0.75). This will be the CFL value
that the FAS multigrid will use for the FMG initialization.
• Enabling verbose mode (the default is no). By enabling this option, you will be
able to monitor the convergence at each level.
i If you do not customize the FMG settings, then the default values will be
used.
c Fluent Inc. September 29, 2006 25-105
Using the Solver
25-106
c Fluent Inc. September 29, 2006
25.16 Performing Steady-State Calculations
In this panel, you will supply the number of additional iterations to be performed in the
Number of Iterations field. (For unsteady calculation inputs, see Section 25.17.1: User
Inputs for Time-Dependent Problems.) If no calculations have been performed yet, FLU-
ENT will begin calculations starting at iteration 1, using the initial solution. If you are
starting from current solution data, FLUENT will begin at the last iteration performed,
using the current solution data as its starting point.
By default, FLUENT will update the convergence monitors (described in Section 25.18: Mon-
itoring Solution Convergence) after each iteration. If you increase the Reporting Interval
from the default of 1 you can get reports less frequently. For example, if you set the
Reporting Interval to 2, the monitors will print or plot reports at every other iteration.
Note that the Reporting Interval also specifies how often FLUENT should check if the
solution is converged. For example, if your solution converges after 40 iterations, but
your Reporting Interval is set to 50, FLUENT will continue the calculation for an extra 10
iterations before checking for (and finding) convergence.
When you click the Iterate button, FLUENT will begin to calculate. During iteration, a
Working dialog box is displayed. Clicking on the Cancel button or typing <Control-C> in
the FLUENT console will interrupt the iteration, as soon as it is safe to stop. (See below
for more details.)
Interrupting Iterations
As mentioned above, you can interrupt the calculation by clicking on the Cancel button
in the Working dialog box that appears while the solver is calculating. In addition, on
most, but not all, computer systems you will be able to interrupt calculations using a
control sequence, usually <Control-C>. This allows you to stop the calculation process
before proceeding with the remainder of the requested iterations.
c Fluent Inc. September 29, 2006 25-107
Using the Solver
Resetting Data
After you have performed some iterations, if you decide to start over again from the first
iteration (e.g., after making some changes to the problem setup), you can reinitialize the
solution using the Solution Initialization panel, as described in Section 25.14.1: Initializing
the Entire Flow Field.
Figures 25.17.1 and 25.17.2 illustrate the time-dependent vortex shedding flow pattern
in the wake of a cylinder.
Activating time dependence is sometimes useful when attempting to solve steady-state
problems which tend toward instability (e.g., natural convection problems in which the
Rayleigh number is close to the transition region). It is possible in many cases to reach
a steady-state solution by integrating the time-dependent equations.
See Section 25.3.2: Temporal Discretization for details about temporal discretization.
25-108
c Fluent Inc. September 29, 2006
25.17 Performing Time-Dependent Calculations
1.92e+01
1.76e+01
1.60e+01
1.44e+01
1.28e+01
1.12e+01
9.60e+00
8.00e+00
6.40e+00
4.80e+00
3.20e+00
1.60e+00
0.00e+00
1.92e+01
1.76e+01
1.60e+01
1.44e+01
1.28e+01
1.12e+01
9.60e+00
8.00e+00
6.40e+00
4.80e+00
3.20e+00
1.60e+00
0.00e+00
c Fluent Inc. September 29, 2006 25-109
Using the Solver
1. Enable the Unsteady option in the Solver panel (Figure 25.17.3), and specify the
desired Unsteady Formulation.
Define −→ Models −→Solver...
The 1st-Order Implicit formulation is sufficient for most problems. If you need im-
proved accuracy, you can use the 2nd-Order Implicit formulation instead. The Ex-
plicit formulation (available only if the density-based explicit formulation is selected
under Solver and Formulation at the top of the panel) is used primarily to capture the
transient behavior of moving waves, such as shocks. See Section 25.3.2: Temporal
Discretization for details.
You can also use the Non-iterative Time Advancement option, under Transient Con-
trols, when using the pressure-based segregated algorithm for your time dependent
flow calculations (see Section 25.4.5: Time-Advancement Algorithm).
25-110
c Fluent Inc. September 29, 2006
25.17 Performing Time-Dependent Calculations
When using the pressure-based solver, you can also select Frozen Flux Formula-
tion under Transient Controls in your time dependent flow calculations (see Sec-
tion 25.4.4: Steady-State Iterative Algorithm). Note that this option is only avail-
able for single-phase transient problems that use the pressure-based solver and do
not use a moving/deforming mesh model.
2. Define all relevant models and boundary conditions. Note that any boundary con-
ditions specified using user-defined functions can be made to vary in time. See the
separate UDF Manual for details.
3. If you are using the pressure-based solver, choose PISO as the Pressure-Velocity
Coupling scheme under Discretization in the Solution Controls panel.
Solve −→ Controls −→Solution...
In general, to increase the speed of the calculations, you will need to modify the
PISO Parameters from their default values. See Section 25.9.1: PISO for more
information about the optimal use of the PISO algorithm.
i If you are using the LES turbulence model with small time steps, the
PISO scheme may be too computationally expensive. It is therefore rec-
ommended that you use SIMPLE or SIMPLEC instead of PISO.
4. (optional) If you are using the explicit unsteady formulation or if you are using the
adaptive time stepping method (described below and in Section 25.17.2: Adaptive
Time Stepping) it is recommended that you enable the printing of the current time
(for the explicit unsteady formulation) or the current time step size (for the adaptive
time stepping method) at each iteration, using the Statistic Monitors panel.
Solve −→ Monitors −→Statistic...
Select time (for the current time) or delta time (for the current time step size) in
the Statistics list and turn on the Print option. When FLUENT prints the residuals
to the console at each iteration, it will include a column with the current time or
the current time step size.
5. (optional) Use the Force Monitors panel or the Surface Monitors panel to monitor
(and/or save to a file) time-varying force coefficient values or the average, mass
average, integral, or flux of a field variable or function on a surface as it changes
with time. See Section 25.18: Monitoring Solution Convergence for details.
c Fluent Inc. September 29, 2006 25-111
Using the Solver
6. Set the initial conditions (at time t = 0) using the Solution Initialization panel.
Solve −→ Initialize −→Initialize...
You can also read in a steady-state data file to set the initial conditions.
File −→ Read −→Data...
7. Use the automatic saving feature to specify the file name and frequency with which
case and data files should be saved during the solution process.
File −→ Write −→Autosave...
See Section 4.3.4: Automatic Saving of Case and Data Files for details about the
use of this feature.
You may also want to request automatic execution of other commands using the
Execute Commands panel. See Section 25.19: Executing Commands During the
Calculation for details.
8. (optional) If you want to create a graphical animation of the solution over time, you
can use the Solution Animation panel to set up the graphical displays that you want
to use in the animation. See Section 25.20.1: Animating the Solution for details.
9. (optional) If you want FLUENT to gather data for time statistics (i.e., time-averaged
and root-mean-square values for solution variables) during the calculation, follow
these steps:
(a) Turn on the Data Sampling for Time Statistics option in the Iterate panel.
Solve −→Iterate...
Enabling this option will allow you to display and report both the mean and
the root-mean-square (RMS) values, as described in Section 25.17.4: Postpro-
cessing for Time-Dependent Problems.
i Note that gathering data for time statistics is not meaningful inside a
moving cell zone (i.e., a sliding zone in a sliding mesh problem).
(b) Initialize the flow statistics.
Solve −→ Initialize −→Reset Statistics
Note that you can also use this menu item to reset the flow statistics after you
have gathered some data for time statistics. If you perform, say, 10 time steps
with the Data Sampling for Time Statistics option enabled, check the results,
and then continue the calculation for 10 more time steps, the time statistics
will include the data gathered in the first 10 time steps unless you reinitialize
the flow statistics.
25-112
c Fluent Inc. September 29, 2006
25.17 Performing Time-Dependent Calculations
10. Specify time-dependent solution parameters and start the calculation as described
below for the implicit and explicit unsteady formulations:
• If you have chosen the 1st-Order or 2nd-Order Implicit formulation, the proce-
dure is as follows:
(a) Set the time-dependent solution parameters in the Iterate panel (Fig-
ure 25.17.4).
Solve −→Iterate...
c Fluent Inc. September 29, 2006 25-113
Using the Solver
25-114
c Fluent Inc. September 29, 2006
25.17 Performing Time-Dependent Calculations
• If you have chosen the Explicit unsteady formulation, you will follow a different
procedure:
(a) Use the default settings for the Solver Parameters in the Solution Controls
panel.
Solve −→ Controls −→Solution...
If you have modified the Solver Parameters, you can click the Default button
to retrieve the default settings.
(b) Specify the desired Number of Iterations and click Iterate.
Solve −→Iterate...
Remember that when the explicit unsteady formulation is used, each iter-
ation is a time step. When FLUENT prints the residuals to the console, it
will include a column with the current time (if you requested this in step
4, above).
11. Save the final data file (and case file, if you have modified it) so that you can
continue the unsteady calculation later, if desired.
File −→ Write −→Data...
Additional Inputs
The procedures for setting the reporting interval, updating UDF profiles, interrupting
iterations, and resetting data are the same as those for steady-state calculations. See
Section 25.16: Performing Steady-State Calculations for details.
c Fluent Inc. September 29, 2006 25-115
Using the Solver
25-116
c Fluent Inc. September 29, 2006
25.17 Performing Time-Dependent Calculations
Figure 25.17.5: The Iterate Panel for Implicit Unsteady Calculations and
Adaptive Time Stepping
Truncation Error Tolerance specifies the threshold value to which the computed trun-
cation error is compared. Increasing this value will lead to an increase in the size
of the time step and a reduction in the accuracy of the solution. Decreasing it
will lead to a reduction in the size of the time step and an increase in the solution
accuracy, although the calculation will require more computational time. For most
cases, the default value of 0.01 is acceptable.
Ending Time specifies an ending time for the calculation. Since the ending time cannot
be determined by multiplying the number of time steps by a fixed time step size,
you need to specify it explicitly.
c Fluent Inc. September 29, 2006 25-117
Using the Solver
Minimum/Maximum Time Step Size specify the upper and lower limits for the size of
the time step. If the time step becomes very small, the computational expense may
be too high; if the time step becomes very large, the solution accuracy may not be
acceptable to you. You can set the limits that are appropriate for your simulation.
Minimum/Maximum Step Change Factor limit the degree to which the time step size
can change at each time step. Limiting the change results in a smoother calculation
of the time step size, especially when high-frequency noise is present in the solution.
If the time step change factor, f , is computed as the ratio between the specified
truncation error tolerance and the computed truncation error, the size of time step
∆tn is computed as follows:
• If 1 < f < fmax , ∆tn is increased to meet the desired tolerance.
• If 1 < fmax < f , ∆tn is increased, but its maximum possible value is fmax ∆tn−1 .
• If fmin < f < 1, ∆tn is unchanged.
• If f < fmin < 1, ∆tn is decreased.
Number of Fixed Time Steps specifies the number of fixed-size time steps that should
be performed before the size of the time step starts to change. The size of the fixed
time step is the value specified for Time Step Size in the Iterate panel.
It is a good idea to perform a few fixed-size time steps before switching to the
adaptive time stepping. Sometimes spurious discretization errors can be associated
with an impulsive start in time. These errors are dissipated during the first few
time steps, but they can adversely affect the adaptive time stepping and result in
extremely small time steps at the beginning of the calculation.
25-118
c Fluent Inc. September 29, 2006
25.17 Performing Time-Dependent Calculations
CF Lglobal
∆tglobal = P outgoingf luxes (25.17-1)
max( volume
)
outgoingf luxes
P
where the ratio volume
is calculated for each cell. FLUENT takes the maximum
of this ratio to calculate the global time step.
c Fluent Inc. September 29, 2006 25-119
Using the Solver
Figure 25.17.6: The Iterate Panel for Implicit Unsteady Calculations and
Variable Time Stepping
The variable time step is based on the maximum Courant number near the VOF interface.
To calculate that Courant number, FLUENT uses a flux-based definition where, in the
region near the fluid interface, FLUENT divides the volume of each cell by the sum of
the outgoing fluxes. The resulting time represents the time it would take for the fluid to
empty out of the cell. The smallest such time is used as the characteristic time of transit
for a fluid element across a control volume.
25-120
c Fluent Inc. September 29, 2006
25.17 Performing Time-Dependent Calculations
-5.00e+00
-5.10e+00
-5.20e+00
-5.30e+00
-5.40e+00
Cl -5.50e+00
-5.60e+00
-5.70e+00
-5.80e+00
-5.90e+00
-6.00e+00
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 0.11
Y
X Time
Z
Cl
If you enabled the Data Sampling for Time Statistics option in the Iterate panel, FLUENT
will compute the time average (mean) of the instantaneous values and root-mean-squares
of the fluctuating values sampled during the calculation. The mean and root-mean-
square (RMS) values for all solution variables will be available in the Unsteady Statistics...
category of the variable selection drop-down list that appears in postprocessing panels.
You can set the Sampling Interval such that Data Sampling for Time Statistics can be
performed at the specified frequency.
c Fluent Inc. September 29, 2006 25-121
Using the Solver
X
aP φP = anb φnb + b (25.18-1)
nb
Here aP is the center coefficient, anb are the influence coefficients for the neighboring
cells, and b is the contribution of the constant part of the source term Sc in S = Sc + SP φ
and of the boundary conditions. In Equation 25.18-1,
X
aP = anb − SP (25.18-2)
nb
25-122
c Fluent Inc. September 29, 2006
25.18 Monitoring Solution Convergence
Rφ =
X X
| anb φnb + b − aP φP | (25.18-3)
cells P nb
| anb φnb + b − aP φP |
P P
φ cells P nb
R = (25.18-4)
cells P |aP φP |
P
Rc =
X
|rate of mass creation in cell P| (25.18-5)
cells P
The pressure-based solver’s scaled residual for the continuity equation is defined as
c
Riteration N
c
(25.18-6)
Riteration 5
The denominator is the largest absolute value of the continuity residual in the first five
iterations.
c Fluent Inc. September 29, 2006 25-123
Using the Solver
The scaled residuals described above are useful indicators of solution convergence. Guide-
lines for their use are given in Section 25.22.1: Judging Convergence. It is sometimes
useful to determine how much a residual has decreased during calculations as an addi-
tional measure of convergence. For this purpose, FLUENT allows you to normalize the
residual (either scaled or unscaled) by dividing by the maximum residual value after M
iterations, where M is set by you in the Residual Monitors panel in the Iterations field
under Normalization.
φ
φ Riteration N
R̄ = φ (25.18-7)
Riteration M
Normalization in this manner ensures that the initial residuals for all equations are of
O(1) and is sometimes useful in judging overall convergence.
By default, M = 5. You can also specify the normalization factor (the denominator in
Equation 25.18-7) manually in the Residual Monitors panel.
Equation 25.18-8 is the unscaled residual sum reported for all the coupled equations
solved by FLUENT’s density-based solver.
i The residuals for the equations that are solved sequentially by the
density-based solver (turbulence and other scalars, as discussed in Sec-
tion 25.1.2: Density-Based Solver) are the same as those described above
for the pressure-based solver.
In general, it is difficult to judge convergence by examining the residuals defined by
Equation 25.18-8 since no scaling is employed. This is especially true in enclosed flows
such as natural convection in a room where there is no inlet flow rate of φ with which to
compare the residual. FLUENT scales the residual using a scaling factor representative
of the flow rate of φ through the domain. This “scaled” residual is defined as
R(W)iteration N
(25.18-9)
R(W)iteration 5
The denominator is the largest absolute value of the residual in the first five iterations.
25-124
c Fluent Inc. September 29, 2006
25.18 Monitoring Solution Convergence
The scaled residuals described above are useful indicators of solution convergence. Guide-
lines for their use are given in Section 25.22.1: Judging Convergence. It is sometimes
useful to determine how much a residual has decreased during calculations as an addi-
tional measure of convergence. For this purpose, FLUENT allows you to normalize the
residual (either scaled or unscaled) by dividing by the maximum residual value after M
iterations, where M is set by you in the Residual Monitors panel in the Iterations field
under Normalization.
Normalization of the residual sum is accomplished by dividing by the maximum residual
value after M iterations, where M is set by you in the Residual Monitors panel in the
Iterations field under Normalization:
R(W)iteration N
R̄(W) = (25.18-10)
R(W)iteration M
Normalization in this manner ensures that the initial residuals for all equations are of
O(1) and is sometimes useful in judging overall convergence.
By default, M = 5, making the normalized residual equivalent to the scaled residual.
You can also specify the normalization factor (the denominator in Equation 25.18-10)
manually in the Residual Monitors panel.
c Fluent Inc. September 29, 2006 25-125
Using the Solver
In general, you will only need to enable residual plotting and modify the convergence
criteria using this panel. Additional controls are available for disabling monitoring of
particular residuals, and modifying normalization and plot parameters.
25-126
c Fluent Inc. September 29, 2006
25.18 Monitoring Solution Convergence
Controlling Normalization
By default, scaling of residuals (see Equations 25.18-4 and 25.18-9) is enabled and the
default convergence criterion is 10−6 for energy and P-1 equations and 10−3 for all other
equations. Residual normalization (i.e., dividing the residuals by the largest value during
the first few iterations) is also available but disabled by default.
Normalization can be used with both scaled and unscaled residuals. Note that if normal-
ization is enabled, the convergence criterion may need to be adjusted appropriately. See
Section 25.22.1: Judging Convergence for information about judging convergence based
on the different types of residual reports. (Both the raw residuals and scaling factors
are stored in the data file, so you can switch between scaled and unscaled residuals.) To
report unscaled residuals, simply turn off the Scale option under Normalization.
i If you switch from scaled to unscaled residuals (or vice versa) and you are
normalizing the residuals (as described below), you must click the Renorm
button to recompute the normalization factors.
c Fluent Inc. September 29, 2006 25-127
Using the Solver
If you wish to normalize the residuals (see Equation 25.18-7 or 25.18-10), turn on the
Normalize option under Normalization. The Normalization Factor column will be added to
the panel at this time. FLUENT will normalize the printed or plotted residual for each
variable by the value indicated as the Normalization Factor for that variable. The default
Normalization Factor is the maximum residual value after the first 5 iterations. To use
the maximum residual value after a different number of iterations (i.e., specify a different
value for M in Equation 25.18-7 or 25.18-10), you can modify the Iterations entry under
Normalization.
In some cases, the maximum residual may occur sometime after the iteration specified
in the Iterations field. If this should occur, you can click the Renorm button to set the
normalization factors for all variables to the maximum values in the residual histories.
Subsequent plots and printed reports will use the new normalization factor.
You can also specify the normalization factor (the denominator in Equation 25.18-7 or
25.18-10) explicitly. To modify the normalization factor for a particular variable, enter a
new value in the corresponding Normalization Factor field in the Residual Monitors panel.
If you wish to report unnormalized, unscaled residuals (Equation 25.18-3 or 25.18-8),
disable the Normalize and Scale options under Normalization in the Residual Monitors
panel. Note that unnormalized, unscaled residuals are stored in the data file regardless
of whether the reported residuals are normalized or scaled.
25-128
c Fluent Inc. September 29, 2006
25.18 Monitoring Solution Convergence
absolute This is the default. For steady-state cases, absolute and none are the only op-
tions available for selection. The residual (scaled and/or normalized) of an equation
at an iteration is compared with a user-specified value. If the residual is less than
the user-specified value, that equation is deemed to have converged for a timestep.
c Fluent Inc. September 29, 2006 25-129
Using the Solver
relative or absolute If either the absolute convergence criterion or the relative conver-
gence criterion is met, the equation is considered converged.
The Relative Criteria can be set when relative or relative or absolute is selected.
In many situations, the absolute convergence criterion could be too stringent for transient
flows causing a large number of iterations per timestep. For example, the scaling of
the continuity equation is based on the value of the continuity residual in the first five
iterations. The scaling factor could be low if the initial continuity residual is small and
thus the scaled residual could fail to meet the absolute convergence criterion. With the
relative convergence criterion, convergence is checked by comparing the residual at an
iteration of a timestep with the residual at the beginning of the timestep and hence
this problem is alleviated. The relative or absolute convergence criterion is useful in
situations where the residuals of some of the equations are already very low at the start
of a timestep (for example, when a particular variable has reached steady state), and
the order of magnitude reduction in residuals is not possible. The none option allows
you to disable convergence checking by selecting the option in the Convergence Criterion
drop-down list.
i relative and relative or absolute convergence criteria are available only with
the unsteady pressure-based solver and unsteady density-based solver.
The text command used to access the convergence criterion is
solve −→ monitors −→ residual −→criterion-type
When criterion-type is entered, you will have the following choices:
Criterion Type
0 absolute
1 relative
2 relative or absolute
3 none
25-130
c Fluent Inc. September 29, 2006
25.18 Monitoring Solution Convergence
Disabling Monitoring
If your problem requires the solution of many equations (e.g., turbulence quantities and
multiple species), a plot that includes all residuals may be difficult to read. In such
cases, you may choose to monitor only a subset of the residuals, perhaps those that
affect convergence the most. You can indicate whether or not you want to monitor
residuals for each variable by enabling or disabling the relevant check box in the Monitor
list of the Residual Monitors panel.
Plot Parameters
If you choose to plot the residual values (either interactively during the solution or using
the Plot button after calculations are complete), there are several display parameters you
can modify.
In the Window field under Plotting, you can specify the ID of the graphics window in
which the plot will be drawn. When FLUENT is iterating, the active graphics window
is temporarily set to this window to update the residual plot, and then returned to its
previous value. Thus, the residual plot can be maintained in a separate window that
does not interfere with other graphical postprocessing.
You can modify the number of residual history points to be displayed in the plot by
changing the Iterations entry under Plotting. If you specify n points, FLUENT will display
the last n history points. Since the y axis is scaled by the minimum and maximum values
of all points in the plot, you can zoom in on the end of the residual history by setting
Iterations to a value smaller than the number of iterations performed. If, for example,
the residuals jumped early in the calculation when you turned on turbulence, that peak
broadens the overall range in residual values, making the smaller fluctuations later on
almost indistinguishable. By setting the value of Iterations so that the plot does not
include that early peak, your y-axis range is better suited to the values that you are
interested in seeing. For more information on residual history points, please refer to the
discussion of storing residual history points, described earlier in this section.
c Fluent Inc. September 29, 2006 25-131
Using the Solver
You can also modify the attributes of the plot axes and the residual curves. Click the
Axes... or Curves... button to open the Axes panel or Curves panel. See Sections 28.8.8
and 28.8.9 for details.
i Note that entering a value for Iterations under Plotting does not necessarily
mean solved iterations but rather stored (or sampled) data points. Note
also that the frequency of the data storage will diminish towards the start
of the solution as the number of solved iterations increases. Due to this,
whenever the stored iterations is greater than the solved iterations, if you
plot n iterations, you actually see a history that goes back further than n
solved iterations.
1. Read in the case and data files of interest (if they are not already in the current
session).
2. Use the expert command in the solve/set/ text menu to enable the saving of
residual values.
solve −→ set −→expert
Among other questions, FLUENT will ask if you want to save cell residuals for
postprocessing. Enter yes or y, and keep the default settings for all of the other
questions (by pressing the <RETURN> key).
The solution variables for which residual values are available will appear in the Residuals...
category in the postprocessing panels. Note that residual values are not available for the
radiative transport equations solved by the discrete ordinates radiation model.
25-132
c Fluent Inc. September 29, 2006
25.18 Monitoring Solution Convergence
1. Indicate the type of report you want by turning on the Print option for a printout
or the Plot option for a plot. You can enable these options simultaneously.
3. If you are plotting the quantities, you can set any of the plotting options discussed
below.
c Fluent Inc. September 29, 2006 25-133
Using the Solver
Plot Parameters
If you choose to plot the statistics, there are several display parameters you can modify.
In the First Window field, you can specify the ID of the graphics window in which the
plot will be drawn (or in which the first plot will be drawn, if you are plotting more than
one quantity.) When FLUENT is iterating, the active graphics window is temporarily set
to this window to update the plot, and then returned to its previous value. Thus, the
statistics plot can be maintained in a separate window that does not interfere with other
graphical postprocessing. Note that additional quantities that you have selected in the
Statistics list will be plotted in windows with incrementally higher IDs.
You can also modify the attributes of the plot axes and curves. Click the Axes... or
Curves... button to open the Axes panel or Curves panel. See Sections 28.8.8 and 28.8.9
for details.
i The force and moment coefficients use the reference values described in
Section 29.10: Reference Values. Specifically, the force coefficients use the
reference area, density, and velocity, and the moment coefficients use the
reference area, density, velocity and length.
i Only the processed force coefficient data is saved. If you decide to change
any of the parameters controlling the force monitoring, such as the reference
values, force vector, moment center, moment axis, or wall zones, you may
see a discontinuity in the data: the previous data is not updated. Usually, if
you have made changes you will want to delete the previous force coefficient
data before continuing to iterate.
25-134
c Fluent Inc. September 29, 2006
25.18 Monitoring Solution Convergence
In this panel you will indicate the types of reports that you want (printouts, plots, or
files), and specify which coefficients and wall zones are of interest. Additional information
will be entered for each coefficient that is monitored. You can also modify the plot
parameters.
c Fluent Inc. September 29, 2006 25-135
Using the Solver
1. Indicate the type of report you want (printout, plot, or file), as described below.
2. If you want to monitor the force or moment on individual walls in a single printout,
plot, or file, turn on the Per Zone option. See below for details.
3. Choose the coefficient of interest by selecting Drag, Lift, or Moment in the Coefficient
drop-down list.
4. In the Wall Zones list, select the wall zone(s) on which the selected coefficient is
to be computed. If you are monitoring more than one coefficient, the selected wall
zones are often the same for each coefficient. If you want, however, you can have
each coefficient computed on a different set of zones.
6. Click Apply and repeat the process for additional coefficients, if desired.
25-136
c Fluent Inc. September 29, 2006
25.18 Monitoring Solution Convergence
i If you choose not to save the force coefficient data in a file, this information
will be lost when you exit the current FLUENT session.
If you wish to display a plot of the current force-coefficient history, simply click the Plot
button.
Plot Parameters
If you choose to plot the force coefficients (either interactively during the solution or using
the Plot button after calculations are complete), there are several display parameters you
can modify.
In the Plot Window field, you can specify the ID of the graphics window in which the plot
for each force coefficient will be drawn. When FLUENT is iterating, the active graphics
window is temporarily set to this window to update the plot, and then returned to its
previous value. Thus, the force-coefficient plots can be maintained in separate windows
that do not interfere with other graphical postprocessing.
You can also modify the attributes of the plot axes and the coefficient curves. The same
attributes apply to all force-monitor plots. Click the Axes... or Curves... button to open
the Axes panel or Curves panel. See Sections 28.8.8 and 28.8.9 for details.
c Fluent Inc. September 29, 2006 25-137
Using the Solver
25-138
c Fluent Inc. September 29, 2006
25.18 Monitoring Solution Convergence
1. Increase the Surface Monitors value to the number of surface monitors you wish
to specify. As this value is increased, additional monitor entries in the panel will
become editable. For each monitor, you will perform the following steps.
2. Enter a name for the monitor under the Name heading, and use the Plot, Print, and
Write check buttons to indicate the report(s) you want (plot, printout, or file), as
described below.
3. Indicate the frequency at which you want to plot, print, or write the surface monitor
by entering a number under Every. A default value of 1 will allow you to monitor
at every Iteration or Time Step.
4. Indicate whether you want to update the monitor every Iteration or every Time
Step by selecting the appropriate item in the drop-down list below When. Time
Step is a valid choice only if you are calculating unsteady flow. If you specify every
Iteration, and the Reporting Interval in the Iterate panel is greater than 1, the monitor
will be updated at every reporting interval instead of at each iteration (e.g., for a
reporting interval of 2, the monitor will be updated after every other iteration. If
the reporting interval is 2 and monitor frequency is at Every 3 Iterations, then the
c Fluent Inc. September 29, 2006 25-139
Using the Solver
monitoring will be done at multiples of six, which is the least common multiple of
the two numbers). If you specify every Time Step, the reporting interval will have
no effect; the monitor will always be updated after the specified number of time
steps.
5. Click the Define... button to open the Define Surface Monitor panel (Figure 25.18.6).
Since this is a modal panel, the solver will not allow you to do anything else until
you perform steps 5–10, below.
6. In the Define Surface Monitor panel, choose the integration method for the sur-
face monitor by selecting Integral, Standard Deviation, Flow Rate, Mass Flow Rate,
Volume Flow Rate, Area-Weighted Average, Mass-Weighted Average, Sum, Facet Av-
erage, Facet Minimum, Facet Maximum, Vertex Average, Vertex Minimum, or Vertex
Maximum in the Report Type drop-down list. These methods are described in Sec-
tion 29.5: Surface Integration.
7. In the Surfaces list, choose the surface or surfaces on which you wish to integrate.
25-140
c Fluent Inc. September 29, 2006
25.18 Monitoring Solution Convergence
9. If you are plotting the data or writing them to a file, specify the parameter to be
used as the x-axis value (the y-axis value corresponds to the monitored data). In
the X Axis drop-down list, select Iteration, Time Step, or Flow Time as the x-axis
function against which monitored data will be plotted or written. Time Step and
Flow Time are valid choices only if you are calculating unsteady flow. If you choose
Time Step, the x axis of the plot will indicate the time step, and if you choose Flow
Time, it will indicate the elapsed time.
10. If you are plotting the monitored data, specify the ID of the graphics window in
which the plot will be drawn in the Plot Window field. When FLUENT is iterat-
ing, the active graphics window is temporarily set to this window to update the
plot, and then returned to its previous value. Thus, each surface-monitor plot can
be maintained in a separate window that does not interfere with other graphical
postprocessing.
In order to have multiple monitors display in a single graphics window, you can
set the Plot Window ID to correspond to the same ID for different monitors. This
is useful when you have multiple monitor displays on the screen, you can set all
monitors to the same display. For example, for three different monitors, you can
set the Plot Window ID to 0 for each of the different monitors in order to display
all three monitors in a single window. The name of the monitors (monitor-1.out,
etc.) will be different, but only the Plot Window ID will remain the same. So that
each monitor has data that is stored in a different file, but the data is displayed in
the same window.
i Note that surface and volume monitors cannot be displayed on the same
window.
i If multiple monitors are plotted in the same window, make sure you set an
axes range that can be applied to all the monitors. This axes range will
be the same for all the monitors in the shared plot window. Otherwise,
the most recently defined monitor, sharing the same window as the other
monitors, will determine the axes range. If the default option of Auto Range
is enabled for all the monitors sharing the same plot window, then the
default value for Minimum will be the minimum value of all the monitors,
and the default Maximum will be the maximum value of all the monitors.
Modifying plot attributes can be achieved by clicking the Curves and the
Axes button. See Sections 28.8.8 and 28.8.9 for details about plot options.
11. If you are writing the monitored data to a file, specify the File Name.
12. Remember to click OK in the Surface Monitors panel after you finish defining all
surface monitors.
c Fluent Inc. September 29, 2006 25-141
Using the Solver
i If you choose not to save the surface integration data in a file, this infor-
mation will be lost when you exit the current FLUENT session.
Plot Parameters
You can modify the attributes of the plot axes and curves used for each surface-monitor
plot. Click the Axes... or Curves... button in the Define Surface Monitor panel for the
appropriate monitor to open the Axes panel or Curves panel for that surface-monitor plot.
See Sections 28.8.8 and 28.8.9 for details.
25-142
c Fluent Inc. September 29, 2006
25.18 Monitoring Solution Convergence
1. Increase the Volume Monitors value to the number of volume monitors you wish
to specify. As this value is increased, additional monitor entries in the panel will
become editable. For each monitor, you will perform the following steps.
2. Enter a name for the monitor under the Name heading, and use the Plot, Print, and
Write check buttons to indicate the report(s) you want (plot, printout, or file), as
described below.
3. Indicate the frequency at which you want to plot, print, or write the volume monitor
by entering a number under Every. A default value of 1 will allow you to monitor
at every Iteration or Time Step.
4. Indicate whether you want to update the monitor every Iteration or every Time
Step by selecting the appropriate item in the drop-down list below When. Time
Step is a valid choice only if you are calculating unsteady flow. If you specify every
Iteration, and the Reporting Interval in the Iterate panel is greater than 1, the monitor
will be updated at every reporting interval instead of at each iteration (e.g., for a
reporting interval of 2, the monitor will be updated after every other iteration. If
the reporting interval is 2 and monitor frequency is at Every 3 Iterations, then the
c Fluent Inc. September 29, 2006 25-143
Using the Solver
monitoring will be done at multiples of six, which is the least common multiple of
the two numbers). If you specify every Time Step, the reporting interval will have
no effect; the monitor will always be updated after the specified number of time
steps.
5. Click the Define... button to open the Define Volume Monitor panel (Figure 25.18.8).
Since this is a modal panel, the solver will not allow you to do anything else until
you perform steps 6–11, below.
6. In the Define Volume Monitor panel, choose the integration method for the volume
monitor by selecting Volume, Sum, Max, Min, Volume Integral, Volume-Average,
Mass Integral, or Mass-Average in the Report Type drop-down list. These methods
are described in Section 29.6: Volume Integration.
7. In the Cell Zones list, choose the cell zone(s) on which you wish to integrate.
25-144
c Fluent Inc. September 29, 2006
25.18 Monitoring Solution Convergence
9. If you are plotting the data or writing them to a file, specify the parameter to be
used as the x-axis value (the y-axis value corresponds to the monitored data). In
the X Axis drop-down list, select Iteration, Time Step, or Flow Time as the x-axis
function against which monitored data will be plotted or written. Time Step and
Flow Time are valid choices only if you are calculating unsteady flow. If you choose
Time Step, the x axis of the plot will indicate the time step, and if you choose Flow
Time, it will indicate the elapsed time.
10. If you are plotting the monitored data, specify the ID of the graphics window in
which the plot will be drawn in the Plot Window field. When FLUENT is iterat-
ing, the active graphics window is temporarily set to this window to update the
plot, and then returned to its previous value. Thus, each volume-monitor plot can
be maintained in a separate window that does not interfere with other graphical
postprocessing.
11. If you are writing the monitored data to a file, specify the File Name.
12. Remember to click OK in the Volume Monitors panel after you finish defining all
volume monitors.
i If you choose not to save the volume integration data in a file, this infor-
mation will be lost when you exit the current FLUENT session.
Plot Parameters
You can modify the attributes of the plot axes and curves used for each volume-monitor
plot. Click the Axes... or Curves... button in the Define Volume Monitor panel for the
appropriate monitor to open the Axes panel or Curves panel for that volume-monitor plot.
See Sections 28.8.8 and 28.8.9 for details.
c Fluent Inc. September 29, 2006 25-145
Using the Solver
i If you want to save case or data files at intervals during the calcu-
lation, you must use the Autosave Case/Data panel (opened with the
File/Write/Autosave... menu item). See Section 4.3.4: Automatic Saving of
Case and Data Files for details.
25-146
c Fluent Inc. September 29, 2006
25.19 Executing Commands During the Calculation
1. Increase the Defined Commands value to the number of commands you wish to
specify. As this value is increased, additional command entries will become editable.
For each command, you will perform the following steps.
2. Turn on the On check button next to the command if you want it to be executed
during the calculation. You may define multiple commands and choose to use only
a subset of them by turning off the check button for those that you do not wish to
use.
4. Indicate how often you want the command to be executed by setting the interval
under Every and selecting Iteration or Time Step in the drop-down list below When.
(Time Step is a valid choice only if you are calculating unsteady flow.) For example,
to execute the command every 10 iterations, you would enter 10 under Every and
select Iteration under When.
c Fluent Inc. September 29, 2006 25-147
Using the Solver
1. In the Execute Commands panel, click the Define Macro... button to open the Define
Macro panel (Figure 25.19.2). Since this is a “modal” panel, the solver will not allow
you to do anything else until you perform step 2, below.
2. In the Define Macro panel, specify a Name for the macro (e.g., adapt1) and click
OK. (The Define Macro... button in the Execute Commands panel will become the
End Macro button.)
3. Perform the steps that you want the macro to perform. For example, if you want
the macro to perform gradient adaption, open the Gradient Adaption panel, specify
the appropriate adaption function and parameters, and click Adapt to perform the
adaption.
25-148
c Fluent Inc. September 29, 2006
25.20 Additional Options in the Solver Menu
4. When you have completed the steps you wish the macro to perform, click the End
Macro button in the Execute Commands panel.
As noted above, once you have defined a macro for execution during the calculation,
you can use it at any time. If you defined the macro called adapt1 to adapt based on
pressure gradient, you can simply type adapt1 in the console (text) window to perform
this adaption. This macro is independent of any text menus, so you need not move to
a different text menu to use it. Macros can be saved to and read from files. To save all
macros that are currently defined, use the file/write-macros text command. To read
all the macros in a macro file, use the file/read-macros text command.
i If you want to save case or data files at intervals during the calcu-
lation, you must use the Autosave Case/Data panel (opened with the
File/Write/Autosave... menu item). See Section 4.3.4: Automatic Saving of
Case and Data Files for details.
c Fluent Inc. September 29, 2006 25-149
Using the Solver
sequence, modify the view (for grid, contour, and vector plots), if desired, and save the
animation to a series of hardcopy files or an MPEG file
Instructions for defining a solution animation sequence are provided in
Section 25.20.1: Defining an Animation Sequence. Sections 25.20.1 and 25.20.1 de-
scribe how to play back and save the animation sequences you have created, and Sec-
tion 25.20.1: Reading an Animation Sequence describes how to read a previously-saved
animation sequence into FLUENT.
25-150
c Fluent Inc. September 29, 2006
25.20 Additional Options in the Solver Menu
1. Increase the Animation Sequences value to the number of animation sequences you
wish to specify. As this value is increased, additional sequence entries in the panel
will become editable. For each sequence, you will perform the following steps.
2. Enter a name for the sequence under the Name heading. This name will be used to
identify the sequence in the Playback panel, where you can play back the animation
sequences that you have defined or read in. This name will also be used as the
prefix for the file names if you save the sequence frames to disk.
3. Indicate how often you want to create a new frame in the sequence by setting the
interval under Every and selecting Iteration or Time Step in the drop-down list below
When. (Time Step is a valid choice only if you are calculating unsteady flow.) For
example, to create a frame every 10 time steps, you would enter 10 under Every
and select Time Step under When.
4. Click the Define... button to open the Animation Sequence panel (Figure 25.20.2).
c Fluent Inc. September 29, 2006 25-151
Using the Solver
under Storage Type. To save the animation sequence to your computer’s hard
drive as a pixmap image, select PPM Image under Storage Type.
i Note that the FLUENT metafiles created for each frame in the animation
sequence contain information about the entire scene, not just the view that
is displayed in the plot. As a result, they can be quite large. By default,
the files will be stored to disk. If you do not want to use up disk space
to store them, you can instead choose to store them in memory. Storing
them in memory will, however, reduce the amount of memory available to
the solver. Note that the playback of a sequence stored in memory will be
faster than one stored to disk.
i An advantage to saving the animation sequence using the PPM Image op-
tion is that you can use the separate pixmap image files for the creation of
a single GIF file. GIF file creation can be done quickly with graphics tools
provided by other third-party graphics packages such as ImageMagick, i.e.,
animate or convert. For example, if you save the PPM files starting with
the string sequence-2, and you are using the ImageMagick software, you
can use the convert command with the -adjoin option to create a single
GIF file out of the sequence using the following command.
convert -adjoin sequence-2_00*.ppm sequence2.gif
(b) If you selected Metafile or PPM Image under Storage Type, specify the directory
where you want to store the files in the Storage Directory field. (This can be a
relative or absolute path.)
(c) Specify the ID of the graphics window where you want the plot to be displayed
in the Window field, and click Set. (The specified window will open, if it is not
already open.)
When FLUENT is iterating, the active graphics window is set to this window
to update the plot. If you want to maintain each animation in a separate
window, specify a different Window ID for each.
25-152
c Fluent Inc. September 29, 2006
25.20 Additional Options in the Solver Menu
display settings for any of the display types, click the Properties... button to
open the panel for the selected Display Type.
(b) Define the display in the panel for the selected Display Type (e.g., the Contours
or Solution XY Plot panel), and click Display or Plot.
i You must click Display or Plot to initialize the scene to be repeated during
the calculation.
See below for guidelines on defining display properties for grid, contour, and
vector displays.
7. Remember to click OK in the Solution Animation panel after you finish defining all
animation sequences.
Note that, when you click OK in the Animation Sequence panel for a sequence, the Active
button for that sequence in the Solution Animation panel will be turned on automatically.
You can choose to use a subset of the sequences you have defined by turning off the Active
button for those that you currently do not wish to use.
If you are defining an animation sequence containing grid, contour, or vector displays,
note the following when you are defining the display:
• If you want to include lighting effects in the animation frames, be sure to define
the lights before you begin the calculation. See Section 28.2.6: Adding Lights for
information about adding lights to the display.
• If you want to maintain a constant range of colors in a contour or vector display, you
can specify a range explicitly by turning off the Auto Range option in the Contours
or Vectors panel. See Section 28.1.2: Specifying the Range of Magnitudes Displayed
or 28.1.3 for details.
• Scene manipulations that are specified using the Scene Description panel will not be
included in the animation sequence frames. View modifications such as mirroring
across a symmetry plan will be included.
c Fluent Inc. September 29, 2006 25-153
Using the Solver
Under Animation Sequences in the Playback panel, select the sequence you want to play
in the Sequences list. To play the animation once through from start to finish, click the
“play” button under the Playback heading. (The buttons function in a way similar to
those on a standard video cassette player. “Play” is the second button from the right—a
single triangle pointing to the right.) To play the animation backwards once, click the
“play reverse” button (the second from the left—a single triangle point to the left). As
the animation plays, the Frame scale shows the number of the frame that is currently
displayed, as well as its relative position in the entire animation. If, instead of playing the
complete animation sequence, you want to jump to a particular frame, move the Frame
slider bar to the desired frame number, and the frame corresponding to the new frame
number will be displayed in the graphics window.
i For smoother animations, turn on the Double Buffering option in the Display
Options panel (see Section 28.2.7: Modifying the Rendering Options). This
will reduce screen flicker during graphics updates.
25-154
c Fluent Inc. September 29, 2006
25.20 Additional Options in the Solver Menu
If you want to replay the animation sequence with a different view of the scene, you can
use your mouse to modify (e.g., translate, rotate, zoom) it in the graphics window where
the animation is displayed. Note that any changes you make to the view for an animation
sequence will be lost when you select a new sequence (or reselect the current sequence)
in the Sequences list.
Different computers will play the animation sequence at different speeds, depending on
the complexity of the scene and the type of hardware used for graphics. You may want
to slow down the playback speed for optimal viewing. Move the Replay Speed slider bar
to the left to reduce the playback speed (and to the right to increase it).
You may sometimes want to play only one portion of a long animation sequence. To do
this, you can modify the Start Frame and the End Frame under the Playback heading. For
example, if your animation contains 50 frames, but you want to play only frames 20 to
35, you can set Start Frame to 20 and End Frame to 35. When you play the animation,
it will start at frame 20 and finish at frame 35.
You can “fast-forward” or “fast-reverse” the animation by skipping some of the frames
during playback. To fast-forward the animation, you will need to set the Increment and
click the fast-forward button (the last button on the right—two triangles pointing to the
right). If, for example, your Start Frame is 1, your End Frame is 15, and your Increment
is 2, when you click the fast-forward button, the animation will show frames 1, 3, 5, 7,
9, 11, 13 and 15. Clicking on the fast-reverse button (the first button on the left—two
triangles pointing to the left) will show frames 15, 13, 11,...1.
Continuous Animation
If you want the playback of the animation to repeat continuously, there are two options
available. To continuously play the animation from beginning to end (or from end to
beginning, if you use one of the reverse play buttons), select Auto Repeat in the Playback
Mode drop-down list. To play the animation back and forth continuously, reversing the
playback direction each time, select Auto Reverse in the Playback Mode drop-down list.
To turn off the continuous playback, select Play Once in the Playback Mode list. This is
the default setting.
c Fluent Inc. September 29, 2006 25-155
Using the Solver
To stop the animation during playback, click the “stop” button (the square in the middle
of the playback control buttons). If your animation contains very complicated scenes,
there may be a slight delay before the animation stops.
To advance the animation manually frame by frame, use the third button from the right
(a vertical bar with a triangle pointing to the right). Each time you click this button,
the next frame will be displayed in the graphics window. To reverse the animation frame
by frame, use the third button from the left (a left-pointing triangle with a vertical
bar). Frame-by-frame playback allows you to freeze the animation at points that are of
particular interest.
If you want to remove one of the sequences that you have created or read in, select it in
the Sequences list and click the Delete button. If you want to delete all sequences, click
the Delete All button.
i Note that if you delete a sequence that has not yet been saved to disk (i.e.,
if you selected In Memory under Storage Type in the Animation Sequence
panel), it will be removed from memory permanently. If you want to keep
any animation sequences that are stored only in memory, you should be
sure to save them (as described in Section 25.20.1: Saving an Animation
Sequence) before you delete them from the Sequences list or exit FLUENT.
Note that, if you are saving hardcopy files or an MPEG file, you can modify the view
(e.g., translate, rotate, zoom) in the graphics window where the animation is displayed,
and save the modified view instead of the original view.
25-156
c Fluent Inc. September 29, 2006
25.20 Additional Options in the Solver Menu
If you selected Metafile or PPM Image under Storage Type in the Animation Sequence
panel, then FLUENT will save the solution animation file for you automatically. It will
be saved in the specified Storage Directory, and its name will be the Name you specified
for the sequence, with a .cxa extension (e.g., pressure-contour.cxa). In addition to
the .cxa file, FLUENT will also save a metafile with a .hmf extension for each frame
(e.g., pressure-contour 0002.hmf). The .cxa file contains a list of the associated .hmf
files, and tells FLUENT the order in which to display them.
If you selected In Memory under Storage Type, then the solution animation file (.cxa)
and the associated metafiles (.hmf) will be lost when you exit from FLUENT, unless you
save them as described below.
You can save the animation sequence to a file that can be read back into FLUENT (see
Section 25.20.1: Reading an Animation Sequence) when you want to replay the animation.
As noted in Section 25.20.1: Reading an Animation Sequence, the solution animation file
can be used for playback in FLUENT independent of the case and data files that were
used to generate it.
To save a solution animation file (and the associated metafiles), select Animation Frames
in the Write/Record Format drop-down list in the Playback panel, and click the Write
button. FLUENT will save a .cxa file, as well as a .hmf file for each frame of the anima-
tion sequence. The filename for the .cxa file will be the specified sequence Name (e.g.,
pressure-contour.cxa), and the filenames for the metafiles will consist of the specified
sequence Name followed by a frame number (e.g., pressure-contour 0002.hmf). All of
the files (.cxa and .hmf) will be saved in the current working directory.
Hardcopy File
You can also generate a hardcopy file for each frame in the animation sequence. This
feature allows you to save your sequence frames to hardcopy files used by an external
animation program such as ImageMagick. As noted above, you can modify the view in
the graphics window before you save the hardcopy files.
c Fluent Inc. September 29, 2006 25-157
Using the Solver
1. Select Hardcopy Frames in the Write/Record Format drop-down list in the Playback
panel.
2. If necessary, click the Hardcopy Options... button to open the Graphics Hardcopy
panel and set the appropriate parameters for saving the hardcopy files. (If you
are saving hardcopy files for use with ImageMagick, for example, you may want
to select the window dump format. See Section 4.14.1: Window Dumps (UNIX
Systems Only) for details.) Click Apply in the Graphics Hardcopy panel to save your
modified settings.
i Do not click the Save... button in the Graphics Hardcopy panel. You will
save the hardcopy files from the Playback panel in the next step.
3. In the Playback panel, click the Write button. FLUENT will replay the anima-
tion, saving each frame to a separate file. The filenames will consist of the speci-
fied sequence Name followed by an animation sequence and a frame number (e.g.,
pressure-contour 1 0002.ps), and they will all be saved in the current working
directory.
MPEG File
It is also possible to save all of the frames of the animation sequence in an MPEG file,
which can be viewed using an MPEG decoder such as mpeg play. Saving the entire
animation to an MPEG file will require less disk space than storing individual window
dump files (using the hardcopy method), but the MPEG file will yield lower-quality
images.
As noted above, you can modify the view in the graphics window before you save the
MPEG file.
To save the animation to an MPEG file, follow these steps:
1. Select MPEG in the Write/Record Format drop-down list in the Playback panel.
25-158
c Fluent Inc. September 29, 2006
25.20 Additional Options in the Solver Menu
c Fluent Inc. September 29, 2006 25-159
Using the Solver
After you have run a steady flow solution and acquired particle history data, export the
data by performing the following steps in the Export Particle Data panel:
1. Choose the Type of file you want to export by selecting one of the following:
• Standard for FIELDVIEW format
• EnSight format (not available when Unsteady Particle Tracking is enabled under
the Define/Models/Discrete Phase... menu option)
• Geometry for .ibl format
i If you plan to export particle data to EnSight, you should first verify that
you have already written the files associated with the EnSight Case Gold file
type by using the File/Export... menu option (see Section 4.12.9: EnSight
Case Gold Files).
2. Select an appropriate category and variable under Export Variables.
4. Specify the Particle File name / directory for the exported data, using the Browse...
button.
5. If you selected EnSight under Type, you will need to specify the Encas File name. Use
the Browse... button to select the .encas file that was created when you exported
the file with the File/Export... menu option. The selected file will be modified and
renamed as a new file that contains information about all of the related particle files
that are generated during the export process (including geometry, velocity, scalars,
particle and particle scalar files).
The name of the new file will be the root of the original file with .new appended to
it (e.g. if test.encas is selected, a file named test.new.encas will be written).
It is this new file that should be read into EnSight. If you do not make a selection
under Encas File, then you will need to create an appropriate .encas file manually.
6. If you selected EnSight under Type, you will need to enter the No. of Particle Time
Steps.
7. Click Write to export the data. If you are exporting to EnSight, data files will be
written in .mpg and .mscl formats at every time step.
25-160
c Fluent Inc. September 29, 2006
25.20 Additional Options in the Solver Menu
Before you have run an unsteady flow solution, you can set up the solver to export particle
history data as it iterates by performing the following steps in the Export Particle Data
panel:
1. Choose the Type of file you want to export by selecting one of the following:
• Standard for FIELDVIEW format
• EnSight format
i If you plan to export particle data to EnSight, you should first verify that
you have already written the files associated with EnSight Case Gold file
type by using the File/Export... menu option (see Section 4.12.9: EnSight
Case Gold Files).
2. Select an appropriate category and variable under Export Variables.
5. Specify the Particle File name / directory for the exported data, using the Browse...
button.
6. If you selected EnSight under Type, you will need to specify the Encas File name. Use
the Browse... button to select the .encas file that was created when you exported
the file with the File/Export... menu option. The selected file will be modified and
renamed as a new file that contains information about all of the related particle
files that are generated after every time step during the export process (including
geometry, velocity, scalars, particle and particle scalar files).
The name of the new file will be the root of the original file with .new appended to
it (e.g. if test.encas is selected, a file named test.new.encas will be written).
It is this new file that should be read into EnSight. If you do not make a selection
under Encas File, then you will need to create an appropriate .encas file manually.
You may then run the solution using the Solve/Iterate... menu option. The particle data
will be exported as it is generated. If you are exporting to EnSight, data files will be
written in .mpg and .mscl formats at every time step.
c Fluent Inc. September 29, 2006 25-161
Using the Solver
1. Click Read... to display a file selection dialog box where you can enter a file name
and a directory that contains the imported data.
2. Choose from the available import options by selecting Auto Range and/or Draw
Grid under Options. If you prefer to restrict the range of the scalar field, turn off
the Auto Range option (under Options) and set the Min and Max values manually
beneath the Color by list.
3. Choose to color the particle pathlines by any of the scalar fields in the Color by list.
4. Select a pathline style under Style. To set pathline style attributes, click the Style
Attributes... button. For more information about the pathline style types, see
Section 28.1.4: Controlling the Pathline Style.
5. The value of Steps sets the maximum number of steps a particle can advance. A
particle will stop when it has traveled this number of steps or when it leaves the
domain.
25-162
c Fluent Inc. September 29, 2006
25.21 Checking Your Case Setup
6. If your pathline plot is difficult to understand because there are too many paths
displayed, you can “thin out” the pathlines by changing the Skip value.
7. Click the Display button to draw the pathlines, or click the Pulse button to animate
the particle positions. The Pulse button will become the Stop ! button during the
animation, and you must click Stop ! to stop the pulsing.
c Fluent Inc. September 29, 2006 25-163
Using the Solver
In the Case Check panel, each of the tabs Grid, Models, Boundary Conditions, Material
Properties, and Solver may contain recommendations. For each of the tabs that are
enabled, best practices will be listed.
In some cases, the panel will be split based on the method that the recommendation is
applied. There are two ways you can apply the listed recommendations:
25-164
c Fluent Inc. September 29, 2006
25.21 Checking Your Case Setup
Automatic Implementation
To the left of each of the recommendations listed under Automatic Implementation (e.g.,
Figure 25.21.4), there is an enabled Apply check box. An enabled check box will result
in FLUENT applying the change to your case automatically. If there are some recom-
mendations that you do not want FLUENT to implement automatically, then click the
Apply check box to toggle off and disable the implementation of a particular recommen-
dation. After going through all the tabs and determining which rules you want applied
automatically, click the Apply button at the bottom of the panel. Changes to your set-
tings will be applied to all recommendations throughout the panel with an enabled Apply
check box. FLUENT will print a message in the console notifying you that the applied
recommendation has been implemented.
FLUENT will ask you if you want to save the case before proceeding to the next step. If
you choose Yes, the Select File dialog box will open allowing you to save your case with
the new settings. If you select No, all the changes made to the case file will be lost once
you exit FLUENT.
Manual Implementation
For recommendations that are listed under Manual Implementation, FLUENT cannot apply
the changes for you. Therefore, if you opt to make a change to your current settings,
based on the listed recommendations, then you will need to manually make the changes
by opening the affected panels and applying what was recommended.
To the right of the recommendations is a ?, which essentially acts as a help button,
leading you to related documentation on the specific topic.
Each of the case check rules are described in the following sections:
c Fluent Inc. September 29, 2006 25-165
Using the Solver
The following recommendations appear under the Grid tab (Figure 25.21.3):
• Preview zone motion and mesh motion before beginning the simulation.
After setting up your case using the Dynamic Mesh model, it is worth while to
preview your mesh prior to running your simulation. You can preview Zone Motion
using the GUI command
Display −→Zone Motion...
25-166
c Fluent Inc. September 29, 2006
25.21 Checking Your Case Setup
• Translate the mesh for axisymmetric geometry containing nodes below the x-axis.
If either Axisymmetric or Axisymmetric Swirl is specified in the Solver panel and there
are mesh nodes that fall below the X-axis, then it is recommended that you translate
the grid. Nodes below the x axis are forbidden for axisymmetric cases, since the
axisymmetric cell volumes are created by rotating the 2D cell volume about the x
axis; thus nodes below the x axis would create negative volumes. To find out if there
are any nodes that lie below the x-axis, perform a grid check (Section 6.5: Checking
the Grid). For information on translating the grid, see Section 6.8.11: Translating
the Grid. To access the Grid Translate panel, go to
Grid −→Translate...
c Fluent Inc. September 29, 2006 25-167
Using the Solver
The following recommendations appear under the Models tab (Figure 25.21.4):
25-168
c Fluent Inc. September 29, 2006
25.21 Checking Your Case Setup
• Change the under-relaxation factor for the mixing plane model to 1.0.
If you have created a mixing plane, set the Under-Relaxation in the Mixing Plane
panel to 1. Look under Global Parameters in Section 10.10.2: Setting Up the
Mixing Plane Model for information about the mixing plane under-relaxation.
Define −→Mixing Planes...
• Enable the smoothing option for dynamic mesh simulations when remeshing.
When your case involves the use of dynamic meshes and remeshing is enabled, then
it is recommended that you also perform smoothing on the mesh. For a complete
discussion of smoothing and remeshing, see Section 11.7.1: Setting Dynamic Mesh
Modeling Parameters.
Define −→ Dynamic Mesh −→Parameters...
• Disable species inlet diffusion for laminar flow with species transport.
By default, FLUENT includes the diffusion flux of species at inlets. In some cases
involving species transport and laminar flow, it is recommended that the Inlet Dif-
fusion option in the Species Model panel is disabled. For example,
– If you wish to include only the convective transport of species through the
inlets of your domain.
– If at one of the inlets, the convective flux is very small, resulting in mass loss
by diffusion through the inlet.
Define −→ Models −→ Species −→Transport & Reaction...
For more information about diffusion at inlets, go to Section 14.1.5: Defining Bound-
ary Conditions for Species.
c Fluent Inc. September 29, 2006 25-169
Using the Solver
Figure 25.21.5: The Boundary Conditions Tab in the Case Check Panel
The following recommendations appear under the Boundary Conditions tab (Figure 25.21.5):
• Change inlet boundary conditions. Velocity inlet boundary conditions are not compatible
with compressible flow.
This boundary condition is intended for incompressible flows, and its use in com-
pressible flows will lead to a nonphysical result because it allows stagnation condi-
tions to float to any level (see Section 7.4: Velocity Inlet Boundary Conditions). If
you decide to select a different boundary type, go to the Boundary Conditions panel.
Define −→Boundary Conditions...
25-170
c Fluent Inc. September 29, 2006
25.21 Checking Your Case Setup
• Change outlet boundary conditions. Outflow boundary conditions are not compatible
with the ideal gas law for density.
Outflow boundaries cannot be used if you are modeling unsteady flows with varying
density, even if the flow is incompressible. See Section 7.10: Outflow Boundary
Conditions for more limitations that exist with outflow boundaries.
Define −→Boundary Conditions...
• Non-zero operating pressure set. This will be added to gauge pressure inputs.
For cases that have density specified as the ideal gas law, and the operating pressure
is greater than zero, the operating pressure will be added to the gauge pressure to
yield the absolute pressure. For more information, see Sections 8.3.6 and 8.14.2.
Define −→Operating Conditions...
• Apply positive non-zero pressure boundary conditions when using the ideal gas law for
density.
In compressible flows, isentropic relations for an ideal gas are applied to relate total
pressure, static pressure, and velocity at a pressure inlet boundary. Your input of
total pressure, p00 , at the inlet and the static pressure, p0s , in the adjacent fluid cell
are related, as described in Equations 7.3-6 and 7.3-7 of Section 7.3.3: Calculation
Procedure at Pressure Inlet Boundaries. It is recommended that pressure boundary
conditions are not set to zero for compressible flows that use the ideal gas law.
Define −→Boundary Conditions...
c Fluent Inc. September 29, 2006 25-171
Using the Solver
• Assign a non-zero wall thickness for wall boundaries with shell conduction.
When the Shell Conduction option is enabled in the Wall boundary condition panel,
FLUENT will compute heat conduction within the wall, in addition to conduction
across the wall. therefore, you must specify a non-zero Wall Thickness in the Wall
panel, because the shell conduction model is relevant only for walls with non-zero
thickness. See Section 7.13.1: Shell Conduction in Thin-Walls for information on
shell conduction in thin walls.
Define −→Boundary Conditions...
• Change the outlet boundary condition. Outflow boundary condition is not compatible
with current multiphase settings.
You cannot assign an outflow boundary conditions when using the mixture and
Eulerian multiphase models. Note the limitations of this boundary condition in
Section 7.10: Outflow Boundary Conditions. FLUENT can model the effects of
open channel flow using the VOF formulation. In such a case, outflow boundary
conditions can be used at the outlet of open channel flows, to model flow exits where
the details of the flow velocity and pressure are not known prior to solving the flow
problem. See Section 23.3.9: Open Channel Flow, under the heading Outflow
Boundary, for more information.
Define −→Boundary Conditions...
25-172
c Fluent Inc. September 29, 2006
25.21 Checking Your Case Setup
• Review wall motion. Stationary wall motion relative to adjacent cell zone detected.
In cases where the fluid zone motion type is specified as Moving Mesh or Moving
Reference Frame, all wall zones should be set to Moving Wall in the Momentum
tab of the Wall boundary conditions panel. The wall motion should be defined
Relative to Adjacent Cell Zone. The exception to this is if the walls are stationary
in the absolute frame. To define wall motion, see Section 7.13.1: Inputs at Wall
Boundaries.
Define −→Boundary Conditions...
c Fluent Inc. September 29, 2006 25-173
Using the Solver
Figure 25.21.6: The Material Properties Tab in the Case Check Panel
• Assign a non-zero thermal expansion coefficient when selecting the Boussinesq density
model.
When selecting boussinesq to describe the density of your material, be sure to enter
a valid thermal expansion coefficient for your material. For detailed information
on the Boussinesq model, see Section 13.2.5: The Boussinesq Model.
Define −→Materials...
25-174
c Fluent Inc. September 29, 2006
25.21 Checking Your Case Setup
The following recommendations appear under the Solver tab (Figure 25.21.7):
• Enable the unsteady solver option when selecting moving mesh for the fluid boundary.
If the motion type of the fluid boundary condition is specified as Moving Mesh,
then your case should be specified as transient in the Solver panel. Visit Sec-
tion 11.4.2: Setting Up the Problem for steps on setting up moving mesh problem.
Define −→ Models −→Solver...
c Fluent Inc. September 29, 2006 25-175
Using the Solver
• Change the under-relaxation factor for the energy equation to at least 0.90.
It is recommended to set the energy under-relaxation factor between 0.90 and 1.0.
If you decide to apply this recommendation, then FLUENT will automatically set
the energy under-relaxation factor to 0.90. If you want to increase this value, you
can manually make the change by going to the Solution Controls panel. See Sec-
tion 13.2.3: Solution Strategies for Heat Transfer Modeling for the under-relaxation
of the energy equation.
Solve −→ Controls −→Solution...
• Review reference values for non-dimensionalized force coefficients computed with force
monitors.
If force monitors are activated, be sure to update the reference panel. See Sec-
tion 25.18.3: Monitoring Forces and Moments.
Solve −→ Controls −→Solution...
25-176
c Fluent Inc. September 29, 2006
25.21 Checking Your Case Setup
make the change by going to the Solution Controls panel.See Section 14.1.7: Solution
Procedures for Chemical Mixing and Finite-Rate Chemistry.
Solve −→ Controls −→Solution...
• Assign a value of 1 for the under-relaxation factor for unsteady DPM with 1 DPM
update per time step.
It is recommended that the DPM under-relaxation factor be set to 1 for unsteady
DPM with 1 DPM update per time step.
Solve −→ Controls −→Solution...
• Consider using higher order discretization for improved accuracy of the final solution.
First-order discretization may be used in the initial solution.
It is generally advisable to obtain an initial solution using first-order accurate dis-
cretization, however, second order discretization is recommended for improved ac-
curacy of the final solution. See Section 25.8: Choosing the Discretization Scheme
for more information on discretization schemes.
Solve −→ Controls −→Solution...
c Fluent Inc. September 29, 2006 25-177
Using the Solver
You should also refer to Sections 25.8 and 25.9.1 for information about how the choice of
discretization scheme or (for the pressure-based solver) pressure-velocity coupling scheme
can affect convergence. Manipulation of under-relaxation parameters and multigrid set-
tings to enhance convergence is discussed in Sections 25.9.2 and 25.22.3.
• If you make a good initial guess of the flow field, the initial continuity residual may
be very small leading to a large scaled residual for the continuity equation. In such
a situation it is useful to examine the unscaled residual and compare it with an
appropriate scale, such as the mass flow rate at the inlet.
• For some equations, such as for turbulence quantities, a poor initial guess may
result in high scale factors. In such cases, scaled residuals will start low, increase as
non-linear sources build up, and eventually decrease. It is therefore good practice
to judge convergence not just from the value of the residual itself, but from its
25-178
c Fluent Inc. September 29, 2006
25.22 Convergence and Stability
behavior. You should ensure that the residual continues to decrease (or remain
low) for several iterations (say 50 or more) before concluding that the solution has
converged.
Another popular approach to judging convergence is to require that the unscaled residuals
drop by three orders of magnitude. FLUENT provides residual normalization for this
purpose, as discussed in Section 25.18.1: Definition of Residuals for the Pressure-Based
Solver, where residuals are defined for both the pressure-based solver and the density-
based solver. In this approach the convergence criterion is that the normalized unscaled
residuals should drop to 10−3 . However, this requirement may not be appropriate in
many cases:
• If you have provided a very good initial guess, the residuals may not drop three
orders of magnitude. In a nearly-isothermal flow, for example, energy residuals
may not drop three orders if the initial guess of temperature is very close to the
final solution.
• If the governing equation contains non-linear source terms which are zero at the
beginning of the calculation and build up slowly during computation, the residuals
may not drop three orders of magnitude. In the case of natural convection in
an enclosure, for example, initial momentum residuals may be very close to zero
because the initial uniform temperature guess does not generate buoyancy. In such
a case, the initial nearly-zero residual is not a good scale for the residual.
• If the variable of interest is nearly zero everywhere, the residuals may not drop
three orders of magnitude. In fully-developed flow in a pipe, for example, the
cross-sectional velocities are zero. If these velocities have been initialized to zero,
initial (and final) residuals are both close to zero, and a three-order drop cannot
be expected.
In such cases, it is wise to monitor integrated quantities, such as drag or overall heat
transfer coefficient, before concluding that the solution has converged. It may also be
useful to examine the un-normalized unscaled residual, and determine if the residual is
small compared to some appropriate scale. Alternatively, the scaled residual defined by
Equation 25.18-4 or 25.18-9 (the default) may be considered.
Conversely, it is possible that if the initial guess is very bad, the initial residuals are
so large that a three-order drop in residual does not guarantee convergence. This is
specially true for k and equations where good initial guesses are difficult. Here again
it is useful to examine overall integrated quantities that you are particularly interested
in. If the solution is unconverged, you may drop the convergence tolerance, as described
in Section 25.18.1: Modifying Convergence Criteria.
c Fluent Inc. September 29, 2006 25-179
Using the Solver
i This is possible only for the pressure-based solver; the density-based solver
solves the energy equation together with the flow equations in a coupled
manner, so you cannot turn off the energy equation as described above.
25-180
c Fluent Inc. September 29, 2006
25.22 Convergence and Stability
When the isothermal flow is reasonably well converged, you can turn the energy equation
back on. You can actually turn off the momentum and continuity equations while the
initial energy field is being computed. When the energy field begins to converge well,
you can turn the momentum and continuity equations back on so that the flow pattern
can adjust to the new temperature field. The temperature will couple back into the flow
solution by its impact on fluid properties such as density and viscosity. The temperature
field will have no effect on the flow field if the fluid properties (e.g., density, viscosity)
do not vary with temperature. In such cases, you can compute the energy field without
turning the flow equations back on again.
c Fluent Inc. September 29, 2006 25-181
Using the Solver
25-182
c Fluent Inc. September 29, 2006
Chapter 26. Adapting the Grid
The solution-adaptive mesh refinement feature of FLUENT allows you to refine and/or
coarsen your grid based on geometric and numerical solution data. In addition, FLU-
ENT provides tools for creating and viewing adaption fields customized to particular
applications. The adaption process is described in detail in the following sections.
c Fluent Inc. September 29, 2006 26-1
Adapting the Grid
By using solution-adaptive refinement, you can add cells where they are needed in the
mesh, thus enabling the features of the flow field to be better resolved. When adaption
is used properly, the resulting mesh is optimal for the flow solution because the solution
is used to determine where more cells need to be added. Thus, computational resources
are not wasted by the inclusion of unnecessary cells, as it occurs in the structured grid
approach. Also, the effect of mesh refinement on the solution can be studied without
completely regenerating the mesh.
Note: When you perform mesh adaption in a parallel computation, a load balancing step
will be performed by FLUENT by default.
You can turn off the automatic load balancing using the following TUI command:
(disable-load-balance-after-adaption)
(enable-load-balance-after-adaption)
The automatic load balancing will not occur in conjunction with dynamic adaption. See
Section 26.5: Dynamic Gradient Adaption for information on dynamic adaption, and
Section 31.6.2: Load Balancing for information on load balancing in parallel FLUENT.
26-2
c Fluent Inc. September 29, 2006
26.1 Using Adaption
Grid
Grid
c Fluent Inc. September 29, 2006 26-3
Adapting the Grid
Although the procedure for solution adaption will vary according to the flow being solved,
the adaption process used for the turbine cascade is described in this example. Though
this example involves compressible flow, the general procedure is applicable for incom-
pressible flows as well.
2. “Mark” the cells within the refinement threshold, creating a refinement register
(see Sections 26.11 and 26.4).
3. Repeat the process described in steps 1 and 2, using gradients of Mach number as
a refinement criterion.
4. To refine in the wake region, use isovalues of total pressure as a criterion (see
Section 26.6: Isovalue Adaption). This causes cells within the boundary layer and
the wake to be marked, since these are both regions of high total-pressure loss.
5. Use the Manage Adaption Registers panel to combine the three refinement registers
into a single register (see Section 26.11.1: Manipulating Adaption Registers).
6. Limit the minimum cell volume for adaption to prevent the addition of cells within
the boundary layer, where the mesh was judged to be fine enough already (see
Section 26.12: Grid Adaption Controls).
7. Refine the cells contained in the resulting adaption register (see Section 26.11.1: Ma-
nipulating Adaption Registers).
8. Perform successive smoothing and swapping iterations using the Smooth/Swap Grid
panel (see Section 26.13: Improving the Grid by Smoothing and Swapping). This
step is recommended if you are using conformal adaption.
The effect of refining on gradients is evident in the finer mesh ahead of the leading edge
of the blade and within the blade passage (Figure 26.1.2). The finer mesh in the wake
region is due to the adaption using isovalues of total pressure.
26-4
c Fluent Inc. September 29, 2006
26.1 Using Adaption
• The surface mesh must be fine enough to adequately represent the important fea-
tures of the geometry.
For example, it would be bad practice to place too few nodes on the surface of a
highly-curved airfoil, and then use solution refinement to add nodes on the surface.
The surface will always contain the facets contained in the initial mesh, regardless
of the additional nodes introduced by refinement.
• The initial mesh should contain sufficient cells to capture the essential features of
the flow field.
Consider the following example, in which you want to predict the shock forming
around a bluff body in supersonic flow. To obtain a reasonable first solution,
the initial mesh should contain enough cells and also have sufficient resolution to
represent the shape of the body. Subsequent gradient adaption can be used to
sharpen the shock and to establish a grid-independent solution.
• Polyhedral cells are not eligible for adaption. The presence of polyhedral cells in a
mesh may or may not limit the eligibility of other cells for adaption, depending on
the manner in which the polyhedral cells were created:
– If the domain was converted to polyhedra (see Section 6.7.1: Converting the
Domain to a Polyhedra), then no part of the mesh can be adapted (even if
hexahedral cells are present in the mesh after conversion).
– If the polyhedra are a result of converting skewed tetrahedral cells (see Sec-
tion 6.7.2: Converting Skewed Cells to Polyhedra) or converting the transi-
tional cells of a hexcore mesh (see Section 31.5.2: Preparing Hexcore Meshes
for Partitioning), then the nonpolyhedral cells may be adapted. The polyhe-
dral cells, however, will be automatically unmarked from the register when
adaption is initiated and will remain unchanged.
c Fluent Inc. September 29, 2006 26-5
Adapting the Grid
• Write a case and data file before starting the adaption process. If you generate an
undesirable mesh, you can restart the process with the saved files. This does not
directly apply to dynamic adaption, because here the solution is adapted either at
every iteration or at every time-step, depending on which solver is being used.
• Select suitable variables when performing gradient adaption. For some flows, the
choice is clear. For instance, adapting on gradients of pressure is a good criterion
for refining in the region of shock waves. In most incompressible flows, however,
it makes little sense to refine on pressure gradients. A more suitable parameter
in an incompressible flow might be mean velocity gradients. If the flow feature
of interest is a turbulent shear flow, it will be important to resolve the gradients
of turbulent kinetic energy and turbulent energy dissipation, so these might be
appropriate refinement variables. In reacting flows, temperature or concentration
(or mole or mass fraction) of reacting species might be appropriate.
• Do not over-refine a particular region of the solution domain. It causes very large
gradients in cell volume. Such poor adaption practice can adversely affect the
accuracy of the solution.
1. The individual cells are marked for refinement or coarsening based on the adaption
function, which is created from geometric and/or solution data.
2. The cell is refined or considered for coarsening based on these adaption marks.
The primary advantages of this modularized approach are the abilities to create
sophisticated adaption functions and to experiment with various adaption functions
without modifying the existing mesh.
i Write a case and data file before starting the adaption process. If you
generate an undesirable grid, you can restart the process with the saved
files.
Two different types of adaption are available in FLUENT:
• Hanging node adaption: It is the default method (see Section 26.2.1: Hanging Node
Adaption).
• Conformal adaption: It is available only for triangular and tetrahedral grids (see
Section 26.2.2: Conformal Adaption).
26-6
c Fluent Inc. September 29, 2006
26.2 Static Adaption Process
Hanging
Node
Hanging node grid adaption provides the ability to operate on grids with a variety of cell
shapes, including hybrid grids. Although the hanging node scheme provides significant
grid flexibility, it requires additional memory to maintain the grid hierarchy which is used
by the rendering and grid adaption operations.
Figures 26.2.2 and 26.2.3 illustrate the division of the supported cell shapes.
c Fluent Inc. September 29, 2006 26-7
Adapting the Grid
To maintain accuracy, neighboring cells are not allowed to differ by more than one level of
refinement. This prevents the adaption from producing excessive cell volume variations
(reducing truncation error) and ensures that the positions of the parent (original) and
child (refined) cell centroids are similar (reducing errors in the flux evaluations).
Triangle Quadrilateral
Tetrahedron Hexahedron
Prism/Wedge Pyramid
26-8
c Fluent Inc. September 29, 2006
26.2 Static Adaption Process
repeated application of the hanging node coarsening. Using the hanging node adaption
process, you cannot coarsen the grid further than the original grid. However, conformal
coarsening allows you to remove original grid points to reduce the density of the grid.
Note: This process should not be used in conjunction with dynamic adaption (described
in Section 26.5: Dynamic Gradient Adaption).
Conformal Refinement
To refine the cell, split the boundary or internal faces (including periodic boundary faces).
This technique has two primary advantages:
• The process is conservative and does not require interpolation to obtain the solution
vector for the new cells.
• Repeated refinement of a skewed cell does not increase the grid skewness.
Figure 26.2.4 shows how the triangle labeled A would be split for refinement. The cells
are refined by splitting the longest edge of the triangle or tetrahedron.
The process is to find the longest edge of any cell marked for refinement search for a
longer edge. If any of the neighbor cells has a longer edge, the scheme spins around
that new edge searching for a longer edge. When the longest edge is identified, it is
split. Although this process maintains the quality of the triangulation with repeated
application, it splits many cells that are not marked for refinement.
For example, Figure 26.2.5 shows the original cell marked for refinement (marked with an
X), and Figure 26.2.6 shows the final mesh created by the conformal refinement process.
c Fluent Inc. September 29, 2006 26-9
Adapting the Grid
26-10
c Fluent Inc. September 29, 2006
26.2 Static Adaption Process
Conformal Coarsening
The grid is coarsened by removing nodes that are shared by cells marked for coarsening.
If all the cells attached to the node are marked for coarsening, the solver attempts to
remove the node. Local retriangulation process is attempted for each of the nodes marked
for removal, as follows:
1. A list of the cells attached to the marked node is generated. Removing these cells
creates a cavity that must be retriangulated.
5. From the list of faces on the cavity, a new Delaunay triangulation is created. See
the Theory chapter in the TGrid User’s Guide for a description of Delaunay trian-
gulation.
6. If the process is successful, the node, faces, and cells from the original triangulation
of the region are deleted.
7. All nodes associated with the cavity are removed from the list of deleted nodes to
avoid consecutive coarsening in the same region.
8. The solution variables in the new cells are computed using a volume-weighted
average.
c Fluent Inc. September 29, 2006 26-11
Adapting the Grid
Figure 26.2.7 illustrates the removal of node n1 and the resulting retriangulation. In this
example, c1, c2, c3, c4, and c5 are the cells attached to the node. Faces f 6, f 7, f 8, f 9, and
f 10 are the faces inside the cavity. Faces on the cavity includes f 1, f 2, f 3, f 4, and f 5.
The new faces of the triangulation are f 11 and f 12, and the new cells are c6, c7, and c8.
Nodes introduced by refinement are called refinement nodes. Nodes that existed in the
mesh before refinement are called original nodes. By default, only refinement nodes can
be removed in the coarsening process, but you can remove any node by resetting the
node flags. For information on node flags, see Section 26.12: Controlling Node Removal
During Conformal Coarsening.
Presently, the grid-coarsening facility is available only in the 2D version of FLUENT.
• The conformal adaption method is only valid for triangular and tetrahedral grids,
while the hanging node adaption can be applied to all supported cell shapes.
• The hanging node adaption is usually more local in nature than the conformal
adaption. In conformal adaption, many cells in addition to the marked cells may
be refined due to the longest edge splitting criteria. For highly graded grids, the
initial conformal refinement sweeps tend to exhibit substantial propagation of the
cell refinement, sometimes refining the grid many cells away from the actual cell
marked for refinement. (Subsequent refinements are usually much more local in
nature.) The hanging node scheme only propagates to maintain the refinement
level difference, which is much more confined.
• Conformal coarsening allows you to coarsen the initial grid, and this is only available
in 2D.
26-12
c Fluent Inc. September 29, 2006
26.3 Boundary Adaption
• With refinement and coarsening, the hanging node adaption scheme will retain
the connectivity of the original grid, while the conformal adaption method will
modify the connectivity. The modification of the connectivity can have accuracy
implications for grids used in unsteady problems with periodic behavior (e.g., vortex
shedding behind a cylinder) if you perform successive refinements and coarsenings.
• The hanging node adaption has a memory overhead associated with maintaining
the grid hierarchy and temporarily storing the edges in 3D. The conformal adaption
has no memory overhead other than the additional nodes, faces and cells added to
increase the grid density.
c Fluent Inc. September 29, 2006 26-13
Adapting the Grid
Grid
Grid
26-14
c Fluent Inc. September 29, 2006
26.3 Boundary Adaption
• Number of cells: In this case, the distance of a cell from the boundary is measured
in number of cells.
• Normal distance: In this case, the cell refinement is based on the normal distance
of a cell from the boundary.
• Target boundary volume: In this case, the cell refinement is based on a target
boundary volume and growth factor.
You can use any of these methods in the Boundary Adaption panel (Figure 26.3.3).
Adapt −→Boundary...
c Fluent Inc. September 29, 2006 26-15
Adapting the Grid
1. In the Boundary Adaption panel (Figure 26.3.3), select Cell Distance under Options,
choose the boundary zones near which you want to refine cells in the Boundary
Zones list, and click Apply.
This operation is performed to fill the cell distance variable for each cell to be
visualized in Step 2.
4. (optional) If you want to set any adaption options (described in Section 26.12: Grid
Adaption Controls), click on the Controls... button to open the Grid Adaption
Controls panel.
5. Click Mark to mark the cells for refinement by placing them in an adaption register
(which can be manipulated as described in Section 26.11.1: Manipulating Adaption
Registers), or click Adapt to perform the refinement immediately.
26-16
c Fluent Inc. September 29, 2006
26.3 Boundary Adaption
1. In the Boundary Adaption panel, select Normal Distance under Options, choose the
boundary zones near which you want to refine cells in the Boundary Zones list, and
click Apply.
This operation is performed to fill the cell distance variable for each cell to be
visualized in Step 2.
3. Set the Distance Threshold to the desired value. Cells with a normal distance to
the selected boundary zone(s) less than or equal to this value will be marked or
adapted.
4. (optional) If you want to set any adaption options (described in Section 26.12: Grid
Adaption Controls), click on the Controls... button to open the Grid Adaption
Controls panel.
5. Click Mark to mark the cells for refinement by placing them in an adaption register
(which can be manipulated as described in Section 26.11.1: Manipulating Adaption
Registers), or click Adapt to perform the refinement immediately.
c Fluent Inc. September 29, 2006 26-17
Adapting the Grid
where Vn is the cell volume, Vboundary is the specified boundary volume (Boundary Volume),
α is the exponential growth factor (Growth Factor), and d is the normal distance of the
cell centroid from the selected boundaries. Vboundary eαd is the target volume for a cell.
The procedure for this type of boundary refinement is as follows:
1. In the Boundary Adaption panel, select Volume Distance under Options, set the
Boundary Volume and Growth Factor to the desired values, choose the boundary
zones in the Boundary Zones list where you want the Boundary Volume to be applied,
and click Apply.
This operation is performed to fill the cell distance variable for each cell to be
visualized in Step 2.
3. (optional) If you want to set any adaption options (described in Section 26.12: Grid
Adaption Controls), click on the Controls... button to open the Grid Adaption
Controls panel.
4. Click Mark to mark the cells for refinement by placing them in an adaption register
(which can be manipulated as described in Section 26.11.1: Manipulating Adaption
Registers), or click Adapt to perform the refinement immediately.
26-18
c Fluent Inc. September 29, 2006
26.4 Gradient Adaption
r
|ei1 | = (Acell ) 2 |∇f | (26.4-1)
where ei1 is the error indicator, Acell is the cell area, r is the gradient volume weight,
and ∇f is the Euclidean norm of the gradient of the desired field variable, f .
The default value of the gradient volume weight is unity, which corresponds to full
volume weighting. A value of zero will eliminate the volume weighting, and values
between 0 and 1 will use proportional weighting of the volume.
If you specify adaption based on the gradient of a scalar, then the value of |ei1 | is
displayed when you plot contours of the adaption function.
This approach is recommended for problems with strong shocks, e.g., supersonic
inviscid flows.
r
|ei2 | = (Acell ) 2 |∇2 f | (26.4-2)
where ei2 is the error indicator, Acell is the cell area, r is the gradient volume weight,
and ∇2 f is the undivided Laplacian of the desired field variable (f ).
c Fluent Inc. September 29, 2006 26-19
Adapting the Grid
The default value of the gradient volume weight is unity, which corresponds to full
volume weighting. A value of zero will eliminate the volume weighting, and values
between 0 and 1 will use proportional weighting of the volume.
This approach is recommended for problems with smooth solutions.
• Isovalue approach: This approach is not based on derivatives. Instead, the iso-
values of the required field variable f , are used to control the adaption. Therefore,
the function is of the form:
ei3 = f (26.4-3)
where ei3 is the error indicator. This approach is recommended for problems where
derivatives are not helpful. For example, if you want to refine the mesh where the
reaction is taking place, you can use the isovalues of the reaction rate and mark
for refinement at high reaction rates. This approach also allows you to customize
the criteria for controlling the adaption using custom field functions, user-defined
scalars, etc.
The length scale is the square (2D) or cube (3D) root of the cell volume. Introducing
the length scale allows resolution of both strong and weak disturbances, increasing the
potential for more accurate solutions. However, you can reduce or eliminate the volume
weighting by changing the gradient Volume Weight in the Grid Adaption Controls panel
(see Section 26.12: Grid Adaption Controls for details).
Any of the field variables available for contouring can be used in the gradient adaption
function. These scalar functions include, both geometric and physical features of the
numerical solution. Therefore, in addition to traditional adaption to physical features,
such as the velocity, you may choose to adapt to the cell volume field to reduce rapid
variations in cell volume.
26-20
c Fluent Inc. September 29, 2006
26.4 Gradient Adaption
In addition to the Standard (no normalization) approach formerly used by FLUENT, two
options are available for Normalization [117]:
• Scale, which scales the values of ei1 , ei2 , or ei3 by their average value in the domain,
i.e.:
|ei |
(26.4-4)
|ei |
when using the Scale option, suitable first-cut values for the Coarsen Threshold and
the Refine Threshold are 0.3 to 0.5, and 0.7 to 0.9, respectively. Smaller values will
result in larger adapted regions.
• Normalize, which scales the values of ei1 , ei2 , or ei3 by their maximum value in the
domain, therefore always returning a problem-independent range of [0, 1] for any
variable used for adaption, i.e.:
|ei |
(26.4-5)
max |ei |
when using the Normalize option, suitable first-cut values for the Coarsen Threshold
and the Refine Threshold are 0.2 to 0.4, and 0.5 to 0.9, respectively. Smaller values
will result in larger adapted regions.
c Fluent Inc. September 29, 2006 26-21
Adapting the Grid
Grid
Grid
26-22
c Fluent Inc. September 29, 2006
26.4 Gradient Adaption
c Fluent Inc. September 29, 2006 26-23
Adapting the Grid
26-24
c Fluent Inc. September 29, 2006
26.4 Gradient Adaption
7. Select the Normalize per Zone option for cases where different flow conditions exist
for different zones.
This approach of zonal normalization normalizes (scale or normalize) each zone
of the domain in contrast to normalization on the whole domain. This approach
is useful for dynamic adaption (see Section 26.5: Dynamic Gradient Adaption for
details), where you want to solve the flow problem involving different flow intensities
in the different cell zones.
If you use gradient adaption for the whole domain, the small gradients may be
neglected in comparison to large gradients depending on the adaption threshold.
Activating Normalize per Zone in the Gradient Adaption panel will scale or normal-
ize each zone independently, which means the strongest gradient for each zone is
considered separately for adaption of that zone.
Note: If you expect gradients of different intensities throughout the domain and
you want to resolve them, separate the domain into different zones for precise
zonal normalization. This approach is referred as zonal adaption.
8. If you want to coarsen the grid, set the Coarsen Threshold to a nonzero value. Cells
with gradient values below the specified value will be either marked or coarsened.
Notes:
1. If you are using the default hanging node adaption, you will not be able to create
a grid that is coarser than the original grid. For this, use conformal adaption.
2. Conformal coarsening is only available for 2D or axisymmetric geometries. See
Section 26.12: Grid Adaption Controls for details.
9. To set adaption options (described in Section 26.12: Grid Adaption Controls), click
Controls... to open the Grid Adaption Controls panel.
10. To mark the cells for adaption (refinement/coarsening), click Mark. You can then
place the cells in an adaption register, which can be manipulated (as described
in Section 26.11.1: Manipulating Adaption Registers). To perform the adaption
immediately, click Adapt.
c Fluent Inc. September 29, 2006 26-25
Adapting the Grid
26-26
c Fluent Inc. September 29, 2006
26.5 Dynamic Gradient Adaption
• Set values for Min # of Cells, Max # of Cells, Max Level of Refine or Min Cell Volume.
The limits for the Min # of Cells and Max # of Cells can affect the Coarsen Threshold
and Refine Threshold values. If either the Min # of Cells or the Max # of Cells are
violated, the Coarsen Threshold or the Refine Threshold are adjusted to fulfill the
limits for the Min # of Cells or the Max # of Cells.
• The default value for Max Level of Refine is 2, which is a good start for most
problems. If required, you can increase this value.
c Fluent Inc. September 29, 2006 26-27
Adapting the Grid
• Mark and display cells with a pressure or continuity residual outside of a desired
range to determine where the numerical solution is changing rapidly.
The approach used in isovalue adaption function is to compute the specified value for
each cell (velocity, quadric function, centroid x coordinate, etc.), and then visit each cell,
marking for refinement the cells that have values inside (or outside) the specified ranges.
An example of a problem in which isovalue adaption is useful is shown in Figure 26.6.1.
The mesh for an impinging jet is displayed along with contours of x velocity. An isovalue
adaption based on x velocity allows refinement of the mesh only in the jet (Figure 26.6.2).
Note: When adapting to isovalues take care to prevent large gradients in cell volume.
This can affect accuracy and impede convergence (Section 26.1: Using Adaption).
To rectify large gradients in cell volume, adapt to cell-volume change, as demon-
strated in Section 26.8.2: Volume Adaption Example.
26-28
c Fluent Inc. September 29, 2006
26.6 Isovalue Adaption
1.00e+00
9.00e-01
8.00e-01
7.00e-01
6.00e-01
5.00e-01
4.00e-01
3.00e-01
2.00e-01
1.00e-01
Grid
c Fluent Inc. September 29, 2006 26-29
Adapting the Grid
1. Select the desired solution variable in the Iso-Values of drop-down list and click on
Compute to update the Min and Max fields.
2. Choose the Inside or Outside option and set the Iso-Min and Iso-Max values.
• If you choose Inside, cells with isovalues between Iso-Min and Iso-Max will be
marked or refined.
• If you choose Outside, cells with isovalues less than Iso-Min or greater than
Iso-Max will be marked or refined.
3. (optional) If you want to set any adaption options (described in Section 26.12: Grid
Adaption Controls), click Controls... button to open the Grid Adaption Controls
panel.
4. Click Mark to mark the cells for refinement by placing them in an adaption register
(which can be manipulated as described in Section 26.11.1: Manipulating Adaption
Registers), or click Adapt to perform the refinement immediately.
26-30
c Fluent Inc. September 29, 2006
26.7 Region Adaption
• The sphere (circle) is defined by entering the coordinates of the center of the sphere
and its radius.
• To define a cylinder, specify the coordinates of the points defining the cylinder axis,
and the radius. In 3D this will define a cylinder. In 2D, you will have an arbitrarily
oriented rectangle with length equal to the cylinder axis length and width equal to
the radius.
A rectangle defined using the cylinder option differs from one defined with the
quadrilateral option in that the former can be arbitrarily oriented in the domain
while the latter must be aligned with the coordinate axes.
You can either enter the exact coordinates into the appropriate real entry fields or
select the locations with the mouse on displays of the grid or solution field. After
the region is defined, each cell that has a centroid inside/outside the specified region
is marked for refinement.
c Fluent Inc. September 29, 2006 26-31
Adapting the Grid
Grid
26-32
c Fluent Inc. September 29, 2006
26.7 Region Adaption
Grid
c Fluent Inc. September 29, 2006 26-33
Adapting the Grid
26-34
c Fluent Inc. September 29, 2006
26.7 Region Adaption
• To define a sphere or circle, enter the values for the Radius and the coordinates
of its center; (Xcenter, Ycenter, Zcenter) for a sphere or (Xcenter, Ycenter) for
a circle.
• To define a cylinder, enter the value for the Radius and the minimum and
maximum coordinates defining the cylinder axis; (X-Axis Min, Y-Axis Min, Z-
Axis Min) and (X-Axis Max, Y-Axis Max, Z-Axis Max) for 3D or (X-Axis Min,Y-
Axis Min) and (X-Axis Max,Y-Axis Max) for 2D. In 2D, this will be the width
of the resulting rectangle.
4. To define the region using the mouse, click on the Select Points with Mouse button.
Using the right mouse button select the input coordinates from a display of the grid
or solution field. After selecting the points, the values will be loaded automatically
into the appropriate fields in the panel. See Section 28.3: Controlling the Mouse
Button Functions for details about mouse button functions.
If you want, you can edit these values before marking or adapting.
• To define a hexahedron or quadrilateral, select the two points of the diagonal
in any order.
• To define a sphere or circle, first select the location of the centroid and then
select a point that lies on the sphere/circle (i.e., a point that is one radius
away from the centroid).
• To define a cylinder, first select the two points that define the cylinder axis
and then select a point that is one radius away from the axis.
5. (optional) If you want to set any adaption options (described in Section 26.12: Grid
Adaption Controls), click on the Controls... button to open the Grid Adaption
Controls panel.
6. Click Mark to mark the cells for refinement by placing them in an adaption register
(which can be manipulated as described in Section 26.11.1: Manipulating Adaption
Registers), or click Adapt to perform the refinement immediately.
c Fluent Inc. September 29, 2006 26-35
Adapting the Grid
26.8.1 Approach
Marking or refining the grid based on volume magnitude is often used to remove large
cells or to globally refine the mesh. The procedure is to mark for refinement any cell
with a volume greater than the specified threshold value.
Marking or refining the grid based on the change in cell volume is used to improve the
smoothness of the grid. The procedure is to mark for refinement any cell that has a volume
change greater than the specified threshold value. The volume change is computed by
looping over the faces and comparing the ratio of the cell neighbors to the face.
For example, in Figure 26.8.1 the ratio of V1/V2 and the ratio of V2/V1 is compared
to the threshold value. If V2/V1 is greater than the threshold, then C2 is marked for
refinement.
26-36
c Fluent Inc. September 29, 2006
26.8 Volume Adaption
Grid
Grid
Figure 26.8.3: Jet Mesh after Volume Adaption Based on Change in Cell
Volume
c Fluent Inc. September 29, 2006 26-37
Adapting the Grid
1. In the Volume Adaption panel, specify whether you want to adapt based on volume
magnitude or volume change by selecting the Magnitude or Change option.
2. Click on Compute to update the Min and Max fields. These fields will show the
range of cell volumes or cell volume changes (defined in Section 26.8.1: Approach),
depending on your selection in step 1.
4. (optional) If you want to set any adaption options (described in Section 26.12: Grid
Adaption Controls), click on the Controls... button to open the Grid Adaption
Controls panel.
5. Click Mark to mark the cells for refinement by placing them in an adaption register
(which can be manipulated as described in Section 26.11.1: Manipulating Adaption
Registers), or click Adapt to perform the refinement immediately.
26-38
c Fluent Inc. September 29, 2006
26.9 Yplus/Ystar Adaption
26.9.1 Approach
The approach is to compute y + or y ∗ for boundary cells on the specified viscous wall
zones, define the minimum and maximum allowable y + or y ∗ , and mark and/or adapt
the appropriate cells. Cells with y + or y ∗ values below the minimum allowable threshold
will be marked for coarsening and cells with y + or y ∗ values above the maximum allow-
able threshold will be marked for refinement (unless coarsening or refinement has been
disabled).
Figure 26.9.1 shows the mesh for a duct flow, where the top boundary is the wall and
the bottom boundary is the symmetry plane. After an initial solution, it was determined
that y + values of the cells on the wall boundary were too large, and y + adaption was
used to refine them. The resulting mesh is shown in Figure 26.9.2. This figure shows that
the height of the cells along the wall boundary has been reduced during the refinement
process. However, the cell-size distribution on the wall after refinement is much less
uniform than in the original mesh, which is an adverse effect of y + adaption.
See Section 12.11: Grid Considerations for Turbulent Flow Simulations for guidelines on
recommended values of y + or y ∗ for different near-wall treatments.
c Fluent Inc. September 29, 2006 26-39
Adapting the Grid
Grid
Grid
26-40
c Fluent Inc. September 29, 2006
26.9 Yplus/Ystar Adaption
1. In the Yplus/Ystar Adaption panel, select Yplus or Ystar as the adaption Type.
(a) Select Yplus if you are using the enhanced wall treatment.
(b) If you are using wall functions, you can select either type.
2. Choose the wall zones for which you want boundary cells to be marked or adapted
in the Wall Zones list, and click on Compute to update the Min and Max fields. The
values displayed are the minimum and maximum values for all wall zones, not just
of those selected.
3. Set the Min Allowed and Max Allowed. Cells with y + or y ∗ values below Min Allowed
will be coarsened or marked for coarsening, and cells with y + or y ∗ values above
Max Allowed will be refined or marked for refinement.
Note: If you are using the default hanging node adaption, you will not be able to
create a grid that is coarser than the original grid. For this, you must use
conformal adaption that is conformal coarsening which is only available for
2D or axisymmetric geometries. See Section 26.12: Grid Adaption Controls
for details.
c Fluent Inc. September 29, 2006 26-41
Adapting the Grid
4. (optional) If you want to set any adaption options (described in Section 26.12: Grid
Adaption Controls), click on the Controls... button to open the Grid Adaption
Controls panel.
5. Click Mark to mark the cells for adaption (refinement/coarsening) by placing them
in an adaption register (which can be manipulated as described in Section 26.11.1: Ma-
nipulating Adaption Registers), or click Adapt to perform the adaption immediately.
To disable refinement or coarsening, or marking for refinement or coarsening, turn off the
Refine or Coarsen option before marking or adapting.
26.10.1 Approach
Geometry-based adaption works on the principle of geometry reconstruction. In this
approach, the cell count of the mesh is increased by creating the new nodes in the domain
in between the existing nodes of the mesh. The newly created nodes are projected in such
a way that the resulting mesh is finer and it’s shape is closer to the original geometry.
The following sections explain how nodes are projected and the parameters that control
the node propagation.
Node Projection
Consider a coarse mesh created for a circular geometry. A section of the mesh close to
the circular edge is shown in Figure 26.10.1. The edge is not smooth and has sharp
corners, because of which its shape is not closer to that of the original geometry. Using
boundary adaption along with the geometry reconstruction option will result in a mesh
with smoother edges as shown in Figure 26.10.2.
In Figure 26.10.2, the dotted lines represent the original edge of the mesh. The boundary
adaption process creates new nodes in between the original nodes. These nodes are
projected towards the edge of the geometry, because of which the resulting mesh has
smooth edges and its shape is closer to the original geometry.
i Only the nodes created in the adaption process (newly created nodes) are
projected and the original nodes retain their positions.
26-42
c Fluent Inc. September 29, 2006
26.10 Geometry-Based Adaption
c Fluent Inc. September 29, 2006 26-43
Adapting the Grid
The following parameters control node projection and are specified in Geometry Based
Adaption panel.
• Levels of Projection Propagation: This parameter allows you to specify the number
of node layers across which node propagation should take place for geometry recon-
struction. A value of 1 means only the nodes at the boundary will be projected, a
value of 2 means the nodes at the boundary and the nodes in the next layer will
be projected, and so on.
Note: The nodes in the first level are projected by a maximum magnitude and the
node in the last level are projected by a minimum magnitude. The magnitude
of projection decreases gradually from the first level to the last level.
For example, a value of 3 for Levels of Projection Propagation means, the level
1 node is projected by maximum magnitude and level 3 node is projected by
minimum magnitude. Figure 26.10.3 illustrates the level of propagation and
magnitude of projection of newly created nodes.
• Background Mesh: This option allows you to use a fine surface mesh as a back-
ground mesh, based on which the geometry is reconstructed. When you read the
26-44
c Fluent Inc. September 29, 2006
26.10 Geometry-Based Adaption
surface mesh, the node projection will take place based on the node positions of
the background mesh.
This option is useful when the mesh you want to adapt is very coarse and geometry is
highly curved. In such cases, node projection, only by specifying the parameters may
not result in a good quality mesh. However, you can also modify the propagation
criteria by specifying the parameters.
i You can read only one surface mesh at a time. The various zones of the
surface mesh will be listed in the Background Mesh drop-down list.
If you adapt boundaries of the domain without activating the Reconstruct Geometry op-
tion, the resulting mesh (see Figure 26.10.5) has sufficient number of cells, but the bound-
ary of the domain still contains sharp corners.
Boundary adaption only creates new nodes in between the existing nodes to increase the
cell count of the mesh. Since it does not project the nodes, the shape of the mesh remains
as it is.
If you adapt the boundary with Reconstruct Geometry option. The resulting mesh (Fig-
ure 26.10.6) has more number of cells and less sharp corners at boundary. In addition,
the newly created nodes are projected in a direction such that it’s shape is closer to the
original geometry (i.e., sphere with smooth boundary).
c Fluent Inc. September 29, 2006 26-45
Adapting the Grid
26-46
c Fluent Inc. September 29, 2006
26.10 Geometry-Based Adaption
2. Under Wall Zones, select the zone you want to adapt and click Set.... The Geometry
Based Adaption Controls panel will open.
c Fluent Inc. September 29, 2006 26-47
Adapting the Grid
In the Geometry Based Adaption Controls panel, set the following parameters:
• Specify Levels of Projection Propagation to indicate the number of layers of the
nodes you want to project.
• Enable Direction of Projection and specify the directions in which you want to
project the nodes.
This will activate the parameters X, Y and Z. If you want node projection
in the X direction, specify X=1. If you do not activate this option, the node
projection will take place at the nearest point.
• (optional) If you have fine surface mesh for the geometry, you can use the
Background Mesh option to load the surface mesh as a background mesh. This
will project the nodes based on the background mesh and reconstruct the
geometry more accurately.
• To disable the geometry reconstruction for any zone in the domain, activate
Disable Geometry Based Adaption for this Zone.
3. To disable geometry-based adaption for the whole domain, disable Reconstruct Ge-
ometry.
After setting the parameters for geometry-based adaption proceed to mesh adap-
tion.
26-48
c Fluent Inc. September 29, 2006
26.11 Registers
26.11 Registers
A register is the group of cells that are marked for refinement/coarsening but not adapted.
There are two types of registers:
• Adaption Register
• Mask Register
Adaption Register
An adaption register is basically a list of identifiers for each cell in the domain. The
identifiers designate whether a cell is neutral (not marked), marked for refinement, or
marked for coarsening. Invoking the Mark command creates an adaption register. It is
called a register because it is used in a manner similar to the way memory registers are
used in calculators. For example, one adaption register holds the result of an operation,
another register holds the results of a second operation, and these registers can be used
to produce a third register.
The adaption function is used to set the appropriate identifier. For example, to refine the
cells based on pressure gradient, the solver computes the gradient adaption function for
each cell. The cell value is compared with the refining and coarsening threshold values
and assigned the appropriate identifier.
• If the cell value < coarsen threshold value, the cell is marked for coarsening.
• If the coarsen threshold value < cell value < refine threshold value, the cell is
neutral (not marked).
• If the cell value > refine threshold value, the cell is marked for refinement.
Adaption registers can be created using geometric data, physical features of the flow field,
and combinations of these information. After they are created, the adaption registers
can be listed, displayed, deleted, combined, exchanged, inverted, and changed to mask
registers.
c Fluent Inc. September 29, 2006 26-49
Adapting the Grid
1. Create the initial adaption registers using geometric and/or solution vector infor-
mation.
2. Manipulate these registers and their associated refinement and coarsening marks.
• Manipulate the registers by changing the type and/or combining them to
create the desired hybrid function.
• Manipulate the marks by using Exchange, Invert, Limit, and Fill operations.
For example, you can capture the shock wave generated on a wedge in a supersonic flow
field by adapting the grid to the gradients of pressure. The pressure gradient near the
surface of the wedge, however, is relatively small. You can therefore use the velocity field
to resolve the equally important boundary layer near the surface of the wedge.
• If you subsequently adapted to velocity, these regions may be refined, but the net
result will not gain in resolution.
• If you combine the velocity and pressure gradient adaption functions, the new
adaption function will allow increased resolution in both regions.
The relative weight of the two functions in the hybrid function is determined by the
values of the refinement and coarsening thresholds you specify for each of the flow field
variables.
To refine the shock and boundary layer only near the leading edge of the wedge, create
a circle at the leading edge of the wedge using the region adaption function, change this
new register to a mask, and combine it with the hybrid gradient function.
The GUI and text interface commands generate adaption registers that designate the cells
marked for refinement or coarsening. These registers can be converted to mask registers.
26-50
c Fluent Inc. September 29, 2006
26.11 Registers
Mask Register
Mark registers maintain only two states: ACTIVE and INACTIVE. If the adaption
register is converted to a mask, cells marked for refinement become ACTIVE cells, while
those that are unmarked or marked for coarsening become INACTIVE.
You can use a mask register to limit adaption to cells within a certain region.
This process is illustrated in Figures 26.11.1, 26.11.2, and 26.11.3.
Figure 26.11.1 shows a cloud of cells representing an adaption register (shaded cells are
marked cells). Figure 26.11.2 illustrates the active cells associated with a mask register.
If the mask is applied to (combined with) the adaption register, the new adaption register
formed from the combination has the marked cells shown in Figure 26.11.3.
c Fluent Inc. September 29, 2006 26-51
Adapting the Grid
This example does not differentiate between refinement or coarsening marks because the
mask is applied to both types of marks. For more information on combining registers,
see Section 26.11.1: Manipulating Adaption Registers.
26-52
c Fluent Inc. September 29, 2006
26.11 Registers
c Fluent Inc. September 29, 2006 26-53
Adapting the Grid
The new type of the register (if multiple registers are selected, the most recently selected
or deselected register) will be shown as the Type under Register Info. Select each register
individually to see what its current type is.
Combining Registers
After the individual adaption registers have been created and appropriately modified,
they are combined to create hybrid adaption functions.
3. The mask registers are combined in a manner similar to the refinement marks. If
any cell is marked ACTIVE, the cell in the new register is marked ACTIVE (bitwise
OR).
4. Finally, in the combination of an adaption and mask register, only cells that are
marked in the mask register can have an adaption mark in the combined register
(bitwise AND).
26-54
c Fluent Inc. September 29, 2006
26.11 Registers
For example, creating an adaption function based on pressure gradient may generate
cells marked for refinement and coarsening throughout the entire solution domain. If
this register is then combined with a mask register created from cells marked inside a
sphere, only the cells inside the sphere will be marked for refinement or coarsening in the
new register.
Note: The effect of masks depends on the order in which they are applied.
For example, consider two adjacent, circular masks. Applying one mask to the adaption
register and then applying the other mask to the result of the first combination would
give a much different result than applying the combination of the two masks to the initial
adaption register. The second combination results in a greater possible number of marked
cells.
To combine two or more registers, do the following:
The selected registers will remain intact, and the register(s) resulting from the combina-
tion will be added to the Registers list. In some instances, three new registers may be
created:
For more information about combining registers, see Section 26.11: Adaption Register.
Deleting Registers
The primary reason for deleting registers is to discard unwanted adaption registers. This
will reduce confusion and the possibility of generating undesired results by selecting
these discarded registers. In addition, only 32 adaption registers can exist at one time.
Therefore discard unwanted registers to make room for new ones. You can delete any
number of adaption registers.
To permanently remove one or more registers, do the following:
c Fluent Inc. September 29, 2006 26-55
Adapting the Grid
• Exchange: It changes the cells marked for refinement into cells marked for coarsen-
ing, and all cells originally marked for coarsening into cells marked for refinement.
This operation is applied to adaption registers that have only refinement marks.
For example, the exchange operation can be used to coarsen a rectangular region.
First, create an adaption register that marks a rectangular region of cells for re-
finement. Then use the Exchange operation to modify the cell marks, creating a
rectangular region with cells marked for coarsening.
• Invert: This operation can only be used with mask registers. It toggles the mask
markings, i.e., all cells marked ACTIVE are switched to INACTIVE, and all cells
marked INACTIVE are switched to ACTIVE.
For example, if you generate a mask that defines a circular region, you can quickly
modify the mask to define the region outside of the circle using the Invert operation.
• Limit: This operation applies the present adaption volume limit to the selected
adaption register. For information on adaption limits, see Section 26.12: Grid
Adaption Controls. You generally use this operation to determine the effect of the
present limits on the adaption process. You can use the volume limit to create a
uniform mesh by setting the limit to refine only the large cells. After all the cells
have reached a uniform size, you can continue the refinement process to the desired
resolution.
• Fill: This operation marks the cells in the adaption register that are not marked for
refinement. You can use the Fill operation to combine multiple registers to make a
new register.
Notes: 1. When you combine registers, a cell will be marked for coarsening only
if it is marked for coarsening in all of the registers.
2. If you create an adaption register with an operation that only marks cells for
refinement, but you do not want to prohibit coarsening, use the Fill operation before
combining the register with any other registers.
2. Click on the Exchange, Invert, Limit, or Fill button under Mark Actions.
26-56
c Fluent Inc. September 29, 2006
26.11 Registers
• Depending on the dimension of the problem and the number of flagged cells, you
can customize the adaption display options. The most common method for viewing
flagged cells in 2D is to draw the grid and filled wireframes, but this is impractical
in 3D. In three dimensions, you can plot the centroid markers of the cells with the
grid of selected boundary zones.
• You can use markers and/or wireframes to display the flagged cells in an adaption
or mask register. The marker is a symbol placed at the centroid of the cell. There
is a refine marker and a coarsen marker. You can change the symbol, color, and
size of these markers. A wireframe is composed of the edges of the triangle or
tetrahedron. Its color is the same as the respective marker color, and can be filled,
if required.
• Portions of the grid can be drawn with the marker symbols or wireframes to aid in
evaluating the location of marked cells.
c Fluent Inc. September 29, 2006 26-57
Adapting the Grid
All of these options are set in the Adaption Display Options panel (Figure 26.11.5). You
can also open this panel by clicking on the Options... button in the Manage Adaption
Registers panel.
Adapt −→Display Options...
• To enable or disable the display of wireframes for cells marked for refinement/coarsening,
turn the Wireframe option on or off under Refine and/or Coarsen. To draw filled
wireframes (i.e., using a solid color, instead of the outline) turn on the Filled option.
• To enable or disable the display of markers for cells marked for refinement/coarsening,
turn the Marker option on or off under Refine and/or Coarsen. Use markers to specify
their size in the Size field, and their symbol in the Symbol drop-down list.
• To change the color of the refine or coarsen markers/wireframes, select a new color
in the Color drop-down list under Refine or Coarsen. By default, refine mark-
ers/wireframes are red and coarsen markers/wireframes are cyan.
• To include portions of the grid in the register display, enable the Draw Grid option.
The Grid Display panel will appear automatically, where you can set the grid display
parameters. When you click on Display in the Manage Adaption Registers panel, the
grid display, as defined in the Grid Display panel, will be included in the register
display.
26-58
c Fluent Inc. September 29, 2006
26.12 Grid Adaption Controls
• Limit the total number of cells that can be produced from the adaption process.
• Restrict the adaption process to refinement and/or coarsening, and control which
nodes are eligible for possible elimination from the grid during conformal coarsening.
c Fluent Inc. September 29, 2006 26-59
Adapting the Grid
The parameters controlling the aspects of adaption are set in the Grid Adaption Controls
panel (Figure 26.12.1). You can also open this panel by clicking on the Controls... button
in any of the adaption panels.
Adapt −→Controls...
Note: Write a case and data file before starting the adaption process. Then, if you
generate an undesirable grid, you can restart the process with the saved files.
• To use hanging node adaption (the default), select Hanging in the Type frame,
and to use conformal adaption, select Conformal. The hanging node and conformal
adaption procedures are described in detail in Section 26.2: Static Adaption Process.
26-60
c Fluent Inc. September 29, 2006
26.12 Grid Adaption Controls
c Fluent Inc. September 29, 2006 26-61
Adapting the Grid
Note: Even in a 2D problem, the default value of 2 can increase the number of cells by
a factor of 16, in the adapted regions.
A value of zero leaves this parameter unbounded, and you should use a suitable limit for
Min Cell Volume. For more information on hanging node adaption, see Section 26.2.1: Hang-
ing Node Adaption. For guidelines for limiting cell sizes and number of cells during
dynamic gradient adaption, see Section 26.5.1: Dynamic Gradient Adaption Approach.
For hanging node adaption, only refinement nodes can be removed during coarsening,
and they are always removed.
Nodes introduced by refinement are called refinement nodes, and nodes that existed in
the mesh before refinement are called original nodes. FLUENT maintains a section in
the case file with the node flags. If this section doesn’t exist (i.e., when you first read
a grid), it identifies all nodes as original nodes. It also distinguishes between nodes on
boundary, internal, and periodic zones for both original nodes and nodes created by
adaptive refinement.
To guarantee that the original shape of the domain boundaries is maintained, only the
nodes introduced by refinement are removed. For example, consider the grid of a rectan-
gular domain. If one of the nodes on the edges of the rectangle is removed the shape is
not modified, but if one of the corner nodes of the rectangle is eliminated, the shape is
changed from a quadrilateral to a pentagon.
You can modify this default behavior by changing the node removal flags. The most
common modification is to allow the removal of original internal nodes. Removing internal
nodes does not destroy the shape of the boundary. In fact, it can be very helpful if the
initial grid has substantial resolution in a region with minor or no changes in physical
features.
26-62
c Fluent Inc. September 29, 2006
26.13 Improving the Grid by Smoothing and Swapping
Note: Removing the original boundary or periodic nodes can alter the shape, and in some
instances may even destroy the topology, producing a worthless grid. Therefore, be
careful when removing original boundary and periodic nodes. Write a case and data
file before starting the adaption process. Then, if you generate an undesirable grid,
you can restart the process with the saved files.
By default, only the removal of refinement nodes is allowed, as indicated by the enabled
status of Boundary - Refined, Internal - Refined, and Periodic - Refined and the disabled
status of Boundary - Original, Internal - Original, and Periodic - Original in the Grid Adaption
Controls panel. If you want to disable the removal of these types of nodes, do so by turning
off the associated check button. Similarly, if you want to enable their removal, turn on
the associated check button.
i Smoothing and face swapping are available only for serial cases, not for
parallel cases.
c Fluent Inc. September 29, 2006 26-63
Adapting the Grid
Both, smoothing and swapping are performed using the Smooth/Swap Grid panel (Fig-
ure 26.13.1).
Adapt −→Smooth/Swap...
26.13.1 Smoothing
Two smoothing methods available in FLUENT are:
26-64
c Fluent Inc. September 29, 2006
26.13 Improving the Grid by Smoothing and Swapping
Laplacian Smoothing
When you use this method, a Laplacian smoothing operator is applied to the unstructured
grid to reposition nodes. The new node position is the average of the positions of its
node neighbors. The relaxation factor (with value between 0.0 and 1.0) multiplies the
computed node position increment. A value of zero results in no movement of the node
and a value of unity results in movement equivalent to the entire computed increment.
Figure 26.13.2 illustrates the new node position for a typical configuration of quadrilateral
cells. The dashed line is the original grid and the solid line is the final grid.
This repositioning strategy improves the skewness of the mesh, but relaxes the clustering
of node points. In extreme circumstances, the present operator may create grid lines that
cross over the boundary, creating negative cell volumes. This is most likely to occur near
sharp or coarsely resolved convex corners, especially if you perform multiple smoothing
operations with a large relaxation factor. Figure 26.13.3 illustrates an initial tetrahedral
grid before one unrelaxed smoothing iteration creates grid lines that cross over each other
(Figure 26.13.4).
The default smoothing parameters are designed to improve grid quality with minimal
adverse effects, but save a case file before smoothing the mesh. If you apply a conservative
relaxation factor and start with a good quality initial grid, the frequency of failure due to
smoothing is extremely low in two dimensions. However, corruption of the grid topology
occurs much more frequently in three dimensions, particularly with tetrahedral grids.
The smoothing operator can also be applied repeatedly, but as the number of smoothing
sweeps increase, the node points have a tendency to pull away from boundaries and the
grid tends to lose any clustering characteristics.
c Fluent Inc. September 29, 2006 26-65
Adapting the Grid
26-66
c Fluent Inc. September 29, 2006
26.13 Improving the Grid by Smoothing and Swapping
1. In the Smooth/Swap Grid panel (Figure 26.13.1), select laplace in the Method drop-
down list under Smooth.
2. Set the factor by which to multiply the computed position increment for the node
in the Relaxation Factor field. The lower the factor, the more reduction in node
movement.
3. Specify the number of successive smoothing sweeps to be performed on the grid in
the Number of Iterations field. The default value is 4.
4. Click the Smooth button.
Skewness-Based Smoothing
When you use skewness-based smoothing, FLUENT applies a smoothing operator to the
grid, repositioning interior nodes to lower the maximum skewness of the grid. FLUENT
will try to move interior nodes to improve the skewness of cells with skewness greater
than the specified “minimum skewness.” This process can be very time-consuming, so
perform smoothing only on cells with high skewness.
Improved results can be obtained by smoothing the nodes several times. There are inter-
nal checks that will prevent a node from being moved if moving it causes the maximum
skewness to increase, but it is common for the skewness of some cells to increase when a
cell with a higher skewness is being improved. Thus, you may see the average skewness
increase while the maximum skewness is decreasing.
1. In the Smooth/Swap Grid panel (Figure 26.13.1), select skewness in the Method
drop-down list under Smooth.
2. Set the minimum cell skewness value for which node smoothing will be attempted
in the Minimum Skewness field. FLUENT will try to move interior nodes to improve
the skewness of cells with skewness greater than this value. By default, Minimum
Skewness is set to 0.4 for 2D and 0.8 for 3D.
3. Specify the number of successive smoothing sweeps to be performed on the grid in
the Number of Iterations field. The default value is 4.
4. Click the Smooth button.
c Fluent Inc. September 29, 2006 26-67
Adapting the Grid
Triangular Grids
The approach for triangular grids is to use the Delaunay circle test to decide if a face
shared by two triangular cells should be swapped. A pair of cells sharing a face satisfies
the circle test if the circumcircle of one cell does not contain the unshared node of the
second cell. Figure 26.13.5 illustrates cell neighbors in the circle test. In cases where the
circle test is not satisfied, the diagonal or face is swapped, as illustrated in Figure 26.13.6.
26-68
c Fluent Inc. September 29, 2006
26.13 Improving the Grid by Smoothing and Swapping
Tetrahedral Grids
For tetrahedral grids, face swapping consists of searching for configurations of three cells
sharing an edge and converting them into two cells sharing a face to decrease skewness
and the cell count (see Figure 26.13.7).
• Perform four smoothing iterations using a Minimum Skewness of 0.8 for 3D, or 0.4
for 2D.
• For 3D grids, decrease the Minimum Skewness to 0.6 and repeat the smooth-
ing/swapping procedure.
c Fluent Inc. September 29, 2006 26-69
Adapting the Grid
26-70
c Fluent Inc. September 29, 2006
Chapter 27. Creating Surfaces for Displaying and
Reporting Data
FLUENT allows you to select portions of the domain to be used for visualizing the flow
field. The domain portions are called surfaces, and there are a variety of ways to create
them. Surfaces are required for graphical analysis of 3D problems, since you cannot
display vectors, contours, etc. or create an XY plot for the entire domain at once. In 2D
you can usually visualize the flow field on the entire domain, but to create an XY plot
of a variable in a portion of the interior of the domain, you must generate a surface. In
addition, in both 2D and 3D, you will need one or more surfaces if you want to generate
a surface-integral report. Note that FLUENT will automatically create a surface for each
boundary zone in the domain. Surface information is stored in the case file.
The following sections explain how to create surfaces, rename, group, and delete them,
and determine their sizes.
c Fluent Inc. September 29, 2006 27-1
Creating Surfaces for Displaying and Reporting Data
Zone Surfaces: If you want to create a surface that will contain the same cells/faces as
an existing cell/face zone, you can generate a zone surface. This kind of surface is
useful for displaying results on boundaries.
Partition Surfaces: When you are using the parallel version of FLUENT, you may
find it useful to create surfaces that are defined by the boundaries between grid
partitions (see Chapter 31: Parallel Processing for more information about running
the parallel solver). You can then display data on each side of a partition boundary.
Point Surfaces: To monitor the value of some variable or function at a particular lo-
cation in the domain, you can create a surface consisting of a single point.
Line and Rake Surfaces: To generate and display pathlines, you must specify a sur-
face from which the particles are released. Line and rake surfaces are well-suited
for this purpose and for obtaining data for comparison with wind tunnel data. A
rake surface consists of a specified number of points equally spaced between two
specified endpoints. A line surface is simply a line that includes the specified end-
points and extends through the domain; data points will be at the centers of the
cells through which the line passes, and consequently will not be equally spaced.
Plane Surfaces: If you want to display flow-field data on a specific plane in the domain,
you can create a plane surface. A plane surface is simply a plane that passes through
three specified points.
Quadric Surfaces: To display data on a line (2D), plane (3D), circle (2D), sphere (3D),
or quadric surface you can specify the surface by entering the coefficients of the
quadric function that defines it. This feature provides you with an explicit method
for defining surfaces.
Isosurfaces: You can use an isosurface to display results on cells that have a constant
value for a specified variable. Generating an isosurface based on x, y, or z co-
ordinate, for example, will give you an x, y, or z cross-section of your domain.
Generating an isosurface based on pressure will allow you to display data for an-
other variable on a surface of constant pressure.
27-2
c Fluent Inc. September 29, 2006
27.2 Zone Surfaces
1. In the Zone list, select the zone for which you want to create a surface.
2. If you do not want to use the default name assigned to the surface, enter a new name
under New Surface Name. The default name is the concatenation of the surface type
and an integer which is the new surface ID (e.g., zone-surface-6). (If the New
Surface Name you enter is the same as the name of a surface that already exists,
FLUENT will automatically assign the default name to the new surface when it is
created.)
i The surface name that you enter must begin with an alphabetical letter.
If your surface name begins with any other character or number, FLUENT
will not accept the entry.
c Fluent Inc. September 29, 2006 27-3
Creating Surfaces for Displaying and Reporting Data
3. Click on the Create button. The new surface name will be added to the Surfaces
list in the panel.
If you want to delete or otherwise manipulate any surfaces, click on the Manage... button
to open the Surfaces panel. See Section 27.11: Grouping, Renaming, and Deleting Surfaces
for details.
0.00e+00
3.00e-01
6.00e-01
9.00e-01
1.20e+00
1.50e+00
1.80e+00
2.10e+00
2.40e+00
2.70e+00
3.00e+00
27-4
c Fluent Inc. September 29, 2006
27.3 Partition Surfaces
To create a partition surface, you will use the Partition Surface panel (Figure 27.3.2).
Surface −→Partition...
1. Specify the partition boundary you are interested in by indicating the two bordering
partitions under the Partitions heading. The boundary that defines the partition
surface is the boundary between the “interior partition” and the “exterior parti-
tion”. Int Part indicates the ID number of the interior partition (i.e., the partition
under consideration), and Ext Part indicates the ID number of the bordering (exte-
rior) partition. The Min and Max fields will indicate the minimum and maximum
ID numbers of the grid partitions. (The minimum is always zero, and the maximum
is one less than the number of processors.) If there are more than two grid parti-
tions, each interior partition will share boundaries with several exterior partitions.
By setting the appropriate values for Int Part and Ext Part, you can create surfaces
for any of these boundaries.
c Fluent Inc. September 29, 2006 27-5
Creating Surfaces for Displaying and Reporting Data
3. If you do not want to use the default name assigned to the surface, enter a new name
under New Surface Name. The default name is the concatenation of the surface type
and an integer which is the new surface ID (e.g., partition-surface-6). (If the
New Surface Name you enter is the same as the name of a surface that already exists,
FLUENT will automatically assign the default name to the new surface when it is
created.)
i The surface name that you enter must begin with an alphabetical letter.
If your surface name begins with any other character or number, FLUENT
will not accept the entry.
4. Click on the Create button. The new surface name will be added to the Surfaces
list in the panel.
If you want to delete or otherwise manipulate any surfaces, click on the Manage... button
to open the Surfaces panel. See Section 27.11: Grouping, Renaming, and Deleting Surfaces
for details.
1. Specify the location of the point. There are three different ways to do this:
• Enter the coordinates (x0,y0,z0) under Coordinates.
• Click on the Select Point With Mouse button and then select the point by click-
ing on a location in the active graphics window with the mouse-probe button.
(See Section 28.3: Controlling the Mouse Button Functions for information
about setting mouse button functions.)
• Use the Point Tool option to interactively position a point in the graphics
window. You can set the initial location of this point using one of the two
methods described above for specifying the point’s position (or you can start
from the position defined by the default Coordinates). See Section 27.4.1: Using
the Point Tool for information about using the point tool.
27-6
c Fluent Inc. September 29, 2006
27.4 Point Surfaces
2. If you do not want to use the default name assigned to the surface, enter a new name
under New Surface Name. The default name is the concatenation of the surface type
and an integer which is the new surface ID (e.g., point-5). (If the New Surface
Name you enter is the same as the name of a surface that already exists, FLUENT
will automatically assign the default name to the new surface when it is created.)
i The surface name that you enter must begin with an alphabetical letter.
If your surface name begins with any other character or number, FLUENT
will not accept the entry.
3. Click on the Create button to create the new surface.
If you want to check that your new surface has been added to the list of all defined sur-
faces, or you want to delete or otherwise manipulate any surfaces, click on the Manage...
button to open the Surfaces panel. See Section 27.11: Grouping, Renaming, and Deleting
Surfaces for details.
c Fluent Inc. September 29, 2006 27-7
Creating Surfaces for Displaying and Reporting Data
You can then translate the point tool as described below. The point surface you create
will be located at the center of the point tool.
27-8
c Fluent Inc. September 29, 2006
27.5 Line and Rake Surfaces
one set of green arrows, since there is only one other direction for translation.) If you
find the perspective distracting when performing this type of translation, you can turn
it off in the Camera Parameters panel (opened from the Views panel), as described in
Section 28.4.2: Controlling Perspective and Camera Parameters.
c Fluent Inc. September 29, 2006 27-9
Creating Surfaces for Displaying and Reporting Data
The steps for creating the line or rake surface are as follows:
1. Indicate whether you are creating a Line surface or a Rake surface by selecting the
appropriate item in the Type drop-down list.
2. If you are creating a rake surface, specify the Number of Points to be equally spaced
between the two endpoints.
3. Specify the location of the line or rake surface. There are three different ways to
define the location:
• Enter the coordinates of the first point (x0,y0,z0) and the last point (x1,y1,z1)
under End Points.
• Click on the Select Points With Mouse button and then select the endpoints
by clicking on locations in the active graphics window with the mouse-probe
button. (See Section 28.3: Controlling the Mouse Button Functions for infor-
mation about setting mouse button functions.)
• Use the Line Tool option to interactively position a line in the graphics window.
You can set the initial location of this line using one of the two methods
described above for specifying endpoints (or you can start from the position
defined by the default End Points). See Section 27.5.1: Using the Line Tool for
information about using the line tool.
Note that the coordinates of the End Points will be updated automatically when
you use the second or third method described above.
4. If you do not want to use the default name assigned to the surface, enter a new name
under New Surface Name. The default name is the concatenation of the surface type
and an integer which is the new surface ID (e.g., line-5 or rake-6). (If the New
Surface Name you enter is the same as the name of a surface that already exists,
FLUENT will automatically assign the default name to the new surface when it is
created.)
i The surface name that you enter must begin with an alphabetical letter.
If your surface name begins with any other character or number, FLUENT
will not accept the entry.
5. Click on the Create button to create the new surface.
If you want to check that your new surface has been added to the list of all defined sur-
faces, or you want to delete or otherwise manipulate any surfaces, click on the Manage...
button to open the Surfaces panel. See Section 27.11: Grouping, Renaming, and Deleting
Surfaces for details.
27-10
c Fluent Inc. September 29, 2006
27.5 Line and Rake Surfaces
You can then translate, rotate, and/or resize the line tool as described below.
c Fluent Inc. September 29, 2006 27-11
Creating Surfaces for Displaying and Reporting Data
i Do not click on the axes of the line tool that have arrows on the ends.
These axes control rotation of the tool. Click only on the portion of the
tool that represents the prospective line surface. This portion is designated
by the rectangles attached to each end.
To translate the tool in the transverse directions (i.e., along either of the axes within
the plane perpendicular to the red axis), press the <Shift> key, click the mouse-probe
button anywhere on the “line” part of the tool (see note above), and drag the mouse until
the tool reaches the desired location. Two sets of green arrows will show the possible
directions of motion. (In 2D, there will be only one set of green arrows, since there is
only one other direction for translation.) If you find the perspective distracting when
performing this type of translation, you can turn it off in the Camera Parameters panel
(opened from the Views panel), as described in Section 28.4.2: Controlling Perspective
and Camera Parameters.
27-12
c Fluent Inc. September 29, 2006
27.6 Plane Surfaces
• Intersection of the domain with the infinite plane: This is the default plane surface
created. The extents of the plane will be determined by the extents of the domain.
Since the plane is slicing through the domain, the data points will, by default, be
located where the plane intersects the faces of a cell, and consequently may not be
equally spaced.
• Bounded plane: This plane will be a bounded parallelepiped, for which 3 of the 4
corners are the 3 points that define the plane equation (or the 4 corners are the
corners of the “plane tool”). Like the default plane surface described above, this
type of surface will also have unequally spaced data points.
• Bounded plane with equally spaced data points: This plane is the same as the
bounded plane described above, except you will specify the density of points along
the 2 directions of the parallelepiped, creating a uniform distribution of data points.
• Plane having a certain normal vector and passing through a specified point: To
create this type of plane, you will define a normal vector and a point. A plane with
the specified normal and passing through the specified point will be created.
• Plane aligned with an existing surface: To create this type of plane, you will define
a single point and a surface. A plane parallel to the selected surface and passing
through the specified point will be created.
• Plane aligned with the view in the graphics window: To create this type of plane,
you will define a single point. A plane parallel to the current view in the active
graphics window and passing through the specified point will be created.
c Fluent Inc. September 29, 2006 27-13
Creating Surfaces for Displaying and Reporting Data
To create a plane surface, you will use the Plane Surface panel (Figure 27.6.1).
Surface −→Plane...
1. Decide which of the six types of planes described above you want to create. If
you are creating the default plane type (the intersection of the infinite plane with
the domain), go directly to step 2. To create a bounded plane, turn on Bounded
under Options. To create a bounded plane with equally spaced data points, turn
on both Bounded and Sample Points, and then set the number of data points under
Sample Density. You will specify the point density in each direction by entering the
appropriate values for Edge 1 and Edge 2. (Edge 1 extends from point 0 to point
1, and edge 2 extends from point 1 to point 2. The points are specified in step 2,
below.)
To define a plane aligned with an existing surface, select Aligned With Surface, and
then choose the surface in the Surfaces list and specify a single point using one of
the first two methods described below in step 2.
27-14
c Fluent Inc. September 29, 2006
27.6 Plane Surfaces
To define a plane aligned with the view plane, select Aligned With View Plane, and
then choose a single point using one of the first two methods described below in
step 2.
To define a plane having a certain normal vector and passing through a specified
point, select Point And Normal, and then specify the normal vector by entering
values in the ix, iy, and iz fields under Normal, and a single point using one of the
first two methods described below in step 2.
2. Specify the location of the plane surface. There are three different ways to define
the location:
• Enter the coordinates of the three Points defining the planar surface: (x0,y0,z0),
(x1,y1,z1), and (x2,y2,z2).
• Click on the Select Points button and then select the three points by clicking
on locations in the active graphics window with the mouse-probe button. (See
Section 28.3: Controlling the Mouse Button Functions for information about
setting mouse button functions.)
• Use the Plane Tool option to interactively position a plane in the graphics
window. You can set the initial location of this plane using one of the two
methods described above for specifying the defining points (or you can start
from the position defined by the default Points). See Section 27.6.1: Using the
Plane Tool for information about using the plane tool.
Note that the coordinates of the Points will be updated automatically when you
use the second or third method described above.
3. If you do not want to use the default name assigned to the surface, enter a new name
under New Surface Name. The default name is the concatenation of the surface type
and an integer which is the new surface ID (e.g., plane-7). (If the New Surface
Name you enter is the same as the name of a surface that already exists, FLUENT
will automatically assign the default name to the new surface when it is created.)
i The surface name that you enter must begin with an alphabetical letter.
If your surface name begins with any other character or number, FLUENT
will not accept the entry.
4. Click on the Create button to create the new surface.
If you want to check that your new surface has been added to the list of all defined sur-
faces, or you want to delete or otherwise manipulate any surfaces, click on the Manage...
button to open the Surfaces panel. See Section 27.11: Grouping, Renaming, and Deleting
Surfaces for details.
c Fluent Inc. September 29, 2006 27-15
Creating Surfaces for Displaying and Reporting Data
You can then translate, rotate, and/or resize the plane tool as described below.
27-16
c Fluent Inc. September 29, 2006
27.6 Plane Surfaces
• Once you move your mouse along one circle, you cannot change the direction of
rotation unless you release the mouse-probe button and try again. Be careful to
start moving your mouse very steadily so that you can choose the correct direction.
• Do not try to rotate by clicking on an arrow that is pointing away from you. It
will be very difficult for you to judge which direction of rotation is correct from
this point of view. Since there are two arrows on each axis, there will always be an
appropriate arrow available.
• Do not rotate the plane tool more than 90◦ or so at once. If you rotate the tool by
a large angle, the arrow on which you are clicking will begin to point away from
you, and you will have trouble controlling the rotation (as discussed in the item
above).
c Fluent Inc. September 29, 2006 27-17
Creating Surfaces for Displaying and Reporting Data
i Be careful not to drag your mouse across any of the axes while resizing the
tool. This will flip the tool over and corrupt it. If you accidentally do this,
reset the plane tool and start again.
27-18
c Fluent Inc. September 29, 2006
27.7 Quadric Surfaces
To create a quadric surface, you will use the Quadric Surface panel (Figure 27.7.1).
Surface −→Quadric...
1. Decide which type of quadric surface you want to create. In 3D, choose Plane,
Sphere, or (general) Quadric in the Type drop-down list. In 2D, choose Line, Circle,
or Quadric.
c Fluent Inc. September 29, 2006 27-19
Creating Surfaces for Displaying and Reporting Data
on the Update button under the Quadric Function heading, the display of the
quadric function coefficients will change to reflect your inputs.
• Quadric surface: If you have selected Quadric as the surface type, the surface
will consist of all points in the domain that satisfy the general quadric function
Q = value. You will input the coefficients of the quadric function Q (the
coefficients of the terms x2 , y2 , z2 , xy, yz, zx, x, y, z and the constant term)
directly in the Quadric Function box, and you will set value to the right of the
Type drop-down list. Note that the Update button will be disabled when you
choose this type of surface.
3. If you do not want to use the default name assigned to the surface, enter a new
name under New Surface Name. The default name is the concatenation of the
surface type and an integer which is the new surface ID (e.g., sphere-slice-7 or
quadric-slice-10). (If the New Surface Name you enter is the same as the name
of a surface that already exists, FLUENT will automatically assign the default name
to the new surface when it is created.)
i The surface name that you enter must begin with an alphabetical letter.
If your surface name begins with any other character or number, FLUENT
will not accept the entry.
4. Click on the Create button to create the new surface.
If you want to check that your new surface has been added to the list of all defined sur-
faces, or you want to delete or otherwise manipulate any surfaces, click on the Manage...
button to open the Surfaces panel. See Section 27.11: Grouping, Renaming, and Deleting
Surfaces for details.
27.8 Isosurfaces
If you want to display results on cells that have a constant value for a specified variable,
you will need to create an isosurface of that variable. Generating an isosurface based
on x, y, or z coordinate, for example, will give you an x, y, or z cross-section of your
domain; generating an isosurface based on pressure will allow you to display data for
another variable on a surface of constant pressure. You can create an isosurface from an
existing surface or from the entire domain. Furthermore, you can restrict any isosurface
to a specified cell zone.
i Note that you cannot create an isosurface until you have initialized the
solution, performed calculations, or read a data file.
27-20
c Fluent Inc. September 29, 2006
27.8 Isosurfaces
To create an isosurface, you will use the Iso-Surface panel (Figure 27.8.1).
Surface −→Iso-Surface...
1. Choose the scalar variable to be used for isosurfacing in the Surface of Constant
drop-down list. First, select the desired category in the upper list. You can then
select from related quantities from the lower list. (See Chapter 30: Field Function
Definitions for an explanation of the variables in the list.)
2. If you wish to create an isosurface from an existing surface (i.e., generate a new
surface of constant x, y, temperature, pressure, etc. that is a subset of another
surface), choose that surface in the From Surface list. If you do not select a surface
from the list, the isosurfacing will be performed on the entire domain. You can
specify the cell zone on which you want to create an isosurface by selecting the
zone in the From Zones list. If you do not select a zone from the list, then the
isosurfacing will not be restricted to any cell zone and will run through the entire
domain.
3. Click on the Compute button to calculate the minimum and maximum values of the
selected scalar field in the domain or on the selected surface (in the From Surface
list). The minimum and maximum values will be displayed in the Min and Max
fields.
c Fluent Inc. September 29, 2006 27-21
Creating Surfaces for Displaying and Reporting Data
4. Set the isovalue using one of the following methods. (Note that the second method
will allow you to define multiple isovalues in a single isosurface.)
• You can set an isovalue interactively by moving the slider with the left mouse
button. The value in the Iso-Values field will be updated automatically. This
method will also create a temporary isosurface in the graphics window. Using
the slider allows you to preview an isosurface before creating it.
5. If you do not want to use the default name assigned to the surface, enter a new name
under New Surface Name. The default name is the concatenation of the surface type
and an integer which is the new surface ID (e.g., z-coordinate-6). (If the New
Surface Name you enter is the same as the name of a surface that already exists,
FLUENT will automatically assign the default name to the new surface when it is
created.)
i The surface name that you enter must begin with an alphabetical letter.
If your surface name begins with any other character or number, FLUENT
will not accept the entry.
6. Click on the Create button. The new surface name will be added to the From
Surface list in the panel.
If you want to delete or otherwise manipulate any surfaces, click on the Manage... button
to open the Surfaces panel. See Section 27.11: Grouping, Renaming, and Deleting Surfaces
for details.
27-22
c Fluent Inc. September 29, 2006
27.9 Clipping Surfaces
To clip an existing surface, you will use the Iso-Clip panel (Figure 27.9.2).
Surface −→Iso-Clip...
c Fluent Inc. September 29, 2006 27-23
Creating Surfaces for Displaying and Reporting Data
27-24
c Fluent Inc. September 29, 2006
27.9 Clipping Surfaces
1. Choose the scalar variable on which the clipping will be based in the Clip To Values
Of drop-down list. First, select the desired category in the upper list. You can then
select from related quantities from the lower list. (See Chapter 30: Field Function
Definitions for an explanation of the variables in the list.)
3. Click on the Compute button to calculate the minimum and maximum values of the
selected scalar field on the selected surface. The minimum and maximum values
will be displayed in the Min and Max fields.
5. If you do not want to use the default name assigned to the surface, enter a new name
under New Surface Name. The default name is the concatenation of the surface type
and an integer which is the new surface ID (e.g., clip-density-8). (If the New
Surface Name you enter is the same as the name of a surface that already exists,
FLUENT will automatically assign the default name to the new surface when it is
created.)
i The surface name that you enter must begin with an alphabetical letter.
If your surface name begins with any other character or number, FLUENT
will not accept the entry.
6. Click on the Clip button. The new surface name will be added to the Clip Surface
list in the panel. (The original surface will remain unchanged.)
If you want to delete or otherwise manipulate any surfaces, click on the Manage... button
to open the Surfaces panel. See Section 27.11: Grouping, Renaming, and Deleting Surfaces
for details.
c Fluent Inc. September 29, 2006 27-25
Creating Surfaces for Displaying and Reporting Data
27-26
c Fluent Inc. September 29, 2006
27.10 Transforming Surfaces
2. Set the appropriate transformation parameters, as described below. You can per-
form any combination of translation, rotation, and “isodistancing” on the surface.
• Rotation: To rotate a surface, you will specify the origin about which the
rotation is performed, and the angle by which the surface is rotated.
In the About box under Rotate, you will specify a point, and the origin of the
coordinate system for the rotation will be set to that point. (The x, y, and z
directions will be the same as for the global coordinate system.) For example,
if you specified the point (1,5,3) in 3D, rotation would be about the x, y, and
z axes anchored at (1,5,3). You can either enter the point’s coordinates in
the x,y,z fields or click on the Mouse Select button and select a point in the
graphics window using the mouse-probe button. (See Section 28.3: Controlling
the Mouse Button Functions for information about mouse button functions.)
In the Angles box under Rotate, you will specify the angles about the x, y, and
z axes (i.e., the axes of the coordinate system with the origin defined under
About) by which the surface is rotated. For 2D problems, you can specify
rotation about the z axis only.
• Translation: To translate a surface, you will simply define the distance by
which the surface is translated in each direction. Set the x, y, and z translation
distances under Translate.
• Isodistancing: To create a surface positioned at a constant normal distance
from the original surface, you need to set only that normal distance between
the original surface and the transformed surface. Set the value for d under
Iso-Distance.
3. If you do not want to use the default name assigned to the surface, enter a new
name under New Surface Name. The default name is the concatenation of the
surface type and an integer which is the new surface ID (e.g., transform-9). (If
the New Surface Name you enter is the same as the name of a surface that already
exists, FLUENT will automatically assign the default name to the new surface when
it is created.)
i The surface name that you enter must begin with an alphabetical letter.
If your surface name begins with any other character or number, FLUENT
will not accept the entry.
4. Click on the Create button. The new surface name will be added to the Transform
Surface list in the panel. (The original surface will remain unchanged.)
c Fluent Inc. September 29, 2006 27-27
Creating Surfaces for Displaying and Reporting Data
If you want to delete or otherwise manipulate any surfaces, click on the Manage... button
to open the Surfaces panel. See Section 27.11: Grouping, Renaming, and Deleting Surfaces
for details.
You can also open this panel by clicking on the Manage... button in one of the surface
creation panels described in the previous sections.
27-28
c Fluent Inc. September 29, 2006
27.11 Grouping, Renaming, and Deleting Surfaces
Grouping Surfaces
As mentioned above, you may want to group several surfaces together in order to perform
postprocessing on all of them at once. To create a surface group, select the surfaces to
be grouped in the Surfaces list. You can define a new name for the group in the Name
field, or you can use the default name, which is the name of the first surface you selected
in the Surfaces list. Then click on the Group button. The selected surfaces will disappear
from the Surfaces list, and the name of the surface group will be added to the list.
i Note that the Group button will not appear until you have selected at least
two surfaces. As soon as you choose a second surface in the Surfaces list,
the Rename button will change to the Group button.
To ungroup the surfaces, simply select the surface group in the Surfaces list and click on
the UnGroup button. The group name will disappear from the list and the names of the
original surfaces in the group will reappear in the list.
Renaming Surfaces
To change the name of an existing surface, select the surface in the Surfaces list, enter a
new name in the Name field, and then click on the Rename button. The new name will
replace the old name in the Surfaces list and the surface will be otherwise unchanged.
Note that the Rename button will not appear in the panel if you have selected more than
one surface. When more than one surface is selected, the Rename button is replaced by
the Group button.
i The surface name that you enter must begin with an alphabetical letter.
If your surface name begins with any other character or number, FLUENT
will not accept the entry.
Deleting Surfaces
If you find that a surface is no longer useful, you may want to delete it to prevent the
list of surfaces from becoming too cluttered. Select the surface or surfaces to be deleted
in the Surfaces list, and then click on the Delete button. The delete operation is not
reversible, so if you want to get a deleted surface back again you will need to recreate it
using one of the surface-creation panels described in the previous sections.
Surface Statistics
You can also use the Surfaces panel to retrieve topological information about surfaces.
Points is the total number of nodes in a surface. 0D Facets is the number of isolated
nodes in a surface (i.e., nodes that have no connectivity, such as point surfaces or nodes
in a rake), 1D Facets is the number of linear faces (consisting of two connected nodes)
c Fluent Inc. September 29, 2006 27-29
Creating Surfaces for Displaying and Reporting Data
27-30
c Fluent Inc. September 29, 2006
Chapter 28. Displaying Graphics
Graphics tools available in FLUENT allow you to process the information contained in
your CFD solution and easily view the results. The following sections explain how to use
these tools to examine your solution. (Note that the procedure for saving hardcopy files
of graphics displays is described in Section 4.14: Saving Hardcopy Files.)
c Fluent Inc. September 29, 2006 28-1
Displaying Graphics
i If your model includes a discrete phase, you can also display the particle
trajectories, as described in Section 22.16.1: Displaying of Trajectories.
28-2
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
X Z
Grid Outline
Z
X
Grid
c Fluent Inc. September 29, 2006 28-3
Displaying Graphics
X Z
Grid
X Z
Node Display
28-4
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
The basic steps for generating a grid or outline plot are as follows:
1. Choose the surfaces for which you want to display the grid or outline in the Surfaces
list.
If you want to select several surfaces of the same type, you can select that type
in the Surface Types list instead. All of the surfaces of that type will be selected
automatically in the Surfaces list (or deselected, if they are all selected already).
Another shortcut is to specify a Surface Name Pattern and click Match to select
surfaces with names that match the specified pattern. For example, if you spec-
ify wall*, all surfaces whose names begin with wall (e.g., wall-1, wall-top) will be
selected automatically. If they are all selected already, they will be deselected. If
you specify wall?, all surfaces whose names consist of wall followed by a single
character will be selected (or deselected, if they are all selected already).
To choose all “outline” surfaces (i.e., surfaces on the outer boundary of the domain),
click the Outline button below the Surface Types list. If all outline surfaces are
already selected, this will deselect them. To choose all “interior” surfaces, click the
Interior button. If all interior surfaces are already selected, this will deselect them.
c Fluent Inc. September 29, 2006 28-5
Displaying Graphics
4. Click the Display button to draw the specified grid or outline in the active graphics
window.
If you choose to display filled grids, and you want a smoothly shaded display, you should
turn on lighting and select a lighting interpolation method other than Flat in the Display
Options panel or the Lights panel.
If you display nodes, and you want to change the symbol representing the nodes, you can
change the Point Symbol in the Display Options panel. See Section 28.2.7: Modifying the
Rendering Options for details.
FLUENT allows you to control the colors that are used to render the grids for each zone
type or surface. This capability can help you to understand grid plots quickly and easily.
To modify the colors, open the Grid Colors panel (Figure 28.1.6) by clicking on the Colors...
button in the Grid Display panel.
28-6
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
(Note that you can set colors individually for the grids displayed on each surface, using
the Scene Description panel.)
By default, the Color by Type option is turned on, allowing you to assign colors based on
zone type. To change the color used to draw the grid for a particular zone type, select
the zone type in the Types list and then select the new color in the Colors list. You will
see the effect of your change when you next display the grid. Note that the surface type
in the Types list applies to all surface grids (i.e., grids that are drawn for surfaces created
using the panels opened from the Surface menu) except zone surfaces.
If you prefer to use the colors FLUENT assigns by zone ID, then you can display the grid
using the Color by ID option.
For closed 3D geometries such as cylinders, the standard outline display often will not
show enough detail to accurately depict the shape. This is because for each boundary,
only those edges on the “outside” of the geometry (i.e., those that are used by only one
face on the boundary) are drawn. In Figure 28.1.7, which shows the outline display for
a complicated duct geometry, only the inlet and outlet are visible.
You can capture additional features using the Feature option in the Grid Display panel.
(See Figure 28.1.8.) Turn on Feature under Edge Type, and then set the Feature Angle.
With the default Feature Angle of 20, if the difference between the normal directions of two
adjacent faces is more than 20◦ , the edge between those faces will be drawn. Decreasing
the Feature Angle will result in more edge lines (i.e., more detail) being added to the
outline display. The appropriate angle for your geometry will depend on its curvature
and complexity. You can modify the Feature Angle until you find the value that yields
the best outline display.
c Fluent Inc. September 29, 2006 28-7
Displaying Graphics
28-8
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
If you have partitioned your grid for parallel processing, you can add the display of
partition boundaries to the grid display by turning on the Partitions option in the Grid
Display panel.
If you need to distinguish individual faces or cells in the display, you may want to enlarge
the space between adjacent faces or cells by increasing the Shrink Factor in the Grid Display
panel. The default value of zero produces a display in which the edges of adjacent faces or
cells overlap. A value of 1 creates the opposite extreme: each face or cell is represented by
a point and there is considerable space between each one. A small value such as 0.01 may
be large enough to allow you to distinguish one face or cell from its neighbor. Displays
with different Shrink Factor values are shown in Figures 28.1.9 and 28.1.10. Remember
that you must click Display to see the effect of the change in Shrink Factor.
c Fluent Inc. September 29, 2006 28-9
Displaying Graphics
28-10
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
6.60e-02
5.80e-02
5.01e-02
4.21e-02
3.41e-02
2.61e-02
1.82e-02
1.02e-02
2.23e-03
-5.75e-03
-1.37e-02
1.45e-01
1.20e-01
9.61e-02
7.17e-02
4.74e-02
2.30e-02
-1.34e-03
-2.57e-02
-5.00e-02
-7.44e-02
-9.87e-02
c Fluent Inc. September 29, 2006 28-11
Displaying Graphics
The basic steps for generating a contour or profile plot are as follows:
28-12
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
selected automatically. If they are all selected already, they will be deselected. If
you specify wall?, all surfaces whose names consist of wall followed by a single
character will be selected (or deselected, if they are all selected already).
3. Specify the number of contours or profiles in the Levels field. The maximum number
of levels allowed is 100.
4. If you are generating a profile plot, turn on the Draw Profiles option. In the resulting
Profile Options panel (Figure 28.1.14) you will define the profiles as described below:
(a) Set the “zero height” reference value for the profile (Reference Value) and the
length scale factor for projection (Scale Factor). Any point on the profile with
a value equal to the Reference Value will be plotted exactly on the defining
surface. Values greater than the Reference Value will be projected ahead of
the surface (in the direction of Projection Dir.) and scaled by Scale Factor),
and values less than the Reference Value will be projected behind the surface
and scaled.
These parameters can be used to create fuller profiles when you need to display
the variation in a variable which is small compared to the absolute value of
the variable. Consider, for example, the display of temperature profiles when
the temperature range in the domain is from 300 K to 310 K. The 10 K range
in the temperature will be hard to detect when profiles are drawn using the
default scaling (which will be based on the absolute magnitude of 310 K). To
create a fuller profile, you can set the Reference Value to 300 and the profile
Scaling Factor to 5 (for example) to magnify the display of the remaining 10 K
range. In subsequent display of the profiles, the reference value of 300 will be
effectively subtracted from the data before display so that the temperatures
of 300 K will not be offset from the baselines. The profiles will then reflect
only the variation of temperature from 300 K.
c Fluent Inc. September 29, 2006 28-13
Displaying Graphics
(b) Set the direction in which profiles are projected (Projection Dir.). In 2D, for
example, a contour plot of pressure on the entire domain can be projected
in the z direction to form a carpet plot, or a contour plot of y velocity on a
sequence of y-coordinate slice lines can be projected in the y direction to form
a series of velocity profiles (as shown in Figure 28.1.12).
(c) Click Apply and close the Profile Options panel.
6. Click the Display button to draw the specified contours or profiles in the active
graphics window.
The resulting display will include the specified number of contours or profiles of the
selected variable, with the magnitude on each one determined by equally incrementing
between the values shown in the Min and Max fields.
Color-filled contour or profile plots show a contour or profile display containing a contin-
uous color display (see Figure 28.1.15), instead of just drawing lines representing specific
values. (Note that a color-filled profile display is often referred to as a “carpet plot”.) To
generate a filled contour or profile plot, turn on the Filled option in the Contours panel
during step 5 above.
To display smoothly shaded filled contours, you must turn on lighting and select a lighting
interpolation method other than Flat in the Display Options panel or the Lights panel.
Note that you will not get smooth shading of filled contours if the Clip to Range (see
below) option is turned on. Smooth shading of filled profiles is not available.
28-14
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
c Fluent Inc. September 29, 2006 28-15
Displaying Graphics
By default, the minimum and maximum values contoured or profiled are set based on
the range of values in the entire domain. This means that the color scale will start at the
smallest value in the domain (shown in the Min field) and end at the largest value (shown
in the Max field). If you are plotting contours or profiles on a subset of the domain (i.e.,
on a surface), your plot may cover only the midrange of the color scale. For example, if
blue corresponds to 0 and red corresponds to 10, and the values on your surface range
only from 4 to 6, your plot will contain mostly green contours or profiles, since green is
the color at the middle of the default color scale.
If you want to focus in on a smaller range of values, so that blue corresponds to 4 and red
to 6, you can manually reset the range to be displayed. (You can also use the minimum
and maximum values on the selected surfaces—rather than in the entire domain—to
determine the range, as described below.) Another reason to manually set the range is
if you are interested only in certain values. For example, if you want to determine the
region where pressure exceeds a certain value, you can increase the minimum value for
display so that the lower pressure values are not displayed.
To manually set the contour/profile range, turn off the Auto Range option in the Contours
panel. The Min and Max fields will become editable, and you can enter the new range of
values to be displayed. To show the default range at any time, click the Compute button
and the Min and Max fields will be updated.
If you are drawing filled contours or profiles (as described above) you can control whether
or not values outside the prescribed Min/Max range are displayed. To leave areas in which
the value is outside the specified range empty (i.e., draw no contours or profiles), turn
on the Clip to Range option. This is the default setting. If you turn Clip to Range off,
values below the Min value will be colored with the lowest color on the color scale, and
values above the Max value will be colored with the highest color on the color scale.
Figures 28.1.16 and 28.1.17 show the results of enabling/disabling the Clip to Range
option.
You can also choose to base the minimum and maximum values on the range of values
on the selected surfaces, rather than in the entire domain. To do this, turn off the Global
Range option in the Contours panel. The Min and Max values will be updated when you
next click Compute or Display.
28-16
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
c Fluent Inc. September 29, 2006 28-17
Displaying Graphics
For some problems, especially complex 3D geometries, you may want to include portions
of the grid in your contour or profile plot as spatial reference points. For example, you
may want to show the location of an inlet and an outlet along with the contours. This is
accomplished by turning on the Draw Grid option in the Contours panel. The Grid Display
panel will appear automatically when you turn on the Draw Grid option, and you can set
the grid display parameters there. When you click Display in the Contours panel, the grid
display, as defined in the Grid Display panel, will be included in the contour or profile
plot.
In FLUENT you can choose to display the computed cell-center values or values that have
been interpolated to the nodes. By default, the Node Values option is turned on, and the
interpolated values are displayed. For line contours or profiles, node values are always
used. If you are displaying filled contours or profiles and you prefer to display the cell
values, turn the Node Values option off. Filled contours/profiles of node values will show
a smooth gradation of color, while filled contours/profiles of cell values may show sharp
changes in color from one cell to the next.
If you are plotting contours to show the effect of a porous medium or fan, to depict a
shock wave, or to show any other discontinuities or jumps in the plotted variable, you
should use cell values; if you use node values in such cases, the discontinuity will be
smeared by the node averaging for graphics and will not be shown clearly in the plot.
For frequently used combinations of contour variables and options, you can store the
information needed to generate the contour plot by specifying a Setup number and setting
up the desired information in the Contours panel. When you click on the Display button,
the settings for Options, Contours of, Min, Max, and Surfaces will be saved. You can
then change the Setup number to an unused value (i.e., an ID for which no information
has been saved) and generate a different contour plot. To generate a plot using the
saved setup information, change the Setup number back to the value for which you saved
contour information and click Display. You can save up to 10 different setups.
i Note that the number of contour Levels, the surfaces selected for display
in the Grid Display panel (when the Draw Grid option is activated), and the
settings for profiles in the Profile Options panel (when the Draw Profiles
option is activated) will not be saved in the Setup, nor will the Setups be
saved in the case file.
28-18
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
1.45e-01
1.30e-01
1.16e-01
1.01e-01
8.69e-02
7.24e-02
5.79e-02
4.34e-02
2.90e-02
1.45e-02
0.00e+00
c Fluent Inc. September 29, 2006 28-19
Displaying Graphics
28-20
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
2. In the Surfaces list, choose the surface(s) on which you want to display vectors. If
you want to display vectors on the entire domain, select none of the surfaces in the
list.
If you want to select several surfaces of the same type, you can select that type
in the Surface Types list instead. All of the surfaces of that type will be selected
automatically in the Surfaces list (or deselected, if they are all selected already).
Another shortcut is to specify a Surface Name Pattern and click Match to select
surfaces with names that match the specified pattern. For example, if you spec-
ify wall*, all surfaces whose names begin with wall (e.g., wall-1, wall-top) will be
selected automatically. If they are all selected already, they will be deselected. If
you specify wall?, all surfaces whose names consist of wall followed by a single
character will be selected (or deselected, if they are all selected already).
4. Click the Display button to draw the vectors in the active graphics window.
c Fluent Inc. September 29, 2006 28-21
Displaying Graphics
By default, vectors are scaled automatically so that the arrows overlap minimally when
no vectors are skipped. (See below for instructions on thinning the vector display.) With
the Auto Scale option, you can modify the Scale factor (which is set to 1 by default) to
increase or decrease the vector scale from the default “auto scale”. The main advantage
of autoscaling is that the vector display with a scale factor of 1 will always be appropriate,
regardless of the size of the domain, giving you a better starting point for fine-tuning the
vector scale.
If you turn off the Auto Scale option, the vectors will be drawn at their actual sizes scaled
by the scale factor (Scale, which is set to 1 by default). The “actual” size of a vector is
the magnitude of the vector variable (velocity, by default) at the point where it is drawn.
A vector drawn at a point where the velocity magnitude is 100 m/s is drawn 100 m long,
whether the domain is 0.1 m or 1000 m. You can modify the vector scale by changing
the value of Scale in the Vectors panel until the size of the vectors (i.e., the actual size
multiplied by Scale) is satisfactory.
28-22
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
Skipping Vectors
If your vector display is difficult to understand because there are too many arrows dis-
played, you can “thin out” the vectors by changing the Skip value in the Vectors panel.
By default, Skip is set to 0, indicating that a vector will be drawn for each cell in the
domain or for each face on the selected surface (e.g., n vectors). If you increase Skip to
1, every other vector will be displayed, yielding n/2 vectors. If you increase Skip to 2,
every third vector will be displayed, yielding n/3 vectors, and so on. The order of faces
on the selected surface (or cells in the domain) will determine which vectors are skipped
or drawn; thus adaption and reordering will change the appearance of the vector display
when a non-zero Skip value is used.
For some problems, you may be interested in visualizing velocity (or other vector) com-
ponents that are normal to the flow. These “secondary flow” components are usually
much smaller than the components in the flow direction and are difficult to see when the
flow direction components are also visible. To easily view the normal flow components,
you can turn on the In Plane option in the Vector Options panel. When this option is on,
FLUENT will display only the vector components in the plane of the surface selected for
display. If the selected surface is a cross-section of the flow domain, you will be displaying
the components normal to the flow.
Figure 28.1.21 shows velocity vectors generated using the In Plane option. (Note that
these vectors have been translated outside the domain, as described in Section 28.5.3: Trans-
forming Geometric Objects in a Scene, so that they can be seen more easily.)
By default, the length of a vector is proportional to its velocity magnitude. If you want
all of the vectors to be displayed with the same length, you can turn on the Fixed Length
option in the Vector Options panel. To modify the vector length, adjust the value of the
Scale factor in the Vectors panel.
All Cartesian components of the vectors are drawn by default, so that the arrow points
along the resultant vector in physical space. However, sometimes one of the components,
say, the x component, is relatively large. In such cases, you may want to suppress the x
component and scale up the vectors, in order to visualize the smaller y and z components.
To suppress one or more of the vector components, turn off the appropriate button(s)
(X, Y, or Z Component) in the Vector Options panel.
c Fluent Inc. September 29, 2006 28-23
Displaying Graphics
28-24
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
By default, the minimum and maximum vectors included in the vector display are set
based on the range of vector-variable (velocity, by default) magnitudes in the entire
domain. If you want to focus in on a smaller range of values, you can restrict the range
to be displayed. The color scale for the vector display will change to reflect the new
range of values. (You can also use the minimum and maximum values on the selected
surfaces—rather than on the entire domain—to determine the range, or change the scalar
field by which the vectors are colored from velocity magnitude to any other scalar, as
described below.)
To manually set the range of velocity magnitudes (or the range of whatever scalar field
is selected in the Color by drop-down list), turn off the Auto Range option in the Vectors
panel. The Min and Max fields will become editable, and you can enter the new range
of values to be displayed. For example, if you want to display velocity vectors only in
regions where the velocity magnitude exceeds 150 m/s but is less than 300 m/s, you will
change the value of Min to 150 and the value of Max to 300. Similarly, if you are coloring
the vectors by static pressure, you can choose to display velocity vectors only in regions
where the pressure is within a specified range. To show the default range at any time,
click the Compute button and the Min and Max fields will be updated.
When you restrict the range of vectors displayed, you can also control whether or not
values outside the prescribed Min/Max range are displayed. To leave areas in which the
value is outside the specified range empty (i.e., draw no vectors), turn on the Clip to
Range option. This is the default setting. If you turn Clip to Range off, values below the
Min value will be colored with the lowest color on the color scale, and values above the
Max value will be colored with the highest color on the color scale. This feature is the
same as the one available for displaying filled contours (see Figures 28.1.16 and 28.1.17).
You can also choose to base the minimum and maximum values on the range of values
on the selected surfaces, rather than the entire domain. To do this, turn off the Global
Range option in the Vectors panel. The Min and Max values will be updated when you
next click Compute or Display.
If you want to color the vectors by a scalar field other than velocity magnitude (the
default), you can select a different variable or function in the Color by drop-down list.
Select the desired category in the upper list, and then choose one of the related quantities
from the lower list. If you choose static pressure, for example, the length of the vectors
will still correspond to the velocity magnitude, but the color of the vectors will correspond
to the value of pressure at each point where a vector is drawn.
c Fluent Inc. September 29, 2006 28-25
Displaying Graphics
If you want all of the vectors to be the same color, you can select the color to be used
in the Color drop-down list in the Vector Options panel. If no color is selected (i.e., if
you choose the empty space at the top of the drop-down list—the default selection), the
vector color will be determined by the Color by field specified in the Vectors panel. Single
color vectors are useful in displays that overlay contours and vectors.
For some problems, especially complex 3D geometries, you may want to include portions
of the grid in your vector plot as spatial reference points. For example, you may want to
show the location of an inlet and an outlet along with the vectors. This is accomplished
by turning on the Draw Grid option in the Vectors panel. The Grid Display panel will
appear automatically when you turn on the Draw Grid option, and you can set the grid
display parameters there. When you click Display in the Vectors panel, the grid display,
as defined in the Grid Display panel, will be included in the vector plot.
There are five different styles available for drawing the vector arrows. Choose cone, filled-
arrow, arrow, harpoon, or headless in the Style drop-down list in the Vectors panel. The
default arrow style is harpoon.
If you choose a vector arrow style that includes heads, you can control the size of the
arrowhead by modifying the Scale Head value in the Vector Options panel.
28-26
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
To create your own custom vector, you will use the Custom Vectors panel (Figure 28.1.22).
This panel allows you to define custom vectors based on existing quantities. Any vectors
that you define will be added to the Vectors of list in the Vectors panel.
To open the Custom Vectors panel, click the Custom Vectors... button in the Vectors
panel.
1. Specify the name of the custom vector in the Vector Name field.
i Be sure that you do not specify a name that is already used for a standard
vector (e.g., velocity or relative-velocity).
2. Select the variable or function for the x component of the vector in the X Compo-
nent drop-down list. First select the desired category in the upper list; you may
then select a related quantity in the lower list. (See Chapter 30: Field Function
Definitions for an explanation of the variables in the list.)
3. Repeat the step above to select the variable or function for the y component (and,
in 3D, the z component) of the custom vector.
i You can use the Custom Vectors option to plot vectors in solid cell zones.
The scalars that are selected in the x, y components (and, in 3D, the z
component), and which are valid in solid regions, will have vector plots
displayed in the solid cell zones. Note that if a vector has no valid compo-
nents in the solid region, then that vector will not be plotted in the solid
region. However, if at least one component of the vector is valid in the
solid region, then only that component of the vector will be plotted.
4. Click the Define button.
c Fluent Inc. September 29, 2006 28-27
Displaying Graphics
Once you have defined your vectors, you can manipulate them using the Vector Definitions
panel (Figure 28.1.23). You can display a vector definition to be sure that it is correct,
delete the vector if you decide that it is incorrect and needs to be redefined, or give the
vector a new name. You can also save custom vectors to a file or read them from a file.
The custom vector file allows you to transfer custom vectors between case files.
To open the Vector Definitions panel, click the Manage... button in the Custom Vectors
panel.
28-28
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
• To check the definition of a vector, select it in the Vectors list. Its definition will
be displayed in the X Component, Y Component, and Z Component fields at the top
of the panel. This display is for informational purposes only; you cannot edit it.
If you want to change a vector definition, you must delete the vector and define it
again in the Custom Vectors panel.
• To delete a vector, select it in the Vectors list and click the Delete button.
• To rename a vector, select it in the Vectors list, enter a new name in the Name field,
and click the Rename button.
i Be sure that you do not specify a name that is already used for a standard
vector (e.g., velocity or relative-velocity).
• To save all the vectors in the Vectors list to a file, click the Save... button, and
specify the file name in the resulting Select File dialog box (see Section 2.1.2: Select
File Dialog Box (UNIX or Linux)).
• To read custom vectors from a file that you saved as described above, click the
Load... button and specify the file name in the resulting Select File dialog box.
(Custom vectors are valid Scheme functions, and can also be loaded with the
File/Read/Scheme... menu item, as described in Section 4.8: Reading Scheme Source
Files.)
c Fluent Inc. September 29, 2006 28-29
Displaying Graphics
Note that the display of discrete-phase particle trajectories is discussed in Section 22.16.1: Dis-
playing of Trajectories.
1. Select the surface(s) from which to release the particles in the Release From Surfaces
list.
2. Set the step size and the maximum number of steps. The Step Size sets the length
interval used for computing the next position of a particle. (Note that particle
positions are always computed when particles enter/leave a cell; even if you specify
a very large step size, the particle positions at the entry/exit of each cell will still be
computed and displayed.) The value of Steps sets the maximum number of steps a
particle can advance. A particle will stop when it has traveled this number of steps
or when it leaves the domain. One simple rule of thumb to follow when setting
these two parameters is that if you want the particles to advance through a domain
28-30
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
of length L, the Step Size times the number of Steps should be approximately equal
to L.
4. Click the Display button to draw the pathlines, or click the Pulse button to animate
the particle positions. The Pulse button will become the Stop ! button during the
animation, and you must click Stop ! to stop the pulsing.
c Fluent Inc. September 29, 2006 28-31
Displaying Graphics
For some problems, especially complex 3D geometries, you may want to include portions
of the grid in your pathline display as spatial reference points. For example, you may
want to show the location of an inlet and an outlet along with the pathlines (as in
Figure 28.1.24). This is accomplished by turning on the Draw Grid option in the Pathlines
panel. The Grid Display panel will appear automatically when you turn on the Draw Grid
option, and you can set the grid display parameters there. When you click Display in the
Pathlines panel, the grid display, as defined in the Grid Display panel, will be included in
the plot of pathlines.
Pathlines can be displayed as lines (with or without arrows), ribbons, cylinders (coarse,
medium, or fine), triangles, spheres, or a set of points. You can choose line, line-arrows,
point, sphere, ribbon, triangle, coarse-cylinder, medium-cylinder, or fine-cylinder in the Style
drop-down list in the Pathlines panel. (Note that pulsing can be done only on point,
sphere, or line styles.)
Once you have selected the pathline style, click the Style Attributes... button to set the
pathline thickness and other parameters related to the selected Style:
• If you are using the line or line-arrows style, set the Line Width in the Path Style
Attributes panel that appears when you click the Style Attributes... button. For
line-arrows you will also set the Spacing Factor, which controls the spacing between
the lines. The size of the arrow heads can be adjusted by entering a value in the
Scale text-entry box.
• If you are using the point style, you will set the Marker Size in the Path Style
Attributes panel. The thickness of the pathline will be the thickness of the marker.
• If you are using the sphere style, you will set the Diameter and the Detail in the
Path Style Attributes panel.
The best diameter to use will depend on the dimensions of the domain, the view,
and the particle density. However, an adequate starting point would be a diameter
on the order of 1/4 of the average cell size or 1/4 step size. Units for the Diameter
field correspond to the mesh dimensional units.
The level of detail applied to the graphical rendering of the spheres can be controlled
using the Detail field in the Path Style Attributes panel. The level of detail uses
integer values ranging from 4 to 50. Note that the performance of the graphical
rendering will be better when using a small level of detail, i.e., very coarse spheres,
such as 6 or 8. The rendering performance significantly decreases with higher
levels of detail. You should gradually increase the detail to determine the best-case
scenario between performance and quality.
28-32
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
Also note that to take full advantage of spherical rendering, lighting should be
turned on in the view. The Gouraud setting provides much smoother looking
spheres than the Flat setting and better performance than the Phong setting. For
more information on lighting, see Section 28.2.6: Adding Lights.
• If you are using the triangle or any of the cylinder styles, you will set the Width
in the Path Style Attributes panel. For triangles, the specified value will be half
the width of the triangle’s base, and for cylinders, the value will be the cylinder’s
radius.
• If you are using the ribbon style, clicking on the Style Attributes... button will open
the Ribbon Attributes panel, in which you can set the ribbon’s Width. You can
also specify parameters for twisting the ribbon pathlines. In the Twist By drop-
down list, you can select a scalar field on which the pathline twisting is based (e.g.,
helicity). Select the desired category in the upper list and then select a related
quantity in the lower list. Note that the twisting may not be displayed smoothly
because the scalar field by which you are twisting the pathline is calculated at cell
centers only (and not interpolated to a particle’s position). The Twist Scale sets
the amount of twist for the selected scalar field. To magnify the twist for a field
with very little change, increase this factor; to display less twist for a field with
dramatic changes, decrease this factor.
(When you click Compute, the Min and Max fields will be updated to show the
range of the Twist By scalar field.)
By default, the pathlines are colored by the particle ID number. That is, each particle’s
path will be a different color. You can also choose the color based on the surface from
where the pathlines were released from using the surface ID as the particle variable. You
can choose to color the pathlines by any of the scalar fields in the Color by drop-down list.
(Select the desired category in the upper list and then select a related quantity in the
lower list.) If you color the pathlines by velocity magnitude, for example, each particle’s
path will be colored depending on the speed of the particle at each point in the path.
The range of values of the selected scalar field will, by default, be the upper and lower
limits of that field in the entire domain. The color scale will map to these values accord-
ingly. If you prefer to restrict the range of the scalar field, turn off the Auto Range option
(under Options) and set the Min and Max values manually beneath the Color by list. If
you color the pathlines by velocity, and you limit the range to values between 30 and
60 m/s, for example, the “lowest” color will be used when the particle speed falls below
30 m/s and the “highest” color will be used when the particle speed exceeds 60 m/s. To
show the default range at any time, click the Compute button and the Min and Max fields
will be updated.
c Fluent Inc. September 29, 2006 28-33
Displaying Graphics
“Thinning” Pathlines
If your pathline plot is difficult to understand because there are too many paths displayed,
you can “thin out” the pathlines by changing the Path Skip value in the Pathlines panel.
By default, Path Skip is set to 0, indicating that a pathline will be drawn from each
face on the selected surface (e.g., n pathlines). If you increase Path Skip to 1, every
other pathline will be displayed, yielding n/2 pathlines. If you increase Path Skip to 2,
every third pathline will be displayed, yielding n/3, and so on. The order of faces on the
selected surface will determine which pathlines are skipped or drawn; thus adaption and
reordering will change the appearance of the pathline display when a non-zero Path Skip
value is used.
Coarsening Pathlines
To further simplify pathline plots, and reduce plotting time, a coarsening factor can be
used to reduce the number of points that are plotted. Providing a coarsening factor of n,
will result in each nth point being plotted for a given pathline in any cell. This coarsening
factor is specified in the Pathlines panel, in the Path Coarsen field. For example, if the
coarsening factor is set to 2, then FLUENT will plot alternate points.
i Note that if any particle or pathline enters a new cell, this point will always
be plotted.
If you are interested in determining the source of a particle for which you know the final
destination (e.g., a particle that leaves the domain through an exit boundary), you can
reverse the pathlines and follow them from their destination back to their source. To do
this, turn on the Reverse option in the Pathlines panel. All other inputs for defining the
pathlines will be exactly the same as for forward pathlines; the only difference is that
the surface(s) selected in the Release From Surfaces list will be the final destination of the
particles instead of their source.
If you want to display “oil-flow” pathlines (i.e., pathlines that are constrained to lie on
a particular boundary), turn on the Oil Flow option in the Pathlines panel. You will
then need to select a single boundary zone in the On Zone list. The selected zone is the
boundary on which the oil-flow pathlines will lie.
28-34
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
If you are going to use the Pulse button in the Pathlines panel to animate the pathlines,
you can choose one of two pulse modes for the release of particles that follow the pathlines.
To release a single wave of particles, select the Single option under Pulse Mode. To release
particles continuously from the initial positions, select the Continuous option.
If you are using large time step size for the calculation, there might be significant error
introduced while calculating the pathlines. To control this error, select Accuracy Control
and specify the value of Tolerance. The tolerance value will be taken in to consideration
while calculating the pathlines for each time step.
If you want to generate an XY plot along the trajectories of the pathlines you have
defined, turn on the XY Plot option in the Pathlines panel. The Color by drop-down list
will be replaced by Y Axis Function and X Axis Function lists. Select the variable to be
plotted on the y axis in the Y Axis Function list, and specify whether you want to plot
this quantity as a function of the Time elapsed along the trajectory, or the Path Length
along the trajectory by selecting the appropriate item in the X Axis Function drop-down
list. Specify the Step Size, number of Steps, and other parameters as usual for a standard
pathline display. Then click Plot to display the XY plot.
Once you have generated an XY plot, you may want to save the plot data to a file. You
can read this file into FLUENT at a later time and plot it alone using the File XY Plot
panel, as described in Section 28.8.3: XY Plots of File Data, or add it to a plot of solution
data, as described in Section 28.8.2: Including External Data in the Solution XY Plot.
To save the plot data to a file, turn on the Write to File option in the Pathlines panel. The
Plot button will change to the Write... button. Clicking on the Write... button will open
the Select File dialog box, in which you can specify a name and save a file containing the
plot data. The format of this file is described in Section 28.8.5: XY Plot File Format.
c Fluent Inc. September 29, 2006 28-35
Displaying Graphics
1. Enable the Write to File option in the Pathlines panel (Figure 28.1.25).
2. In the Type drop-down list, select one of the following types of files:
• Standard for FIELDVIEW (.fvp) format
• Geometry for .ibl format (which can be read by GAMBIT)
• EnSight format
i If you plan to write the pathline data in EnSight format, you should first
verify that you have already written the files associated with the EnSight
Case Gold file type by using the File/Export... menu option (see Sec-
tion 4.12.9: EnSight Case Gold Files).
For further information about the files that are written for any of these types, please
refer to the appropriate section following these steps.
3. Choose to color the pathlines by any of the scalar fields in the Color by drop-down
lists.
4. Select the surface(s) from which to release the particles in the Release From Surfaces
list.
5. If you selected EnSight under Type, you will need to specify the EnSight Encas File
Name. Use the Browse... button to select the .encas file that was created when
you exported the file with the File/Export... menu option. If you do not make a
selection, then you will need to create an appropriate .encas file manually.
You can also select the number of Time Steps For EnSight Export. This number
directly determines how many time levels will be available for animation in EnSight.
6. Click on the Write... button to open the Select File dialog box, in which you can
specify a name and save a file containing the pathline data.
To initiate saving pathline data through the text command interface enter the following
TUI command:
display/path-lines/write-to-files
In addition to pathline data, you can also export particle data in either Standard, EnSight
or Geometry type. For information on exporting particle data in FIELDVIEW (standard),
EnSight or .ibl (geometry) format, refer to Section 25.20.2: Importing and Exporting
Particle History Data.
28-36
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
Standard Type
If Standard is selected under Type, FLUENT will write the file in FIELDVIEW format,
which can be exported and read into FIELDVIEW. The FIELDVIEW T M ASCII Particle
Path Format is licensed from Intelligent Light, proprietor of an independent visualization
software package (http://www.ilight.com). The file name that you use for saving the data
must have a .fvp extension. You also have the ability to retrieve and display the particle
and pathline trajectories from the file.
If the case is steady-state, the particle path information will be written in ASCII format.
For transient or unsteady-state cases, the BINARY format must be used. The FIELD-
VIEW file contains a set of paths, where each path consists of a series of points. At every
point the spatial location and selected variables are defined. A full description of the
ASCII and BINARY formats can be found in Appendix K - Particle Path Formats of
FIELDVIEW’s Reference Manual [2], available to licensed FIELDVIEW users.
The following is an example of the FIELDVIEW format for a steady-state case:
FVPARTICLES 2 1
Tag Names
0
Variable Names
2
time
particle_id
3
0.2 0.8 1.3 0.2 0
0.3 0.9 1.3 0.4 0
0.5 1.1 1.3 0.6 0
The beginning of the file displays header information. Tag Names cannot be specified
when the file is exported from FLUENT, and hence will always be 0. FLUENT allows you
to export two variables, which are listed under Variable Names: the first is determined
by the scalar fields selected in the Color by drop-down lists (time in the example above);
the second is always particle id.
The rest of the file contains information about each path. A path section begins by
listing the total number of points for the path. Then a line of data is presented for each
point, with the X, Y, and Z locations listed in the first three columns and the variable
information in the fourth and fifth columns. The example above presents a single pathline
consisting of three points; the time ranges from .2 to .6, and the ID of the particle is 0.
c Fluent Inc. September 29, 2006 28-37
Displaying Graphics
Geometry Type
If Geometry is selected under Type, the file will be written in .ibl format. The resulting
file contains particle paths in the form of a curve which can be read in GAMBIT. The
following is an example of a Geometry file format that contains multiple curves:
Begin section ! 1
Begin curve ! 1
1 185.61 0 23.26
2 88.90000000000001 0 -89.67
Begin curve ! 2
1 88.89999999999569 0 -89.6699999999997
2 76.90221619148909 0 -101.2290490001453
3 62.92208239159677 0 -110.2907424975297
4 47.47166726362848 0 -116.5231659809653
5 31.11689338997181 0 -119.6980363161113
6 14.45680848476821 0 -119.6990633707006
7 -1.898356710978934 0 -116.5262095254603
8 -17.34954014966171 0 -110.2956910520416
9 -31.33079110697006 0 -101.2357213074894
10 -43.330000000007 0 -89.67815166483965
Begin curve ! 3
1 -43.33 0 -89.67815166485001
2 -175.56 0 64.69066040289
The above example demonstrates how multiple curves can be imported; single curves
may also be imported. After importing this file into GAMBIT, the file is read by first
looking for a Begin curve string and then looking for the X, Y, and Z coordinates under
the Begin curve line.
EnSight Type
By selecting EnSight under Type, you can generate files with the following extensions:
• .mpg
• .mscl
• .encas
28-38
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
An .mpg file will be written for every time step specified in the Time Steps For EnSight
Export field. A sequential number will be appended to the .mpg extension to indicate
the time step. Each file contains a header which lists the time at which the data was
exported, as well as three columns listing the X, Y and Z coordinates for every particle
at that particular time step.
The following is an example of a file called particle.mpg0003, which contains data for
nine particles at the third time step:
An .mscl file will be written for every time step specified in the Time Steps For EnSight
Export field. A sequential number will be appended to the .mscl extension to indicate
the time step. Each file contains the scalar information (specified under Color By) for
every particle at a particular time step.
The following is an example of a file called particle.mscl0006, which captures Particle
ID data for nine particles at the sixth time step:
particle id
0.00000e+00 6.00000e+00 1.20000e+01 1.80000e+01 2.40000e+01 3.00000e+01
3.60000e+01 4.20000e+01 4.80000e+01
A new .encas file will be written if a selection is made under EnSight Encas File Name.
This new file is a modified version of the .encas file selected with the Browse... button,
and contains information about all of the related files (including geometry, velocity, scalar
and coordinate files). The name of the new file will be the root of the original file with
.new appended to it (e.g. if test.encas is selected, a file named test.new.encas will
be written). It is this new file that should be read into EnSight.
c Fluent Inc. September 29, 2006 28-39
Displaying Graphics
FORMAT
type: ensight gold
GEOMETRY
model: spray2-unsteady.geo
measured: 1 particle.mpg****
VARIABLE
scalar per measured node: 1 particle-id particle.mscl****
scalar per node: pressure spray2-unsteady.scl1
scalar per node: pressure-coefficient spray2-unsteady.scl2
vector per node: velocity spray2-unsteady.vel
TIME
time set: 1 Model
number of steps: 10
filename start number: 1
filename increment: 1
time values: 0.00000e+00 1.21406e-04 2.42813e-04 3.64219e-04 4.85626e-04
6.07032e-04 7.28438e-04 8.49845e-04 9.71251e-04 1.09266e-03
In FLUENT you can determine the scalar field value at a particle location using the
computed cell-center values or values that have been interpolated to the nodes. By
default, the Node Values option is turned on, and the interpolated values are used. If you
prefer to use the cell values, turn the Node Values option off.
If you are plotting pathlines to show the effect of a porous medium or fan, to depict a
shock wave, or to show any other discontinuities or jumps in the plotted variable, you
should use cell values; if you use node values in such cases, the discontinuity will be
smeared by the node averaging for graphics and will not be shown clearly in the plot.
28-40
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
c Fluent Inc. September 29, 2006 28-41
Displaying Graphics
The basic steps for generating a grid, contour, or vector plot using a sweep surface are
as follows:
1. Under Sweep Axis, specify the (X, Y, Z) vector representing the axis along which
the surface should be swept.
2. Click Compute to update the Min Value and Max Value to reflect the extents of the
domain along the specified axis.
3. Under Display Type, specify the type of display you want to see: Grid, Contours, or
Vectors. The first time that you select Contours or Vectors, FLUENT will open the
Contours panel or the Vectors panel so you can modify the settings for the display.
To make subsequent modifications to the display settings, click the Properties...
button to open the Contours or Vectors panel.
4. Move the slider under Value (which indicates the value of x, y, or z) to move the
sweep surface through the domain along the specified Sweep Axis. FLUENT will
update the grid, contour, or vector display when you release the slider. You can
also enter a position in the Value field and press the <Enter> key to update the
display.
5. If you want to save the currently displayed sweep surface so that you can use it
for a different type of plot (e.g., a pathlines plot or an XY plot) or combine it
with displays on other surfaces, click Create... to open the Create Surface panel
(Figure 28.1.27). Enter the Surface Name and click OK.
The surface that is created is an isosurface based on the grid coordinates; the
contour or vector settings are not stored in the surface.
You can also animate the sweep surface display, as described below, rather than moving
the slide bar yourself.
28-42
c Fluent Inc. September 29, 2006
28.1 Basic Graphics Generation
2. Under Animation, enter the Initial Value and Final Value for the animation. These
values correspond to the minimum and maximum values along the Sweep Axis for
which you want to animate the display.
4. Click Animate.
i All graphics windows must be closed prior to invoking the above TUI
command.
If the graphics window display is disabled, you can continue to save graphics using the
Graphics Hardcopy option, as described in Section 4.14: Saving Hardcopy Files. The saved
graphics files will be identical whether the graphics window display is enabled or disabled.
For a FLUENT session that is already in progress, to re-enable a graphics window display
that had been previously disabled, use the following TUI command:
display −→ set −→ rendering-options −→ driver −→opengl
c Fluent Inc. September 29, 2006 28-43
Displaying Graphics
If any graphics windows are open (which are not visible to you), FLUENT will prompt
you to close all open windows. You can close them using the following Scheme command:
(close-all-open-windows)
and then retype the TUI command to enable the graphics windows.
28-44
c Fluent Inc. September 29, 2006
28.2 Customizing the Graphics Display
Once overlaying is enabled, subsequent graphics that you generate will be displayed on top
of the existing display in the active graphics window. To generate a plot without overlays,
you must turn off the Overlays option in the Scene Description panel (and remember to
click Apply).
When you are overlaying multiple graphics, the captions and color scale that will appear
in the latest display are those that correspond to the most recently drawn graphic.
Note that when overlaying is enabled, it will apply to all graphics windows, including
those that are not yet open. Turning overlays on and off does so for all graphics windows,
not just for the active window. That is, if you enable overlays, open a new graphics
window (as described in Section 28.2.2: Opening Multiple Graphics Windows), and then
generate two or more graphics in that window, they will be overlaid.
c Fluent Inc. September 29, 2006 28-45
Displaying Graphics
Use the up arrow to increment the window ID in the Active Window field under Graphics
Window and then click the Open button.
To close an open window, increase or decrease the Active Window value to the ID of the
window to be closed, and then click the Close button that appears next to the Active
Window field. (The Open button will change to the Close button if the Active Window is
open.)
28-46
c Fluent Inc. September 29, 2006
28.2 Customizing the Graphics Display
c Fluent Inc. September 29, 2006 28-47
Displaying Graphics
i You will need to enclose your title in quotation marks (e.g., "my title").
Colormap Alignment
You can set the position of the colormap on any side (left, top, bottom, or right) of the
display window. Default alignment for the colormap is set to the Left. If you wish to
change the alignment, select the required direction in the Colormap Alignment drop-down
list.
28-48
c Fluent Inc. September 29, 2006
28.2 Customizing the Graphics Display
c Fluent Inc. September 29, 2006 28-49
Displaying Graphics
1. Under Font Specification, select the font type in the Name drop-down list, the font
weight (Medium or Bold) in the Weight drop-down list, the size (in points) in the
Size drop-down list, the color in the Color drop-down list, and the slant (Regular or
Italic) in the Slant drop-down list.
3. Click Add. You will be asked to pick the location in the graphics window where
you want to place the text, using the mouse-probe button. (By default, the mouse-
probe button is the right button, but you can change this using the Mouse Buttons
panel, as described in Section 28.3: Controlling the Mouse Button Functions.) If
you click the mouse button once in the desired location, the text will be placed at
that point. Dragging the mouse with the mouse-probe button depressed will draw
an attachment line from the point where the mouse was first clicked to the point
where it was released. The annotation text will be placed at the point where the
mouse button was released.
28-50
c Fluent Inc. September 29, 2006
28.2 Customizing the Graphics Display
1. Select the appropriate item in the Names list in the Annotate panel (Figure 28.2.4).
When you select a name, the associated text will be displayed in the Annotation
Text field, and the Add button will become the Edit button.
2. Modify the Font Specification entries as desired, and click the Edit button to modify
the text, or simply click the Delete Text button below the Names list to delete the
selected text.
Note that if you want to make changes to all current annotation text, you can select all
of the Names instead of just one in step 1.
You can move the text in the same way that you move other geometric objects in
the display, using the Scene Description panel and the Transformations panel. See Sec-
tion 28.5.3: Transforming Geometric Objects in a Scene for details.
c Fluent Inc. September 29, 2006 28-51
Displaying Graphics
(When you plot contours, you can temporarily modify the number of colors in the col-
ormap by changing the number of contour levels in the Contours panel; you will only need
to use the Colormaps panel if you wish to change other characteristics of the colormap.)
i Note that if you are using a gray-scale colormap and you wish to save a
gray-scale hardcopy, you should actually save a color hardcopy. When you
save a gray-scale hardcopy, FLUENT uses an internal gray scale, not the
gray scale specified by the colormap. If you save a color hardcopy, the
colormap you selected (i.e., your gray scale) will be used.
28-52
c Fluent Inc. September 29, 2006
28.2 Customizing the Graphics Display
Predefined Colormaps
The following colormaps are automatically available in FLUENT:
bgr: Blue represents the minimum value, green the middle, and red the maximum
value. Colors in between are interpolated from blue to green, and from green to
red. (This is the default colormap.)
bgrb: Blue represents the minimum and maximum values, and green and red are values
1/3 and 2/3 of the maximum value, respectively. Colors in between are interpolated
from blue to green, from green to red, and from red to blue.
blue: The minimum value is represented by blue-black, and the maximum value by
pure blue.
cyan-yellow: Cyan represents the minimum value and yellow represents the maximum
value.
fea: Blue represents the minimum value and red represents the maximum value. The
colors in between are those used in third-party finite element analysis packages.
gray: Black is used for the minimum value and white for the maximum value.
green: The minimum value is represented by green-black, and the maximum value by
pure green.
purple-magenta: Purple represents the minimum value and magenta represents the
maximum value.
red: The minimum value is represented by red-black, and the maximum value by pure
red.
rgb: Red represents the minimum value, green the middle, and blue the maximum
value. Colors in between are interpolated from red to green, and from green to
blue.
The number of colors interpolated between the colors in the scale name (e.g., between
purple and magenta) will depend on the size of the colormap.
c Fluent Inc. September 29, 2006 28-53
Displaying Graphics
Selecting a Colormap
The procedure for selecting a new colormap to be used in graphics displays is as follows:
1. In the Colormaps panel (Figure 28.2.5), select the desired colormap in the Currently
Defined drop-down list. This list will contain all of the colormaps predefined by
FLUENT as well as any custom colormaps that you have created as described below.
3. Click Apply to update the current graphics display with the new colormap. All
future displays will use the newly selected colormap and options.
Once you have selected the desired colormap from the Currently Defined list, you may
modify the Colormap Size. This value is the number of distinct colors in the color scale.
You can also choose to use a logarithmic scale instead of a decimal scale by turning on the
Log Scale option. With a log scale, the color used in the graphics display will represent
the log of the value at that location in the domain. The values represented by the colors
will, therefore, increase exponentially.
You can change the format of the labels that define the color divisions at the left of the
graphics window using the controls under the Number Format heading in the Colormaps
panel.
• To display the real value with an integral and fractional part (e.g., 1.0000), select
float in the Type drop-down list. You can set the number of digits in the fractional
part by changing the value of Precision.
• To display the real value with a mantissa and exponent (e.g., 1.0e-02), select ex-
ponential in the Type drop-down list. You can define the number of digits in the
fractional part of the mantissa in the Precision field.
• To display the real value with either float or exponential form, depending on the
size of the number and the defined Precision, choose general in the Type drop-down
list.
28-54
c Fluent Inc. September 29, 2006
28.2 Customizing the Graphics Display
c Fluent Inc. September 29, 2006 28-55
Displaying Graphics
28-56
c Fluent Inc. September 29, 2006
28.2 Customizing the Graphics Display
1. In the Colormaps panel, click the Edit... button to open the Colormap Editor panel
(Figure 28.2.8).
2. In the Colormap Editor panel, select a color scale in the Currently Defined list as your
starting point. The colors in the scale will be displayed at the top of the panel. A
white bar below a color is an “anchor point” indicating that this color is an “anchor
color”.
c Fluent Inc. September 29, 2006 28-57
Displaying Graphics
3. If you want to add more colors to the color scale, increase the Colormap Size; to
use fewer colors, decrease this value. When you use the counter arrows (or type in
a value and press <Enter>), the color scale display at the top of the panel will be
updated immediately.
i The total number of colors must not be less than the number of anchor
points.
4. To obtain the desired color scale interpolation, manipulate the anchor colors as
needed:
• To add an anchor point, click any mouse button on the black space directly
below the desired anchor color (or click on the color itself). A white bar will
appear below the color to identify it as an anchor color, and the color will
automatically be selected for color-definition modification.
• To remove an anchor point, click on the white bar below the anchor color.
The white bar will disappear and the color scale will be updated to reflect the
new interpolation.
• To select a current anchor color in order to modify its color definition, click
on the color itself at the top of the panel.
• To modify the color of the selected anchor color, you can change either the
red/green/blue components (choose RGB, the default) or the hue/saturation/value
components (choose HSV). HSV is recommended if you plan to record the
graphics display on video, as it allows you to create a more subtle gradation
of color and reduce the tendency of bright colors to “bleed”. Move the Red,
Green, and Blue or Hue, Saturation, and Value sliders to obtain the desired
color. The color scale at the top of the panel will be updated automatically
to show the effect of your change.
5. If you want to change the default name of the new colormap, enter the new name
in the Name field. By default, custom colormaps are called cmap-0, cmap-1, etc.
6. Click OK to save the new colormap. The colormap name will now appear in the
Currently Defined list in the Colormaps panel and can be selected for use in the
graphics display.
28-58
c Fluent Inc. September 29, 2006
28.2 Customizing the Graphics Display
c Fluent Inc. September 29, 2006 28-59
Displaying Graphics
(You can also open the Lights panel by clicking on the Lights... button in the Display
Options panel.)
28-60
c Fluent Inc. September 29, 2006
28.2 Customizing the Graphics Display
By default, light 0 is defined to be dark gray with a direction of (1,1,1). A light source
is a distant light, similar to the sun. The direction (1,1,1) means that the rays from the
light will be parallel to the vector from (1,1,1) to the origin. To create an additional light
(e.g., light 1), follow the steps listed below.
3. Define the light color by entering a descriptive string (e.g., lavender) in the Color
field, or by moving the Red, Green, and Blue sliders to obtain the desired color. The
default color for all lights is dark gray.
6. When you have defined all the lights you want, click Apply to save their definitions.
Removing a Light
To remove a light, enter the ID number of the light to be removed in the Light ID field and
then turn off the Light On button. When a light is turned off, its definition is retained,
so you can easily add it to the display again at a later time by turning on the Light On
button. For example, you may want to define three different lights to be used in different
scenes. You can define each of them, and then turn on only one or two at a time, using the
Light ID field and the Light On button. Once you have made all the desired modifications
to the lights, remember to click the Apply button to save the changes.
c Fluent Inc. September 29, 2006 28-61
Displaying Graphics
If you have made changes to the light definitions, but you have not yet clicked on Apply,
you can reset the lights by clicking on the Reset button. All lighting characteristics will
revert to the last saved state (i.e., the lighting that was in effect the last time you opened
the panel or clicked on Apply).
Line Width: By default, all lines drawn in the display have a thickness of 1 pixel. If
you want to increase the thickness of the lines, increase the value of Line Width.
Point Symbol: By default, nodes displayed on surfaces and data points on line or rake
surfaces are represented in the display by a + sign inside a circle. If you want to
modify this representation (e.g., to make the nodes easier to see), you can select a
different symbol in the Point Symbol drop-down list.
Wireframe Animation: When you use the mouse to modify the view in the display,
a wireframe representation will be displayed for all geometry during the mouse
manipulation. If your computer has a graphics accelerator, you may want to disable
this feature by turning off the Wireframe Animation option. Turning this option
off when your computer does not have a graphics accelerator may make mouse
manipulation very slow.
Double Buffering: Enabling the Double Buffering option can dramatically reduce screen
flicker during graphics updates. Note, however, that if your display hardware does
not support double buffering and you turn this option on, double buffering will be
done in software. Software double buffering uses extra memory.
Outer Face Culling: This option allows you to turn off the display of outer faces in
wall zones. Outer Face Culling is useful for displaying both sides of a slit wall. By
default, when you display a slit wall, one side will “bleed” through to the other.
When you turn on the Outer Face Culling option, the display of a slit wall will show
28-62
c Fluent Inc. September 29, 2006
28.3 Controlling the Mouse Button Functions
each side distinctly as you rotate the display. This option can also be useful for
displaying two-sided walls (i.e., walls with fluid or solid cells on both sides).
Hidden Line Removal: If you do not use hidden line removal, FLUENT will not try to
determine which lines in the display are behind others; it will display all of them,
and a cluttered display will result for most 3D grid displays. For most 3D problems,
therefore, you should turn on the Hidden Line Removal option. You should turn this
option off (for optimal performance) if you are working with a 2D problem or with
geometries that do not overlap.
Hidden Surface Removal: If you do not use hidden surface removal, FLUENT will not
try to determine which surfaces in the display are behind others; it will display all
of them, and a cluttered display will result for most 3D grid displays. For most 3D
problems, therefore, you should turn on the Hidden Surface Removal option. You
should turn this option off (for optimal performance) if you are working with a 2D
problem or with geometries that do not overlap.
You can choose one of the following methods for performing hidden surface removal
in the Hidden Surface Method drop-down list. These options vary in speed and
quality, depending on the device you are using.
Hardware Z-buffer is the fastest method if your hardware supports it. The ac-
curacy and speed of this method is hardware-dependent. Note that if this
method is not available on your computer, selecting it will cause the Software
Z-buffer method to be used.
Painters will show fewer edge-aliasing effects than Hardware-Z-buffer. This method
is often used instead of Software-Z-buffer when memory is limited.
Software Z-buffer is the fastest of the accurate software methods available (espe-
cially for complex scenes), but it is memory-intensive.
Z-sort only is a fast software method, but it is not as accurate as Software-Z-
buffer.
c Fluent Inc. September 29, 2006 28-63
Displaying Graphics
is displayed. (See Section 28.8.1: Plot Types for information about the use of mouse
buttons in these plots.) Clicking any mouse button in a graphics window will make that
window the active window.
Button Functions
The predefined button functions available are listed below:
mouse-rotate allows you to rotate the view by dragging the mouse across the screen.
Dragging horizontally rotates the object about the screen’s y axis; vertical mouse
movement rotates the object about the screen’s x axis. The function completes
when the mouse button is released or the cursor leaves the graphics window.
mouse-dolly allows you to translate the view by dragging the mouse while holding
down the button. The function completes when the mouse button is released or
the cursor leaves the graphics window.
mouse-zoom allows you to draw a zoom box, anchored at the point at which the button
was pressed, by dragging the mouse with the button held down. When you release
the button, if the dragging was from left to right, a magnified view of the area
within the zoom box will fill the window. If the dragging was from right to left,
the area of the window is shrunk to fit into the zoom box, resulting in a “zoomed
out” view. If the mouse button is simply clicked (not dragged), the selected point
becomes the center of the window.
mouse-roll-zoom allows you to rotate or zoom the view, depending on the direction
in which you drag the mouse. If you drag the mouse horizontally, the display will
rotate about the axis normal to the screen. If you drag it vertically, the display
will be magnified (if you drag it down) or shrunk (if you drag it up). The function
completes when the mouse button is released or the cursor leaves the graphics
window. Note that this function is similar to the function of the right mouse
button in GAMBIT.
mouse-probe allows you to select items from the graphics windows and request infor-
mation about displayed scenes. If the probe function is turned off and you click
the mouse-probe button in the graphics window, only the identity of the item on
which you clicked will be printed out in the console window. If the probe function
is turned on, more detailed information about a selected item will be printed out.
mouse-annotate allows you to insert text into the graphics window. If the mouse
button is dragged, an attachment line is drawn. When the button is released (after
dragging or clicking), a cursor is displayed in the graphics window, and you can
enter your text. When you are finished, press <Enter> or move the cursor out of
the graphics window. To modify or remove annotated text and attachment lines,
use the Clear button in the Annotate panel, as described in Section 28.2.4: Editing
Existing Annotation Text.
28-64
c Fluent Inc. September 29, 2006
28.4 Modifying the View
For each mouse button (Left, Middle, and Right), select the desired function in the drop-
down list. The functions are listed above. If you assign the probe function to one of the
buttons, select on or off as the Probe status.
The new button functions take effect as soon as you click OK. That is, you do not have
to redraw the graphics window to use the new functions; the appropriate function will
be executed when a mouse button is subsequently clicked in a graphics window.
The default button functions are as follows:
Button 2D 3D
Left mouse-dolly mouse-rotate
Middle mouse-zoom mouse-zoom
Right mouse-probe mouse-probe
i You can revert to the previous view using the keyboard command <Ctrl>-L
while the graphics window has the main focus. You can also use the text
command view last from the top level of the text command tree. You
can use the command to revert to any of the past 20 views.
c Fluent Inc. September 29, 2006 28-65
Displaying Graphics
You can rotate, translate, and zoom the graphics display using either the mouse or the
Camera Parameters panel (Figure 28.4.2), which is opened from the Views panel.
28-66
c Fluent Inc. September 29, 2006
28.4 Modifying the View
• To rotate about the horizontal axis at the center of the screen, move the slider on
the scale to the left of the dial up or down (see Section 2.1.3: Scale for instructions
on using the scale).
• To rotate about the vertical axis at the center of the screen, move the slider on the
scale below the dial to the left or right.
• To rotate about the axis at the center of and perpendicular to the screen, click the
left mouse button on the indicator in the dial and drag it around the dial.
i Note that the position of the slider or the dial indicator does not reflect
the cumulative rotation about the axis; the slider or indicator will return
to its original position when you release the mouse button.
To rotate a 2D display about the axis normal to the screen, you can use the dial in the
Camera Parameters panel, as described above for 3D cases. If you want to rotate with the
mouse instead, you can use the mouse-roll-zoom function. (See Section 28.3: Controlling
the Mouse Button Functions for information about enabling this optional function.) Click
the appropriate mouse button and drag the mouse to the left for clockwise rotation, or
to the right for counter-clockwise rotation.
c Fluent Inc. September 29, 2006 28-67
Displaying Graphics
When you use the mouse for rotation, you have the option to “push” the display into a
continuous spin. This feature can be used in conjunction with video recording, or simply
for interactive viewing of the domain from different angles. To activate this option, use
the auto-spin? text command:
display −→ set −→ rendering-options −→auto-spin?
Then display the graphics (or, if the graphics are already displayed, you can click the
Apply button in the Display Options panel). The mouse-rotate button will then have two
uses:
• To perform the standard rotation, stop dragging the mouse before you release the
mouse-rotate button.
• To start the continuous spin, release the mouse-rotate button while you are still
dragging the mouse. The display will continue to rotate on its own until you click
any mouse button in the graphics window again. The speed of the rotation will
depend on how fast you are dragging the mouse when you release the button.
For smoother rotation, turn on the Double Buffering option in the Display Options panel
(see Section 28.2.7: Modifying the Rendering Options). This will reduce screen flicker
during graphics updates.
28-68
c Fluent Inc. September 29, 2006
28.4 Modifying the View
With the mouse-zoom function, click the middle mouse button and drag it from left to
right (creating a “zoom box”) to magnify the display. Figure 28.4.3 displays the correct
dragging of the mouse, from upper left to lower right on the display, in order to zoom.
(You can also drag from lower left to upper right.) After you release the mouse button,
FLUENT will redisplay the graphic, filling the graphics window with the portion of the
display that previously occupied the zoom box.
click here
drag
direction
release
region to be
zoomed
release
drag
direction
click here
region to be
un-zoomed
Click the middle mouse button and drag it from right to left to shrink the display.
Figure 28.4.4 displays the correct dragging of the mouse, from lower right to upper left
on the display, in order to “zoom out”. (You can also drag from upper right to lower
c Fluent Inc. September 29, 2006 28-69
Displaying Graphics
left.) After you release the mouse button, FLUENT will redisplay the graphic, shrinking
the graphical display by the ratio of sizes of the zoom box you created and the previous
display.
With the mouse-roll-zoom function, click the appropriate mouse button and drag the
mouse down to zoom in continuously, or up to zoom out.
In the Camera Parameters panel (Figure 28.4.2), use the scale to the right of the dial to
zoom the display. Move the slider bar up to zoom in and down to zoom out.
i Click Apply after you change each camera parameter (Position, Target, Up
Vector, and Field).
28-70
c Fluent Inc. September 29, 2006
28.4 Modifying the View
view plane
up vector
position
target
x field
y field
i Note that settings for mirroring and periodic repeats are not saved in a
view.
Saving Views
Once you have created a new view that you want to save for future use, enter a name for
it in the Save Name field in the Views panel and click the Save button. Your new view
will be added to the list of Views, and you can restore it later as described below.
c Fluent Inc. September 29, 2006 28-71
Displaying Graphics
If a view with the same name already exists, you will be asked in a Question dialog box
if it is OK to overwrite the existing view. If you overwrite one of the default views (top,
left, right, front, etc.), be sure to save it in a view file if you wish to use it in a later
session. (Although all views are saved to the case file, the default views are recomputed
automatically when a case file is read in. Any custom view with the same name as a
default view will be overwritten at that time.)
As mentioned above, all defined views will be saved in the case file when you write one.
If you plan to use your views with another case file, you can write a “view file” containing
just the views. You can read this view file into another solver session involving a different
case file and restore any of the defined views, as described below.
To save a view file, click the Write... button in the Views panel. In the resulting Write
Views panel (Figure 28.4.6), select the views you want to save in the Views to Write list
and click OK. You will then use the Select File dialog box to specify the file name and
save the view file.
28-72
c Fluent Inc. September 29, 2006
28.4 Modifying the View
Deleting Views
If you decide that you no longer want to keep a particular view, you can delete it by
selecting it in the Views list and clicking on the Delete button. Use this option carefully,
so that you do not accidentally delete one of the predefined views.
c Fluent Inc. September 29, 2006 28-73
Displaying Graphics
Display of symmetry and periodic repeats is controlled in the Views panel (Figure 28.4.8).
Display −→Views...
For a symmetric domain, all symmetry boundaries are listed in the Mirror Planes list.
Select one or more of these boundaries as the plane(s) about which to mirror the display.
For a periodic domain, click the Define... button to open the Graphics Periodicity panel,
to access the periodicity parameters. Specify the number of times to repeat the modeled
portion by increasing the value of Number of Repeats. If, for example, you modeled a
90◦ sector of a duct and you wanted to display results on the entire duct, you would set
Number of Repeats to 4.
In some cases, there may be multiple zones with different periodicity in the domain. For
example, in turbomachinery problems with multiple blade rows using the mixing plane
model, the periodic angles are different for each blade row. One blade may contain 20
blades (18◦ periodic angle) and other may contain 15 blades (24◦ periodic angle). In such
cases select the required cell zone and specify the number of repeats for that particular
cell zone.
When you click Set in the Graphics Periodicity panel the graphics display will be immedi-
ately updated to show the requested periodic repeats.
Figures 28.4.9 and 28.4.10 shows the display for the sample geometry before and after
applying the periodic repeats respectively. In this case the value of Number of Repeats is
set to 6 for the 60◦ sector (outer part) and to a value of 4 is set for the 90◦ sector (inner
part) of the geometry.
28-74
c Fluent Inc. September 29, 2006
28.4 Modifying the View
Y
Z X
Grid
Y
Z X
Grid
c Fluent Inc. September 29, 2006 28-75
Displaying Graphics
1. Click the Define... button under Periodic Repeats in the Views panel.
2. In the resulting Graphics Periodicity panel (Figure 28.4.11), select the Cell Zone for
which you want to specify the number of repeats.
Associated Surfaces list contains the surfaces associated with the selected cell zone.
This is only informative and you can not edit the selection of surfaces in this box.
4. For translational periodicity, specify the Translation distance of the repeated domain
in the X, Y, and Z directions. For rotational periodicity, specify the axis about
which the periodicity is defined and the Angle by which the domain is rotated to
create the periodic repeat. For 3D problems, the axis of rotation is the vector
passing through the specified Axis Origin and parallel to the vector from (0,0,0) to
the (X,Y,Z) point specified under Axis Direction. For 2D problems, you will specify
only the Axis Origin; the axis of rotation is the z-direction vector passing through
the specified point.
28-76
c Fluent Inc. September 29, 2006
28.4 Modifying the View
You can delete the definition of any periodicity you have defined for graphics by clicking
on the Reset button in the Graphics Periodicity panel.
Note: For the 3D domain with multiple periodic zones having different periodicity, FLU-
ENT can repeat only grid, contour and vector plots, and not the pathlines and par-
ticle tracks. Also if such domain contains, isosurfaces and clip-surfaces, that are
associated with a particular cell zone, they are repeated using the same periodicity
that is defined for that cell zone. However, if the surface is not associated with any
cell zone, you can not specify the periodicity for that surface.
1. Click the Define Plane... button under Mirror Planes in the Views panel.
2. In the resulting Mirror Planes panel (Figure 28.4.12), set the coefficients of X, Y,
and Z and the Distance (of the plane from the origin) in the following equation for
the mirror plane:
Ax + By + Cz = distance (28.4-1)
c Fluent Inc. September 29, 2006 28-77
Displaying Graphics
3. Click the Add button to add the defined plane to the Mirror Planes list. When
you are done creating mirror planes, click OK. The newly defined plane(s) will now
appear in the Mirror Planes list in the Views panel. To include the mirroring in the
display, select the plane(s) and click Apply, as described above.
If you want to delete a mirror plane that you have defined, select it in the Mirror Planes
list in the Mirror Planes panel and click the Delete button. When you click OK in this
panel, the deleted plane will be removed permanently from the Mirror Planes list in the
Views panel.
28-78
c Fluent Inc. September 29, 2006
28.5 Composing a Scene
The Iso-Value panel (Figure 28.5.5), which is also opened from within the Scene Description
panel, allows you to change the isovalue of a selected isosurface. The Pathline Attributes
panel (Figure 28.5.6) lets you set some pathline attributes. The ability to make geometric
objects visible and invisible is especially useful when you are creating an animation (see
Section 28.6: Animating Graphics) because it allows you to add or delete objects from
the scene one at a time. The ability to change the color and position of an object
independently of the others in the scene is also useful for setting up animations, as is the
ability to change isosurface isovalues. You will find the features in the Scene Description
panel useful even when you are not generating animations because they allow you to
manage your graphics window efficiently. The procedure for overlaying graphics, which
uses the Scene Description panel, is described in Section 28.2.1: Overlay of Graphics.
(Note that you cannot use the Scene Description panel to control XY plot and histogram
displays.)
c Fluent Inc. September 29, 2006 28-79
Displaying Graphics
To set the display properties described above, select one or more objects in the Names
list in the Scene Description panel and then click the Display... button to open the Display
Properties panel for that object or group of objects.
28-80
c Fluent Inc. September 29, 2006
28.5 Composing a Scene
Controlling Visibility
There are several ways for you to control the visibility of an object. All visibility options
are listed under the Visibility heading in the Display Properties panel.
• To make the selected object(s) invisible, turn off the Visible option. To “undo”
invisibility, simply turn the Visible option on again.
• To turn the effect of lighting for the selected object(s) on or off, use the Lighting
check button. You can choose to have lighting affect only certain objects instead
of all of them. Note that if Lighting is turned on for an object such as a contour
or vector plot, the colors in the plot will not be exactly the same as those in the
colormap at the left of the display.
• To toggle the filled display of faces for the selected grid or surface object(s), use
the Faces option. Turning Faces on here has the same effect as turning it on for the
entire grid in the Grid Display panel.
• To turn the display of outer edges on or off, use the Outer Faces option. This option
is useful for displaying both sides of a slit wall. By default, when you display a
slit wall, one side will “bleed” through to the other. When you turn off the Outer
Faces option, the display of a slit wall will show each side distinctly as you rotate
the display. This option can also be useful for displaying two-sided walls (i.e., walls
with fluid or solid cells on both sides).
• To turn the display of interior and exterior edges of the geometric object(s) on or
off, use the Edges option.
• To turn the display of the outline of the geometric object(s) on or off, use the
Perimeter Edges check button.
• To toggle the display of feature lines (described in Section 28.1.1: Adding Features
to an Outline Display), if any, for the selected object(s), use the Feature Edges
option.
• To toggle the display of the lines (if any) in the geometric object(s), use the Lines
check button. Pathlines, line contours, and vectors are “lines”.
• To toggle the display of nodes (if any) in the geometric object(s), use the Nodes
check button.
Once you have set the appropriate display parameters, click the Apply button to update
the graphics display.
c Fluent Inc. September 29, 2006 28-81
Displaying Graphics
• To modify the color of faces, edges, or lines in the selected object(s), choose face-
color, edge-color, line-color, or node-color in the Color drop-down list. The Red,
Green, and Blue color scales will show the RGB components of the face, edge or
line color, which you can modify by moving the sliders on the color scales. When
you are satisfied with the color specification, click Apply to save it and update the
display. The ability to set the colors for faces and edges can be useful when you
wish to have a filled display for the grid or surface, but you also want to be able to
see the grid lines. You can achieve this effect by specifying different colors for the
faces and the edges.
• To set the relative transparency of an object, select face-color in the Color drop-
down list. Move the slider on the Transparency scale and click the Apply button to
update the graphics display. An object with a transparency of 0 is opaque, and an
object with a transparency of 100 is transparent. By specifying a high transparency
value for the walls of a pipe, for example, you will be able to see contours that you
have displayed on cross-sections inside the pipe. (This feature is available on all
platforms when the software z buffer is used for hidden surface removal, but if
your display hardware supports transparency, it will be more efficient to use the
hardware z buffer as the hidden surface method instead. You can select these
methods in the Display Options panel, as described in Section 28.2.7: Modifying the
Rendering Options.)
28-82
c Fluent Inc. September 29, 2006
28.5 Composing a Scene
Figure 28.5.3: Velocity Vectors Translated Outside the Domain for Better
Viewing
You can also move an object by rotating it about the x, y, or z axis. If you want to
display one object more prominently than the others, you can scale its size. If your
geometry is rotating or has rotational symmetry, you can display the meridional view.
All of these capabilities are available in the Transformations panel (Figure 28.5.4).
To perform the transformations described above, select one or more objects in the Names
list in the Scene Description panel and then click the Transform... button to open the
Transformations panel for that object or group of objects.
c Fluent Inc. September 29, 2006 28-83
Displaying Graphics
Translating Objects
To translate the selected object(s), enter the translation distance in each direction in the
X, Y, and Z real number fields under Translate. (Note that you can check the domain
extents in the Scale Grid panel or the Iso-Surface panel.) Translations are not cumulative,
so you can easily return to a known state. To return to the original position, simply
enter 0 in all three real number fields.
Rotating Objects
To rotate the selected object(s), enter the number of degrees by which to rotate about
each axis in the X, Y, and Z integer number fields under Rotate By. (You can enter any
value between −360 and 360.) By default, the rotation origin will be (0,0,0). If you want
to spin an object about its own origin, or about some other point, specify the X, Y, and
Z coordinates of that point under Rotate About.
Rotations are not cumulative, so you can easily return to a known state. To return to
the original position, simply enter 0 in all three integer number fields under Rotate By.
Scaling Objects
To scale the selected object(s), enter the amount by which to scale in each direction in
the X, Y, and Z real number fields under Scale. To avoid distortion of the object’s shape,
be sure to specify the same value for all three entries. Scaling is not cumulative, so you
can easily return to a known state. To return the object to its original size, simply enter
1 in all three real number fields.
28-84
c Fluent Inc. September 29, 2006
28.5 Composing a Scene
In the Iso-Value panel, set the new isovalue in the Value field, and click Apply. Contours,
vectors, or pathlines that were displayed on the original isosurface will be displayed for
the new isovalue.
c Fluent Inc. September 29, 2006 28-85
Displaying Graphics
2. Use the Contours panel to generate contours of static pressure on this isosurface
and manipulate the graphics display to the desired view.
4. In the Scene Description panel, select the contour in the Names list and click the
Iso-Value... button to open the Iso-Value panel.
5. Change the value of the isovalue to the y coordinate at the other end of the pipe,
and click Apply. You will see the contours of static pressure at the new y coordinate.
When you play back the animation, FLUENT will create the intermediate frames showing
contours of static pressure on the slices between the two ends of the pipe. Ten slices will
be shown in succession, all with contours displayed on them.
Using the Sweep Surface panel to animate the display of contours or vectors on a surface
that sweeps through the domain may be more convenient than the procedure described
above. See Section 28.1.5: Displaying Results on a Sweep Surface for details.
28-86
c Fluent Inc. September 29, 2006
28.5 Composing a Scene
In the Pathline Attributes panel, set the new maximum number of steps for pathline
computation (Max Steps). After you change the value and click Apply, the selected
pathline will be recomputed and redrawn.
When you play back the animation, FLUENT will animate the pathlines so that they
advance one step in each frame.
c Fluent Inc. September 29, 2006 28-87
Displaying Graphics
1.1 1.2
3.2 -0.85
Y
X
Z
28-88
c Fluent Inc. September 29, 2006
28.5 Composing a Scene
To add a bounding frame to your display, you will follow the procedure below:
1. Click the Frame Options... button in the Scene Description panel (Figure 28.5.1) to
open the Bounding Frame panel (Figure 28.5.8).
2. Under Frame Extents in the Bounding Frame panel, select Domain or Display to
indicate whether the bounding frame should encompass the domain extents or only
the portion of the domain that is shown in the display.
3. In the Axes portion of the Bounding Frame panel, specify the frame boundaries and
measurements to be shown in the display:
• Indicate the bounding plane(s) (e.g., the x-z and y-z planes shown in Fig-
ure 28.5.7) to be displayed by clicking on the white square on the appropriate
plane of the box shown under the Axes heading. (You can use any of the mouse
buttons.) The square will turn red to indicate that the associated bounding
plane will be displayed in the graphics window.
• Specify where you would like to see the measurement annotations by clicking
on the appropriate edge of the box. The edge will turn red to indicate that
the markings will be displayed along that edge of the displayed geometry.
c Fluent Inc. September 29, 2006 28-89
Displaying Graphics
4. Click the Display button to update the display with the current settings. If you are
not satisfied with the frame, repeat steps 2 and/or 3 and click Display again.
5. Once you are satisfied with the bounding frame that is displayed, click OK to close
the Bounding Frame panel and save the frame settings for future displays.
6. If you wish to include the bounding frame in all subsequent displays, turn on the
Draw Frame option in the Scene Description panel and click Apply. If this option is
not enabled, the bounding box will appear only in the current display; it will not
be redisplayed when you generate a new display (unless you have overlays enabled).
The bounding planes and axis annotations will appear in the Names list of the Scene
Description panel, and you can manipulate them in the same way as any other geometric
object in the display. For example, you can use the Display Properties panel to change the
face color of a bounding plane or to make it transparent (see Section 28.5.2: Changing
an Object’s Display Properties).
28-90
c Fluent Inc. September 29, 2006
28.6 Animating Graphics
You can compose a scene in the graphics window and define it as a single key frame.
Then, modify the scene by moving or scaling objects, making some objects invisible or
visible, changing colors, changing the view, or making other changes, and define the new
scene as another key frame. FLUENT can then interpolate smoothly between the two
frames that you defined, creating a specified number of intermediate frames.
Another method of generating animations is to automatically generate surfaces with inter-
mediate values between two isosurfaces with different isovalues. See Section 28.5.4: Mod-
ifying Iso-Values for details. See Section 28.1.5: Displaying Results on a Sweep Surface
for information about displaying the grid, contours, or vectors on a surface that sweeps
through the domain. If you want to create a graphical animation of the solution over
time, you can use the Solution Animation panel to set up the graphical displays that you
want to use in the animation. You can choose the type of display you want to animate
by choosing Grid, Contours, Pathlines, Particle Tracks, Vectors, XY Plot, or Monitor. For
details on animating the solution, see Section 25.20.1: Animating the Solution. For more
information on generating, displaying, and saving pathlines and particle tracks, refer to
Section 28.1.4: Displaying Pathlines.
c Fluent Inc. September 29, 2006 28-91
Displaying Graphics
1. Determine the number of frames that you want in the animation. For this example,
consider the animation to be 31 frames.
2. Determine the number of key frames that you need to specify. In this example, you
will specify three: one showing the front view, one showing the side view, and one
showing the rear view.
3. Determine the appropriate key frame numbers to assign to the 3 specified frames.
Here, the front view will be specified as key frame 1, the side view will be key
frame 16, and the rear view will be key frame 31.
4. Compose the scenes for each view to be used as a key frame. You can use the Scene
Description panel (see Section 28.5: Composing a Scene) and the Views panel (see
Section 28.4: Modifying the View) to modify the display, and any other panels or
commands to create contours, vectors, pathlines, etc. to be included in each scene.
After you complete each scene, create the appropriate key frame by setting the
Frame number and clicking on the Add button under Key Frames in the Animate
panel. (See Section 28.6.5: Notes on Animation for special considerations related
to key frame definition.)
i Be sure to change the Frame number before clicking on the Add button, or
you will overwrite the last key frame that you created.
You can check any of the key frames that you have created by selecting it in the
Keys list. The selected key frame will be displayed in the graphics window.
5. When you complete the animation, you can play it back as described in Sec-
tion 28.6.2: Playing an Animation and/or save it as described in Section 28.6.3: Sav-
ing an Animation.
28-92
c Fluent Inc. September 29, 2006
28.6 Animating Graphics
Continuous Animation
If you want the playback of the animation to repeat continuously, there are two options
available. To continuously play the animation from beginning to end (or from end to
beginning, if you use one of the reverse play buttons), select Auto Repeat in the Playback
c Fluent Inc. September 29, 2006 28-93
Displaying Graphics
Mode drop-down list in the Animate panel. To play the animation back and forth con-
tinuously, reversing the playback direction each time, select Auto Reverse in the Playback
Mode drop-down list.
To turn off the continuous playback, select Play Once in the Playback Mode list. This is
the default setting.
Animation File
You can save the key frame definitions to a file that can be read back into FLUENT
(see Section 28.6.4: Reading an Animation File) when you want to replay the animation.
Since the animation file will contain only the key frame definitions, you must be sure that
you have a case and data file containing the necessary surfaces and other information
referred to by the key frame descriptions.
To write an animation file, select Key Frames in the Write/Record Format drop-down list
in the Animate panel, and click the Write... button. In the resulting Select File dialog
box, specify the name of the file and save it.
28-94
c Fluent Inc. September 29, 2006
28.6 Animating Graphics
Hardcopy File
You can also generate a hardcopy file for each frame in the animation. This feature allows
you to save your animation frames to hardcopy files used by an external animation
program such as ImageMagick. To save the animation as a hardcopy file, follow these
steps:
1. Select Hardcopy Frames in the Write/Record Format drop-down list in the Animate
panel.
2. If necessary, click the Hardcopy Options... button to open the Graphics Hardcopy
panel and set the appropriate parameters for saving the hardcopy files. (If you
are saving hardcopy files for use with ImageMagick, for example, you may want
to select the window dump format. See Section 4.14.1: Window Dumps (UNIX
Systems Only) for details.) Click Apply in the Graphics Hardcopy panel to save your
modified settings.
i Do not click the Save... button in the Graphics Hardcopy panel. You will
save the hardcopy files from the Animate panel in the next step.
3. In the Animate panel, click the Write... button. In the resulting Select File dialog
box, specify the filename and click OK to save the files. (See Section 4.14.1: Win-
dow Dumps (UNIX Systems Only) for information about specifying filenames that
increment automatically as additional hardcopies are saved.) FLUENT will replay
the animation, saving each frame to a separate file.
MPEG File
It is also possible to save all of the frames of the animation in an MPEG file, which can
be viewed using an MPEG decoder such as mpeg play. Saving the entire animation to
an MPEG file will require less disk space than storing the individual window dump files
(using the hardcopy method), but the MPEG file will yield lower-quality images. To save
the animation to an MPEG file, follow these steps:
1. Select MPEG in the Write/Record Format drop-down list in the Animate panel.
2. In the Animate panel, click the Write... button. In the resulting Select File dialog
box, specify the filename and click OK to save the files.
FLUENT will replay the animation and save each frame to a separate scratch file,
and then it will combine all the files into a single MPEG file.
c Fluent Inc. September 29, 2006 28-95
Displaying Graphics
• For smoother animations, turn on the Double Buffering option in the Display Options
panel (see Section 28.2.7: Modifying the Rendering Options). This will reduce
screen flicker during graphics updates.
• When you are defining key frames, you must create all geometric objects that will
be used in the animation before you create any key frames. You cannot create a
key frame using one set of geometric objects and then generate a new geometry
(such as a vector plot) and include that in another key frame. Create all geometric
objects first, and then use the Display Properties panel to control the visibility of
the objects in each key frame (see Section 28.5.2: Controlling Visibility).
• When you play back an animation, the colormap used will be the one that is
currently active, not the one that was active during “recording.”
28-96
c Fluent Inc. September 29, 2006
28.7 Creating Videos
c Fluent Inc. September 29, 2006 28-97
Displaying Graphics
VTR Controller which enables computer software to control the recording process.
Two VTR controller models are supported by FLUENT: the V-LAN controller developed
by Videomedia, Inc., and the MiniVAS/MiniVAS-2 controller developed by the V.A.S.
Group. FLUENT assumes that your recording system is set up as shown in Figure 28.7.1
for a system with a V-LAN controller or as shown in Figure 28.7.2 for a system with a
MiniVAS controller.
Video
Composite Video
Video
Composite Video
28-98
c Fluent Inc. September 29, 2006
28.7 Creating Videos
1. Create an animation.
Create an Animation
When recording animations to video, you must first create your animation. It’s also a
good idea to play it back a couple times to make sure you are satisfied with it, and to save
the animation key frame definitions to a file for later use (see Section 28.6.1: Creating an
Animation).
When you are ready to record the animation, you can select Video in the Write/Record
Format drop-down list found in the Animate panel. When you do so, the name of the
Write... button will change to Record..., and you can click Record... to display the Video
Control panel (Figure 28.7.3) used for video creation. This panel can also be displayed
by selecting the Video Control... menu item in the Display pull-down menu.
c Fluent Inc. September 29, 2006 28-99
Displaying Graphics
28-100
c Fluent Inc. September 29, 2006
28.7 Creating Videos
1. Select the protocol used by your VTR controller using the Protocol drop-down list.
2. Check the settings for your VTR controller by clicking on the Settings... button.
For V-LAN, this will display the V-LAN Settings panel, and for MiniVAS, it will
display the MiniVAS Settings panel.
3. Select the RS-232 serial port used to connect the VTR controller to your computer.
Usually, the serial port is identified by a file name such as /dev/ttyd1 for serial
port 1, and /dev/ttyd2 for serial port 2. If this is the case on your system, you can
simply set the value of Port #; otherwise, you can type a new file name in the Serial
Port text entry. Make sure that you have the proper UNIX read/write permissions
for the file.
4. Open a connection to the VTR controller by clicking the Open button. If successful,
a line will be printed out in the console window that reports the VTR controller
protocol version and the VTR device ID.
Preblack is the process of formatting a tape by laying down a time code onto the tape.
A tape must be formatted before any frame-accurate editing, including frame-by-
frame animation, can be performed. During this process, one usually records a
black video signal onto the tape as well, thus the name “preblack”. When you
select this option, the current graphics window will be cleared to black. You can
use the window to send your black video signal to the VTR.
i Remember that when you preblack a previously formatted tape, a new time
code will be written and any previously recorded video will be destroyed.
Live Action allows you to record a live FLUENT session which can be used for demon-
stration. This option requires your computer’s video hardware to have a scan
converter that will send the computer display image to your VTR system.
Animation will play an animation that you have created, and record it onto your VTR
system.
c Fluent Inc. September 29, 2006 28-101
Displaying Graphics
The Options... button in the Video Control panel is used to display the Animation Recording
Options panel (Figure 28.7.4):
28-102
c Fluent Inc. September 29, 2006
28.7 Creating Videos
There are two possible video sources that can be used for recording an animation: Screen
and Hardcopy. The choice of video source depends on what your video hardware/software
provides. Here is a description of each:
Screen can be used if your computer’s video hardware can send all or a portion of the
computer screen as a video signal to the VTR using a scan converter and associated
software. With this option, you are responsible for setting up the scan converter
and sending the video signal to the VTR.
Hardcopy instructs FLUENT to create a hardcopy of each frame of animation and send
the hardcopy file to the computer’s video hardware using a system command. This
option assumes that your computer’s video system includes a frame buffer that can
store an image and send it as a video signal to the video recording system.
When using the hardcopy option, a shell script will be called that will send the hardcopy
file to the video frame buffer. The default setting is videocmd, which is a shell script
that is included in your FLUENT distribution. It is located in path/Fluent.Inc/bin,
where path is the folder in which you have placed the release folder, Fluent.Inc. This
shell script will execute your system’s command to send an image file to the video frame
buffer. The script videocmd is set up to call the SGI system command memtovid. If
you have a different system, you must copy the shell script videocmd to a new file and
modify it to perform the proper task on your system (see the comments in videocmd for
details). You can specify the name of your shell script using the Video Command text
entry in the Animation Recording Options panel.
In order to send a hardcopy file of the proper format to the video frame buffer, you must
set up the hardcopy format using the Graphics Hardcopy panel, which can be displayed
by clicking the Hardcopy Options... button in the Animation Recording Options panel. If
you choose to perform a window dump to create the hardcopy file, the default window
dump command used will also be videocmd. You can change this setting to use your
own command. After setting the hardcopy options, click Apply instead of Save... in the
Graphics Hardcopy panel to apply the change.
Once you have set up the hardcopy format and system command, you can test the
configuration by sending the picture in the current graphics window to the video frame
buffer. This is done by clicking on Preview in the Animation Recording Options panel.
(Note that this is another way to send a black video signal to your VTR when you are
preblacking a tape).
c Fluent Inc. September 29, 2006 28-103
Displaying Graphics
There are two methods for recording an animation: real-time and frame-by-frame. These
methods are described below:
Real-Time can be used if the animation playback speed is fast enough to provide a
reasonably smooth animation in real-time. This is only available if the selected
record source is Screen. In this mode, FLUENT will simply turn VTR recording on,
play the animation, then stop the recording.
28-104
c Fluent Inc. September 29, 2006
28.7 Creating Videos
The video standard NTSC has a frame rate of 30 frames/sec (and the PAL standard
has a rate of 25 frames/sec). At the NTSC rate, a 150-frame animation will take only
5 seconds to play. To stretch out the animation, you can record the same animation
frame over 2 or more video frames. This is done by setting video frame hold counts for
the beginning, middle, and end of the animation, using the Animation Recording Options
panel controls described below:
Begin Hold specifies the number of video frames to hold the first animation frame.
It helps to hold the first frame for about 5 seconds (150 video frames for NTSC,
or 125 for PAL) so that the viewer can get accustomed to the picture before the
animation begins.
Frame Hold specifies the number of video frames to hold each animation frame, other
than the first and last. To slow down your recorded animation, try setting this
value to 2 or 3.
End Hold specifies the number of video frames to hold the last animation frame. You
may want to hold the last animation frame for about 5 seconds to provide closure.
Color Use these controls to ensure that all colors fall into the proper color space for
your video device. Also, for best results, set the saturation and brightness levels to
80% or less.
Window Size If you have a scan converter that converts a portion of the computer
screen, you can set the graphics window to a particular pixel size to match the scan
converter’s window size. You can also create a margin around the picture in the
window to keep unwanted parts of the screen (such as the window border) out of
the video image.
c Fluent Inc. September 29, 2006 28-105
Displaying Graphics
28-106
c Fluent Inc. September 29, 2006
28.7 Creating Videos
2. Select a preblack recording session by clicking on the Preblack radio button in the
Video Control panel.
3. Send the VTR a black video signal using a scan converter or a hardcopy by clicking
on the Preview button in the Animation Recording Options panel.
4. Click the Preblack button in the VTR Controls section of the Video Control panel to
start the preblacking.
c Fluent Inc. September 29, 2006 28-107
Displaying Graphics
XY Plots
An XY (abscissa/ordinate) plot is a line and/or symbol chart of data. Virtually any
defined variable or function is accessible for this type of plot. Furthermore, you may read
in an externally-generated data file in order to compare your results with experimental
data. You can also use the XY-plot facility to plot out the residual histories of variables,
or the time histories if you have a transient problem.
FLUENT provides tools for controlling many aspects of the XY plot, including background
color, legend, and axis and curve attributes. Figure 28.8.1 shows a sample XY plot.
28-108
c Fluent Inc. September 29, 2006
28.8 Histogram and XY Plots
Zones/Surfaces
symmetry-3 7.00e-02
wall-4
6.00e-02
5.00e-02
4.00e-02
Static 3.00e-02
Pressure
(pascal) 2.00e-02
1.00e-02
-2.24e-10
-1.00e-02
-0.08 -0.06 -0.04 -0.02 -1.79e-09 0.02 0.04 0.06 0.08
Position (m)
Static Pressure
To differentiate the data being displayed, you can customize the pattern, color and weight
of the data lines and the shape, color, and size of the data markers.
When an XY plot is displayed in the graphics window, you can use any of the mouse
buttons to add text annotations to the plot. (See Section 28.2.4: Adding Text Using the
mouse-annotate Function for more information about the mouse-annotate function.) In
addition, you can use any of the mouse buttons to move and resize the legend box.
Histograms
A histogram plot is a bar chart of data. It is a representation of a frequency of distribution
by means of rectangles of widths representing class intervals and with areas proportional
to the corresponding frequencies. When a histogram plot is displayed in the graphics
window, you can use any of the mouse buttons to add text annotations to the plot. (See
Section 28.2.4: Adding Text Using the mouse-annotate Function for more information
about the mouse-annotate function.) Figure 28.8.2 shows a sample histogram.
c Fluent Inc. September 29, 2006 28-109
Displaying Graphics
25
22.5
20
17.5
15
12.5
10
7.5
2.5
0
0.94 0.96 0.98 1 1.02 1.04 1.06 1.08
Density (kg/m3)
Histogram of Density
See Section 29.7: Histogram Reports for information about printing histogram reports.
For more information on histogram plots, see Section 28.8.7: Histograms.
28-110
c Fluent Inc. September 29, 2006
28.8 Histogram and XY Plots
c Fluent Inc. September 29, 2006 28-111
Displaying Graphics
3. Choose the surface(s) on which to plot data in the Surfaces list. Note that if you
are plotting a variable as a function of position along the length of a curvilinear
surface, you can select only one surface in the Surfaces list.
4. Set any of the options described below, or modify the attributes of the axes or
curves as described in Sections 28.8.8 and 28.8.9.
5. Click the Plot button to generate the XY plot in the active graphics window.
Note that you can use any of the mouse buttons to annotate the XY plot (see Sec-
tion 28.2.4: Adding Text to the Graphics Window) or move the plot legend from its
default position in the upper left corner of the graphics window.
28-112
c Fluent Inc. September 29, 2006
28.8 Histogram and XY Plots
c Fluent Inc. September 29, 2006 28-113
Displaying Graphics
To add external data to your XY plot for comparison with your results, you must first
ensure that any external data files are in the format described in Section 28.8.5: XY Plot
File Format. You can then load the file(s) by clicking on the Load File... button and spec-
ifying the file(s) to be read in the resulting Select File dialog box (see Section 2.1.2: Select
File Dialog Box (UNIX or Linux)). Once a file has been loaded, its title will appear in
the File Data list. You can choose the data file(s) to be included in your plot from the
titles in this list.
To remove a file from the File Data list, select it and then click the Free Data button.
28-114
c Fluent Inc. September 29, 2006
28.8 Histogram and XY Plots
In FLUENT you can choose to display the computed cell-center values or values that have
been interpolated to the nodes. By default, the Node Values option is turned on, and the
interpolated values are displayed. If you prefer to display the cell values, turn the Node
Values option off. Node-averaged data curves may be somewhat smoother than curves
for cell values.
If you are displaying the XY plot to show the effect of a porous medium or fan, to depict
a shock wave, or to show any other discontinuities or jumps in the plotted variable, you
should use cell values; if you use node values in such cases, the discontinuity will be
smeared by the node averaging for graphics and will not be shown clearly in the plot.
Once you have generated an XY plot, you may want to save the plot data to a file. You
can read this file into FLUENT at a later time and plot it alone using the File XY Plot
panel, as described in Section 28.8.3: XY Plots of File Data, or add it to a plot of solution
data, as described above.
To save the plot data to a file, turn on the Write to File option in the Solution XY Plot
panel. The Plot button will change to the Write... button. Clicking on the Write... button
will invoke the Select File dialog box, in which you can specify a name and save a file
containing the plot data. The format of this file is described in Section 28.8.5: XY Plot
File Format.
To sort the saved plot data in order of ascending x axis value, turn on the Order Points
option in the Solution XY Plot panel before you click the Write... button. This option is
available only when the Write to File option is turned on.
c Fluent Inc. September 29, 2006 28-115
Displaying Graphics
1. Load each external data file (with the format described in Section 28.8.5: XY Plot
File Format) by entering its name in the text field beneath the Files list and clicking
on the Add... button (or pressing <Enter>). If you click Add... without specifying
a name under Files (or if you specify an incorrect or duplicate name), a Select File
dialog box will appear and you can specify one or more files there. When a file is
loaded, its name will appear in the Files list and its title will appear in the Legend
Entries list. Data in all loaded files will be plotted, so if you decide not to include
one of the loaded files in the plot you must select it and click the Delete button to
remove it.
2. Set any of the options described below, or modify the attributes of the axes or
curves as described in Sections 28.8.8 and 28.8.9.
3. Click the Plot button to generate an XY plot of the data associated with all loaded
files.
28-116
c Fluent Inc. September 29, 2006
28.8 Histogram and XY Plots
The plot title will appear in the caption box at the bottom of the graphics window. You
can modify the plot title by changing the entry in the Plot Title text box in the File XY Plot
panel (or by editing the caption box manually, as described in Section 28.2.3: Changing
the Legend Display).
When you plot data from a single file, the y axis of the plot will be labeled by the “legend
entry.” To modify this label, click on the text in the Legend Entries list, edit the text that
appears in the text field below the list, and then click the Change Legend Entry button
(or hit <Enter>). When you next plot the data, the new legend entry will appear in the
plot.
When you plot data from more than one file, a legend will appear in the upper left corner
of the graphics window. By default, the legend will have no title. If you want to add a
title, enter it in the Legend Title text field. The title will appear above the legend the
next time you plot the data.
Note that you can use any of the mouse buttons to annotate the plot (see
Section 28.2.4: Adding Text to the Graphics Window) or move the legend from its default
position.
c Fluent Inc. September 29, 2006 28-117
Displaying Graphics
1. Specify the variable to be averaged by typing its name when FLUENT prompts you
for averages of. You can press <Enter> to see a list of available variables.
2. Choose the surface on which to plot data by typing its name when FLUENT prompts
you for on surface.
i Use the Grid Display panel to see a list of surfaces on which you can plot
data. (Pressing <Enter> will not show a list of available surfaces.)
3. Specify the number of bands to be created. (The default number of bands is 5.)
FLUENT will create circumferential bands by isoclipping the specified surface into equal
bands of radial or axial coordinate. An example of the iso-clips created is shown in
Figure 28.8.8. (The radial or axial coordinate is derived from the rotation axis of the
Reference Zone specified in the Reference Values panel.)
iso-clips
X
Z Y
FLUENT then computes the average of the variable for each band using the area-weighted
average described in Section 29.5.1: Computing Surface Integrals. Finally, it plots the
average of the variable as a function of radial or axial coordinate. Figure 28.8.9 shows
an example of an XY plot of circumferential averages using radial coordinates.
28-118
c Fluent Inc. September 29, 2006
28.8 Histogram and XY Plots
1.02e+05
1.02e+05
1.02e+05
1.01e+05
1.00e+05
Total 1.00e+05
Pressure
9.95e+04
9.90e+04
9.85e+04
9.80e+04
9.75e+04
0.17 0.18 0.19 0.2 0.21 0.22 0.23 0.24 0.25 0.26
Radius
Y
X
Z
Circumferential Averages
When the circumferential average plot is generated, FLUENT also creates a new surface
called radial-bands or axial-bands, which contains the iso-clips described above (see
Figure 28.8.8). You can use this surface to generate other XY plots. For more information
on the creation and manipulation of surfaces, see Chapter 27: Creating Surfaces for
Displaying and Reporting Data.
c Fluent Inc. September 29, 2006 28-119
Displaying Graphics
• Cortex variables and pairs of abscissa/ordinate data for each curve in the plot
((xy/key/label "pressure-inlet-8")
(xy/key/visible? #t)
(xy/line/pattern "--")
0.0000 230.097
0.0625 160.551
0.1250 149.205
...
0.5000 183.007
)
Similar to the case file format, parentheses bound the various pieces of information in
the formatted, ASCII file. The title (title " ") and labels (labels " ") must be first
in the file, then each curve has information in the form ((cxvar value) x y x y x y
...), where there may be zero or more Cortex variables defined for each curve.
You do not have to include Cortex variables to import your XY data. For example,
you may wish to import experimental data to compare with the FLUENT solution. The
following example would use the default Cortex variables in the code to define the data.
After you import the file into FLUENT, you could then use the Axes panel and the Curves
panel to customize the XY plot, as described in Sections 28.8.8 and 28.8.9.
28-120
c Fluent Inc. September 29, 2006
28.8 Histogram and XY Plots
28.8.7 Histograms
Histograms can be displayed in a graphics window using a bar chart (or printed in the
console window, as described in Section 29.7: Histogram Reports). The abscissa of the
chart is the desired solution quantity and the ordinate is the percentage of the total
number of cells.
Plot −→Histogram...
c Fluent Inc. September 29, 2006 28-121
Displaying Graphics
1. Choose the scalar quantity to be plotted in the Histogram Of drop-down list. Select
a category in the upper list and then select the desired quantity in the lower list.
(See Chapter 30: Field Function Definitions for an explanation of the variables in
the list.)
2. Set the number of data intervals that will be plotted in the histogram in the Divisions
field. By default there will be 10 intervals (“bars”) in the histogram plot. If
you want to resolve the histogram plot to finer intervals, increase the number of
Divisions. You may want to click the Compute button to update the Min and Max
fields when you are trying to decide how many divisions to plot.
3. Select the face or cell zone under Zones for which you want results plotted or
printed. If all zones are selected, then the entire domain will be plotted. You can
also plot histograms based on the selected Zone Types.
4. Set the option described below, if desired, or modify the attributes of the axes or
curves as described in Section 28.8.8: Modifying Axis Attributes and Section 28.8.9: Mod-
ifying Curve Attributes.
5. Click the Plot button to generate the histogram plot in the active graphics window.
6. Click the Print button to print out your histogram results on individual zones, or
the entire domain. Similarly, you can click the Compute button to calculate your
histogram results on individual zones, or the entire domain.
By default, the range of values included in the histogram plot is automatically set to the
range of values in the entire domain for the selected variable. If you want to focus in on
a smaller range of values, you can restrict the range to be displayed.
To manually set the range of values, turn off the Auto Range option in the Histogram
panel. The Min and Max fields will become editable, and you can enter the new range of
values to be plotted. To show the default range at any time, click the Compute button
and the Min and Max fields will be updated.
You can also choose to base the minimum and maximum values on the range of values
on the selected surfaces, rather than in the entire domain. To do this, turn off the Global
28-122
c Fluent Inc. September 29, 2006
28.8 Histogram and XY Plots
Range option in the Histogram panel. The Min and Max values will be updated when you
next click Compute.
To open the Axes panel for a particular plot type, click the Axes... button in the appro-
priate panel (e.g., the Solution XY Plot, File XY Plot, or Residual Monitors panel).
c Fluent Inc. September 29, 2006 28-123
Displaying Graphics
1. Choose the axis for which you want to modify the attributes by selecting X or Y
under Axis.
2. Set the desired parameters.
3. Click Apply and then choose the other axis and repeat the steps, if desired.
Your changes to the axis attributes will appear in the graphics window the next time you
generate a plot.
If you want to modify the label for the axis, you can do so by editing the Label text field
in the Axes panel.
You can change the format of the labels that define the primary data divisions on the
axes using the controls under the Number Format heading in the Axes panel.
• To display the real value with an integral and fractional part (e.g., 1.0000), select
float in the Type drop-down list. You can set the number of digits in the fractional
part by changing the value of Precision.
• To display the real value with a mantissa and exponent (e.g., 1.0e-02), select ex-
ponential in the Type drop-down list. You can define the number of digits in the
fractional part of the mantissa in the Precision field.
• To display the real value with either float or exponential form, depending on the
size of the number and the defined Precision, choose general in the Type drop-down
list.
By default, decimal scaling is used for both axes (except for the y axis in residual plots,
which uses a log scale). If you want to change to a logarithmic scale, turn on the Log
option in the Axes panel. To return to a decimal scale, turn off the Log option. Note that
when you are using the logarithmic scale, the Range values are the exponents; to specify
a logarithmic range from 1 to 10000, for example, you will specify a minimum value of 1
and a maximum value of 4.
28-124
c Fluent Inc. September 29, 2006
28.8 Histogram and XY Plots
By default, the extents of the axis will range from the minimum value plotted to the
maximum value plotted. If you want to change the range or extents of the axis, you can
do so by turning off the Auto Range option in the Axes panel and setting the new Minimum
and Maximum values for the Range. This feature is useful when you are generating a series
of plots and you want the extents of one or both of the axes to be the same, even if the
range of plotted values differs. (For example, if you are generating plots of temperature
on several different wall zones, you might want the minimum and maximum temperature
on the y axis to be the same in every plot so that you can easily compare one plot with
another. You would determine a temperature range that includes the temperatures on
all walls, and use that as the range for the y axis in each plot.)
FLUENT allows you to display major and/or minor rules on the axes. Major and mi-
nor rules are the horizontal or vertical lines that mark, respectively, the primary and
secondary data divisions and span the whole plot window to produce a “grid.” To add
major or minor rules to the plot, turn on the Major Rules or Minor Rules option. You can
then specify a color and weight for each type of rule. Under the Major Rules or Minor
Rules heading, select the desired color for the lines in the Color drop-down list and specify
the line thickness in the Weight field. A line of weight 1.0 is normally 1 pixel wide. A
weight of 2.0 would make the line twice as thick (i.e., 2 pixels wide).
c Fluent Inc. September 29, 2006 28-125
Displaying Graphics
To open the Curves panel for a particular plot type, click the Curves... button in the
appropriate panel (e.g., Solution XY Plot, File XY Plot, or Residual Monitors panel).
1. Specify the curve for which you want to modify the attributes by increasing or
decreasing the Curve # counter. The curves are numbered sequentially, starting
from 0. For example, if you were plotting flow-field values on two surfaces, the first
surface would be curve 0, and the second, curve 1. If the plot contains only one
curve, the Curve # is set to 0 and is not editable.
3. Click Apply and then choose another Curve # and repeat the steps, if desired.
28-126
c Fluent Inc. September 29, 2006
28.8 Histogram and XY Plots
Your changes to the curve attributes will appear in the graphics window the next time
you generate a plot.
You can control the pattern, color, and weight of the line using the controls under the
Line Style heading:
• To set the line pattern for the curve, choose one of the items in the Pattern drop-
down list. Except for center and phantom lines, the list displays examples of the
pattern choices. A center line alternates a very long dash and a short dash and
a phantom line alternates a very long dash and a double short dash. Note that
selecting the second item in the drop-down list, represented by 4 short dashes, will
result in a solid-line curve.
i If you do not want the data points to be connected by any type of line
(i.e., if you plan to use just markers), select the “blank” choice, which is
the first item in the Pattern list.
• To set the color of the line, pick one of the choices in the Color drop-down list.
• To define the line thickness, set the value of Weight. A line weight of 1.0 is normally
1 pixel wide. Therefore, a weight of 2.0 would make the line twice as thick (i.e., 2
pixels wide).
You can control the symbol, color, and size for the data marker using the controls under
the Marker Style heading:
• To set the symbol used to mark data, choose one of the items in the Symbol drop-
down list. The list displays examples of the symbol choices. For example, in plotting
pressure-coefficient data on the upper and lower surfaces of an airfoil, the symbol
/*\ (filled-in upward-pointing triangle) could be used for the marker representing
the upper surface data, and the symbol \*/ (filled-in downward-pointing triangle)
could be used for the marker representing the lower surface data.
c Fluent Inc. September 29, 2006 28-127
Displaying Graphics
To see what a particular setting will look like in the plot, you can preview it in the Sample
window of the Curves panel. A single marker and/or line will be shown with the specified
style attributes.
i The turbo coordinates can only be generated properly if the correct rota-
tion axis is specified in the boundary conditions panel for the fluid zone
(see Section 7.17.1: Specifying the Rotation Axis).
28-128
c Fluent Inc. September 29, 2006
28.9 Turbomachinery Postprocessing
To define the turbomachinery topology in FLUENT, you will use the Turbo Topology panel
(Figure 28.9.1).
Define −→Turbo Topology...
The steps for defining topology for your turbomachinery application are as follows:
1. Select a boundary type under Boundaries (e.g., Hub in Figure 28.9.1). The boundary
types are described in detail below.
2. In the Surfaces list, choose the surface(s) that represent the boundary type you
selected in step 1.
If you want to select several surfaces of the same type, you can select that type
in the Surface Types list instead. All of the surfaces of that type will be selected
automatically in the Surfaces list (or deselected, if they are all selected already).
Another shortcut is to specify a Surface Name Pattern and click Match to select
surfaces with names that match the specified pattern. For example, if you spec-
ify wall*, all surfaces whose names begin with wall (e.g., wall-1, wall-top) will be
selected automatically. If they are all selected already, they will be deselected. If
you specify wall?, all surfaces whose names consist of wall followed by a single
character will be selected (or deselected, if they are all selected already).
c Fluent Inc. September 29, 2006 28-129
Displaying Graphics
3. Repeat the steps above for all the boundary types that are relevant for your model.
i For a complete turbo topology definition the surfaces defined as inlet, out-
let, hub, casing, periodic, theta min, and theta max (if available) should
form a closed domain.
4. Enter a name in the Turbo Topology Name field or keep the default name.
7. To view a defined topology, select the topology from the Turbo Topology Name drop-
down list and click Display. The defined topology is shown in the active graphics
window. This allows you to visually check the boundaries to ensure that you have
defined them correctly.
8. To edit a defined topology, select the topology from the Turbo Topology Name
drop-down list, make the appropriate changes and click Modify.
9. To remove a defined topology, select the topology from the Turbo Topology Name
drop-down list and click Delete.
i Note that the topology setup that you define will be saved to the case file
when you save the current model. Thus, if you read this case back into
FLUENT, you do not need to set up the topology again.
However, use of a boundary condition file to set the turbo topology for two similar cases
may not work properly. In that case you need to set the turbo topology manually.
28-130
c Fluent Inc. September 29, 2006
28.9 Turbomachinery Postprocessing
Boundary Types
The boundaries for the turbomachinery topology are as follows (see Figure 28.9.2):
Hub is the wall zone(s) forming the lower boundary of the flow passage (generally
toward the axis of rotation of the machine).
Casing is the wall zone(s) forming the upper boundary of the flow passage (away from
the axis of rotation of the machine).
Theta Min and Theta Max are the wall zones at the minimum and maximum angular
(θ) positions on a circumferential boundary.
Inlet is the inlet zone(s) through which the flow enters the passage.
Outlet is the outlet zone(s) through which the flow exits the passage.
Blade is the wall zone(s) that defines the blade(s) (if any). Note that these zones
cannot be attached to the circumferential boundaries. For this situation, use Theta
Min and Theta Max to define the blade.
inlet outlet
blade
theta min (wall)
c Fluent Inc. September 29, 2006 28-131
Displaying Graphics
28-132
c Fluent Inc. September 29, 2006
28.9 Turbomachinery Postprocessing
4. If you want to save the reported values to a file, click Write... and specify a name
for the file in the resulting Select File dialog box.
where A is the area of the inlet or outlet, ~v is the velocity vector, ρ is the fluid density,
and n̂ is a unit vector normal to the surface.
Swirl Number
where r is the radial coordinate (specifically, the radial distance from the axis of rotation),
vθ is the tangential velocity, ~v is the velocity vector, n̂ is a unit vector normal to the
surface, S denotes the inlet or outlet, and
1Z
r= rdS (28.9-3)
S S
c Fluent Inc. September 29, 2006 28-133
Displaying Graphics
where pt is the total pressure, A is the area of the inlet or outlet, ~v is the velocity vector,
ρ is the fluid density, and n̂ is a unit vector normal to the surface.
where Tt is the total temperature, A is the area of the inlet or outlet, ~v is the velocity
vector, ρ is the fluid density, and n̂ is a unit vector normal to the surface.
28-134
c Fluent Inc. September 29, 2006
28.9 Turbomachinery Postprocessing
in the tangential direction, where vz , vr , and vθ represent the axial, radial, and tangential
velocities, respectively.
The mass-averaged flow angles are defined as follows:
Z
(ρvr )dA
αr,m = tan−1 A
Z
(28.9-10)
(ρvz )dA
A
c Fluent Inc. September 29, 2006 28-135
Displaying Graphics
pt,i − pt,o
KL = 1 (28.9-12)
2
ρv 2i
where pt,i is the mass-averaged total pressure at the inlet, pt,o is the mass-averaged total
pressure at the outlet, ρ is the density of the fluid, and v i is the mass-averaged velocity
magnitude at the inlet.
The normalized loss coefficient is defined as follows:
pt,i − pt,o
KL,n = (28.9-13)
pt,i − ps,o
Axial Force
where S represents the surfaces comprising all rotating parts, τ is the total stress tensor
(pressure and viscous stresses), n̂ is a unit vector normal to the surface, and â is a unit
vector parallel to the axis of rotation.
Torque
where S represents the surfaces comprising all rotating parts, τ is the total stress tensor,
n̂ is a unit vector normal to the surface, ~r is the position vector, and â is a unit vector
parallel to the axis of rotation.
28-136
c Fluent Inc. September 29, 2006
28.9 Turbomachinery Postprocessing
The definitions of the efficiencies for compressible and incompressible flows in pumps and
compressors are described in this section. Efficiencies for turbines are described later in
this section. Consider a pumping or compression device operating between states 1 and 2
as illustrated in Figure 28.9.4. Work input to the device is required to achieve a specified
compression of the working fluid.
1 2
Assuming that the processes are steady state, steady flow, and that the mass flow rates
are equal at the inlet and outlet of the device (no film cooling, bleed air removal, etc.),
the efficiencies for incompressible and compressible flows are as described below.
Incompressible Flows
For devices such as liquid pumps and fans at low speeds, the working fluid can be treated
as incompressible. The efficiency of a pumping process with an incompressible working
fluid is defined as the ratio of the head rise achieved by the fluid to the power supplied
to the rotor/impeller. This can be expressed as follows:
Q(pt2 − pt1 )
η= (28.9-16)
Tω
where
Q = volumetric flow rate
pt = total pressure
T = net torque acting on the rotor/impeller
ω = rotational speed
This definition is sometimes called the “hydraulic efficiency”. Often, other efficiencies
are included to account for flow leakage (volumetric efficiency) and mechanical losses
along the transmission system between the rotor and the machine providing the power
c Fluent Inc. September 29, 2006 28-137
Displaying Graphics
for the rotor/impeller (mechanical efficiency). Incorporating these losses then yields a
total efficiency for the system.
Compressible Flows
For gas compressors that operate at high speeds and high pressure ratios, the compress-
ibility of the working fluid must be taken into account. The efficiency of a compression
process with a compressible working fluid is defined as the ratio of the work required
for an ideal (reversible) compression process to the actual work input. This assumes the
compression process occurs between states 1 and 2 for a given pressure ratio. In most
cases, the pressure ratio is the total pressure at state 2 divided by the total pressure at
state 1. If the process is also adiabatic, then the ideal state at 2 is the isentropic state.
From the foregoing definition, the efficiency for an adiabatic compression process can be
written as
ht2,i − ht1
ηc = (28.9-17)
ht2 − ht1
where
ht1 = total enthalpy at 1
ht2 = actual total enthalpy at 2
ht2,i = isentropic total enthalpy at 2
If the specific heat is constant, Equation 28.9-17 can also be expressed as
Tt2,i − Tt1
ηc = (28.9-18)
Tt2 − Tt1
where
Tt1 = total temperature at 1
Tt2 = actual total temperature at 2
Tt2,i = isentropic total temperature at 2
Using the isentropic relation
! γ−1
Tt2,i pt2 γ
= (28.9-19)
Tt1 pt1
where γ is the ratio of specific heats specified in the Reference Values panel.
28-138
c Fluent Inc. September 29, 2006
28.9 Turbomachinery Postprocessing
Note that this definition requires data only for the actual states 1 and 2.
Compressor designers also make use of the polytropic efficiency when comparing one
compressor with another. The polytropic efficiency is defined as follows:
γ−1
γ
ln ppt2
t1
ηc,p =
Tt2
(28.9-21)
ln Tt1
Consider a turbine operating between states 1 and 2 in Figure 28.9.5. Work is extracted
from the working fluid as it expands through the turbine. Assuming that the processes
are steady state, steady flow, and that the mass flow rates are equal at the inlet and
outlet of the device (no film cooling, bleed air removal, etc.), turbine efficiencies for
incompressible and compressible flows are as described below.
1 2
c Fluent Inc. September 29, 2006 28-139
Displaying Graphics
Incompressible Flows
The efficiency of a turbine with an incompressible working fluid is defined as the ratio of
the work delivered to the rotor to the energy available from the fluid stream. This ratio
can be expressed as follows:
Tω
η= (28.9-22)
Q(pt1 − pt2 )
where
Q = volumetric flow rate
pt = total pressure
T = net torque acting on the rotor/impeller
ω = rotational speed
Note the similarity between this definition and the definition of incompressible compres-
sion efficiency (Equation 28.9-16). As with hydraulic pumps and compressors, other
efficiencies (e.g., volumetric and mechanical efficiencies) can be defined to account for
other losses in the system.
Compressible Flows
For high-speed gas turbines operating at large expansion pressure ratios, compressibility
must be accounted for. The efficiency of an expansion process with a compressible work-
ing fluid is defined as the ratio of the actual work extracted from the fluid to the work
extracted from an ideal (reversible) process. This assumes that the expansion process
occurs between states 1 and 2 for a given pressure ratio. In contrast to the compression
process, the pressure ratio for expansion is the total pressure at state 1 divided by the
total pressure at state 2. If the process is also adiabatic, then the ideal state at 2 is the
isentropic state.
From the foregoing definition, the efficiency for an adiabatic expansion process through
a turbine can be written as
ht1 − ht2
ηc = (28.9-23)
ht1 − ht2,i
where
ht1 = total enthalpy at 1
ht2 = actual total enthalpy at 2
ht2,i = isentropic total enthalpy at 2
28-140
c Fluent Inc. September 29, 2006
28.9 Turbomachinery Postprocessing
Tt1 − Tt2
ηe = (28.9-24)
Tt1 − Tt2,i
where
Tt1 = total temperature at 1
Tt2 = actual total temperature at 2
Tt2,i = isentropic total temperature at 2
Using the isentropic relation
! γ−1
Tt1 pt1 γ
= (28.9-25)
Tt2,i pt2
Tt1 − Tt2
ηe = "
γ−1
# (28.9-26)
pt2 γ
Tt1 1 − pt1
Note that this definition requires data only for the actual states 1 and 2.
As with compressors, one may also define a polytropic efficiency for turbines. The poly-
tropic efficiency is defined as follows:
Tt1
ln
Tt2
ηe,p = γ−1
pt1
(28.9-27)
γ
ln pt2
c Fluent Inc. September 29, 2006 28-141
Displaying Graphics
The basic steps for generating a turbo averaged contour plot are as follows:
1. Select All or a specific predefined turbomachinery topology from the Turbo Topology
drop-down list.
2. Select the variable or function to be displayed in the Contours of drop-down list.
First select the desired category in the upper list; you may then select a related
quantity in the lower list. (See Section 28.9.7: Turbomachinery-Specific Variables
for a list of turbomachinery-specific variables, and see Chapter 30: Field Function
Definitions for an explanation of the variables in the list.)
3. Specify the number of contours in the Levels field. The maximum number of levels
allowed is 100.
4. Set any of the options described below.
5. Click the Display button to draw the specified contours in the active graphics win-
dow.
The resulting display will include the specified number of contours of the selected variable,
with the magnitude on each one determined by equally incrementing between the values
shown in the Min and Max fields.
28-142
c Fluent Inc. September 29, 2006
28.9 Turbomachinery Postprocessing
Note that the Min and Max values displayed in the panel are the minimum and maximum
averaged values. These limits will in general be different from the global Domain Min and
Domain Max, which are also displayed for your reference (see Figure 28.9.6).
1.80e+00
1.63e+00
1.45e+00
1.28e+00
1.10e+00
Y
Z X
9.24e-01
c Fluent Inc. September 29, 2006 28-143
Displaying Graphics
The basic steps for generating a turbo 2D contour plot are as follows:
i If shroud and hub are the curved surfaces, the iso-surface very close to them
may contain void spaces as FLUENT displays only a plane cut surface.
3. Select the variable or function to be displayed in the Contours of drop-down list.
First select the desired category in the upper list; you may then select a related
quantity in the lower list. (See Section 28.9.7: Turbomachinery-Specific Variables
for a list of turbomachinery-specific variables, and see Chapter 30: Field Function
Definitions for an explanation of the variables in the list.)
4. Specify the number of contours in the Levels field. The maximum number of levels
allowed is 100.
5. Click the Display button to draw the specified contours in the active graphics win-
dow.
28-144
c Fluent Inc. September 29, 2006
28.9 Turbomachinery Postprocessing
The resulting display will include the specified number of contours of the selected variable,
with the magnitude on each one determined by equally incrementing between the values
shown in the Min and Max fields.
c Fluent Inc. September 29, 2006 28-145
Displaying Graphics
The basic steps for generating a turbo averaged XY plot are as follows:
1. Select the variable or function to be plotted in the Y Axis Function drop-down list.
First select the desired category in the upper list; you may then select a related
quantity in the lower list. (See Section 28.9.7: Turbomachinery-Specific Variables
for a list of turbomachinery-specific variables, and see Chapter 30: Field Function
Definitions for an explanation of the variables in the list.)
2. Select All or a specific predefined turbomachinery topology from the Turbo Topology
drop-down list.
3. Select the variable or function to be plotted in the X Axis Function drop-down list.
The choices are Hub to Casing Distance and Meridional Distance.
4. Specify the desired value in the Fractional Distance field. The definition of the
fractional distance depends on your selection of X Axis Function:
• If you selected Hub to Casing Distance, the fractional distance is Inlet to Outlet.
• If you selected Meridional Distance, the fractional distance is Hub to Casing.
5. (optional) Modify the attributes of the axes or curves as described in Sections 28.8.8
and 28.8.9.
6. Click the Plot button to generate the XY plot in the active graphics window.
Note that you can use any of the mouse buttons to annotate the XY plot (see
Section 28.2.4: Adding Text to the Graphics Window).
If you wish to write the XY data to a file, follow these steps instead of Step 5 above:
1. Turn on the Write to File option. The Plot button will change to the Write... button.
2. Click Write....
3. In the resulting Select File dialog box, specify a name for the plot file and save it.
28-146
c Fluent Inc. September 29, 2006
28.9 Turbomachinery Postprocessing
Turbo −→Options...
To set the current topology, select a topology from the Current Topology drop-down list
and select OK.
• Meridional Coordinate
• Spanwise Coordinate
• Pitchwise Coordinate
These variables are contained in the Grid... category of the variable selection drop-down
list. See Chapter 30: Field Function Definitions for their definitions.
c Fluent Inc. September 29, 2006 28-147
Displaying Graphics
• The FLUENT FFT module can only read inputs files in the FLUENT monitor and
x-y file formats.
• The FLUENT FFT module assumes that the input data have been sampled at equal
intervals and are consecutive (in the order of increasing time).
• The lowest frequency that the FFT module can pick up is given by 1/t, where t is
the total sampling time. If the sampled sequence contains frequencies lower than
this, these frequencies will be aliased into higher frequencies.
• The highest frequency that the FFT module can pick up is 1/(2dt), where dt is the
sampling interval (or time step).
28-148
c Fluent Inc. September 29, 2006
28.10 Fast Fourier Transform (FFT) Postprocessing
28.10.2 Windowing
The discrete FFT algorithm is based on the assumption that the time-sequence data
passed to the FFT corresponds to a single period of a periodically repeating signal. Since,
in most situations, the first and the last data points will not coincide, the repeating signal
implied in the assumption can often have a large discontinuity. The large discontinuity
produces high-frequency components in the resulting Fourier modes, causing an aliasing
error. You can condition the input signal before the transform by “windowing” it, in
order to avoid this problem.
Suppose that we have N consecutive discrete (time-sequence) data sampled with a con-
stant interval, ∆t:
Windowing is done by multiplying the original input data (φj ) by a window function,
Wj :
Hanning’s window:
(
0.5[1 − cos( 8πj
N
)] j ≤ N8 , j ≥ 7N
8
Wj = N 7N (28.10-4)
1 8
< j < 8
Barlett’s window:
8j
j ≤ N8
N
j
Wj = 8(1 − N
) j ≥ 7N8
(28.10-5)
N 7N
1 8
< j < 8
Blackman’s window:
(
0.42 − 0.5 cos( 8πj
N
) + 0.08 cos( 16πj
N
) j ≤ N8 , j ≥ 7N
8
Wj = N (28.10-6)
1 8
< j < 7N 8
These window functions preserve a large fraction (3/4) of the original data, affecting only
1/4 of the data on both ends.
c Fluent Inc. September 29, 2006 28-149
Displaying Graphics
N −1
φ̂n e2πikn/N
X
φk = k = 0, 1, 2, ...(N − 1) (28.10-7)
n=0
where φ̂n are the discrete Fourier coefficients, which can be obtained from
−1
1 NX
φ̂n = φk e−2πikn/N n = 0, 1, 2, ...(N − 1) (28.10-8)
N k=0
Equation 28.10-7 and Equation 28.10-8 form a Fourier transform pair that allows us to
determine one from the other.
Note that when we follow the convention of varying n from 0 to N −1 in Equation 28.10-7
or Equation 28.10-8 instead of from −N/2 to N/2, the range of index 1 ≤ n ≤ N/2 − 1
corresponds to positive frequencies, and the range of index N/2 + 1 ≤ n ≤ N − 1
corresponds to negative frequencies. n = 0 still corresponds to zero frequency.
For the actual calculation of the transforms, FLUENT adopts the so-called fast Fourier
transform (FFT) algorithm which significantly reduces operation counts in comparison
to the direct transform. Furthermore, unlike most FFT algorithms in which the number
of data should be a power of 2, the FFT utility in FLUENT employs a prime-factor algo-
rithm [372]. The number of data points permissible in the prime-factor FFT algorithm
is any products of mutually prime factors from the set 2,3,4,5,7,8,9,11,13,16, with a max-
imum value of 720720 = 5 × 7 × 9 × 11 × 13 × 16. Thus, the prime-factor FFT preserves
the original data better than the conventional FFT.
Just prior to computing the transform, FLUENT determines the largest permissible num-
ber of data points based on the prime factors, discarding the rest of the data.
28-150
c Fluent Inc. September 29, 2006
28.10 Fast Fourier Transform (FFT) Postprocessing
Plot −→FFT...
c Fluent Inc. September 29, 2006 28-151
Displaying Graphics
The Plot/Modify Input Signal panel allows you to analyze a portion of the input sig-
nal, view input Signal Statistics (Min, Max, Mean, and Variance), and set title and label
information for the input signal data file.
28-152
c Fluent Inc. September 29, 2006
28.10 Fast Fourier Transform (FFT) Postprocessing
By default, the entire data set is analyzed. To analyze a portion of the input signal,
turn on the Clip to Range option and specify the data range by entering Min and Max
values under X-Axis Range. To have the y axis quantities reduced by the Mean value of
the relevant signal property, turn on the Subtract Mean Value option.
The Set Defaults button will reset the original values for the Min and Max fields under
X-Axis Range and turn off the Clip to Range option.
To aid in the signal analysis, whether for the entire input signal or for a certain range
of data, the Signal Statistics portion of the Plot/Modify Input Signal panel displays signal
information such as minimum, maximum, and average signal values, as well as signal
variance.
You can create a new title or edit the original title for the input signal plot by entering
a text string in the Signal Plot Title text box. Likewise, you can create a new axis label
or edit the original axis label by entering a text string into either the Y-Axis Label text
box or the X-Axis Label text box.
To apply any changes you have made in the Plot/Modify Input Signal panel and view a
plot of the input signal, click the Apply/Plot button.
c Fluent Inc. September 29, 2006 28-153
Displaying Graphics
You can choose the y-axis function using the Y Axis Function drop-down list. Available
options for the y-axis functions are as follows:
Power Spectral Density is the distribution of signal power in the frequency domain. It
has units of the signal magnitude squared (e.g., Pa2 ) and is defined as
E(fn ) = |φ̂0 |2
E(fn ) = 2 |φ̂n |2 n = 1, 2, ..., N/2 (28.10-9)
Magnitude (or amplitude) is the square root of the power spectral density.
q
A(fn ) ≡ E(fn ) n = 0, 1, 2, ..., N/2 (28.10-10)
Sound Pressure Level (dB) is the decibel level. For either general or acoustic data,
when the sampled data is pressure (e.g., static pressure or sound pressure), you can
compute the power in decibel units using
p02 (fn )
!
Lsp (fn ) = 10 log (dB) (28.10-11)
p2ref
where p02 (fn ) is the power spectral density of the pressure fluctuation and pref is
the reference acoustic pressure. See Section 21.3.1: Enabling the FW-H Acoustics
Model for details about specifying this parameter.
Sound Amplitude (dB) is exactly one-half of the sound pressure level in Equation 28.10-11.
This quantity is also applicable for acoustics analysis.
v
u 02
u p (fn )
Asp (fn ) = 10 log t 2 (dB) (28.10-12)
pref
28-154
c Fluent Inc. September 29, 2006
28.10 Fast Fourier Transform (FFT) Postprocessing
A-Weighted, Sound Pressure Level (dB A) is the calculated sound pressure level weighted
by the A-scale function to more closely approximate the frequency response of the
human ear. A-Weighting is applied for loudness levels below 55 phons (55 dB at
1 kHz) and is the most commonly used weighting function. See Figure 28.10.3 for
a graphical representation.
B-Weighted, Sound Pressure Level (dB B) is the calculated sound pressure level weighted
by the B-scale function. B-Weighting is applied to loudness levels between 55 and
85 phons, though it is rarely used.
C-Weighted, Sound Pressure Level (dB C) is the calculated sound pressure level weighted
by the C-scale function. C-Weighting is applied for loudness levels above 85 phons
and is commonly used for high-intensity sound such as traffic studies.
Further graphical customizations for the y axis are available by clicking the Axes... but-
ton. For more information, see Section 28.8.8: Modifying Axis Attributes.
c Fluent Inc. September 29, 2006 28-155
Displaying Graphics
There are three options for the x-axis function you can choose from. They are all related
to the discrete frequencies at which the Fourier coefficients are computed. You can apply
specific analytic functions for the x-axis using the X Axis Function drop-down list.
Available options for the x-axis functions are:
1
fn = n n = 0, 1, 2, ..., N/2 (28.10-13)
N ∆t
fn Lref
Stn ≡ (28.10-14)
Uref
where Lref and Uref are the reference length and velocity scales specified in the
Reference Values panel.
Fourier Mode is the index in Equations 28.10-7 and/or 28.10-8, which represents the
nth or kth term in the Fourier transform of the signal.
Octave Band (Hz) is a range of discrete frequency bands for different octaves within
the threshold of hearing. The range of each octave band is double to that of the
previous band (see Table 28.10.1).
1/3-Octave Band (Hz) is a range of discrete frequency bands within the threshold of
hearing. Here, the range of each band is one-third of an octave, meaning that there
are three times as many bands for the same frequency range.
28-156
c Fluent Inc. September 29, 2006
28.10 Fast Fourier Transform (FFT) Postprocessing
Further graphical customizations for the x-axis are available by clicking the Axes... but-
ton. For more information, see Section 28.8.8: Modifying Axis Attributes.
You can write out the FFT data directly to a file by choosing the Write FFT to File
option under Options in the Fourier Transform panel. Once the Write FFT to File option
is selected, click the Write FFT button to display a file selection dialog box where you
can choose a file and/or a location to hold the FFT data.
Further customizations for how the FFT data is displayed are available by clicking the
Curves... button. For more information, see Section 28.8.9: Modifying Curve Attributes.
You can use the various windowing techniques described in Section 28.10.2: Windowing
by selecting any of the Window options in the Plot/Modify Input Signal panel. By default,
None is selected so that no windowing technique is applied.
You can assign a title for your FFT plot using the Plot Title text field. You can also
assign y-axis and x-axis labels for your FFT plot using the Y-Axis Label and X-Axis Label
text fields, respectively. By default, FLUENT assigns the Y-Axis Label and the X-Axis
Label to the particular selection of Y-Axis Function and X-Axis Function.
c Fluent Inc. September 29, 2006 28-157
Displaying Graphics
28-158
c Fluent Inc. September 29, 2006
Chapter 29. Reporting Alphanumeric Data
FLUENT provides tools for computing and reporting integral quantities at surfaces and
boundaries. These tools enable you to find the mass flow rate and heat transfer rate
through boundaries, the forces and moments on boundaries, and the area, integral, flow
rate, average, and mass average (among other quantities) on a surface or in a volume. In
addition, you can print histograms of geometric and solution data, set reference values
for the calculation of non-dimensional coefficients, and compute projected surface areas.
You can also print or save a summary report of the models, boundary conditions, and
solver settings in the current case. These features are described in the following sections.
Reporting tools for the discrete phase are described in Section 22.16: Postprocessing for
the Discrete Phase.
c Fluent Inc. September 29, 2006 29-1
Reporting Alphanumeric Data
i The default value of Depth will be equivalent to 1 meter, even if the units
are changed for depth in the Set Units panel (e.g., if the units for depth are
changed to cm in the Set Units panel, the value of Depth in the Reference
Values panel will be 100 cm).
For axisymmetric problems, all integral quantities are computed for an angle of 2π radi-
ans.
• The mass flow rate through a boundary is computed by summing the dot product
of the density times the velocity vector and the area projections over the faces of
the zone.
• The total heat transfer rate through a boundary is computed by summing the total
heat transfer rate, q = qc + qr , over the faces, where qc is the convective heat
transfer rate and qr is the radiation heat transfer rate. The computation of the
heat transfer through the face depends on the specified boundary condition. For
example, the conduction heat transfer on a constant-temperature wall face would be
the product of the thermal conductivity with the dot product of the area projection
and the temperature gradient. For flow boundaries, the total heat transfer rate is
the flow rate of the conserved quantity. Depending on the models that are being
used, the total heat transfer rate may include the convective flow of sensible or
total enthalpy, diffusive flux of energy, etc. For reacting flows, FLUENT reports
the total energy flux, which consists of the sensible and formation enthalpies (see
Section 13.2.1: Heat Transfer Theory for details).
• The radiation heat transfer rate through a boundary is computed by summing the
radiation heat transfer rate qr over the faces. The computation of the radiation
heat transfer depends on the radiation model used.
For example, you might use flux reporting to compute the resulting mass flow through a
duct with pressure boundaries specified at the inlet and exit.
29-2
c Fluent Inc. September 29, 2006
29.2 Fluxes Through Boundaries
c Fluent Inc. September 29, 2006 29-3
Reporting Alphanumeric Data
1. Specify which flux computation you are interested in by selecting Mass Flow Rate,
Total Heat Transfer Rate, or Radiation Heat Transfer Rate under Options.
2. In the Boundaries list, choose the boundary zone(s) on which you want to report
fluxes.
If you want to select several boundary zones of the same type, you can select that
type in the Boundary Types list instead. All of the boundaries of that type will be
selected automatically in the Boundaries list (or deselected, if they are all already
selected).
Another shortcut is to specify a Boundary Name Pattern and click Match to select
boundary zones with names that match the specified pattern. For example, if you
specify wall*, all boundaries whose names begin with wall (e.g., wall-1, wall-top) will
be selected automatically. If they are all selected already, they will be deselected.
If you specify wall?, all boundaries whose names consist of wall followed by a single
character will be selected (or deselected, if they are all already selected).
3. Click on the Compute button. The Results list will display the results of the selected
flux computation for each selected boundary zone, and the box below the Results
list will show the summation of the individual zone flux results.
29-4
c Fluent Inc. September 29, 2006
29.3 Forces on Boundaries
where
~a = specified force vector
F~p = pressure force vector
F~v = viscous force vector
In addition to the actual pressure, viscous, and total forces, the associated force coef-
ficients are also computed, using the reference values specified in the Reference Values
panel (as described in Section 29.10: Reference Values). The force coefficient is defined
as force divided by 21 ρv 2 A, where ρ, v, and A are the density, velocity, and area explicitly
specified in the Reference Values panel. Finally, the net values of the pressure, viscous,
and total forces and coefficients for all the selected wall zones are also computed.
The total moment vector about a specified center A is computed by summing the cross
products of the pressure and viscous force vectors for each face with the moment vector
~rAB , which is the vector from the specified moment center A to the force origin B (see
Figure 29.3.1). The terms in this summation represent the pressure and viscous moment
vectors:
c Fluent Inc. September 29, 2006 29-5
Reporting Alphanumeric Data
where
A = specified moment center
B = force origin
~rAB = moment vector
F~p = pressure force vector
F~v = viscous force vector
Line of action of F
Moment center
A
rAB
F = Fp + Fv
z B
Force origin
MA= rΑΒ F
y
O
Direction of the total moment vector follows the right hand rule for cross products.
In addition to the actual components of the pressure, viscous, and total moments, the mo-
ment coefficients are also computed, using the reference values specified in the Reference
Values panel (as described in Section 29.10: Reference Values). The moment coefficient is
defined as the moment divided by 21 ρv 2 AL, where ρ, v, A, and L are the density, velocity,
area, and length explicitly specified in the Reference Values panel. Finally, the net values
of the pressure, viscous, and total moments and coefficients for all the selected wall zones
are also computed.
29-6
c Fluent Inc. September 29, 2006
29.3 Forces on Boundaries
To reduce round-off error, a reference pressure (also specified in the Reference Values
panel) is used to normalize the cell pressure for computation of the pressure force. For
example, the net pressure force vector, acting on a wall zone, is computed as the vector
sum of the individual force vectors for each cell face:
n
F~p =
X
(p − pref )An̂ (29.3-3)
i=1
Xn n
X
= pAn̂ − pref An̂ (29.3-4)
i=1 i=1
where n is the number of faces, A is the area of the face, and n̂ is the unit normal to the
face.
The center of pressure is the average location of the pressure. The pressure varies around
the surface of an object, such that P = p(x). The general expression for determining the
center of pressure is
R
xp(x)dx
cp = R (29.3-5)
p(x)dx
However, the center of pressure of a wall is also defined as the point about which the
moment on the wall(s) will be zero, that is, the point on the wall where all the forces
balance. It is computed as follows:
~ = ~r × F~
M (29.3-6)
~ = 0
M (29.3-7)
where F~ is the force acting on the selected wall and ~r is the position vector from the
center of pressure to the point where the force is applied.
c Fluent Inc. September 29, 2006 29-7
Reporting Alphanumeric Data
To obtain a report (for selected wall zones) of forces along a specified vector or moments
about a specified center, use the Force Reports panel (Figure 29.3.2).
Report −→Forces...
1. Specify which type of report you are interested in by selecting Forces, Moments, or
Center of Pressure under Options.
2. If you choose a force report, specify the X, Y, and Z components of the Force Vector
along which the forces will be computed. If you choose a moment report, specify
the X, Y, and Z coordinates of the Moment Center about which the moments will
be computed. If you choose a center of pressure report, specify the value of the X,
Y, or Z coordinate that you would like to fix.
3. In the Wall Zones list, choose the wall zone(s) on which you want to report the
force or moment information.
A shortcut that may be useful if you have a large number of wall zones is to specify
a Wall Name Pattern and click Match to select wall zones with names that match
the specified pattern. For example, if you specify out*, all walls whose names begin
with out (e.g., outer-wall-top, outside-wall) will be selected automatically. If they
are all selected already, they will be deselected. If you specify out?, all walls whose
names consist of out followed by a single character will be selected (or deselected,
if they are all selected already).
29-8
c Fluent Inc. September 29, 2006
29.3 Forces on Boundaries
4. Click the Print button if you want the results printed in the console, or click Write...
to save it to a file.
If Forces has been selected under Options, the console window will display the pres-
sure force, viscous force (if appropriate), total forces, pressure coefficient, viscous
coefficient, and total coefficients for each selected wall zones.
If Moments has been selected, the pressure moments, viscous moments (if appropri-
ate), total moments, pressure coefficient, viscous coefficient and total coefficients
for each selected wall zones will be displayed. Additionally, the net values of the
coefficients and the forces or moments for all selected wall zones will be printed at
the end of the report. See Section 29.3.1: Computing Forces, Moments, and the
Center of Pressure for details about computing forces and moments.
If Center of Pressure has been selected, then FLUENT prints out the coordinates
about which the moment is zero.
To demonstrate how you would generate and interpret the center of pressure report,
consider Figure 29.3.3 which shows an airfoil of chord length 1 m.
• Select Center of Pressure under Options.
• Fix one of the coordinates. In this case, the Y coordinate is set to a value of
10 as shown in the panel, Figure 29.3.4.
• Select the Wall Zones that are necessary for the computation.
• Click Print to have the coordinates of the center of pressure printed in the
console. The report generated will be in the following form:
c Fluent Inc. September 29, 2006 29-9
Reporting Alphanumeric Data
cp
y = 10
29-10
c Fluent Inc. September 29, 2006
29.4 Projected Surface Area Calculations
2. Choose the surface(s) for which the projected area is to be calculated in the Surfaces
list.
3. Set the Min Feature Size to the length of the smallest feature in the geometry that
you want to resolve in the area calculation. (You can just use the default value to
start with, if you are not sure of the size of the smallest geometrical feature.)
4. Click on Compute. The area will be displayed in the Area box and in the console
window.
5. To improve the accuracy of the area calculation, reduce the Min Feature Size by half
and recompute the area. Repeat this step until the computed Area stops changing
(or you reach memory capacity).
c Fluent Inc. September 29, 2006 29-11
Reporting Alphanumeric Data
• Area: You can compute the area of a velocity inlet zone, and then estimate the
velocity from the mass flow rate:
ṁ
v= (29.5-1)
ρA
• Area-weighted average: You can find the average value on a solid surface, such as
the average heat flux on a heated wall with a specified temperature.
• Mass average: You can find the average value on a surface in the flow, such as
average enthalpy at a velocity inlet.
• Mass flow rate: You can compute the mass flow rate through a velocity inlet zone,
and then estimate the velocity from the area, as described above.
• Flow rate: To calculate the heat transfer rate through a surface, you can calculate
the flow rate of enthalpy.
• Integral: You can use integrals for more complex calculations, which may involve
the use of the Custom Field Function Calculator panel, described in Section 30.5: Cus-
tom Field Functions, to calculate a function that requires integral computations
(e.g., swirl number).
• Standard deviation: You can find the standard deviation of a specified field variable
on a surface, such as enthalpy, viscosity, and velocity.
• Volume flow rate: This will report the volume flow rate through the specified
surface.
29-12
c Fluent Inc. September 29, 2006
29.5 Surface Integration
Z n
X
dA = |Ai | (29.5-2)
i=1
Integral
An integral on a surface is computed by summing the product of the facet area and the
selected field variable, such as density or pressure. Each facet is associated with a cell in
the domain. If the facet is the result of an isovalue cut through the cell, the field variable
assigned to the facet is the associated cell value. If the facet is on a boundary surface, an
interpolated face value is used for the integration instead of the cell value. This is done
to improve the accuracy of the calculation, and to ensure that the result matches the
boundary conditions specified on the boundary and the fluxes reported on the boundary.
Z n
X
φdA = φi |Ai | (29.5-3)
i=1
Area-Weighted Average
The area-weighted average of a quantity is computed by dividing the summation of the
product of the selected field variable and facet area by the total area of the surface:
n
1Z 1X
φdA = φi |Ai | (29.5-4)
A A i=1
Flow Rate
The flow rate of a quantity through a surface is computed by summing the product of
density and the selected field variable with the dot product of the facet area vector and
the facet velocity vector:
Z n
~= ~i
X
φρ~v · dA φi ρi v~i · A (29.5-5)
i=1
c Fluent Inc. September 29, 2006 29-13
Reporting Alphanumeric Data
Z n
~= ~i
X
ρ~v · dA ρi v~i · A (29.5-6)
i=1
Mass-Weighted Average
The mass-weighted average of a quantity is computed by dividing the summation of the
product of the selected field variable and the absolute value of the dot product of the
facet area and momentum vectors by the summation of the absolute value of the dot
product of the facet area and momentum vectors (surface mass flux):
n
~ i
Z X
φ ρ v
~ · A
~
φρ ~v · dA
i i i
i=1
Z = n (29.5-7)
ρ ~v · dA
~ X
~ i
ρi v~i · A
i=1
n
X
φi (29.5-8)
i=1
Facet Average
The facet average of a specified field variable on a surface is computed by dividing the
summation of the facet values of the selected variable by the total number of facets. See
Section 30.1: Node, Cell, and Facet Values for definitions of facet values.
n
X
φi
i=1
(29.5-9)
n
Facet Minimum
The facet minimum of a specified field variable on a surface is the minimum facet value
of the selected variable on the surface. See Section 30.1: Node, Cell, and Facet Values
for definitions of facet values.
29-14
c Fluent Inc. September 29, 2006
29.5 Surface Integration
Facet Maximum
The facet maximum of a specified field variable on a surface is the maximum facet value
of the selected variable on the surface. See Section 30.1: Node, Cell, and Facet Values
for definitions of facet values.
Vertex Average
The vertex average of a specified field variable on a surface is computed by dividing the
summation of the vertex values of the selected variable by the total number of vertices.
See Section 30.1: Node, Cell, and Facet Values for definitions of vertex values.
n
X
φi
i=1
(29.5-10)
n
Vertex Minimum
The vertex minimum of a specified field variable on a surface is the minimum vertex value
of the selected variable on the surface. See Section 30.1: Node, Cell, and Facet Values
for definitions of vertex values.
Vertex Maximum
The vertex maximum of a specified field variable on a surface is the maximum vertex
value of the selected variable on the surface. See Section 30.1: Node, Cell, and Facet
Values for definitions of vertex values.
Standard-Deviation
The standard deviation of a specified field variable on a surface is computed using the
mathematical expression below:
v
u n
uX
u
u (x − x0 )2
t i=1
(29.5-11)
n
where x is the cell value of the selected variables at each facet, x0 is the mean of x
n
X
x
i=1
x0 =
n
c Fluent Inc. September 29, 2006 29-15
Reporting Alphanumeric Data
and n is the total number of facets. See Section 30.1: Node, Cell, and Facet Values for
definitions of facet values.
Z n
~= ~i
X
~v · dA v~i · A (29.5-12)
i=1
29-16
c Fluent Inc. September 29, 2006
29.5 Surface Integration
1. Specify which type of report you are interested in by selecting Area, Integral, Area-
Weighted Average, Flow Rate, Mass Flow Rate, Mass-Weighted Average, Sum, Facet
Average, Facet Minimum, Facet Maximum, Vertex Average, Vertex Minimum, or Vertex
Maximum in the Report Type drop-down list.
2. If you are generating a report of area or mass flow rate, skip to the next step.
Otherwise, use the Field Variable drop-down lists to select the field variable to be
used in the surface integrations. First, select the desired category in the upper
drop-down list. You can then select a related quantity from the lower list. (See
Chapter 30: Field Function Definitions for an explanation of the variables in the
list.)
3. In the Surfaces list, choose the surface(s) on which to perform the surface integra-
tion.
If you want to select several surfaces of the same type, you can select that type
in the Surface Types list instead. All of the surfaces of that type will be selected
automatically in the Surfaces list (or deselected, if they are all selected already).
Another shortcut is to specify a Surface Name Pattern and click Match to select
surfaces with names that match the specified pattern. For example, if you spec-
ify wall*, all surfaces whose names begin with wall (e.g., wall-1, wall-top) will be
selected automatically. If they are all selected already, they will be deselected. If
you specify wall?, all surfaces whose names consist of wall followed by a single
character will be selected (or deselected, if they are all selected already).
4. Click on the Compute button. Depending on the type of report you have selected,
the label for the result will change to Area, Integral, Area-Weighted Average, Flow
Rate, Mass Flow Rate, Mass-Weighted Average, Sum of Facet Values, Average of Facet
Values, Minimum of Facet Values, Maximum of Facet Values, Average of Surface Vertex
Values, Minimum of Vertex Values, or Maximum of Vertex Values, as appropriate. The
computed results will also be printed in the FLUENT console window.
5. To save the computed results to a file, click the Write... button and specify the
filename in the resulting Select File dialog box.
• Mass averaging “weights” toward regions of higher velocity (i.e., regions where more
mass crosses the surface).
• Flow rates reported using the Surface Integrals panel are not as accurate as those
reported with the Flux Reports panel (described in Section 29.2: Fluxes Through
Boundaries).
• The facet and vertex average options are recommended for zero-area surfaces.
c Fluent Inc. September 29, 2006 29-17
Reporting Alphanumeric Data
• Sum: You can add up the discrete-phase mass or energy sources to determine the
net transfer from the discrete phase. You can also sum user-defined sources of mass
or energy.
• Maximum: The maximum value of the selected variable at each cell in the selected
zone.
• Minimum: The minimum value of the selected variable at each cell in the selected
zone.
• Volume Integral: For quantities that are stored per unit volume, you can use volume
integrals to determine the net value (e.g., integrate density to determine mass).
• Volume-Average: You can obtain volume averages of mass sources, energy sources,
or discrete-phase exchange quantities.
• Mass Integral: You can determine the total mass of a particular species by integrat-
ing its mass fraction.
• Mass-Average: You can find the average value (such as average temperature) in a
fluid zone.
29-18
c Fluent Inc. September 29, 2006
29.6 Volume Integration
Z n
X
dV = |Vi | (29.6-1)
i=1
Sum
The sum of a specified field variable in a cell zone is computed by summing the value of
the selected variable at each cell in the selected zone:
n
X
φi (29.6-2)
i=1
Volume Integral
A volume integral is computed by summing the product of the cell volume and the
selected field variable:
Z n
X
φdV = φi |Vi | (29.6-3)
i=1
Volume-Weighted Average
The volume-weighted average of a quantity is computed by dividing the summation of
the product of the selected field variable and cell volume by the total volume of the cell
zone:
n
1 Z 1 X
φdV = φi |Vi | (29.6-4)
V V i=1
Mass-Weighted Integral
The mass-weighted integral is computed by summing the product of density, cell volume,
and the selected field variable:
Z n
X
φρdV = φi ρi |Vi | (29.6-5)
i=1
c Fluent Inc. September 29, 2006 29-19
Reporting Alphanumeric Data
Mass-Weighted Average
The mass-weighted average of a quantity is computed by dividing the summation of the
product of density, cell volume, and the selected field variable by the summation of the
product of density and cell volume:
Z n
X
φρdV φi ρi |Vi |
i=1
Z = n (29.6-6)
ρdV
X
ρi |Vi |
i=1
1. Specify which type of report you are interested in by selecting Volume, Sum, Max,
Min, Volume Integral, Volume-Average, Mass Integral, or Mass-Average under Options.
2. If you are generating a report of volume, skip to the next step. Otherwise, use the
Field Variable drop-down lists to select the field variable to be used in the integral,
sum, or averaged volume integrations. First, select the desired category in the
upper drop-down list. You can then select a related quantity from the lower list.
29-20
c Fluent Inc. September 29, 2006
29.7 Histogram Reports
(See Chapter 30: Field Function Definitions for an explanation of the variables in
the list.)
3. In the Cell Zones list, choose the zones on which to compute the volume, sum, max,
min, volume integral, volume-weighted average, mass integral, or mass-averaged
quantity.
4. Click on the Compute button. Depending on the type of report you have selected,
the label for the result will change to Total Volume, Sum, Max, Min, Total Volume
Integral, Volume-Weighted Average, Total Mass-Weighted Integral, or Mass-Weighted
Average, as appropriate.
The computed results will also be printed in the FLUENT console window.
5. To save the computed results to a file, click the Write... button and specify the
filename in the resulting Select File dialog box.
c Fluent Inc. September 29, 2006 29-21
Reporting Alphanumeric Data
• Force coefficients use the reference area, density, and velocity. In addition, the
pressure force calculation uses the reference pressure.
• Moment coefficients use the reference length, area, density and velocity. In addition,
the pressure force calculation uses the reference pressure.
• Pressure and total pressure coefficients use the reference pressure, density, and
velocity.
29-22
c Fluent Inc. September 29, 2006
29.10 Reference Values
You can input the reference values manually or compute them based on values of physical
quantities at a selected boundary zone. The reference values to be set are Area, Density,
Enthalpy, Length, Pressure, Temperature, Velocity, dynamic Viscosity, and Ratio Of Specific
Heats.
c Fluent Inc. September 29, 2006 29-23
Reporting Alphanumeric Data
For 2D problems, an additional quantity, Depth, can also be defined. This quantity will
be used for reporting fluxes and forces, as well as relevant variables computed using the
Surface Integrals panel and the Volume Integrals panel (e.g. Area, Flow Rate, Mass Flow
Rate, Volume, etc.). You should verify that the value and units of Depth corresponds to
the depth dimension of your application prior to reporting any of the variables above.
i The units for Depth are set independently from the units for Length in the
Set Units panel.
If you want to compute reference values from the conditions set on a particular boundary
zone, select the zone in the Compute From drop-down list. Note, however, that depending
on the boundary condition used, only some of the reference values may be set. For
example, the reference length and area will not be set by computing the reference values
from a boundary condition; you will need to set these manually.
To set the values manually, simply enter the value for each under the Reference Values
heading.
29-24
c Fluent Inc. September 29, 2006
29.11 Summary Reports of Case Settings
1. Select the information you would like to see in the report (Models, Boundary Con-
ditions, Solver Controls, and/or Material Properties) in the Report Options list.
2. To print the information to the FLUENT console window, click on the Print button.
To save the information to a text file, click on the Save... button and specify the
filename in the resulting Select File dialog box.
c Fluent Inc. September 29, 2006 29-25
Reporting Alphanumeric Data
29-26
c Fluent Inc. September 29, 2006
Chapter 30. Field Function Definitions
You must select flow variables for a number of tasks in FLUENT. The values are computed
and placed in temporary memory that is allocated for storing the results for each cell.
For example, the Compute command associated with a panel that contains the field
variable drop-down list calculates the values of the selected function and places them
into temporary storage.
Sections 30.1 and 30.2 provide some general information related to the field variables. In
Section 30.3: Field Variables Listed by Category, the variables are listed by category in
Tables 30.3.1–30.3.13. These tables will also indicate when each variable will be available.
Section 30.4: Alphabetical Listing of Field Variables and Their Definitions contains an
alphabetical listing of the variables along with their definitions. All variables appear as
they would in the variable selection drop-down lists that are contained in many of the
FLUENT panels. Section 30.5: Custom Field Functions explains how you can calculate
your own field function.
c Fluent Inc. September 29, 2006 30-1
Field Function Definitions
1. Values at all nodes are initialized to the weighted average of the surrounding cell
values. The weights are the inverses of the distances between the nodes and the
cell centroid.
2. At boundaries, these node values are overwritten with the simple average of the
boundary face values. Variables for which explicit node values are available at
boundaries are indicated by bnv in Tables 30.3.1–30.3.13.
For example, in Figure 30.1.1, the value at node n1 will be computed from the weighted
average of the values in the surrounding cells (c1–c6). The value at node n2 will be
computed from the simple average of the boundary faces (bf 1 and bf 2) if there are
explicit boundary values available for the variable in question.
c4
c3 c5
n1
c2 c6
c1 c7
bf1 n2 bf2
boundary
i Note that explicit boundary node values are not available for custom field
functions.
30-2
c Fluent Inc. September 29, 2006
30.1 Node, Cell, and Facet Values
c Fluent Inc. September 29, 2006 30-3
Field Function Definitions
• Cartesian velocities: These velocities are based on the Cartesian coordinate system
used by the geometry. To report Cartesian velocities, select X Velocity, Y Velocity,
or Z Velocity. This is the most common type of velocity reported.
• Cylindrical velocities: These velocities are the axial, radial, and tangential compo-
nents based on the following coordinate systems:
– For axisymmetric problems, in which the rotation axis must be the x axis, the
x direction is the axial direction and the y direction is the radial direction. (If
you model axisymmetric swirl, the swirl direction is the tangential direction.)
– For 2D problems involving a single cell zone, the z direction is the axial direc-
tion, and its origin is specified in the Fluid panel.
– For 3D problems involving a single cell zone, the coordinate system is defined
by the rotation axis and origin specified in the Fluid panel.
– For problems involving multiple zones (e.g., multiple reference frames or sliding
meshes), the coordinate system is defined by the rotation axis specified in
the Fluid (or Solid) panel for the “reference zone”. The reference zone is
chosen in the Reference Values panel, as described in Section 29.10: Reference
Values. Recall that for 2D problems, you will specify only the axis origin; the
z direction is always the axial direction.
For all of the above definitions of the cylindrical coordinate system, positive radial
velocities point radially out from the rotation axis, positive axial velocities are in
the direction of the rotation axis vector, and positive tangential velocities are based
on the right-hand rule using the positive rotation axis.
To report cylindrical velocities, select Axial Velocity, Radial Velocity, etc. Fig-
ure 30.2.1 illustrates the cylindrical velocities available for different types of do-
mains: For 3D problems, you can report axial, radial, and tangential velocities.
For 2D problems, radial and tangential velocities are available. For axisymmetric
problems, you can report axial and radial velocities, and if you are modeling ax-
isymmetric swirl you can also report the swirl velocity (which is equivalent to the
tangential velocity).
• Relative velocities: These velocities are based on the coordinate system and motion
of a moving reference frame. They are useful when you are modeling your flow using
a rotating reference frame, a mixing plane, multiple reference frames, or sliding
meshes. (See Chapter 10: Modeling Flows with Rotating Reference Frames for
information about modeling flow in moving zones.) To report relative velocities,
select Relative X Velocity, Relative Y Velocity, Relative Radial Velocity, etc. (Note that
you can report relative velocities for both Cartesian and cylindrical components.)
30-4
c Fluent Inc. September 29, 2006
30.2 Velocity Reporting Options
axial
radial
tangential tangential
radial
rotation axis
rotation origin
axis
radial
rotation axis
axial
tangential
(swirl)
If you are using a single rotating reference frame, the relative velocity values will
be reported with respect to the moving frame. If you are using multiple reference
frames, mixing planes, or sliding meshes, you will need to specify the frame to
which you want the velocities to be relative by choosing the appropriate cell zone
as the Reference Zone in the Reference Values panel (see Section 29.10: Reference
Values). The axis of rotation for each cell zone is defined in the associated Fluid
panel or Solid panel. (See Section 7.17.1: Specifying the Rotation Axis or 7.18.1 for
details.)
Note that if your problem does not involve any moving zones, relative and absolute
velocities will be equivalent.
Note that relative velocities can also be used to compute stagnation quantities (total
pressure and total temperature), and that the cylindrical coordinate systems described
in the second item above are used for defining the Axial Coordinate and Radial Coordinate
as well.
c Fluent Inc. September 29, 2006 30-5
Field Function Definitions
30-6
c Fluent Inc. September 29, 2006
30.3 Field Variables Listed by Category
Category Variable
Pressure... Static Pressure (bnv)
Pressure Coefficient
Dynamic Pressure
Absolute Pressure (bnv)
Total Pressure (bnv)
Relative Total Pressure
Density... Density
Density All
c Fluent Inc. September 29, 2006 30-7
Field Function Definitions
Category Variable
Velocity... Velocity Magnitude (bnv)
X Velocity (bnv)
Y Velocity (bnv)
Z Velocity (3d, bnv)
Swirl Velocity (2dasw, bnv)
Axial Velocity (2da or 3d)
Radial Velocity
Stream Function (2d)
Tangential Velocity
Mach Number (id)
Relative Velocity Magnitude (bnv)
Relative X Velocity (bnv)
Relative Y Velocity (bnv)
Relative Z Velocity (3d, bnv)
Relative Axial Velocity (2da)
Relative Radial Velocity (2da)
Relative Swirl Velocity (2dasw, bnv)
Relative Tangential Velocity
Relative Mach Number (id)
Grid X-Velocity (nv)
Grid Y-Velocity (nv)
Grid Z-Velocity (3d, nv)
Velocity Angle
Relative Velocity Angle
Vorticity Magnitude (v)
Helicity (v, 3d)
X-Vorticity (v, 3d)
Y-Vorticity (v, 3d)
Z-Vorticity (v, 3d)
Cell Reynolds Number (v)
Preconditioning Reference Velocity (cpl)
30-8
c Fluent Inc. September 29, 2006
30.3 Field Variables Listed by Category
Category Variable
Temperature... Static Temperature (e, bnv, nv)
Total Temperature (e, nv)
Enthalpy (e, nv)
Relative Total Temperature (e)
Rothalpy (e, nv)
Fine Scale Temperature (edc, nv, e)
Wall Temperature (Outer Surface) (e, v)
Wall Temperature (Inner Surface) (e, v)
Total Enthalpy (e)
Total Enthalpy Deviation (e)
Entropy (e)
Total Energy (e)
Internal Energy (e)
Radiation... Absorption Coefficient (r, p1, do, or dtrm)
Scattering Coefficient (r, p1, or do)
Refractive Index (do)
Radiation Temperature (p1 or do)
Incident Radiation (p1 or do)
Incident Radiation (Band n) (do (non-gray))
Surface Cluster ID (s2s)
Solidification/ Liquid Fraction (melt)
Melting Contact Resistivity (melt)
X Pull Velocity (melt (if calculated))
Y Pull Velocity (melt (if calculated))
Z Pull Velocity (melt (if calculated), 3d)
Axial Pull Velocity (melt (if calculated), 2da)
Radial Pull Velocity (melt (if calculated), 2da)
Swirl Pull Velocity (melt (if calculated), 2dasw)
c Fluent Inc. September 29, 2006 30-9
Field Function Definitions
Category Variable
Turbulence... Turbulent Kinetic Energy (k) (ke, kw, or rsm; bnv, nv, or emm)
UU Reynolds Stress (rsm; emm)
VV Reynolds Stress (rsm; emm)
WW Reynolds Stress (rsm; emm)
UV Reynolds Stress (rsm; emm)
UW Reynolds Stress (rsm, 3d; emm)
VW Reynolds Stress (rsm, 3d; emm)
Turbulence Intensity (ke, kw, or rsm)
Turbulent Dissipation Rate (Epsilon) (ke or rsm; bnv, nv, or emm)
Specific Dissipation Rate (Omega) (kw)
Production of k (ke, kw, or rsm; emm)
Modified Turbulent Viscosity (sa)
Turbulent Viscosity (sa, ke, kw, rsm, or des)
Effective Viscosity (sa, ke, kw, rsm, or des; emm)
Turbulent Viscosity Ratio (ke, kw, rsm, sa, or des; emm)
Subgrid Kinetic Energy (les)
Subgrid Turbulent Viscosity (les)
Subgrid Effective Viscosity (les)
Subgrid Turbulent Viscosity Ratio (les)
Subgrid Filter Length (les)
Effective Thermal Conductivity (t, e)
Effective Prandtl Number (t, e)
Wall Ystar (ke, kw, or rsm)
Wall Yplus (t)
Turbulent Reynolds Number (Re y) (ke or rsm; ewt)
Relative Length Scale (DES) (des)
30-10
c Fluent Inc. September 29, 2006
30.3 Field Variables Listed by Category
Category Variable
Species... Mass fraction of species-n (sp, pdf, or ppmx; nv)
Mole fraction of species-n (sp, pdf, or ppmx)
Molar Concentration of species-n (sp, pdf, or ppmx)
Lam Diff Coef of species-n (sp, dil)
Eff Diff Coef of species-n (t, sp, dil)
Thermal Diff Coef of species-n (sp)
Enthalpy of species-n (sp)
species-n Source Term (rc, cpl)
Surface Deposition Rate of species-n (sr)
Surface Coverage of species-n (sr)
Relative Humidity (sp, pdf, or ppmx; h2o)
Time Step Scale (sp, stcm)
Fine Scale Mass fraction of species-n (edc)
Fine Scale Transfer Rate (edc)
1-Fine Scale Volume Fraction (edc)
Reactions... Rate of Reaction-n (rc)
Arrhenius Rate of Reaction-n (rc)
Turbulent Rate of Reaction-n (rc, t)
Pdf... Mean Mixture Fraction (pdf or ppmx; nv)
Secondary Mean Mixture Fraction (pdf or ppmx; nv)
Mixture Fraction Variance (pdf or ppmx; nv)
Secondary Mixture Fraction Variance (pdf or ppmx; nv)
Fvar Prod (pdf or ppmx)
Fvar2 Prod (pdf or ppmx)
Scalar Dissipation (pdf or ppmx)
Premixed Progress Variable (pmx or ppmx; nv)
Combustion... Damkohler Number (pmx or ppmx)
Stretch Factor (pmx or ppmx)
Turbulent Flame Speed (pmx or ppmx)
Static Temperature (pmx or ppmx)
Product Formation Rate (pmx or ppmx)
Laminar Flame Speed (pmx or ppmx)
Critical Strain Rate (pmx or ppmx)
Adiabatic Flame Temperature (pmx or ppmx)
Unburnt Fuel Mass Fraction (pmx or ppmx)
c Fluent Inc. September 29, 2006 30-11
Field Function Definitions
Category Variable
NOx... Mass fraction of NO (nox)
Mass fraction of HCN (nox)
Mass fraction of NH3 (nox)
Mass fraction of N2O (nox)
Mole fraction of NO (nox)
Mole fraction of HCN (nox)
Mole fraction of NH3 (nox)
Mole fraction of N2O (nox)
NO Density (nox)
HCN Density (nox)
NH3 Density (nox)
N2O Density (nox)
Variance of Temperature (nox)
Variance of Species (nox)
Variance of Species 1 (nox)
Variance of Species 2 (nox)
Rate of NO (nox)
Rate of Thermal NO (nox)
Rate of Prompt NO (nox)
Rate of Fuel NO (nox)
Rate of N2OPath NO (nox)
Rate of Reburn NO (nox)
Rate of SNCR NO (nox)
Rate of USER NO (nox)
Soot... Mass fraction of soot (soot)
Mass fraction of Nuclei (soot)
Mole fraction of soot (soot)
Soot Density (soot)
Rate of Soot (soot)
Rate of Nuclei (soot)
Unsteady Mean quantity-n (stat)
Statistics... RMS quantity-n (stat)
30-12
c Fluent Inc. September 29, 2006
30.3 Field Variables Listed by Category
Table 30.3.7: Phases, Discrete Phase Model, Granular Pressure, and Granular
Temperature Categories
Category Variable
Phases... Volume fraction (mp)
Discrete Phase DPM Mass Source (dpm)
Model... DPM Erosion (dpm, cv)
DPM Accretion (dpm, cv)
DPM X Momentum Source (dpm)
DPM Y Momentum Source (dpm)
DPM Z Momentum Source (dpm, 3d)
DPM Swirl Momentum Source (dpm, 2dasw)
DPM Sensible Enthalpy Source (dpm, e)
DPM Enthalpy Source (dpm, e)
DPM Absorption Coefficient (dpm, rad)
DPM Emission (dpm, rad)
DPM Scattering (dpm, rad)
DPM Burnout (dpm, sp, e)
DPM Evaporation/Devolatilization (dpm, sp, e)
DPM Concentration (dpm)
DPM species-n Source (dpm, sp, e)
c Fluent Inc. September 29, 2006 30-13
Field Function Definitions
Table 30.3.8: Properties, Wall Fluxes, User Defined Scalars, and User Defined
Memory Categories
Category Variable
Properties... Molecular Viscosity (v)
Diameter (mix, emm)
Granular Conductivity (mix, emm, gran)
Thermal Conductivity (e, v)
Specific Heat (Cp) (e)
Specific Heat Ratio (gamma) (id)
Gas Constant (R) (id)
Molecular Prandtl Number (e, v)
Mean Molecular Weight (seg, pdf)
Sound Speed (id)
Wall Fluxes... Wall Shear Stress (v, cv, emm)
X-Wall Shear Stress (v, cv, emm)
Y-Wall Shear Stress (v, cv, emm)
Z-Wall Shear Stress (v, 3d, cv, emm)
Axial-Wall Shear Stress (2da, cv)
Radial-Wall Shear Stress (2da, cv)
Swirl-Wall Shear Stress (2dasw, cv)
Skin Friction Coefficient (v, cv, emm)
Total Surface Heat Flux (e, v, cv)
Radiation Heat Flux (rad, cv)
Solar Heat Flux (sol, cv)
Absorbed Radiation Flux (Band-n) (do,cv)
Absorbed Visible Solar Flux (sol, cv)
Absorbed IR Solar Flux (sol, cv)
Reflected Radiation Flux (Band-n) (do, cv)
Reflected Visible Solar Flux (sol, cv)
Reflected IR Solar Flux (sol, cv)
Transmitted Radiation Flux (Band-n) (do, cv)
Transmitted Visible Solar Flux (sol, cv)
Transmitted IR Solar Flux (sol, cv)
Beam Irradiation Flux (Band-n) (do, cv)
Surface Incident Radiation (do, dtrm, or s2s; cv)
Surface Heat Transfer Coef. (e, v, cv)
Wall Func. Heat Tran. Coef. (e, v, cv)
Surface Nusselt Number (e, v, cv)
Surface Stanton Number (e, v, cv)
User Defined Scalar-n (uds)
Scalars... Diffusion Coef. of Scalar-n (uds)
30-14
c Fluent Inc. September 29, 2006
30.3 Field Variables Listed by Category
Category Variable
Cell Info... Cell Partition (np)
Active Cell Partition (p)
Stored Cell Partition (p)
Cell Id (p)
Cell Element Type
Cell Zone Type
Cell Zone Index
Partition Neighbors
Grid... X-Coordinate (nv)
Y-Coordinate (nv)
Z-Coordinate (3d, nv)
Axial Coordinate (nv)
Angular Coordinate (3d, nv)
Abs. Angular Coordinate (3d, nv)
Radial Coordinate (nv)
X Surface Area
Y Surface Area
Z Surface Area (3d)
X Face Area
Y Face Area
Z Face Area (3d)
Cell Equiangle Skew
Cell Equivolume Skew
Cell Volume
2D Cell Volume (2da)
Cell Wall Distance
Face Handedness
Face Squish Index
Cell Squish Index
c Fluent Inc. September 29, 2006 30-15
Field Function Definitions
Category Variable
Grid... Meridional Coordinate (nv, turbo)
Abs Meridional Coordinate (nv, turbo)
Spanwise Coordinate (nv, turbo)
Abs (H-C) Spanwise Coordinate (nv, turbo)
Abs (C-H) Spanwise Coordinate (nv, turbo)
Pitchwise Coordinate (nv, turbo)
Abs Pitchwise Coordinate (nv, turbo)
Adaption... Adaption Function
Adaption Curvature
Adaption Space Gradient
Adaption Iso-Value
Existing Value
Boundary Cell Distance
Boundary Normal Distance
Boundary Volume Distance (np)
Cell Volume Change
Cell Surface Area
Cell Warpage
Cell Children
Cell Refine Level
30-16
c Fluent Inc. September 29, 2006
30.3 Field Variables Listed by Category
Category Variable
Residuals... Mass Imbalance (seg)
Pressure Residual (cpl)
X-Velocity Residual (cpl)
Y-Velocity Residual (cpl)
Z-Velocity Residual (cpl, 3d)
Axial-Velocity Residual (cpl, 2da)
Radial-Velocity Residual (cpl, 2da)
Swirl-Velocity Residual (cpl, 2dasw)
Temperature Residual (cpl, e)
Species-n Residual (cpl, sp)
Time Step (cpl)
Pressure Correction (cpl)
X-Velocity Correction (cpl)
Y-Velocity Correction (cpl)
Z-Velocity Correction (cpl, 3d)
Axial-Velocity Correction (cpl, 2da)
Radial-Velocity Correction (cpl, 2da)
Swirl-Velocity Correction (cpl, 2dasw)
Temperature Correction (cpl, e)
Species-n Correction (cpl, sp)
c Fluent Inc. September 29, 2006 30-17
Field Function Definitions
Category Variable
Derivatives... Strain Rate (v)
dX-Velocity/dx
dY-Velocity/dx
dZ-Velocity/dx (3d)
dAxial-Velocity/dx (2da)
dRadial-Velocity/dx (2da)
dSwirl-Velocity/dx (2dasw)
d species-n/dx (cpl, sp)
dX-Velocity/dy
dY-Velocity/dy
dZ-Velocity/dy (3d)
dAxial-Velocity/dy (2da)
dRadial-Velocity/dy (2da)
dSwirl-Velocity/dy (2dasw)
d species-n/dy (cpl, sp)
dX-Velocity/dz (3d)
dY-Velocity/dz (3d)
dZ-Velocity/dz (3d)
d species-n/dz (cpl, sp, 3d)
dOmega/dx (2dasw)
dOmega/dy (2dasw)
dp-dX (seg)
dp-dY (seg)
dp-dZ (seg, 3d)
30-18
c Fluent Inc. September 29, 2006
30.3 Field Variables Listed by Category
Category Variable
Acoustics... Surface dpdt RMS (fwh)
Acoustic Power Level (dB) (bns)
Acoustic Power (bns)
Jet Acoustic Power Level (dB) (bns, 2da)
Jet Acoustic Power (bns, 2da)
Surface Acoustic Power Level (dB) (bns)
Surface Acoustic Power (bns)
Lilley’s Self-Noise Source (bns)
Lilley’s Shear-Noise Source (bns)
Lilley’s Total Noise Source (bns)
LEE Self-Noise X-Source (bns)
LEE Shear-Noise X-Source (bns)
LEE Total Noise X-Source (bns)
LEE Self-Noise Y-Source (bns)
LEE Shear-Noise Y-Source (bns)
LEE Total Noise Y-Source (bns)
LEE Self-Noise Z-Source (bns, 3d)
LEE Shear-Noise Z-Source (bns, 3d)
LEE Total Noise Z-Source (bns, 3d)
c Fluent Inc. September 29, 2006 30-19
Field Function Definitions
Abs (C-H) Spanwise Coordinate (in the Grid... category) is the dimensional coordinate
in the spanwise direction, from casing to hub. Its unit quantity is length.
Abs (H-C) Spanwise Coordinate (in the Grid... category) is the dimensional coordinate
in the spanwise direction, from hub to casing. Its unit quantity is length.
Abs Meridional Coordinate (in the Grid... category) is the dimensional coordinate that
follows the flow path from inlet to outlet. Its unit quantity is length.
Abs Pitchwise Coordinate (in the Grid... category) is the dimensional coordinate in the
circumferential (pitchwise) direction. Its unit quantity is angle.
Absolute Pressure (in the Pressure... category) is equal to the operating pressure plus
the gauge pressure. See Section 8.14: Operating Pressure for details. Its unit
quantity is pressure.
Absorbed Radiation Flux (Band-n) (in the Wall Fluxes... category) is the amount of
radiative heat flux absorbed by a semi-transparent wall for a particular band of
radiation. Its unit quantity is heat-flux.
Absorbed Visible Solar Flux, Absorbed IR Solar Flux (in the Wall Fluxes... category) is
the amount of solar heat flux absorbed by a semi-transparent wall for a visible or
infrared (IR) radiation.
Absorption Coefficient (in the Radiation... category) is the property of a medium that
describes the amount of absorption of thermal radiation per unit path length within
the medium. It can be interpreted as the inverse of the mean free path that a photon
will travel before being absorbed (if the absorption coefficient does not vary along
the path). The unit quantity for Absorption Coefficient is length-inverse.
Acoustic Power (in the Acoustics... category) is the acoustic power per unit volume
generated by isotropic turbulence (see Equation 21.2-10). It is available only when
the Broadband Noise Sources acoustics model is being used. Its unit quantity is
power per volume.
Acoustic Power Level (dB) (in the Acoustics... category) is the acoustic power per
unit volume generated by isotropic turbulence and reported in dB (see Equa-
tion 21.2-13). It is available only when the Broadband Noise Sources acoustics
model is being used.
30-20
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
Active Cell Partition (in the Cell Info... category) is an integer identifier designating
the partition to which a particular cell belongs. In problems in which the grid
is divided into multiple partitions to be solved on multiple processors using the
parallel version of FLUENT, the partition ID can be used to determine the extent
of the various groups of cells. The active cell partition is used for the current
calculation, while the stored cell partition (the last partition performed) is used
when you save a case file. See Section 31.5.4: Partitioning the Grid Manually for
more information.
Adaption... includes field variables that are commonly used for adapting the grid. For
information about solution adaption, see Chapter 26: Adapting the Grid.
Adaption Function (in the Adaption... category) can be either the Adaption Space Gra-
dient or the Adaption Curvature, depending on the settings in the Gradient Adaption
panel. For instance, the Adaption Curvature is the undivided Laplacian of the val-
ues in temporary cell storage. To display contours of the Laplacian of pressure,
for example, you first select Static Pressure, click the Compute (or Display) button,
select Adaption Function, and finally click the Display button.
Adaption Iso-Value (in the Adaption... category) is the desired field variable function.
Adaption Space Gradient (in the Adaption... category) is the first derivative of the
desired field variable.
r
|ei1 | = (Acell ) 2 |∇f | (30.4-1)
Depending on the settings in the Gradient Adaption panel, this equation will either
be scaled or normalized. Recommended for problems with shock waves (i.e., super-
sonic, inviscid flows). For more information, see Section 26.4.1: Gradient Adaption
Approach.
Adaption Curvature (in the Adaption... category) is the second derivative of the desired
field variable.
r
|ei2 | = (Acell ) 2 |∇2 f | (30.4-2)
Depending on the settings in the Gradient Adaption panel, this equation will either
be scaled or normalized. Recommended for smooth solutions (i.e., viscous, in-
compressible flows). For more information, see Section 26.4.1: Gradient Adaption
Approach.
Adiabatic Flame Temperature (in the Premixed Combustion... category) is the adia-
batic temperature of burnt products in a laminar premixed flame (Tb in Equa-
tion 16.2-24). Its unit quantity is temperature.
c Fluent Inc. September 29, 2006 30-21
Field Function Definitions
Arrhenius Rate of Reaction-n (in the Reactions... category) is given by the following
expression (see Equation 14.1-8 for definitions of the variables shown here):
Nr Nr
Y 0
ηj,r
Y 00
ηj,r
R̂r = Γ kf,r [Cj,r ] − kb,r [Cj,r ]
j=1 j=1
The reported value is independent of any particular species, and has units of
kgmol/m3 -s.
To find the rate of production/destruction for a given species i due to reaction r,
00 0
multiply the reported reaction rate for reaction r by the term Mi (νi,r − νi,r ), where
00 0
Mi is the molecular weight of species i, and νi,r and νi,r are the stoichiometric
coefficients of species i in reaction r.
Angular Coordinate (in the Grid... category) is the angle between the radial vector and
the position vector. The radial vector is obtained by transforming the default radial
vector (y-axis) by the same rotation that was applied to the default axial vector (z-
axis ). This assumes that, after the transformation, the default axial vector (z-axis)
becomes the reference axis. The angle is positive in the direction of cross-product
between reference axis and radial vector.
Abs. Angular Coordinate (in the Grid... category) is the absolute value of the Angular
Coordinate defined above.
Axial Coordinate (in the Grid... category) is the distance from the origin in the axial
direction. The axis origin and (in 3D) direction is defined for each cell zone in the
Fluid or Solid panel. The axial direction for a 2D model is always the z direction,
and the axial direction for a 2D axisymmetric model is always the x direction. The
unit quantity for Axial Coordinate is length.
Axial Pull Velocity (in the Solidification/Melting... category) is the axial-direction com-
ponent of the pull velocity for the solid material in a continuous casting process.
Its unit quantity is velocity.
Axial Velocity (in the Velocity... category) is the component of velocity in the axial di-
rection. (See Section 30.2: Velocity Reporting Options for details.) For multiphase
models, this value corresponds to the selected phase in the Phase drop-down list.
Its unit quantity is velocity.
Axial-Wall Shear Stress (in the Wall Fluxes... category) is the axial component of the
force acting tangential to the surface due to friction. Its unit quantity is pressure.
Beam Irradiation Flux (Band-b) (in the Wall Fluxes... category) is specified as an inci-
dent heat flux (W/m2 ) for each wavelength band.
Boundary Cell Distance (in the Adaption... category) is an integer that indicates the
approximate number of cells from a boundary zone.
30-22
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
Boundary Normal Distance (in the Adaption... category) is the distance of the cell cen-
troid from the closest boundary zone.
Boundary Volume Distance (in the Adaption... category) is the cell volume distribution
based on the Boundary Volume, Growth Factor, and normal distance from the selected
Boundary Zones defined in the Boundary Adaption panel. See Section 26.3: Boundary
Adaption for details.
Cell Children (in the Adaption... category) is a binary identifier based on whether a
cell is the product of a cell subdivision in the hanging-node adaption process (value
= 1) or not (value = 0).
Cell Element Type (in the Cell Info... category) is the integer cell element type identi-
fication number. Each cell can have one of the following element types:
triangle 1
tetrahedron 2
quadrilateral 3
hexahedron 4
pyramid 5
wedge 6
Cell Equiangle Skew (in the Grid... category) is a nondimensional parameter calculated
using the normalized angle deviation method, and is defined as
" #
qmax − qe qe − qmin
max , (30.4-3)
180 − qe qe
where
qmax = largest angle in the face or cell
qmin = smallest angle in the face or cell
qe = angle for an equiangular face or cell
(e.g., 60 for a triangle and 90 for a square)
A value of 0 indicates a best case equiangular cell, and a value of 1 indicates a com-
pletely degenerate cell. Degenerate cells (slivers) are characterized by nodes that
are nearly coplanar (collinear in 2D). Cell Equiangle Skew applies to all elements.
Cell Equivolume Skew (in the Grid... category) is a nondimensional parameter calcu-
lated using the volume deviation method, and is defined as
optimal-cell-size − cell-size
(30.4-4)
optimal-cell-size
where optimal-cell-size is the size of an equilateral cell with the same circumradius.
A value of 0 indicates a best case equilateral cell and a value of 1 indicates a
c Fluent Inc. September 29, 2006 30-23
Field Function Definitions
Cell Id (in the Cell Info... category) is a unique integer identifier associated with each
cell.
Cell Info... includes quantities that identify the cell and its relationship to other cells.
Cell Partition (in the Cell Info... category) is an integer identifier designating the parti-
tion to which a particular cell belongs. In problems in which the grid is divided into
multiple partitions to be solved on multiple processors using the parallel version
of FLUENT, the partition ID can be used to determine the extent of the various
groups of cells.
Cell Refine Level (in the Adaption... category) is an integer that indicates the number
of times a cell has been subdivided in the hanging node adaption process, compared
with the original grid. For example, if one quad cell is split into four quads, the
Cell Refine Level for each of the four new quads will be 1. If the resulting four quads
are split again, the Cell Refine Level for each of the resulting 16 quads will be 2.
Cell Reynolds Number (in the Velocity... category) is the value of the Reynolds number
in a cell. (Reynolds number is a dimensionless parameter that is the ratio of inertia
forces to viscous forces.) Cell Reynolds Number is defined as
ρud
Re ≡ (30.4-5)
µ
where ρ is density, u is velocity magnitude, µ is the effective viscosity (laminar
plus turbulent), and d is Cell Volume1/2 for 2D cases and Cell Volume1/3 in 3D or
axisymmetric cases.
Cell Squish Index (in the Grid... category) is a measure of the quality of a mesh, and
is calculated from the dot products of each vector pointing from the centroid of a
cell toward the center of each of its faces, and the corresponding face area vector
as
~ i · ~rc0/xf
A i
max 1 − (30.4-6)
i ~
|Ai ||~rc0/xf |
i
Therefore, the worst cells will have a Cell Squish Index close to 1.
Cell Surface Area (in the Adaption... category) is the total surface area of the cell, and
is computed by summing the area of the faces that compose the cell.
30-24
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
Cell Volume (in the Grid... category) is the volume of a cell. In 2D the volume is
the area of the cell multiplied by the unit depth. For axisymmetric cases, the cell
volume is calculated using a reference depth of 1 radian. The unit quantity of Cell
Volume is volume.
2D Cell Volume (in the Grid... category) is the two-dimensional volume of a cell in an
axisymmetric computation. For an axisymmetric computation, the 2D cell volume
is scaled by the radius. Its unit quantity is area.
Cell Volume Change (in the Adaption... category) is the maximum volume ratio of the
current cell and its neighbors.
Cell Wall Distance (in the Grid... category) is the distribution of the normal distance
of each cell centroid from the wall boundaries. Its unit quantity is length.
Cell Warpage (in the Adaption... category) is the square root of the ratio of the distance
between the cell centroid and cell circumcenter and the circumcenter radius:
s
|~rcentroid − ~rcircumcenter |
warpage = (30.4-7)
Rcircumcenter
Cell Zone Index (in the Cell Info... category) is the integer cell zone identification num-
ber. In problems that have more than one cell zone, the cell zone ID can be used
to identify the various groups of cells.
Cell Zone Type (in the Cell Info... category) is the integer cell zone type ID. A fluid
cell has a type ID of 1, a solid cell has a type ID of 17, and an exterior cell (parallel
solver) has a type ID of 21.
Critical Strain Rate (in the Premixed Combustion... category) is a parameter that takes
into account the stretching and extinction of premixed flames (gcr in
Equation 16.2-16). Its unit quantity is time-inverse.
Custom Field Functions... are scalar field functions defined by you. You can create a
custom function using the Custom Field Function Calculator panel. All defined cus-
tom field functions will be listed in the lower drop-down list. See Section 30.5: Cus-
tom Field Functions for details.
c Fluent Inc. September 29, 2006 30-25
Field Function Definitions
Density (in the Density... category) is the mass per unit volume of the fluid. Plots or
reports of Density include only fluid cell zones. For multiphase models, this value
corresponds to the selected phase in the Phase drop-down list. The unit quantity
for Density is density.
Density All (in the Density... category) is the mass per unit volume of the fluid or solid
material. Plots or reports of Density All include both fluid and solid cell zones. The
unit quantity for Density All is density.
Derivatives... are the viscous derivatives. For example, dX-Velocity/dx is the first
derivative of the x component of velocity with respect to the x-coordinate direction.
You can compute first derivatives of velocity, angular velocity, and pressure in the
pressure-based solver, and first derivatives of velocity, angular velocity, tempera-
ture, and species in the density-based solvers.
Diameter (in the Properties... category) is the diameter of particles, droplets, or bub-
bles of the secondary phase selected in the Phase drop-down list. Its unit quantity
is length.
Diffusion Coef. of Scalar-n (in the User Defined Scalars... category) is the diffusion
coefficient for the nth user-defined scalar transport equation. See the separate
UDF manual for details about defining user-defined scalars.
Discrete Phase Model... includes quantities related to the discrete phase model. See
Chapter 22: Modeling Discrete Phase for details about this model.
DPM Absorption Coefficient (in the Discrete Phase Model... category) is the absorp-
tion coefficient for discrete-phase calculations that involve radiation (a in Equa-
tion 13.3-1). Its unit quantity is length-inverse.
DPM Accretion (in the Discrete Phase Model... category) is the accretion rate calcu-
lated at a wall boundary:
N
X ṁp
Raccretion = (30.4-8)
p=1 Aface
where ṁp is the mass flow rate of the particle stream, and Aface is the area of the
wall face where the particle strikes the boundary. This item will appear only if
the optional erosion/accretion model is enabled. See Section 22.11.5: Monitoring
Erosion/Accretion of Particles at Walls for details. The unit quantity for DPM
Accretion is mass-flux.
DPM Burnout (in the Discrete Phase Model... category) is the exchange of mass from
the discrete to the continuous phase for the combustion law (Law 5) and is pro-
portional to the solid phase reaction rate. The burnout exchange has units of
mass-flow.
30-26
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
DPM Concentration (in the Discrete Phase Model... category) is the total concentration
of the discrete phase. Its unit quantity is density.
DPM Emission (in the Discrete Phase Model... category) is the amount of radiation
emitted by a discrete-phase particle per unit volume. Its unit quantity is heat-
generation-rate.
DPM Enthalpy Source (in the Discrete Phase Model... category) is the exchange of
enthalpy (sensible enthalpy plus heat of formation) from the discrete phase to the
continuous phase. The exchange is positive when the particles are a source of heat
in the continuous phase. The unit quantity for DPM Enthalpy Source is power.
DPM Erosion (in the Discrete Phase Model... category) is the erosion rate calculated
at a wall boundary face:
N
X ṁp f (α)
Rerosion = (30.4-9)
p=1 Aface
where ṁp is the mass flow rate of the particle stream, α is the impact angle of
the particle path with the wall face, f (α) is the function specified in the Wall
panel, and Aface is the area of the wall face where the particle strikes the boundary.
This item will appear only if the optional erosion/accretion model is enabled. See
Section 22.11.5: Monitoring Erosion/Accretion of Particles at Walls for details. The
unit quantity for DPM Erosion is mass-flux.
DPM Evaporation/Devolatilization (in the Discrete Phase Model... category) is the ex-
change of mass, due to droplet-particle evaporation or combusting-particle de-
volatilization, from the discrete phase to the evaporating or devolatilizing species.
If you are not using the non-premixed combustion model, the mass source for
each individual species (DPM species-n Source, below) is also available; for non-
premixed combustion, only this sum is available. The unit quantity for DPM Evap-
oration/Devolatilization is mass-flow.
DPM Mass Source (in the Discrete Phase Model... category) is the total exchange of
mass from the discrete phase to the continuous phase. The mass exchange is positive
when the particles are a source of mass in the continuous phase. If you are not
using the non-premixed combustion model, DPM Mass Source will be equal to the
sum of all species mass sources (DPM species-n Source, below); if you are using
the non-premixed combustion model, it will be equal to DPM Burnout plus DPM
Evaporation/Devolatilization. The unit quantity for DPM Mass Source is mass-flow.
DPM Scattering (in the Discrete Phase Model... category) is the scattering coefficient
for discrete-phase calculations that involve radiation (σs in Equation 13.3-1). Its
unit quantity is length-inverse.
c Fluent Inc. September 29, 2006 30-27
Field Function Definitions
DPM Sensible Enthalpy Source (in the Discrete Phase Model... category) is the ex-
change of sensible enthalpy from the discrete phase to the continuous phase. The
exchange is positive when the particles are a source of heat in the continuous phase.
Its unit quantity is power.
DPM species-n Source (in the Discrete Phase Model... category) is the exchange of
mass, due to droplet-particle evaporation or combusting-particle devolatilization,
from the discrete phase to the evaporating or devolatilizing species. (The name of
the species will replace species-n in DPM species-n Source.) These species are spec-
ified in the Set Injection Properties panel, as described in Section 22.12.4: Defining
Injection Properties. The unit quantity is mass-flow. Note that this variable will
not be available if you are using the non-premixed combustion model; use DPM
Evaporation/Devolatilization instead.
DPM Swirl Momentum Source (in the Discrete Phase Model... category) is the ex-
change of swirl momentum from the discrete phase to the continuous phase. This
value is positive when the particles are a source of momentum in the continuous
phase. The unit quantity is force.
DPM X, Y, Z Momentum Source (in the Discrete Phase Model... category) are the ex-
change of x-, y-, and z-direction momentum from the discrete phase to the continu-
ous phase. These values are positive when the particles are a source of momentum
in the continuous phase. The unit quantity is force.
Dynamic Pressure (in the Pressure... category) is defined as q ≡ 21 ρv 2 . Its unit quantity
is pressure.
Eff Diff Coef of species-n (in the Species... category) is the sum of the laminar and
turbulent diffusion coefficients of a species into the mixture:
µt
Di,m +
ρSct
(The name of the species will replace species-n in Eff Diff Coef of species-n.) The
unit quantity is mass-diffusivity.
Effective Prandtl Number (in the Turbulence... category) is the ratio µeff cp /keff , where
µeff is the effective viscosity, cp is the specific heat, and keff is the effective thermal
conductivity.
Effective Thermal Conductivity (in the Properties... category) is the sum of the laminar
and turbulent thermal conductivities, k+kt , of the fluid. A large thermal conductiv-
ity is associated with a good heat conductor and a small thermal conductivity with
a poor heat conductor (good insulator). Its unit quantity is thermal-conductivity.
30-28
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
Effective Viscosity (in the Turbulence... category) is the sum of the laminar and tur-
bulent viscosities of the fluid. Viscosity, µ, is defined by the ratio of shear stress to
the rate of shear. Its unit quantity is viscosity.
Enthalpy (in the Temperature... category) is defined differently for compressible and
incompressible flows, and depending on the solver and models in use.
For compressible flows,
X
H= Yj H j (30.4-10)
j
X p
H= Yj H j + (30.4-11)
j ρ
where Yj and Hj are, respectively, the mass fraction and enthalpy of species j. (See
Enthalpy of species-n, below). For the pressure-based solver, the second term on
the right-hand side of Equation 30.4-11 is included only if the pressure work term
is included in the energy equation (see Section 13.2.1: Inclusion of Pressure Work
and Kinetic Energy Terms). For multiphase models, this value corresponds to the
selected phase in the Phase drop-down list. For all species models, the Enthalpy
plots consist of the thermal (or sensible) plus chemical energy. The unit quantity
for Enthalpy is specific-energy.
where h0j (Tref,j ) is the formation enthalpy of species j at the reference temperature
Tref,j ), is reported only for non-adiabatic PDF cases, or if the density-based solver
is selected. The quantity:
Z T
hj = cp,j dT (30.4-13)
Tref
where Tref = 298.15K, is reported in all other cases. The unit quantity for Enthalpy
of species-n is specific-energy.
c Fluent Inc. September 29, 2006 30-29
Field Function Definitions
~ i · ~rc0/c1
A
1− (30.4-17)
~ i ||~rc0/c1 |
|A
Therefore, the worst cells will have a Face Squish Index close to 1.
Fine Scale Mass Fraction of species-n (in the Species... category) is the term Yi∗ in
Equation 14.1-31.
Fine Scale Temperature (in the Temperature... category) is the temperature of the fine
scales, which is calculated from the enthalpy when the reaction proceeds over the
time scale (τ ∗ in Equation 14.1-30), governed by the Arrhenius rates of Equa-
tion 14.1-8. Its unit quantity is temperature.
Fine Scale Transfer Rate (in the Species... category) is the transfer rate of the fine
scales, which is equal to the inverse of the time scale (τ ∗ in Equation 14.1-30). Its
unit quantity is time-inverse.
30-30
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
1-Fine Scale Volume Fraction (in the Species... category) is a function of the fine scale
volume fraction (ξ ∗ in Equation 14.1-29). The quantity is subtracted from unity to
make it easier to interpret.
Fvar Prod (in the Pdf... category) is the production term in the mixture fraction
variance equation solved in the non-premixed combustion model (i.e., the last two
terms in Equation 15.2-5).
Fvar2 Prod (in the Pdf... category) is the production term in the secondary mix-
ture fraction variance equation solved in the non-premixed combustion model. See
Equation 15.2-5.
Gas Constant (R) (in the Properties... category) is the gas constant of the fluid. Its
unit quantity is specific-heat.
Granular Conductivity (in the Properties... category) is equivalent to the diffusion co-
efficient in Equation 23.5-75. For more information, see Section 23.5.8: Granular
Temperature. Its unit quantity is kg/m-s.
Granular Pressure... includes quantities for reporting the solids pressure for each gran-
ular phase (ps in Equation 23.5-44). See Section 23.5.5: Solids Pressure for details.
Its unit quantity is pressure. For multiphase models, this value corresponds to the
selected phase in the Phase drop-down list.
Granular Temperature... includes quantities for reporting the granular temperature for
each granular phase (Θs in Equation 23.5-75). See Section 23.5.8: Granular Temperature
for details. Its unit quantity is m2 /s2 . For multiphase models, this value corre-
sponds to the selected phase in the Phase drop-down list.
Grid X-Velocity, Grid Y-Velocity, Grid Z-Velocity (in the Velocity... category) are the
vector components of the grid velocity for moving-grid problems (rotating or multi-
ple reference frames, mixing planes, or sliding meshes). Its unit quantity is velocity.
HCN Density (in the NOx... category) is the mass per unit volume of HCN. The unit
quantity is density. The HCN Density will appear only if you are modeling fuel NOx .
See Section 20.1.5: Fuel NOx Formation for details.
Helicity (in the Velocity... category) is defined by the dot product of vorticity and the
velocity vector.
H = (∇ × V~ ) · V~ (30.4-18)
It provides insight into the vorticity aligned with the fluid stream. Vorticity is a
measure of the rotation of a fluid element as it moves in the flow field.
c Fluent Inc. September 29, 2006 30-31
Field Function Definitions
Incident Radiation (in the Radiation... category) is the total radiation energy, G, that
arrives at a location per unit time and per unit area:
Z
G= IdΩ (30.4-19)
Ω=4π
where I is the radiation intensity and Ω is the solid angle. G is the quantity that the
P-1 radiation model computes. For the DO radiation model, the incident radiation
is computed over a finite number of discrete solid angles, each associated with a
vector direction. The unit quantity for Incident Radiation is heat-flux.
Incident Radiation (Band n) (in the Radiation... category) is the radiation energy con-
tained in the wavelength band ∆λ for the non-gray DO radiation model. Its unit
quantity is heat-flux.
Internal Energy (in the Temperature... category) is the summation of the kinetic and
potential energies of the molecules of the substance per unit volume (and excludes
chemical and nuclear energies). Internal Energy is defined as e = cv T . Its unit
quantity is specific-energy.
Jet Acoustic Power (in the Acoustics... category) is the acoustic power for turbulent
axisymmetric jets (see Equation 21.2-14). It is available only when the Broadband
Noise Sources acoustics model is being used.
Jet Acoustic Power Level (dB) (in the Acoustics... category) is the acoustic power for
turbulent axisymmetric jets, reported in dB (see Equation 21.2-27). It is available
only when the Broadband Noise Sources acoustics model is being used.
Lam Diff Coef of species-n (in the Species... category) is the laminar diffusion coeffi-
cient of a species into the mixture, Di,m . Its unit quantity is mass-diffusivity.
Laminar Flame Speed (in the Premixed Combustion... category) is the propagation
speed of laminar premixed flames (Ul in Equation 16.2-4). Its unit quantity is
velocity.
LEE Self-Noise X-Source, LEE Self-Noise Y-Source, LEE Self-Noise Z-Source (in the Acous-
tics... category ) are the self-noise source terms in the linearized Euler equation for
the acoustic velocity component (see Equation 21.2-32). They are available only
when the Broadband Noise Sources acoustics model is being used.
LEE Shear-Noise X-Source, LEE Shear-Noise Y-Source, LEE Shear-Noise Z-Source (in the
Acoustics... category ) are the shear-noise source terms in the linearized Euler equa-
tion for the acoustic velocity component (see Equation 21.2-32). They are available
only when the Broadband Noise Sources acoustics model is being used.
30-32
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
LEE Total Noise X-Source, LEE Total Noise Y-Source, LEE Total Noise Z-Source (in the
Acoustics... category ) are the total noise source terms in the linearized Euler equa-
tion for the acoustic velocity component (see Equation 21.2-32). The total noise
source term is the sum of the self-noise and shear-noise source terms. They are
available only when the Broadband Noise Sources acoustics model is being used.
Lilley’s Self-Noise Source (in the Acoustics... category ) is the self-noise source term
in the linearized Lilley’s equation (see Equation 21.2-36), available only when the
Broadband Noise Sources acoustics model is being used.
Lilley’s Shear-Noise Source (in the Acoustics... category ) is the shear-noise source term
in the linearized Lilley’s equation (see Equation 21.2-36), available only when the
Broadband Noise Sources acoustics model is being used.
Lilley’s Total Noise Source (in the Acoustics... category ) is the total noise source term
in the linearized Lilley’s equation (see Equation 21.2-36). The total noise source
term is the sum of the self-noise and shear-noise source terms, available only when
the Broadband Noise Sources acoustics model is being used.
Liquid Fraction (in the Solidification/Melting... category) is the liquid fraction β com-
puted by the solidification/melting model:
∆H
β= =0 if T < Tsolidus
L
∆H
β= =1 if T > Tliquidus
L
∆H T − Tsolidus
β= = if Tsolidus < T < Tliquidus (30.4-20)
L Tliquidus − Tsolidus
Mach Number (in the Velocity... category) is the ratio of velocity and speed of sound.
Mass fraction of HCN, Mass fraction of NH3, Mass fraction of NO, Mass fraction of N2O
(in the NOx... category) are the mass of HCN, the mass of NH3 , the mass of NO,
and the mass of N2 O per unit mass of the mixture (e.g., kg of HCN in 1 kg of the
mixture). The Mass fraction of HCN and the Mass fraction of NH3 will appear only
if you are modeling fuel NOx . See Section 20.1.5: Fuel NOx Formation for details.
Mass fraction of nuclei (in the Soot... category) is the number of particles per unit
mass of the mixture (in units of particles ×1015 /kg) The Mass fraction of nuclei will
appear only if you use the two-step soot model. See Section 20.3: Soot Formation
for details.
Mass fraction of soot (in the Soot... category) is the mass of soot per unit mass of the
mixture (e.g., kg of soot in 1 kg of the mixture). See Section 20.3: Soot Formation
for details.
c Fluent Inc. September 29, 2006 30-33
Field Function Definitions
Mass fraction of species-n (in the Species... category) is the mass of a species per unit
mass of the mixture (e.g., kg of species in 1 kg of the mixture).
Mean quantity-n (in the Unsteady Statistics... category) is the time-averaged value of
a solution variable (e.g., Static Pressure). See Section 25.17.4: Postprocessing for
Time-Dependent Problems for details.
Meridional Coordinate (in the Grid... category) is the normalized (dimensionless) co-
ordinate that follows the flow path from inlet to outlet. Its value varies from 0 to
1.
Mixture Fraction Variance (in the Pdf... category) is the variance of the mixture frac-
tion solved for in the non-premixed combustion model. This is the second conser-
vation equation (along with the mixture fraction equation) that the non-premixed
combustion model solves. (See Section 15.2.1: Definition of the Mixture Fraction.)
Modified Turbulent Viscosity (in the Turbulence... category) is the transported quantity
ν̃ that is solved for in the Spalart-Allmaras turbulence model (see Equation 12.3-1).
The turbulent viscosity, µt , is computed directly from this quantity using the rela-
tionship given by Equation 12.3-2. Its unit quantity is viscosity.
Molar Concentration of species-n (in the Species... category) is the moles per unit vol-
ume of a species. Its unit quantity is concentration.
Mole fraction of species-n (in the Species... category) is the number of moles of a
species in one mole of the mixture.
Mole fraction of HCN, Mole fraction of NH3, Mole fraction of NO, Mole fraction of N2O
(in the NOx... category) are the number of moles of HCN, NH3 , NO, and N2 O in
one mole of the mixture. The Mole fraction of HCN and the Mole fraction of NH3 will
appear only if you are modeling fuel NOx . See Section 20.1.5: Fuel NOx Formation
for details.
Mole fraction of soot (in the Soot... category) is the number of moles of soot in one
mole of the mixture.
Molecular Prandtl Number (in the Properties... category) is the ratio cp µlam /klam .
Molecular Viscosity (in the Properties... category) is the laminar viscosity of the fluid.
Viscosity, µ, is defined by the ratio of shear stress to the rate of shear. Its unit
quantity is viscosity. For multiphase models, this value corresponds to the selected
phase in the Phase drop-down list. For granular phases, this is equivalent to the
solids shear viscosity µs in Equation 23.5-62.
NH3 Density, NO Density, N2O Density (in the NOx... category) are the mass per unit
volume of NH3 , NO and N2 O. The unit quantity for each is density. The NH3
Density will appear only if you are modeling fuel NOx . See Section 20.1.5: Fuel
NOx Formation for details.
30-34
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
NOx... contains quantities related to the NOx model. See Section 20.1: NOx Formation
for details about this model.
Partition Boundary Cell Distance (in the Grid... category) is the smallest number of
cells which must be traversed to reach the nearest partition (interface) boundary.
Partition Neighbors (in the Cell Info... category) is the number of adjacent partitions
(i.e., those that share at least one partition boundary face (interface)). It gives
a measure of the number of messages that will have to be generated for parallel
processing.
Pdf... contains quantities related to the non-premixed combustion model, which is
described in Chapter 15: Modeling Non-Premixed Combustion.
Phases... contains quantities for reporting the volume fraction of each phase. See
Chapter 23: Modeling Multiphase Flows for details.
Pitchwise Coordinate (in the Grid... category) is the normalized (dimensionless) co-
ordinate in the circumferential (pitchwise) direction. Its value varies from 0 to
1.
Preconditioning Reference Velocity (in the Velocity... category) is the reference velocity
used in the coupled solver’s preconditioning algorithm. See
Section 25.5.2: Preconditioning for details.
Premixed Combustion... contains quantities related to the premixed combustion model,
which is described in Chapter 16: Modeling Premixed Combustion.
Pressure... includes quantities related to a normal force per unit area (the impact of
the gas molecules on the surfaces of a control volume).
Pressure Coefficient (in the Pressure... category) is a dimensionless parameter defined
by the equation
(p − pref )
Cp = (30.4-21)
qref
where p is the static pressure, pref is the reference pressure, and qref is the reference
dynamic pressure defined by 12 ρref vref 2 . The reference pressure, density, and velocity
are defined in the Reference Values panel.
Product Formation Rate (in the Premixed Combustion... category) is the source term in
the progress variable transport equation (Sc in Equation 16.2-1). Its unit quantity
is time-inverse.
Production of k (in the Turbulence... category) is the rate of production of turbulence
kinetic energy (times density). Its unit quantity is turb-kinetic-energy-production.
For multiphase models, this value corresponds to the selected phase in the Phase
drop-down list.
c Fluent Inc. September 29, 2006 30-35
Field Function Definitions
Progress Variable (in the Premixed Combustion... category) is a normalized mass frac-
tion of the combustion products (c = 1) or unburnt mixture products (c = 0), as
defined by Equation 16.2-2.
Rate of NO (in the NOx... category) is the overall rate of formation of NO due to all
active NO formation pathways (e.g., thermal, prompt, etc.).
Rate of Nuclei (in the Soot... category) is the overall rate of formation of nuclei.
Rate of N2OPath NO (in the NOx... category) is the rate of formation of NO due to
the N2O pathway only (only available when N2O pathway is active).
Rate of Prompt NO (in the NOx... category) is the rate of formation of NO due to the
prompt pathway only (only available when prompt pathway is active).
Rate of Reburn NO (in the NOx... category) is the rate of formation of NO due to the
reburn pathway only (only available when reburn pathway is active).
Rate of SNCR NO (in the NOx... category) is the rate of formation of NO due to the
SNCR pathway only (only available when SNCR pathway is active).
Rate of Soot (in the Soot... category) is the overall rate of formation of soot mass.
Rate of Thermal NO (in the NOx... category) is the rate of formation of NO due to
the thermal pathway only (only available when thermal pathway is active).
Rate of Fuel NO (in the NOx... category) is the rate of formation of NO due to the
fuel pathway only (only available when fuel pathway is active).
Rate of USER NO (in the NOx... category) is the rate of formation of NO due to user
defined rates only (only available when UDF rates are added).
Radial Coordinate (in the Grid... category) is the length of the radius vector in the
polar coordinate system. The radius vector is defined by a line segment between
the node and the axis of rotation. You can define the rotational axis in the Fluid
panel. (See also Section 30.2: Velocity Reporting Options.) The unit quantity for
Radial Coordinate is length.
Radial Velocity (in the Velocity... category) is the component of velocity in the radial
direction. (See Section 30.2: Velocity Reporting Options for details.) The unit
quantity for Radial Velocity is velocity. For multiphase models, this value corre-
sponds to the selected phase in the Phase drop-down list.
30-36
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
Radial-Wall Shear Stress (in the Wall Fluxes... category) is the radial component of the
force acting tangential to the surface due to friction. Its unit quantity is pressure.
Radiation... includes quantities related to radiation heat transfer. See Section 13.3: Mod-
eling Radiation for details about the radiation models available in FLUENT.
Radiation Heat Flux (in the Wall Fluxes... category) is the rate of radiation heat trans-
fer through the control surface. It is calculated by the solver according to the
specified radiation model. Heat flux out of the domain is negative, and heat flux
into the domain is positive. The unit quantity for Radiation Heat Flux is heat-flux.
G 1/4
θR = ( ) (30.4-22)
4σ
where G is the Incident Radiation. The unit quantity for Radiation Temperature is
temperature.
Rate of Reaction-n (in the Reactions... category) is the effective rate of progress of nth
reaction. For the finite-rate model, the value is the same as the Arrhenius Rate of
Reaction-n. For the eddy-dissipation model, the value is equivalent to the Turbulent
Rate of Reaction-n. For the finite-rate/eddy-dissipation model, it is the lesser of the
two.
Reactions... includes quantities related to finite-rate reactions. See Chapter 14: Mod-
eling Species Transport and Finite-Rate Chemistry for information about modeling
finite-rate reactions.
Reflected Radiation Flux (Band-n) (in the Wall Fluxes... category) is the amount of
radiative heat flux reflected by a semi-transparent wall for a particular band of
radiation. Its unit quantity is heat-flux.
Reflected Visible Solar Flux, Reflected IR Solar Flux (in the Wall Fluxes... category) is
the amount of solar heat flux reflected by a semi-transparent wall for a visible or
infrared (IR) radiation.
Relative Axial Velocity (in the Velocity... category) is the axial-direction component of
the velocity relative to the reference frame motion. See Section 30.2: Velocity Re-
porting Options for details. The unit quantity for Relative Axial Velocity is velocity.
c Fluent Inc. September 29, 2006 30-37
Field Function Definitions
Relative Humidity (in the Species... category) is the ratio of the partial pressure of
the water vapor actually present in an air-water mixture to the saturation pressure
of water vapor at the mixture temperature. FLUENT computes the saturation
pressure, p, from the following equation [302]:
8
!
p Tc
Fi [a (T − Tp )]i−1
X
ln = −1 × (30.4-23)
pc T i=1
Relative Mach Number (in the Velocity... category) is the nondimensional ratio of the
relative velocity and speed of sound.
Relative Radial Velocity (in the Velocity... category) is the radial-direction component
of the velocity relative to the reference frame motion. (See Section 30.2: Velocity
Reporting Options for details.) The unit quantity for Relative Radial Velocity is
velocity.
Relative Swirl Velocity (in the Velocity... category) is the tangential-direction compo-
nent of the velocity relative to the reference frame motion, in an axisymmetric
swirling flow. (See Section 30.2: Velocity Reporting Options for details.) The unit
quantity for Relative Swirl Velocity is velocity.
30-38
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
Relative Total Pressure (in the Pressure... category) is the stagnation pressure com-
puted using relative velocities instead of absolute velocities; i.e., for incompressible
flows the dynamic pressure would be computed using the relative velocities. (See
Section 30.2: Velocity Reporting Options for more information about relative ve-
locities.) The unit quantity for Relative Total Pressure is pressure.
Relative Total Temperature (in the Temperature... category) is the stagnation tem-
perature computed using relative velocities instead of absolute velocities. (See
Section 30.2: Velocity Reporting Options for more information about relative ve-
locities.) The unit quantity for Relative Total Temperature is temperature.
Relative Velocity Angle (in the Velocity... category) is similar to the Velocity Angle
except that it uses the relative tangential velocity, and is defined as
!
−1 relative-tangential-velocity
tan − (30.4-25)
axial-velocity
Relative Velocity Magnitude (in the Velocity... category) is the magnitude of the rela-
tive velocity vector instead of the absolute velocity vector. The relative velocity
(w)
~ is the difference between the absolute velocity (~v ) and the grid velocity. For
simple rotation, the relative velocity is defined as
w ~ × ~r
~ ≡ ~v − Ω (30.4-26)
where Ω~ is the angular velocity of a rotating reference frame about the origin and
~r is the position vector. (See also Section 30.2: Velocity Reporting Options.) The
unit quantity for Relative Velocity Magnitude is velocity.
Relative X Velocity, Relative Y Velocity, Relative Z Velocity (in the Velocity... category)
are the x-, y-, and z-direction components of the velocity relative to the reference
frame motion. (See Section 30.2: Velocity Reporting Options for details.) The unit
quantity for these variables is velocity.
Residuals... contains different quantities for the pressure-based and density-based solvers:
In the density-based solvers, this category includes the corrections to the primitive
variables pressure, velocity, temperature, and species, as well as the time rate of
change of the corrections to these primitive variables for the current iteration (i.e.,
residuals). Corrections are the changes in the variables between the current and
previous iterations and residuals are computed by dividing a cell’s correction by
its physical time step. The total residual for each variable is the summation of the
Euler, viscous, and dissipation contributions. The dissipation components are the
vector components of the flux-like, face-based dissipation operator.
c Fluent Inc. September 29, 2006 30-39
Field Function Definitions
In the pressure-based solver, only the Mass Imbalance in each cell is reported (unless
you have requested others, as described in Section 25.18.1: Postprocessing Residual
Values). At convergence, this quantity should be small compared to the average
mass flow rate.
RMS quantity-n (in the Unsteady Statistics... category) is the root mean squared value
of a solution variable (e.g., Static Pressure). See Section 25.17.4: Postprocessing for
Time-Dependent Problems for details.
w 2 u2
I =h+ − (30.4-27)
2 2
where h is the enthalpy, w is the relative velocity magnitude, and u is the magnitude
~ × ~r.
of the rotational velocity ~u = ω
Scalar-n (in the User Defined Scalars... category) is the value of the nth scalar quantity
you have defined as a user-defined scalar. See the separate UDF manual for more
information about user-defined scalars.
Scalar Dissipation (in the Pdf... category) is one of two parameters that describes the
species mass fraction and temperature for a laminar flamelet in mixture fraction
spaces. It is defined as
χ = 2D|∇f |2 (30.4-28)
Scattering Coefficient (in the Radiation... category) is the property of a medium that
describes the amount of scattering of thermal radiation per unit path length for
propagation in the medium. It can be interpreted as the inverse of the mean
free path that a photon will travel before undergoing scattering (if the scattering
coefficient does not vary along the path). The unit quantity for Scattering Coefficient
is length-inverse.
Secondary Mean Mixture Fraction (in the Pdf... category) is the mean ratio of the sec-
ondary stream mass fraction to the sum of the fuel, secondary stream, and oxidant
mass fractions. It is the secondary-stream conserved scalar that is calculated by
the non-premixed combustion model. See Section 15.2.1: Definition of the Mixture
Fraction.
Secondary Mixture Fraction Variance (in the Pdf... category) is the variance of the sec-
ondary stream mixture fraction that is solved for in the non-premixed combustion
model. See Section 15.2.1: Definition of the Mixture Fraction.
30-40
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
Sensible Enthalpy (in the Temperature... category) is available when any of the species
models are active and displays only the thermal (sensible) enthalpy.
Skin Friction Coefficient (in the Wall Fluxes... category) is a nondimensional parameter
defined as the ratio of the wall shear stress and the reference dynamic pressure
τw
Cf ≡ 1 (30.4-29)
ρ v2
2 ref ref
where τw is the wall shear stress, and ρref and vref are the reference density and
velocity defined in the Reference Values panel. For multiphase models, this value
corresponds to the selected phase in the Phase drop-down list.
Solar Heat Flux (in the Wall Fluxes... category) is the rate of solar heat transfer through
the control surface. Heat flux out of the domain is negative and heat flux into the
domain is positive.
Soot Density (in the Soot... category) is the mass per unit volume of soot. The unit
quantity is density. See Section 20.1.5: Fuel NOx Formation for details.
Sound
q Speed (in the Properties... category) is the acoustic speed. It is computed from
γp
ρ
. Its unit quantity is velocity.
Spanwise Coordinate (in the Grid... category) is the normalized (dimensionless) coor-
dinate in the spanwise direction, from hub to casing. Its value varies from 0 to
1.
species-n Source Term (in the Species... category) is the source term in each of the
species transport equations due to reactions. The unit quantity is always kg/m3 -s.
Specific Dissipation Rate (Omega) (in the Turbulence... category) is the rate of dissi-
pation of turbulence kinetic energy in unit volume and time. Its unit quantity is
time-inverse.
Specific Heat (Cp) (in the Properties... category) is the thermodynamic property of
specific heat at constant pressure. It is defined as the rate of change of enthalpy
with temperature while pressure is held constant. Its unit quantity is specific-heat.
Specific Heat Ratio (gamma) (in the Properties... category) is the ratio of specific heat
at constant pressure to the specific heat at constant volume.
c Fluent Inc. September 29, 2006 30-41
Field Function Definitions
Stored Cell Partition (in the Cell Info... category) is an integer identifier designating
the partition to which a particular cell belongs. In problems in which the grid
is divided into multiple partitions to be solved on multiple processors using the
parallel version of FLUENT, the partition ID can be used to determine the extent
of the various groups of cells. The active cell partition is used for the current
calculation, while the stored cell partition (the last partition performed) is used
when you save a case file. See Section 31.5.4: Partitioning the Grid Manually for
more information.
Static Pressure (in the Pressure... category) is the static pressure of the fluid. It
is a gauge pressure expressed relative to the prescribed operating pressure. The
absolute pressure is the sum of the Static Pressure and the operating pressure. Its
unit quantity is pressure.
Strain Rate (in the Derivatives... category) relates shear stress to the viscosity. Also
called the shear rate (γ̇ in Equation 8.4-17), the strain rate is related to the second
invariant of the rate-of-deformation tensor D. Its unit quantity is time-inverse. In
3D Cartesian coordinates, the strain rate, S, is defined as
" ! ! !#
2 ∂u ∂u ∂u ∂u ∂u ∂v ∂u ∂u ∂w
S = + + + + + +
∂x ∂x ∂x ∂y ∂y ∂x ∂z ∂z ∂x
" ! ! !#
∂v ∂v ∂u ∂v ∂v ∂v ∂v ∂v ∂w
+ + + + + +
∂x ∂x ∂y ∂y ∂y ∂y ∂z ∂z ∂y
" ! ! !#
∂w ∂w ∂u ∂w ∂w ∂v ∂w ∂w ∂w
+ + + + + (30.4-30)
∂x ∂x ∂z ∂y ∂y ∂z ∂z ∂z ∂z
For multiphase models, this value corresponds to the selected phase in the Phase
drop-down list.
Stream Function (in the Velocity... category) is formulated as a relation between the
streamlines and the statement of conservation of mass. A streamline is a line that
is tangent to the velocity vector of the flowing fluid. For a 2D planar flow, the
stream function, ψ, is defined such that
∂ψ ∂ψ
ρu ≡ ρv ≡ − (30.4-31)
∂y ∂x
30-42
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
where ψ is constant along a streamline and the difference between constant values
of stream function defining two streamlines is the mass rate of flow between the
streamlines.
The accuracy of the stream function calculation is determined by the text command
/display/set/n-stream-func.
Subgrid Filter Length (in the Turbulence... category) is a mixing length for subgrid
scales of the LES turbulence model (defined as LS in Equation 12.9-16).
Subgrid Kinetic Energy (in the Turbulence... category) is the turbulence kinetic energy
per unit mass of the unresolved eddies, ks , calculated using the LES turbulence
model. It is defined as
νt2
ks = 2 (30.4-32)
Ls
Its unit quantity is turbulent-kinetic-energy.
Subgrid Turbulent Viscosity (in the Turbulence... category) is the turbulent (dynamic)
viscosity of the fluid calculated using the LES turbulence model. It expresses the
proportionality between the anisotropic part of the subgrid-scale stress tensor and
the rate-of-strain tensor. (See Equation 12.9-8.) Its unit quantity is viscosity.
Subgrid Turbulent Viscosity Ratio (in the Turbulence... category) is the ratio of the
subgrid turbulent viscosity of the fluid to the laminar viscosity, calculated using
the LES turbulence model.
Surface Acoustic Power (in the Acoustics... category) is the Acoustic Power per unit
area generated by boundary layer turbulence (see Equation 21.2-31). It is available
only when the Broadband Noise Sources acoustics model is being used. Its unit
quantity is power per area.
Surface Acoustic Power Level (dB) (in the Acoustics... category) is the Acoustic Power
per unit area generated by boundary layer turbulence, and represented in dB (see
Equation 21.2-31). It is available only when the Broadband Noise Sources acoustics
model is being used.
Surface Cluster ID (in the Radiation... category) is used to view the distribution of
surface clusters in the domain. Each cluster has a unique integer number (ID)
associated with it.
Surface Coverage of species-n (in the Species... category) is the amount of a surface
species that is deposited on the substrate at a specific point in time.
c Fluent Inc. September 29, 2006 30-43
Field Function Definitions
Surface Deposition Rate of species-n (in the Species... category) is the amount of a
surface species that is deposited on the substrate. Its unit quantity is mass-flux.
Surface dpdt RMS (in the Acoustics... category) is the RMS value of the time-derivative
of static pressure (∂p/∂t). It is available when the Ffowcs-Williams & Hawkings
acoustics model is being used.
Surface Heat Transfer Coef. (in the Wall Fluxes... category), as defined in FLUENT, is
given by the equation
q
heff = (30.4-33)
Twall − Tref
where q is the combined convective and radiative heat flux, Twall is the wall temper-
ature, and Tref is the reference temperature defined in the Reference Values panel.
Please note that Tref is a constant value that should be representative of the prob-
lem. Its unit quantity is the heat-transfer-coefficient.
Surface Incident Radiation (in the Wall Fluxes... category) is the net incoming radiation
heat flux on a surface. Its unit quantity is heat-flux.
Surface Nusselt Number (in the Wall Fluxes... category) is a local nondimensional co-
efficient of heat transfer defined by the equation
heff Lref
Nu = (30.4-34)
k
where heff is the heat transfer coefficient, Lref is the reference length defined in the
Reference Values panel, and k is the molecular thermal conductivity.
Surface Stanton Number (in the Wall Fluxes... category) is a nondimensional coefficient
of heat transfer defined by the equation
heff
St = (30.4-35)
ρref vref cp
where heff is the heat transfer coefficient, ρref and vref are reference values of density
and velocity defined in the Reference Values panel, and cp is the specific heat at
constant pressure.
Swirl Velocity (in the Velocity... category) is the tangential-direction component of the
velocity in an axisymmetric swirling flow. See Section 30.2: Velocity Reporting
Options for details. The unit quantity for Swirl Velocity is velocity. For multiphase
models, this value corresponds to the selected phase in the Phase drop-down list.
30-44
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
Swirl-Wall Shear Stress (in the Wall Fluxes... category) is the swirl component of the
force acting tangential to the surface due to friction. Its unit quantity is pressure.
Tangential Velocity (in the Velocity... category) is the velocity component in the tan-
gential direction. (See Section 30.2: Velocity Reporting Options for details.) The
unit quantity for Tangential Velocity is velocity.
Thermal Conductivity (in the Properties... category) is a parameter (k) that defines
the conduction rate through a material via Fourier’s law (q = −k∇T ). A large
thermal conductivity is associated with a good heat conductor and a small thermal
conductivity with a poor heat conductor (good insulator). Its unit quantity is
thermal-conductivity.
Thermal Diff Coef of species-n (in the Species... category) is the thermal diffusion co-
efficient for the nth species (DT,i in Equations 8.9-1, 8.9-3, and 8.9-7). Its unit
quantity is viscosity.
Time Step (in the Residuals... category) is the local time step of the cell, ∆t, at the
current iteration level. Its unit quantity is time.
Time Step Scale (in the Species... category) is the factor by which the time step is
reduced for the stiff chemistry solver (available in the density-based solver only).
The time step is scaled down based on an eigenvalue and positivity analysis.
Total Energy (in the Temperature... category) is the total energy per unit mass. Its
unit quantity is specific-energy. For all species models, plots of Total Energy include
the sensible, chemical and kinetic energies. For multiphase models, this value
corresponds to the selected phase in the Phase drop-down list.
Total Enthalpy Deviation (in the Temperature... category) is the difference between To-
tal Enthalpy and the reference enthalpy, H + 12 v 2 − Href , where Href is the reference
enthalpy defined in the Reference Values panel. However, for non-premixed and
partially premixed models, Total Enthalpy Deviation is the difference between Total
Enthalpy and total adiabatic enthalpy (total enthalpy where no heat loss or gain
occurs). The unit quantity for Total Enthalpy Deviation is specific-energy. For multi-
phase models, this value corresponds to the selected phase in the Phase drop-down
list.
c Fluent Inc. September 29, 2006 30-45
Field Function Definitions
Total Pressure (in the Pressure... category) is the pressure at the thermodynamic state
that would exist if the fluid were brought to zero velocity and zero potential. For
compressible flows, the total pressure is computed using isentropic relationships.
For constant cp , this reduces to:
γ − 1 2 γ/(γ−1)
p0 = p 1 + M (30.4-36)
2
where p is the static pressure, γ is the ratio of specific heats, and M is the Mach
number. For incompressible flows (constant density fluid), we use Bernoulli’s equa-
tion, p0 = p + pdyn , where pdyn is the local dynamic pressure. Its unit quantity is
pressure.
Total Surface Heat Flux (in the Wall Fluxes... category) is the rate of total heat transfer
through the control surface. It is calculated by the solver according to the boundary
conditions being applied at that surface. By definition, heat flux out of the domain
is negative, and heat flux into the domain is positive. The unit quantity for Total
Surface Heat Flux is heat-flux.
Total Temperature (in the Temperature... category) is the temperature at the ther-
modynamic state that would exist if the fluid were brought to zero velocity. For
compressible flows, the total temperature is computed from the total enthalpy us-
ing the current cp method (specified in the Materials panel). For incompressible
flows, the total temperature is equal to the static temperature. The unit quantity
for Total Temperature is temperature.
Transmitted Radiation Flux (Band-n) (in the Wall Fluxes... category) is the amount of
radiative heat flux transmitted by a semi-transparent wall for a particular band of
radiation. Its unit quantity is heat-flux.
Transmitted Visible Solar Flux, Transmitted IR Solar Flux (in the Wall Fluxes... category)
is the amount of solar heat flux transmitted by a semi-transparent wall for a visible
or infrared radiation.
Turbulence Intensity (in the Turbulence... category) is the ratio of the magnitude of
the RMS turbulent fluctuations to the reference velocity:
q
2
3
k
I= (30.4-37)
vref
where k is the turbulence kinetic energy and vref is the reference velocity specified
in the Reference Values panel. The reference value specified should be the mean
velocity magnitude for the flow. Note that turbulence intensity can be defined in
30-46
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
different ways, so you may want to use a custom field function for its definition.
See Section 30.5: Custom Field Functions for more information.
Turbulent Dissipation Rate (Epsilon) (in the Turbulence... category) is the turbulent
dissipation rate. Its unit quantity is turbulent-energy-diss-rate. For multiphase
models, this value corresponds to the selected phase in the Phase drop-down list.
Turbulent Flame Speed (in the Premixed Combustion... category) is the turbulent flame
speed computed by FLUENT using Equation 16.2-4. Its unit quantity is velocity.
Turbulent Kinetic Energy (k) (in the Turbulence... category) is the turbulence kinetic
energy per unit mass defined as
1
k = u0i u0i (30.4-38)
2
Its unit quantity is turbulent-kinetic-energy. For multiphase models, this value cor-
responds to the selected phase in the Phase drop-down list.
Turbulent Rate of Reaction-n (in the Reactions... category) is the rate of progress of the
nth reaction computed by Equation 14.1-26 or 14.1-27. For the “eddy-dissipation”
model, the value is the same as the Rate of Reaction-n. For the “finite-rate” model,
the value is zero.
Turbulent Viscosity (in the Turbulence... category) is the turbulent viscosity of the fluid
computed using the turbulence model. Its unit quantity is viscosity. For multiphase
models, this value corresponds to the selected phase in the Phase drop-down list.
Turbulent Viscosity Ratio (in the Turbulence... category) is the ratio of turbulent vis-
cosity to the laminar viscosity.
udm-n (in the User Defined Memory... category) is the value of the quantity in the nth
user-defined memory location.
Unburnt Fuel Mass Fraction (in the Premixed Combustion... category) is the mass frac-
tion of unburnt fuel. This function is available only for non-adiabatic models.
Unsteady Statistics... includes mean and root mean square (RMS) values of solution
variables derived from transient flow calculations.
c Fluent Inc. September 29, 2006 30-47
Field Function Definitions
User Defined Memory... includes quantities that have been allocated to a user-defined
memory location. See the separate UDF Manual for details about user-defined
memory.
User-Defined Scalars... includes quantities related to user-defined scalars. See the sep-
arate UDF Manual for information about using user-defined scalars.
Variance of Species (in the NOx... category) is the variance of the mass fraction of a
selected species in the flow field. It is calculated from Equation 20.1-110.
Variance of Species 1, Variance of Species 2 (in the NOx... category) are the variances
of the mass fractions of the selected species in the flow field. They are each calcu-
lated from Equation 20.1-110.
Variance of Temperature (in the NOx... category) is the variance of the normalized
temperature in the flow field. It is calculated from Equation 20.1-110.
Velocity... includes the quantities associated with the rate of change in position with
time. The instantaneous velocity of a particle is defined as the first derivative of
the position vector with respect to time, d~r/dt, termed the velocity vector, ~v .
For a 3D model,
!
−1 tangential-velocity-component
tan (30.4-42)
axial-velocity-component
30-48
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
Velocity Magnitude (in the Velocity... category) is the speed of the fluid. Its unit
quantity is velocity. For multiphase models, this value corresponds to the selected
phase in the Phase drop-down list.
Volume fraction (in the Phases... category) is the volume fraction of the selected phase
in the Phase drop-down list.
Vorticity Magnitude (in the Velocity... category) is the magnitude of the vorticity vec-
tor. Vorticity is a measure of the rotation of a fluid element as it moves in the flow
field, and is defined as the curl of the velocity vector:
ξ = ∇ × V~ (30.4-43)
Wall Fluxes... includes quantities related to forces and heat transfer at wall surfaces.
Wall Shear Stress (in the Wall Fluxes... category) is the force acting tangential to the
surface due to friction. Its unit quantity is pressure. For multiphase models, this
value corresponds to the selected phase in the Phase drop-down list.
Wall Temperature (Inner Surface) (in the Temperature... category) is the temperature
on the inner surface of a wall (corresponding to the side of the wall surface away from
the adjacent fluid or solid cell zone). Note that wall thermal boundary conditions
are applied on this surface. See also Figure 7.13.2. The unit quantity for Wall
Temperature (Inner Surface) is temperature.
Wall Temperature (Outer Surface) (in the Temperature... category) is the temperature
on the outer surface of a wall (corresponding to the side of the wall surface toward
the adjacent fluid or solid cell zone). Note that wall thermal boundary conditions
are applied on the Inner Surface. See also Figure 7.13.2. The unit quantity for Wall
Temperature (Outer Surface) is temperature.
c Fluent Inc. September 29, 2006 30-49
Field Function Definitions
ρuτ yP
y+ = (30.4-45)
µ
q
where uτ = τw /ρw is the friction velocity, yP is the distance from point P to
the wall, ρ is the fluid density, and µ is the fluid viscosity at point P . See Sec-
tion 12.10: Near-Wall Treatments for Wall-Bounded Turbulent Flows for details.
For multiphase models, this value corresponds to the selected phase in the Phase
drop-down list.
1/2
∗ ρCµ1/4 kP yP
y = (30.4-46)
µ
where kP is the turbulence kinetic energy at point P , yP is the distance from point
P to the wall, ρ is the fluid density, and µ is the fluid viscosity at point P . See
Section 12.10: Near-Wall Treatments for Wall-Bounded Turbulent Flows for details.
X-Coordinate, Y-Coordinate, Z-Coordinate (in the Grid... category) are the Cartesian
coordinates in the x-axis, y-axis, and z-axis directions respectively. The unit quan-
tity for these variables is length.
X Face Area, Y Face Area, Z Face Area (in the Grid... category) are the components
of the boundary face area vectors stored in the adjacent boundary cells. The face
area calculations are done as in X Surface Area, Y Surface Area, Z Surface Area (see
below), except the area values in the cells with more than one boundary face are
not summed to obtain the cell values. Instead, the area value relative to the last
visited face of each cell is taken as the cell value.
The face area calculation can be restricted to a set of zones. Your zone selection can
be made from the Boundary Zones list contained in the Boundary Adaption panel.
The face areas will be calculated only on the zones selected, and in order to make
your selection active, you need to click the Mark button in the Boundary Adaption
panel. Note that if the Boundary Zones list is empty, all boundary zones will be
used.
X Pull Velocity, Y Pull Velocity, Z Pull Velocity (in the Solidification/Melting... category)
are the x, y, and z components of the pull velocity for the solid material in a con-
tinuous casting process. The unit quantity for each is velocity.
30-50
c Fluent Inc. September 29, 2006
30.4 Alphabetical Listing of Field Variables and Their Definitions
X Surface Area, Y Surface Area, Z Surface Area (in the Grid... category) are the com-
ponents of the boundary face area vectors stored in the adjacent boundary cells.
The surface area is accumulated from all boundary faces adjacent to the boundary
cell. For each boundary face zone, the component of the face area in the relevant
direction (x, y, or z) is added to the cell value of the adjacent cell. For those cells
having more than one boundary face, the cell value is the sum (accumulation) of
all the boundary face area values. In most circumstances, the X Surface Area, Y
Surface Area, Z Surface Area are used for flux and surface integration. In the few
instances where area accumulation must be avoided, you can mark the zones of
interest and use X Face Area, Y Face Area, Z Face Area (see above) for flux and
integral calculations.
X Velocity, Y Velocity, Z Velocity (in the Velocity... category) are the components of
the velocity vector in the x-axis, y-axis, and z-axis directions, respectively. The
unit quantity for these variables is velocity. For multiphase models, these values
correspond to the selected phase in the Phase drop-down list.
X-Vorticity, Y-Vorticity, Z-Vorticity (in the Velocity... category) are the x, y, and z
components of the vorticity vector.
X-Wall Shear Stress, Y-Wall Shear Stress, Z-Wall Shear Stress (in the Wall Fluxes... cat-
egory) are the x, y, and z components of the force acting tangential to the surface
due to friction. The unit quantity for these variables is pressure. For multiphase
models, these values correspond to the selected phase in the Phase drop-down list.
c Fluent Inc. September 29, 2006 30-51
Field Function Definitions
i Note that all custom field functions are evaluated and stored in SI units.
Any solver-defined flow variables that you use in your field-function defini-
tion will be automatically converted if they are not already in SI units, but
you must be careful to enter constants in the appropriate units. Note also
that explicit node values are not available for custom field functions; all
node values for these functions will be computed by averaging the values
in the surrounding cells, as described in Section 30.1.2: Node Values.
i Recall that you must enter all constants in the function definition in SI
units.
30-52
c Fluent Inc. September 29, 2006
30.5 Custom Field Functions
1. Use the calculator buttons and the Field Functions list and Select button to specify
the function definition, as described below. (As you select each item from the Field
Functions list or click a button in the calculator keypad, its symbol will appear in
the Definition text entry box. You cannot edit the contents of this box directly; if
you want to delete part of a function, use the DEL button on the keypad.)
i The range of integers and real numbers that can be stored is as follows:
i Be sure that you do not specify a name that is already used for a
standard field function (e.g., velocity-magnitude); you can see a com-
plete list of the predefined field functions in FLUENT by selecting the
display/contours text command and viewing the available choices for
contours of.
3. Click the Define button.
c Fluent Inc. September 29, 2006 30-53
Field Function Definitions
When you click Define, the solver will create the function and add it to the list of Custom
Field Functions within the drop-down list of available field functions. The Define push
button is grayed out after you create a new function or if the Definition text entry box is
empty.
Should you decide to rename or delete the function after you have completed the defini-
tion, you can do so in the Field Function Definitions panel, which you can open by clicking
on the Manage... push button. See Section 30.5.2: Manipulating, Saving, and Loading
Custom Field Functions for details.
• The CE/C button will clear the entire Definition and the New Function Name, if you
have entered one. The DEL button will delete only the last entry in the Definition
text entry box. You can use DEL to delete characters one at a time, starting with
the last one entered.
• To obtain the inverse trigonometric functions arcsin, arccos, and arctan, click the
INV button before selecting sin, cos, or tan.
• The ABS button yields the absolute value of the number that follows it. Likewise,
the ln button yields the natural logarithm of the number that follows it, and the
log10 button yields the base 10 logarithm function of the number that follows it.
i log10 and ln will be calculated for values greater than 0. For values less
than or equal to 0, the resultant value will be zero.
• The PI button represents π and the e button represents the base of the natural
logarithm system (which is approximately equal to 2.71828).
30-54
c Fluent Inc. September 29, 2006
30.5 Custom Field Functions
c Fluent Inc. September 29, 2006 30-55
Field Function Definitions
The following actions can be performed in the Field Function Definitions panel:
• To check the definition of a function, select it in the Field Functions list. Its definition
will be displayed in the Definition field. This display is for informational purposes
only; you cannot edit it. If you want to change a function definition, you must delete
the function and define it again in the Custom Field Function Calculator panel.
• To delete a function, select it in the Field Functions list and click the Delete button.
• To rename a function, select it in the Field Functions list, enter a new name in the
Name field, and click the Rename button.
i Be sure that you do not specify a name that is already used for a
standard field function (e.g., velocity-magnitude); you can see a com-
plete list of the predefined field functions in FLUENT by selecting the
display/contours text command and viewing the available choices for
contours of.
• To save all of the functions in the Field Functions list to a file, click the Save...
button and specify the file name in the resulting Select File dialog box (see Sec-
tion 2.1.2: Select File Dialog Box (UNIX or Linux)).
• To read custom field functions from a file that you saved as described above, click
the Load... button and specify the file name in the resulting Select File dialog box.
(Custom field function files are valid Scheme functions, and can also be loaded with
the File/Read/Scheme... menu item, as described in Section 4.8: Reading Scheme
Source Files.)
30-56
c Fluent Inc. September 29, 2006
30.5 Custom Field Functions
• To define a function that determines the ratio of static pressure to inlet total
pressure, use the relationship
p + pop
R= (30.5-1)
pto + pop
where p is the static pressure calculated by the solver, pto is the inlet total pressure,
and pop is the operating pressure for the problem. Use the solver-defined function
Static Pressure for p, and the numerical value that you specified for Gauge Total
Pressure in the Pressure Inlet panel for pto . Specify the value of the operating
pressure to be the value that you set in the Operating Conditions panel. As discussed
in Section 8.14: Operating Pressure, all pressures in FLUENT are gauge pressures
relative to the operating pressure. If the operating pressure is zero, as is generally
the case for compressible flow calculations, the expression for the pressure ratio
reduces to
p
PR = (30.5-2)
pto
• To define a function that determines the critical velocity ratio v/a∗ , a parameter
that is sometimes used in turbomachinery calculations, use the relationship
1/2
" ! #
v γ+1 (γ−1)/γ
= 1 − PR (30.5-3)
a∗ γ−1
In this relationship, a∗ is the critical velocity (i.e., the velocity that would occur
for the same stagnation conditions if M = 1), γ is the ratio of specific heats, and
PR is the pressure ratio defined in Equation 30.5-2 for which you created your
own function. For γ, ratio of specific heats, select Specific Heat Ratio (gamma) in
the Properties... category. To include PR, select Custom Field Functions... in the
first drop-down list under Field Functions, and then select from the second list the
function name that you assigned PR.
• Suppose you have swirling flow in a pipe, aligned with the z axis, and you want to
calculate the flow rate of angular momentum through a cross-sectional plane:
Z
~
ρrvθ~v · dA (30.5-4)
c Fluent Inc. September 29, 2006 30-57
Field Function Definitions
You can create a function for the product rvθ , where r is the Radial Coordinate and
vθ is the Tangential Velocity. Then use the Surface Integrals panel to compute the
flow rate of this quantity.
i The custom field function containing model dependent functions (like tem-
perature when the energy equation is enabled) will be computed only when
those models are still active.
30-58
c Fluent Inc. September 29, 2006
Chapter 31. Parallel Processing
c Fluent Inc. September 29, 2006 31-1
Parallel Processing
CORTEX
Solver
File Input/Output
Disk
Data:
Cell
Face
Node
CORTEX
COMPUTE NODES
Compute Node 0 Compute Node 1
Data: Data:
Cell Cell
Face Face
Node FLUENT FLUENT Node
MPI MPI
Socket
MP
Data: FLUENT FLUENT Data:
MPI MPI
Cell Cell
Face Face
Node Node
31-2
c Fluent Inc. September 29, 2006
31.1 Introduction to Parallel Processing
The host distributes those commands to the other compute nodes via a socket inter-
connect to a single designated compute node called compute-node-0. This specialized
compute node distributes the host commands to the other compute nodes. Each compute
node simultaneously executes the same program on its own data set. Communication
from the compute nodes to the host is possible only through compute-node-0 and only
when all compute nodes have synchronized with each other.
Each compute node is virtually connected to every other compute node, and relies on
inter-process communication to perform such functions as sending and receiving arrays,
synchronizing, and performing global operations (such as summations over all cells).
Inter-process communication is managed by a message-passing library. For example,
the message-passing library could be a vendor implementation of the Message Passing
Interface (MPI) standard, as depicted in Figure 31.1.2.
All of the parallel FLUENT processes (as well as the serial process) are identified by
a unique integer ID. The host collects messages from compute-node-0 and performs
operations (such as printing, displaying messages, and writing to a file) on all of the
data, in the same way as the serial solver.
1. Start up the parallel solver. See Section 31.2: Starting Parallel FLUENT on a
Windows System and Section 31.3: Starting Parallel FLUENT on a Linux/UNIX
System for details.
2. Read your case file and have FLUENT partition the grid automatically upon loading
it. It is best to partition after the problem is set up, since partitioning has some
model dependencies (e.g., adaption on non-conformal interfaces, sliding-mesh and
shell-conduction encapsulation).
Note that there are other approaches for partitioning, including manual partitioning
in either the serial or the parallel solver. See Section 31.5: Partitioning the Grid
for details.
4. Calculate a solution. See Section 31.6: Checking and Improving Parallel Performance
for information on checking and improving the parallel performance.
c Fluent Inc. September 29, 2006 31-3
Parallel Processing
i See the separate installation instructions for more information about in-
stalling parallel FLUENT for Windows. The startup instructions below
assume that you have properly set up the necessary software, based on the
appropriate installation instructions.
Additional information about installation issues can also be found in the Frequently
Asked Questions section of the Fluent Inc. User Services Center (www.fluentusers.com).
• version must be replaced by the version of FLUENT you want to run (2d, 3d, 2ddp,
or 3ddp).
• -path\\computer name\share name specifies the computer name and the shared
network name for the Fluent.Inc directory in UNC form.
For example, if FLUENT has been installed on computer1 and shared as fluent.inc,
then you should replace share name by the UNC name for the shared directory,
\\computer1\fluent.inc.
31-4
c Fluent Inc. September 29, 2006
31.2 Starting Parallel FLUENT on a Windows System
• -mpi=mpi type (optional) specifies the type of MPI. If the option is not specified,
the default MPI for the given interconnect will be used (the use of the default MPI
is recommended). The available MPIs for Windows are shown in Table 31.2.2.
• -cnf=hosts file specifies the hosts file, which contains a list of the computers on
which you want to run the parallel job. If the hosts file is not located in the
directory where you are typing the startup command, you will need to supply the
full pathname to the file.
You can use a plain text editor such as Notepad to create the hosts file. The only
restriction on the filename is that there should be no spaces in it. For example,
hosts.txt is an acceptable hosts file name, but my hosts.txt is not.
Your hosts file (e.g., hosts.txt) might contain the following entries:
computer1
computer2
If a computer in the network is a multiprocessor, you can list it more than once.
For example, if computer1 has 2 CPUs, then, to take advantage of both CPUs, the
hosts.txt file should list computer1 twice:
computer1
computer1
computer2
• -tnprocs specifies the number of processes to use. When the -cnf option is present,
the hosts file argument is used to determine which computers to use for the parallel
job. For example, if there are 8 computers listed in the hosts file and you want to
run a job with 4 processes, set nprocs to 4 (i.e., -t4) and FLUENT will use the first
4 machines listed in the hosts file.
For example, the full command line to start a 3d parallel job on the first 4 computers
listed in a hosts file called hosts.txt is as follows:
c Fluent Inc. September 29, 2006 31-5
Parallel Processing
The default interconnect (ethernet) and the default communication library (mpich2)
will be used since these options are not specified.
i The first time that you try to run FLUENT in parallel, a separate Command
Prompt will open prompting you to verify the current Windows account
that you are logged into. Press the <Enter> key if the account is correct.
If you have a new account password, enter in your password and press
the <Enter> key, then verify your password and press the <Enter> key.
Once the username and password have been verified and encrypted into
the Windows Registry, then FLUENT parallel will launch.
The supported interconnects for dedicated parallel ntx86 and win64 Windows machines,
the associated MPIs for them, and the corresponding syntax are listed in Tables 31.2.1-
31.2.3:
(1) Used with Shared Memory Machine (SSM) where the memory is shared between the processors on
a single machine.
(2) Used with Distributed Memory Machine (DMM) where each processor has it’s own memory associated
with it.
31-6
c Fluent Inc. September 29, 2006
31.2 Starting Parallel FLUENT on a Windows System
c Fluent Inc. September 29, 2006 31-7
Parallel Processing
2. Under Options, select the interconnect or system in the Interconnect drop-down list.
The Default setting is recommended, because it selects the interconnect that should
provide the best overall parallel performance for your dedicated parallel machine.
For a symmetric multi-processor (SMP) system, the Default setting uses shared
memory for communication.
If you prefer to select a specific interconnect, you can choose either Ethernet/Shared
Memory MPI, Myrinet, Infiniband, or Ethernet via sockets. For more information
about these interconnects, see Table 31.2.1, Table 31.2.2, and Table 31.2.3.
4. (optional) Specify the name of a file containing a list of machines, one per line, in
the Hosts File field.
5. Click the Run button to start the parallel version. No additional setup is required
once the solver starts.
i The first time that you try to run FLUENT in parallel, a separate Command
Prompt will open prompting you to verify the current Windows account
that you are logged into. Press the <Enter> key if the account is correct.
If you have a new account password, enter in your password and press
the <Enter> key, then verify your password and press the <Enter> key.
Once the username and password have been verified and encrypted into
the Windows Registry, then FLUENT parallel will launch.
31-8
c Fluent Inc. September 29, 2006
31.2 Starting Parallel FLUENT on a Windows System
FLUENT_INC\fluent6.x\launcher\launcher.exe
where FLUENT INC is the root path to where FLUENT is installed, (i.e., usually the
FLUENT INC environment variable) and x indicates the release version of FLUENT).
c Fluent Inc. September 29, 2006 31-9
Parallel Processing
• Set options for your FLUENT executable, such as indicating a specific release or a
version number.
• Set parallel options, such as indicating the number of parallel processes (or if you
want to run a serial process), and an MPI type to use for parallel computations.
• Set additional options such as specifying the name and location of the current
working folder or a journal file.
When you are ready to launch your serial or parallel application, you can check the valid-
ity of the settings using the Check button (messages are displayed in the Log Information
window). When you are satisfied with the settings, click the Launch button to start the
parallel processes.
To return to your default settings for the Fluent Launcher, based on your current FLUENT
installation, click the Default button. The fields in the Fluent Launcher panel will return
to their original settings.
When you are finished using the Fluent Launcher, click the Close button. Any settings
that you have made in the panel are preserved when you re-open the Fluent Launcher.
31-10
c Fluent Inc. September 29, 2006
31.2 Starting Parallel FLUENT on a Windows System
Depending on what FLUENT releases are available in the Fluent.Inc Path, you can specify
the number associated with a given release in the Release list. The list is populated with
the FLUENT release numbers that are available in the Fluent Inc. Path field.
You can specify the dimensionality and the precision of the FLUENT product using the
Version list. There are four possible choices: 2d, 2ddp, 3d, or 3ddp. The 2d and 3d
options provide single-precision results for two-dimensional or three-dimensional prob-
lems, respectively. The 2ddp and 3ddp options provide double-precision results for two-
dimensional or three-dimensional problems, respectively.
You can specify the number of FLUENT processes in the Number of Processes field. You
can use the drop-down list to select from pre-set values of serial, 1, 2, 4, 8, 16,
32, or 64, or you can manually enter the number into the field yourself (e.g., 3, 10, etc.).
The range of parallel processes ranges from 1 to 1024. If Number of Processes is equal to
1, you might want to consider running the FLUENT job using the serial setting.
c Fluent Inc. September 29, 2006 31-11
Parallel Processing
You can specify the computer architecture using the Architecture drop-down list. De-
pending on the selected release, the available options are ntx86 and win64.
You can specify the MPI to use for the parallel computations using the MPI Types field.
The list of MPI types varies depending on the selected release and the selected architec-
ture. There are several options, based on the operating system of the parallel cluster.
For more information about the available MPI types, see Tables 31.2.1-31.2.2.
Specify the hosts file using the Machine List or File field. You can use the ... button to
browse for a hosts file, or you can enter the machine names directly into the text field.
Machine names can be separated either by a comma or a space.
You can specify the path of your current working directory using the Working Folder field
or click ... to browse through your directory structure. Note that a UNC path cannot be
set as a working folder.
You can specify the path and name of a journal file using the Journal File field or click
... to browse through your directory structure to locate the file. Using the journal file,
you can automatically load the case, compile any user-defined functions, iterate until the
solution converges, and write results to a output file.
31-12
c Fluent Inc. September 29, 2006
31.2 Starting Parallel FLUENT on a Windows System
Specifying Whether or Not to Use the Microsoft Job Scheduler (win64 MS MPI Only)
For the Windows 64-bit MS MPI only, you can specify that you want to use the Mi-
crosoft Job Scheduler (see Section 31.2.4: Starting Parallel FLUENT with the Microsoft
Job Scheduler (win64 Only)) by selecting the Use Microsoft Scheduler check box. Once
selected, you can then enter a machine name in the with Head Node text field. If you
are running FLUENT on the head node, then you can keep the field empty. This op-
tion translates into the proper parallel command line syntax for using the Microsoft Job
Scheduler.
If you are creating benchmark cases using parallel FLUENT, you can enable the Benchmark
check box. This option involves having several benchmarking-related files available on
your machine. If you are missing any of the files, the Fluent Launcher informs you of
which files you need and how to locate them.
c Fluent Inc. September 29, 2006 31-13
Parallel Processing
31.2.4 Starting Parallel FLUENT with the Microsoft Job Scheduler (win64
Only)
The Microsoft Job Scheduler allows you to manage multiple jobs and tasks, allocate
computer resources, send tasks to compute nodes, and monitor jobs, tasks, and compute
nodes.
FLUENT currently supports Windows XP as well as the Windows Server operating sys-
tem (win64 only). The Windows Server operating system includes a “compute cluster
package” (CCP) that combines the Microsoft MPI type (msmpi) and Microsoft Job Sched-
uler. FLUENT provides a means of using the Microsoft Job Scheduler using the following
flag in the parallel command:
-ccp head-node-name
where -ccp indicates the use of the compute cluster package, and head-node-name indi-
cates the name of the head node of the computer cluster.
For example, if you want to use the Job Scheduler, the corresponding command syntax
would be:
fluent 3d -t2 -ccp head-node-name
Likewise, if you do not want to use the Job Scheduler, the following command syntax
can be used with msmpi:
fluent 3d -t2 -pmsmpi -cnf=host
i The first time that you try to run FLUENT in parallel, a separate Command
Prompt will open prompting you to verify the current Windows account
that you are logged into. If you have a new account password, enter in your
password and press the <Enter> key. If you want FLUENT to remember
your password on this machine, press the Y key and press the <Enter> key.
Once the username and password have been verified and encrypted into
the Windows Registry, then FLUENT parallel will launch.
i If you do not want to use the Microsoft Job Scheduler, but you still want
to use msmpi, you will need to stop the Microsoft Compute Cluster MPI
Service through the Control Panel, and you need to start your own version
of SMPD (the process manager for msmpi on Windows) using the following
command on each host on which you want to run FLUENT:
start smpd -d 0
31-14
c Fluent Inc. September 29, 2006
31.3 Starting Parallel FLUENT on a Linux/UNIX System
• Section 31.3.3: Setting Up Your Remote Shell and Secure Shell Clients
• version must be replaced by the version of FLUENT you want to run (2d, 3d, 2ddp,
or 3ddp).
• -mpi=mpi type (optional) specifies the type of MPI. If the option is not specified,
the default MPI for the given interconnect will be used (the use of the default MPI
is recommended). The available MPIs for Linux/UNIX are shown in Table 31.3.2.
• -cnf=hosts file specifies the hosts file, which contains a list of the computers on
which you want to run the parallel job. If the hosts file is not located in the
directory where you are typing the startup command, you will need to supply the
full pathname to the file.
You can use a plain text editor to create the hosts file. The only restriction on
the filename is that there should be no spaces in it. For example, hosts.txt is an
acceptable hosts file name, but my hosts.txt is not.
c Fluent Inc. September 29, 2006 31-15
Parallel Processing
Your hosts file (e.g., hosts.txt) might contain the following entries:
computer1
computer2
If a computer in the network is a multiprocessor, you can list it more than once.
For example, if computer1 has 2 CPUs, then, to take advantage of both CPUs, the
hosts.txt file should list computer1 twice:
computer1
computer1
computer2
• -tnprocs specifies the number of processes to use. When the -cnf option is present,
the hosts file argument is used to determine which computers to use for the parallel
job. For example, if there are 10 computers listed in the hosts file and you want
to run a job with 5 processes, set nprocs to 5 (i.e., -t5) and FLUENT will use the
first 5 machines listed in the hosts file.
For example, to use the Myrinet interconnect, and to start the 3D solver with 4 compute
nodes on the machines defined in the text file called fluent.hosts, you can enter the
following in the command prompt:
fluent 3d -t4 -pmyrinet -cnf=fluent.hosts
Note that if the optional -cnf=hosts file is specified, a compute node will be spawned
on each machine listed in the file hosts file. (If you enter this optional argument, do not
include the square brackets.)
The supported interconnects for parallel Linux/UNIX machines are listed below (Ta-
ble 31.3.1, Table 31.3.2, and Table 31.3.3), along with their associated communication
libraries, the corresponding syntax, and the supported architectures:
31-16
c Fluent Inc. September 29, 2006
31.3 Starting Parallel FLUENT on a Linux/UNIX System
c Fluent Inc. September 29, 2006 31-17
Parallel Processing
31-18
c Fluent Inc. September 29, 2006
31.3 Starting Parallel FLUENT on a Linux/UNIX System
c Fluent Inc. September 29, 2006 31-19
Parallel Processing
31-20
c Fluent Inc. September 29, 2006
31.3 Starting Parallel FLUENT on a Linux/UNIX System
2. Under Options, select the interconnect or system in the Interconnect drop-down list.
The Default setting is recommended, because it selects the interconnect that should
provide the best overall parallel performance for your dedicated parallel machine.
For a symmetric multi-processor (SMP) system, the Default setting uses shared
memory for communication.
If you prefer to select a specific interconnect, you can choose either Ethernet/Shared
Memory MPI, Myrinet, Infiniband, Altix, Cray, or Ethernet via sockets. For more infor-
mation about these interconnects, see Table 31.3.1, Table 31.3.2, and Table 31.3.3.
4. (optional) Specify the name of a file containing a list of machines, one per line, in
the Hosts File field.
5. Click the Run button to start the parallel version. No additional setup is required
once the solver starts.
c Fluent Inc. September 29, 2006 31-21
Parallel Processing
1. Generate a public-private key pair using ssh-keygen (or using a graphical user
interface client). For example:
% ssk-keygen -t dsa
The client machine is now added to the access list and the user is no longer required to
type in a password each time. For additional information, consult your system adminis-
trator or refer to your system documentation.
31-22
c Fluent Inc. September 29, 2006
31.4 Checking Network Connectivity
Indicate the compute node ID for which connectivity information is desired in the Com-
pute Node field, and then click the Print button. Sample output for compute node 0 is
shown below:
------------------------------------------------------------------------------
ID Comm. Hostname O.S. PID Mach ID HW ID Name
------------------------------------------------------------------------------
host net balin Linux-32 17272 0 7 Fluent Host
n3 hp balin Linux-32 17307 1 10 Fluent Node
n2 hp filio Linux-32 17306 0 -1 Fluent Node
n1 hp bofur Linux-32 17305 0 1 Fluent Node
n0* hp balin Linux-32 17273 2 11 Fluent Node
O.S is the architecture, Comm. is the communication library (i.e., MPI type), PID is the
process ID number, Mach ID is the compute node ID, and HW ID is an identifier specific
to the interconnect used.
c Fluent Inc. September 29, 2006 31-23
Parallel Processing
i If your case file contains a mesh generated by the GAMBIT Hex Core mesh-
ing scheme or the TGrid Mesh/Hexcore menu option (hexcore mesh), you
must filter the mesh using the tpoly utility or TGrid prior to partitioning
the grid. See Section 31.5.2: Preparing Hexcore Meshes for Partitioning
for more information.
Note that the relative distribution of cells among compute nodes will be maintained
during grid adaption, except if non-conformal interfaces are present, so repartitioning
after adaption is not required. See Section 31.5.7: Load Distribution for more information.
31-24
c Fluent Inc. September 29, 2006
31.5 Partitioning the Grid
If you use the serial solver to set up the problem before partitioning, the machine on
which you perform this task must have enough memory to read in the grid. If your
grid is too large to be read into the serial solver, you can read the unpartitioned grid
directly into the parallel solver (using the memory available in all the defined hosts)
and have it automatically partitioned. In this case you will set up the problem after an
initial partition has been made. You will then be able to manually repartition the case
if necessary. See Sections 31.5.3 and 31.5.4 for additional details and limitations, and
Section 31.5.6: Checking the Partitions for details about checking the partitions.
Domain
Before Partitioning
Interface
Boundary
c Fluent Inc. September 29, 2006 31-25
Parallel Processing
i The output case file resulting from a tpoly conversion only contains mesh
information. None of the solver-related data of the input file is retained.
To convert a file using the tpoly filter, before starting FLUENT, type the following:
You can also use TGrid to convert the transitional cells to polyhedra. You must either
read in or create the hexcore mesh in TGrid, and then save the mesh as a case file with
polyhedra. To do this, use the File/Write/Case... menu option, being sure to enable the
Write As Polyhedra option in the Select File dialog box.
Limitations
Converted hexcore meshes have the following limitations:
• The following grid manipulation tools are not available on polyhedral meshes:
– extrude-face-zone under the modify-zone option
– fuse
– skewness smoothing
– swapping (will not affect polyhedral cells)
• The polyhedral cells that result from the conversion are not eligible for adaption.
For more information about adaption, see Chapter 26: Adapting the Grid.
31-26
c Fluent Inc. September 29, 2006
31.5 Partitioning the Grid
1. (optional) Set the partitioning parameters in the Auto Partition Grid panel (Fig-
ure 31.5.2).
Parallel −→Auto Partition...
If you are reading in a mesh file or a case file for which no partition information is
available, and you keep the Case File option turned on, FLUENT will partition the
grid using the method displayed in the Method drop-down list.
If you want to specify the partitioning method and associated options yourself, the
procedure is as follows:
(a) Turn off the Case File option. The other options in the panel will become
available.
(b) Select the bisection method in the Method drop-down list. The choices are
the techniques described in Section 31.5.5: Bisection Methods.
(c) You can choose to independently apply partitioning to each cell zone, or you
can allow partitions to cross zone boundaries using the Across Zones check
button. It is recommended that you not partition cells zones independently
c Fluent Inc. September 29, 2006 31-27
Parallel Processing
(by turning off the Across Zones check button) unless cells in different zones
will require significantly different amounts of computation during the solution
phase (e.g., if the domain contains both solid and fluid zones).
(d) If you have chosen the Principal Axes or Cartesian Axes method, you can improve
the partitioning by enabling the automatic testing of the different bisection
directions before the actual partitioning occurs. To use pretesting, turn on
the Pre-Test option. Pretesting is described in Section 31.5.5: Pretesting.
(e) Click OK.
If you have a case file where you have already partitioned the grid, and the number
of partitions divides evenly into the number of compute nodes, you can keep the
default selection of Case File in the Auto Partition Grid panel. This instructs FLUENT
to use the partitions in the case file.
31-28
c Fluent Inc. September 29, 2006
31.5 Partitioning the Grid
1. Partition the grid using the default bisection method (Principal Axes) and optimiza-
tion (Smooth).
2. Examine the partition statistics, which are described in Section 31.5.6: Interpret-
ing Partition Statistics. Your aim is to achieve small values of Interface ratio
variation and Global interface ratio while maintaining a balanced load (Cell
variation). If the statistics are not acceptable, try one of the other bisection meth-
ods.
3. Once you determine the best bisection method for your problem, you can turn on
Pre-Test (see Section 31.5.5: Pretesting) to improve it further, if desired.
4. You can also improve the partitioning using the Merge optimization, if desired.
1. Select the bisection method in the Method drop-down list. The choices are the
techniques described in Section 31.5.5: Bisection Methods.
2. Set the desired number of grid partitions in the Number integer number field. You
can use the counter arrows to increase or decrease the value, instead of typing in
the box. The number of grid partitions must be an integral multiple of the number
of processors available for parallel computing.
c Fluent Inc. September 29, 2006 31-29
Parallel Processing
31-30
c Fluent Inc. September 29, 2006
31.5 Partitioning the Grid
3. You can choose to independently apply partitioning to each cell zone, or you can
allow partitions to cross zone boundaries using the Across Zones check button. It is
recommended that you not partition cells zones independently (by turning off the
Across Zones check button) unless cells in different zones will require significantly
different amounts of computation during the solution phase (e.g., if the domain
contains both solid and fluid zones).
4. You can select Encapsulate Grid Interfaces if you would like the cells surrounding
all non-conformal grid interfaces in your mesh to reside in a single partition at all
times during the calculation. If your case file contains non-conformal interfaces
on which you plan to perform adaption during the calculation, you will have to
partition it in the serial solver, with the Encapsulate Grid Interfaces and Encapsulate
for Adaption options turned on.
5. If you have enabled the Encapsulate Grid Interfaces option in the serial solver, the
Encapsulate for Adaption option will also be available. When you select this op-
tion, additional layers of cells are encapsulated such that transfer of cells will be
unnecessary during parallel adaption.
6. You can activate and control the desired optimization methods (described in Sec-
tion 31.5.5: Optimizations) using the items under Optimizations. You can activate
the Merge and Smooth schemes by turning on the Do check button next to each
one. For each scheme, you can also set the number of Iterations. Each optimization
scheme will be applied until appropriate criteria are met, or the maximum number
of iterations has been executed. If the Iterations counter is set to 0, the optimization
scheme will be applied until completion, without limit on the maximum number of
iterations.
7. If you have chosen the Principal Axes or Cartesian Axes method, you can improve the
partitioning by enabling the automatic testing of the different bisection directions
before the actual partitioning occurs. To use pretesting, turn on the Pre-Test option.
Pretesting is described in Section 31.5.5: Pretesting.
8. In the Zones and/or Registers lists, select the zone(s) and/or register(s) for which
you want to partition. For most cases, you will select all Zones (the default) to
partition the entire domain. See below for details.
9. You can assign selected Zones and/or Registers to a specific partition ID by entering
a value for the Set Selected Zones and Registers to Partition ID. For example, if the
Number of partitions for your grid is 2, then you can only use IDs of 0 or 1. If
you have three partitions, then you can enter IDs of 0, 1, or 2. This can be useful
in situations where the gradient at a region is known to be high. In such cases,
you can mark the region or zone and set the marked cells to one of the partition
IDs, thus preventing the partition from going through that region. This in turn
will facilitate convergence. This is also useful in cases where mesh manipulation
c Fluent Inc. September 29, 2006 31-31
Parallel Processing
tools are not available in parallel. In this case, you can assign the related cells to
a particular ID so that the grid manipulation tools are now functional.
If you are running the parallel solver, and you have marked your region and assigned
an ID to the selected Zones and/or Registers, click the Use Stored Partitions button
to make the new partitions valid.
Refer to the example described later in this section for a demonstration of how
selected registers are assigned to a partition.
11. If you decide that the new partitions are better than the previous ones (if the grid
was already partitioned), click the Use Stored Partitions button to make the newly
stored cell partitions the active cell partitions. The active cell partition is used for
the current calculation, while the stored cell partition (the last partition performed)
is used when you save a case file.
12. When using the dynamic mesh model in your parallel simulations, the Partition
panel includes an Auto Repartition option and a Repartition Interval setting. These
parallel partitioning options are provided because FLUENT migrates cells when
local remeshing and smoothing is performed. Therefore, the partition interface be-
comes very wrinkled and the load balance may deteriorate. By default, the Auto
Repartition option is selected, where a percentage of interface faces and loads are au-
tomatically traced. When this option is selected, FLUENT automatically determines
the most appropriate repartition interval based on various simulation parameters.
Sometimes, using the Auto Repartition option provides insufficient results, therefore,
the Repartition Interval setting can be used. The Repartition Interval setting lets you
to specify the interval (in time steps or iterations respectively) when a repartition
is enforced. When repartitioning is not desired, then you can set the Repartition
Interval to zero.
i Note that when dynamic meshes and local remeshing is utilized, updated
meshes may be slightly different in parallel FLUENT (when compared to
serial FLUENT or when compared to a parallel solution created with a
different number of compute nodes), resulting in very small differences in
the solutions.
31-32
c Fluent Inc. September 29, 2006
31.5 Partitioning the Grid
3. Display the grid with the Partitions option enabled in the Display Grid panel (Fig-
ure 31.5.5).
Grid
FLUENT 6.3 (2d, segregated, ske)
4. Adapt your region and mark your cells (see Section 26.7.3: Performing Region
Adaption). This creates a register.
c Fluent Inc. September 29, 2006 31-33
Parallel Processing
6. Keep the Set Selected Zones and Registers to Partition ID set to 0 and click the
corresponding button. This prints the following output to the FLUENT console
window:
31-34
c Fluent Inc. September 29, 2006
31.5 Partitioning the Grid
7. Click the Use Stored Partitions button to make the new partitions valid. This
migrates the partitions to the compute-nodes. The following output is then printed
to the FLUENT console window:
----------------------------------------------------------------------
Collective Partition Statistics: Minimum Maximum Total
----------------------------------------------------------------------
Cell count 246 672 918
Mean cell count deviation -46.4% 46.4%
Partition boundary cell count 24 24 48
Partition boundary cell count ratio 3.6% 9.8% 5.2%
9. This time, set the Set Selected Zones and Registers to Partition ID to 1 and click the
corresponding button. This prints a report to the FLUENT console.
10. Click the Use Stored Partitions button to make the new partitions valid and to
migrate the partitions to the compute-nodes.
11. Display the grid (Figure 31.5.7). Notice now that the partition appears in a different
location as specified by your partition ID.
c Fluent Inc. September 29, 2006 31-35
Parallel Processing
Grid
FLUENT 6.3 (2d, segregated, ske)
Grid
FLUENT 6.3 (2d, segregated, ske)
31-36
c Fluent Inc. September 29, 2006
31.5 Partitioning the Grid
The ability to restrict partitioning to cell zones or registers gives you the flexibility to
apply different partitioning strategies to subregions of a domain. For example, if your
geometry consists of a cylindrical plenum connected to a rectangular duct, you may
want to partition the plenum using the Cylindrical Axes method, and the duct using the
Cartesian Axes method.
If the plenum and the duct are contained in two different cell zones, you can select one
at a time and perform the desired partitioning, as described in Section 31.5.4: Using
the Partition Grid Panel. If they are not in two different cell zones, you can create a
cell register (basically a list of cells) for each region using the functions that are used
to mark cells for adaption. These functions allow you to mark cells based on physical
location, cell volume, gradient or isovalue of a particular variable, and other parameters.
See Chapter 26: Adapting the Grid for information about marking cells for adaption.
Section 26.11.1: Manipulating Adaption Registers provides information about manipu-
lating different registers to create new ones. Once you have created a register, you can
partition within it as described above.
i Note that partitioning within zones or registers is not available when Metis
is selected as the partition Method.
For dynamic mesh applications (see item 11 above), FLUENT stores the partition method
used to partition the respective zone. Therefore, if repartitioning is done, FLUENT uses
the same method that was used to partition the mesh.
As the grid is partitioned, information about the partitioning process will be printed in
the text (console) window. By default, the solver will print the number of partitions
created, the number of bisections performed, the time required for the partitioning, and
the minimum and maximum cell, face, interface, and face-ratio variations. (See Sec-
tion 31.5.6: Interpreting Partition Statistics for details.) If you increase the Verbosity to
2 from the default value of 1, the partition method used, the partition ID, number of
cells, faces, and interfaces, and the ratio of interfaces to faces for each partition will also
be printed in the console window. If you decrease the Verbosity to 0, only the number of
partitions created and the time required for the partitioning will be reported.
You can request a portion of this report to be printed again after the partitioning is
completed. When you click the Print Active Partitions or Print Stored Partitions button
in the parallel solver, FLUENT will print the partition ID, number of cells, faces, and
interfaces, and the ratio of interfaces to faces for each active or stored partition in the
console window. In addition, it will print the minimum and maximum cell, face, interface,
and face-ratio variations. In the serial solver, you will obtain the same information about
the stored partition when you click Print Partitions. See Section 31.5.6: Interpreting
c Fluent Inc. September 29, 2006 31-37
Parallel Processing
i Recall that to make the stored cell partitions the active cell partitions you
must click the Use Stored Partitions button. The active cell partition is
used for the current calculation, while the stored cell partition (the last
partition performed) is used when you save a case file.
If you change your mind about your partition parameter settings, you can easily return
to the default settings assigned by FLUENT by clicking on the Default button. When you
click the Default button, it will become the Reset button. The Reset button allows you
to return to the most recently saved settings (i.e., the values that were set before you
clicked on Default). After execution, the Reset button will become the Default button
again.
Balancing the partitions (equalizing the number of cells) ensures that each processor
has an equal load and that the partitions will be ready to communicate at about the
same time. Since communication between partitions can be a relatively time-consuming
process, minimizing the number of interfaces can reduce the time associated with this
data interchange. Minimizing the number of partition neighbors reduces the chances
for network and routing contentions. In addition, minimizing partition neighbors is
important on machines where the cost of initiating message passing is expensive compared
to the cost of sending longer messages. This is especially true for workstations connected
in a network.
The partitioning schemes in FLUENT use bisection algorithms to create the partitions, but
unlike other schemes which require the number of partitions to be a factor of two, these
schemes have no limitations on the number of partitions. For each available processor,
you will create the same number of partitions (i.e., the total number of partitions will be
an integral multiple of the number of processors).
31-38
c Fluent Inc. September 29, 2006
31.5 Partitioning the Grid
Bisection Methods
The grid is partitioned using a bisection algorithm. The selected algorithm is applied to
the parent domain, and then recursively applied to the child subdomains. For example,
to divide the grid into four partitions, the solver will bisect the entire (parent) domain
into two child domains, and then repeat the bisection for each of the child domains,
yielding four partitions in total. To divide the grid into three partitions, the solver will
“bisect” the parent domain to create two partitions—one approximately twice as large
as the other—and then bisect the larger child domain again to create three partitions in
total.
The grid can be partitioned using one of the algorithms listed below. The most efficient
choice is problem-dependent, so you can try different methods until you find the one that
is best for your problem. See Section 31.5.4: Guidelines for Partitioning the Grid for
recommended partitioning strategies.
Cartesian Axes bisects the domain based on the Cartesian coordinates of the cells (see
Figure 31.5.8). It bisects the parent domain and all subsequent child subdomains
perpendicular to the coordinate direction with the longest extent of the active
domain. It is often referred to as coordinate bisection.
Cartesian Strip uses coordinate bisection but restricts all bisections to the Cartesian
direction of longest extent of the parent domain (see Figure 31.5.9). You can often
minimize the number of partition neighbors using this approach.
Cartesian X-, Y-, Z-Coordinate bisects the domain based on the selected Cartesian
coordinate. It bisects the parent domain and all subsequent child subdomains
perpendicular to the specified coordinate direction. (See Figure 31.5.9.)
Cartesian R Axes bisects the domain based on the shortest radial distance from the
cell centers to that Cartesian axis (x, y, or z) which produces the smallest interface
size. This method is available only in 3D.
Cartesian RX-, RY-, RZ-Coordinate bisects the domain based on the shortest ra-
dial distance from the cell centers to the selected Cartesian axis (x, y, or z). These
methods are available only in 3D.
Cylindrical Axes bisects the domain based on the cylindrical coordinates of the cells.
This method is available only in 3D.
Cylindrical R-, Theta-, Z-Coordinate bisects the domain based on the selected cylin-
drical coordinate. These methods are available only in 3D.
Metis uses the METIS software package for partitioning irregular graphs, developed by
Karypis and Kumar at the University of Minnesota and the Army HPC Research
Center. It uses a multilevel approach in which the vertices and edges on the fine
c Fluent Inc. September 29, 2006 31-39
Parallel Processing
graph are coalesced to form a coarse graph. The coarse graph is partitioned, and
then uncoarsened back to the original graph. During coarsening and uncoarsen-
ing, algorithms are applied to permit high-quality partitions. Detailed information
about METIS can be found in its manual [173].
i Note that when using the socket version (-pnet), the METIS partitioner
is not available. In this case, METIS partitioning can be obtained using
the partition filter, as described below.
Polar Axes bisects the domain based on the polar coordinates of the cells (see Fig-
ure 31.5.12). This method is available only in 2D.
Polar R-Coordinate, Polar Theta-Coordinate bisects the domain based on the se-
lected polar coordinate (see Figure 31.5.12). These methods are available only in
2D.
Principal Axes bisects the domain based on a coordinate frame aligned with the prin-
cipal axes of the domain (see Figure 31.5.10). This reduces to Cartesian bisection
when the principal axes are aligned with the Cartesian axes. The algorithm is also
referred to as moment, inertial, or moment-of-inertia partitioning.
This is the default bisection method in FLUENT.
Principal Strip uses moment bisection but restricts all bisections to the principal axis
of longest extent of the parent domain (see Figure 31.5.11). You can often minimize
the number of partition neighbors using this approach.
Principal X-, Y-, Z-Coordinate bisects the domain based on the selected principal
coordinate (see Figure 31.5.11).
Spherical Axes bisects the domain based on the spherical coordinates of the cells. This
method is available only in 3D.
Spherical Rho-, Theta-, Phi-Coordinate bisects the domain based on the selected
spherical coordinate. These methods are available only in 3D.
31-40
c Fluent Inc. September 29, 2006
31.5 Partitioning the Grid
3.00e+00
2.25e+00
1.50e+00
7.50e-01
0.00e+00
3.00e+00
2.25e+00
1.50e+00
7.50e-01
0.00e+00
c Fluent Inc. September 29, 2006 31-41
Parallel Processing
3.00e+00
2.25e+00
1.50e+00
7.50e-01
0.00e+00
3.00e+00
2.25e+00
1.50e+00
7.50e-01
0.00e+00
31-42
c Fluent Inc. September 29, 2006
31.5 Partitioning the Grid
3.00e+00
2.25e+00
1.50e+00
7.50e-01
0.00e+00
Figure 31.5.12: Partitions Created with the Polar Axes or Polar Theta-
Coordinate Method
Optimizations
Additional optimizations can be applied to improve the quality of the grid partitions.
The heuristic of bisecting perpendicular to the direction of longest domain extent is
not always the best choice for creating the smallest interface boundary. A “pre-testing”
operation (see Section 31.5.5: Pretesting) can be applied to automatically choose the best
direction before partitioning. In addition, the following iterative optimization schemes
exist:
Merge attempts to eliminate orphan clusters from each partition. An orphan cluster is
a group of cells with the common feature that each cell within the group has at least
one face which coincides with an interface boundary. (See Figure 31.5.14.) Orphan
clusters can degrade multigrid performance and lead to large communication costs.
In general, the Smooth and Merge schemes are relatively inexpensive optimization tools.
c Fluent Inc. September 29, 2006 31-43
Parallel Processing
31-44
c Fluent Inc. September 29, 2006
31.5 Partitioning the Grid
Pretesting
If you choose the Principal Axes or Cartesian Axes method, you can improve the bisection
by testing different directions before performing the actual bisection. If you choose not
to use pretesting (the default), FLUENT will perform the bisection perpendicular to the
direction of longest domain extent.
If pretesting is enabled, it will occur automatically when you click the Partition button
in the Partition Grid panel, or when you read in the grid if you are using automatic
partitioning. The bisection algorithm will test all coordinate directions and choose the
one which yields the fewest partition interfaces for the final bisection.
Note that using pretesting will increase the time required for partitioning. For 2D prob-
lems partitioning will take 3 times as long as without pretesting, and for 3D problems it
will take 4 times as long.
i Direct import to the parallel solver through the partition filter requires
that the host machine has enough memory to run the filter for the specified
grid. If not, you will need to run the filter on a machine that does have
enough memory. You can either start the parallel solver on the machine
with enough memory and repeat the process described above, or run the
filter manually on the new machine and then read the partitioned grid into
the parallel solver on the host machine.
To manually partition a grid using the partition filter, enter the following command:
where input filename is the filename for the grid to be partitioned, partition count is
the number of partitions desired, and output filename is the filename for the parti-
tioned grid. You can then read the partitioned grid into the solver (using the standard
File/Read/Case... menu item) and proceed with the model definition and solution.
c Fluent Inc. September 29, 2006 31-45
Parallel Processing
31-46
c Fluent Inc. September 29, 2006
31.5 Partitioning the Grid
output below, partitions 0 and 3 have the minimum number of interface faces (10), and
partitions 1 and 2 have the maximum number of interface faces (19); hence the variation
is 10–19.
Your aim is to achieve small values of Interface ratio variation and Global interface
ratio while maintaining a balanced load (Cell variation).
>> Partitions:
P Cells I-Cells Cell Ratio Faces I-Faces Face Ratio Neighbors
0 134 10 0.075 217 10 0.046 1
1 137 19 0.139 222 19 0.086 2
2 134 19 0.142 218 19 0.087 2
3 137 10 0.073 223 10 0.045 1
------
Partition count = 4
Cell variation = (134 - 137)
Mean cell variation = ( -1.1% - 1.1%)
Intercell variation = (10 - 19)
Intercell ratio variation = ( 7.3% - 14.2%)
Global intercell ratio = 10.7%
Face variation = (217 - 223)
Interface variation = (10 - 19)
Interface ratio variation = ( 4.5% - 8.7%)
Global interface ratio = 3.4%
Neighbor variation = (1 - 2)
Note that partition IDs correspond directly to compute node IDs when a case file is read
into the parallel solver. When the number of partitions in a case file is larger than the
number of compute nodes, but is evenly divisible by the number of compute nodes, then
the distribution is such that partitions with IDs 0 to (M − 1) are mapped onto compute
node 0, partitions with IDs M to (2M − 1) onto compute node 1, etc., where M is equal
to the ratio of the number of partitions to the number of compute nodes.
c Fluent Inc. September 29, 2006 31-47
Parallel Processing
i If you have not already done so in the setup of your problem, you will need
to perform a solution initialization in order to use the Contours panel.
i If you adapt a grid that contains non-conformal interfaces, and you want
to rebalance the load on the compute nodes, you will have to save your case
and data files after adaption, read the case and data files into the serial
solver, repartition using the Encapsulate Grid Interfaces and Encapsulate for
Adaption options in the Partition Grid panel, and save case and data files
again. You will then be able to read the manually repartitioned case and
data files into the parallel solver, and continue the solution from where you
left it.
31-48
c Fluent Inc. September 29, 2006
31.6 Checking and Improving Parallel Performance
c Fluent Inc. September 29, 2006 31-49
Parallel Processing
The following example demonstrates how the current parallel statistics are displayed in
the console window:
• Average wall-clock time per iteration describes the average real (wall clock)
time per iteration.
• Global reductions per iteration describes the number of global reduction op-
erations (such as variable summations over all processes). This requires communi-
cation among all processes.
A global reduction is a collective operation over all processes for the given job that
reduces a vector quantity (the length given by the number of processes or nodes) to
a scalar quantity (e.g., taking the sum or maximum of a particular quantity). The
number of global reductions cannot be calculated from any other readily known
quantities. The number is generally dependent on the algorithm being used and
the problem being solved.
• Global reductions time per iteration describes the time per iteration for the
global reduction operations.
• Message count per iteration describes the number of messages sent between all
processes per iteration. This is important with regard to communication latency,
especially on high-latency interconnnects.
A message is defined as a single point-to-point, send-and-receive operation between
any two processes. (This excludes global, collective operations such as global re-
ductions.) In terms of domain decomposition, a message is passed from the process
31-50
c Fluent Inc. September 29, 2006
31.6 Checking and Improving Parallel Performance
• Data transfer per iteration describes the amount of data communicated be-
tween processors per iteration. This is important with respect to interconnect
bandwidth.
Data transfer per iteration is usually dependent on the algorithm being used and the
problem being solved. This number generally increases with increases in problem
size, number of partitions, and physics complexity.
The data transfer per iteration may provide some insight into the impact of com-
munication bandwidth (speed) on parallel performance. The precise impact is often
difficult to quantify because it is dependent on many things including: ratio of data
transfer to calculations, and ratio of communication bandwidth to CPU speed. The
unit of data transfer is a byte.
• LE solves per iteration describes the number of linear systems being solved
per iteration. This number is dependent on the physics (non-reacting versus react-
ing flow) and the algorithms (pressure-based versus density-based solver), but is
independent of mesh size. For the pressure-based solver, this is usually the number
of transport equations being solved (mass, momentum, energy, etc.).
• LE wall-clock time per iteration describes the time (wall-clock) spent doing
linear equation solvers (i.e., multigrid).
• LE global solves per iteration describes the number of solutions on the coarse
level of the AMG solver where the entire linear system has been pushed to a single
processor (n0). The system is pushed to a single processor to reduce the compu-
tation time during the solution on that level. Scaling generally is not adversely
affected because the number of unknowns is small on the coarser levels.
• LE global wall-clock time per iteration describes the time (wall-clock) per
iteration for the linear equation global solutions (see above).
• AMG cycles per iteration describes the average number of multigrid cycles (V,
W, flexible, etc.) per iteration.
c Fluent Inc. September 29, 2006 31-51
Parallel Processing
• Relaxation sweeps per iteration describes the number of relaxation sweeps (or
iterative solutions) on all levels for all equations per iteration. A relaxation sweep
is usually one iteration of Gauss-Siedel or ILU.
• Time-step wall-clock time per iteration describes the time per sub-iteration.
• Total CPU time describes the total CPU time used by all processes. This does
not include any wait time for load imbalances or for communications (other than
packing and unpacking local buffers).
The most relevant quantity is the Total wall clock time. This quantity can be used
to gauge the parallel performance (speedup and efficiency) by comparing this quantity to
that from the serial analysis (the command line should contain -t1 in order to obtain the
statistics from a serial analysis). In lieu of a serial analysis, an approximation of parallel
speedup may be found in the ratio of Total CPU time to Total wall clock time.
31-52
c Fluent Inc. September 29, 2006
31.6 Checking and Improving Parallel Performance
i Note that you will be unable to interrupt iterations until the end of each
report interval.
Load Balancing
A dynamic load balancing capability is available in FLUENT. The principal reason for
using parallel processing is to reduce the turnaround time of your simulation, ideally
by a factor proportional to the collective speed of the computing resources used. If, for
example, you were using four CPUs to solve your problem, then you would expect to
reduce the turnaround time by a factor of four. This is of course the ideal situation, and
assumes that there is very little communication needed among the CPUs, that the CPUs
are all of equal speed, and that the CPUs are dedicated to your job. In practice, this is
often not the case. For example, CPU speeds can vary if you are solving in parallel on
a cluster that includes nodes with different clock speeds, other jobs may be competing
for use of one or more of the CPUs, and network traffic either from within the parallel
solver or generated from external sources may delay some of the necessary communication
among the CPUs.
If you enable dynamic load balancing in FLUENT, the load across the computational and
networking resources will be monitored periodically. If the load balancer determines that
performance can be improved by redistributing the cells among the compute nodes, it
will automatically do so. There is a time penalty associated with load balancing itself,
and so it is disabled by default. If you will be using a dedicated homogeneous resource,
or if you are using a heterogeneous resource but have accounted for differences in CPU
speeds during partitioning by specifying a load distribution (see Section 31.5.7: Load
Distribution), then you may not need to use load balancing.
i Note that when the shell conduction model is used, you will not be able to
turn on load balancing.
c Fluent Inc. September 29, 2006 31-53
Parallel Processing
To enable and control FLUENT’s automatic load balancing feature, use the Load Balance
panel (Figure 31.6.1). Load balancing will automatically detect and analyze parallel
performance, and redistribute cells between the existing compute nodes to optimize it.
Parallel −→Load Balance...
2. Select the bisection method to create new grid partitions in the Partition Method
drop-down list. The choices are the techniques described in Section 31.5.5: Bisection
Methods. As part of the automatic load balancing procedure, the grid will be
repartitioned into several small partitions using the specified method. The resulting
partitions will then be distributed among the compute nodes to achieve a more
balanced load.
3. Specify the desired Balance Interval. When a value of 0 is specified, FLUENT will
internally determine the best value to use, initially using an interval of 25 iterations.
You can override this behavior by specifying a non-zero value. FLUENT will then
attempt to perform load balancing after every N iterations, where N is the specified
Balance Interval. You should be careful to select an interval that is large enough to
outweigh the cost of performing the load balancing operations.
31-54
c Fluent Inc. September 29, 2006
31.6 Checking and Improving Parallel Performance
Note that you can interrupt the calculation at any time, turn the load balancing feature
off (or on), and then continue the calculation.
i If problems arise in your computations due to adaption, you can turn off
the automatic load balancing, which occurs any time that mesh adaption
is performed in parallel.
To instruct the solver to skip the load balancing step, issue the following Scheme com-
mand:
(disable-load-balance-after-adaption)
(enable-load-balance-after-adaption)
c Fluent Inc. September 29, 2006 31-55
Parallel Processing
31-56
c Fluent Inc. September 29, 2006
Appendix A. FLUENT Model Compatibility
• Moving Domain Models (See Chapter 10: Modeling Flows with Rotating Reference
Frames)
Note that a y indicates that two models are compatible with each other, while an n
indicates that two models are not compatible with each other.
c Fluent Inc. September 29, 2006 A-1
c Fluent Inc. September 29, 2006
rt
Sp ulenc ce Fr me
ept
els
spo
k− t−All odel e
Fra
xed onc
m
od
ran
dy Finite els
a
s
els
Mi g Me in M
dy ssipa ate
Pre remi on C
Tu Refe ence
FT
d
od
ras
NO sition ed
Mo
No Dissi ion
R
ss
esh
PD
ma
ix
M
eM
ren
ase
i
ma
tre
t
pat
efe
e
sh
mp Prem
mi tion
n
e
M u ic M
Sli g Do
Mo te Ph
LE lds S
Dy g Pla
Eu phas
Sin le R
k− lon
rtia ed
Re ga
s
VO an
nar
i
re
D
nam
lly
x
P
e
vin
ltip
i
e
mb
gle
r
i
xtu
xin
eps
lti
din
mi
o
om
n−
ala
ler
scr
rb
yn
F
x
ot
S
Mu
Co
Mi
Ed
Ed
La
So
Di
Co
Pa
Multiphase Models
Eulerian − − − − y y y y y n y n y n y y n n n n n n
VOF − − − − y y y y y y y y y y y y n n n n n n n
Mixture − − − − y y y y y y y y y n y y n n n n n n n
Discrete Phase − − − − y n y y y y y y y n y y y y y y y y y
Moving Domain Models
Sliding Mesh y y y y − − − − − y y y y y y y y y y y y y y
Mixing Plane y y y n − − − − − y y y y y n n n n n n n n n
Dynamic Mesh y y y y − − − − − y y y y y y y y y y y y y y
Multiple Reference Frame y y y y − − − − − y y y y y y y y y y y y y y
Single Reference Frame y y y y − − − − − y y y y y y y y y y y y y y
Turbulence Models
Spalart−Allmaras n y y y y y y y y − − − − − y n n n n n n n n
k−epsilon y y y y y y y y y − − − − − y y y y y y y y y
k−omega n y y y y y y y y − − − − − y y y y y y y y y
Reynolds Stress y y y y y y y y y − − − − − y y y y y y y y y
LES n y n n y y y y y − − − − − y y y y y y y y y
Combustion Models
Laminar Finite Rate y y y y y n y y y y y y y y − − − − − − − − −
Eddy Dissipation y y y y y n y y y n y y y y − − − − − − − − −
Eddy Dissipation Concept n n n y y n y y y n y y y y − − − − − − − − −
Non−Premixed n n n y y n y y y n y y y y − − − − − − − − −
FLUENT Model Compatibility
Premixed n n n y y n y y y n y y y y − − − − − − − − −
Partially Premixed n n n y y n y y y n y y y y − − − − − − − − −
Composition PDF Transport n n n y y n y y y n y y y y − − − − − − − − −
NOx n n n y y n y y y n y y y y − − − − − − − − −
Soot n n n y y n y y y n y y y y − − − − − − − − −
Key: n = not compatible y = compatible
* Includes Standard, RNG, and Realizable k−epsilon models
** Includes Standard and SST k−omega models
A-2
Appendix B. Case and Data File Formats
This Appendix describes the contents and formats of FLUENT case and data files.
• Section B.2: Formatting Conventions in Binary and Formatted Files: The differ-
ences between formatted and binary files.
• Section B.3: Grid Sections: Creating grids for FLUENT.
• Section B.4: Other (Non-Grid) Case Sections: The boundary conditions, material
properties, and solver control settings.
• Section B.3: Grid Sections and Section B.5: Data Sections: Importing solutions
into another postprocessor.
The case and data files may contain other sections that are intended for internal use only.
B.1 Guidelines
The FLUENT case and data files are broken into several sections according to the following
guidelines:
• Each section is enclosed in parentheses and begins with a decimal integer indicating
its type. This integer is different for formatted and binary files (Section B.2: For-
matting Conventions in Binary and Formatted Files).
• All groups of items are enclosed in parentheses. This makes skipping to ends of
(sub)sections and parsing them very easy. It also allows for easy and compatible
addition of new items in future releases.
• Header information for lists of items is enclosed in separate sets of parentheses
preceding the items, and the items are enclosed in their own parentheses.
c Fluent Inc. September 29, 2006 B-1
Case and Data File Formats
The section ID numbers are indicated in both symbolic and numeric forms. The symbolic
representations are available as symbols in a Scheme source file (xfile.scm), which is
available from Fluent Inc., or as macros in a C header file (xfile.h), which is located in
the following directory in your installation area:
/Fluent.Inc/fluent6.x/client/src/xfile.h
B-2
c Fluent Inc. September 29, 2006
B.3 Grid Sections
B.3.1 Comment
Index: 0
Scheme symbol: xf-comment
C macro: XF COMMENT
Status: optional
Comment sections can appear anywhere in the file (except within other sections) as:
(0 "comment text")
(0 "Variables:")
(37 (
(relax-mass-flow 1)
(default-coefficient ())
(default-method 0)
))
B.3.2 Header
Index: 1
Scheme symbol: xf-header
C macro: XF HEADER
Status: optional
Header sections can appear anywhere in the file (except within other sections). The
following is an example:
(1 "TGrid 2.1.1")
The purpose of this section is to identify the program that wrote the file. Although it
can appear anywhere, it is one of the first sections in the file. Additional header sections
indicate other programs that may have been used in generating the file. It provides a
history mechanism showing where the file came from and how it was processed.
c Fluent Inc. September 29, 2006 B-3
Case and Data File Formats
B.3.3 Dimensions
Index: 2
Scheme symbol: xf-dimension
C macro: XF DIMENSION
Status: optional
The dimensions of the grid appear as:
(2 ND)
where ND is 2 or 3. This section is supported as a check that the grid has the appropriate
dimension.
B.3.4 Nodes
Index: 10
Scheme symbol: xf-node
C macro: XF NODE
Status: required
Format:
• If zone-id is zero, this provides the total number of nodes in the grid. first-index
will then be one, last-index will be the total number of nodes in hexadecimal,
type is equal to 1, ND is the dimensionality of the grid, and there are no coordinates
following (the parentheses for the coordinates are omitted as well).
For example: (10 (0 1 2d5 1 2))
• If zone-id is greater than zero, it indicates the zone to which the nodes belong.
first-index and last-index are the indices of the nodes in the zone, in hexadec-
imal. The values of last-index in each zone must be less than or equal to the
value in the declaration section. Type is always equal to 1.
ND is an optional argument that indicates the dimensionality of the node data,
where ND is 2 or 3.
If the number of dimensions in the grid is two, as specified by the node header,
then only x and y coordinates are present on each line.
B-4
c Fluent Inc. September 29, 2006
B.3 Grid Sections
Because the grid connectivity is composed of integers representing pointers (see Cells and
Faces), using hexadecimal conserves space in the file and provides for faster file input
and output. The header indices are in hexadecimal so that they match the indices in the
bodies of the grid connectivity sections. The zone-id and type are also in hexadecimal
for consistency.
where
first-index = index of the first periodic face pair in the list
last-index = index of the last periodic face pair in the list
periodic-zone = zone ID of the periodic face zone
shadow-zone = zone ID of the corresponding shadow face zone
c Fluent Inc. September 29, 2006 B-5
Case and Data File Formats
These are in hexadecimal format. The indices in the section body (f*) refer to the faces
on each of the periodic boundaries (in hexadecimal), the indices being offsets into the
list of faces for the grid.
Note: In this case, first-index and last-index do not refer to face indices. They
refer to indices in the list of periodic pairs.
Example:
(18 (1 2b a c) (
12 1f
13 21
ad 1c2
.
.
.
))
B.3.6 Cells
Index: 12
Scheme symbol: xf-cell
C macro: XF CELL
Status: required
The declaration section for cells is similar to that for nodes.
Again, zone-id is zero to indicate that it is a declaration of the total number of cells.
If last-index is zero, then there are no cells in the grid. This is useful when the file
contains only a surface mesh to alert FLUENT that it cannot be used. In a declaration
section, the type has a value of zero and the element-type is not present.
For example,
It states that there are 3e3 (hexadecimal) = 995 cells in the grid. This declaration section
is required and must precede the regular cell sections.
B-6
c Fluent Inc. September 29, 2006
B.3 Grid Sections
The element-type in a regular cell section header indicates the type of cells in the
section, as follows:
(12 (9 1 3d 0 0)(
1 1 1 3 3 1 1 3 1
.
.
.
))
Here, there are 3d (hexadecimal) = 61 cells in cell zone 9, of which the first 3 are triangles,
the next 2 are quadrilaterals, and so on.
c Fluent Inc. September 29, 2006 B-7
Case and Data File Formats
B.3.7 Faces
Index: 13
Scheme symbol: xf-face
C macro: XF FACE
Status: required
The format for face sections is as follows:
where
zone-id = zone ID of the face section
first-index = index of the first face in the list
last-index = index of the last face in the list
bc-type = ID of the boundary condition represented by the face section
face-type = ID of the type(s) of face(s) in the section
The current valid boundary condition types are defined in the following table:
bc-type description
2 interior
3 wall
4 pressure-inlet, inlet-vent, intake-fan
5 pressure-outlet, exhaust-fan, outlet-vent
7 symmetry
8 periodic-shadow
9 pressure-far-field
10 velocity-inlet
12 periodic
14 fan, porous-jump, radiator
20 mass-flow-inlet
24 interface
31 parent (hanging node)
36 outflow
37 axis
The faces resulting from the intersection of non-conformal grids are placed in a separate
face zone, where a factor of 1000 is added to the bc-type (e.g., 1003 is a wall zone).
B-8
c Fluent Inc. September 29, 2006
B.3 Grid Sections
The current valid face types are defined in the following table:
n0 n1 n2 c0 c1
where,
n* = defining nodes (vertices) of the face
c* = adjacent cells
This is the format for a 3D grid with a triangular face format. The actual number of
nodes depends on the face-type. The order of the cell indices is important, and is
determined by the right-hand rule: if you curl the fingers of your right hand in the order
of the nodes, your thumb will point toward c1.
For 2D grids, n2 is omitted. c1 is determined by the cross product of two vectors, r̂ and
k̂. The r̂ vector extends from n0 to n1, whereas the k̂ vector has its origin at n0 and
points out of the grid plane toward the viewer. If you extend your right hand along r̂
and curl your fingers in the direction of the angle between r̂ and k̂, your thumb will point
along r̂ × k̂ toward c1.
c Fluent Inc. September 29, 2006 B-9
Case and Data File Formats
If the face zone is of mixed type (face-type = 0), each line of the section body will begin
with a reference to the number of nodes that make up that particular face, and has the
following format:
x n0 n1 ... nf c0 c1
where,
x = the number of nodes (vertices) of the face
nf = the final node of the face
All cells, faces, and nodes have positive indices. If a face has a cell only on one side, then
either c0 or c1 is zero. For files containing only a surface mesh, both these values are
zero.
For information on face-node connectivity for various cell types in FLUENT, refer to
Section 6.1.2: Face-Node Connectivity in FLUENT.
where,
face-id0 = index of the first parent face in the section
face-id1 = index of the last parent face in the section
parent-zone-id = ID of the zone containing parent faces
child-zone-id = ID of the zone containing children faces
number-of-kids = the number of children of the parent face
kid-id-n = the face IDs of the children
These are in hexadecimal format.
B-10
c Fluent Inc. September 29, 2006
B.3 Grid Sections
where,
cell-id0 = index of the first parent cell in the section
cell-id1 = index of the last parent cell in the section
parent-zone-id = ID of the zone containing parent cells
child-zone-id = ID of the zone containing children cells
number-of-kids = the number of children of the parent cell
kid-id-n = the cell IDs of the children
These are in hexadecimal format.
c Fluent Inc. September 29, 2006 B-11
Case and Data File Formats
where,
face-id0 = index of the first child face in the section
face-id1 = index of the last child face in the section
parent-id-* = index of parent faces
These are in hexadecimal format.
If you read a non-conformal grid from FLUENT into TGrid, TGrid will skip this section, so
it will not maintain all the information necessary to preserve the non-conformal interface.
When you read the grid back into FLUENT, you will need to recreate the interface.
B-12
c Fluent Inc. September 29, 2006
B.3 Grid Sections
Example Files
Example 1
Figure B.3.1 illustrates a simple quadrilateral mesh with no periodic boundaries or hang-
ing nodes.
bn8 bf8 bn2 bf7 bn4 bf6 bn7
c1 f1 c2 f2 c3 bf10
bf9
c Fluent Inc. September 29, 2006 B-13
Case and Data File Formats
(0 "Grid:")
(0 "Dimensions:")
(2 2)
(12 (0 1 3 0))
(13 (0 1 a 0))
(10 (0 1 8 0 2))
(12 (7 1 3 1 3))
(13 (2 1 2 2 2)(
1 2 1 2
3 4 2 3))
(13 (3 3 5 3 2)(
5 1 1 0
1 3 2 0
3 6 3 0))
(13 (4 6 8 3 2)(
7 4 3 0
4 2 2 0
2 8 1 0))
(13 (5 9 9 a 2)(
8 5 1 0))
(13 (6 a a 24 2)(
6 7 3 0))
(10 (1 1 8 1 2)
(
1.00000000e+00 0.00000000e+00
1.00000000e+00 1.00000000e+00
2.00000000e+00 0.00000000e+00
2.00000000e+00 1.00000000e+00
0.00000000e+00 0.00000000e+00
3.00000000e+00 0.00000000e+00
3.00000000e+00 1.00000000e+00
0.00000000e+00 1.00000000e+00))
B-14
c Fluent Inc. September 29, 2006
B.3 Grid Sections
Example 2
Figure B.3.2 illustrates a simple quadrilateral mesh with periodic boundaries but no
hanging nodes. In this example, bf9 and bf10 are faces on the periodic zones.
bn8 bf8 bn2 bf7 bn4 bf6 bn7
c1 f1 c2 f2 c3 bf10
bf9
(0 "Dimensions:")
(2 2)
(0 "Grid:")
(12 (0 1 3 0))
(13 (0 1 a 0))
(10 (0 1 8 0 2))
(12 (7 1 3 1 3))
(13 (2 1 2 2 2)(
1 2 1 2
3 4 2 3))
(13 (3 3 5 3 2)(
5 1 1 0
1 3 2 0
3 6 3 0))
(13 (4 6 8 3 2)(
7 4 3 0
4 2 2 0
2 8 1 0))
c Fluent Inc. September 29, 2006 B-15
Case and Data File Formats
(13 (5 9 9 c 2)(
8 5 1 0))
(13 (1 a a 8 2)(
6 7 3 0))
(18 (1 1 5 1)(
9 a))
(10 (1 1 8 1 2)(
1.00000000e+00 0.00000000e+00
1.00000000e+00 1.00000000e+00
2.00000000e+00 0.00000000e+00
2.00000000e+00 1.00000000e+00
0.00000000e+00 0.00000000e+00
3.00000000e+00 0.00000000e+00
3.00000000e+00 1.00000000e+00
0.00000000e+00 1.00000000e+00))
Example 3
f6 c6 f1 c3 bf17
c1 f5 c2 n5 f4 f2 bn3
bf16
n1
f7 c5 f3 c4 bf18
B-16
c Fluent Inc. September 29, 2006
B.3 Grid Sections
(0 "Grid:")
(0 "Dimensions:")
(2 2)
(12 (0 1 7 0))
(13 (0 1 16 0))
(10 (0 1 d 0 2))
(12 (7 1 6 1 3))
(12 (1 7 7 20 3))
(58 (7 7 1 7)(
4 6 5 4 3))
(13 (2 1 7 2 2)(
1 2 6 3
1 3 3 4
1 4 4 5
1 5 5 6
6 7 1 2
5 8 2 6
9 5 2 5))
(13 (3 8 b 3 2)(
a 6 1 0
6 9 2 0
4 b 4 0
9 4 5 0))
(13 (4 c f 3 2)(
2 8 6 0
c 2 3 0
8 7 2 0
7 d 1 0))
(13 (5 10 10 a 2)(
d a 1 0))
(13 (6 11 12 24 2)(
c Fluent Inc. September 29, 2006 B-17
Case and Data File Formats
3 c 3 0
b 3 4 0))
(13 (b 13 13 1f 2)(
c 8 7 0))
(13 (a 14 14 1f 2)(
b c 7 0))
(13 (9 15 15 1f 2)(
9 b 7 0))
(13 (8 16 16 1f 2)(
9 8 2 7))
(10 (1 1 d 1 2)
(
2.50000000e+00 5.00000000e-01
2.50000000e+00 1.00000000e+00
3.00000000e+00 5.00000000e-01
2.50000000e+00 0.00000000e+00
2.00000000e+00 5.00000000e-01
1.00000000e+00 0.00000000e+00
1.00000000e+00 1.00000000e+00
2.00000000e+00 1.00000000e+00
2.00000000e+00 0.00000000e+00
0.00000000e+00 0.00000000e+00
3.00000000e+00 0.00000000e+00
3.00000000e+00 1.00000000e+00
0.00000000e+00 1.00000000e+00))
B-18
c Fluent Inc. September 29, 2006
B.4 Other (Non-Grid) Case Sections
B.4.1 Zone
Index: 39 or 45
Scheme symbol: xf-rp-tv
C macro: XF RP TV
Status: required
There is typically one zone section for each zone referenced by the grid. Although some
grid zones may not have corresponding zone sections, there cannot be more than one
zone section for each zone.
A zone section has the following form:
Grid generators and other preprocessors need only provide the section header and leave
the list of conditions empty, as in
The empty parentheses at the end are required. The solver adds conditions as appro-
priate, depending on the zone type. When only zone-id, zone-type, zone-name, and
domain-id are specified, the index 45 is preferred for a zone section. However, the index
39 must be used if boundary conditions are present, because any and all remaining infor-
mation in a section of index 45 after zone-id, zone-type, zone-name, and domain-id
will be ignored.
Here the zone-id is in decimal format. This is in contrast to the use of hexadecimal in
the grid sections.
c Fluent Inc. September 29, 2006 B-19
Case and Data File Formats
axis
exhaust fan
fan
fluid
inlet vent
intake fan
interface
interior
mass-flow-inlet
outlet vent
outflow
periodic
porous-jump
pressure-far-field
pressure-inlet
pressure-outlet
radiator
shadow
solid
symmetry
velocity-inlet
wall
The interior, fan, porous-jump, and radiator types can be assigned only to zones
of faces inside the domain. The interior type is used for the faces within a cell zone;
the others are for interior faces that form infinitely thin surfaces within the domain.
FLUENT allows the wall type to be assigned to face zones both on the inside and on
the boundaries of the domain. Some zone types are valid only for certain types of grid
components. For example, cell (element) zones can be assigned only one of the following
types:
fluid
solid
All of the other types listed above can be used only for boundary (face) zones.
B-20
c Fluent Inc. September 29, 2006
B.4 Other (Non-Grid) Case Sections
The zone-name is a user-specified label for the zone. It must be a valid Scheme symbol1
and is written without quotes. The rules for a valid zone-name (Scheme symbol) are as
follows:
. + -
The domain-id is an integer that appears after the zone name, associating the boundary
condition with a particular phase or mixture (sometimes referred to as phase-domains
and mixture-domains).
1
See Revised(4) Report on the Algorithmic Language Scheme, William Clinger and Jonathan Rees
(Editors), 2 November 1991, Section 7.1.1.
2
The Standard actually only requires that case be insignificant; the Fluent Inc. implementation
accomplishes this by converting all uppercase input to lowercase.
c Fluent Inc. September 29, 2006 B-21
Case and Data File Formats
B.4.2 Partitions
Index: 40
Scheme symbol: xf-partition
C macro: XF PARTITION
Status: only for partitioned grids
This section indicates each cell’s partition. The format of the section is as follows:
where,
p1 = the partition of the cell whose ID is first-index
p2 = the partition of the cell whose ID is first-index+1, etc.
pn = the partition of the cell whose ID is last-index
partition-count = the total number of partitions
Partition IDs must be between 0 and one less than partition-count.
B-22
c Fluent Inc. September 29, 2006
B.5 Data Sections
where sub-section-id is a (decimal) integer that identifies the variable field (e.g., 1
for pressure, 2 for velocity). The complete list of these is available in the header file
(xfile.h), which is located in the following directory in your installation area:
/Fluent.Inc/fluent6.x/client/src/xfile.h
where,
zone-id = the ID number of the cell or face zone
size = the length of the variable vector
zone-id matches the ID used in case file. size is 1 for a scalar, 2 or 3 for a vector,
equal to the number of species for variables defined for each species). n-time-levels
and n-phases currently are not used.
A sample data file section for the velocity field in a cell zone for a steady-state, single-
phase, 2D problem is shown below:
(300 (2 16 2 0 0 17 100)
(8.08462024e-01 8.11823010e-02
8.78750622e-01 3.15509699e-02
1.06139672e+00 -3.74040119e-02
...
1.33301604e+00 -5.04243895e-02
6.21703446e-01 -2.46118382e-02
4.41687912e-01 -1.27046436e-01
1.03528820e-01 -1.01711005e-01
))
c Fluent Inc. September 29, 2006 B-23
Case and Data File Formats
The variables that are listed in the data file depend on the models active at the time
the file is written. Variables that are required by the solver based on the current model
settings but are missing from the data file are set to their default values when the data
file is read. Any extra variables that are present in the data file but are not relevant
according to current model settings are ignored.
B.5.3 Residuals
Index: 301
Scheme symbol: xf-rf-seg-residuals
C macro: XF RF SEG RESIDUALS
Status: optional
This section lists the values of the residuals for a particular data field variable at each
iteration:
where,
n = the number of residuals
size = the length of the variable vector
residual-section-id = an integer (decimal) indicating the equation
size is 1 for a scalar, 2 or 3 for a vector, equal to the number of species for variables
defined for each species. The residual-section-id indicates the equation for which
the residual is stored in the section, according to the C constants defined in a header file
(xfile.h) available in your installation area, as noted in Section B.3: Grid Sections.
The equations for which residuals are listed in the data file depend on the models active
at the time the file is written. If the residual history is missing from the data file for a
currently active equation, it is initialized with zeros.
B-24
c Fluent Inc. September 29, 2006
Nomenclature
c Fluent Inc. September 29, 2006 Nom-1
Nomenclature
Nom-2
c Fluent Inc. September 29, 2006
Nomenclature
c Fluent Inc. September 29, 2006 Nom-3
Nomenclature
Nom-4
c Fluent Inc. September 29, 2006
Bibliography
[1] User manual for 1993 version pulverized coal gasification and combustion 3-
dimensional (pcgc-3). Advanced Combustion Engineering Research Center,
Brigham Young University, 1993.
[2] FIELDVIEW Reference Manual, Software Release Version 10. Intelligent Light,
2004.
[3] KINetics for Fluent, Version 1.0. Reaction Design, Inc., San Diego, CA, 2004.
[4] VdmTools Programmer Manual, Version 3.2.0. Visual Kinematics, Inc., 2005.
[5] T. Ahmad, S. L. Plee, and J. P. Myers. Computation of Nitric Oxide and Soot
Emissions from Turbulent Diffusion Flames. J. of Engineering for Gas Turbines
and Power, 107:48–53, 1985.
[8] A. A. Amsden. KIVA-3: A KIVA Program with Block-Structured Mesh for Com-
plex Geometries. Technical Report LA-12503-MS, UC-361, Los Alamos National
Laboratory, Los Alamos, New Mexico, March 1993.
c Fluent Inc. September 29, 2006 Bib-1
BIBLIOGRAPHY
[13] S. Armsfield and R. Street. The Fractional-Step Method for the Navier-Stokes
Equations on Staggered Grids: Accuracy of Three Variations. Journal of Compu-
tational Physics, 153:660–665, 1999.
[14] R. H. Augnier. A Fast, Accurate Real Gas Equation of State for Fluid Dynamic
Analysis Applications. Journal of Fluids Engineering, 117:277–281, 1995.
[15] F. Backmier, K. H. Eberius, and T. Just. Comb. Sci. Tech., 7:77, 1973.
[21] T. J. Barth and D. Jespersen. The design and application of upwind schemes
on unstructured meshes. Technical Report AIAA-89-0366, AIAA 27th Aerospace
Sciences Meeting, Reno, Nevada, 1989.
[26] D. L. Baulch et al. Evaluated Kinetic Data for Combustion Modelling. J. Physical
and Chemical Reference Data, 21(3), 1992.
Bib-2
c Fluent Inc. September 29, 2006
BIBLIOGRAPHY
[27] M. M. Baum and P. J. Street. Predicting the Combustion Behavior of Coal Parti-
cles. Combust. Sci. Tech., 3(5):231–243, 1971.
[28] L. L. Baxter. Turbulent Transport of Particles. PhD thesis, Brigham Young Uni-
versity, Provo, Utah, 1989.
[29] L. L. Baxter and P. J. Smith. Turbulent Dispersion of Particles: The STP Model.
Energy & Fuels, 7:852–859, 1993.
[32] A. Bejan. Convection Heat Transfer. John Wiley and Sons, New York, 1984.
[33] R. W. Bilger and R. E. Beck. In 15th Symp. (Int’l.) on Combustion, page 541. The
Combustion Institute, 1975.
[36] J. Blauvens, B. Smets, and J. Peters. In 16th Symp. (Int’l.) on Combustion. The
Combustion Institute, 1977.
c Fluent Inc. September 29, 2006 Bib-3
BIBLIOGRAPHY
[45] S. Brunauer. The Absorption of Gases and Vapors. Princeton University Press,
Princeton, NJ, 1943.
[50] J. R. Cash and A. H. Karp. A variable order Runge-Kutta method for initial value
problems with rapidly varying right-hand sides. ACM Transactions on Mathemat-
ical Software, 16:201–222, 1990.
[54] H. C. Chen and V. C. Patel. Near-Wall Turbulence Models for Complex Flows
Including Separation. AIAA Journal, 26(6):641–648, 1988.
Bib-4
c Fluent Inc. September 29, 2006
BIBLIOGRAPHY
[56] N. P. Cheremisinoff. Fluid Flow Pocket Handbook. Gulf Publishing Co., Houston,
TX., 1984.
[57] R. V. Chima and M. S. Liou. Comparison of the AUSM+ and H-CUSP schemes
for turbomachinery applications. NASA TM-2003-212457, 2003.
[60] B. H. Chowdhury. Emission Control Alternatives for Electric Utility Power Plants.
Energy Sources, 18(4):393–406, October 1996.
[62] Clift, Grace, and Weber. Bubbles, Drops, and Particles. Technical report, Academic
Press, 1978.
[69] C. Crowe, M. Sommerfield, and Yutaka Tsuji. Multiphase Flows with Droplets and
Particles. CRC Press, 1998.
c Fluent Inc. September 29, 2006 Bib-5
BIBLIOGRAPHY
[71] N. Curle. The Influence of Solid Boundaries upon Aerodynamic Sound. Proceedings
of the Royal Society of London. Series A, Mathematical and Physical Sciences,
231:505–514, 1955.
[76] J. F. Daunenhofer and J. R. Baron. Grid Adaption for the 2D Euler Equations.
Technical Report AIAA-85-0484, American Institute of Aeronautics and Astronau-
tics, 1985.
[77] G. G. De Soete. Overall Reaction Rates of NO and N2 Formation from Fuel Ni-
trogen. In 15th Symp. (Int’l.) on Combustion, pages 1093–1102. The Combustion
Institute, 1975.
[80] P. R. Desam. Subgrid Scale Model Development and Validation for Thermal Nitric
Oxide Prediction in Glass Furnaces. PhD thesis, The University of Utah, 2005.
[81] J. Ding and D. Gidaspow. A Bubbling Fluidization Model Using Kinetic Theory
of Granular Flow. AIChE J., 36(4):523–538, 1990.
[83] N. Dombrowski and P. C. Hooper. The effect of ambient density or drop formation
in sprays. Chemical Engineering Science, 17:291–305, 1962.
Bib-6
c Fluent Inc. September 29, 2006
BIBLIOGRAPHY
[92] P. A. Durbin. Separated Flow Computations with the k--v 2 Model. AIAA Journal,
33(4):659–664, 1995.
[93] E. R. G. Eckert and R. M. Drake. Analysis of Heat and Mass Transfer. McGraw-
Hill Co., 1972.
[94] D. K. Edwards and R. Matavosian. Scaling Rules for Total Absorptivity and Emis-
sivity of Gases. J. Heat Transfer, 106:684–689, 1984.
c Fluent Inc. September 29, 2006 Bib-7
BIBLIOGRAPHY
[98] S. Ergun. Fluid Flow through Packed Columns. Chem. Eng. Prog., 48(2):89–94,
1952.
[100] G. M. Faeth. Spray Atomization and Combustion. AIAA Journal, (86-0136), 1986.
[104] J. L. Ferzieger and M. Peric. Computational Methods for Fluid Dynamics. Springer-
Verlag, Heidelberg, 1996.
Bib-8
c Fluent Inc. September 29, 2006
BIBLIOGRAPHY
[113] R. O. Fox. Computational Models for Turbulent Reacting Flows. Cambridge Uni-
versity Press, Cambridge, England, 2003.
[117] T. Gessner. Dynamic Mesh Adaption for Supersonic Combustion Waves Modeled
with Detailed Reaction Mechanisms. PhD thesis, University of Freiburg, Freiburg,
Germany, 2001.
[120] D. Gidaspow. Multiphase Flow and Fluidization. Academic Press, Boston, 1994.
[122] R. G. Gilbert, K. Luther, and J. Troe. Ber. Bunsenges. Phys. Chem., 87, 1983.
[123] M. Giles. Non-Reflecting Boundary Conditions for the Euler Equations. Technical
Report TR 88-1-1988, Computational Fluid Dynamics Laboratory, Massachusetts
Institute of Technology, Cambridge, MA.
c Fluent Inc. September 29, 2006 Bib-9
BIBLIOGRAPHY
Bib-10
c Fluent Inc. September 29, 2006
BIBLIOGRAPHY
[145] C. W. Hirt and B. D. Nichols. Volume of Fluid (VOF) Method for the Dynamics
of Free Boundaries. J. Comput. Phys., 39:201–225, 1981.
[147] T. J. Houser, M. Hull, R. Alway, and T. Biftu. Int. Journal of Chem. Kinet.,
12:579, 1980.
[149] P. Huang, P. Bradshaw, and T. Coakley. Skin Friction and Velocity Profile Family
for Compressible Turbulent Boundary Layers. AIAA Journal, 31(9):1600–1604,
September 1993.
[150] S. C. Hunter. Formation of so3 in gas turbines. Transactions of the ASME, 104:44–
51, 1982.
[152] H. Ibdir and H. Arastoopour. Modeling of multi-type particle flow using kinetic
approach. AICHE Journal, May 2005.
c Fluent Inc. September 29, 2006 Bib-11
BIBLIOGRAPHY
[154] R. I. Issa. Solution of the Implicitly Discretized Fluid Flow Equations by Operator-
Splitting. Journal of Computational Physics, 62:40–65, 1985.
[156] H. M. Glaz J. B. Bell, P. Colella. Second-Order Projection Method for the In-
compressible Navier-Stokes Equations. Journal of Computational Physics, 85:257,
1989.
[160] A. Jameson. Solution of the Euler Equations for Two Dimensional Transonic Flow
by a Multigrid Method. MAE Report 1613, Princeton University, June 1983.
[161] A. Jameson, W. Schmidt, and E. Turkel. Numerical Solution of the Euler Equations
by Finite Volume Methods Using Runge-Kutta Time-Stepping Schemes. Technical
Report AIAA-81-1259, AIAA 14th Fluid and Plasma Dynamics Conference, Palo
Alto, California, June 1981.
[162] J. Janicka, W. Kolbe, and W. Kollmann. Closure of the transport equation for
the pdf of turbulent scalar fields. Journal Non-Equilibrium Thermodynamics, 4:47,
1978.
[165] C. Jayatilleke. The Influence of Prandtl Number and Surface Roughness on the
Resistance of the Laminar Sublayer to Momentum and Heat Transfer. Prog. Heat
Mass Transfer, 1:193–321, 1969.
Bib-12
c Fluent Inc. September 29, 2006
BIBLIOGRAPHY
[173] G. Karypis and V. Kumar. METIS - A Software Package for Partitioning Un-
structured Graphs, Partitioning Meshes, and Computing Fill-Reducing Orderings
of Sparse Matrices, Version 3.0. Manual, University of Minnesota and Army HPC
Research Center, 1997.
[174] W. M. Kays. Loss coefficients for abrupt changes in flow cross section with low
reynolds number flow in single and multiple tube systems. Transactions of the
ASME, 72:1067–1074, January 1950.
[175] W. M. Kays. Turbulent Prandtl Number - Where Are We? J. Heat Transfer,
116:284–295, 1994.
[179] I. M. Khan and G. Greeves. A Method for Calculating the Formation and Com-
bustion of Soot in Diesel Engines. In N. H. Afgan and J. M. Beer, editors, Heat
Transfer in Flames, chapter 25. Scripta, Washington DC, 1974.
c Fluent Inc. September 29, 2006 Bib-13
BIBLIOGRAPHY
[181] S.-E. Kim. Large eddy simulation using unstructured meshes and dynamic subgrid-
scale turbulence models. Technical Report AIAA-2004-2548, American Institute of
Aeronautics and Astronautics, 34th Fluid Dynamics Conference and Exhibit, June
2004.
[182] S.-E. Kim and D. Choudhury. A Near-Wall Treatment Using Wall Functions Sensi-
tized to Pressure Gradient. In ASME FED Vol. 217, Separated and Complex Flows.
ASME, 1995.
[183] S.-E. Kim, D. Choudhury, and B. Patel. Computations of Complex Turbulent Flows
Using the Commercial Code FLUENT. In Proceedings of the ICASE/LaRC/AFOSR
Symposium on Modeling Complex Turbulent Flows, Hampton, Virginia, 1997.
[184] W.-W. Kim and S. Menon. Application of the localized dynamic subgrid-scale
model to turbulent wall-bounded flows. Technical Report AIAA-97-0210, American
Institute of Aeronautics and Astronautics, 35th Aerospace Sciences Meeting, Reno,
NV, January 1997.
[188] K. K. Y. Kuo. Principles of Combustion. John Wiley and Sons, New York, 1986.
[190] H. Lamb. Hydrodynamics, Sixth Edition. Dover Publications, New York, 1945.
[191] M. E. Larsen and J. R. Howell. Least Squares Smoothing of Direct Exchange Areas
in Zonal Analysis. J. Heat Transfer, 108:239–242, 1986.
[192] B. E. Launder. Second-Moment Closure and Its Use in Modeling Turbulent In-
dustrial Flows. International Journal for Numerical Methods in Fluids, 9:963–985,
1989.
Bib-14
c Fluent Inc. September 29, 2006
BIBLIOGRAPHY
c Fluent Inc. September 29, 2006 Bib-15
BIBLIOGRAPHY
[210] G. M. Lilley. The radiated noise from isotropic turbulence revisited. NASA Con-
tract Report 93-75, NASA Langley Research Center, Hampton, VA, 1993.
[215] M. S. Liou and C. J. Steffen, Jr. A new flux splitting scheme. Journal of Compu-
tational Physics, 107(1):23–39, 1993.
[217] R. J. Litchford and S. M. Jeng. Efficient Statistical Transport Model for Turbulent
Particle Dispersion in Sprays. AIAA Journal, 29:1443, 1991.
[218] A. B. Liu, D. Mather, and R. D. Reitz. Modeling the Effects of Drop Drag and
Breakup on Fuel Sprays. SAE Technical Paper 930072, SAE, 1993.
Bib-16
c Fluent Inc. September 29, 2006
BIBLIOGRAPHY
[225] J. F. Lynn. Multigrid Solution of the Euler Equations with Local Preconditioning.
PhD thesis, University of Michigan, 1995.
[226] R. K. Lyon. The NH3 -NO-O2 Reaction. Int. Journal of Chem. Kinetics, 8:315–318,
1976.
[230] M. Manninen, V. Taivassalo, and S. Kallio. On the mixture model for multiphase
flow. VTT Publications 288, Technical Research Centre of Finland, 1996.
[232] S. R. Mathur and J. Y. Murthy. Coupled ordinates method for multigrid accelera-
tion of radiation calculations. J. of Thermophysics and Heat Transfer, 13(4):467–
473, 1999.
[236] P. C. Melte and D. T. Pratt. Measurement of Atomic Oxygen and Nitrogen Ox-
ides in Jet Stirred Combustion. In 15th Symposium (Int’l) on Combustion, The
Combustion Institute, pages 1061–1070, 1974.
c Fluent Inc. September 29, 2006 Bib-17
BIBLIOGRAPHY
[238] F. R. Menter, M. Kuntz, and R. Langtry. Ten Years of Experience with the SST
Turbulence Model. In K. Hanjalic, Y. Nagano, and M. Tummers, editors, Turbu-
lence, Heat and Mass Transfer 4, pages 625–632. Begell House Inc., 2003.
[239] H. J. Merk. The Macroscopic Equations for Simultaneous Heat and Mass Transfer
in Isotropic, Continuous and Closed Systems. Appl. Sci. Res., 8:73–99, 1958.
[241] M. Metghalchi and J. C. Keck. Burning velocities of mixtures of air with methanol,
isooctane and indolene at high pressures and temperatures. Combustion and Flame,
48:191–210, 1982.
[244] J. A. Miller and G. A. Fisk. Chemical and Engineering News, 31, 1987.
[251] M. J. Moore and C. H. Sieverding. Two-Phase Steam Flow in Turbines and Sepa-
rator. McGraw-Hill, 1976.
Bib-18
c Fluent Inc. September 29, 2006
BIBLIOGRAPHY
[256] J. Y. Murthy and S. R. Mathur. A Finite Volume Method For Radiative Heat
Transfer Using Unstructured Meshes. AIAA-98-0860, January 1998.
[259] M. Namazian and J. B. Heywood. Flow in the Piston Cylinder Ring Crevices of
a Spark Ignition Engine: Effect on Hydrocarbon Emissions, Efficiency, and Power.
SAE Technical Paper 820088, SAE, 1982.
[262] F. Nicoud and F. Ducros. Subgrid-Scale Stress Modelling Based on the Square of
the Velocity Gradient Tensor. Flow, Turbulence, and Combustion, 62(3):183–200,
1999.
[263] L. Nokleberg and T. Sontvedt. Erosion of Oil and Gas Industry Choke Valves
Using Computational Fluid Dynamics and Experiment. International Journal of
Heat and Fluid Flow, 19:636–643, 1998.
c Fluent Inc. September 29, 2006 Bib-19
BIBLIOGRAPHY
[265] J. Norman, M. Porkashanian, and A. Williams. Modelling the Formation and Emis-
sion of Environmentally Unfriendly Coal Species in Some Gasification Processes.
Fuel, 76(13):1201–1216, October 1997.
[266] W. H. Nurick. Orifice Cavitation and Its Effects on Spray Mixing. Journal of Fluids
Engineering, page 98, 1976.
[269] P. J. O’Rourke. Collective Drop Effects on Vaporizing Liquid Sprays. PhD thesis,
Princeton University, Princeton, New Jersey, 1981.
[270] P. J. O’Rourke and A. A. Amsden. The TAB Method for Numerical Calculation
of Spray Droplet Breakup. SAE Technical Paper 872089, SAE, 1987.
[271] P. J. O’Rourke and A. A. Amsden. A Particle Numerical Model for Wall Film
Dynamics in Port-Fuel Injected Engines. SAE Paper 961961, 1996.
[275] M. N. Ozisik. Radiative Transfer and Interactions with Conduction and Convection.
Wiley, New York, 1973.
[277] S. V. Patankar. Numerical Heat Transfer and Fluid Flow. Hemisphere, Washington,
DC, 1980.
Bib-20
c Fluent Inc. September 29, 2006
BIBLIOGRAPHY
[278] S. V. Patankar, C. H. Liu, and E. M. Sparrow. Fully Developed Flow and Heat
Transfer in Ducts Having Streamwise-Periodic Variations of Cross-Sectional Area.
ASME J. of Heat Transfer, 99:180–186, 1977.
[280] N. Peters. Laminar Diffusion Flamelet Models in Non Premixed Combustion. Prog.
Energy Combust. Sci., 10:319–339, 1984.
[282] N. Peters and S. Donnerhack. In 18th Symp. (Int’l.) on Combustion, page 33. The
Combustion Institute, 1981.
[283] N. Peters and B. Rogg. Reduced Kinetic Mechanisms for Applications in Combus-
tion Systems. In Lecture Notes in Physics, volume m15. Springer-Verlag, 1992.
[285] H. Pitsch, H. Barths, and N. Peters. Three-Dimensional Modeling of NOx and Soot
Formation in DI-Diesel Engines Using Detailed Chemistry Based on the Interactive
Flamelet Approach. SAE Paper 962057, SAE, 1996.
[287] T. J. Poinsot and S. K. Lele. Boundary Conditions for Direct Simulation of Com-
pressible Viscous Flows. Journal of Computational Physics, 101:104–129, 1992.
[289] S. B. Pope. Pdf methods for turbulent reactive flows. Progress Energy Combustion
Science, 11:119, 1985.
[291] S. B. Pope. Isat-ck (version 3.0) user’s guide and reference manual, 2000.
c Fluent Inc. September 29, 2006 Bib-21
BIBLIOGRAPHY
[293] I. Proudman. The Generation of Noise by Isotropic Turbulence. Proc. Roy. Soc.,
A214:119, 1952.
[296] W. E. Ranz and W. R. Marshall, Jr. Evaporation from Drops, Part I. Chem. Eng.
Prog., 48(3):141–146, March 1952.
[297] W. E. Ranz and W. R. Marshall, Jr. Evaporation from Drops, Part II. Chem. Eng.
Prog., 48(4):173–180, April 1952.
[301] R. D. Reitz and F. V. Bracco. Mechanisms of Breakup of Round Liquid Jets. The
Encyclopedia of Fluid Mechanics, ed. N. Cheremisnoff, 3:223–249, 1986.
[304] C. M. Rhie and W. L. Chow. Numerical Study of the Turbulent Flow Past an Airfoil
with Trailing Edge Separation. AIAA Journal, 21(11):1525–1532, November 1983.
Bib-22
c Fluent Inc. September 29, 2006
BIBLIOGRAPHY
[308] P. L. Roe. Characteristic based schemes for the Euler equations. Annual Review
of Fluid Mechanics, 18:337–365, 1986.
[309] J. W. Rose and J. R. Cooper. Technical Data on Fuel. Scottish Academic Press,
Edinburgh, 1977.
[310] J. W. Rose and J. R. Cooper, editors. Technical Data on Fuels. Wiley, 7th edition,
1977.
[311] R. Rota, D. Antos, E. F. Zanoelo, and M. Morbidelli. Experimental and Modeling
Analysis of the NOxOUT Process. Chemical Engineering Science, 57:27–38, 2002.
[312] H. Rouse and J. S. McNown. Cavitation and Pressure Distribution, Head Forms
at Zero Angle of Yaw. Iowa Institute of Hydraulic Research, State Univ. of Iowa,
Iowa City, 1948.
[313] P. G. Saffman. The Lift on a Small Sphere in a Slow Shear Flow. J. Fluid Mech.,
22:385–400, 1965.
[314] M. M. Salama and E. S. Venkatesh. Evaluation of api rp14e erosional velocity
limitations for offshore gas wells. In OTC Conference, pages 371–376. Houston,
May 1983.
[315] S. Sarkar and L. Balakrishnan. Application of a Reynolds-Stress Turbulence Model
to the Compressible Shear Layer. ICASE Report 90-18, NASA CR 182002, 1990.
[316] S. Sarkar and M. Y. Hussaini. Computation of the sound generated by isotropic tur-
bulence. NASA Contract Report 93-74, NASA Langley Research Center, Hampton,
VA, 1993.
[317] A. Saxer. A Numerical Analysis of a 3D Inviscid Stator/Rotor Interaction Us-
ing Non-Reflecting Boundary Conditions. PhD thesis, Massachusetts Institute of
Technology, Cambridge, Massachusetts, March 1992.
[318] S. S. Sazhin. An Approximation for the Absorption Coefficient of Soot in a Radi-
ating Gas. Manuscript, Fluent Europe, Ltd., 1994.
[319] D. G. Schaeffer. Instability in the Evolution Equations Describing Incompressible
Granular Flow. J. Diff. Eq., 66:19–50, 1987.
[320] R. W. Schefer, M. Namazian, and J. Kelly. In Combustion Research Facility News,
volume 3, number 4. Sandia, 1991.
[321] L. Schiller and Z. Naumann. Z. Ver. Deutsch. Ing., 77:318, 1935.
[322] H. Schlichting. Boundary-Layer Theory. McGraw-Hill, New York, 1979.
[323] D. P. Schmidt and M. L. Corradini. Analytical Prediction of the Exit Flow of
Cavitating Orifices. Atomization and Sprays, 7:6, 1997.
c Fluent Inc. September 29, 2006 Bib-23
BIBLIOGRAPHY
[327] E. Sergent. Vers une methodologie de couplage entre la Simulation des Grandes
Echelles et les modeles statistiques. PhD thesis, L’Ecole Centrale de Lyon, Lyon,
France, 2002.
[328] A. A. Shabana. Computational Dynamics. John Wiley and Sons, New York, 1994.
[330] T.-H. Shih, W. W. Liou, A. Shabbir, Z. Yang, and J. Zhu. A New k- Eddy-
Viscosity Model for High Reynolds Number Turbulent Flows - Model Development
and Validation. Computers Fluids, 24(3):227–238, 1995.
[332] R. Siegel and J. R. Howell. Thermal Radiation Heat Transfer. Hemisphere Pub-
lishing Corporation, Washington DC, 1992.
[333] R. Siegel and C. M. Spuckler. Effect of Refractive Index and Diffuse or Specular
Boundaries on a Radiating Isothermal Layer. J. Heat Transfer, 116:787–790, 1994.
Bib-24
c Fluent Inc. September 29, 2006
BIBLIOGRAPHY
[338] R. Smirnov, S. Shi, and I. Celik. Random Flow Generation Technique for Large
Eddy Simulations and Particle-Dynamics Modeling. Journal of Fluids Engineering,
123:359–371, 2001.
[339] Smith and Van Winkle. Am. Inst. Chem. Eng. J., 4:266–268, 1958.
[342] I. W. Smith. The Combustion Rates of Coal Chars: A Review. In 19th Symp.
(Int’l.) on Combustion, pages 1045–1065. The Combustion Institute, 1982.
[345] L. D. Smoot and P. J. Smith. NOx Pollutant Formation in a Turbulent Coal System.
In Coal Combustion and Gasification, page 373, Plenum, Plenum, NY, 1985.
[347] M. S. Solum, R. J. Pugmire, and D. M. Grant. Energy and Fuels, 3:187, 1989.
[348] C. Soteriou, R. Andrews, and M. Smith. Direct Injection Diesel Sprays and the
Effect of Cavitation and Hydraulic Flip on Atomization. SAE Paper 950080, SAE,
1995.
[350] D. B. Spalding. Mixing and chemical reaction in steady confined turbulent flames.
In 13th Symp. (Int’l.) on Combustion. The Combustion Institute, 1970.
c Fluent Inc. September 29, 2006 Bib-25
BIBLIOGRAPHY