Effects of coal characteristics on the structure and performance of coal-based carbon foam prepared by self-foaming technique under atmospheric pressure