Numerical study of a three-dimensional forced laminar flow in a channel equipped with a perforated baffle