Effect of ionic liquid confinement on CO2 solubility and permeability characteristics