work on tuto1
|
Before Width: | Height: | Size: 150 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
|
@ -25,7 +25,7 @@
|
|||
}
|
||||
|
||||
\begin{document}
|
||||
\includegraphics[width=5cm]{Logo-INRAE_Transparent.png}
|
||||
\includegraphics[width=5cm]{img/Logo-INRAE_Transparent.png}
|
||||
|
||||
~
|
||||
|
||||
|
|
@ -99,11 +99,11 @@ Autors : & Pierre-Antoine Rouby & pierre-antoine.rouby@inrae.fr\tabularnewline
|
|||
|
||||
\pagebreak{}
|
||||
|
||||
\section{Introduction}
|
||||
|
||||
TODO
|
||||
|
||||
\pagebreak{}
|
||||
% \section{Introduction}
|
||||
%
|
||||
% TODO
|
||||
%
|
||||
% \pagebreak{}
|
||||
|
||||
|
||||
\section{Installer Pamhyr2}
|
||||
|
|
@ -111,7 +111,7 @@ TODO
|
|||
Pamhyr2 peut être téléchargé ici : \url{https://gitlab.irstea.fr/theophile.terraz/pamhyr}.
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{dl.png}
|
||||
\includegraphics[width=15cm]{img/dl.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
|
|
@ -123,11 +123,11 @@ Utilisez le bouton de t
|
|||
Dans la fenêtre principale, cliquez sur \texttt{[Fichier] => [Nouvelle étude]} pour créer une nouvelle étude. Choisissez un nom, par exemple Hogneau, et validez
|
||||
|
||||
Cliquez sur \texttt{[Réseau] => [Editer le réseau]} pour créer les biefs de votre rivière. Dans cette fenêtre, vous devez définir un graphe orienté qui représente les biefs de votre réseau fluvial : les arêtes sont les biefs et les n½uds sont soit des conditions limites amont, soit des conditions limites aval, soit des jonctions entre biefs.
|
||||
Appuyez sur le bouton \includegraphics[width=0.5cm]{gtk_add.png} pour entrer dans le mode \textit{Ajout}. Créez deux n½uds en cliquant dans la zone grise de la fenêtre, et créez un lien en cliquant à nouveau sur chaque n½ud. Appuyez à nouveau sur \includegraphics[width=0.5cm]{gtk_add.png} pour quitter le mode \textit{Ajout}. Vous avez créé votre premier bief, avec un n½ud amont et un n½ud aval. Dans la partie inférieure de la fenêtre \textit{Editer le réseau hydrographique}, vous pouvez renommer les n½uds et les biefs. Comme le bief que vous avez créé est automatiquement sélectionné, toutes les étapes suivantes s'appliqueront à ce bief. La fenêtre doit se présenter comme suit :
|
||||
Appuyez sur le bouton \includegraphics[width=0.5cm]{img/gtk_add.png} pour entrer dans le mode \textit{Ajout}. Créez deux n½uds en cliquant dans la zone grise de la fenêtre, et créez un lien en cliquant à nouveau sur chaque n½ud. Appuyez à nouveau sur \includegraphics[width=0.5cm]{img/gtk_add.png} pour quitter le mode \textit{Ajout}. Vous avez créé votre premier bief, avec un n½ud amont et un n½ud aval. Dans la partie inférieure de la fenêtre \textit{Editer le réseau hydrographique}, vous pouvez renommer les n½uds et les biefs. Comme le bief que vous avez créé est automatiquement sélectionné, toutes les étapes suivantes s'appliqueront à ce bief. La fenêtre doit se présenter comme suit :
|
||||
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{network.png}
|
||||
\includegraphics[width=15cm]{img/network.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
|
|
@ -140,18 +140,18 @@ Cliquez sur \texttt{[G
|
|||
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{Geo.png}
|
||||
\includegraphics[width=15cm]{img/Geo.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
Le panneau de gauche contient une liste de toutes les sections en travers avec leur nom et leur abscisse longitudinale (PK). Dans le graphique en haut à gauche, vous pouvez voir la vue de dessus de la rivière, dans le panneau en haut à droite, la coupe longitudinale de la rivière et dans le graphique en bas, vous pouvez voir la section en travers sélectionnée (bleu) ainsi que la suivante (pointillés violets) et la précédente (pointillés noirs). Vous pouvez vous déplacer dans la liste des sections en cliquant dans le tableau ou à l'aide de l'ascenseur situé entre le tableau et les graphiques.
|
||||
|
||||
Vous pouvez éditer la section en travers sélectionnée en cliquant sur l'icône \includegraphics[width=0.5cm]{"../../../src/View/ui/ressources/edit.png"}.
|
||||
Vous pouvez éditer la section en travers sélectionnée en cliquant sur l'icône \includegraphics[width=0.5cm]{"img/edit.png"}.
|
||||
|
||||
Sélectionnez la section en travers nommée \textit{PontRD101m} et ouvrez la fenêtre d'édition. Vous devriez voir :
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{editsect.png}
|
||||
\includegraphics[width=15cm]{img/editsect.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
|
|
@ -164,7 +164,7 @@ Sur le graphique figure une projection de la section en travers. Vous pouvez uti
|
|||
Dans la fenêtre principale, cliquez sur \texttt{[Hydraulique] => [Conditions aux limites et apports ponctuels]} :
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{boundary.png}
|
||||
\includegraphics[width=15cm]{img/boundary.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
|
|
@ -174,15 +174,15 @@ Dans la fen
|
|||
Sélectionner la cellule \textit{Type} et utiliser la combo box pour mettre une loi Q(t).
|
||||
Sélectionnez la cellule \textit{Noeud} et attribuez cette condition au noeud amont.
|
||||
Les noms des noeuds sont rappelés dans le réseau du panneau de droite.
|
||||
Sélectionnez maintenant la ligne entière et cliquez sur le bouton d'édition \includegraphics[width=0.5cm]{"../../../src/View/ui/ressources/edit.png"}. Vous avez ouvert la fenêtre \textit{Éditer les conditions aux limites}.
|
||||
Sélectionnez maintenant la ligne entière et cliquez sur le bouton d'édition \includegraphics[width=0.5cm]{"img/edit.png"}. Vous avez ouvert la fenêtre \textit{Éditer les conditions aux limites}.
|
||||
Dans un éditeur de texte, ouvrez le fichier \texttt{Données/Fevrier\_2002.txt}. Copiez le contenu du fichier (par exemple avec \textit{ctrl+a} puis \textit{ctrl+c}) et collez-le dans le panneau gauche de la fenêtre \textit{Éditer les conditions aux limites} avec \textit{ctrl+v}. Vous pouvez maintenant voir la courbe de débit :
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{fev2002.png}
|
||||
\includegraphics[width=15cm]{img/fev2002.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
Fermer cette fenêtre. Revenir sur la fenêtre \textit{Conditions aux limites}. Ajouter une nouvelle ligne, lui donner un nom, lui donner le type \textit{Z(T)} et l'associer au noeud aval du réseau. Ouvrez la fenêtre \textit{Éditer les conditions aux limites} (\includegraphics[width=0.5cm]{"../../../src/View/ui/ressources/edit.png"}). Ajoutez deux lignes. Dans la première, entrez le temps : 0.00.00 et Z : 15.000.
|
||||
Fermer cette fenêtre. Revenir sur la fenêtre \textit{Conditions aux limites}. Ajouter une nouvelle ligne, lui donner un nom, lui donner le type \textit{Z(T)} et l'associer au noeud aval du réseau. Ouvrez la fenêtre \textit{Éditer les conditions aux limites} (\includegraphics[width=0.5cm]{"img/edit.png"}). Ajoutez deux lignes. Dans la première, entrez le temps : 0.00.00 et Z : 15.000.
|
||||
Dans la seconde, saisissez le temps : 1.00.00 et Z : 15.000. Cela crée une côte constante de l'eau en aval. Pour le calcul, Mage extrapolera continuellement l'élévation de l'eau.
|
||||
Vous pouvez fermer les fenêtres \textit{Éditer les conditions aux limites} et \textit{Conditions aux limites}.
|
||||
|
||||
|
|
@ -194,7 +194,7 @@ Cliquez sur \texttt{[G
|
|||
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{ic.png}
|
||||
\includegraphics[width=15cm]{img/ic.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
|
|
@ -204,19 +204,19 @@ Fermer la fen
|
|||
\section{Editer les coefficients de frottement}
|
||||
|
||||
Dans la fenêtre principale, cliquez sur \texttt{[Hydraulique] => [Editer les frottements]}.
|
||||
Vous devez d'abord définir des jeux de coefficients de Strickler. Cliquez sur \includegraphics[width=0.5cm]{"../../../src/View/ui/ressources/edit.png"} pour ouvrir la fenêtre \textit{Strickler}. Vous pouvez y créer des couples de coefficients de Strickler, le premier pour le lit mineur, le second pour le lit moyen. Cliquez quatre fois sur \textit{add} pour créer quatre nouveaux couples. Donnez-leur les valeurs suivantes :
|
||||
Vous devez d'abord définir des jeux de coefficients de Strickler. Cliquez sur \includegraphics[width=0.5cm]{"img/edit.png"} pour ouvrir la fenêtre \textit{Strickler}. Vous pouvez y créer des couples de coefficients de Strickler, le premier pour le lit mineur, le second pour le lit moyen. Cliquez quatre fois sur \textit{add} pour créer quatre nouveaux couples. Donnez-leur les valeurs suivantes :
|
||||
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{K.png}
|
||||
\includegraphics[width=15cm]{img/K.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
Fermez la fenêtre \textit{Strickler}. Dans la fenêtre \textit{Editer les frottements}, ajoutez quatre lignes avec le bouton \includegraphics[width=0.5cm]{gtk_add.png} pour créer quatre zones de frottement. Chaque zone est définie par un PK \textit{début} et de \textit{fin} PK et un couple \textit{begin} et \textit{end} couple de Strickler. Les couples de coefficients de Strickler à l'intérieur d'une zone sont interpolés à partir des couples \textit{begin} et \textit{end}. Dans notre cas, nous utiliserons des coefficients constants par zone. Définissez les zones comme suit :
|
||||
Fermez la fenêtre \textit{Strickler}. Dans la fenêtre \textit{Editer les frottements}, ajoutez quatre lignes avec le bouton \includegraphics[width=0.5cm]{img/gtk_add.png} pour créer quatre zones de frottement. Chaque zone est définie par un PK \textit{début} et de \textit{fin} PK et un couple \textit{begin} et \textit{end} couple de Strickler. Les couples de coefficients de Strickler à l'intérieur d'une zone sont interpolés à partir des couples \textit{begin} et \textit{end}. Dans notre cas, nous utiliserons des coefficients constants par zone. Définissez les zones comme suit :
|
||||
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{frictions.png}
|
||||
\includegraphics[width=15cm]{img/frictions.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
|
|
@ -226,39 +226,39 @@ La zone s
|
|||
\section{Modélisation des ouvrages hydrauliques}
|
||||
|
||||
Parfois, il peut y avoir des sections en travers dans lesquelles les équations de Saint-Venant ne peuvent pas être utilisées pour modéliser l'écoulement de l'eau. Dans ce cas, nous devons définir une autre loi pour relier la côte de l'eau et le débit. C'est le cas, par exemple, au niveau des ponts lorsque la hauteur d'eau est trop élevée, ce qui entraîne un écoulement en charge. Pamhyr2 permet de définir différents ouvrages hydrauliques avec des lois paramétrables. Dans notre cas, on doit représenter un seuil et deux ponts comme ouvrages hydrauliques.
|
||||
Dans la fenêtre principale, cliquez sur \texttt{[Hydraulique] => [Ouvrages hydrauliques]} pour ouvrir la fenêtre des ouvrages hydrauliques. Cliquez trois fois sur le bouton \includegraphics[width=0.5cm]{gtk_add.png} pour créer trois ouvrages hydrauliques. Chaque structure peut avoir un nom et doit avoir une portée et un PK. Définissez-les comme suit :
|
||||
Dans la fenêtre principale, cliquez sur \texttt{[Hydraulique] => [Ouvrages hydrauliques]} pour ouvrir la fenêtre des ouvrages hydrauliques. Cliquez trois fois sur le bouton \includegraphics[width=0.5cm]{img/gtk_add.png} pour créer trois ouvrages hydrauliques. Chaque structure peut avoir un nom et doit avoir une portée et un PK. Définissez-les comme suit :
|
||||
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{hs.png}
|
||||
\includegraphics[width=15cm]{img/hs.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
Sélectionnez le seuil aval et cliquez sur \includegraphics[width=0.5cm]{"../../../src/View/ui/ressources/edit.png"} pour modifier les lois de cette ouvrage. Les ouvrages hydrauliques sont composés d'ouvrages hydrauliques élémentaires. Vous pouvez combiner les lois de plusieurs ouvrages hydrauliques élémentaires pour créer votre ouvrage. Pour ce seuil, nous n'avons besoin que d'un ouvrage hydraulique élémentaire de type déversoir. Cliquez sur \includegraphics[width=0.5cm]{gtk_add.png} pour ajouter un nouvel ouvrage hydraulique élémentaire, donnez-lui le type \textit{seuil} et configurez-le comme suit :
|
||||
Sélectionnez le seuil aval et cliquez sur \includegraphics[width=0.5cm]{"img/edit.png"} pour modifier les lois de cette ouvrage. Les ouvrages hydrauliques sont composés d'ouvrages hydrauliques élémentaires. Vous pouvez combiner les lois de plusieurs ouvrages hydrauliques élémentaires pour créer votre ouvrage. Pour ce seuil, nous n'avons besoin que d'un ouvrage hydraulique élémentaire de type déversoir. Cliquez sur \includegraphics[width=0.5cm]{img/gtk_add.png} pour ajouter un nouvel ouvrage hydraulique élémentaire, donnez-lui le type \textit{seuil} et configurez-le comme suit :
|
||||
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{seuil.png}
|
||||
\includegraphics[width=15cm]{img/seuil.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
Retournez à la fenêtre \textit{Ouvrages hydrauliques}.
|
||||
|
||||
Sélectionnez le pont RS101 et cliquez sur \includegraphics[width=0.5cm]{"../../../src/View/ui/ressources/edit.png"} pour éditer les lois de cet ouvrage. Un pont peut être modélisé comme une combinaison d'un orifice pour l'écoulement sous le pont et d'un déversoir pour l'écoulement au-dessus du pont. Créez deux ouvrages hydrauliques élémentaires et définissez-les comme suit :
|
||||
Sélectionnez le pont RS101 et cliquez sur \includegraphics[width=0.5cm]{"img/edit.png"} pour éditer les lois de cet ouvrage. Un pont peut être modélisé comme une combinaison d'un orifice pour l'écoulement sous le pont et d'un déversoir pour l'écoulement au-dessus du pont. Créez deux ouvrages hydrauliques élémentaires et définissez-les comme suit :
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{seuilRS101.png}
|
||||
\includegraphics[width=15cm]{img/seuilRS101.png}
|
||||
|
||||
\includegraphics[width=15cm]{orificeRS101.png}
|
||||
\includegraphics[width=15cm]{img/orificeRS101.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
Revenez à la fenêtre \textit{Ouvrages hydrauliques} et appliquez la même procédure pour le pont de Thivencelle :
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{orificeThivencelle.png}
|
||||
\includegraphics[width=15cm]{img/orificeThivencelle.png}
|
||||
|
||||
\includegraphics[width=15cm]{seuilThivencelle.png}
|
||||
\includegraphics[width=15cm]{img/seuilThivencelle.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
|
|
@ -271,7 +271,7 @@ Dans la fen
|
|||
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{param.png}
|
||||
\includegraphics[width=15cm]{img/param.png}
|
||||
\par\end{center}
|
||||
|
||||
|
||||
|
|
@ -289,7 +289,7 @@ La fen
|
|||
|
||||
il est aussi possible d'ouvrir la fenêtre \textit{Résultats} si vous avez fermé la fenêtre textit{Log du solveur}, en cliquant sur \texttt{[Résultats] => [Visualiser les derniers résultats]} à partir de la fenêtre principale. Le panneau supérieur vous permet de sélectionner le bief, le panneau inférieur gauche vous permet de sélectionner une section en travers dans ce bief. Les trois diagrammes sur la droite montrent le bief et la section en travers de la même manière que dans la fenêtre \textit{Géométrie}. Vous pouvez utiliser le curseur du bas pour visualiser la côte de l'eau à différents pas de temps.
|
||||
Pour visualiser le débit, passez à l'onglet \textit{Hydrogramme}.
|
||||
Pour créer des tracés 2D personnalisés, cliquez sur le bouton \includegraphics[width=0.5cm]{gtk_add.png} en haut à gauche de la fenêtre. Sélectionnez les valeurs que vous voulez sur les axes $X$ et $Y$ et cliquez sur \textit{OK}.
|
||||
Pour créer des tracés 2D personnalisés, cliquez sur le bouton \includegraphics[width=0.5cm]{img/gtk_add.png} en haut à gauche de la fenêtre. Sélectionnez les valeurs que vous voulez sur les axes $X$ et $Y$ et cliquez sur \textit{OK}.
|
||||
Vous pouvez maintenant voir un nouvel onglet avec le tracé 2D personnalisé dans le panneau droit de la fenêtre \textit{Results}.
|
||||
|
||||
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
|
@ -25,7 +25,7 @@
|
|||
}
|
||||
|
||||
\begin{document}
|
||||
\includegraphics[width=5cm]{Logo-INRAE_Transparent.png}
|
||||
\includegraphics[width=5cm]{img/Logo-INRAE_Transparent.png}
|
||||
|
||||
~
|
||||
|
||||
|
|
@ -93,17 +93,17 @@ Authors : & Pierre-Antoine Rouby & pierre-antoine.rouby@inrae.fr\tabularnewline
|
|||
|
||||
\pagebreak{}
|
||||
|
||||
\section{Introduction}
|
||||
|
||||
TODO
|
||||
|
||||
\pagebreak{}
|
||||
% \section{Introduction}
|
||||
%
|
||||
% TODO
|
||||
%
|
||||
% \pagebreak{}
|
||||
|
||||
\section{Install Pamhyr2}
|
||||
|
||||
Pamhyr2 can be downloaded from \url{https://gitlab.irstea.fr/theophile.terraz/pamhyr}.
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{dl.png}
|
||||
\includegraphics[width=15cm]{img/dl.png}
|
||||
\par\end{center}
|
||||
|
||||
Use the GNU Linux or the Windows download button depending on your system. On windows, launch the installer. On Linux, unpack the archive and launch Pamhyr2.
|
||||
|
|
@ -114,10 +114,10 @@ Use the GNU Linux or the Windows download button depending on your system. On wi
|
|||
On the main windows, click on \texttt{[Files] => [New Study]} to create a new study.
|
||||
|
||||
Click on \texttt{[River Network] => [Edit River Network]} to create the reaches of your river. In this window, you must define an oriented graph that represents the reaches of your river network: the edges are the reaches and the nodes are either upstream boundary conditions, downstream boundary conditions or junctions.
|
||||
Press the \includegraphics[width=0.5cm]{gtk_add.png} to enter the \textit{add} mode. Create two nodes by clicking in the grey zone of the window, and create a link by clicking again on each node. press \includegraphics[width=0.5cm]{gtk_add.png} again to exit the \textit{add} mode. You created your first reach, with an upstream node and a downstream node. In the lower part of the \textit{Edit River Network} window you can rename the nodes and the reaches. As the reach you created is automaticaly selected, all the next steps will apply to this reach. The window should look like that:
|
||||
Press the \includegraphics[width=0.5cm]{img/gtk_add.png} to enter the \textit{add} mode. Create two nodes by clicking in the grey zone of the window, and create a link by clicking again on each node. press \includegraphics[width=0.5cm]{img/gtk_add.png} again to exit the \textit{add} mode. You created your first reach, with an upstream node and a downstream node. In the lower part of the \textit{Edit River Network} window you can rename the nodes and the reaches. As the reach you created is automaticaly selected, all the next steps will apply to this reach. The window should look like that:
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{network.png}
|
||||
\includegraphics[width=15cm]{img/network.png}
|
||||
\par\end{center}
|
||||
|
||||
Close the \textit{Edit River Network} window.
|
||||
|
|
@ -128,17 +128,17 @@ Close the \textit{Edit River Network} window.
|
|||
Click on \texttt{[Geometry] => [Edit Geometry]} to define the geometry of the selected bief. Click on the \texttt{[Import]} button and select the file \texttt{Data/Bief\_1.st}. You should see:
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{Geo.png}
|
||||
\includegraphics[width=15cm]{img/Geo.png}
|
||||
\par\end{center}
|
||||
|
||||
On the left panel is a list of all the cross sections with their name and longitudinal abscisa. In the top left plot you can see the top view of the river, on the top right panel the longitudinal cross-section of the river and in the bottom plot you can see the selected cross-section (blue) along with the next one (dashed purple) and previous one (dashed black). You can move in the section list using the slider at the very right of the window.
|
||||
|
||||
You can edit the selected cross section by clicking on the \includegraphics[width=0.5cm]{"../../../src/View/ui/ressources/edit.png"} icon.
|
||||
You can edit the selected cross section by clicking on the \includegraphics[width=0.5cm]{"img/edit.png"} icon.
|
||||
|
||||
select the cross section named \textit{PontRD101m} and open the edition window. You should see:
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{editsect.png}
|
||||
\includegraphics[width=15cm]{img/editsect.png}
|
||||
\par\end{center}
|
||||
|
||||
On the left panel is the list of all the points of the section, with their coordinates, their name and their transversal absisa. The Z coordinate of the highest point is written in blue and the lowest in red. Points can have a name. If a point with the same name exists in every section in a reach, it forms a longitudinal line. For example, here we have \textit{rg} and \textit{rd} which represent the left bank and the right bank of the main chanel.
|
||||
|
|
@ -150,7 +150,7 @@ On the plot is a projection of the cross section. You can use \texttt{[ctrl + cl
|
|||
From the main window, click on \texttt{[Hydraulics] => [Boundary conditions and punctual contributions]}.You should see:
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{boundary.png}
|
||||
\includegraphics[width=15cm]{img/boundary.png}
|
||||
\par\end{center}
|
||||
|
||||
Use the \textit{add} button on the top left of the window to add a liquid boundary condition.
|
||||
|
|
@ -159,14 +159,14 @@ From the main window, click on \texttt{[Hydraulics] => [Boundary conditions and
|
|||
Select the \textit{Type} cell and use the combo box to put a Q(t) law.
|
||||
Select the \textit{Node} cell and atribute this condition to the upstream node.
|
||||
Names of the nodes are recalled in network in the right panel.
|
||||
Now select the whole line and click on the edit button \includegraphics[width=0.5cm]{"../../../src/View/ui/ressources/edit.png"}. You opened the \textit{Edit Boundary Conditions} window.
|
||||
Now select the whole line and click on the edit button \includegraphics[width=0.5cm]{"img/edit.png"}. You opened the \textit{Edit Boundary Conditions} window.
|
||||
On a text editor, open the \texttt{Data/Fevrier\_2002.txt} file. Copy the content of the file (for example with \textit{ctrl+a ctrl+c}) and paste it in the left panel of the \textit{Edit Boundary Conditions} window with \textit{ctrl+v}. You can now see the flow discharge curve:
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{fev2002.png}
|
||||
\includegraphics[width=15cm]{img/fev2002.png}
|
||||
\par\end{center}
|
||||
|
||||
Close this window. Go back on the \textit{Boundary Conditions} window. Add a new line, give it a name, give it the textit{Z(T)} type and associate it to the downstream node of the network. Open the \textit{Edit Boundary Conditions} window (\includegraphics[width=0.5cm]{"../../../src/View/ui/ressources/edit.png"}). Add two lines. In the first one, enter time: 0.00.00 and Z: 15.000.
|
||||
Close this window. Go back on the \textit{Boundary Conditions} window. Add a new line, give it a name, give it the textit{Z(T)} type and associate it to the downstream node of the network. Open the \textit{Edit Boundary Conditions} window (\includegraphics[width=0.5cm]{"img/edit.png"}). Add two lines. In the first one, enter time: 0.00.00 and Z: 15.000.
|
||||
On the second one, time: 1.00.00 and Z: 15.000. It creates a constant downstream water elevation. For the computaion, Mage will extrapolate continuously the water elevation, that's why we only need to define one hour.
|
||||
You can close the the \textit{Edit Boundary Conditions} and the \textit{Boundary Conditions} window.
|
||||
|
||||
|
|
@ -177,7 +177,7 @@ If you don't know the initial conditions in water elevation and flow discharge o
|
|||
Click on \texttt{[Generate from discharge]} and enter a discharge of $4 m^2$ in the pop-up window to generate an initial water height condition based on the Manning-Strickler formula and a uniform discharge of $4 m^2$. You should see:
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{ic.png}
|
||||
\includegraphics[width=15cm]{img/ic.png}
|
||||
\par\end{center}
|
||||
|
||||
Close the \textit{Initial conditions} window.
|
||||
|
|
@ -186,16 +186,16 @@ Close the \textit{Initial conditions} window.
|
|||
\section{Edit friction coefficients}
|
||||
|
||||
From the main window, click on \texttt{[Hydraulics] => [Edit friction]}.
|
||||
You fist have to define sets of Strickler coefficients. Click on \includegraphics[width=0.5cm]{"../../../src/View/ui/ressources/edit.png"} to open the \textit{Strickler} window. Here you can create couples of Strickler coefficients, the first one for the minor bed, the second one for the medium bed. Click on \textit{add} four times to create four new couple. Give them the folowing values:
|
||||
You fist have to define sets of Strickler coefficients. Click on \includegraphics[width=0.5cm]{"img/edit.png"} to open the \textit{Strickler} window. Here you can create couples of Strickler coefficients, the first one for the minor bed, the second one for the medium bed. Click on \textit{add} four times to create four new couple. Give them the folowing values:
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{K.png}
|
||||
\includegraphics[width=15cm]{img/K.png}
|
||||
\par\end{center}
|
||||
|
||||
Close the \textit{Strickler} window. On the \textit{Edit friction} window, add four lines with the button \includegraphics[width=0.5cm]{gtk_add.png} to create four friction zones. Each zone is defined by a \textit{begin} and \textit{end} KP and a \textit{begin} and \textit{end} Strickler couple. The strickler coefficient couples inside a zone are interpolated from the \textit{begin} and \textit{end} couples. In our case, we will use constant coefficients per zone. Set the zones as follow:
|
||||
Close the \textit{Strickler} window. On the \textit{Edit friction} window, add four lines with the button \includegraphics[width=0.5cm]{img/gtk_add.png} to create four friction zones. Each zone is defined by a \textit{begin} and \textit{end} KP and a \textit{begin} and \textit{end} Strickler couple. The strickler coefficient couples inside a zone are interpolated from the \textit{begin} and \textit{end} couples. In our case, we will use constant coefficients per zone. Set the zones as follow:
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{frictions.png}
|
||||
\includegraphics[width=15cm]{img/frictions.png}
|
||||
\par\end{center}
|
||||
|
||||
The selected zone is highlighted in blue. Close the \textit{Edit friction} window.
|
||||
|
|
@ -204,34 +204,34 @@ The selected zone is highlighted in blue. Close the \textit{Edit friction} windo
|
|||
\section{Model hydraulic structures}
|
||||
|
||||
Sometimes there can be cross-sections in which Shallow water equations can not be used to model the water flow. In that case, we have to define an other law to link the water elevation and the flow discharge. This is the case, for example, under bridges when the water elevation is too high, leading to a flow in charge. Pamhyr2 enables to define various hydraulic structures with laws that can be parametrized. In our case, a weir and two bridges have to be represented as hydraulic structures.
|
||||
From the main window, click on \texttt{[Hydraulics] => [Hydraulic structures]} to open the hydraulic structures window. Click tree times on the \includegraphics[width=0.5cm]{gtk_add.png} button to create three hydraulic structures. Each structure can have a name and must have a reach and a KP. Set them as follow:
|
||||
From the main window, click on \texttt{[Hydraulics] => [Hydraulic structures]} to open the hydraulic structures window. Click tree times on the \includegraphics[width=0.5cm]{img/gtk_add.png} button to create three hydraulic structures. Each structure can have a name and must have a reach and a KP. Set them as follow:
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{hs.png}
|
||||
\includegraphics[width=15cm]{img/hs.png}
|
||||
\par\end{center}
|
||||
|
||||
Select the downstream weir and click on \includegraphics[width=0.5cm]{"../../../src/View/ui/ressources/edit.png"} to edit the laws of this structure. Hydraulic structures are composed of basic hydraulic structures. You can combine the laws of several basic hydraulic structures to setup your structure. For this weir, we only need a weir basic hydraulic structure. Click on \includegraphics[width=0.5cm]{gtk_add.png} to add a new basic hydraulic structure, give it the \textit{weir} type and set it up as folow:
|
||||
Select the downstream weir and click on \includegraphics[width=0.5cm]{"img/edit.png"} to edit the laws of this structure. Hydraulic structures are composed of basic hydraulic structures. You can combine the laws of several basic hydraulic structures to setup your structure. For this weir, we only need a weir basic hydraulic structure. Click on \includegraphics[width=0.5cm]{img/gtk_add.png} to add a new basic hydraulic structure, give it the \textit{weir} type and set it up as folow:
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{seuil.png}
|
||||
\includegraphics[width=15cm]{img/seuil.png}
|
||||
\par\end{center}
|
||||
|
||||
Go back to the \textit{hydraulic structures} window.
|
||||
|
||||
Select the RS101 bridge and click on \includegraphics[width=0.5cm]{"../../../src/View/ui/ressources/edit.png"} to edit the laws of this structure. A bridge can be modeled as a combination of an orifice for the flow under the bridge and a weir for the flow over the bridge. Create two basic hydraulic structures and set them as folow:
|
||||
Select the RS101 bridge and click on \includegraphics[width=0.5cm]{"img/edit.png"} to edit the laws of this structure. A bridge can be modeled as a combination of an orifice for the flow under the bridge and a weir for the flow over the bridge. Create two basic hydraulic structures and set them as folow:
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{seuilRS101.png}
|
||||
\includegraphics[width=15cm]{img/seuilRS101.png}
|
||||
|
||||
\includegraphics[width=15cm]{orificeRS101.png}
|
||||
\includegraphics[width=15cm]{img/orificeRS101.png}
|
||||
\par\end{center}
|
||||
|
||||
Go back to the \textit{hydraulic structures} window and aply the same procedure for the Thivencelle bridge:
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{orificeThivencelle.png}
|
||||
\includegraphics[width=15cm]{img/orificeThivencelle.png}
|
||||
|
||||
\includegraphics[width=15cm]{seuilThivencelle.png}
|
||||
\includegraphics[width=15cm]{img/seuilThivencelle.png}
|
||||
\par\end{center}
|
||||
|
||||
You can now close the \textit{hydraulic structures} windows.
|
||||
|
|
@ -242,7 +242,7 @@ From the main window, click on \texttt{[Execute] => [Numerical parameters for so
|
|||
In the window \textit{solver parameters} select the \textit{Mage v8} tab. Set the solver parameters as follow:
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{param.png}
|
||||
\includegraphics[width=15cm]{img/param.png}
|
||||
\par\end{center}
|
||||
|
||||
Close the \textit{solver parameters} window.
|
||||
|
|
@ -259,7 +259,7 @@ From the \textit{Solver log} window you can re-run the computation, and from the
|
|||
|
||||
If you closed the textit{Solver log} window, you can click on \texttt{[Results] => [Visualize last results]} from the main window to open the \textit{Results} window. The top lets panel let you select your reach, the bottom left panel lets you select a cross-section in that reach. the three plots on the right show the reach and the cross-section the same way than in the \textit{Geometry} window. You can use the bottom slider to visualize the water elevation at different timesteps.
|
||||
To visualize the flow discharge, switch to the \textit{Hydrograph} tab.
|
||||
To create custom 2D plots, click on the \includegraphics[width=0.5cm]{gtk_add.png} button on the top left of the window. Select the values you want on the $X$ and $Y$ axis and click on \textit{OK}.
|
||||
To create custom 2D plots, click on the \includegraphics[width=0.5cm]{img/gtk_add.png} button on the top left of the window. Select the values you want on the $X$ and $Y$ axis and click on \textit{OK}.
|
||||
You can now see a new tab with the custom 2D plot in the right panel of the \textit{Results} window.
|
||||
|
||||
|
||||
|
|
|
|||