Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

1 Introduction

2 Create a New Grid

3 Assigning the Initial Conditions

3.1 Assigning the Initial Bottom Conditions

3.2 Assigning the Depth/Water Surface Elevations

3.3 Assigning the Bottom Roughness

4 Assigning the Boundary Conditions

4.1 Preparing the Flow Boundary

4.2 Preparing the Tidal Level Boundary

4.3 Assigning Time Series to the Boundary Location Cells

4.3.1 Assigning the Flow Boundary

4.3.2 Assigning Tides Boundary

5 Hydrodynamics Settings

6 Setting Vertical Layers

7 Model Timing

8 Running EFDC+

9 Visualizing the EFDC Solution


Anchor
TOC1
TOC1
1 Introduction

This tutorial document will guide you how to setup a coastal hydrodynamic model by using the EFDC_Explorer (EE). It will cover preparation of the necessary input files for the EFDC model and visualization of the output by using the EFDC_Explorer (EE) Software.

The data used for this tutorial are from Tra Khuc Estuary in Vietnam. All files for this tutorial are found in Data folder downloadable from the EEMS website.

Before going to each session, let us first introduce the EE main form in order to better understand our explanation hereafter. Figure 1 is the main form of EFDC_Explorer or EE User Interface. The functions of individual icons are described in Knowledge Base.

Anchor
Figure 1
Figure 1

Figure 1  EFDC Explorer main form.



...

Anchor
TOC7
TOC7
4 Assigning the Boundary Conditions

This section will guide you how to prepare for the boundary conditions and assign it to the model cell configuration. In this coastal case there are two flow boundaries; one is river discharge from the upstream and the other is tidal level. Thus, we should prepare two time series of inflow and tidal level boundaries for this particular case. In order to set a boundary time series the steps outlined below should be taken.

Anchor
TOC8
TOC8
4.1 Preparing the Flow Boundary.

  1. Select the Domain/Boundary Conditions. (See Figure 9).
  2. Click to the E button  which is next to Flow to edit the flow boundary. (Figure 9)
  3. Enter the Number of Series into the box which in this case is 1.
  4. Give a Title for associated time series, in this case "River".
  5. Click Import Data button, browse to "BC_Flow.dat" file in Data folder
  6. Select EE DAT or WQ Data format then click OK button. (See Figure 10).
  7. Enter "-1" in Import Data form then click OK button. (See Figure 11).
  8. Click to the Current button  to view the current time series. If there are a number of layers then check Sum Layers to show total flow. (See Figure 12). Close timeseries data plot

  9. Click OK button in Data Series: Flow form to finish editing the boundary time series.

Anchor
Figure 9
Figure 9

Figure 9  Assigning flow boundary conditions.


Anchor
Figure 10
Figure 10

Figure 10  Editing the boundary time series (01).


Anchor
Figure 11
Figure 11

Figure 11  Editing the boundary time series (02).


   

Anchor
Figure 12
Figure 12

Figure 12  Flow time series plot.

Anchor
TOC9
TOC9
4.2 Preparing the Tidal Level Boundary.

  1. Click to the E button  which is next to Water Level (See Figure 13)
  2. Enter the Number of Series, which is 1 for this case (see 2381073 Figure 14)
  3. Enter the Title of Series as "Tides"
  4. Open "BC_Water Level.dat" file in Data folder, the copy and paste into the Data Series: Water surface form.
  5. Click Current button in the form to see the timeseries plot (see 2381073 Figure 15). Close timeseries data plot.
  6. Click OK to finish.

Another option for setting the open boundary is the Harmonic Boundary Series (Harmonic Boundary Series)

Anchor
Figure 13
Figure 13

Figure 13  Assigning tidal boundary conditions.


Anchor
Figure 14
Figure 14

Figure 14  Preparing the tidal boundary series.

...

Anchor
TOC10
TOC10
4.3 Assigning Time Series to the Boundary Location Cells.

When all required boundary time series are prepared the next step is to assign those boundary time series to the model cells. Figure 14 shows the location of inflow and tidal level for the TraKhuc case.

Anchor
TOC11
TOC11
4.3.1 Assigning the Flow Boundary

In order to assign the flow boundary, the following steps should be taken

  1. Click to the ViewPlan icon  on the main form (See Figure 1516).
  2. Choose Boundary C’s in the Viewing Opt’s .
  3. Check Enable Edit and Show Grid (See Figure 1617).
  4. RMC on the inflow location cell/ choose New (See Figure 1718).
  5. Enter the boundary group ID: River (See Figure 1718).
  6. Select boundary types. It is dependent on your current boundary type to choose the suitable boundary type. In this case, we have a flow boundary so we choose number 1 (See Figure 1718).
  7. Select the associated times series for this inflow boundary, "Flow" (See Figure 1819).
  8. Click OK to complete.
  9. The boundary cells might have multiple cells to present the real river width. In order to assign the multiple cells, click Add by Polyline button in the form of Figure 1819, you need to browse to the "US_BC Line.p2d" in the Data folder as shown in in Figure 1920 then click Apply button.
  10. Click All button to assign river flows to all cells ( See Figure 2021)
  11. The inflow is now divided to the number of assigned cells. (See Figure 2122).


Anchor
Figure 16
Figure 16

Figure 16  Locations of inflow and open tidal boundaries.


Anchor
Figure 17
Figure 17

Figure 17  Assigning boundary condition cells.


Anchor
Figure 18
Figure 18

Figure 18  Create new boundary condition with RMC on the inflow cell.


Anchor
Figure 19
Figure 19

Figure 19  Assign the corresponding time series.

Anchor
Figure 20
Figure 20

Figure 20  Assigning boundary cells by a polyline.

Anchor
Figure 21
Figure 21

...

Figure 22  Upstream BC cells assigned.


Anchor
TOC12
TOC12
4.3.2 Assigning Tides Boundary

In order to assign the tides boundary, the following steps should be taken:

  1. Click to the ViewPlan icon  on the main form (See Figure 1516).
  2. Choose Boundary C’s in the Viewing Opt’s .
  3. Enable editing the grid by checking Enable Edit  (See Figure 1617)
  4. RMC on the tidal location cell and select New (See Figure 2223)
  5. Enter the Boundary Group ID,  "Ocean" (See Figure 2223)
  6. Select the appropriate boundary type. In this case, the river flows to the east, so choose "4" for the "Open BC:East"  as shown in Figure 2223.

Anchor
Figure 2223
Figure 2223

Figure 22  23  Set the tidal boundary. AnchorFigure 23Figure 23


7. Select the water level time series that created earlier, "Tides" as shown in Figure 2524.

Anchor
Figure 2524
Figure 2524

Figure 25  24  Assign tides boundary.


9. The open boundary often contains a lot of cells so it is not convenient to use the feature of Add to Adjacent cells that was used when we assigned the inflow boundary. In order to select multiple cells, we can to draw a line across all the cells as open boundaries. Then, click to Add by Polygon button (Figure 2524).

10. Browse to "Open_BC Line.p2d" in Data folder then click Apply and then OK button. (See Figure 2625).

11. Click Set All button in Figure 2524 to assign tides to all cells.

12. The tides is now assigned to all open BC cells. (See Figure 2726).

Anchor
Figure 2625
Figure 2625

Figure 26  25  Selecting multiple BC cells by polyline/polygon.

Anchor
Figure 2726
Figure 2726

Figure 27  26  Tidal BC cells assigned.



Anchor
TOC13
TOC13
5  Hydrodynamics Settings

In order to optimize simulation time, the EFDC model can be set so that dry cells are ignored with Wetting and Drying frame. In this case we should set this condition as following:

  1. Select Hydrodynamics/ Wetting & Drying box
  2. Set Flag is equal to -99.
  3. Entering the Wet/Dry Depth. Remember that the wet depth should always greater than the dry depth. (Figure 2827).

Anchor
Figure 2827
Figure 2827

Figure 28  27  Hydrodynamic Model Setup.

4. Click Modify button in Turbulence Options to set turbulence diffusion ( See Figure 2928)

Anchor
Figure 2928
Figure 2928

Figure 29  28  Turbulence Diffusion Settings.

...

Anchor
TOC14
TOC14
6 Setting Vertical Layers

The hydrodynamic model is ready for running test now. Normally a model is run for one vertical layer for initial calibration and more vertical layers are added later. To increase the number of vertical layers:

  1. Open the Domain/ Grid tab and enter the number of vertical layers into the box as in this case the vertical layers are equal to 5 layers. (Figure 3029).
  2. Save the model project.


Anchor
Figure 3129
Figure 3129

Figure 30  29  Setting the Vertical Layers.

Anchor
TOC15
TOC15
7 Model Timing

We have now almost completed the hydrodynamic model. The final step is to set the model simulation time and model time steps.

  1. Select Timing/ Linkage and Model Run Timing (Figure 2827)
  2. Enter duration of starting/ ending the simulation. Note that the boundaries time series should be always covered this simulation duration period. Otherwise the model will not run.

Anchor
Figure 3130
Figure 3130

Figure 31  30  Setting the model run time.

3. Select the EFDC_Explorer Linkage tab to set the frequency of the output of the EFDC results. Setting this to 60 minutes means that EFDC will save the output every 15 minutes for display of the model results in the EE. (Figure 3231). Note that, smaller output frequency will create a larger output file.

Anchor
Figure 3231
Figure 3231

Figure 32  31  Setting Linkage Output Frequency.



Anchor
TOC16
TOC16
8  Running EFDC+

  1. Select the Setting icon on the main form to browse to the EFDC+ executable file. (Figure 3332).

Anchor
Figure 3332
Figure 3332

Figure 33  32  Browse to the EFDC executable file.


2. Select the Run EFDC icon to on the main form and click the Run EFDC+ button to run the model (Figure 3433).

Anchor
Figure 3433
Figure 3433

Figure 34  33  Run EFDC settings.

 

If you have correctly followed this example the model will start running and you will see the MS-DOS Window appear to shown the model results as see in Figure 3534. Note that you can hit any characters on the keyboard to pause the simulation and check the model results. If you want to exit the simulation hit the same key, if you want to continue run then hit any other key.

Anchor
Figure 3534
Figure 3534

Figure 35  34  Running EFDC Window.

Anchor
TOC17
TOC17
9 Visualizing the EFDC Solution

...

  1. Select the ViewPlan button.
  2. Scroll drown the Viewing Opt’s to choose the parameters that you want to view the model results. Figure 3635 is an example of showing the vector and magnitude velocity field results. Similarly, you can select other parameter to show the results.
  3. RMC on to the legend scale to access the ViewPlan Display Options (Figure 3736).

Anchor
Figure 3635
Figure 3635

Figure 36  35  Visualizing the EFDC+ solution.

Anchor
Figure 36
Figure 36

Figure 37  36  ViewPlan Display Options.

...

There are few main features in the Toolbar that are very often used when analyzing the model results. Explanations for these buttons provided in Table 1 below.

Anchor
Table 1
Table 1

...