Professional Documents
Culture Documents
Using Conditional Statment S
Using Conditional Statment S
Tank Flush
14.5 Release
Introduction to ANSYS
CFX
2012 ANSYS, Inc.
Release 14.5
Introduction
Workshop Description:
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solution
2
Results
Summary
Release 14.5
Mesh Import
1. Start Workbench, add a CFX Component System and edit Setup to
start CFX-Pre
2. Right-click on Mesh > Import Mesh > ICEM CFD
3. Set the Mesh Units to cm
For some mesh formats it is important to know the units used to generate
the mesh
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solution
3
Results
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solution
4
Results
Summary
Release 14.5
Setup
December 17, 2012
Solution
5
Results
Summary
Release 14.5
Setup
December 17, 2012
Solution
6
Results
Summary
Release 14.5
Setup
December 17, 2012
Solution
7
Results
Summary
Release 14.5
Setup
December 17, 2012
Solution
8
Results
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solution
9
Results
Summary
Release 14.5
2. In the Boundary Details use Opening Pres. And Dirn with a Relative
Pressure of 0 [Pa]
3. In the Fluid Values set the Volume Fraction of Air to 1 and the Volume
Fraction of Water to 0
Setup
December 17, 2012
Solution
10
Results
Summary
Release 14.5
Setup
December 17, 2012
Solution
11
Results
Summary
Release 14.5
Define Expressions
Next you will create expressions to define the initial water height and
hydrostatic pressure field. These expressions must define the correct initial
flow field because the transient simulation is started cold (it is not started
from a converged steady-state simulation).
Setup
December 17, 2012
Solution
12
Results
Summary
Release 14.5
Define Expressions
x = - 0.028
y = waterHt
y = - 0.01
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solution
13
Results
Summary
Release 14.5
Right-click on Flow Analysis 1 in the Outline tree and select Insert > Global
Initialisation
2.
3.
4.
On the Fluid Settings tab set the Volume Fraction for Water to the
expression waterVF. Set the Volume Fraction for Air to the expression 1 waterVF
5.
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solution
14
Results
Summary
Release 14.5
4. In the Output Variables List, use the icon and the Ctrl key to pick
Air.Volume Fraction, Velocity, and Water.Volume Fraction
5. Under Output Frequency, set the Timestep Interval to 2 and click OK
Transient results will be written every second timestep, thus creating a total of
125 Transient Results files
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solution
15
Results
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solution
16
Results
Summary
Release 14.5
Run Solver
1. Close CFX-Pre and save the project as TankFlush.wbpj
2. In the Project Schematic, Edit the Solution object to start the CFX-Solver
Manager
3. Start the run from the CFX-Solver Manager
You can monitor the volume of water in the domain during the simulation on the
User Points tab
The simulation will take about 30 minutes to complete. Therefore results files
have been provided with this workshop
4. After a few timesteps stop your run from the Project Schematic by rightclicking on the Solution cell and selecting Interrupt Update
5. Select File > Monitor Finished Run in the CFX-Solver Manager
6. Browse to the results file provided with the workshop
Note the shape of the Water Volume curve (User Points) and see that less water is in the
domain at the end of the run than at the beginning
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solution
17
Results
Summary
Release 14.5
Post-Process Results
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solution
18
Results
Summary
Release 14.5
Post-Process Results
1. Click on Z-axis to align view and turn on Visibility for
Sym1
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solution
19
Summary
Release 14.5
Summary
A tank flush has been simulated using a transient simulation with multiphase
flow. Due to the nature of transient simulations, they tend to take longer to
solve and post-process.
The results show that a significant amount of air became entrained in the water.
As the Homogeneous multiphase model was used and the fluids shared the
same velocity field, it was not possible for the air to separate out from the water
as a result of buoyancy. In order for this to have happened, the Inhomogeneous
multiphase model would have been required. Each phase would then have had
its own velocity field and the entrained air bubble could have risen relative to the
water.
When running the Inhomogeneous model the entrained phase should be set as
a Dispersed Phase in CFX-Pre.
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solution
20
Results
Summary
Release 14.5