You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to pycalphad and currently I am trying to import a .tdb file, to simulate a equilibrium isothermal ternary diagram of Al, Ti and Cu, and the following error occurs:
ValueError: Number of interstitial sublattices for the disordered phase (1) and the ordered phase (5) do not match. Got substitutional sublattice indices of [].
Is this a known error or can you maybe help me with that?
Thank you!
Dear pycalphad,
I am new to pycalphad and currently I am trying to import a .tdb file, to simulate a equilibrium isothermal ternary diagram of Al, Ti and Cu, and the following error occurs:
ParseException: Expected TCCommand 'ELEMENT', found ' ' (at char 1), (line:1, col:2)
I am using the aluminum database form matcalc (https://www.matcalc.at/index.php/databases/open-databases), and I am not sure how to fix the .tdb file. I greatly appreciate your help.
For the simulation/display of the ternary diagram I used the the following code:
%matplotlib inline
from pycalphad import Database, ternplot
from pycalphad import variables as v
tdb = Database('mc_al_v2036.tdb')
comps = ['AL', 'TI', 'CU', 'VA']
phases = list(tdb.phases.keys())
conds = {v.T: 1073, v.P:101325, v.X('AL'): (0,1,0.015), v.X('TI'): (0,1,0.015)}
%time ternplot(tdb, comps, phases, conds, x=v.X('AL'), y=v.X('TI'))
Thank you
Here is the .tdb-file I use:
mc_al_v2036.tdb.zip
The text was updated successfully, but these errors were encountered: