Molecular dynamics simulations of the buckling of graphyne and its family