The Heat Transfer in Porous Media Interface can also set up analyses for heat transferred by convection and conduction for subsurface flow applications. Use this physics interface to describe heat carried by moving oil, water, or magma that you describe with a velocity field. Presumably the fluid velocity is nonzero but not necessarily so. You can couple the Heat Transfer interface to a Fluid Flow interface if you want to model, for example, rising magma, hot springs, liquid-steam transfers, conduction in a solid rock, buoyancy flow in streams, magma convection, and hot oil moving through a pipe. For models involving large depth changes, this physics interface provides a number of options to characterize the geothermal gradient.
In this context it is worth mentioning that it is possible to model inflow of heat through a virtual domain at inlet boundaries of fluid domains using the so-called Inflow boundary condition. Accordingly, an
Outflow Boundary condition is available at the outlet. Furthermore, an
Open Boundary condition is available to define a boundary as the limit between a nonsolid domain of the geometry and the rest of the same fluid domain that is not represented in the geometry. At the open boundary both inflow and outflow conditions are supported.