Tutorial 10. Simulation of Wave Generation in A Tank: C Fluent Inc. January 5, 2007
Tutorial 10. Simulation of Wave Generation in A Tank: C Fluent Inc. January 5, 2007
Tutorial 10. Simulation of Wave Generation in A Tank: C Fluent Inc. January 5, 2007
Introduction
The purpose of this tutorial is to illustrate the setup and solution of the 2D laminar fluid
flow in a tank with oscillating motion of a wall.
The oscillating motion of a wall can generate waves in a tank partially filled with a
liquid and open to atmosphere. Smooth waves can be generated by setting appropriate
frequency and amplitude. One of the tank walls is moved to and fro by specifying a
sinusoidal motion.
This tutorial demonstrates how to do the following:
Prerequisites
This tutorial assumes that you have little experience with FLUENT but are familiar with
the interface.
Problem Description
In this tutorial, we consider a rectangular tank with a length (L) of 15 m and width (W)
of 0.8 m (Figure 10.1). The left wall is assigned a motion with sinusoidal time variation.
The top wall is open to atmosphere and thus maintained at atmospheric pressure. The
flow is assumed to be laminar.
c Fluent Inc. January 5, 2007 10-1
Simulation of Wave Generation in a Tank
Preparation
1. Copy the mesh file wave.msh and libudf folder to your working folder.
2. Start the 2D double precision (2ddp) version of FLUENT.
10-2
c Fluent Inc. January 5, 2007
Simulation of Wave Generation in a Tank
c Fluent Inc. January 5, 2007 10-3
Simulation of Wave Generation in a Tank
10-4
c Fluent Inc. January 5, 2007
Simulation of Wave Generation in a Tank
Step 2: Models
1. Specify the solver settings.
Define −→ Models −→Solver...
c Fluent Inc. January 5, 2007 10-5
Simulation of Wave Generation in a Tank
Step 3: Materials
Define −→Materials...
1. Add liquid water to the list of fluid materials by copying it from the materials
database.
10-6
c Fluent Inc. January 5, 2007
Simulation of Wave Generation in a Tank
c Fluent Inc. January 5, 2007 10-7
Simulation of Wave Generation in a Tank
Step 4: Phases
Define −→Phases...
10-8
c Fluent Inc. January 5, 2007
Simulation of Wave Generation in a Tank
c Fluent Inc. January 5, 2007 10-9
Simulation of Wave Generation in a Tank
10-10
c Fluent Inc. January 5, 2007
Simulation of Wave Generation in a Tank
c Fluent Inc. January 5, 2007 10-11
Simulation of Wave Generation in a Tank
Step 9: Solution
1. Retain the default solution controls.
Solve −→ Controls −→Solution...
10-12
c Fluent Inc. January 5, 2007
Simulation of Wave Generation in a Tank
(a) Enter 15 m for X Max and 0.5 m for Y Max in the Input Coordinates group
box.
(b) Click Mark and close the Region Adaption panel.
FLUENT displays the following message in the console:
8513 cells marked for refinement, 0 cells marked for coarsening.
c Fluent Inc. January 5, 2007 10-13
Simulation of Wave Generation in a Tank
10-14
c Fluent Inc. January 5, 2007
Simulation of Wave Generation in a Tank
i. Enter 0.001 s for Time Step in the Motion History Integration group box.
ii. Enter 300 for Number of Steps.
iii. Click Integrate.
iv. Enter 0.001 s for Time Step in the Preview Controls group box.
v. Enter 300 for Number of Steps in the Preview Controls group box.
vi. Click Preview and close the Zone Motion panel.
(a) Select Phases... and Volume Fraction from the Contours of drop-down lists.
(b) Select water in the Phase list.
(c) Enable Filled in the Options list.
(d) Click Display and close the Contours panel.
c Fluent Inc. January 5, 2007 10-15
Simulation of Wave Generation in a Tank
10-16
c Fluent Inc. January 5, 2007
Simulation of Wave Generation in a Tank
c Fluent Inc. January 5, 2007 10-17
Simulation of Wave Generation in a Tank
10-18
c Fluent Inc. January 5, 2007
Simulation of Wave Generation in a Tank
11. Save the case and data files wave-init.cas.gz and wave-init.dat.gz.
File −→ Write −→Case & Data...
Retain the default Write Binary Files option so that you can write a binary file. The
.gz extension will save zipped files on both, Windows and UNIX platforms.
c Fluent Inc. January 5, 2007 10-19
Simulation of Wave Generation in a Tank
13. Save the case and data files wave-4000.cas.gz and wave-4000.dat.gz.
File −→ Write −→Case & Data...
10-20
c Fluent Inc. January 5, 2007
Simulation of Wave Generation in a Tank
c Fluent Inc. January 5, 2007 10-21
Simulation of Wave Generation in a Tank
(a) Select Pressure... and Static Pressure from the Contours of drop-down lists.
(b) Click Display and close the Contours panel.
The pressure at the bottom of the tank is maximum and goes on decreasing
towards the top. This shows the variation of hydrostatic pressure due to the
height of the liquid.
10-22
c Fluent Inc. January 5, 2007
Simulation of Wave Generation in a Tank
Summary
The dynamic mesh model is used to apply periodic sinusoidal motion to the wall. This
generates a wave in the fluid. The VOF model is used to track the air-water interface
and consequently the wave motion. Non-iterative time advancement (NITA) was used to
reduce the run time of transient simulation. Images displaying contours of water phase
were captured to visualize the transient effects.
References
1. Flow Around the Itsukushima Gate, an example from Fluent Inc. Marketing Cata-
log, 2003.
Exercises/Discussions
1. Run the simulation for longer flow time to check the wave pattern.
2. Try running the simulation without non-iterative time advancement (NITA) option.
(a) Are the flow patterns different?
(b) Compare the wall clock time taken to reach the same flow time.
5. What other situation can be simulated using the same mesh file?
c Fluent Inc. January 5, 2007 10-23
Simulation of Wave Generation in a Tank
10-24
c Fluent Inc. January 5, 2007