Advertisement · 广告位Advertisement

CP2K 输入文件生成器 CP2K Input Generator

本生成器依据 CP2K 2026.2 官方手册编写,按Built against the official CP2K 2026.2 manual — fill in &GLOBAL → &FORCE_EVAL(含 &XC / &SCF)→ &SUBSYS → &MOTION → &EXT_RESTART 依次组织,并预填推荐的稳妥默认值。运行前请核对 &KIND 的基组/赝势电荷、&COORD 坐标与 &CELL 尺寸。 Built against the official CP2K 2026.2 manual, filling in &GLOBAL → &FORCE_EVAL (&XC / &SCF) → &SUBSYS → &MOTION → &EXT_RESTART, with sensible defaults pre-filled — verify &KIND basis/potential, &COORD and &CELL before running.
⚠️ 仅适配 CP2K 2026.2:在更早或更新的版本上运行时,部分关键字可能不被识别而报错(如 &MD 步数在旧版需用 STEPS、&QS 下的 EPS_PGF_ORB 与 &SCF/&PRINT/&RESTART 仅 2026.2 起支持)。请以你所用版本的官方手册为准。 ⚠️ CP2K 2026.2 only: on earlier or newer releases some keywords may be rejected and the run will fail (e.g. &MD steps are STEPS in older versions, while EPS_PGF_ORB under &QS and &SCF/&PRINT/&RESTART exist only from 2026.2). Always check the manual for your own version.

1. &GLOBAL 全局设置 Run type & project

其它性质(Properties,可选):Other properties (optional):

2. &FORCE_EVAL Method / basis set / pseudopotential

&QS / &MGRID(积分网格)&QS / &MGRID (integration grid)

3. &XC / &SCF Functional & SCF convergence

SCF 求解方式SCF solver

默认:MAX_SCF=200(CP2K 默认 50 的 4 倍)、EPS_SCF=1.0E-6、OT+CG 以保证大体系收敛稳定。杂化泛函Defaults: MAX_SCF=200 (4x the CP2K default of 50), EPS_SCF=1.0E-6, OT+CG for robust convergence. Hybrid functionals(B3LYP/PBE0/HSE06)会自动加 automatically add EPS_PGF_ORB (&QS 段)与 (in &QS) and &HF 精确交换段(HSE06 用 SHORTRANGE 范围分离)。周期体系建议在 &HF 内加 exact-exchange section (HSE06 uses SHORTRANGE range separation). For periodic systems add POTENTIAL_TYPE TRUNCATED 并令 CUTOFF_RADIUS < 晶胞最短边的一半。 with CUTOFF_RADIUS < half the shortest cell edge.

4. &SUBSYS System: elements / coords / cell

坐标(粘贴 XYZ 格式:元素 x y z,每行一个原子):Coordinates (paste XYZ format: element x y z, one atom per line):

5. &MOTION Motion (per RUN_TYPE)

RUN_TYPE 选择 ENERGY / RT_PROPAGATION 时不生成 &MOTION。&MOTION is not generated when RUN_TYPE is ENERGY or RT_PROPAGATION.

6. &EXT_RESTART Restart file

生成的输入文件 Generated input

Advertisement · 广告位Advertisement