Numerical simulation of sloshing flow in a 2D rectangular tank with porous baffles