-
Notifications
You must be signed in to change notification settings - Fork 189
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
ELC energy wrong for non-neutral systems #3001
Comments
In the following comes some speculation: To me the jump looks like being caused by a wrong scaling factor within the outer layers. The trend of the curve looks similar, but scaled. How does this jump scale when you change the prefactor? PS: thanks for reporting this problem! This energy problem (as long as it persists) prevents using ELC in a nonneutral system together with the cpH or reaction ensemble (because they rely on energy changes) |
Offline discussion with @reinaual: |
@reinaual, can you please open a Pr which blocks the activation of ELC with the non-working parameter combinations. |
3178: Disable ELC for non-neutral systems with dielectric contrast r=jngrad a=reinaual Disables the parameter combination in ELC causing #3001 3179: local_cells.particles() leftovers in MMM2D r=jngrad a=reinaual Co-authored-by: Alexander Reinauer <st144434@stud.uni-stuttgart.de>
acitvating the affected featues was blocked. De-milestoning this issue. |
Dragging a particle through the box in a non-neutral system (testscript below), the ELC energy jumps close to the boundaries (inside the elc_params.space_layer):
The current testcase (elc_vs_mmm2d_nonneutral.py) fails to cover this case because the particles don't enter the space layer (not dragged close enough to the walls).
I made the following observations:
p.r.p[2] < elc_params.space_layer
).I don't see through the ELC energy calculation (both non-neutral and neutral) and
I'm afraid the best way out of this is to not support ELC for non-neutral systems.
Test script:
The text was updated successfully, but these errors were encountered: