A new model for the swelling of coal