Investigations of heat extraction for water and CO2 flow based on the rough-walled discrete fracture network