Physical simulation and fine digital study of thermal foam compound flooding