Closed jngrad closed 3 years ago
The resulting LB tutorial could get an additional part where we simulate particles falling in a vacuum vs. in a LB fluid, to reproduce the video from the "ESPResSo features" lecture.
I've split the tutorial in #4052 and will briefly check the physics with Christian later. For the suggested LB tutorial is the script somewhere around? Is this at all realistic to have it interactively in a notebook?
Offline discussion with Christian:
I cannot change the issue title, can somebody either give me the rights (assign?) or change it correspondingly?
@schlaicha You should now be able to change the title.
I don't know if there is a script for the sedimentation visualization (the video was probably made in the Tcl days).
@schlaicha You should now be able to change the title.
No, also I cannot add myself as assignee.
ok, maybe GitHub prevents users from changing other people's ticket titles... I can take care of that, what title do you propose?
Unfortunately, we cannot give you more rights, because the next permission level is Triage, which would allow you to merge approved PRs by editing the labels.
I would just change according to the PR: "Split LB tutorial into LB, polymer and Langevin simulation tutorial"
* add density-dependent diffusion ($\sim N^3/2$?)
According to Wikipedia, D should behave like 1/P, which is proportional to 1/rho. Unfortunately, I couldn't get this scaling out of a Langevin Dynamics setup. The problem is that kinetic gas theory expects the particles to move in a straight line, while Langevin Dynamics prevents exactly this. Lowering the friction coefficient will render the simulation numerically unstable, i.e. the particles will slowly gain kinetic energy. The only way to deal with this is to lower the time step, which increases computational effort to get useful statistics. Overall I have the impression that using this result in a Langevin Dynamics tutorial has proven to be unfeasible.
We need 2 people: one to look at the Langevin tutorial, one to look at the LB tutorial.
The LB tutorial introduces the Flory theory of polymers, the Rouse regime (implicit solvent) and the Zimm regime (LB fluid). The only difference between Langevin Dynamics and lattice-Boltzmann is the absence resp. presence of the second term in the Kirkwood-Zimm equation of the diffusion coefficient of polymers:
We could move part 2 and 3 to a self-contained polymer tutorial. The part 3 can be switched from LD to LB by changing a variable at the beginning of the file (both versions are tested in CI).