# Process demos - Process demos - Delft3D

## intro story process demo's

# Process demos

Below, 5 different model demo's can be downloaded which are described at the bottom of this page. These demo's showcase different aspects of the Delft3D software package. Each demo holds four folders:

__Input:__* contains all model input files*

__Output:__* contains all model ouput files that are created when the model is run*

__Measurements__: * contains measurements or analytical solutions used to validate the demo results** *

__Plots:__ *contains Muppet input files used to create the plots*

**When you download the files, make sure you store them in the same folder structure (otherwise, Muppet plots won't work)**

The plots have been created using Muppet, which you can download for free. This application requires the installation of **Matlab Compiler Runtime (MCR)**. Please be aware that you need different versions of the MCR for 32-bit (download) and 64-bit (download).

## Migrating trench in a 1D channel

## DEMO 1: Migrating trench in a 1D channel
In this demo, water flows across a steep-sided trench cut in the sand bed of a flume. The water reaches the upstream edge of the trench with an equilibrium suspended sediment concentration profile. As the flow decelerates over the deeper trench some sediment is deposited. Sediment is then picked back up by the accelerating flow at the downstream edge of the trench. Due to the spatial difference between the areas of deposition and erosion the trench appears to migrate downstream. Initially the model has a constant depth with a trench with vertical walls in the middle of the model area. The goal is to verify whether the trench development due to morphological impact is in agreement with measurements carried out by Van Rijn (1984). The computed results of Delft3D-FLOW as well as the measurements are presented in the Muppet plot. - Dimension of model: length of 30 m and a width = 0.5 m
- dx = 0.3 m and dy = 0.1 m
- 10 non-equidistant layers
- Time step of 0.24 seconds
- Simulation period of 10 minutes; morphological changes start after T = 5 min
- Morphological scale factor of 180, which means that at the end of the simulation the position of the trench after 15 hours is computed (5 min. of morphological changes multiplied by 180)
- Algebraic turbulence model
- Horizontal viscosity coefficient of 5e-4 m2/s
- White-Colebrook bottom friction coefficient of 0.025 m
| |

## simple channel flow

## DEMO 2: Simple channel flow
Flow in a simple channel with sloping bathymetry is investigated. A steady solution is reached, in which the vertical viscosity term balances the barotropic pressure gradient. For this steady situation an analytical solution is available from the 2D shallow water equations. Results from Delft3D-FLOW simulations are compared to the analytical solution. For the 3D simulations vertical profiles for velocity are investigated. Solutions are obtained with the k epsilon turbulence model. It is validated whether the models produces logarithmic velocity profiles. A comparison has been made between sigma-layer and with Z-layer model results. The formulas that have been used to obtain the analytical solutions are presented in a document in the measurements folder (Genseberger et al., 2002). Both the full document (testcasesZ-modelD3Dflow.pdf) as well as the relevent part for this demo (Simple channel flow analytical solutions.pdf) can be found. - Length L = 10000 m
- Constant slope ib = 0.0001 -
- Discharge q = 5 m2/s
- Chézy coefficient C2D = 65 m1/2/s
- Grid size dx=dy = 500 m
- Time step dt = 60 s
| |

## Tidal flume

## DEMO 3: Tidal flume
The model is used to simulate salt intrusion in a river using both sigma and Z - layers. A salt tidal signal enters the model from the west. the model tries to reproduce measurements that have been carried out at Deltares. The scale model of the tidal flume has a basin with a surface area of 120 m2, representing a sea, and a flume with a width of 1 m and a length of 130 m, representing a river. In the numerical simulation, we use a schematisation of the river (130 x 1 grid cells of 1 x 1 m2 each). At the sea side a water level boundary is applied. Model characteristics- 2DV model (20 uniformly distributed layers for both the - and Z-model)
- Inflow of 12.5 ppt at the sea boundary and a fresh water inflow at the downstream river boundary
- k - epsilon turbulence model
- The set up of the experiment with the tidal flume was chosen such that a partly stratified tidal flow occurs
- minimal salt intrusion of order 20 m
- maximal salt intrusion less than 75 m
- vertical stratification characterised by a gradual transition from salt water to fresh water
- 2-dimensional Chézy coefficient between 65 and 70 m1/2/s
- water depth in the river of 0.2 m
- density difference of 10 kg/m3
- tidal period of 600 seconds such that there is a reasonable displacement due to the tide
| |

## Wave driven longshore current

## DEMO 4: Wave driven longshore current
In this demo, both the FLOW and WAVE module of Delft3D are showcased. This model reproduces a longshore current that is the effect of constant obliquely incident waves. The waves enter the model domain under an angle and propagate towards the shore. When the waves start to break, a longshore current is generated as the alongshore current is a function of the dissipation of the wave energy. This demo does not reproduce any analytical or measured values. - 2DH depth averaged model
- Length model longshore = 600.0 m
- Length model cross shore = 300.0 m
- Grid size x min = 3.33 m
- Grid size x max = 10.0 m
- Grid size y min = 10.0 m
- Grid size y max = 10.0 m
- Simulation time = 2 hr
- Simulation timestep = 0.1 min
- Wave height = 5.0 m
- Wave period = 10 s
- Wave direction = 225 degrees
| |

## wind driven channel flow

## DEMO 5: Wind driven channel flow
For the wind induced flow in a straight channel analytical solutions are available [Kocyigit and Falconer, 2004] The paper can be found in the measurements folder. A comparison is made between the analytical solutions in these publications and results obtained with Delft3D-FLOW. This is done for the water levels and vertical velocity profiles. The analytical solution presented by Kocyigit and Falconer reads:
in which zeta is the water level, tau is the wind shear stress, rho is the water density, g is acceleration due to gravity, h is the water depth, Vv is the vertical eddy viscosity, k1 is a linearised bottom friction coefficient and u is the horizontal velocity. Kocyigit and Falconer specified the following conditions and parameters: - Wind speeds of 5 and 10 m/s (2 tests)
- tau = 0.1 and 0.325 N/m2, for test 1 and 2 respectively
- rho = 1026 kg/m3
- Vv = 0.03 m2
- k1 = 5e-3 m/s
In Delft3D-FLOW one can not specify the wind shear stress, but only the friction coefficient. The latter is determined using:
where rho is the air density, cdw is the friction coefficient and u is wind velocity. Wind speeds of 5 and 10 m/s and tau values of 0.1 and 0.235 N/m2 respectively were specified by Kocyigit and Falconer. Using the above-described, friction coefficients cdw should be 0.004 and 0.00325, respectively, in order to arrive at the wind stresses of Kocyigit and Falconer. In this way, the simulations of Kocyigit and Falconer are reproduced with Delft3D-FLOW. A same approach is followed for the linear bottom friction coefficient k1. In Delft3D-FLOW the bottom roughness is prescribed in a different way. The standard approach is the (2D) Chézy coefficient. In Delft3D-FLOW this value is converted in a 3D friction coefficient in case of 3D modelling. A 2D Chézy roughness of 30 m1/2/s is applied in case of a wind speed of 5 m/s, which corresponds to a k1 value of 0.005 m/s. In case of a wind velocity of 10 m/s, a Chézy value of 35 m1/2/s is used. We remark that the two simulations (wind speed of 5 or 10 m/s) yields different bottom currents. In order to meet the linear bottom friction coefficient k1, different Chézy values have to be applied. model characteristics- Length of the channel L = 12000 m
- Width of the channel W = 1000 m
- Depth of the channel h = 40 m
- Grid size x = y = 1000 m
- Simulation time T = 1 day (14400 minutes), with a time step t = 1 minute
- Double-logarithmic vertical -layering is used with 14 layers
- All boundaries are closed
- Initial condition: flow at rest with uniform depth 40 m
- Test 1: wind forcing of 5 m/s
- Test 2: wind forcing of 10 m/s
- Two different Chézy values were used for the two tests, derived in accordance with roughness values specified by Kocyigit and Falconer: Test 1: Chézy = 30 m1/2/s; Test 2: Chézy = 35 m1/2/s
The difference in Chézy values for the two test cases can be subscribed to the conversion from a 2D to a 3D Chézy value in Delft3D-FLOW. The resulting bottom friction stresses were compared to make sure identical bottom boundary conditions were applied. To this end the second test case requires a Chézy value of 35 m1/2/s. | |