Using this equa-on, the Helmholtz free energy under stress can also be expressed as shown in the second line of Eq. (1). By performing a Legendre transforma-on of this equa-on with respect to strain, the Gibbs free energy per unit volume of each phase under stress can be obtained as follows: