Second law analysis of wildfire evolution under wind and slope effect