A method to dynamically estimate the diffusion boundary layer from local velocity conditions in laminar flows