| 26 | | the inspiration for this work.} Based on that concept, ternary will use |
| 27 | | {\tt qhull} to calculate that hull, and visualize the edges of the resulting |
| 28 | | triangles---which will clearly show the one-, two- and three-phase regions, |
| 29 | | complete with two-phase tie lines. |
| 30 | | \item Based on this, it should be straightforward to use this to build and |
| 31 | | neatly visualize how free energy functions create a ternary phase diagram. |
| 32 | | \item Performance: |
| | 30 | the inspiration for this work.} Based on that concept, ternary uses {\tt |
| | 31 | qhull} to calculate that hull, and visualizes the edges of the resulting |
| | 32 | triangles---which will clearly show the one- and two-phase regions, complete |
| | 33 | with two-phase tie lines. |
| | 34 | \end{itemize} |
| | 35 | |
| | 36 | And {\tt Ternary} is not stopping there. In the near future, the following |
| | 37 | features are planned: |
| | 38 | \begin{itemize} |
| | 39 | \item Visualize multiple free energy functions simultaneously. |
| | 40 | \item Refine the edges of the binodal region calculation using {\tt |
| | 41 | qh\_addpoint}. |
| | 42 | \item Show the edges of the spinodal region. |
| | 43 | \item Based on these, build and neatly visualize how free energy functions |
| | 44 | create a ternary phase diagram. |
| | 45 | \item Performance enhancements: |
| 46 | | It calculates and plots the free energy function. Yes, that's about it for |
| 47 | | now. |
| | 57 | The file {\tt ternary.c} contains {\tt main()}, which creates a triangular |
| | 58 | array of points and set of triangles connecting them. It calls {\tt |
| | 59 | free\_energy()} in {\tt freenergy.c} to calculate the free energy function on |
| | 60 | those triangles. It then displays the free energy using the functions in {\tt |
| | 61 | geomview.c}, which forks a Geomview process and controls it. |
| | 62 | |
| | 63 | Next it uses Qhull calls in {\tt qhull.c} to calculate the convex hull of the |
| | 64 | free energy function. It strips out the smallest triangles, that is, those |
| | 65 | which are in the single-phase region, leaving two- and three-phase regions with |
| | 66 | tie lines. It displays the remaining facets using transparent triangles with |
| | 67 | black edges, which clearly show the tie lines in the two-phase regions. |
| 53 | | First release including features: |
| 54 | | \begin{itemize} |
| 55 | | \item It plots the free energy function. |
| 56 | | \end{itemize} |
| | 73 | First standalone release of ternary (extracted from {\tt RheoPlast}), which |
| | 74 | plots a ternary free energy function. New to this release is the use of the |
| | 75 | Geomview {\tt COFF} format, which creates a much smoother pseudocolor plot. |
| | 76 | |
| | 77 | \subsection{{\tt Ternary} 0.2.0} |
| | 78 | |
| | 79 | This release links with the {\tt qhull} library to calculate the convex hull of |
| | 80 | the energy function, and displays 1- and 2-phase regions in addition to the |
| | 81 | free energy function. |