The thermodynamic activity of volatiles needs to be higher in the polymer than in the other phase for them to leave the polymer. In order to design such a process, the activity needs to be calculated. This is usually done via the Flory–Huggins solution theory. This effect can be enhanced via higher temperatures or lower partial pressure of the volatile component by applying an inert gas or lower pressure.