A boundary value problem for a PDE model in mass transfer theory: Representation of solutions and applications