Heat conduction with heat generation in cylinder and sphere