How to set heating and cooling boundary conditions?

Dear developers and forum members,

Hope you’re doing well.
I would like to set a constant bottom heating and top cooling boundary condition. How should I achieve this? I am confused whether this should be set through dTdr_top, dTdr_bottom, or internal heating?

Thank you!