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

WIP: LB+Lees Edwards fixes #4730

Open
wants to merge 1 commit into
base: python
Choose a base branch
from

Conversation

RudolfWeeber
Copy link
Contributor

  • Clean up and fix Lees Edwarsd LB ghostlayer interpolation code
  • Tentative fix for particle coupling

Notes:

  • The LB grid points are located at (0.5 +i)* agrid in all Cartesian direciotns
  • When coupling a particle closer than 1/2 agrid to a periodic boundary, the interpolation contributes to lb nodes across that periodic boundary.
  • This is handled by additionally coupling at positions shiftd by +- a box length in al Cartesian directions.
  • The exisitn gcode did apply a Lees Edwards position offset, when a shift across the Lees Edwards boudnary was applied, but a corresponding Lees Edwards velocity offset was missing
  • This is added here. I'm confused about the sign, but only the present choice resulted in a particle co-moving in sheear flow to be force free (see lb_lees_edwards_particle_coupling.py)

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

Successfully merging this pull request may close these issues.

1 participant