Skip to content

Simulation of polydisperse system #1880

Answered by joaander
edwinb-ai asked this question in Support
Discussion options

You must be logged in to vote

You assign the same type id to all particles: frame.particles.typeid = np.zeros((n_particles,)). Therefore, they will all interact with the LJ sigma you assigned for the pair (types[0], types[0]).

You should assign different type ids to the particles that you want to have a different size.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@edwinb-ai
Comment options

Answer selected by edwinb-ai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants