Aquadyn 1.tutorials PDF
Aquadyn 1.tutorials PDF
11/16/97 Confidential 1
Scientific Software Group
Table of Content
Introduction ...........................................................................................................3
Getting Started ......................................................................................................4
Exploring the examples .........................................................................................5
New Simulation .....................................................................................................5
Visualization........................................................................................................11
11/16/97 Confidential 2
Scientific Software Group
Introduction
AquaDyn is a powerful, an easy-to-use, and a completely integrated hydrodynamic simulation
package. It includes a complete on line documentation, automatic mesher, input editors, the
solver and intuitive visualization features. AquaDyn simulates the flow of rivers, lakes and
estuaries by solving the two dimensional shallow water equations using the finite element
method. AquaDyn provides a reliable way to forecast the consequences of different activities
such as dredging, and building dikes, bridges, piers, and embankments.
The purpose of this document is give the new user a quick reference to learn AquaDyn.
• Getting Started
• Exploring Examples
• Starting a New Simulation
The Getting Started topic explains how to install the software and how to run it.
The Exploring Examples topic allows to quickly learn how to navigate to find and visualize the
inputs and solution. It explains also how to perform a new simulation from that an existing
simulation.
The Starting a New Simulation topic, leads the user step by step to perform a simulation from the
beginning to the end.
11/16/97 Confidential 3
Scientific Software Group
Getting Started
There are four easy steps to follow to get AquaDyn up running:
Installing AquaDyn
Place the AquaDyn diskette marked 1/1 in the Floppy Disk drive.
From the Windows Explorer or File Manager, double click on the INSTALL.EXE file
Follow the instructions given by the program to continue the installation process.
For Windows 3.1x or Windows NT: Double-click the Simulation System icon in the
Simulation System group of Windows Program Manager.
For Windows 95: Click Start, choose Programs and then choose Simulation System or run
the command line: shellen.exe shellen.w3 with the appropriate path preceding shelle.exe)
To start a new project, from the File menu, choose New. In the Available Models dialog box,
select AquaDyn.
You are now ready to begin exploring some of the sample files we've included for you using
the File/Open command.
11/16/97 Confidential 4
Scientific Software Group
Practice Zooming, use the right mouse button or the View/Zoom… submenus
Display: click the View/Display submenu, old the shift key down to select several items
Analyse the boundary conditions: click the Preprocessing/Boundary Conditions submenu
Visualize the Bathymetry and Manning
Visualize other parameters such the water level, the water velocities and the Froude number
Modify some input parameters: change the viscosity for instance
Re-simulate: click the Solution/Calculate submenu
Visualize the results again
New Simulation
To perfom a new simulation from scratch, follow the following steps, step by steps in order.
11/16/97 Confidential 5
Scientific Software Group
First enter the external boundary (only one): click the external boundary command. Then
click the left mouse button to insert first boundary node, drag the mouse and click the left
mouse button the enter the second boundary node, and so forth. To exit the input mode,
click the right mouse button and select the confirm command, the boundary will be closed
automatically.
Second enter the internal boundaries (islands) if desired: proceed as for the external
boundary
We can modify the boundary using the command move, insert, delete node. Remember to
exit the move, insert or delete node command with the command confirm found by clicking
the right mouse button.
The Boundaries can also be imported from an ASCII file using the Read Boundary File
command.
Tip: keep the boundary nodes equally spaced, this will lead to a nicer mesh
For small mesh, it is best to enter the internal node manually with the command
Create/Delete: click the Create/Delete Command. Then drag the mouse to the location you
want a node and then click the left mouse button. To remove the node, click again over the
node.
Tip: enter the internal nodes starting near the boundary nodes placing each internal nodes at
equidistance from to boudnary node to form equilateral triangles.
For large mesh, it is best to enter the internal automatically with the command Automatic:
click the Automatic command. Then move, create or delete the nodes appropriately.
Tip: adjust the position of the internal nodes near the boundary such they form equilateral
triangles with the neighboring nodes.
11/16/97 Confidential 6
Scientific Software Group
This submenu is useful for refining the mesh at some or all elements. Try the command At
Node, On Element, On Part of Mesh or Over all Mesh. Remember, to exit the refining
mode, click the right mouse button and select the confirm command.
***Now to pursue the example above, it is important to refine the mesh near the island
boundary because there are links which touch the internal and external boundary.
Click the On Element command and select few elements as shown here,
than click the right mouse button and select the confirm command. Finally regulate the mesh
few times. We get:
****
Tip: if you do not like the change you have just made, use the Edit/Undo submenu.
This step optimizes to the internal numbering of the mesh node in order to minimize the
bandwidth of the resolution matrix. The purpose of this optimization is to reduce the amount
of memory require by the solver.
Tip: For a large and complex mesh, set Max and the Min parameter to a very large number
(say 10000) and let run for 5 to 10 minutes. Click Stop when the minimal width has not
11/16/97 Confidential 7
Scientific Software Group
change for few minutes. Note that the minimal bandwidth expected is to be roughly
equal to 15 times the number of element across the widest section of the mesh.
The bathymetry is the elevation measured from a given reference level. If the reference
level is lower than the deepest point of the water course than the bathymetry will be positive
for all nodes.
Tip: generally for real case studies, the bathymetry is imported from a file which contains a
list of bathymetry measurement on the field of the form X, Y coordinates with the bed
elevation. AquaDyn interpolates these values at the mesh nodes.
The Manning represent the water friction with the water course bed. A typical value for the
Manning is 0.03. See the documentation for more details. You can keep the default values
for now.
Tip: the water course velocity varies roughly as 1 over the Manning. Therefore the manning
is a powerful parameter for calibrating the simulation to match the measurements.
You can also modified the gravity, coriolis, viscosity and turbulence constants. You can
keep the default values for now.
Tips: of these parameters, the viscosity is more important. The finite element method
requires the viscosity to not be much smaller than 1, otherwise convergence to a
solution may be difficult. Typical value of the viscosity range from 1 to 100. The
viscosity is used to calibrate the solution. A large viscosity tends to smooth out the
solution.
This step specifies the physical conditions to impose at the boundary of the mesh.
11/16/97 Confidential 8
Scientific Software Group
Click Boundary Conditions submenu. The dialog box which appears allows you to specify
different types of boundary conditions along segments. The segments are defined by
specifying the node number of the two end node always in a counter clockwise fashion.
***For closed boundary the two end points happened to be the same node: fill the From and
To control with the number node of any one node of the closed boundary.***
For a simple river, you can specify the water level, H, along a segment upstream and a
segment downstream***, ***and*** require that the normal velocity be zero on the left and
right coasts,***and require the velocity be zero on the island***. For example, given the
node numbers:
Enter the initial configuration for the water level and water velocities. For unsteady
simulation, the water elevation will evolve starting from this initial configuration. For steady
simulation, the initial configuration is used as the first guess in the iterative process to find
the exact solution.
Click the Auto button. This will set the water level automatically and reset the velocities to
zero. The water depth being the difference between the water level and the bathemetry. So
to prevent negative depth, we need the water level to be greater to the bathymetry.
Click the All button.
Set the initial velocities to your best guess. Level the water level unchanged.
11/16/97 Confidential 9
Scientific Software Group
Tip: never leave the initial velocities to zero for steady state simulation: the solver will have
difficulty to converge.
Click the Precision submenu and enter the precision desired for the water level and water
velocities in the dialog box. You can leave the default values unchanged for now.
Click the Convergence submenu to enter the Relaxation Parameter, the Minimum Water
Depth and the Convection. You can leave the default values unchanged for now.
Tip: the relaxation parameter an important parameter to adjust to increase the stability of the
convergence process. If the solution is not converging, decrease the relaxation
parameter to 0.1 and try again. Note that to obtain convergence, you must first make
sure have entered the best initial state you can come up with.
To launch the calculation, click the Calculate submenu. A form, showing the convergence
graph of the simulation appears.
To stop the simulation, click the View/Stop Calculate submenu. The computation will stop
once the current iteration is completed (this may take few minutes for large simulation).
Note: if the principal window is on focus (the window with the mesh), the Stop submenu is
under the Prepocessing menu.
Tip: if the water level correction is higher than 10. Click the View/Stop Calculate submenu.
And change your guess for the initial water velocities with the Prepocessing/Initial State
submenu. Click Calculate again. Proceed iteratively till you find the initial water velocities
which make the first water level correction minimal.
11/16/97 Confidential 10
Scientific Software Group
Visualizing solution
See Visualization section below for details on how to take advantage of this menu.
11/16/97 Confidential 11
Scientific Software Group
Visualization
The visualization features are used to visualize the Input field data( Bathymetry, Manning and Wind
components) , the computed solution (Water Level, X and Y water velocities), and several mathematical
combinations of those fields (i.e.: Water Depth, Froude Number, etc).
When the Visualization menu is enabled a specific parameter (or field data) can be visualized at a
specific time as (all submenus of the Visualization menu)
Section: graphic representing the variation of the parameter between two spatial points
Values: show the values of the parameter at all nodes or elements
Isovalue: colored regions each representing a specific range of values
Contour Line: lines along which the parameter as a specific value
Time Curve: graphic representing the time variation of the parameter at a specific node
Moreover: the water velocity field can viewed as an Arrow field and the water discharge across a
section can be computed
You need first to select a parameter using the Select Parameter Submenu. If you don’t select one, you will
be prompt later to select it or the current selected parameter is used. The Select Parameter dialogue box
offers you a choice of three classes (Hydraulic, Engineering and Numerical); choose one class and then
select a parameter from that class and press OK.
If there is a current solution which is the result of an unsteady simulation, you can select the time at which
you want to visualize the parameter. If you don’t select one, the current time is taking by default. If the
solution results from a steady simulation the select time will not be accessible.
Now you need to select one of the 5 visualization options: pick one of the 5 submenu which we describe
briefly below:
To define the section along which you want to see the spatial variation of the selected
parameter select the command Using Mouse or Using Coordinate. Select the command
Using Mouse to select the points by clicking with the left mouse button or select the
cascade menu Using Coordinate to specify the coordinate of the two points manually.
Value: Visualization/Value
Isovalue: Visualization/Isovalue
11/16/97 Confidential 12
Scientific Software Group
To visualize the water velocity as an arrow field, pick the Speed Submenu
To obtain the water discharge across a section which you define select the Discharge
Submenu. The section can be defined by specifying to points. Select the command Using
Mouse to select the points by clicking with the left mouse button or select the command Using
Coordinate to specify the coordinate of the two points manually.
11/16/97 Confidential 13