Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
0 Workshop 5
WS5-1
Introduction
This example demonstrates the use of Lagrangian particle tracking in ANSYS CFX. This models true multiphase flow and is valid for systems where particles are present at low volume loadings (< 10%) In order to shorten run-time, a twodimensional planar mesh is used This example features:
Lagrangian particle tracking Buoyant flow
Workshop Supplement
WS5-2
Background
In this example, particles of different sizes are modeled as discrete moving points using the Lagrangian particle tracking model. Deposition walls for particles can be defined by setting the normal coefficient of restitution to zero so that particles "stick" on the wall when they hit it. Flow through a rectangular duct with a 90 bend is modeled. Gravity acts downward. Particles with diameters of 1, 10, and 100 microns are modeled. This example models the same system and physics as the Algebraic Slip workshop but within the Lagrangian Particle tracking framework
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.
Workshop Supplement
Inlet Flow
Gravity
Deposition Walls
WS5-3
Computational Mesh
The mesh is one cell thick in the z-direction (the thickness extent is 0.1 in)
Workshop Supplement
WS5-4
Workshop Supplement
Copy the file CFX gtm file hex.gtm from the input files folder into a working directory Start CFX-Pre from the ANSYS CFX Launcher. Create a new simulation (File/New Case/General). Right-click on Mesh in the Outline and import the hex.gtm file into the simulation setting the type to CFX Mesh.
WS5-5
Imported Mesh
Workshop Supplement
WS5-6
Workshop Supplement
Click on the + sign next to Materials in the Tree View and find the constant property liquid named Water.
This material will be used to set the properties of the particles while the continuous phase properties will be referenced to the material Air at 25 C
WS5-7
Workshop Supplement
WS5-8
Workshop Supplement
WS5-9
Workshop Supplement
WS5-10
Workshop Supplement
WS5-11
Workshop Supplement
WS5-12
Workshop Supplement
WS5-13
Workshop Supplement
WS5-14
Workshop Supplement
WS5-15
Boundary Conditions
For this simulation, the boundary conditions include: an Inlet at the top left
(low x) face Symmetry Planes on the high and low z-faces An Outlet on the far right (high y-face) No-slip particle deposition Walls at the leftmost (low y) and bottom (high x) faces of the domain. No-slip non-deposition Walls at remaining faces of the domain as shown Deposition Walls Inlet
Workshop Supplement
Outlet
WS5-16
Workshop Supplement
WS5-17
Workshop Supplement
Set the Mass Flow Rate to 6.4e-8 kg/s (for one-way coupling, this is used only for postprocessing purposes
Repeat these steps for medium and small. Click OK to complete the definition of the boundary.
WS5-18
Workshop Supplement
Click the Boundary Conditions icon from the menu bar Enter a name (outlet) for the boundary condition and click OK On the Basic Settings tab, set the Boundary Type to Outlet and the Location to OUT. On the Boundary Details tab panel, set Mass and Momentum Option to Average Static Pressure and set a Relative Pressure of 0 Pa. Leave the other settings at their default values Click OK
WS5-19
Workshop Supplement
WS5-20
Workshop Supplement
On the Fluid Values tab, set the Perpendicular Coefficient of Resitution to 0 for all three particles (large, medium, and small) so that the particles will stick to the wall if and when they hit it
Click OK to complete the boundary definition
WS5-21
Workshop Supplement
WS5-22
Workshop Supplement
WS5-23
Workshop Supplement
WS5-24
Solver Parameters
Click on the Solver Control icon from the menu On the Basic Settings tab:
Set the Advection Scheme to High Resolution Set the Timescale Control to Auto Timescale Set the Max. Iterations to 100 Enter 1e-4 for the Residual Target and enable a Conservation Target and set a value of 0.01
Workshop Supplement
On the Particle Control tab, enable the toggle for Vertex Variable smoothing and set it to Raw. Click OK to apply the Solver Settings
WS5-25
Workshop Supplement
WS5-26
Workshop Supplement
When the Solver Manager Define Run form appears, click Start Run to initiate the run.
WS5-27
Workshop Supplement
WS5-28
Workshop Supplement
Browse the output file and check the Particle Fate Diagnostics for the three particle classes.
Note from the particle fate summary that approximately 98% 80% and 0% of the Small, Medium, and Large particles make it to the outlet which is in reasonable agreement with the values of 100%, 85%, and 0% from the ASM workshop. Start CFX-Post and load the results file from your run
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.
WS5-29
Workshop Supplement
Start CFX-Post and view the particle tracks for the small particles, setting the maximum number of tracks to 25 and coloring the tracks according to small.Velocity
WS5-30
Workshop Supplement
Start CFX-Post and view the particle tracks for the medium particles, setting the maximum number of tracks to 25 and coloring the tracks according to medium.Velocity
WS5-31
Workshop Supplement
Start CFX-Post and view the particle tracks for the large particles, setting the maximum number of tracks to 25 and coloring the tracks according to large.Velocity
WS5-32
Post-Processing
Workshop Supplement
Make sym1 visible and color it according to medium.Averaged Volume Fraction. Compare this plot with the corresponding plot from the ASM workshop.
WS5-33
Workshop Supplement
Create the follow variables and color outerwall according to them. Compare these with the corresponding plots from the ASM workshop:
smallwallmassflux = abs(small.Wall Mass Flow Density) mediumwallmassflux = abs(medium.Wall Mass Flow Density) largewallmassflux = abs(large.Wall Mass Flow Density)
WS5-34
Workshop Supplement
Create a ZX-Plane at a Y-value of 0.10 [m]. Use Tools/Function Calculator to sum the particle mass flows for the three particle classes and compare these with the inlet values. You can use this approach to count tracks crossing a cut plane by multiplying by the ratio of the number of particles injected to the inlet mass flow rate
WS5-35