Groundwater Modelling Advice: Difference between revisions

Content deleted Content added
 
(8 intermediate revisions by 2 users not shown)
Line 1:
= Introduction =
From the 2023-03 release and onwards, horizontal flow (advection) of water and multiple vertical groundwater layers when using TUFLOW HPC are supported. This page provides useful groundwater modelling advice to users.
 
= Groundwater Linking to 1D (ESTRY or SWMM) =
Since the 2025.2.0 release, TUFLOW supports connecting the 1D domain (either ESTRY or SWMM) to 2D groundwater layers. This enables users to model features such as detention basins with subsurface drainage or other green infrastructure directly within a TUFLOW model and represent groundwater and surface water impacts. The physical infrastructure collecting the groundwater varies, but is typically a perforated or slotted pipe in loose fill such as gravel or sand.
'''<font size=3><font color=red>This section is under construction</font></font>'''<br>
 
The discharge through the connection is typically modeled using a depth vs discharge curve where the depth applied is the pressure in the groundwater at the location of the connection. This relationship is often defined using the orifice equation where the orifice coefficient depends on the configuration. This section below contains guidance for generating a curve based on the orifice equation.
TUFLOW supports connecting the 1D domain (either ESTRY or SWMM) to 2D groundwater layers. This enables users to model features such as detention basins with subsurface drainage or other green infrastructure directly within a TUFLOW model and represent groundwater and surface water impacts.
 
== Depth vs Discharge Curves ==
Line 9 ⟶ 12:
[[File: orifice_equation.png]]<br>
Where:
*'''''C<sub>d</sub>A''''' is the dischargeorifice coefficient
:*'''''AC<sub>d</sub>''''' is the cross-sectionaldischarge area of the orificecoefficient
:*'''''A''''' is the cross-sectional area of the orifice
*'''''H<sub>up</sub>''''' is the upstream water level
*'''''H<sub>down</sub>''''' is the higher of the downstream obvert or downstream water level<br>
 
 
The following link provides some guidance on how to select the orifice coefficient: https://wiki.sustainabletechnologies.ca/wiki/Flow_through_perforated_pipe
 
=== Python ===
The following python code can be used to generate depth vs discharge curves, which can then be input into a model with groundwater linking to 1D.
 
<span style="color:#3776ab">'''import'''</span><span style="color:black"> math </span>
<span style="color:#3776ab">'''import'''</span><span style="color:black"> numpy<span style="color:#3776ab"> '''as'''</span> np</span><br>
Line 28 ⟶ 37:
<span style="color:#3776ab">'''if'''</span><span style="color:black"> __name__ == </span><span style="color:green">"__main__"</span><span style="color:black">:</span>
<span style="color:black"> use_us_units = </span><span style="color:#3776ab">False</span>
<span style="color:black"> orifice_coefficent_value = </span><span style="color:#3776ab">0.002 </span><span style="color:#808080"># Orifice coefficient</span>
<span style="color:black"> depth_max_value = </span><span style="color:#3776ab">2.0 </span><span style="color:#808080"># Maximum depth (in meters or feet)</span>
<span style="color:black"> depth_step_value = </span><span style="color:#3776ab">0.02 </span><span style="color:#808080"># Value to increment by (in meters or feet)</span><br>
<span style="color:black"> out_filename = </span><span style="color:green">"orifice_depth_vs_discharge.csv"</span><br>
<span style="color:black"> generate_orifice_depth_vs_discharge(use_us_units, orifice_coefficent_value, depth_max_value, depth_step_value, out_filename)</span>
 
=== Excel ===
The following excel file can be used to generate depth vs discharge curves, which can then be input into a model with groundwater linking to 1D. The file contains a two examples, one for Metric and one for US Customary.
 
<u>[https://downloads.tuflow.com/Private_Download/depth_vs_discharge.xlsx Depth vs Discharge - Excel]</u>
 
= Common Questions Answered (FAQ) =
Line 120 ⟶ 132:
Fine-tuning soil properties, hydraulic conductivity, and boundary conditions will improve interflow simulation accuracy.
 
== Why does the groundwater lateral flux calculation include porosity, and what changes are planned? ==
Benchmarking tests have identified that the current sub surface flow equation in TUFLOW underestimates steady state discharge rates due to the inclusion of porosity. While the steady state water level gradient is correct, transient state simulations show discrepancies.