Gibbs free energy and dissolution process