Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/content/theory_manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ At surfaces, atoms and molecules go through dissociations and recombinations, wh
There are two main dissociation/recombination conditions that TMAP7 offered, namely `ratedep` and `surfdep`.
These cases are both reproduced in TMAP8 in a more general way, and are detailed below:

### Ratedep conditions
### Dissociation and recombination reaction kinetics - Ratedep conditions

!style halign=left
The `ratedep` condition applies when dissociation and recombination reaction kinetics govern the surface reactions [!cite](ambrosek2008verification).
Expand Down Expand Up @@ -145,7 +145,7 @@ For example, [ver-1ia](ver-1ia.md) considers the following reaction and model:

!include /ver-1ia.md start=When two species react on a surface to form a third end=This case uses equal starting pressures

### Surfdep conditions
### Surface energy-driven kinetics - Surfdep conditions

!style halign=left
The `surfdep` condition applies when recombination is limited by surface energy.
Expand All @@ -169,7 +169,7 @@ For example, [ver-1ic](ver-1ic.md) considers the following reaction and model:

!include /ver-1ic.md start=The problem considers the reaction between end=This case uses equal starting pressures

## Surface Equilibrium
### Surface Equilibrium - Lawdep conditions

!style halign=left
Both conditions described capture dissociation and recombination reactions, including their kinetics.
Expand Down
2 changes: 1 addition & 1 deletion doc/content/verification_and_validation/val-2d.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ The pressures on the upstream and downstream sides are close to vacuum pressures
C = 0.
\end{equation}

Due to the high thermal conductivity in Tungsten, the model simplifies the thermal diffusion as a instantaneous process to increase the model efficiency. The temperature inside the Tungsten sample is consistent with the temperature on surface of Tungsten sample. The temperatures is 300 K during implantation, and the temperature after implantation on the upstream and downstream sides are defined as:
Due to the high thermal conductivity in Tungsten, the model simplifies the thermal diffusion as a instantaneous process to increase the model efficiency. The temperature inside the Tungsten sample is consistent with the temperature on the surface of Tungsten sample. The temperatures is 300 K during implantation, and the temperature after implantation on the upstream and downstream sides are defined as:

\begin{equation} \label{eq:temperature}
T =
Expand Down
10 changes: 5 additions & 5 deletions doc/content/verification_and_validation/val-2e.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ C_i = K_s P_{Ij}^{n},

where $K_s$ is the solubility of hydrogen isotope in the membrane, and $n$ is the exponent for the relation of pressure and concentration.

However, for the kinetics of surface reactions to be captured, the boundary conditions is set as
However, for the kinetics of surface reactions to be captured, the boundary conditions are set as

\begin{equation} \label{eq:recombination}
J_{ij} = 2 A (K_r C_i^2 - K_d P_{Ij}),
Expand Down Expand Up @@ -118,7 +118,7 @@ $T$ are the temperature.

## Case and Model Parameters

The pressure history of deuterium on the enclosure 5 for first three simulations (val-2ea, val-2eb, and val-2ec) is presented in [val-2e_abc_pressure_history], as shown in [val-2e_comparison_pressure_history]. The initial pressures on other enclosures are presented in [val-2e_abc_pressure_initial].
The pressure history of deuterium in enclosure 5 for the first three simulations (val-2ea, val-2eb, and val-2ec) is presented in [val-2e_abc_pressure_history], as shown in [val-2e_comparison_pressure_history]. The initial pressures on other enclosures are presented in [val-2e_abc_pressure_initial].

!table id=val-2e_abc_pressure_history caption=Values of deuterium pressure on enclosure 5 during simulations val-2ea, val-2eb, and val-2ec [!citep](ambrosek2008verification).
| time (s) | Pressure $P_{D_2,5}$ (Pa) |
Expand Down Expand Up @@ -152,7 +152,7 @@ The pressure history of deuterium on the enclosure 5 for first three simulations
| $P_{D_2,3}$ | Deuterium pressure in enclosure 3 | 1 $\times 10^{-6}$ | Pa |
| $P_{D_2,4}$ | Deuterium pressure in enclosure 4 | 1 $\times 10^{-10}$ | Pa |

The pressure history of D$_2$ on the enclosure 5 for next two simulations (val-2ed and val-2ee) is presented in [val-2e_de_pressure_history], as shown in [val-2e_comparison_mixture_pressure_history]. The initial pressures on other enclosures are presented in [val-2e_de_pressure_initial].
The pressure history of D$_2$ in enclosure 5 for the next two simulations (val-2ed and val-2ee) is presented in [val-2e_de_pressure_history], as shown in [val-2e_comparison_mixture_pressure_history]. The initial pressures on other enclosures are presented in [val-2e_de_pressure_initial].

!table id=val-2e_de_pressure_history caption=Values of deuterium pressure on enclosure 5 during simulations val-2ed and val-2ee [!citep](ambrosek2008verification).
| time (s) | Pressure $P_{D_2,5}$ (Pa) |
Expand Down Expand Up @@ -192,7 +192,7 @@ The pressure history of D$_2$ on the enclosure 5 for next two simulations (val-2


!alert note title=Updates of times and initial pressures in val-2ee to be consistent with val-2ed.
In [!cite](ambrosek2008verification), the times and initial pressures in val-2ee are different from the values used in val-2ed. However, we use the same values from val-2ed in val-2ee for consistency. The trivial difference in times and initial pressures do not impact the final results.
In [!cite](ambrosek2008verification), the times and initial pressures in val-2ee are different from the values used in val-2ed. However, we use the same values from val-2ed in val-2ee for consistency. The trivial differences in times and initial pressures do not impact the final results.

Other case and model parameters used in TMAP8 are listed in [val-2e_parameters]:

Expand Down Expand Up @@ -223,7 +223,7 @@ Other case and model parameters used in TMAP8 are listed in [val-2e_parameters]:
| $K_{d,HD}$ | HD dissociation coefficient | 2.1897$\times 10^{22} / \sqrt{3T}$ | molecular/m$^2$/Pa | [!cite](ambrosek2008verification) |

!alert warning title=Typo in [!cite](ambrosek2008verification)
There are typos on the equations for hydrogen diffusivity, recombination and dissociation coefficients in the input files from TMAP7 in val-2ed and val-2ee. The correct values are provided in [val-2e_parameters] and used in TMAP8. The pre-factor for hydrogen diffusivity used in TMAP8 is 3.728 $\times 10^{-4}$ m$^2$/s instead of 2.636 $\times 10^{-4}$ m$^2$/s as used in the input file published in [!cite](ambrosek2008verification). The activation energy for recombination coefficient used in TMAP8 is -11836 K (making the term in the exponential positive) instead of the 11836 K value used in the input file in [!cite](ambrosek2008verification) - note that the value listed in Eq. (71) in [!cite](ambrosek2008verification) is correct. The values of the species molecular weight in amu are also updated from the input files shown in [!cite](ambrosek2008verification).
There are typos in the equations for hydrogen diffusivity, recombination and dissociation coefficients in the input files from TMAP7 in val-2ed and val-2ee. The correct values are provided in [val-2e_parameters] and used in TMAP8. The pre-factor for hydrogen diffusivity used in TMAP8 is 3.728 $\times 10^{-4}$ m$^2$/s instead of 2.636 $\times 10^{-4}$ m$^2$/s as used in the input file published in [!cite](ambrosek2008verification). The activation energy for recombination coefficient used in TMAP8 is -11836 K (making the term in the exponential positive) instead of the 11836 K value used in the input file in [!cite](ambrosek2008verification) - note that the value listed in Eq. (71) in [!cite](ambrosek2008verification) is correct. The values of the species molecular weight in amu are also updated from the input files shown in [!cite](ambrosek2008verification).

!alert warning title=Solubility values for val-2ea, val-2eb, val-2ec differ from those for val-2ed, val-2ee
To achieve a lower RMSPE in [val-2e_comparison_diffusion], the solubility values for val-2ea, val-2eb, and val-2ec were taken from the simulation input files in [!cite](ambrosek2008verification), rather than using the values provided in the documentation in [!cite](ambrosek2008verification).
Expand Down
8 changes: 4 additions & 4 deletions doc/content/verification_and_validation/ver-1dc.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ and, for $i=1$, $i=2$, and $i=3$:
\frac{dC_{T_i}}{dt} = \alpha_t^i \frac {C_{T_i}^{empty} C_M } {(N \cdot \text{trap\_per\_free})} - \alpha_r^i C_{T_i},
\end{equation}
and
\begin{equation} \label{eqn:trapping_empty}
C_{T_i}^{empty} = (C_{{T_i}0} \cdot N - \text{trap\_per\_free} \cdot C_{T_i} ) ,
\begin{equation} \label{eqn:trapping_empty}
C_{T_i}^{empty} = C_{{T_i}0} \cdot N - \text{trap\_per\_free} \cdot C_{T_i} ,
\end{equation}
where $C_M$ is the concentrations of the mobile, $C_{T_i}$ is the trapped species in trap $i$, $D$ is the diffusivity of the mobile species, $\alpha_t^i$ and $\alpha_r^i$ are the trapping and release rate coefficients for trap $i$, $\text{trap\_per\_free}$ is a factor scaling $C_{T_i}$ to be closer to $C_M$ for better numerical convergence, $C_{{T_i}0}$ is the fraction of host sites $i$ that can contribute to trapping, $C_{T_i}^{empty}$ is the concentration of empty trapping sites, and $N$ is the host density.

Expand All @@ -33,7 +33,7 @@ where

$\lambda$ = lattice parameter

$\nu$ = Debye frequency ($\approx$ $10^{13} \; s^{-1}$)
$\nu$ = Debye frequency ($\approx$ $10^{13}$; s$^{-1}$)

$\rho$ = trapping site fraction

Expand Down Expand Up @@ -62,7 +62,7 @@ Three traps that are relatively weak are assumed to be active in a slab. The tra
\label{eqn:Jp}
J_p = \frac{C_0 D}{l} \left\{ 1 + 2 \sum_{m=1}^{\infty} \left[ (-1)^m \exp \left( -m^2 \frac{t}{2 \; \tau_{b_e}} \right) \right] \right\},
\end{equation}
where $C_0$ is the steady dissolved gas concentration at the upstream (x = 0) side, $l$ is the thickness of the slab, $D$ is the diffusivity of the gas through the material, and $\tau_{b_e}$, the breakthrough time, is defined as
where $C_0$ is the steady dissolved gas concentration at the upstream ($x =$ 0) side, $l$ is the thickness of the slab, $D$ is the diffusivity of the gas through the material, and $\tau_{b_e}$, the breakthrough time, is defined as

\begin{equation}
\label{eqn:tau_be}
Expand Down
2 changes: 1 addition & 1 deletion doc/content/verification_and_validation/ver-1dd.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ where $C_M$ is the concentrations of the mobile, $D$ is the diffusivity of the m
\label{eqn:Jp}
J_p = \frac{C_0 D}{l} \left\{ 1 + 2 \sum_{m=1}^{\infty} \left[ (-1)^m \exp \left( -m^2 \frac{t}{2 \; \tau_{b_e}} \right) \right] \right\},
\end{equation}
where $C_0$ is the steady dissolved gas concentration at the upstream (x = 0) side, $l$ is the thickness of the slab, $D$ is the diffusivity of the gas through the material, and $\tau_{b_e}$, the breakthrough time, is defined as
where $C_0$ is the steady dissolved gas concentration at the upstream ($x =$ 0) side, $l$ is the thickness of the slab, $D$ is the diffusivity of the gas through the material, and $\tau_{b_e}$, the breakthrough time, is defined as

\begin{equation}
\label{eqn:tau_be}
Expand Down
16 changes: 8 additions & 8 deletions doc/content/verification_and_validation/ver-1fc.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

## General Case Description

This third heat transfer problem is taken from [!cite](ambrosek2008verification) and builds on the capabilities verified in [ver-1fa](ver-1fa.md) and [ver-1fb](ver-1fb.md).
This third heat transfer problem is taken from [!cite](ambrosek2008verification) and builds on the capabilities verified in [ver-1fa](ver-1fa.md) and [ver-1fb](ver-1fb.md).
The configuration is the same as in [ver-1fb](ver-1fb.md), except that, the current case is in a composite structure with constant surface temperature. This case is simulated in [/ver-1fc.i] with both transient and steady state solutions.

The composite is a 40 cm thick layer of Copper (Cu) followed by a 40 cm layer of iron (Fe) ([!citep](ambrosek2008verification)). The temperature of both layers is initially 0 K, but at time t = 0, the outside face of the Cu is held at 600 K while the outside face of the Fe is maintained at 0 K.
The thermal conductivities of Cu and Fe are set to 401 W/m/K and 80.2 W/m/K, respectively. The TMAP7 documentation does not specify the materials' density $\rho$ or the specific heat $C_p$, but the TMAP7 input file lists $\rho C_p = 3.4392 \times 10^6$ J$\cdot$m$^{-3}\cdot$K$^{-1}$ for Cu and $3.5179 \times 10^6$ J$\cdot$m$^{-3}\cdot$K$^{-1}$ for Fe [!citep](ambrosek2008verification). TMAP8 uses $\rho = 8960$ kg/m$^{3}$ and $C_p = 383.8$ J$\cdot$kg$^{-1}\cdot$K$^{-1}$ for Cu and $\rho = 7870$ kg/m$^{3}$ and $C_p = 447.0$ J$\cdot$kg$^{-1}\cdot$K$^{-1}$ for Fe. The densities are from [!cite](Haynes2015), and the specific heat capacities are calculated to match the $\rho C_p$ values from TMAP7 in [!cite](ambrosek2008verification), which closely match values from [!cite](Haynes2015) ($C_p = 385$ J$\cdot$kg$^{-1}\cdot$K$^{-1}$ for Cu and $C_p = 449$ J$\cdot$kg$^{-1}\cdot$K$^{-1}$ for Fe).
The composite is a 40 cm thick layer of Copper (Cu) followed by a 40 cm layer of iron (Fe) ([!cite](ambrosek2008verification)). The temperature of both layers is initially 0 K, but at time $t = 0$ s, the outside face of the Cu is held at 600 K while the outside face of the Fe is maintained at 0 K.
The thermal conductivities of Cu and Fe are set to 401 W/m/K and 80.2 W/m/K, respectively. The TMAP7 documentation does not specify the materials' density $\rho$ or the specific heat $C_p$, but the TMAP7 input file lists $\rho C_p = 3.4392 \times 10^6$ J$\cdot$m$^{-3}\cdot$K$^{-1}$ for Cu and $3.5179 \times 10^6$ J$\cdot$m$^{-3}\cdot$K$^{-1}$ for Fe ([!cite](ambrosek2008verification)). TMAP8 uses $\rho = 8960$ kg/m$^{3}$ and $C_p = 383.8$ J$\cdot$kg$^{-1}\cdot$K$^{-1}$ for Cu and $\rho = 7870$ kg/m$^{3}$ and $C_p = 447.0$ J$\cdot$kg$^{-1}\cdot$K$^{-1}$ for Fe. The densities are from [!cite](Haynes2015), and the specific heat capacities are calculated to match the $\rho C_p$ values from TMAP7 in [!cite](ambrosek2008verification), which closely match values from [!cite](Haynes2015) ($C_p = 385$ J$\cdot$kg$^{-1}\cdot$K$^{-1}$ for Cu and $C_p = 449$ J$\cdot$kg$^{-1}\cdot$K$^{-1}$ for Fe).

This case provides both a verification (comparison against an analytical solution) and a benchmarking (code-to-code comparison) exercise. The steady state solution (called ver-1fcs in [!cite](ambrosek2008verification)) is compared against an analytical solution, and the transient solution is compared against ABAQUS. ABAQUS is a finite element analysis (FEA) program that has been validated for both transient and steady state solutions in heat transfer modeling applications. The ABAQUS code was setup and run by R. G. Ambrosek and presented in [!cite](ambrosek2008verification).

!alert warning title=Typo in [!cite](ambrosek2008verification) - confusion between ABAQUS and TMAP7 results
In [!cite](ambrosek2008verification), Table 11 for TMAP7 and ABAQUS transient results and Table 13 for TMAP7 and ABAQUS steady-state results are identical, even though they should be different. Given the nature of the data, it corresponds to transient conditions and has been used as such for comparison below. As a result, no ABAQUS and TMAP7 data was used in the steady state case, only TMAP8 predictions and the analytical solution.
In [!cite](ambrosek2008verification), Table 11 for TMAP7 and ABAQUS transient results and Table 13 for TMAP7 and ABAQUS steady-state results are identical, even though they should be different. Given the nature of the data, it corresponds to transient conditions and has been used as such for comparison below. As a result, no ABAQUS and TMAP7 data was used in the steady-state case, only TMAP8 predictions and the analytical solution.
Another issue is that the column labels for ABAQUS and TMAP7 are reversed in Table 11 and Table 13, casting doubt on which results correspond to ABAQUS and which to TMAP7. In this benchmarking exercise, we therefore refer to these results as `ABAQUS or TMAP7 (1)` and `ABAQUS or TMAP7 (2)`. Since they are close, we still consider the benchmarking exercise successful.

## Steady State solution and results
Expand All @@ -38,8 +38,8 @@ At steady state, the flux in and out of any section of the slab are equal. The t

The interface temperature at steady state is therefore equal to $T_I = 500$ K. The temperature profile for conduction in steady state, with constant physical properties, is linear. The temperature profile of A and B can therefore be found through linear interpolation.

With TMAP8, the steady state solution can be obtained in different ways: by using the [steady state solve](source/executioners/Steady.md) or by running a [transient simulation](source/executioners/Transient.md) until steady state is reached.
[!cite](ambrosek2008verification) indicates that the steady state solution was obtained by running the transient solution until $t=10,000$ s, which is what is reproduced with TMAP8 here.
With TMAP8, the steady state solution can be obtained in different ways: by using the [steady state solve](source/executioners/Steady.md) or by running a [transient simulation](source/executioners/Transient.md) until steady state is reached.
[!cite](ambrosek2008verification) indicates that the steady state solution was obtained by running the transient solution until $t=10,000$ s, which is what is reproduced with TMAP8 here.
TMAP8 predictions were found to be identical to the analytical solution with a root mean square percentage error (RMSPE) of 0.23 %, as shown in [ver-1fc_comparison_temperature_steady_state].

!media comparison_ver-1fc.py
Expand All @@ -52,8 +52,8 @@ TMAP8 predictions were found to be identical to the analytical solution with a r

For the transient case, TMAP8 predictions are compared against ABAQUS predictions from [!cite](ambrosek2008verification). This is therefore a benchmarking case.

The transient solution was compared in two ways: where time, $t$, is held constant and where distance, $x$, through the structure is held constant.
The constant time comparison between ABAQUS and TMAP8 was made at time $t = 150$ s.
The transient solution was compared in two ways: where time, $t$, is held constant and where distance, $x$, through the structure is held constant.
The constant time comparison between ABAQUS and TMAP8 was made at time $t = 150$ s.
The constant time values are shown in [ver-1fc_comparison_temperature_transient_t150], and the comparison is satisfactory.

!media comparison_ver-1fc.py
Expand Down
Loading