Fluent 13.0 workshop03-Multiple-Species PDF
Fluent 13.0 workshop03-Multiple-Species PDF
Fluent 13.0 workshop03-Multiple-Species PDF
W k h 3
Workshop
Modeling
g Multi-Species
p
Flow
Introduction to
ANSYS FLUENT
ANSYS, Inc. Proprietary
2010 ANSYS, Inc. All rights reserved.
WS3-1
Release 13.0
December 2010
Introduction (1)
In this workshop you will analyze the release of heat and combustion
gases from a single car with an engine fire in a ventilated parking garage.
The simulation will be run as a steady state analysis assuming the fire
has reached a stable developed stage.
WS3-2
Release 13.0
December 2010
Introduction (2)
Symmetry Plane
symmetry
Jet Fan
fluid_jet
Heat and gas release from
engine bay
mass-flow-inlet-flue
mass flow inlet flue_gas
gas
Air Outlet
inlet_exhaust
ANSYS, Inc. Proprietary
2010 ANSYS, Inc. All rights reserved.
WS3-3
Release 13.0
December 2010
Goals
WS3-4
Release 13.0
December 2010
Preparation
Files
Copy the following files to your working directory.
garage.msh
garage msh
calc_activities.jou
multi-species-solved.wbpz
WS3-5
Release 13.0
December 2010
Starting Workbench
Open Workbench
Start > Programs > ANSYS 13.0 > ANSYS Workbench
Drag a FLUENT Component System into the project schematic
Rename the system to Garage (RMB on cell A1 to rename the
system)
WS3-6
Release 13.0
December 2010
WS3-7
Release 13.0
December 2010
Start FLUENT
Double click on the Setup cell to open FLUENT
Choose 3D and Double Precision under Options and retain the
other default settings (if your computer has 2 or more nodes and
parallel licenses are available, you also could start FLUENT
parallel)
WS3-8
Release 13.0
December 2010
WS3-9
Release 13.0
December 2010
Click
Cli k OK
ANSYS, Inc. Proprietary
2010 ANSYS, Inc. All rights reserved.
WS3-10
Release 13.0
December 2010
WS3-11
Release 13.0
December 2010
WS3-12
Release 13.0
December 2010
Specify mixture
Select Materials in the navigation
pane.
Note that under Mixture in the Materials
pane the default mixture is listed as
containing nitrogen, oxygen and watervapour.
vapour
WS3-13
Release 13.0
December 2010
Cl
Close the
th FLUENT D
Database
t b
M
Materials
t i l
panel.
WS3-14
Release 13.0
December 2010
WS3-15
Release 13.0
December 2010
Specify mixture
Modify the existing settings for Thermal Conductivity, Viscosity and
Absorption Coefficient as shown below. Click Change/Create to apply
the changes.
WS3-16
Release 13.0
December 2010
WS3-17
Release 13.0
December 2010
WS3-18
Release 13.0
December 2010
WS3-19
Release 13.0
December 2010
WS3-20
Release 13.0
December 2010
WS3-21
Release 13.0
December 2010
WS3-22
Release 13.0
December 2010
WS3-23
Release 13.0
December 2010
WS3-24
Release 13.0
December 2010
WS3-25
Release 13.0
December 2010
Operating Conditions
WS3-26
Release 13.0
December 2010
Operating Conditions
Notes
ANSYS FLUENT avoids the problem of roundoff error by subtracting the operating
pressure (generally a large pressure roughly equal to the average absolute pressure in
th flow)
the
fl ) from
f
the
th absolute
b l t pressure, and
d using
i th
the resultlt (t
(termed
d th
the gauge pressure).
)
The absolute pressure is simply the sum of the operating pressure and the gauge
pressure.
Operating temperature is only used when using the Boussinesq density model, so in this
case, it has no meaning.
Operating density is also a value for avoiding roundoff errors.
errors For simulations where
pressure boundary conditions are present it is important to set the value correctly
otherwise the pressure at the boundary will be incorrect and may lead to unphysical flow
conditions. Here you have to set it to the density for the conditions at the pressure-inlet a gas at 293
293.15
15 K with 23% O2 and 67% N2. You can initialize your flow field with these
conditions to get the value for the operating density from the postprocessor (e. g.
Reports -> Volume Integral). See the Users Guide Natural Convection and BuoyancyDriven Flows for more details.
WS3-27
Release 13.0
December 2010
Solution Methods
WS3-28
Release 13.0
December 2010
Solution Controls
Pressure = 0.3
Density = 1
Body Forces = 1
Momentum = 0.7
Turbulent Kinetic Energy = 0.5
T b l t Di
Turbulent
Dissipation
i ti R
Rate
t =0
0.5
5
Turbulent Viscosity = 0.7
h2o = 1
o2 = 1
co2 = 1
Energy = 1
Discrete Ordinates = 1
WS3-29
Release 13.0
December 2010
Monitors (1)
WS3-30
Release 13.0
December 2010
Monitors (2)
WS3-31
Release 13.0
December 2010
Monitors (3)
WS3-32
Release 13.0
December 2010
Monitors (3)
Notes on monitors
Buoyancy driven flows often show transient behavior. For this reason,
the residuals often will oscillate. Because of this, convergence should
always be judged by solution variable monitors and flux reports. The
residuals will however show overall for convergence behavior and
stability.
y
In cases of an oscillating steady state solution, a common approach is
to continue the simulation in transient mode
mode. In many cases the
oscillations will reduce significantly after a few time steps.
The use of surface/volume monitors combined with residuals will
provide the best overall judge of solution convergence.
WS3-33
Release 13.0
December 2010
Solution Initialization
WS3-34
Release 13.0
December 2010
In this case we will first solve the full equation set for a small number
of iterations,, then onlyy solve for mass/momentum before finallyy
solving the full set again.
WS3-35
Release 13.0
December 2010
We will
W
ill be
b running
i using
i th
the original
i i l settings
tti
th
then apply
l 2
modifications. Increase Defined Modifications to 2.
WS3-36
Release 13.0
December 2010
Commands are entered using the Text User Interface (TUI) syntax. Options selected using the
Graphical User Interface (GUI) have equivalent TUI commands.
Rather than type these out a journal file is provided for this workshop that will enter these for you.
From the main menu, File>Read>Journal, Select the journal file calc_activities.jou from the user_files
directory. Answer No to the question dialog box asking if there are any read/write commands in the
journal.
Modification 1 will switch off all equations except the flow equations and run for 100 iterations.
Modification 2 will switch all equations back on and run for 20 iterations.
WS3-37
Release 13.0
December 2010
The modifications now contain the TUI commands for switching various
equations
q
on and off.
For example, the TUI command for switching off the energy equation is of the
form; (substituting n for y to switch on)
/solve/set/equations
q
temperature
p
n
The list of available TUI commands is extensive and goes beyond options
available in the GUI.
The journal used here contained the TUI commands to setup up the 2 case
modifications.
WS3-38
Release 13.0
December 2010
Run Calculation
WS3-39
Release 13.0
December 2010
There are times when you may want to bring a solution (perhaps made on a remote
cluster) into your workbench session.
1. Stop the iterations. Close the existing FLUENT session, and return to Workbench
2. Drag a new FLUENT session into the Workbench page. Rename as
Imported_Result.
3. In the Setup Cell (B2), right click
and
d select
l t I
Importt FLUENT case
Pick the file workshop3converged.cas.gz
4 FLUENT will
4.
ill start
t t up be
b sure to
t
select double precision. Once
open, close this session again.
5 In
5.
I the
th Solution
S l ti cellll (B3)
(B3), right
i ht click
li k
and Import Final Data, selecting the
file workshop3-converged.dat.gz.
6 D
6.
Double
bl click
li k on th
the solution
l ti cellll (B3)
and continue with this workshop.
ANSYS, Inc. Proprietary
2010 ANSYS, Inc. All rights reserved.
WS3-40
Release 13.0
December 2010
If progressing from the pre solved project select Monitors from the Navigation Pane, click
Edit under Residuals, Statistics and Force Monitors and click Plot in the Residual Monitors
Panel that appears.
The residuals are still quite high after 140 iterations and the surface monitors
are still changing.
WS3-41
Release 13.0
December 2010
WS3-42
Release 13.0
December 2010
Exit
Close Fluent
ANSYS FLUENT contains basic built in post processing capabilities which can
be used to quickly assess results graphically and numerically during and after
the solution.
solution
WS3-43
Release 13.0
December 2010
Drag a Results System onto the Solution cell of the FLUENT system.
This will link a CFD POST (Results) system to the FLUENT system solution
data as shown.
This will start CFD POST and load the FLUENT solution data.
WS3-44
Release 13.0
December 2010
For displaying the temperature on all walls the most effective way is to use a
surface group.
g p
Select Locations > Surface Group, enter a name as shown below and click OK.
WS3-45
Release 13.0
December 2010
WS3-46
Release 13.0
December 2010
Select the Color tab, click on Mode and select Variable Temperature and click
on Apply.
pp y
WS3-47
Release 13.0
December 2010
If you want to change the appearance of the legend, select it in the tree (double
click)) and change
g the details accordingly
g y for example,
p set Precision to Fixed
instead of Scientific.
WS3-48
Release 13.0
December 2010
Select Locations > Isosurface, enter a name as shown below and click OK.
WS3-49
Release 13.0
December 2010
Under Geometry select Y as Variable and set the value to 9 m and set Color
and Render as shown below.
Click Apply. Switch off the previous Location (Walls) by unchecking it in the
Outline.
WS3-50
Release 13.0
December 2010
Postprocessing 3d Isosurface
Use the same procedure - select Locations > Isosurface, enter a name (Gas)
and click OK.
WS3-51
Release 13.0
December 2010
WS3-52
Release 13.0
December 2010
Apply the settings shown below under the Geometry tab, switch off the other
Locations and click Apply.
WS3-53
Release 13.0
December 2010
Other Features
Animations
Close CFD POST (File > Quit) and save the project from the Workbench Project
Page.
WS3-54
Release 13.0
December 2010