Skip to content

feat(data): add Gd and Lu rare-earth metals (#132, #133) - #211

Merged
gerchowl merged 1 commit into
mainfrom
feature/phase5-batch4-lanthanides
May 7, 2026
Merged

gerchowl merged 1 commit into
mainfrom
feature/phase5-batch4-lanthanides

Conversation

@gerchowl

@gerchowl gerchowl commented May 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Gadolinium (Z=64, Add gadolinium metal #132): pure-element entry in metals.toml. Element scalars from Wikipedia/CRC (CC-BY-SA-4.0); nuclear scalars (X₀, λᵢ, I, Z_eff) from PDG (PD-USGov). Magnetic sub-table populated — Gd is ferromagnetic below T_C ≈ 293 K (just below RT, basis for room-temperature magnetic refrigeration); μr listed is the Curie-Weiss-enhanced paramagnetic value at 295 K, Bs ≈ 2.6 T below T_C.
  • Lutetium (Z=71, Add lutetium metal #133): pure-element entry. Densest lanthanide; reference for LYSO/LSO scintillator parent material and natural-Lu intrinsic-background calculations (¹⁷⁶Lu, ~39 Bq/g).
  • Both registered in _CATEGORY_BASES["metals"].

Per-element table

Property Gadolinium Lutetium Source
ρ (g/cm³) 7.901 9.841 PDG
E (GPa) 54.8 68.6 Wikipedia/CRC
G (GPa) 21.8 27.2 Wikipedia/CRC
ν 0.259 0.261 Wikipedia/CRC
T_m (°C) 1311.85 (1585 K) 1651.85 (1925 K) Wikipedia/CRC
k (W/(m·K)) 10.6 16.4 Wikipedia/CRC
C_p (J/(kg·K)) 235.485 153.512 Wikipedia/CRC
α (1/K) 11.1e-6 (lattice, T > T_C) 9.9e-6 Wikipedia/CRC
ρ_e (Ω·m) 1.31e-6 5.82e-7 Wikipedia/CRC
T_C (K) ~293 (ferromagnet) — (paramagnet) Wikipedia/CRC
μ_r 1.48e5 (paramag, 295 K) — Wikipedia/CRC
B_s (T) 2.6 (T < T_C) — Wikipedia/CRC
X₀ (cm) 0.9471 0.7036 PDG
λ_I (cm) 23.09 19.19 PDG
I (eV) 591.0 694.0 PDG
Z_eff 64 71 PDG

Citations

Judgment calls

  • Gd CTE = 11.1e-6 /K (at 100 °C), NOT the −21.4e-6 /K value reported "at 20 °C" in some refs. The 20 °C value is dominated by the magnetostrictive anomaly straddling T_C ≈ 293 K — that's a coupled magnetic-elastic effect, not the lattice expansion. Use the high-T value as the canonical scalar (paramagnetic regime); the magnetostrictive value is documented in the source note for cryogenic / cold-room work.
  • Vickers hardness omitted for both elements — published ranges (Gd 510–950 MPa, Lu 755–1160 MPa from Wikipedia/CRC) are too wide to express as a single curated scalar. Documented in _sources._default.note; consult the certificate of analysis for the specific cast.
  • Gd thermal-neutron capture σ_n,γ ≈ 49 000 barns natural / ≈ 254 000 barns for ¹⁵⁷Gd is the dominant nuclear feature but the nuclear sub-table has no neutron_capture field today. Documented as # TODO: schema neutron_capture in _sources._default.note and skipped per task brief.
  • Gd Curie point straddles RT: at 20 °C Gd is just paramagnetic; in a cold room (≤19 °C) it is ferromagnetic. Documented explicitly in the magnetic sub-table inline comment and _sources note.
  • Lu purity assumption: 99.9% (3N), residual Hf <500 ppm — Hf is chemically near-inseparable from Lu after the lanthanide contraction. Recorded in grade and _sources._default.note.

Validation

  • TOML parses cleanly.
  • python scripts/check_licenses.py — 7/7 files pass.
  • uv run pytest — 628 passed, 24 skipped.
  • uv run ruff check . && uv run ruff format --check . — clean.

Test plan

  • python -c "import tomllib; tomllib.loads(open('src/pymat/data/metals.toml').read())" — TOML parses.
  • python scripts/check_licenses.py — license gate passes.
  • uv run pytest tests/test_toml_integrity.py tests/test_sources.py -v — 43/43 pass.
  • uv run pytest — full suite passes (628 passed, 24 skipped).
  • uv run ruff check . && uv run ruff format --check . — clean.
  • Spot check: from pymat import gadolinium, lutetium; print(gadolinium.density, lutetium.density) returns 7.901 9.841.
  • gadolinium.source_of('mechanical.density') returns the PDG Source object.

Closes #132. Closes #133.

Pure-element entries for gadolinium (Z=64) and lutetium (Z=71) in
metals.toml. Element scalars from Wikipedia / CRC Handbook
(CC-BY-SA-4.0); nuclear scalars (X₀, λᵢ, I, Z_eff) from PDG Atomic &
Nuclear Properties (PD-USGov, https://pdg.lbl.gov/2024/AtomicNuclearProperties).

Gd: ferromagnetic below T_C ≈ 293 K (just below RT — the basis for
room-temperature magnetic refrigeration); magnetic sub-table populated
with the Curie-Weiss-enhanced paramagnetic μr at 295 K and Bs ≈ 2.6 T
below T_C; thermal_expansion uses the lattice α at 100 °C (above T_C),
not the magnetostriction-dominated apparent CTE near 20 °C — see
_sources note. Highest natural-element thermal-neutron capture (~49 000
barns natural / ~254 000 barns ¹⁵⁷Gd) — schema field for σ_n,γ does
not exist yet, tracked in _sources note as TODO.

Lu: densest lanthanide; reference for LYSO/LSO scintillator parent
material and natural-Lu intrinsic-background calculations (¹⁷⁶Lu ~39
Bq/g). Bulk-purity Lu hard to obtain (residual Hf <500 ppm typical
after the lanthanide contraction); bulk mechanical data sparse and
price-driven.

Vickers hardness omitted for both — published ranges (Gd 510-950 MPa,
Lu 755-1160 MPa) are too wide to express as a single curated scalar.
@gerchowl
gerchowl enabled auto-merge (squash) May 7, 2026 01:51
@gerchowl
gerchowl merged commit 1e9a0d3 into main May 7, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add lutetium metal Add gadolinium metal

1 participant