From d53634f2ff9f7e3b66d7dff0e9bbdd72160d79e3 Mon Sep 17 00:00:00 2001 From: Terry Miller Date: Wed, 14 Aug 2024 11:17:40 -0600 Subject: [PATCH] Update testdesc.md --- .../fehmpytest-info/testdesc.md | 50 ++++++++++--------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/docs/getting-started/fehmpytest-info/testdesc.md b/docs/getting-started/fehmpytest-info/testdesc.md index 77011984..b06f1f82 100755 --- a/docs/getting-started/fehmpytest-info/testdesc.md +++ b/docs/getting-started/fehmpytest-info/testdesc.md @@ -5,7 +5,7 @@ permalink: /fehmpytest-info/testdesc hero_height: is-hidden --- -# Test-Case Description +# Test-Case Descriptions ### Topics @@ -14,27 +14,29 @@ hero_height: is-hidden * [Creating New Test-Cases](newtest.md) * Test-Case Description -| | | -|:---------------|:-----------------------| -|[fehmTest.**avdonin()**](/test-details/avdonin.md)|**Test the Radial Heat and Mass Transfer Problem**
Compares the generated contour and history files to old contour and history files that are known to be correct. For contour files, only the temperature values at time 2 are tested. For history files, all temperature values are tested.| -|[fehmTest.**baro_vel()**](/test-details/baro_vel.md)|**Test Pore-Scale Velocity in a Homogeneous Media**
Compares the generated contour files with the old files known to be correct. Tests times 3-6 for a root mean square difference of less than 0.01.| -|[fehmTest.**bodyforce()**](/test-details/bodyforce.md)|**Test greater flexibility for specifying body forces**
Compares results generated by three available syntax inputs to an old output files known to be correct.| -|[fehmTest.**boun()**](/test-details/boun.md)|**Test the Boundry Functionality**
Compares the generated contour files to old contour files that are known to be correct. Only the pressure and hydraulic head values at time 2 are tested.| -|[fehmTest.**cden()**](/test-details/cden.md)|**Test the Concentration Dependent Brine Density Functionality**
Compares generated history files to old history files that are known to be correct. Only the density values are tested.| -|[fehmTest.**cellbased()**](/test-details/cellbased.md)|**Test the Cell-Based Particle Tracking Model**
Compares the generated output files with the old files known be correct. All values are tested for a root mean square difference of less than 0.05.| -|[fehmTest.**colloid_filtration()**](/test-details/colloid_filtration.md)|**Test Colloid Filtration**
Compares the generated ptrk files with the old ptrk files known to be correct.| -|[fehmTest.**dissolution()**](/test-details/dissolution.md)|**Test the Dissoultion Macro**
A one-dimensional transport simulation of calcite (CaC03(s)) dissolution is tested. Profiles of concentration versus reactor length, at selected times, will be compared against the analytical solution.

Details of this test are described in the FEHM V2.21 Validation Test Plan on pages 93-95 (STN: 10086-2.21-00, Rev.No. 00, Document ID: 10086-VTP-2.21-00, August 2003.md)| -|[fehmTest.**doe()**](/test-details/doe.md)|**Test the DOE Code Comparison Project, Problem 5, Case A**
Compares the generated contour and history files to old contour and history files that are known to be correct. For contour files, only the pressure, temperature, and saturation values at time 3 are tested. For history files, all pressure, temperature, and saturation values are tested.| -|[fehmTest.**dryout()**](/test-details/dryout.md)|**Test Dry-Out of a Partially Saturated Medium**
Compares the generated contour files to old contour files known to be correct. The saturation is tested for all times.| -|[fehmTest.**head()**](/test-details/head.md)|**Test Head Pressure Problem**
Compares the generated contour files to old contour files that are known to be correct. Only the pressure values at day 2 are tested.| -|[fehmTest.**heat_pipe()**](/test-details/heat_pipe.md)|**Test the Heat Pipe Problem**
Compares the generated output files with the old files known to be correct. All values are tested.

RLPM subcases were excluded because they caused FEHM to produce too many negative volumes.| -|[fehmTest.**mptr()**](/test-details/mptr.md)|**Test Multi-Species Particle Tracking**
Compares the generated ptrk files with the old ptrk files knonw to be correct.| -|[fehmTest.**multi_solute()**](/test-details/multi_solute.md)|**Test Multi-Solute Transport with Chemical Reaction**
Compares the generated tracer files to old tracer files known to be correct. All concentraction values are tested.| -|[fehmTest.**ramey()**](/test-details/ramey.md)|**Test Temperature in a Wellbore Problem**
Compares the generated contour and history files to old contour and history file that are known to be correct. For the contour files, only the temperature values at time 2 are tested. For the history files, all temperature values are tested.| -|[fehmTest.**richards()**](/test-details/richards.md)|**Richards equation test**
Comparison of Richards equation with 2-phase solution Node by node comparison.| -|[fehmTest.**salt_perm_poro()**](/test-details/salt_perm_poro.md)|**Test the Salt Permeability and Porosity Macro**
The porosity-permeability function for compacted salt from Cinar et at. (2006) is tested using a six node problem with porosities from 0.01 to 0.2. The excel spreadsheet in information/salt-perm-poro.xlsx contains calculations of the perm-poro function.

Cinar, Y, G Pusch and V Reitenbach (2006) Petrophysical and capillary properties of compacted salt. Transport in Porous Media. 64, p. 199-228, doi: 10.1007/s11242-005-2848-1| -|[fehmTest.**saltvcon()**](/test-details/saltvcon.md)|**Test the Salt Variable Conductivity Macro**
Tests the calculations of thermal conductivity of crushed and intact salt.

Intact salt:
``kxi = k_{t-300}(300/T)^1.14`` *Munson et al. (1990) Overtest for Simulate Defense High-Level* *Waste (*Laboratories, SAND89-2671*

Thermal conductivity of crushed salt from Asse mine:
``kx_asse = -270*phi^4+370*phi^3-136*phi^2+1.5*phi+5`` *Bechtold et al. (2004) Backfilling and sealing of underground* *respositories for radioactive waste in salt *(BAMBUS II project), EUR 20621, ISBN 92-894-7767-9*

``kx = (k_{t-300}/kx_asse)*(300/T)^1.14`` if kx is less then 1.e-6, set to 1.e-6. If porosity is greater than 0.4, it is truncated as 0.4 since the Kx relationship is only valid within this range.

The excel spreadsheet /information/saltvcon.xlsx contains the associated calculations. | -|[fehmTest.**sorption()**](/test-details/sorption.md)|**Test One Dimensional Reactive Solute Transport**
Compares the generated tracer files to old tracer files known to be correct. All concentraction values are tested.| -|[fehmTest.**theis()**](/test-details/theis.md)|**Test Pressure Transient Analysis Problem**
Compares the generated contour files to old contour files known to be correct. Only the pressure values at time 2 are tested.| -|[fehmTest.**toronyi()**](/test-details/toronyi.md)|**Test the Toronyi Two-Phase Problem**
Compares the generated contour files with the old contour files known to be correct. Tests all values at time 2.0.| +## Test Cases + +Run Single Test cases: ```python fehmpytests.py ``` +Click on Test name for example FEHMN input files. + +| | | +|:---------------|:-----------------------| +|[fehmTest.**avdonin**](/test-details/avdonin.md)|**Test the Radial Heat and Mass Transfer Problem**
Compares the generated contour and history files to old contour and history files that are known to be correct. For contour files, only the temperature values at time 2 are tested. For history files, all temperature values are tested.| +|[**baro_vel**](/test-details/baro_vel.md)|**Test Pore-Scale Velocity in a Homogeneous Media**
Compares the generated contour files with the old files known to be correct. Tests times 3-6 for a root mean square difference of less than 0.01.| +|[**bodyforce**](/test-details/bodyforce.md)|**Test greater flexibility for specifying body forces**
Compares results generated by three available syntax inputs to an old output files known to be correct.| +|[**boun**](/test-details/boun.md)|**Test the Boundry Functionality**
Compares the generated contour files to old contour files that are known to be correct. Only the pressure and hydraulic head values at time 2 are tested.| +|[**cden**](/test-details/cden.md)|**Test the Concentration Dependent Brine Density Functionality**
Compares generated history files to old history files that are known to be correct. Only the density values are tested.| +|[**cellbased**](/test-details/cellbased.md)|**Test the Cell-Based Particle Tracking Model**
Compares the generated output files with the old files known be correct. All values are tested for a root mean square difference of less than 0.05.| +|[**colloid_filtration**](/test-details/colloid_filtration.md)|**Test Colloid Filtration**
Compares the generated ptrk files with the old ptrk files known to be correct.| +|[**dissolution**](/test-details/dissolution.md)|**Test the Dissoultion Macro**
A one-dimensional transport simulation of calcite (CaC03(s)) dissolution is tested. Profiles of concentration versus reactor length, at selected times, will be compared against the analytical solution.

Details of this test are described in the FEHM V2.21 Validation Test Plan on pages 93-95 (STN: 10086-2.21-00, Rev.No. 00, Document ID: 10086-VTP-2.21-00, August 2003.md)| +|[**doe**](/test-details/doe.md)|**Test the DOE Code Comparison Project, Problem 5, Case A**
Compares the generated contour and history files to old contour and history files that are known to be correct. For contour files, only the pressure, temperature, and saturation values at time 3 are tested. For history files, all pressure, temperature, and saturation values are tested.| +|[**dryout**](/test-details/dryout.md)|**Test Dry-Out of a Partially Saturated Medium**
Compares the generated contour files to old contour files known to be correct. The saturation is tested for all times.| +|[**head**](/test-details/head.md)|**Test Head Pressure Problem**
Compares the generated contour files to old contour files that are known to be correct. Only the pressure values at day 2 are tested.| +|[**heat_pipe**](/test-details/heat_pipe.md)|**Test the Heat Pipe Problem**
Compares the generated output files with the old files known to be correct. All values are tested.

RLPM subcases were excluded because they caused FEHM to produce too many negative volumes.| +|[**mptr**](/test-details/mptr.md)|**Test Multi-Species Particle Tracking**
Compares the generated ptrk files with the old ptrk files knonw to be correct.| +|[**multi_solute**](/test-details/multi_solute.md)|**Test Multi-Solute Transport with Chemical Reaction**
Compares the generated tracer files to old tracer files known to be correct. All concentraction values are tested.| +|[**ramey**](/test-details/ramey.md)|**Test Temperature in a Wellbore Problem**
Compares the generated contour and history files to old contour and history file that are known to be correct. For the contour files, only the temperature values at time 2 are tested. For the history files, all temperature values are tested.| +|[**richards**](/test-details/richards.md)|**Richards equation test**
Comparison of Richards equation with 2-phase solution Node by node comparison.| +|[**salt_perm_poro**](/test-details/salt_perm_poro.md)|**Test the Salt Permeability and Porosity Macro**
The porosity-permeability function for compacted salt from Cinar et at. (2006) is tested using a six node problem with porosities from 0.01 to 0.2. The excel spreadsheet in information/salt-perm-poro.xlsx contains calculations of the perm-poro function.

Cinar, Y, G Pusch and V Reitenbach (2006) Petrophysical and capillary properties of compacted salt. Transport in Porous Media. 64, p. 199-228, doi: 10.1007/s11242-005-2848-1| +|[**saltvcon**](/test-details/saltvcon.md)|**Test the Salt Variable Conductivity Macro**
Tests the calculations of thermal conductivity of crushed and intact salt.

Intact salt:
``kxi = k_{t-300}(300/T)^1.14`` *Munson et al. (1990) Overtest for Simulate Defense High-Level* *Waste (*Laboratories, SAND89-2671*

Thermal conductivity of crushed salt from Asse mine:
``kx_asse = -270*phi^4+370*phi^3-136*phi^2+1.5*phi+5`` *Bechtold et al. (2004) Backfilling and sealing of underground* *respositories for radioactive waste in salt *(BAMBUS II project), EUR 20621, ISBN 92-894-7767-9*

``kx = (k_{t-300}/kx_asse)*(300/T)^1.14`` if kx is less then 1.e-6, set to 1.e-6. If porosity is greater than 0.4, it is truncated as 0.4 since the Kx relationship is only valid within this range.

The excel spreadsheet /information/saltvcon.xlsx contains the associated calculations. |