How to add a heat source in fluid and solid when using TFM

Hi,everyone.
as the title saying, I want to add heat source in fluid and solid phase in Periodic boundary,using TFM.but I dont know how to do it. I want to know which code file related it Or which panel to modify.
do anyone implement it?
Thanks !

Take a look at the file usr_sources.f in the top-level model directory. All of the usr_* files have to do with hooks to user-defined functions (UDFs)

The Absorption_column_2d tutorial provides an example of a non-trivial usr_sources.f