Heat conduction using green’s functions: partial pipe heating, a novel numerical method, and inverse heat conduction