Pseudobinary phase parameters (Al-Ga-As) #391
-
Hi, first of all thanks for your work on pycalphad, I found it rather easy to work with as someone without any prior CALPHAD experience. As a sidenote: I struggled a bit with the correct definition of the phases, since the notation of .tdb files is not very intuitive. I think it would be great to have some documentation about that somewhere in the project. It took me a while to find some hints in the Thermocalc documentation. Anyway, I first aimed at reproducing the binary and pseudobinary phase diagrams. This did not work at first. For the example of the Ga-As phase diagram: The reason that it did not work is is the parameter of the compound phase GGAASZB. If I divide this parameter by 2, the binary phase diagram is reproduced. My guess is that the paper is counting moles of GaAs and pycalphad counts moles of atoms. Another possibility is that I defined the phase in the .tdb file wrong. For AlAs it is the same problem. Here is the phase definition out of my TDB file
Now for the ternary system I am very unsure about a few things. First, should I also divide the interaction parameter by 2? I would tend to do so, since the actual thing I am trying to achieve is dividing the Gibbs energy by 2. Second, what happens with the RTsum(yln(y)) terms in the Gibbs energy? If my suspicion is right I would need to divide it by two, but I can't do this through database manipulation. So it is probably better to fix the phase definition than create a mess with the parameters. I managed to generate a part of the pseudobinary phase diagram as well and it seems that dividing the interaction parameter by 2 is closer to the publication (green, "CI") but as I said I still unsure. I would appreciate any thoughts or insights you might have. Best regards, Pajsch Pseudobinary from pycalphad (CI stands for "changed interaction") My TDB file |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The publication mentioned above (for the record): https://doi.org/10.1361/105497101770339265 Thanks for the detailed write-up. You did a pretty good job typing up that file by hand, but as you note it can be an error-prone process. All I think your confusion is reasonable here. The standard practice today is to explicitly define all of the phases and their modeled stoichiometries in a table so the formula units are clear. By the way, I'm actually surprised pseudo-binary calculation worked for this case (it's not officially supported yet). Did |
Beta Was this translation helpful? Give feedback.
-
Thanks for the fast and great answer. Following your suggestion to set For the pseudobinary I hacked together a but of custom code. I basically fixed As at 0.5, swept Al and looked for the temperature, where only the liquid phase exists (liquidus). Here is the fixed tdb file, in case somebody stumbles over the thread. |
Beta Was this translation helpful? Give feedback.
The publication mentioned above (for the record): https://doi.org/10.1361/105497101770339265
Thanks for the detailed write-up. You did a pretty good job typing up that file by hand, but as you note it can be an error-prone process.
All
PARAMETER
entries should be in moles of formula-units for a given phase. This agrees with the units specified by Table 3 in the paper. The formula units for the phases should follow Dinsdale [Ref 28] and Ansara [Ref 29] according to the paper. For theALGAAS
phase, are you sure the formula unit is0.5 0.5
? I'd try doubling it to1.0 1.0
and remove the factor of 2 from the two endmember parameters.I think your confusion is reasonable here. The standard prac…