New boundary conditions for simulating the filling stage of the injection molding process