General Purpose

Masks are thin dams that may be configured on a cell face in order to fully or partially block the flow between cells in the model domain. This feature is accessed from the 2DH View, where a Grid Mask layer appears in the Layer Control frame by default.

Fully Blocking:  means that the mask completely blocks the movement of water from the top to the bottom of the water column.

Partially Blocking: means that the mask blocks partly the movement of water in the water column. Masks can be fixed in place so that only water can only flow through certain cells in the vertical and horizontal despite changes in water levels. Alternatively, the masks can be on a floating object, so that water can still move under the mask. and this changes depending on the water level e.g. a floating bridge. Figure 1 provides a schematic of the components of a partially blocking mask.

Figure 1. Mask Schematic Diagram.

The definititions of these dimensions are:

2DH View

Adding New Masks to Grid Cells

Masks can be added from the 2DH View, where the Masks layer is displayed on the Layer Control as default. To add the masks, select the Masks layer then turn on the light bulb, pointer, and pen icons as shown in Figure 2. Masks can be assigned to a single grid cell or multiple cells.

Add masks to single cell: When the editing model is enabled, LMC on a cell to select the cell, then RMC on that cell. Four options will be displayed as shown in Figure 3.

The Edit Cell Blocking Mask option can also be used to edit the existing cells with assigned masks. These cells are in the List of Cells frame. LMC on a cell from this list then changes the properties of the mask on the right frame. To add a new cell with masks enter the I, J, L index in the Indices then press Enter key or click the left-arrow button as shown in Figure 4. To remove a cell from the cell list, LMC on that cell then click the right-arrow button. Click the double right-arrow button to remove all cells at once as shown in Figure 4.

Figure 2. Turn on the Light of Masks layer.

Figure 3. Add Masks to Grid Cells.

Figure 4. Vertical Cell Face Blocking.

Add masks to multiple cells: To add masks to multiple grid cells at the same time multiple cells must be selected first. This is done by holding the Ctrl key and LMC to select various single cells, or by holding the Shift key and LMC to select a range of adjacent cells. Other ways to select grid cells are described in Grid Cell Selection. The next steps for adding masks to these cells are similar to that for adding a mask to single cell as presented above.

GUI Editing

LMC on the Mask layer in the Layer Control to have some following options as shown in Figure 5.

Figure 5. RMC options for Grid Mask layer.

Figure 6. Mask Properties settings form.

Figure 7. Edit option.

Figure 8. Edit Cell Blocking Masks (1).

The Vertical Cell Face Blocking form as shown in Figure 8, shows all the grid cells of the domain which have masks of the domain on the List of Cells frame. I, J, L indices of the cell are shown in the Cell Indices frame. Initial conditions of the cell including bottom elevation, water depth, and water surface elevation are shown in the Initial Conditions frame, these fields are not editable. The user can edit the cell's mask by changing the mask's properties on the Current Cell frame.  In this case, the cell (L=97) has masks on the west and south faces so boxes for Completely Block Mask of the two faces are checked (see Figure 9)

In case the user wants to change a mask from completely blocking to partially blocking, the box needs to be unchecked. For example, we will uncheck the box for the west face. Then the Floating option can be checked or unchecked, and values for Draft, Bottom Sill can be entered as shown in Figure 9. Click the Close button to complete setting the masks for the grid cell.

From the 2DH View, the user also removes masks by RMC on the cell which contains masks on the west or south faces then selects the "Delete" option as shown in Figure 10.

Figure 9. Edit Cell Blocking Masks (2).

Figure 10. Remove grid masks.

EFDC+ Input File

The EFDC input file for masks is mask.inp, in the file will show the number of cells having masks with three columns including I, J and MTYPE columns. In which the MTYPE column is the type of mask configured to the grid cell. (see Figure 11)

Figure 11. EFDC input file for masks.