Evaluation of coal conversion by swelling measurement