We use Monte Carlo simulation to calculate the distributions of particles under adsorption force near planar and cylindrical surfaces, respectively. Both hard sphere interaction and repulsive Yukawa (screened coulomb) interaction are employed in our simulations. We study the influence of the inter-particle potentials. The difference between the MC simulation results and the analytical results of ideal gas model shows that the interaction between particles plays an important role in the density distribution under external fields. Moreover, the 2-dimensional constructions of particles close to the surface are studied and show relations of the interaction between particles. These results may indicate us how to improve the methods of building nanoparticle coatings and nano-scale patterns.