-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disagreement with Thermo-Calc for Fe-Ni-Ti on develop #243
Comments
Here is the same, using from pycalphad import Database, equilibrium, variables as v
# calculating NP vs. T with pycalphad will give 100% liquid until about T=1465, where it drops off to NP(liquid)~=0.69
from pycalphad import __version__ as vers
dbf = Database('FeNiTi.tdb')
comps = ['FE', 'NI', 'TI', 'VA']
# from TC
startpt = [
('LIQUID', [1.0, 101325.0, 1675.0, 0.46239099, 0.29075398, 0.24685503]),
# TC:
('C14', [1.0, 101325.0, 1675.0, 5.0182131E-2, 9.3858474E-3, 0.94043202, 0.78744661, 0.21116113, 1.3922589E-3, 0.42533288, 0.57466605, 1.0614344E-6]),
]
out = equilibrium(dbf, comps, ['LIQUID', 'C14'], {v.X('NI'):0.264503, v.X('TI'): 0.26734, v.T: 1675, v.P: 101325, v.N: 1}, user_starting_point=startpt)
print(f"pycalphad {vers} Phases={out.Phase.values.squeeze()}, TC=['LIQUID', 'C14']")
print(f"pycalphad {vers} GM={out.GM.values.squeeze()}, TC=-123262.71")
print(f"pycalphad {vers} MU={out.MU.values.squeeze()}, TC=[-106356.02, -133027.43, -143208.06]")
|
Going to close this issue for now, since it is a grid sampling/starting point issue. The "correct" solution would be to take a scientifically different approach to sampling high-dimensional energy surfaces, which is more in scope of a larger roadmap task than an issue that could be closed by a simple PR. This might be a good test case to use when developing a new sampling method, but whatever new method used will probably have different tricky edge cases than the edge cases for the current grid sampler. |
I noticed some odd behavior where calculating NP vs. T with pycalphad will give 100% liquid until about T=1464 K, where it drops off to NP(liquid)~=0.69 after being NP(liquid)=1 at T=1465 K. I would expect that the phase fraction drops off smoothly and this behavior is shown in Thermo-Calc using the same database.
On
develop
gives:FeNiTi.tdb.zip
The text was updated successfully, but these errors were encountered: