Velocity dispersion and fluid substitution in sandstone under partially saturated conditions