On the solution of the advection equation and advective dominated reactor models by weighted residual methods