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

Phonon thermostat #349

Open
wants to merge 82 commits into
base: main
Choose a base branch
from
Open

Phonon thermostat #349

wants to merge 82 commits into from

Conversation

Alexsp32
Copy link
Member

@Alexsp32 Alexsp32 commented Jul 22, 2024

Phonon thermostatting in NQCD

Implements MDEF + 2TM with Phonon coupling (#73) by changing Simulations to allow the use of different temperatures (either a constant value or function) for each atom by using Thermostats, which behave like a Subsystem (see NQCD/NQCModels.jl#39), applying a temperature to parts of a Simulation.

Combine with NQCD/NQCModels.jl#39, which introduces Subsystems, which apply a Model exclusively to certain atoms in a Simulation. These can be combined arbitrarily for Model types implementing potential, derivative or friction to generate a combined friction matrix for electronic and phononic friction.

image

CompositeModel and Thermostat struct


ToDo

  • Update documentation for new additions.
  • Demonstrate usage with harmonic oscillator model used to validate implementation.
  • Turn validation examples into unit tests.

Alexsp32 and others added 30 commits January 19, 2024 10:21
OutputTemperature should hopefully not cause OOMs any more.
OutputFirst changed to OutputInitial, fits better with OutputFinal
@Alexsp32 Alexsp32 marked this pull request as ready for review December 2, 2024 13:54
@Alexsp32 Alexsp32 changed the title Draft: Phonon thermostat Phonon thermostat Dec 3, 2024
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.

Documentation: Explain how to set temperature for MDEF + 2TM simulations
1 participant