subroutine outflowSolid(w_s, ux_s,substep) added for solid outflow