Nonequilibrium molecular dynamics simulations of nanoconfined fluids at solid-liquid interfaces