跳到正文
cccskills
免费在 GitHub 公开

vasp-static

VASP single-point energy calculation. Used standalone, as a pre-step for DOS/band structure, or to evaluate energy at a fixed geometry.

中文简介正在准备中。当前显示原文说明。

Hello-QM/catgo-LRG星标 208(GitHub 208 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md5.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

VASP Single Point Calculation

Compute the total energy (and optionally charge density, wavefunction) at a fixed geometry. No ionic relaxation.

When to Use

  1. After geometry optimization — get a precise energy at the relaxed geometry with tighter settings
  2. Before DOS calculation — generate CHGCAR with fine k-mesh for subsequent non-SCF DOS
  3. Before band structure — generate CHGCAR for non-SCF band calculation
  4. Convergence testing — test ENCUT, k-points, or other parameters at fixed geometry
  5. Energy evaluation — compare energies of different configurations without relaxing

Discussion Checkpoints

🔴 Must discuss with user:

  • Functional consistency — must match the functional used in the preceding geo_opt; mixing PBE geometry with SCAN single point introduces systematic errors

🟡 Recommend confirming:

  • LORBIT (default: 11) — needed for projected DOS; set to 11 for per-atom orbital projections, omit if only total energy is needed
  • NEDOS (default: 3001) — increase for DOS analysis to resolve fine features; 301 is sufficient for energy-only calculations
  • ISMEAR — use -5 (tetrahedron) for DOS calculations, 0 (Gaussian) for general single points, 1 (Methfessel-Paxton) for metals
  • LCHARG / LWAVE — set True if this single point feeds into a subsequent DOS or band structure calculation

🟢 Safe defaults:

  • NSW = 0 (no ionic relaxation)
  • IBRION = -1 (no ionic optimizer)
  • EDIFF = 1E-5
  • ISMEAR = 0, SIGMA = 0.05

Basic Single Point

from catgo.workflow import Workflow
from catgo.workflow.builtins import geo_opt, single_point

wf = Workflow("Single point energy")
struct = wf.add_task("structure_input", structure=structure_json)
sp = wf.add_task(single_point, structure=struct.output.structure,
                 system_name="TiO2_SP")
wf.submit()

MCP equivalent:

catgo_workflow_engine(action="create", params={"name": "Single point"})

catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "single_point",
  "software": "vasp",
  "structure": "<json>",
  "system_name": "TiO2_SP"
})

catgo_workflow_engine(action="submit", params={"workflow_id": "wf_xxx"})

After Optimization

Chain a single point after relaxation for a more accurate energy:

opt = wf.add_task(geo_opt, structure=struct.output.structure,
                  ISIF=2, system_name="relax")
sp = wf.add_task(single_point, structure=opt.output.structure,
                 ENCUT=600,     # Higher cutoff for precise energy
                 EDIFF=1e-6,    # Tighter SCF convergence
                 system_name="SP_precise")

Pre-DOS Single Point

Generate a converged charge density with a fine k-mesh for subsequent DOS:

sp = wf.add_task(single_point, structure=opt.output.structure,
                 LCHARG=True,    # Write CHGCAR (needed for DOS)
                 LWAVE=True,     # Write WAVECAR (optional, speeds up DOS)
                 ISMEAR=-5,      # Tetrahedron method (accurate DOS)
                 NEDOS=3001,     # Dense energy grid
                 EDIFF=1e-6,     # Tight convergence
                 system_name="SP_for_DOS")

Pre-Band Structure Single Point

Generate CHGCAR for non-SCF band calculation:

sp = wf.add_task(single_point, structure=opt.output.structure,
                 LCHARG=True,    # Write CHGCAR
                 ICHARG=2,       # Self-consistent (generate charge)
                 system_name="SP_for_bands")

Convergence Testing

Test multiple ENCUT values at a fixed geometry:

wf = Workflow("ENCUT convergence")
struct = wf.add_task("structure_input", structure=structure_json)

for encut in [400, 450, 500, 550, 600]:
    wf.add_task(single_point, structure=struct.output.structure,
                ENCUT=encut, system_name=f"ENCUT={encut}")

wf.submit()

MCP equivalent:

catgo_workflow_engine(action="create", params={"name": "ENCUT convergence"})

catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "structure_input",
  "structure": "<json>"
})

# Repeat for each ENCUT value
catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "single_point",
  "software": "vasp",
  "structure": "{{t_001.output.structure}}",
  "ENCUT": 400,
  "system_name": "ENCUT=400"
})
# ... repeat for 450, 500, 550, 600

Key Parameters

ParameterDefaultPurpose
NSW0No ionic steps (fixed geometry)
IBRION-1No ionic optimizer
EDIFF1e-5SCF convergence (use 1e-6 for precise energy)
NEDOS3001Number of DOS points (increase for DOS calculations)
LCHARGFalseWrite CHGCAR (set True for DOS/band pre-calc)
LWAVEFalseWrite WAVECAR (set True to restart from wavefunction)
ISMEAR0Gaussian smearing (use -5 for DOS with tetrahedron)
LORBIT11Write projected DOS (DOSCAR with per-atom projections)

ISMEAR Guidance

System typeISMEARSIGMANotes
Insulator/semiconductor00.05Gaussian smearing (default)
Metal10.2Methfessel-Paxton
DOS calculation-5N/ATetrahedron with Blochl corrections
Molecule in box00.01Small sigma, Gamma-only

Rule: ISMEAR=-5 requires at least 3 k-points per direction. Do not use for Gamma-only calculations.

Output

The single_point task produces:

  • output.energy — total DFT energy in eV
  • output.structure — the (unchanged) input structure

Troubleshooting

ProblemFix
SCF not convergingTry ALGO=All, increase NELM=400, or AMIX=0.1
Negative NBANDS warningIncrease NBANDS explicitly
Memory errorReduce NCORE, or increase node count
Wrong energy for magnetic systemSet ISPIN=2, provide MAGMOM

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

abinit

免费

Generate and manage ABINIT DFT calculations. Use when the user requests ABINIT, or needs DFPT phonons, GW calculations, or BSE optical spectra.

中文简介正在准备中。当前显示原文说明。

Hello-QM/catgo-LRG2082026年10月23日 更新

Use when the user asks to place an adsorbate molecule on a surface, find adsorption sites, or set up a surface+adsorbate model for DFT.

中文简介正在准备中。当前显示原文说明。

Hello-QM/catgo-LRG2082026年10月23日 更新

Use when the user asks for adsorption energy, binding energy, or wants to compare how strongly a molecule binds to a surface.

中文简介正在准备中。当前显示原文说明。

Hello-QM/catgo-LRG2082026年10月23日 更新

Use when the user asks to analyze computational results: Gibbs free energy, OER/HER/CO2RR overpotentials, adsorption energy, convergence tests, DOS/d-band analysis, or Bader charge analysis.

中文简介正在准备中。当前显示原文说明。

Hello-QM/catgo-LRG2082026年10月23日 更新

Use AmberTools antechamber for molecular force field parameterization. Generates GAFF/GAFF2 parameters and AM1-BCC or RESP charges for use in AMBER or LAMMPS classical MD simulations.

中文简介正在准备中。当前显示原文说明。

Hello-QM/catgo-LRG2082026年10月23日 更新

atom-ops

免费

One-shot recipes for adding, deleting, moving, and replacing individual atoms in the active CatGo viewer structure. Use whenever the user asks to "add an atom", "delete atoms", "remove this atom", "move atom N", "replace H with Li", or any single-atom edit — including "add a hydrogen on top of atom 12" / "delete atoms 5–9" / "swap the oxygen at site 3 for fluorine". Skips the discovery loop (no need to list structure tools or check adsorption sites first); goes straight to the matching `catgo_structure` action. Triggers in Chinese on 加原子, 删原子, 减原子, 移动原子, 替换原子, 增加氢, 删除氧, 把 ... 换成 ....

中文简介正在准备中。当前显示原文说明。

Hello-QM/catgo-LRG2082026年10月23日 更新

查看 Hello-QM 的全部技能

报告此技能的问题