This tutorial is divided into the following sections:
In this tutorial, the air-blast atomizer model in Ansys Fluent is used to predict the behavior of an evaporating methanol spray. Initially, the air flow is modeled without droplets. To predict the behavior of the spray, the discrete phase model is used, including a secondary model for breakup.
This tutorial demonstrates how to do the following:
Define a spray injection for an air-blast atomizer.
Calculate a solution using the discrete phase model in Ansys Fluent.
This tutorial is written with the assumption that you have completed the introductory tutorials found in this manual and that you are familiar with the Ansys Fluent outline view and ribbon structure. Some steps in the setup and solution procedure will not be shown explicitly.
The geometry to be considered in this tutorial is shown in Figure 21.1: Problem Specification. Methanol is cooled to -10°C before being introduced into an air-blast atomizer. The atomizer contains an inner air stream surrounded by a swirling annular stream. To make use of the periodicity of the problem, only a 30° section of the atomizer will be modeled.
The following sections describe the setup and solution steps for this tutorial:
To prepare for running this tutorial:
Download the evaporate_liquid.zip file here .
Unzip evaporate_liquid.zip to your working directory.
The mesh file sector.msh.h5 can be found in the folder.
Use the Fluent Launcher to start Ansys Fluent.
Select Solution in the top-left selection list to start Fluent in Solution Mode.
Select 3D under Dimension.
Enable Double Precision under Options.
Set Solver Processes to
1
under Parallel (Local Machine).
Read in the mesh file sector.msh.h5.
File → Read → Mesh...
Change the periodic type of periodic-a to rotational.
Setup → Boundary Conditions → Periodic → periodic-a Edit...
Select Rotational in the Periodic Type group box.
Click Periodic dialog box.
and close the
In a similar manner, change the periodic type of periodic-b to rotational.
Check the mesh.
Domain → Mesh → Check → Perform Mesh Check
Ansys Fluent will perform various checks on the mesh and report the progress in the console. Ensure that the reported minimum volume is a positive number.
Display the mesh.
Domain → Mesh → Display...
Ensure that Edges and Faces are enabled in the Options group box.
Select only atomizer-wall, central_air, and swirling_air from the Surfaces selection list.
Tip: To deselect all surfaces click the far-right button at the top of the Surfaces selection list, and then select the desired surfaces from the Surfaces selection list.
Click the Mesh Colors dialog box.
button to open theSelect wall from the Types selection list.
Select pink from the Colors selection list.
Close the Mesh Colors dialog box.
Click Mesh Display dialog box.
and close the
The graphics display will be updated to show the mesh. Zoom in with the mouse to obtain the view shown in Figure 21.2: Air-Blast Atomizer Mesh Display.
Retain the default solver settings of pressure-based steady-state solver in the General task page (Solver and Time group boxes).
Physics → Solver → General...
Enable heat transfer by enabling the energy equation.
Physics → Models → Energy
Enable the k-ω SST turbulence model.
Physics → Models → Viscous...
Retain the default selection of k-omega (2 eqn) in the Model list.
Retain the default selection of SST in the k-omega Model list.
Click Viscous Model dialog box.
to close the
Enable chemical species transport and reaction.
Physics → Models → Species...
Select Species Transport in the Model list.
Select methyl-alcohol-air from the Mixture Material drop-down list.
The Mixture Material list contains the set of chemical mixtures that exist in the Ansys Fluent database. When selecting an appropriate mixture for your case, you can review the constituent species and the reactions of the predefined mixture by clicking View... next to the Mixture Material drop-down list. The chemical species and their physical and thermodynamic properties are defined by the selection of the mixture material. After enabling the Species Transport model, you can alter the mixture material selection or modify the mixture material properties using the Create/Edit Materials dialog box. You will modify your local copy of the mixture material later in this tutorial.
Click Species Model dialog box.
to close the
Define materials using the Materials task page.
Setup → Materials
Edit the methyl-alcohol-air mixture material by removing water vapor and carbon dioxide from the mixture species list.
Setup → Materials → Mixture → Create/Edit...
In the Create/Edit Materials dialog box for the methyl-alcohol-air mixture material, click the button next to the Mixture Species drop-down list (Properties group box) to open the Species dialog box.
In the Selected Species selection list, select carbon dioxide (co2).
Click Selected Species list.
to remove carbon dioxide from theIn a similar manner, remove water vapor (h2o) from the Selected Species list.
Click Species dialog box.
to close theClick Warning dialog box informing you that the species mixture has been modified and asking you to check the species boundary conditions.
in the
Click Create/Edit Materials dialog box.
and close theNote: It is good practice to click the button whenever changes are made to material properties even though it is not necessary in this case.
Specify boundary conditions using the Boundary Conditions task page.
Setup → Boundary Conditions
Set the boundary conditions for the inner air stream (central_air).
Setup → Boundary Conditions → central_air → Edit...
Enter
9.167e-5
kg/s for Mass Flow Rate.Select Direction Vector for the Direction Specification Method.
Enter
0
for X-Component of Flow Direction.Retain the default value of
0
for Y-Component of Flow Direction.Enter
1
for Z-Component of Flow Direction.Select Intensity and Hydraulic Diameter from the Specification Method drop-down list.
Enter
10
for Turbulent Intensity.Enter
0.0037
m for Hydraulic Diameter.Click the Thermal tab and enter
293
K for Total Temperature.Click the Species tab and enter
0.23
for o2 in the Species Mass Fractions group box.Click Mass-Flow Inlet dialog box.
and close the
Set the boundary conditions for the air stream surrounding the atomizer (co-flow-air).
Setup → Boundary Conditions → co-flow-air → Edit...
Enter
1
m/s for Velocity Magnitude.Select Intensity and Hydraulic Diameter from the Specification Method drop-down list.
Retain the default value of
5
for Turbulent Intensity.Enter
0.0726
m for Hydraulic Diameter.Click the Thermal tab and enter
293
K for Temperature.Click the Species tab and enter
0.23
for o2 in the Species Mass Fractions group box.Click Velocity Inlet dialog box.
and close the
Set the boundary conditions for the exit boundary (outlet).
Setup → Boundary Conditions → outlet → Edit...
Select From Neighboring Cell from the Backflow Direction Specification Method drop-down list.
Retain Intensity and Viscosity Ratio from the Specification Method drop-down list.
Retain the default value of
5
for Backflow Turbulent Intensity (%).Enter
5
for Backflow Turbulent Viscosity Ratio.Click the Thermal tab and enter
293
K for Backflow Total Temperature.Click the Species tab and enter
0.23
for o2 in the Species Mass Fractions group box.Click Pressure Outlet dialog box.
and close the
Set the boundary conditions for the swirling annular stream (swirling_air).
Setup → Boundary Conditions → swirling_air → Edit...
Select Magnitude and Direction from the Velocity Specification Method drop-down list.
Enter
19
m/s for Velocity Magnitude.Select Cylindrical (Radial, Tangential, Axial) from the Coordinate System drop-down list.
Enter
0
for Radial-Component of Flow Direction.Enter
0.7071
for Tangential-Component of Flow Direction.Enter
0.7071
for Axial-Component of Flow Direction.Select Intensity and Hydraulic Diameter from the Specification Method drop-down list.
Retain the default value of
5
for Turbulent Intensity.Enter
0.0043
m for Hydraulic Diameter.Click the Thermal tab and enter
293
K for Temperature.Click the Species tab and enter
0.23
for o2 in the Species Mass Fractions group box.Click Velocity Inlet dialog box.
and close the
Set the boundary conditions for the outer wall of the atomizer (outer-wall).
Setup → Boundary Conditions → outer-wall → Edit...
Select Specified Shear in the Shear Condition list.
Retain the default values for the remaining parameters.
Click Wall dialog box.
and close the
The airflow will first be solved and analyzed without droplets.
Set the solution method.
Solution → Solution → Methods...
Retain the default selections.
Retain the default under-relaxation factors.
Solution → Controls → Controls...
Enable residual plotting during the calculation.
Solution → Reports → Residuals...
Ensure that Plot is enabled in the Options group box.
Click Residual Monitors dialog box.
to close the
Initialize the flow field.
Solution → Initialization
Retain the Method at the default of Hybrid.
Click
to initialize the variables.
Note: For flows in complex topologies, hybrid initialization will provide better initial velocity and pressure fields than standard initialization. This will help to improve the convergence behavior of the solver.
Save the case file (spray1.cas.h5).
File → Write → Case...
Start the calculation by requesting 150 iterations.
Solution → Run Calculation
In the Fluid Time Scale group box, retain Automatic for Time Step Method and
1
s for Time Scale Factor.Enter
150
for Number of Iterations.Click
.
Save the case and data files (spray1.cas.h5 and spray1.dat.h5).
File → Write → Case & Data...
Note: Ansys Fluent will ask you to confirm that the previous case file is to be overwritten.
Create a clip plane to examine the flow field at the midpoint of the atomizer section.
Results → Surface → Create → Iso-Surface...
Enter
angle=15
for New Surface Name.Select Mesh... and Angular Coordinate from the Surface of Constant drop-down lists.
Click
to obtain the minimum and maximum values of the angular coordinate.Enter
15
for Iso-Values.Click
to create the isosurface.Close the Iso-Surface dialog box.
Review the current state of the solution by examining contours of velocity magnitude (Figure 21.4: Velocity Magnitude at Mid-Point of Atomizer Section).
Results → Graphics → Contours → New...
Enter
contour-vel
for Contour Name.Select Banded in the Coloring group box.
Select Velocity... and Velocity Magnitude from the Contours of drop-down lists.
Enable Draw Mesh.
The Mesh Display dialog box will open.
Retain the current mesh display settings.
Close the Mesh Display dialog box.
Select angle=15 from the Surfaces selection list.
Click Contours dialog box.
and close theUse the mouse to obtain the view shown in Figure 21.4: Velocity Magnitude at Mid-Point of Atomizer Section.
Display pathlines of the air in the swirling annular stream (Figure 21.5: Pathlines of Air in the Swirling Annular Stream).
Results → Graphics → Pathlines → New...
Enter
pathlines-air
for Pathline Name.Increase the Path Skip value to
5
.In the Release from Surfaces filter, type
s
to display the surface names that begin with s and select swirling_air from the selection list.Enable Draw Mesh in the Options group box.
The Mesh Display dialog box will open.
Retain the current mesh display settings.
Close the Mesh Display dialog box.
Click Pathlines dialog box.
and close theUse the mouse to obtain the view shown in Figure 21.5: Pathlines of Air in the Swirling Annular Stream.
Define the discrete phase modeling parameters.
Physics → Models → Discrete Phase...
Select Interaction with Continuous Phase in the Interaction group box.
This will include the effects of the discrete phase trajectories on the continuous phase.
Retain the value of
10
for DPM Iteration Interval.Select Mean Values in the Contour Plots for DPM Variables group box.
This will make the cell-averaged variables available for postprocessing activities.
In the Particle Treatment group box, select the Unsteady Particle Tracking option.
Enter
0.0001
for Particle Time Step Size.Enter
10
for Number of Time Steps.Under the Physical Models tab, enable Temperature Dependent Latent Heat and Breakup in the Options group box.
Under the Numerics tab, select Linearize Source Terms (Source Terms group).
Enabling this option will allow you to run the simulation with more aggressive setting for the Discrete Phase Sources under-relaxation factor to speed up the solution convergence.
Click Injections... to open the Injections dialog box.
In this step, you will define the characteristics of the atomizer.
An Information dialog box appears indicating that the Max. Number of Steps has been changed from 50000 to 500. Click OK in the Information dialog box to continue.
Click the
button to create the spray injection.In the Set Injection Properties dialog box, select air-blast-atomizer from the Injection Type drop-down list.
Enter
600
for Number of Streams.This option controls the number of droplet parcels that are introduced into the domain at every time step.
In the Particle Type group box, select Droplet.
Select methyl-alcohol-liquid from the Material drop-down list.
In the Point Properties tab, specify point properties for particle injections.
Retain the default values of
0
and0
for X-Position and Y-Position.Enter
0.0015
for Z-Position.Retain the default values of
0
,0
, and1
for X-Axis, Y-Axis, and Z-Axis, respectively.Enter
263
K for Temperature.Scroll down the list to see the remaining point properties.
Enter
8.5e-5
kg/s for Flow Rate.This is the methanol flow rate for a 30-degree section of the atomizer. The actual atomizer flow rate is 12 times this value.
Retain the default Start Time of
0
s and enter100
s for the Stop Time.For this problem, the injection should begin at and not stop until long after the time period of interest. A large value for the stop time (for example, 100 s) will ensure that the injection will essentially never stop.
Enter
0.0035
m for the Injector Inner Diameter and0.0045
m for the Injector Outer Diameter.Enter
45
degrees for Spray Half Angle.The spray angle is the angle between the liquid sheet trajectory and the injector centerline.
Enter
82.6
m/s for the Relative Velocity.The relative velocity is the expected relative velocity between the atomizing air and the liquid sheet.
Retain the default Azimuthal Start Angle of
0
degrees and enter30
degrees for the Azimuthal Stop Angle.This will restrict the injection to the 30-degree section of the atomizer that is being modeled.
In the Physical Models tab, specify the breakup model and drag parameters.
In the Drag Parameters group box, select dynamic-drag from the Drag Law drop-down list.
The dynamic-drag law is available only when the Breakup model is used.
In the Breakup group, ensure that Enable Breakup is selected and TAB is selected from the Breakup Model drop-down list.
Retain the default values of
0
for y0 and2
for Breakup Parcels.
In the Turbulent Dispersion tab, define the turbulent dispersion.
Select Discrete Random Walk Model and enable Random Eddy Lifetime in the Stochastic Tracking group box.
These models will account for the turbulent dispersion of the droplets.
Click Set Injection Properties dialog box.
to close theNote: If you want to modify the existing injection, then in the Injections dialog box, select its name in the Injections list and click Set..., or simply double-click the injection of interest.
Close the Injections dialog box.
Note: In the case that the spray injection would be striking a wall, you must specify the wall boundary conditions for the droplets. Though this tutorial does have wall zones, they are a part of the atomizer apparatus. You need not change the wall boundary conditions any further because these walls are not in the path of the spray droplets.
Click Discrete Phase Model dialog box.
to close the
Specify the droplet material properties.
Setup → Materials → methyl-alcohol-liquid → Create/Edit...
When secondary atomization models (such as Breakup) are used, several droplet properties need to be specified.
Ensure droplet-particle is selected in the Material Type drop-down list.
Enter
0.00095
kg/m-s for Viscosity in the Properties group box.Ensure that piecewise-linear is selected from the Saturation Vapor Pressure drop-down list.
Scroll down to find the Saturation Vapor Pressure drop-down list.
Click the Saturation Vapor Pressure to open the Piecewise-Linear Profile dialog box.
button next toRetain the default values and click Piecewise-Linear Profile dialog box.
to close theSelect convection/diffusion-controlled from the Vaporization/Boiling Model drop-down list.
Click Model Options dialog box.
to close theClick Create/Edit Materials dialog box.
to accept the change in properties for the methanol droplet material and close the
Increase the under-relaxation factor for Discrete Phase Sources.
Solution → Controls → Controls...
In the Pseudo Time Explicit Relaxation Factors group box, change the under-relaxation factor for Discrete Phase Sources to
0.9
.Remove the convergence criteria.
Solution → Reports → Residuals...
Enable Show Advanced Options and select none from the Convergence Criterion drop-down list.
Click Residual Monitors dialog box.
to close the
Enable the plotting of mass fraction of ch3oh.
Solution → Reports → Definitions → New → Surface Report → Mass-Weighted Average...
Enter
ch3oh_outlet
for Name of the surface report definition.In the Create group box, enable Report Plot and Print to Console.
Select Species... and Mass fraction of ch3oh from the Field Variable drop-down lists.
Select outlet from the Surfaces selection list.
Click Surface Report Definition dialog box.
to save the surface report definition settings and close theFluent automatically generates the ch3oh_outlet-rplot report plot under the Solution/Monitors/Report Plots tree branch.
Enable the plotting of the sum of the DPM Mass Source.
Solution → Reports → Definitions → New → Volume Report → Sum...
Enter
dpm-mass-source
for Name.In the Create group box, enable Report Plot and Print to Console.
Select Discrete Phase Sources... and DPM Mass Source from the Field Variable drop-down lists.
Select fluid from the Cell Zones selection list.
Click Volume Report Definition dialog box.
to save the volume report definition settings and close theFluent automatically generates the dpm-mass-source-rplot report plot under Solution/Monitors/Report Plots tree branch.
Modify the attributes of the dpm-mass-source-rplot report plot axes.
Solution → Monitors → Report Plots → dpm-mass-source-rplot Edit...
Click the Axes dialog box.
button to open theSelect Y in the Axis list.
Select exponential from the Type drop-down list.
Set Precision to
2
.Click Axes dialog box.
and close theClick OK to close the Edit Report Plot dialog box.
Create a DPM report definition for tracking the total mass present in the domain.
Solution → Reports → Definitions → New → DPM Report → Mass in Domain...
Enter
dpm-mass-in-domain
for Name.In the Create group box, enable Report Plot and Print to Console.
Select injection-0 from the Injections selection list.
Disable Show Mass Flow / Change Rate.
Click DPM Report Definition dialog box.
to save the volume report definition settings and close theFluent automatically generates the dpm-mass-in-domain-rplot report plot under Solution/Monitors/Report Plots tree branch.
Modify the attributes of the dpm-mass-in-domain-rplot report plot axes (in a manner similar to that for the dpm-mass-source-rplot plot).
Solution → Monitors → Report Plots → dpm-mass-in-domain-rplot Edit...
In the Plot Window group box, click the button to open the Axes dialog box.
Select Y in the Axis list.
Select exponential from the Type drop-down list.
Set Precision to
2
.Click Axes dialog box.
and close theClick OK to close the Edit Report Plot dialog box.
Create a DPM report definition for tracking the mass of the evaporated particles.
Solution → Reports → Definitions → New → DPM Report → Evaporated Mass...
Enter
dpm-evaporated-mass
for Name.In the Create group box, enable Report Plot and Print to Console.
Select injection-0 from the Injections selection list.
Ensure that the Show Mass Flow / Change Rate option is selected.
Click DPM Report Definition dialog box.
to save the volume report definition settings and close theFluent automatically generates the dpm-evaporated-mass-rplot report plot under Solution/Monitors/Report Plots tree branch.
Modify the attributes of the dpm-evaporated-mass-rplot report plot axes in a manner similar to that for the dpm-mass-source-rplot plot.
Request 300 more iterations (Figure 21.6: Convergence History of Mass Fraction of ch3oh on Fluid, Figure 21.7: Convergence History of DPM Mass Source on Fluid, Figure 21.8: Convergence History of Total Mass in Domain, and Figure 21.9: Convergence History of Evaporated Particle Mass).
Solution → Run Calculation
It can be concluded that the solution is converged because the number of particle tracks are constant and the flow variable plots are flat.
Save the case and data files (spray2.cas.h5 and spray2.dat.h5).
File → Write → Case & Data...
Display the trajectories of the droplets in the spray injection (Figure 21.10: Particle Tracks for the Spray Injection).
This will allow you to review the location of the droplets.
Results → Graphics → Particle Tracks → New...
Enter
particle-tracks-droplets
for Particle Tracks Name.Enable Draw Mesh in the Options group box.
The Mesh Display dialog box will open.
Retain the current display settings.
Close the Mesh Display dialog box.
Retain the default selection of point from the Track Style drop-down list.
Select Particle Variables... and Particle Diameter from the Color by drop-down lists.
This will display the location of the droplets colored by their diameters.
Select injection-0 from the Release from Injections selection list.
Click
.As an optional exercise, you can increase the particle size by clicking the Particle Tracks dialog box and adjusting the Marker Size value in the Track Style Attributes dialog box. button in the
Close the Particle Tracks dialog box.
Use the mouse to obtain the view shown in Figure 21.10: Particle Tracks for the Spray Injection.
The air-blast atomizer model assumes that a cylindrical liquid sheet exits the atomizer, which then disintegrates into ligaments and droplets. Appropriately, the model determines that the droplets should be input into the domain in a ring. The radius of this disk is determined from the inner and outer radii of the injector.
Note: In the real device, the inner diameter and outer diameter of the liquid injection are 3.5 mm and 4.5 mm, respectively. Hence a liquid sheet is formed that is about 0.5 mm in thickness. The shear forces of the two air streams quickly disperse the liquid into droplets between, roughly, 4 µm and 50 µm in diameter. This is predicted by the air-blast-atomizer model, which uses the parameters specified in the "Set Injection Properties" dialog box.
Also note that the droplets are placed a slight distance away from the injector. Once the droplets are injected into the domain, their behavior will be determined by secondary models. For instance, they may collide/coalesce with other droplets depending on the secondary models employed. However, once a droplet has been introduced into the domain, the air-blast atomizer model no longer affects the droplet.
Display the mean particle temperature field (Figure 21.11: Contours of DPM Temperature).
Results → Graphics → Contours → New...
Enter
contour-dpm-temp
for Contour Name.Ensure that Filled is enabled in the Options group box.
Select Banded in the Coloring group box.
Select Discrete Phase Variables... and DPM Temperature from the Contours of drop-down lists.
Disable Auto Range.
The Clip to Range option will automatically be enabled.
Click Compute to update the Min and Max fields.
Enter
260
for Min.Select angle=15 from the Surfaces selection list.
Click Contours dialog box.
and close theUse the mouse to obtain the view shown in Figure 21.11: Contours of DPM Temperature.
Display the mean Sauter diameter (Figure 21.12: Contours of DPM Sauter Diameter).
Results → Graphics → Contours → New...
Enter
contour-dpm-sauter-diameter
for Contour Name.Ensure that Filled is enabled in the Options group box.
Select Banded in the Coloring group box.
Select Discrete Phase Variables... and DPM D32 from the Contours of drop-down lists.
Select angle=15 from the Surfaces selection list.
Click Contours dialog box.
and close the
Display vectors of DPM mean velocity colored by DPM velocity magnitude (Figure 21.13: Vectors of DPM Mean Velocity Colored by DPM Velocity Magnitude).
Results → Graphics → Vectors → New...
Enter
vector-dpm-vel
for Vector Name.Select dpm-mean-velocity from the Vectors of drop-down lists.
Select Discrete Phase Variables... and DPM Velocity Magnitude from the Color by drop-down lists.
Select arrow from the Style drop-down list.
Enter
7
for Scale.Select angle=15 from the Surfaces selection list.
Click Vectors dialog box.
and close the
Create an isosurface of the methanol mass fraction.
Results → Surface → Create → Iso-Surface...
Enter
methanol-mf=0.002
for the New Surface Name.Select Species... and Mass fraction of ch3oh from the Surface of Constant drop-down lists.
Click
to update the minimum and maximum values.Enter
0.002
for Iso-Values.Click Iso-Surface dialog box.
and then close the
Display the isosurface you just created (methanol-mf=0.002).
Results → Graphics → Mesh → New...
Deselect atomizer-wall and central_air in the Surfaces selection list.
Select methanol-mf=0.002 and swirling_air in the Surfaces selection list.
Click Mesh Display dialog box.
in theThe graphics display will be updated to show the isosurface.
Modify the view to include the entire atomizer.
View → Display → Periodic Instancing...
Select fluid from the Cell Zones list.
Select swirling_air and methanol-mf=0.002 from the Associated Surfaces selection list.
Retain the selection of Rotational in the Periodic Type list.
Set
12
for the Number of Repeats.Click Periodic Instancing dialog box.
and close theClick Mesh Display dialog box.
and close theUse the mouse to obtain the view shown in Figure 21.14: Full Atomizer Display with Surface of Constant Methanol Mass Fraction.
This view can be improved to resemble Figure 21.15: Atomizer Display with Surface of Constant Methanol Mass Fraction Enhanced by changing some of the following variables:
Open the mesh-1 object you saved earlier.
Results → Graphics → Mesh → mesh-1 Edit...
In the Mesh Display dialog box, disable Edges.
Click Save/Display.
In the Periodic Instancing dialog box, change the Number of Repeats to
6
.View → Display → Periodic Instancing...
Make sure that swirling_air and methanol-mf=0.002 are selected in the Surfaces list.
Click Display.
In the View ribbon tab, enable the Headlight and Lighting display options and change lighting to Flat (Display group).
Save the case and data files (spray3.cas.h5 and spray3.dat.h5).
File → Write → Case & Data...