Liquids like water can be simulated using Periodic Boundary Conditions (PBC). A unit cell of the liquid is replicated periodically.