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

[Bug]: moldyn.py line 103 calls NPT when you select NVT_NOSE_HOOVER #60

Open
1 task done
dundarphys opened this issue Dec 6, 2024 · 2 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@dundarphys
Copy link

Contact Details

No response

Bug Description

here when ensemble selected as NVT_NOSE_HOOVER it calls NPT.
elif self.ensemble == "NVT_NOSE_HOOVER":
self.dyn = NPT(
self.atoms,
timestep=self.timestep * units.fs,
temperature_K=self._temperature,
ttime=self.taut,
pfactor=None,
trajectory=self._trajectory,
logfile=self.logfile,
loginterval=self.loginterval,
append_trajectory=self.append_trajectory,
)

MatterSim Version

v1.0

Python Version

3.9

Reproduction Steps

Try running MD simulation with ensemble "nvt_nose_hoover"

Expected Behavior

call nvt routine

Actual Behavior

calls npt routine and it raises error

Error Logs

Raise not implemented error

Code of Conduct

  • I agree to follow the project's Code of Conduct
@dundarphys dundarphys added the bug Something isn't working label Dec 6, 2024
@ZKC19940412
Copy link

Hi, I think it is sensible to implement NVT nose hoover (NH) thermostat this way, according to the documentation: Image.

NVT NH thermostat is not implemented standalone but coupled with NPT, and uses pfactor being None disable the barostat and turns it into an NVT with NH thermostat.

Image

@ZKC19940412
Copy link

The authentic NVT noose hoover chain in ASE is about to come:https://gitlab.com/ase/ase/-/merge_requests/3508

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants