Skip to content

How does the program handle trajectories with variable cell parameters (NPT)? #2264

@luzujiall

Description

@luzujiall

Original content:

感谢作者的卓越贡献。我在此有两个小问题想请教您。
首先,rng无疑是可以考虑周期性条件的,这从选项的设置上就可以看出,但我还是想确认一下,对于npt模拟这种晶胞可变的动力学过程,rng会更新每步的晶胞信息吗?
例如,在dump格式文件中,包含每一帧的晶胞参数,程序是否会逐帧读取,还是只读取第一帧的参数。
当输入文件为XYZ这种不包含晶胞参数的格式时,似乎需要利用--cell选项进行定义,是不是说明XYZ格式只能定义固定晶胞参数呢?
其次,当我想用reacnetgenerator.tools.calculate_rate时,也需要定义晶胞参数,此时是不是也无法考虑npt过程?只能当作nvt系综来处理?


Thank you for the author's outstanding contributions. I have two small questions to ask:

First, RNG can undoubtedly consider periodic boundary conditions, as evidenced by the options settings. However, I would like to confirm whether, for NPT simulations where the cell is variable, RNG updates the cell information at each step. For example, in a dump format file that contains cell parameters for each frame, does the program read frame-by-frame, or does it only read the parameters from the first frame? When the input file is in XYZ format, which does not include cell parameters, it seems necessary to use the --cell option to define them. Does this mean that XYZ format can only define fixed cell parameters?

Second, when I want to use reacnetgenerator.tools.calculate_rate, I also need to define cell parameters. At this point, is it still not possible to consider the NPT process, and must it be treated as an NVT ensemble instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions