Direct numerical simulation of the pressure drop through structured porous media