Professional Documents
Culture Documents
05 Sloshing PDF
05 Sloshing PDF
Introduction
The purpose of this tutorial is to investigate the free surface movement of liquid fuel in a
tank under varying acceleration scenarios and to determine the most suitable configuration
of the fuel tank to ensure continuous fuel supply through the pick-up pipe.
Two configurations of the fuel tank are consideredtank with internal baffles and tank
without internal baffles. You will compare the two configurations on the basis of liquid
interface and velocity vector plots generated for each case.
This tutorial demonstrates how to do the following:
Set up and solve a transient problem using the pressure-based solver and the volume
of fluid (VOF) model.
Define parameters specific to the non-iterative time advancement (NITA) scheme.
Create a journal file to track the liquid interface with time.
Execute the commands automatically to create images for postprocessing.
Compare the two configurations on the basis of liquid interface and velocity vector
plots generated.
Prerequisites
This tutorial is written with the assumption that you have completed Tutorial 1 from
ANSYS FLUENT 13.0 Tutorial Guide, and that you are familiar with the ANSYS FLUENT
navigation pane and menu structure. Some steps in the setup and solution procedure will
not be shown explicitly.
In this tutorial, you will use VOF model. If you have not used this model before, refer to
Section 26.3, Setting Up the VOF Model in ANSYS FLUENT 13.0 Users Guide.
Assuming that you are using a quad core single processor machine with a clock speed of 3.80
GHz, this tutorial will take:
Two hours to work through.
Approximately 14 hours for the calculation.
Problem Description
The tutorial considers two configurations of the fuel tank for comparison. Figure 1 shows
the tank with internal baffles. Figure 2 shows the tank without baffles. The tank undergoes
an acceleration of 9.81 m/s2 in the positive X direction. As the tank accelerates in the +X
direction, the liquid experiences an equal and opposite reaction in the X direction. After
1.5 seconds, the acceleration in the X direction stops and only gravity (in the Z direction)
acts on the liquid in the tank.
Strategy
A prior analysis indicates that the pick-up pipe might not be completely submerged after
0.45 seconds of acceleration and after 1.25 seconds of acceleration. An analysis of both
tank designs will be compared after 0.45 seconds and 1.25 seconds to confirm that the pickup pipe in the tank without baffles is not submerged in fuel while the tank with baffles
will be analyzed to see if the baffles fix the problem and keep the pick-up pipe completely
submerged in fuel. The tank with baffles will be analyzed first. Then, the baffles will be
switched from wall boundaries to interior boundaries and the tank without baffles will be
analyzed under the same conditions as the tank with baffles.
Transient
3. Scale the mesh using a scale factor of 0.01 in the X, Y , and Z directions.
General Scale...
4. Reorder the domain until the bandwidth reduction is of the order of 1.0.
Mesh Reorder Domain
Step 3: Models
1. Define the multiphase model.
Step 4: Materials
Materials
Fluid Create/Edit...
inlet
ii. Retain the default settings and close the Wall dialog box.
(b) Set the boundary conditions for pick-out.
Boundary Conditions
pick-out
i. Retain the selection of mixture from the Phase drop-down list and click the
Edit... button to open the Pressure Outlet dialog box.
(d) Enable Specified Operating Density and retain the value of 1.225 kg/m3 for Operating Density.
(e) Click OK to close the Operating Conditions dialog box.
Step 8: Solution
1. Set the solution methods parameters.
Solution Methods
Values
(0, 0.5)
(0, 0.5)
(0, 0.08)
(b) Click Mark and close the Region Adaption dialog box.
5. Patch the liquid volume fraction.
Solution Initialization Patch...
(a) Select kerosene-liquid from the Phase drop-down list.
(b) Select Volume Fraction from the Variable list.
(c) Enter 1 for Value.
(d) Select hexahedron-r0 from the Registers to Patch list.
(e) Click Patch and close the Patch dialog box.
6. Enable the plotting of residuals.
Monitors
Residuals Edit...
10
11
(a) Select Phases... and Volume fraction from the Surface of Constant drop-down lists.
(b) Select kerosene-liquid from the Phase drop-down list.
(c) Enter 0.5 for Iso-Values and vf05 for New Surface Name.
(d) Click Create and close the Iso-Surface dialog box.
5. Clip the fluid-all surface to the values of volume fraction of kerosene-liquid between
0.5 and 1.
Surface Iso-Clip...
12
(a) Select Phases... and Volume fraction from the Clip to Values of drop-down lists.
(b) Select kerosene-liquid from the Phase drop-down list.
(c) Select fluid-all from the Clip Surface list.
(d) Enter 0.5 and 1 for Min and Max, respectively.
(e) Enter clipf for New Surface Name.
(f) Click Clip and close the Iso-Clip dialog box.
6. Display the mesh.
Graphics and Animations
13
(b) Click Display... in the Geometry Attributes group box to open the Display Properties dialog box.
i. Set the sliders for Red, Green, and Blue to 0, 0, and 255, respectively, in the
Colors group box.
ii. Enable Lighting in the Visibility group box.
iii. Disable Edges, Lines, and Nodes in the Visibility group box.
iv. Enable Outer Faces in the Visibility group box.
v. Click Apply and close the Display Properties dialog box.
(c) Select all the surfaces except clipf and vf05 in the Names list.
(d) Click Display... in the Geometry Attributes group box to open the Display Properties dialog box.
14
15
12. Specify the commands to be executed at intervals in order to capture the images for
postprocessing.
Calculation Activities (Execute Commands) Create/Edit...
16
17
18
19
7. Update the autosave command for the data file to reflect a new file name and/or
storage folder.
Calculation Activities Edit...
8. Set the iteration parameters.
Run Calculation Settings...
(a) Enter 0.45 s for Ending Time.
(b) Enter 0.0001 s for Time Step Size and 10000 for Number of Time Steps.
(c) Save the case and data files at t = 0 s.
(d) Click Calculate.
9. Read the journal file (no-baffles.jou) to create a hardcopy of the liquid interface
at t = 0.45 s.
10. Save the case and data files at t = 0.45 s.
11. Increase the Ending Time to 1.25 s and run the calculation.
12. Read the journal file (no-baffles.jou) to create a hardcopy of the liquid interface
at t = 1.25 s.
13. Save the case and data files at t = 1.25 s.
14. Increase the Ending Time to 1.50 s and run the calculation.
15. Read the journal file (no-baffles.jou) to create a hardcopy of the liquid interface
at t = 1.50 s.
16. Change the gravitation field.
Boundary Conditions Operating Conditions...
(a) Enter 0 for Gravitational Acceleration in the X direction.
(b) Retain the previous settings of 0 and -9.81 for the Y and Z directions, respectively.
(c) Click OK to close the Operating Conditions dialog box.
17. Save the case and data files at t = 1.5 s.
18. Increase the Ending Time to 2.5 s and run the calculation.
19. Read the journal file (no-baffles.jou) to create a hardcopy of the liquid interface
at t = 2.5 s.
20. Save the case and data files at t = 2.5 s.
20
Postprocessing
1. Examine the liquid interface at times corresponding to 0.45 s and 1.25 s for both
configurations (see Figures 4, 5, 8, and 9).
2. Display velocity vectors at times corresponding to 0.45 s and 1.25 s for both configurations (see Figures 6, 7, 10, and 11).
(a) Create an iso-surface to display velocity vectors.
Surface Iso-Surface...
i. Select Mesh... and Y-Coordinate in the Surface of Constant drop-down lists.
ii. Click Compute.
iii. Enter 0.25 for Iso-Values.
iv. Enter y=0.25 for New Surface Name and click Create.
v. Close the Iso-Surface dialog box.
(b) Display velocity vectors on y=0.25 m.
Graphics and Animations Vectors
i. Enable Draw Mesh in the Options group box.
The Mesh Display dialog box will open.
A. Disable Faces and enable Edges in the Options group box.
B. Select Feature from the Edge Type list and retain the default value of 20
for Feature Angle.
C. Deslect all the surfaces from the Surfaces list and click the Outline.
D. Select y=0.25 in addition to the previously selected surfaces.
E. Click Display and close the Mesh Display dialog box.
ii. Enter 5 for Scale and set Skip to 3.
iii. Select y=0.25 from the Surfaces list and click Display.
iv. Close the Vectors dialog box.
3. Run an external utility to produce an animation in MPEG or AVI format. Inspect
the animation to ensure that the baffles keep the pick-up pipe completely submerged
in kerosene at all times from 0 seconds to 2.5 seconds.
21
22
Figure 6: Velocity Vectors at t = 0.45 s and y = 0.25 m for Tank with Baffles
Figure 7: Velocity Vectors at t = 0.45 s and y = 0.25 m for Tank Without Baffles
23
24
Figure 10: Velocity Vectors at t = 1.25 s and y = 0.25 m for Tank with Baffles
Figure 11: Velocity Vectors at t = 1.25 s and y = 0.25 m for Tank Without Baffles
Summary
The liquid interface and velocity vector plots for the tank configurations with and without
baffles were examined. On comparing the two configurations, it was seen that the baffles
created recirculation zones at the lower z plane where the intake of the pick-up pipe was
located. This prevented kerosene from escaping the lower z plane, causing the pick-up pipe
intake to be submerged in kerosene at all times. On the other hand, the images for the
liquid interface at time 0.45 s (Figure 5) and 1.25 s (Figure 9) for the tank without baffles
showed the existance of large scale sloshing. The pick-up pipe intake was not submerged in
the kerosene, preventing the continuous intake of kerosene.
25