Skip to content

update conf.py - #2

Merged
srmnitc merged 1 commit into
masterfrom
update/doc2
Jul 20, 2021
Merged

update conf.py#2
srmnitc merged 1 commit into
masterfrom
update/doc2

Conversation

@srmnitc

@srmnitc srmnitc commented Jul 20, 2021

Copy link
Copy Markdown
Member

No description provided.

@srmnitc
srmnitc merged commit dbc0e2a into master Jul 20, 2021
srmnitc added a commit to thermoatoms/calphy that referenced this pull request Jul 20, 2026
…n pycalphad

to_tdb now writes the build_calphad_surface 6-term L_k(T) polynomials
verbatim for full-range phases (L_temperature_form='poly6', default), so
the TDB free energy is identical to calphy's CALPHAD surface and a
pycalphad binplot matches calculate(calphad_surface=True) inside the
validity range. The legacy ridge-regularised a+bT refit stays available
as 'linear' (it drifted up to ~20 meV/atom and narrowed the melting lens).

Limited-range ordered phases get a reworked bounded fit:
- fit against dense pseudo-data from the per-T polynomial fits
  (get_phase_free_energy) instead of the raw composition points, which
  keeps the well-minimum location faithful near the dome top
- RK order auto-selected (3-6) by matching the dissolution temperature
- 3-term L(T) = a + b*T + c*T*lnT
- convexity constraint inside the data window (no W-shaped wells /
  spurious ICAMS#2 composition sets)
- G >= G_host + 1 meV outside the window, with constraint points
  clustered toward the pure endpoints
- weak scaled ridge (1e-8) to suppress huge cancelling L magnitudes
  that dipped below the host between constraint samples

from_tdb parses the new output unchanged; metadata records the L form
and per-phase fit settings. Validated on CuAu LDA/GGA/rSCAN MD data:
dissolution temperatures within ~5 K of the data, melting lens exact.
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.

1 participant