GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SOF-8053: Create initial strained CALPHAD model by svbarabash · Pull Request #382 · mat3ra/api-examples

Conversation

@svbarabash

@svbarabash svbarabash commented Oct 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Jira: SOF-8053

Notebooks in other/experiments/alphafilm:

  • Hirata2020_AlScN_CALPHAD.ipynb (literature notebook) - digitizes Hirata et al., J. Eur. Ceram. Soc. 40, 5410 (2020) and tests it for self-consistency (57 checks), and reproduces the model:
    • reconstructs the signs lost from the PDF tables, including the sign of L2, fixed from Fig. 14 (T_c = 6972 K);
    • recovers a(x), c(x), E, nu, the strain and mixing energies, and the miscibility gaps from Figs. 10-14;
    • reconstructs how Figs. 13-14 were made: the thin-film gaps are common tangents of three-term Redlich-Kister refits of nine points, not of the strain energy itself;
    • adds Zhang et al. (2013) and Urban et al. (2021) hexagonal elastic constants and Holec (2008) dislocation core parameters, and builds the model-ready C_ij(x).
  • AlScN_strained_CALPHAD.ipynb (model notebook) - adds the missing strain terms:
    • captures the composition asymmetry more accurately than Hirata's original work. The asymmetry comes from the strongly non-uniform a(x) of AlScN: a rises steeply up to the buckled-to-flat transition at x0 ≈ 0.56 and is nearly flat above it. Here the strain energy enters G(x) directly, as a continuous function of x. Hirata instead refits nine strained points with a three-term Redlich-Kister polynomial, which smooths the asymmetry away;
    • incoherent and coherent decomposition, free-standing and on a substrate, with binodals, spinodals, critical temperatures and decomposition driving forces;
    • elastic data options: Urban or Zhang hexagonal C_ij, or Hirata's isotropic moduli;
    • critical thickness from an energy balance, using placeholder (dummy) dislocation core parameters;
    • parallel runs, about 5 minutes for the whole notebook.

Model self-tests: agents/workdir/reusable/strained_calphad_model_verification.py (in the planning workspace), 12/12 pass.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
svbarabash and others added 16 commits September 7, 2026 23:42
@svbarabash
Feature: initial notebook reproducing Hirata et al. 2020 JECS [SOF-8053]
b38fe6a
Replayed from wip-calphad-model 00c69265 with the notebook relocated from
examples/reproducing_publications/ to other/experiments/alphafilm/, which is
this task's stated deliverable path. Outputs stripped because that directory is
covered by the repo's nbstripout pre-commit hook.
@svbarabash @claude
Feature: strain-ready CALPHAD model with corrected L2 sign [SOF-8053]
206ae58
Second iteration of the Hirata reproduction, 44 cells and 27/27 internal checks.
Adds figure-data extraction for Figs. 10-14 with per-symbol calibration, the
two-branch and continuity-constrained co-fits of a(x) and c(x), and spinodal
routines that accept a coherency term.

L2 is negative, which the published table does not make recoverable; the sign was
fixed against the paper's own Fig. 14 binodal (172 K vs 1207 K residual). This
moves the mean-field apex from 4944 K to 6972 K and from x = 0.32 to x ~ 0.50.

Co-Authored-By: Claude Opus 5 <[email protected]>
@svbarabash @claude
Strip notebook outputs per nbstripout pre-commit hook [SOF-8053]
e469391
Cell sources are unchanged; only outputs, execution counts and
notebook metadata are removed, as required by .pre-commit-config.yaml.

Co-Authored-By: Claude Opus 5 <[email protected]>
@svbarabash
Remove superseded Hirata2020_AlScN_CALPHAD.ipynb notebook [SOF-8053]
8c710d6
@svbarabash
Rename Hirata2020_AlScN_CALPHAD_v2.ipynb to canonical name [SOF-8053]
9af93c8
@svbarabash
Add and commit previously untracked AlScN_strained_CALPHAD.ipynb incl…
4c86090
…uding all so-far-uncommitted changes [SOF-8053]
@svbarabash
Shorten section names and comments in strained CALPHAD notebook [SOF-…
f68285f
…8053]
@svbarabash
Update reference to renamed Hirata notebook [SOF-8053]
e946ee4
@svbarabash
Rework strain model as per-case binodal and spinodal functions [SOF-8…
9b2b7b5
…053]
@svbarabash
Use gradient-based decomposition search and smooth elastic fits [SOF-…
2367ad8
…8053]
@svbarabash
Add critical thickness model, Hirata-type clamped case and fit plots …
64bec7b
…[SOF-8053]
@svbarabash
Move literature fits and checks into the Hirata notebook, add Zhang a…
c27f3dc
…nd Holec [SOF-8053]
@svbarabash
Restructure the strained CALPHAD notebook as a model notebook [SOF-8053]
62296f3
@svbarabash @claude
Reconstruct Hirata Figs. 13-14, add Urban (2021) and model-ready hexa…
0999011
…gonal elastic constants [SOF-8053]

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@svbarabash @claude
Add Zhang and Urban hexagonal elastic data options to the strained CA…
ff603eb
…LPHAD model [SOF-8053]

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@svbarabash @claude
Parallelize results and make strained CALPHAD result cells explicit a…
a82df1b
…bout their cases [SOF-8053]

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@review-notebook-app

review-notebook-app Bot commented Oct 6, 2026

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8dc28e62-db7a-4e5c-a5c1-0f5c732dc087
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@svbarabash
svbarabash requested a review from timurbazhirov October 6, 2026 17:04
svbarabash and others added 4 commits October 6, 2026 10:37
@svbarabash @claude
Commit both notebooks executed, with plots, via keep_output [SOF-8053]
91cf0f3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@svbarabash @claude
Unify coherent strain in one laminate solve with tilt on substrates, …
ea8e53c
…fix thick-film relaxation [SOF-8053]

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@svbarabash @claude
Add rocksalt inputs and checks: Fig. 8, Miyamoto (2025), RS lattice a…
f17bdd3
…nd elastic constants [SOF-8053]

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@svbarabash @claude
Add rocksalt as a competing phase: crystal abstraction, RS(111) elast…
5ae3c16
…icity, WZ/RS competition [SOF-8053]

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@timurbazhirov timurbazhirov Awaiting requested review from timurbazhirov

At least 1 approving review is required to merge this pull request.

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@svbarabash
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.