[Example 4] Flow in a real river(single cross section)¶
Select Solver¶
In the [Select Solver] window, Figure 81 , select [Nays2d+] and click [OK].
![../_images/koshi_11.png](../_images/koshi_11.png)
Figure 81 : Select Solver¶
Importing River Survey Data¶
In the window, Figure 82, select [Import], [Geographic Data], [Elevation(m)]
![../_images/koshi_21.png](../_images/koshi_21.png)
Figure 82 : Import river geographic data¶
Chose [single.riv] in the window, Figure 83 and open. The cross sectional survey data “single.riv” can be downloaded from, https://i-ric.org/yasu/fw/rivfiles/single.riv
![../_images/koshi_31.png](../_images/koshi_31.png)
Figure 83 : Select File¶
A message window may appear telling “Problems Fund i Data” as Figure 84 ,but just click [OK]
![../_images/koshi_41.png](../_images/koshi_41.png)
Figure 84 : Prblem Fund¶
Select [Middle point of left and right bank] in the [River Survey Data Import Setting] window as Figure 85 , and click [OK]
![../_images/koshi_51.png](../_images/koshi_51.png)
Figure 85 : River Survay Data Import Setting¶
Figure 86 riv file import complete.
![../_images/koshi_6.png](../_images/koshi_6.png)
Figure 86 : Import Complete¶
Grid Generation Conditions¶
From the main menu, select [Grid] and [Select Algorithm to Create Grid] as, Figure 87
![../_images/koshi_7.png](../_images/koshi_7.png)
Figure 87 : Select Algorithm to Create Grid¶
Select [Create grid from river survey data] from the window, Figure 88 , and click [OK].
![../_images/koshi_8.png](../_images/koshi_8.png)
Figure 88 : Create grid from river survey data¶
As shown in Figure 133 , a channel with cross sections with both ends’ blue circles are displayed.
![../_images/koshi_9.png](../_images/koshi_9.png)
Figure 89 : Setting Grid Create Condition Complete¶
Grid Generation¶
Select any side of one of the cross section line, right click, and chose [Add Division Points].
![../_images/koshi_10.png](../_images/koshi_10.png)
Figure 90 :Add Division Points(1)¶
Set [Division Number], set [4] in this example, and click [OK] (Figure 91 )
![../_images/koshi_111.png](../_images/koshi_111.png)
Figure 91 :Add Division Points(2)¶
Select one of the opposite side of the cross sectional line we selected in Figure 90 , right click, and chose [Add Division Points] (Figure 92 )
![../_images/koshi_12.png](../_images/koshi_12.png)
Figure 92 :Add Division Points(3)¶
Set [Division Number], set [4] as a same number we set in Figure 91 for the symmetry.
![../_images/koshi_13.png](../_images/koshi_13.png)
Figure 93 :Add Division Points(4)¶
Along the channel direction, division points are set all at once. Select [Grid], [Add Division Points Regionally] from the menu bar. ( Figure 94 )
![../_images/koshi_14.png](../_images/koshi_14.png)
Figure 94 :Add Division Points Regionally(1)¶
Chose [Specify target distance division points]. set distance [70] in this example, and click [OK].( Figure 95 )
![../_images/koshi_15.png](../_images/koshi_15.png)
Figure 95 :Add Division Points Regionally(2)¶
When the setup for division points are completed, a plane map with yellow circle points appears as Figure 96
![../_images/koshi_16.png](../_images/koshi_16.png)
Figure 96 :Set division points complete¶
Select [Grid], [Grid Create] from the menu bar.( Figure 97 )
![../_images/koshi_17.png](../_images/koshi_17.png)
Figure 97 :Grid Create(1)¶
Confirm the grid generation range painted with blue, and click [OK].
![../_images/koshi_18.png](../_images/koshi_18.png)
Figure 98 :Grid Create(2)¶
Answer [Yes] when you asked [Do you want to map?] as Figure 99
![../_images/koshi_19.png](../_images/koshi_19.png)
Figure 99 :Mapping?¶
Completed grid is shown as Figure 100
![../_images/koshi_20.png](../_images/koshi_20.png)
Figure 100 :Grid Generation Complete¶
Bed configuration and channel shape can be confirmed by putting checking marks at, [Grid], [Node attributes] and [Elevation (m)]. ( Figure 101 )
![../_images/koshi_211.png](../_images/koshi_211.png)
Figure 101 :Confirmation of the Mapping Result¶
Computational Condition¶
Select [Calculation Condition] and [Setting] from the min menu as Figure 102 .
![../_images/joken_01.png](../_images/joken_01.png)
Figure 102 :Setting Computational Condition¶
Set [Time unit of discharge] as [Hour] and click [Edit], ( Figure 103 )
![../_images/joken_02.png](../_images/joken_02.png)
Figure 103 :Discharge Condition¶
Set discharge hydrography as Figure 104, constant for 3 hours with 2,000 qms, and click [OK].
![../_images/joken_03.png](../_images/joken_03.png)
Figure 104 :Input Discharge(2)¶
Set [Time and bed erosion condition] as Figure 105 .
![../_images/joken_04.png](../_images/joken_04.png)
Figure 105 :Time and bed erosion condition¶
Set “3D Velocity Profile” as shown in the figure Figure 106 , and click [Save and Close] to exit.
![../_images/joken_05.png](../_images/joken_05.png)
Figure 106 :3D Velocity Profile Settings¶
Launch Computation¶
From the menu bar, select [Simulation] and [Run].
![../_images/jikko_01.png](../_images/jikko_01.png)
Figure 107 :Launch Simulation(1)¶
Answer [Yes(Y)] when you asked [Save the project?] as Figure 108
![../_images/jikko_02.png](../_images/jikko_02.png)
Figure 108 :Launch Simulation(2)¶
Simulation starts. Figure 109
![../_images/jikko_03.png](../_images/jikko_03.png)
Figure 109 :Launch Simulation(3)¶
Click [OK] when the message [The solver finished calculation] as Figure 110
![../_images/jikko_04.png](../_images/jikko_04.png)
Figure 110 :Calculation finished¶
Display Computational Results¶
After the companion finished, form the main menu, by selecting [Calculation Results] and [Open new 2D Post-Processing Window], a new Window appears as Figure 111 .
![../_images/kekka_01.png](../_images/kekka_01.png)
Figure 111 :2D Post-Process Window¶
Depth¶
n the object browser, put the check marks in “Scalar (node)” and “Depth[m]”, right-click and select “Properties”. The “Scalar Setting” window Figure 112 appears.
![../_images/kekka_04.png](../_images/kekka_04.png)
Figure 112 :Scalar Setting¶
Set the values as shown in Figure 112, and click [OK], then Figure 113 appears.
![../_images/kekka_05.png](../_images/kekka_05.png)
Figure 113 : Depth Plot¶
Display Background Image¶
Select from the main menu, [File]->[Property] ( Figure 114 )
![../_images/haikei_01.png](../_images/haikei_01.png)
Figure 114 :Select Property¶
From the “Project Property” window, click [Edit] at [Coordinate System] .. _04_haikei_02:
![../_images/haikei_02.png](../_images/haikei_02.png)
Figure 115 :Edit Coordinate System Setting¶
Input “Japan” in the [Search] window, and chose the one with “XII” from the items with [EPSG:….] as Figure 116 . See more detail on coordinate system of Japan at http://www.gsi.go.jp/sokuchikijun/jpc.html
![../_images/haikei_03.png](../_images/haikei_03.png)
Figure 116 :Select Coordinate System¶
Click [Close] of [Project Property] window of Figure 117
![../_images/haikei_04.png](../_images/haikei_04.png)
Figure 117 :Close Property Window¶
Put a check mark in a box in front of [Background Images(Internet)] and one of the items listed below, e.g., [Google Map (Satellite Image)] as Figure 118
![../_images/haikei_05.png](../_images/haikei_05.png)
Figure 118 :Background Image Import Complete¶
Velocity Vectors and Streamlines¶
Since the operation method is the same as the previous section, it will be omitted.
Particle Animations¶
Put check mark at [Particles] and [Velocity] in the object browser, put time bar back to zero, and push black button, ( Figure 119 ). Particle following the depth averaged velocity starts as Figure 120 .
![../_images/particle_01.png](../_images/particle_01.png)
Figure 119 :Particle Animation¶
![../_images/particle_02.gif](../_images/particle_02.gif)
Figure 120 :Particle movement by depth averaged velocity¶
Put check mark at [Particles] and [Surface Velocity] in the object browser. If you want to change color of particles, right click [Particle] and select [Property]. Set values as Figure 121 and click [OK]. Put the time bar back again to zero, and push black button. Particle following the surface velocity starts as Figure 122 .
![../_images/particle_03.png](../_images/particle_03.png)
Figure 121 :Particle Setting¶
![../_images/particle_04.gif](../_images/particle_04.gif)
Figure 122 :Particle movement following the surface velocity¶
If you select “Bottom Velocity” in the same procedure, you can show the particle animation following the bottom velocity ads Figure 123 .
![../_images/particle_05.gif](../_images/particle_05.gif)
Figure 123 :Particle movement following the bottom velocity¶