Calculating phase equilibria and diagram for systems with ionic species #385
-
I am interested in calculating phase equilibria and diagram for systems with ionic species using pycalphad. However, I'm not sure if the calculations are correct, especially when a component has multiple ionic species with different valences. Is it possible to add a simple benchmark example for equilibrium and phase diagram calculations involving charged species in "Examples"? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi @yxj135 and welcome! Do you mean for charged ions in the ionic liquid model or in other models (e.g. solid phases)? The ionic liquid model should work. If not, please open an issue with an example reproducing a point equilibrium calculation that you believe is incorrect. Charged species in other models (e.g. solid phases) is known to not be supported yet. @HUISUN24 is working on finishing support for the charge constraints that pycalphad needs to handle charged species correctly in this branch. If this is what you mean, do you have a particular system/database that you are working on that we can test against? |
Beta Was this translation helpful? Give feedback.
-
@bocklund Thanks for your quick response. Right now I'm mostly interested in solid phases such as oxides (e.g., ABO3 perovskites with nonstoichiometry) rather than ionic liquids. For testing purposes, I'm testing even a much simpler model system described by the following arbitrary database:
The equilibrium compositions of this simple system can be calculated analytically and can be used as benchmark for your testing. Looking forward to the implementation by @HUISUN24! Thanks!
|
Beta Was this translation helpful? Give feedback.
-
@yxj135 This is now supported as of pycalphad 0.10.0 (released February 21, 2022). Example here: https://github.com/pycalphad/pycalphad/blob/0b246ad9c40d0106d00b5087ac0928fd77669718/examples/ChargedPhases.ipynb |
Beta Was this translation helpful? Give feedback.
@yxj135 This is now supported as of pycalphad 0.10.0 (released February 21, 2022). Example here: https://github.com/pycalphad/pycalphad/blob/0b246ad9c40d0106d00b5087ac0928fd77669718/examples/ChargedPhases.ipynb