Numerical simulations of liquids with amorphous boundary conditions