A novel approach to calculate thermal expansion of graphene: Molecular dynamics study