The solvent molecules are present in all biological systems and have major impact on the behavior of this systems. One of the most interesting topics about polymer brushes is that how brush chains are influenced by the ambient solvent molecules. To tackle this problem, as before, we need to guess a grand potential functional. Assume that a brush is grafted to a surface located at z = 0 and the upper surface is located at z = D and it has no brush.