Skip to content

Commit

Permalink
Fix in response to MODFLOW-USGS#1493 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
emorway-usgs committed Dec 30, 2023
1 parent 49d33cf commit 6578cdd
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 104 deletions.
40 changes: 21 additions & 19 deletions autotest/test_gwe_drycell_conduction0.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
# ## Test problem for GWE
#
# Test the energy "flowing" through a dry cell. The test checks for
# some of the flow-through energy being left behind and warming the
# cell it passes through. Based on the model appearing in the
# MT3D-USGS documention, pages 13-14. Dry cell is in layer 1, row 1
# column 4.
#
# +-------+-------+-------+-------+-------+-------+
# -> | -> | | | DRY | | |
# | | -> | | CELL| | |
# | | | -> -+-> | | | |
# +-------+-------+-------+---+---+-------+-------+
# | | | | v | | |
# -> | -> | -> | -> | -> | -> | -> | ->
# | | | | | | |
# +-------+-------+-------+-------+-------+-------+
#
# ---> Direction of flow --->
"""
Test problem for GWE
Test the energy "flowing" through a dry cell. The test checks for
some of the flow-through energy being left behind and warming the
cell it passes through. Based on the model appearing in the
MT3D-USGS documention, pages 13-14. Dry cell is in layer 1, row 1
column 4.
+-------+-------+-------+-------+-------+-------+
-> | -> | | | DRY | | |
| | -> | | CELL| | |
| | | -> -+-> | | | |
+-------+-------+-------+---+---+-------+-------+
| | | | v | | |
-> | -> | -> | -> | -> | -> | -> | ->
| | | | | | |
+-------+-------+-------+-------+-------+-------+
---> Direction of flow --->
"""

# Imports

Expand Down
66 changes: 34 additions & 32 deletions autotest/test_gwe_drycell_conduction1.py
Original file line number Diff line number Diff line change
@@ -1,35 +1,37 @@
# ## Test problem for GWE
#
# Test the energy "flowing" between two dry cells via conduction
# only using a temperature gradient
#
# ~: Represents conduction
#
# A) 1st model configuration
#
# +---------+---------+
# | |~ |
# | |~ |
# +---------+---------+
#
# B) 2nd model configuration
#
# +---------+
# | |
# | ~ ~ |
# +---------+
# | |
# | |
# +---------+
#
# C) 3rd model configuration
#
# +---------+
# +---------+ |
# | |~ |
# | +---------+
# +---------+
#
"""
Test problem for GWE
Test the energy "flowing" between two dry cells via conduction
only using a temperature gradient
~: Represents conduction
A) 1st model configuration
+---------+---------+
| |~ |
| |~ |
+---------+---------+
B) 2nd model configuration
+---------+
| |
| ~ ~ |
+---------+
| |
| |
+---------+
C) 3rd model configuration
+---------+
+---------+ |
| |~ |
| +---------+
+---------+
"""

# Imports

import os
Expand Down
87 changes: 44 additions & 43 deletions autotest/test_gwe_drycell_conduction2.py
Original file line number Diff line number Diff line change
@@ -1,46 +1,47 @@
# ## Test problem for GWE
#
# Test conduction from a partially saturated group of cells into their dry
# neighbors. Referring to this test as a flowing trough problem.
#
#
# Profile (side) view w/ approximate water table profile shown
# +-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
# |-------|_______|_______| | | | | | | | | |
# | | | |-------|_______| | | | | | | |
# | | | | | |-------|_______| | | | | |
# | | | | | | | |-------| | | | |
# | | | | | | | | |-------| | | |
# | | | | | | | | | |-------| | |
# | | | | | | | | | | |-------| |
# | | | | | | | | | | | |-------|
# | | | | | | | | | | | | |
# | | | | | | | | | | | | |
# | | | | | | | | | | | | |
# | | | | | | | | | | | | |
# +-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
#
# ^
# |
# v
#
# Profile view (all rows)
# +-------+-------+
# | | |
# | | | <- dry cell that's checked for warming owing to increasing
# | v +-------+ temperature of neighboring cell
# |-------| <- water table
# | |
# | |
# | |
# | |
# | |
# | |
# | |
# | |
# +-------+
#
#
"""
Test problem for GWE
Test conduction from a partially saturated group of cells into their dry
neighbors. Referring to this test as a flowing trough problem.
Profile view of columns w/ approximate water table profile shown
+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
|-------|_______|_______| | | | | | | | | |
| | | |-------|_______| | | | | | | |
| | | | | |-------|_______| | | | | |
| | | | | | | |-------| | | | |
| | | | | | | | |-------| | | |
| | | | | | | | | |-------| | |
| | | | | | | | | | |-------| |
| | | | | | | | | | | |-------|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
^
|
v
Profile view of rows
+-------+-------+
| | |
| | | <- dry cell that's checked for warming owing to increasing
| v +-------+ temperature of neighboring cell
|-------| <- water table
| |
| |
| |
| |
| |
| |
| |
| |
+-------+
"""

# Imports

import os
Expand Down
22 changes: 12 additions & 10 deletions autotest/test_gwe_dsp.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# ## Test problem for GWE
#
# One-Dimensional Transport in a Uniform Flow Field.
# The purpose of this script is to test the new heat transport model developed
# for MODFLOW 6. To that end, this problem uses the setup of the first MT3DMS
# test problem but adapts it for heat. MODFLOW 6 is setup using the new GWE
# model with input parameters entered in their native units.
#
# It may be possible to find a 1D heat transport analytical solution in the
# future.
"""
Test problem for GWE
One-Dimensional Transport in a Uniform Flow Field.
The purpose of this script is to test the new heat transport model developed
for MODFLOW 6. To that end, this problem uses the setup of the first MT3DMS
test problem but adapts it for heat. MODFLOW 6 is setup using the new GWE
model with input parameters entered in their native units.
It may be possible to find a 1D heat transport analytical solution in the
future.
"""

# Imports

Expand Down

0 comments on commit 6578cdd

Please sign in to comment.