Example 09: Tidal oscilation
To calculate the open channel flow with a tidal oscilation at a boundary. In this example an open channel with dowsntream and upstream boundaries with constant discharge at upstream and oscilating water surface at downstream will be simulated. For simplicity only water is simulated and can add density flow if needed.
Creation of calculation grid and setting initial conditions
As explained in the other examples and the introduction, create the grid using, [Grid], [Select Algorithm to Create Grid] and then select [Grid Generator for Nays3DV]. Then the grid creation window will appear.
In grid creation window, give channel shape parameters as shown in Figure 133.
Then we can give Channel bed condition. As here we use the default condition flat(no bar) no modifications are needed.
If new grids are added or width is varied it is possible to set them. As in this example no grids added and no width variations, no modifications are needed in them.
Initial water surface profile tab is used to give downstream depth, water surface slope and initial water surface purtavation. It can be seen as shown in Figure 134 and click on [Create Grid]. Here the bed is given as a sloped bed varying linearly in x direction.
Then the grid is created and a confirmation message box will appear asking to map the geographic data as shown in Figure 135 and click on [Yes].
This will map the geographic data to the grid and the mapped grid can be seen as shown in Figure 136.
Now save the project with [File] [Save project as .ipro].
Setting the calculation conditions and simulation
Set the calculation conditions with [Calculation Condition], [Setting].
Calculation condition window will open.
Set computational parameters as shown in Figure 137.
Then give hydraulic boundary conditions. Since the boundary conditions are open boundaries , boundary condition needs to be given as shown in Figure 138.
Then give initial and Boundary concentrations as shown in Figure 139. Here only water is used for simulation, initial and boundary concentartion window is inactive.
Then the time and iteration parameters are give as shown in Figure 140.
Then give the physical parameters as given in Figure 141.
After setting the calculation conditions, save the project by clicking on save tab. Now start simulation by, [Simulation] [Run]. Simulation will start and after some time it will finish showing the message the solver finished the calculation.
Visualization of results
Open 3D post processing window by selecting, [Calculation Results] [Open new 3D Post-Processing Window].
In this example, linear plots will be demonstrated. For linear graphs, click on linear graph icon in top of the window as shown in Figure 142. Or else go to [Calculation Results] - [Open new graph window]. Then the data source setting window will appear as shown in figure.
Here x axis and the 3dimensional data need be selected. Here Position vs Distance is selceted to plot. Therefore, axis is set i and position is selected for 3dimensional data. The resulting plot is as shown in Figure 143.
If we need to plot position vs time, data source setting has to be done as shown in Figure 144.
The resulting plot can be seen as shown in Figure 145.
As shown in the down of the graphs there are several options available for line graphs such as export csv format, copy, axis setting etc.