GenCade Boundary Conditions

From CIRPwiki
Jump to navigation Jump to search

Boundary Conditions in GenCade

The lateral boundary condition information is included in the GenCade Model Control window under the GenCade menu. GenCade presently has three options for boundary conditions: pinned, moving, and gated. A boundary specified as pinned means that boundary will not move from the initial shoreline position. This is also the default boundary condition. If a moving boundary condition is selected, the boundary will a specified distance over a certain time period (specified by the user). A gated boundary condition is bounded with a groin.

Pinned

If the lateral boundary conditions (Lateral BC tab) are not changed, the defaulted pinned boundary condition will be used. A simple example is shown below. In this simple case, there is a straight shoreline with one breakwater at the center of the grid. The waves are idealized (H = 0.5 m, T = 6 s, wave direction = 30 degrees), and the simulation is run for two years. Figure 1 shows the setup in GenCade. After selecting Model Control in the GenCade menu, the GenCade Model Control window will open. The last tab under GenCade Model Control is Lateral BC. When the pinned boundary condition is selected, all of the other options in the tab are grayed out.

Figure 1. Example Case


Figure 2. GenCade Model Control - Pinned Boundary Condition


The boundary conditions are specified in the *.gen file under the heading "BEACH." LBCTYPE refers to the left boundary condition while RBCTYPE refers to the right boundary condition. For the pinned boundary condition, LBCTYPE and RBCTYPE will be 0. Since all of the other options in the Lateral BC window were grayed out, all of the other variables related to boundary conditions in the *.gen file will also be zero.

Figure 3. Example *.gen File with Pinned Boundaries


Figure 4 shows the modeled shoreline after a two year simulation. Since both boundaries are pinned, the shoreline at the extents of the grid does not change. Since the grid is only 5000 ft long, it is possible that shoreline change should occur at the extents of the grid. Therefore, for this case, a larger grid may be necessary.

Figure 4. Shoreline Change with Pinned Boundaries


Moving Boundary Condition

A moving boundary represents the amount of shoreline change at a boundary over a specified period of time. Under the Lateral BC tab in GenCade Model Control, select Moving under type. After selecting Moving, the shoreline displacement velocity options will be activated. The shoreline can be displaced over the simulation, day, or time step.

Displacement Per Simulation

The first option for a moving boundary condition is shoreline displacement per simulation period. This means that the total displacement of the shoreline during the simulation is equal to the number entered by the user under shoreline displacement velocity. Please note that the (m) per after the blank for shoreline displacement velocity is incorrect. If the units of the grid are specified in feet, the shoreline displacement velocity will also be in feet.

Figure 5. GenCade Model Control - Moving - Per Simulation Period


The *.gen file for a simple example is shown below. This simple example is identical to the example for the pinned boundary except the left boundary is now a moving boundary and the breakwater has been removed. The right boundary is still a pinned boundary. In the *.gen file, LBCTYPE, LMOVY, and LMOVPER are related to the moving boundary condition.

As of 5 November, the SMS is writing to the *.gen file incorrectly for moving and gated boundary conditions. At present, a moving boundary is being written as gated condition and vice versa. This problem will be fixed soon; however, a moving boundary can be simulated by modifying the *.gen file.


In Figure 6, LBCTYPE is defined as 1 and LMOVPER is defined as 0. These are both incorrect. LBCTYPE = 1 refers to a gated boundary condition, and LBCTYPE = 3 refers to a moving boundary condition. To simulate a moving boundary, change LBCTYPE to 3. LMOVY represents the shoreline displacement over the time period specifed. In this example, LMOVY is 50. This was the number specified in the SMS, so this variable does not need to be modified. LMOVPER refers to the time period the displacement occurs. In this incorrect *.gen file, LMOVPER is 0. If a user tried to run this case without changing this value, GenCade would give an error and not run. For a displacement over the entire simulation, change LMOVPER to 1. A correct *.gen file is shown in Figure 7.

Figure 7. Modified *.gen File


Figure 8 shows the calculated shoreline after the two year simulation. The shoreline at the left boundary has accreted 50 ft.

Displacement Per Day

Another option for the moving boundary condition is shoreline displacement per day.