Estadísticas de Boundary conditions derived from a microscopic theory of hydrodynamics near solids