-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #264 from natethegreatINL/add_properties
Add palladium alloys
- Loading branch information
Showing
6 changed files
with
141 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,3 +68,5 @@ | |
from . import yttrium | ||
|
||
from . import tzm | ||
|
||
from . import palladium_copper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
h_transport_materials/property_database/palladium_copper.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import h_transport_materials as htm | ||
from h_transport_materials import ( | ||
Permeability, | ||
Diffusivity, | ||
) | ||
import numpy as np | ||
|
||
u = htm.ureg | ||
|
||
li_data_T = np.array( | ||
[ | ||
350, | ||
375, | ||
400, | ||
425, | ||
] | ||
) * u.degC | ||
|
||
li_data_y = ( | ||
np.array( | ||
[ | ||
1.45e-8, | ||
1.51e-8, | ||
1.55e-8, | ||
1.60e-8, | ||
] | ||
) | ||
* u.mol | ||
* u.m**-1 | ||
* u.Pa**-0.5 | ||
* u.s**-1 | ||
) | ||
|
||
li_permeability_h = Permeability( | ||
data_T=li_data_T, | ||
data_y=li_data_y, | ||
source="li_low_2023", | ||
isotope="H", | ||
note="SI Table 1 (supporting information)" | ||
) | ||
|
||
piper_diffusivity_h = Diffusivity( | ||
D_0=3e-3 * u.cm**2 * u.s**-1, | ||
E_D=2400 * u.cal * u.mol**-1, | ||
range=(u.Quantity(50, u.degC), u.Quantity(600, u.degC)), | ||
isotope="H", | ||
source="piper_diffusion_2004", | ||
note="Equation 6 - this Arrhenius fit holds for when the alloy is in the beta phase for 52.5 percent copper. These range values were found outside of the paper.", | ||
) | ||
|
||
properties = [ | ||
li_permeability_h, | ||
piper_diffusivity_h, | ||
] | ||
|
||
for prop in properties: | ||
prop.material = htm.PD52CU | ||
|
||
htm.database += properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters