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

dftbplus

Generate and manage DFTB+ calculations. Use when the user requests DFTB+, tight-binding DFT, SCC-DFTB, or needs fast approximate DFT for large systems or MD.

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

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

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.3 KB

SKILL.md(원문)

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

DFTB+

When to Use

  • User explicitly requests DFTB+ or tight-binding DFT
  • User needs fast DFT-level calculations for large systems (1000-10000 atoms)
  • User wants SCC-DFTB molecular dynamics at DFT accuracy
  • User needs a quick pre-screening before expensive DFT
  • User has Slater-Koster parameters available for the elements of interest

Prerequisites

  1. DFTB+ binary accessible on HPC (dftb+ --version)
  2. Slater-Koster files available (3ob for organic/bio, matsci for inorganic, mio for general)
  3. Structure loaded in viewer — verify with catgo_view(action="get_state")
  4. Confirm SK parameter coverage for all elements in the structure

Workflow Steps

1. Verify structure

catgo_view(action="get_state")

2. Create workflow

catgo_workflow_engine(action="create", params={"name": "DFTB+ optimization"})

3. Add DFTB+ task via shell

CatGo does not yet have a native DFTB+ engine. Use task_type: "shell".

catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "shell",
  "name": "dftb_relax",
  "command": "dftb+ > dftb.out 2>&1",
  "input_files": {
    "dftb_in.hsd": "<HSD input content>",
    "geo.gen": "<geometry in GEN format>"
  },
  "system_name": "MoS2_relax"
})

When a @register_engine("dftbplus") is added, use task_type: "geo_opt" with software: "dftbplus".

Input File Template — SCC-DFTB SCF

Geometry = GenFormat {
  <<< geo.gen
}

Driver = {}

Hamiltonian = DFTB {
  Scc = Yes
  SccTolerance = 1e-5
  MaxSccIterations = 200

  SlaterKosterFiles = Type2FileNames {
    Prefix = "/path/to/skfiles/3ob-3-1/"
    Separator = "-"
    Suffix = ".skf"
  }

  MaxAngularMomentum {
    Ti = "d"
    O  = "p"
  }

  KPointsAndWeights = SupercellFolding {
    <k1> 0 0
    0 <k2> 0
    0 0 <k3>
    0.0 0.0 0.0
  }

  Filling = Fermi {
    Temperature [K] = 300
  }
}

Options {
  WriteDetailedOut = Yes
}

Analysis {
  CalculateForces = Yes
}

Relaxation Input

Replace Driver = {} with:

Driver = ConjugateGradient {
  MaxForceComponent = 1e-3   # Ha/Bohr (~0.05 eV/Ang)
  MaxSteps = 500
  LatticeOpt = No            # Yes for bulk cell optimization
}

GEN Format (Geometry File)

<natoms> S                    # S=supercell (periodic), C=cluster
Ti O                          # Element labels
1  1  0.000  0.000  0.000     # index, type, x, y, z (Angstrom or Bohr)
2  2  1.479  1.479  0.000
0.0 0.0 0.0                   # Origin
<a1x> <a1y> <a1z>             # Lattice vectors (only for S type)
<a2x> <a2y> <a2z>
<a3x> <a3y> <a3z>

Parameter Guidance

ParameterTypical valueNotes
SccTolerance1e-5SCC charge convergence; tighten for forces
MaxAngularMomentumPer elementMust match SK files (s/p/d/f)
SlaterKosterFiles3ob / matsci / mioCheck element coverage at dftb.org
MaxForceComponent1e-3 Ha/Bohr~0.05 eV/Ang; 1e-4 for high accuracy
Filling Temperature300 KElectronic smearing; increase for metals

Slater-Koster Parameter Sets

SetElementsBest for
3ob-3-1H, C, N, O, S, P, Zn, ...Organic, biochemistry
matsci-0-3Si, Ge, C, ...Semiconductors, materials
mio-1-1H, C, N, O, S, PGeneral organic
tiorg-0-1Ti, C, H, N, O, STiO2 + organics

Common Pitfalls

  1. Missing SK files — DFTB+ silently produces wrong results if SK files are incomplete. Verify all element pairs exist.
  2. MaxAngularMomentum mismatch — must exactly match what the SK file provides (check SK file header)
  3. No SK files for element pair — DFTB+ cannot treat arbitrary element combinations. Check dftb.org/parameters.
  4. Units — DFTB+ uses atomic units internally (Bohr, Hartree). GEN files use Angstrom by default.
  5. Dispersion missing — add Dispersion = DftD3 {} for van der Waals systems
  6. Spin polarization — add SpinPolarisation = Colinear { ... } for magnetic systems; not all SK sets support it

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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의 스킬 모두 보기

이 스킬의 문제 신고