Parametric forcing of confined and stratified flows