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

Colloids with different density #332

Open
kevinstratford opened this issue Nov 22, 2024 · 1 comment
Open

Colloids with different density #332

kevinstratford opened this issue Nov 22, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kevinstratford
Copy link
Collaborator

At the moment, all colloids have a uniform density rho0. This is usually equal to the fluid density.

In principle, one can give each colloid a different density. This would require:

  1. Addition of a rho component in the colloid structure.
  2. Addition of relevant i/o for rho in colloid.c.
  3. The addition of a mechanism to assign a density to each colloid in the input, with a default of rho0.
  4. An updated mass computation to account for the density. It is possible that this occurs in more than one place, but it should really be only colloid_state_mass().
  5. A check on the buoyancy computation (interaction.c).
@kevinstratford kevinstratford added enhancement New feature or request help wanted Extra attention is needed labels Nov 22, 2024
@yehaozju
Copy link

Thank you very much for your reply!
I have modified the code according to your suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants