Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define mechanical interaction model #5

Open
bjpalmer opened this issue Mar 9, 2021 · 3 comments
Open

Define mechanical interaction model #5

bjpalmer opened this issue Mar 9, 2021 · 3 comments

Comments

@bjpalmer
Copy link
Collaborator

bjpalmer commented Mar 9, 2021

Define a mechanical interaction model between cerlls. Start with spherical cells.

@bjpalmer
Copy link
Collaborator Author

The mechanical interactions between particles appear to be implemented in the BMXParticleContainer::EvolveParticles method located in the src/des/bmx_pc.cpp file. Most of the existing interactions appear to be commented out, but this has code for evaluating pairwise interactions.

@bjpalmer
Copy link
Collaborator Author

@asalmgren added a EvolveParticles routine for evolving particles in des/bmx_pc_interaction.cpp that acts as a scaffolding for creating a particle interaction functionality. This routine seems to be similar to the EvolveParticles routine in the bmx_pc.cpp file so I commented out the version in bmx_pc.cpp. I also created a BMXCellInteraction class that is located in chemistry/bmx_cell_interaction.H and chemistry/bmx_cell_interaction.cpp that is called by the EvolveParticles routine. This class is designed to encapsulate the particle interactions so that they can be more easily modified in the future.

@bjpalmer
Copy link
Collaborator Author

Implemented a simple cubic interaction force between particles. This is repulsive at short distance and slightly attractive at longer distances up to a cutoff value. It vanishes at the cutoff. Test cases indicate that the particles start moving when a particle splitting event occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant