Subgrid Models For Heat Transfer In Multiphase Flows With Immersed Geometry