diff --git a/CHANGELOG.md b/CHANGELOG.md index d8b7f46c7c2f9db4c39c6d6a0b84840c9ae1b9c0..8f4e37e7d1794030d22e41ea44f46d1d3467a34b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Historique des versions +## 4.7.0 - 2019-10-29 (AGB - Agence Grolandaise pour la Biodiversité) + +### Nouvelles fonctionnalités + * Solveur multi-modules ([jalhyd#152](https://gitlab.irstea.fr/cassiopee/jalhyd/issues/152), [nghyd#301](https://gitlab.irstea.fr/cassiopee/nghyd/issues/301)) + * Nouvelle loi d'ouvrage: Orifice Dénoyé ([jalhyd#156](https://gitlab.irstea.fr/cassiopee/jalhyd/issues/156), [nghyd#311](https://gitlab.irstea.fr/cassiopee/nghyd/issues/311)) + * Script de déploiement d'une nouvelle version (sur Aubes) ([cassiopee2-integration#9](https://gitlab.irstea.fr/cassiopee/cassiopee2-integration/issues/9)) + * Documentation lois d'ouvrages CEM88 V et D ([nghyd#315](https://gitlab.irstea.fr/cassiopee/nghyd/issues/315)) + * Remous: connecter le ressaut sur un seul point lorsque le ressaut est court (une seule abscisse) ([nghyd#312](https://gitlab.irstea.fr/cassiopee/nghyd/issues/312)) + +### Correction de bogues + * Lois d'ouvrages: bug à l'affichage des résultats variés lorsque le calcul échoue ([jalhyd#163](https://gitlab.irstea.fr/cassiopee/jalhyd/issues/163)) + * PAB : problème de cotes sur les cloisons ([jalhyd#158](https://gitlab.irstea.fr/cassiopee/jalhyd/issues/158)) + * Calcul en chaîne: stopper la chaîne si une erreur survient ([jalhyd#155](https://gitlab.irstea.fr/cassiopee/jalhyd/issues/155)) + * Diagramme de Jet / de Section : problème de rafraîchissement ([nghyd#308](https://gitlab.irstea.fr/cassiopee/nghyd/issues/308)) + * Remous : il manque parfois une abscisse ([jalhyd#147](https://gitlab.irstea.fr/cassiopee/jalhyd/issues/147)) + +### Mises à jour de dépendances + * chartjs-plugin-zoom 0.7.4 + + ## 4.6.1 - 2019-10-15 ### Nouvelles fonctionnalités diff --git a/docs-fr/calculators/structures/orifice_denoye.md b/docs-fr/calculators/structures/orifice_denoye.md new file mode 100644 index 0000000000000000000000000000000000000000..0eb20d9d1671621c3431b024d43a373aadde1c85 --- /dev/null +++ b/docs-fr/calculators/structures/orifice_denoye.md @@ -0,0 +1,22 @@ +# Formule de l'orifice dénoyé + + + +*Extrait de CARLIER, M. (1972). Hydraulique générale et appliquée. OCLC : 421635236. Paris : Eyrolles* + +La formule générale pour un orifice ou un ajutage dénoyé est la suivante (CARLIER, 1972) : + +$$Q = C_d S \sqrt{2g H}$$ + +Avec : + +* \(Q\) le débit en m<sup>3</sup>/s ; +* \(C_d\) le coefficient de débit; +* \(S\) la surface de l'orifice en m<sup>2</sup> ; +* \(g\) l'accélération de la pesanteur terrestre égale à 9.81 m/s<sup>2</sup> +* \(H\) La la hauteur d'eau mesurée entre la surface de l'eau et le centre de l'orifice en mètres. + +La surface \(S\) à prendre en compte est la section la plus réduite de l’orifice ou de l’ajutage +(Figure 5.12c). +Le coefficient de débit \(C_d\) varie en fonction du type d’orifice ou d’ajutage. La Figure 5.12 +présente les formes et les coefficients de débit les plus courants (Source CARLIER, 1972). diff --git a/docs-fr/calculators/structures/orifice_denoye_schema.png b/docs-fr/calculators/structures/orifice_denoye_schema.png new file mode 100644 index 0000000000000000000000000000000000000000..0b01084c56804731a7be2aa8f057bc0893ec439e Binary files /dev/null and b/docs-fr/calculators/structures/orifice_denoye_schema.png differ diff --git a/e2e/pab.e2e-spec.ts b/e2e/pab.e2e-spec.ts index 2ce10079a04e678a44eb574b21949461e9b93275..fe18716cb8ef57d4f78525cd8a2c0b9a17a5b2c4 100644 --- a/e2e/pab.e2e-spec.ts +++ b/e2e/pab.e2e-spec.ts @@ -278,7 +278,7 @@ describe("ngHyd − Passe à Bassins", () => { calcPage.changeSelectValue(pve, 3); await browser.sleep(300); // check absence of logs - expect(await calcPage.nbLogEntries()).toBe(2); + expect(await calcPage.nbLogEntries()).toBe(1); }); }); diff --git a/jalhyd_branch b/jalhyd_branch index ea6e112831ba5266d0e02c0edd8e35ea6116e1ae..48817ce02541c4633023d45f4b03df454e378dfd 100644 --- a/jalhyd_branch +++ b/jalhyd_branch @@ -1 +1 @@ -147-remous-il-manque-parfois-une-abscisse +156-lois-d-ouvrages-orifice-denoye diff --git a/mkdocs.yml b/mkdocs.yml index 494990a4bff45ffb80445e29366f5f64a261cba0..90ad4cdd09b5073e175f40c659498879481bcbdf 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -40,6 +40,7 @@ nav: - Equations d'ouvrages: - calculators/structures/kivi.md - calculators/structures/orifice_noye.md + - calculators/structures/orifice_denoye.md - calculators/structures/fente_noyee.md - calculators/structures/dever_triang.md - calculators/structures/dever_triang_tronque.md diff --git a/src/app/calculators/cloisons/cloisons.en.json b/src/app/calculators/cloisons/cloisons.en.json index 358a74f9e7d5b6107576f0038aba044ef6957992..58d77baece675d96ea1c8519930b0694e55881d9 100644 --- a/src/app/calculators/cloisons/cloisons.en.json +++ b/src/app/calculators/cloisons/cloisons.en.json @@ -10,6 +10,7 @@ "select_structure_SeuilRectangulaire": "Rectangular weir", "select_loidebit_Orifice_OrificeSubmerged": "Submerged orifice", + "select_loidebit_Orifice_OrificeFree": "Free orifice", "select_loidebit_SeuilRectangulaire_WeirSubmergedLarinier": "Submerged slot (Larinier 1992)", "select_loidebit_SeuilRectangulaire_WeirVillemonte": "Villemonte 1947", diff --git a/src/app/calculators/cloisons/cloisons.fr.json b/src/app/calculators/cloisons/cloisons.fr.json index e7a969a49ce3b641a98d23c76fa84560bdf44379..234a1959c44c161ad6914c1f08f3371f47902b4f 100644 --- a/src/app/calculators/cloisons/cloisons.fr.json +++ b/src/app/calculators/cloisons/cloisons.fr.json @@ -7,6 +7,7 @@ "select_structure_SeuilRectangulaire": "Seuil rectangulaire", "select_loidebit_Orifice_OrificeSubmerged": "Orifice noyé", + "select_loidebit_Orifice_OrificeFree": "Orifice dénoyé", "select_loidebit_SeuilRectangulaire_WeirSubmergedLarinier": "Fente noyée (Larinier 1992)", "select_loidebit_SeuilRectangulaire_WeirVillemonte": "Villemonte 1947", diff --git a/src/app/calculators/parallel-structures/parallel-structures.config.json b/src/app/calculators/parallel-structures/parallel-structures.config.json index 0a1504b21786497a7b0a66dc9ba7eeab0abe8384..b4a36f3cd5146b04d8c38cf3d64052f0566e9d98 100644 --- a/src/app/calculators/parallel-structures/parallel-structures.config.json +++ b/src/app/calculators/parallel-structures/parallel-structures.config.json @@ -32,6 +32,7 @@ "VanneRectangulaire_GateCem88d": "structures/cem_88_d.html", "VanneRectangulaire_GateCem88v": "structures/cem_88_v.html", "Orifice_OrificeSubmerged": "structures/orifice_noye.html", + "Orifice_OrificeFree": "structures/orifice_denoye.html", "SeuilRectangulaire_WeirSubmergedLarinier": "structures/fente_noyee.html", "SeuilRectangulaire_WeirFree": "structures/kivi.html", "SeuilTriangulaire_TriangularWeirFree": "structures/dever_triang.html", @@ -47,12 +48,14 @@ "CdWR", "CdGR", "CdT", + "CdO", "alpha", "beta", "ZRAM", "alpha2", "BT", - "ZT" + "ZT", + "Zco" ] }, { diff --git a/src/app/calculators/parallel-structures/parallel-structures.en.json b/src/app/calculators/parallel-structures/parallel-structures.en.json index df9a1d99a656287f0649e247678c32fc634993a8..3491613396634b1f203b14cab5bae650485e6878 100644 --- a/src/app/calculators/parallel-structures/parallel-structures.en.json +++ b/src/app/calculators/parallel-structures/parallel-structures.en.json @@ -9,6 +9,7 @@ "select_structure_SeuilTriangulaireTrunc": "Truncated triangular weir", "select_loidebit_Orifice_OrificeSubmerged": "Submerged orifice", + "select_loidebit_Orifice_OrificeFree": "Free orifice", "select_loidebit_VanneRectangulaire_GateCem88d": "Weir/Orifice Cemagref 88", "select_loidebit_VanneRectangulaire_GateCem88v": "Weir/Undershot gate Cemagref 88", diff --git a/src/app/calculators/parallel-structures/parallel-structures.fr.json b/src/app/calculators/parallel-structures/parallel-structures.fr.json index 992f033e1f78d947bbfaed5935f59e758311441b..a836581856761bb5b25c534d1a21328971a327aa 100644 --- a/src/app/calculators/parallel-structures/parallel-structures.fr.json +++ b/src/app/calculators/parallel-structures/parallel-structures.fr.json @@ -9,6 +9,7 @@ "select_structure_VanneRectangulaire": "Vanne rectangulaire", "select_loidebit_Orifice_OrificeSubmerged": "Orifice noyé", + "select_loidebit_Orifice_OrificeFree": "Orifice dénoyé", "select_loidebit_VanneRectangulaire_GateCem88d": "Déversoir/Orifice Cemagref 88", "select_loidebit_VanneRectangulaire_GateCem88v": "Déversoir/Vanne de fond Cemagref 88", diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json index 31ee34a9105250c46df8eced4fd22f0d00e418c6..5813ebc2ebfdfac185c39ab741fd6a1465c8bd12 100644 --- a/src/locale/messages.en.json +++ b/src/locale/messages.en.json @@ -2,6 +2,7 @@ "ERROR_CLOISON_AVAL_UN_OUVRAGE_REGULE": "Only one regulated device is allowed on the downstream wall", "WARNING_DEVER_ZR_SUP_Z1": "Elevation of the river bed can't be higher than water elevation: Impossible to calculate the kinetic energy", "WARNING_DOWNSTREAM_ELEVATION_POSSIBLE_SUBMERSION": "Downstream elevation is higher than weir elevation (possible submersion)", + "WARNING_ORIFICE_FREE_DOWNSTREAM_ELEVATION_POSSIBLE_SUBMERSION": "Downstream elevation is higher than orifice center elevation (possible submersion)", "WARNING_NOTCH_SUBMERSION_GREATER_THAN_07": "Notch formula is discouraged when submersion is greater than 0.7", "WARNING_SLOT_SUBMERSION_NOT_BETWEEN_07_AND_09": "Slot formula is discouraged when submersion is lower than 0.7 or greater than 0.9", "WARNING_ERRORS_ABSTRACT": "%nb% errors occurred during calculation", @@ -273,6 +274,7 @@ "INFO_LIB_Z": "Water level", "INFO_LIB_Z1": "Upstream water level", "INFO_LIB_Z2": "Downstream water level", + "INFO_LIB_ZCO": "Orifice center elevation", "INFO_LIB_ZDV": "Crest weir elevation or gate base", "INFO_LIB_ZF2": "Downstream bottom elevation", "INFO_LIB_ZRAM": "Upstream apron elevation", @@ -288,6 +290,7 @@ "INFO_LOIDEBIT_KIVI": "Kindsvater-Carter and Villemonte", "INFO_LOIDEBIT_WeirSubmergedLarinier": "Submerged slot (Larinier 1992)", "INFO_LOIDEBIT_OrificeSubmerged": "Submerged orifice", + "INFO_LOIDEBIT_OrificeFree": "Free orifice", "INFO_LOIDEBIT_TriangularWeirFree": "Free flow triangular weir", "INFO_LOIDEBIT_TriangularTruncWeirFree": "Free flow truncated triangular weir", "INFO_LOIDEBIT_GateCem88d": "Weir/Orifice Cemagref 88", diff --git a/src/locale/messages.fr.json b/src/locale/messages.fr.json index afa23d2bf557b3c9e4f11599604426eb645b3175..4f4f73fdf92d7765fbc08b13da038565a867ffa1 100644 --- a/src/locale/messages.fr.json +++ b/src/locale/messages.fr.json @@ -2,6 +2,7 @@ "ERROR_CLOISON_AVAL_UN_OUVRAGE_REGULE": "Un seul ouvrage régulé est autorisé sur la cloison aval", "WARNING_DEVER_ZR_SUP_Z1": "La cote du lit du cours d'eau ne peut pas être supérieure à la cote de l'eau : Impossible de calculer l'énergie cinétique", "WARNING_DOWNSTREAM_ELEVATION_POSSIBLE_SUBMERSION": "La cote de l'eau aval est plus élevée que la cote du seuil (ennoiement possible)", + "WARNING_ORIFICE_FREE_DOWNSTREAM_ELEVATION_POSSIBLE_SUBMERSION": "La cote de l'eau aval est plus élevée que la cote du centre de l'orifice (ennoiement possible)", "WARNING_NOTCH_SUBMERSION_GREATER_THAN_07": "La formule de l'échancrure n'est pas conseillée pour un ennoiement supérieur à 0.7", "WARNING_SLOT_SUBMERSION_NOT_BETWEEN_07_AND_09": "La formule de la fente n'est pas conseillée pour un ennoiement inférieur à 0.7 et supérieur à 0.9", "WARNING_ERRORS_ABSTRACT": "%nb% erreurs rencontrées lors du calcul", @@ -272,6 +273,7 @@ "INFO_LIB_Z": "Niveau d'eau", "INFO_LIB_Z1": "Cote de l'eau amont", "INFO_LIB_Z2": "Cote de l'eau aval", + "INFO_LIB_ZCO": "Cote du centre de l'orifice", "INFO_LIB_ZDV": "Cote de la crête du déversoir ou du radier de la vanne", "INFO_LIB_ZF2": "Cote de fond aval", "INFO_LIB_ZRAM": "Cote du radier amont", @@ -287,6 +289,7 @@ "INFO_LOIDEBIT_KIVI": "Kindsvater-Carter et Villemonte", "INFO_LOIDEBIT_WeirSubmergedLarinier": "Fente noyée (Larinier 1992)", "INFO_LOIDEBIT_OrificeSubmerged": "Orifice noyé", + "INFO_LOIDEBIT_OrificeFree": "Orifice dénoyé", "INFO_LOIDEBIT_TriangularWeirFree": "Déversoir triangulaire dénoyé", "INFO_LOIDEBIT_TriangularTruncWeirFree": "Déversoir triangulaire tronqué dénoyé", "INFO_LOIDEBIT_GateCem88d": "Déversoir/Orifice Cemagref 88",