Existence of solutions for a class of partial neutral differential equations