GeezerVison is showing github.com — SOF-8053: Create initial strained CALPHAD model by svbarabash · Pull Request #382 · mat3ra/api-examples
Conversation
svbarabash
commented
Oct 6, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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.
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.
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]>
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]>
…uding all so-far-uncommitted changes [SOF-8053]
…gonal elastic constants [SOF-8053]
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Check out this pull request on 
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Oct 6, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Important
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
-
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…fix thick-film relaxation [SOF-8053]
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…icity, WZ/RS competition [SOF-8053]
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch has not been deployed
No deployments
Reviewers
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
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.
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.
|