Skip to content
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

Missing term in ternary quadratic expression #76

Open
tkphd opened this issue Dec 6, 2024 · 1 comment
Open

Missing term in ternary quadratic expression #76

tkphd opened this issue Dec 6, 2024 · 1 comment

Comments

@tkphd
Copy link
Contributor

tkphd commented Dec 6, 2024

Hi @jeanlucf22,

The ternary free energy approximation for a ternary phase,

double fe = A[0] * (conc[0] - ceq[0]) * (conc[0] - ceq[0])
+ A[1] * (conc[1] - ceq[1]) * (conc[1] - ceq[1]);

implements the sum of independent parabolas:

$$ \mathscr{F}(c_{\mathrm{a}}, c_{\mathrm{b}}) \approx A (c_{\mathrm{a}} - c_{\mathrm{a}}^{\mathrm{eq}})^2 + B (c_{\mathrm{b}} - c_{\mathrm{b}}^{\mathrm{eq}})^2 $$

The quadratic approximation (second-order Taylor expansion in two variables) for a ternary free energy ought to include the cross-term:

$$ \begin{align*} \mathscr{F}(c_{\mathrm{a}}, c_{\mathrm{b}}) \approx &A (c_{\mathrm{a}} - c_{\mathrm{a}}^{\mathrm{eq}})^2 + 2 X (c_{\mathrm{a}} - c_{\mathrm{a}}^{\mathrm{eq}})(c_{\mathrm{b}} - c_{\mathrm{b}}^{\mathrm{eq}}) + B (c_{\mathrm{b}} - c_{\mathrm{b}}^{\mathrm{eq}})^2\\ & A = \frac{\partial^2 F}{\partial c_{\mathrm{a}}^2}\\ & B = \frac{\partial^2 F}{\partial c_{\mathrm{b}}^2}\\ & X = \frac{\partial^2 F}{\partial c_{\mathrm{a}} \partial c_{\mathrm{b}}} \end{align*} $$

Is this a simplifying assumption for KKS or grand-potential inversion, or is it an oversight? Some free energy landscapes are significantly rotated relative to the coordinate axes!

@jeanlucf22
Copy link
Collaborator

@tkphd This was implemented for a (sintering) model were this simplified form was sufficient. So far, I have not needed the more general case, but it may come in the near future. Are you interested in using the general form?

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

No branches or pull requests

2 participants