Bottom-up theoretical frameworks for upscaling transient mass transport in porous media