본문으로 건너뛰기
cccskills
무료GitHub에 공개

gibbs-free-energy

Use when the user asks for Gibbs free energy, zero-point energy (ZPE), thermal corrections, or thermodynamic properties from DFT + frequency data.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG스타 208(GitHub 208 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Gibbs Free Energy Calculation

Theory

G = E_DFT + ZPE - TS

Where:

  • E_DFT = electronic energy from geometry optimization (eV)
  • ZPE = zero-point energy = (1/2) * sum(h * nu_i) for all real frequencies
  • TS = entropic contribution at temperature T

Phase Modes

PhaseTreatmentWhen to Use
adsorbedHarmonic approximation: all 3N modes treated as vibrations. No translational/rotational entropy.Adsorbate on surface slab
gasIdeal gas: translational + rotational + vibrational partition functions (Shomate/statistical mechanics).Free molecule in gas phase (H2, H2O, O2, etc.)

Frequency Cutoff

Low-frequency modes (< 50 cm-1) in adsorbed species are often numerical noise from frustrated translations/rotations. These are replaced with freq_cutoff (default 50 cm-1) to avoid divergent entropy contributions.

Discussion Checkpoints

🔴 Must discuss with user:

  • Phase (adsorbed vs gas) — wrong phase gives wrong entropy; adsorbed species use harmonic approximation (no translational/rotational entropy), gas-phase species use ideal gas partition function; the difference is 0.3-0.6 eV for molecules like H2O

🟡 Recommend confirming:

  • Temperature (default: 298.15 K) — change for high-temperature catalysis (e.g., 600 K for thermal CO2 reduction, 373 K for steam reforming)
  • Frequency cutoff (default: 50 cm-1) — replaces frustrated translations/rotations below this threshold for adsorbed species; increase to 100 cm-1 if anomalous entropy values appear

🟢 Safe defaults:

  • Harmonic approximation for adsorbed species
  • Ideal gas partition function for gas-phase molecules
  • Pressure = 101325 Pa (1 atm)
  • freq_cutoff = 50 cm-1

MCP Workflow

Step 1: Create workflow and add structure

{"tool": "catgo_workflow_engine", "arguments": {
  "action": "create", "name": "Gibbs energy - OH on Pt(111)"
}}

Step 2: Add geo_opt task

{"tool": "catgo_workflow_engine", "arguments": {
  "action": "add_task",
  "workflow_id": "wf_abc123",
  "task_type": "geo_opt",
  "params": {"software": "vasp", "ENCUT": 520, "EDIFFG": -0.02}
}}

Step 3: Add frequency task

{"tool": "catgo_workflow_engine", "arguments": {
  "action": "add_task",
  "workflow_id": "wf_abc123",
  "task_type": "freq",
  "depends_on": "task_opt",
  "params": {
    "software": "vasp",
    "freeze_mode": "layers",
    "freeze_layers": 4
  }
}}

Step 4: Add gibbs_energy task

{"tool": "catgo_workflow_engine", "arguments": {
  "action": "add_task",
  "workflow_id": "wf_abc123",
  "task_type": "gibbs_energy",
  "depends_on": ["task_opt", "task_freq"],
  "params": {
    "phase": "adsorbed",
    "temperature": 298.15,
    "freq_cutoff": 50
  }
}}

Step 5: Submit

{"tool": "catgo_workflow_engine", "arguments": {
  "action": "submit", "workflow_id": "wf_abc123"
}}

Python API

from catgo.workflow import Workflow

wf = Workflow("Gibbs energy - OH on Pt(111)")

inp = wf.add_task("structure_input", structure=slab_oh_json)

opt = wf.add_task("geo_opt",
    structure=inp.output.structure,
    software="vasp", ENCUT=520, EDIFFG=-0.02)

frq = wf.add_task("freq",
    structure=opt.output.structure,
    software="vasp",
    freeze_mode="layers", freeze_layers=4)

gib = wf.add_task("gibbs_energy",
    energy=opt.output.energy,
    frequencies=frq.output.frequencies,
    phase="adsorbed",
    temperature=298.15,
    freq_cutoff=50)

wf.submit()

Output References

gib.output.gibbs        # G in eV
gib.output.zpe          # ZPE in eV
gib.output.entropy      # TS in eV
gib.output.enthalpy     # H in eV

Checking Results

{"tool": "catgo_workflow_engine", "arguments": {
  "action": "get_result", "workflow_id": "wf_abc123", "task_id": "task_gibbs"
}}

Key Parameters

ParameterDefaultDescription
phase"adsorbed""adsorbed" (harmonic) or "gas" (ideal gas)
temperature298.15Temperature in Kelvin
freq_cutoff50Replace frequencies below this (cm-1) with this value. Adsorbed phase only.
pressure101325Pressure in Pa. Gas phase only.

Why Gibbs Free Energy Matters

For reaction energy diagrams (OER, HER, CO2RR, NRR), you must use Gibbs free energies, not raw DFT electronic energies. The difference matters:

ContributionTypical magnitude
ZPE (zero-point energy)+0.05 to +0.5 eV
-TS (entropic correction)-0.1 to -0.6 eV
Total correction (G - E_DFT)-0.1 to +0.3 eV

Gas-phase molecules (H2, H2O, CO2, N2) have large translational and rotational entropy contributions. Adsorbed species lose these degrees of freedom, so the correction differs significantly between gas and adsorbed phases. Omitting the gibbs_energy step introduces systematic errors of 0.2-0.5 eV per reaction step.

Every species in a reaction (intermediates AND gas-phase references) must go through: geo_opt --> freq --> gibbs_energy.

Common Pitfalls

  1. Never skip the freq task -- ZPE and TS require vibrational frequencies.
  2. For adsorbed species, always freeze slab bottom layers in freq calculation.
  3. Gas-phase references (H2, H2O, CO2, N2, NH3) must use phase="gas" to include translational and rotational entropy.
  4. The energy input must come from geo_opt (relaxed), not single_point.
  5. If you get anomalously large entropy, check for near-zero frequencies -- increase freq_cutoff or verify the structure is properly relaxed.
  6. Never use raw DFT energies (E_DFT) in reaction energy diagrams. Always complete the full chain: geo_opt --> freq --> gibbs_energy.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 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의 스킬 모두 보기

이 스킬의 문제 신고