Modeling of a generalized newtonian flow through channels with permeable wall