Nonclassical analysis of the nonlinear Kompaneets equation