From 6b7fcb7752df206d566716f146d092fa8d256f25 Mon Sep 17 00:00:00 2001 From: Pierre-Clement Simon Date: Sun, 13 Oct 2024 13:28:30 -0600 Subject: [PATCH] ver-1d and ver-1ja clean up prompted by ver-1jb case development (Close. #145) (Ref. #12) --- doc/content/verification_and_validation/ver-1d.md | 2 +- doc/content/verification_and_validation/ver-1ja.md | 6 +++--- test/tests/ver-1ja/comparison_ver-1ja.py | 1 - test/tests/ver-1ja/tests | 4 ++-- test/tests/ver-1ja/ver-1ja.i | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/doc/content/verification_and_validation/ver-1d.md b/doc/content/verification_and_validation/ver-1d.md index 52a7148b..317e5990 100644 --- a/doc/content/verification_and_validation/ver-1d.md +++ b/doc/content/verification_and_validation/ver-1d.md @@ -16,7 +16,7 @@ This verification problem is taken from [!cite](longhurst1992verification). It m \end{equation} and \begin{equation} - C_T^{empty} = (C_{T0} \cdot N - \text{trap\_per\_free} \cdot C_T ) , + C_T^{empty} = C_{T0} \cdot N - \text{trap\_per\_free} \cdot C_T , \end{equation} where $C_M$ and $C_T$ are the concentrations of the mobile and trapped species respectively, $D$ is the diffusivity of the mobile species, $\alpha_t$ and $\alpha_r$ are the trapping and release rate coefficients, $\text{trap\_per\_free}$ is a factor converting the magnitude of $C_T$ to be closer to $C_M$ for better numerical convergence, $C_{T0}$ is the fraction of host sites that can contribute to trapping, $C_T^{empty}$ is the concentration of empty trapping sites, and $N$ is the host density. diff --git a/doc/content/verification_and_validation/ver-1ja.md b/doc/content/verification_and_validation/ver-1ja.md index 77a48d46..d9064b72 100644 --- a/doc/content/verification_and_validation/ver-1ja.md +++ b/doc/content/verification_and_validation/ver-1ja.md @@ -1,8 +1,8 @@ # ver-1ja Two problems (ver-1ja and [ver-1jb](ver-1jb.md)) demonstrate tritium decay, though any other isotope could have been chosen. -The first (ver-1ja) is simple decay of mobile species in a slab. -The second ([ver-1jb](ver-1jb.md)) is decay of trapped atoms in a similar slab but with a distributed trap concentration. +The first (ver-1ja) models simple decay of mobile species in a slab. +The second ([ver-1jb](ver-1jb.md)) models decay of trapped atoms in a similar slab but with a distributed trap concentration. This page presents ver-1ja. # Radioactive Decay of Mobile Tritium in a Slab @@ -66,6 +66,6 @@ The TMAP8 predictions match the analytical solution, with root mean square perce ### Input file !style halign=left -The input file for this case can be found at [/ver-1ja.i]. +The input file for this case can be found at [/ver-1ja.i], which is also used as test in TMAP8 at [/ver-1ja/tests]. !bibtex bibliography diff --git a/test/tests/ver-1ja/comparison_ver-1ja.py b/test/tests/ver-1ja/comparison_ver-1ja.py index 3c5f1ea4..fbbc9e72 100644 --- a/test/tests/ver-1ja/comparison_ver-1ja.py +++ b/test/tests/ver-1ja/comparison_ver-1ja.py @@ -3,7 +3,6 @@ from matplotlib import gridspec import pandas as pd import os -from numpy import sin,tan,sqrt,exp # Changes working directory to script directory (for consistent MooseDocs usage) script_folder = os.path.dirname(__file__) diff --git a/test/tests/ver-1ja/tests b/test/tests/ver-1ja/tests index 505270ec..9d964f26 100644 --- a/test/tests/ver-1ja/tests +++ b/test/tests/ver-1ja/tests @@ -1,7 +1,7 @@ [Tests] - design = 'ver-1ja.md' + design = 'ver-1ja.md MatReaction.md' verification = 'ver-1ja.md' - issues = '#145' + issues = '#145 #12' [ver-1ja_csvdiff] type = CSVDiff input = ver-1ja.i diff --git a/test/tests/ver-1ja/ver-1ja.i b/test/tests/ver-1ja/ver-1ja.i index f452968f..ae8dda44 100644 --- a/test/tests/ver-1ja/ver-1ja.i +++ b/test/tests/ver-1ja/ver-1ja.i @@ -1,4 +1,4 @@ -# Verification Problem #1a from TMAP7 V&V document +# Verification Problem #1ja from TMAP7 V&V document # Radioactive Decay of Mobile Tritium in a Slab # Case and model parameters (adapted from TMAP7)