I haven’t run the simulation yet, but I can say: the access violation is almost certainly due to particles leaving the cylinder. And particles leaving the valid domain is a frequent problem, most often due to either spring constants set too low, or leaky mesh. Try searching the forum for “spring” for similar cases.