Generalized Solution for Three-Dimensional Transient Heat Conduction Problems with Partial Heating