Repository navigation
feat(data): add Inconel 625 and 718 nickel-base superalloys (#125, #126) - #207
Merged
Merged
Conversation
Add two new entries to `src/pymat/data/metals.toml` under the existing `[nickel]` family node, following the MIL-HDBK-5J citation pattern landed in PR #205 (#166). Both alloys are aerospace-grade Ni-base superalloys — 625 (solid-solution strengthened, AMS 5599 sheet, annealed) and 718 (precipitation-hardened, AMS 5596 sheet, solution-treated and aged). MIL-HDBK-5J (PD-USGov, 2003-01-31, everyspec.com PDF) primary tables: - Inconel 625: §6.3.3 Table 6.3.3.0(b) p.6-35 — A-basis Ftu/Fty (L), density, E, Poisson, elongation. AMS 5599 sheet/plate, annealed. - Inconel 718: §6.3.5 Table 6.3.5.0(b) p.6-52 — A-basis Ftu/Fty (LT), density, E, Poisson, elongation. AMS 5596 sheet/plate, STA per spec. Special Metals Inc. public technical bulletins (proprietary-reference-only, single-value extraction permitted by docs/data-policy.md): - SMC-063 (INCONEL alloy 625) — melting range, k, Cp, alpha, resistivity - SMC-045 (INCONEL alloy 718) — melting range, k, Cp, alpha, resistivity `_CATEGORY_BASES["metals"]` updated so `from pymat import inconel625` and `inconel718` resolve via lazy-load. Closes #125, #126.
gerchowl
enabled auto-merge (squash)
May 6, 2026 23:15
6 tasks
This was referenced May 6, 2026
Merged
7 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two new aerospace-grade nickel-base superalloy entries to
src/pymat/data/metals.tomlunder the existing[nickel]family node. Per-property MIL-HDBK-5J citations follow the pattern landed in PR #205 (#166); thermal/electrical properties (which MIL-HDBK-5J only graphs, not tabulates) come from the Special Metals public technical bulletins underproprietary-reference-only.Closes #125, #126.
Per-material values
All MIL-HDBK-5J citations use
kind = "handbook",license = "PD-USGov",ref = "mil-hdbk-5j:p<page>". Vendor bulletin citations usekind = "vendor",license = "proprietary-reference-only",ref = "specialmetals.com:inconel-alloy-<625|718>". Eachnoterecords spec, condition (annealed vs STA), basis (A/B/S/typical), orientation (L/LT), conversion (ksi→MPa, lb/in³→g/cm³), and verification date.MIL-HDBK-5J pages used
mil-hdbk-5j:p6-35— Table 6.3.3.0(b), Inconel 625 sheet/plate (AMS 5599, annealed)mil-hdbk-5j:p6-52— Table 6.3.5.0(b), Inconel 718 sheet/plate (AMS 5596, STA)Verified directly from the 67 MB MIL-HDBK-5J PDF on everyspec.com (https://everyspec.com/MIL-HDBK/MIL-HDBK-0001-0099/MIL_HDBK_5J_139/) on 2026-05-07. PDF page→handbook page mapping: PDF +1040 = handbook page (e.g. PDF 1074 → page 6-34).
Vendor bulletins used
Used per
docs/data-policy.md"fact extraction (one value, with attribution)" exemption — single-value extraction with full citation, not bulk-table copy.Judgment calls
inconel625.barorinconel625.stachild nodes if needed.note.note.Test plan
python -c "import tomllib; tomllib.loads(open('src/pymat/data/metals.toml').read())"— TOML parsespython scripts/check_licenses.py— license gate passes (7 TOML files)uv run pytest tests/test_toml_integrity.py tests/test_sources.py— 43 passeduv run pytest— 714 passed, 18 skippeduv run ruff check . && uv run ruff format --check .— cleanuv run python -c "from pymat import inconel625, inconel718; print(inconel625.density, inconel718.density)"— 8.44 8.22uv run python -c "from pymat import inconel625; print(inconel625.source_of('mechanical.tensile_strength'))"— returns Source(citation='MIL-HDBK-5J p.6-35', kind='handbook', ref='mil-hdbk-5j:p6-35', license='PD-USGov', …)