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

strain-deformation

Use when the user asks to apply strain, deformation, lattice distortion, or mechanical loading to a periodic structure (uniaxial, biaxial, hydrostatic, or shear).

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

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

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.0 KB

SKILL.md(원문)

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

Strain / Deformation

Overview

Applies mechanical strain to periodic structures by deforming the lattice. This is used for:

  • Strain engineering: Tuning electronic structure and catalytic activity
  • Elastic property calculations: Computing elastic tensors from stress-strain curves
  • Phase stability: Testing structural stability under deformation
  • Epitaxial strain: Modeling lattice mismatch in thin films and heterostructures

Four strain types are supported:

  • Uniaxial: Stretch/compress along a single axis (a, b, or c)
  • Biaxial: Stretch/compress in the ab-plane simultaneously
  • Hydrostatic: Uniform expansion/compression in all three directions
  • Shear: Off-diagonal deformation (tilting)

MCP Tool: catgo_structure (via REST /build/strain)

Strain is applied through the /build/strain endpoint. In the full MCP server, use the catgo_build_strain tool.

Apply Uniaxial Strain

Stretch a structure by 2% along the c-axis:

POST /build/strain
{
  "structure": { ... },
  "strain_type": "uniaxial",
  "axis": "c",
  "magnitude": 0.02,
  "n_steps": 1
}

Apply Biaxial Strain

Stretch in the ab-plane (common for surface/thin-film studies):

POST /build/strain
{
  "structure": { ... },
  "strain_type": "biaxial",
  "magnitude": 0.03,
  "n_steps": 1
}

Apply Hydrostatic Strain

Uniform expansion by 1%:

POST /build/strain
{
  "structure": { ... },
  "strain_type": "hydrostatic",
  "magnitude": 0.01,
  "n_steps": 1
}

Apply Shear Strain

Off-diagonal deformation:

POST /build/strain
{
  "structure": { ... },
  "strain_type": "shear",
  "magnitude": 0.02,
  "n_steps": 1
}

Generate Multiple Strain Steps

Generate a series of strained structures (e.g., for elastic constant calculations). Setting n_steps > 1 creates structures at evenly spaced magnitudes from -|magnitude| to +|magnitude|:

POST /build/strain
{
  "structure": { ... },
  "strain_type": "uniaxial",
  "axis": "c",
  "magnitude": 0.05,
  "n_steps": 11
}

This returns 11 structures at -5%, -4%, ..., 0%, ..., +4%, +5% strain.

Parameters

ParameterTypeDefaultDescription
strain_typestring"uniaxial"Type: uniaxial, biaxial, hydrostatic, shear
axisstring"c"Axis for uniaxial strain: a, b, or c
magnitudefloat0.02Strain magnitude (fraction, e.g., 0.02 = 2%)
n_stepsint1Number of strain steps (1 = single deformation)
structuredict--Structure in pymatgen dict format

Complete Workflow: Elastic Constants via Stress-Strain

1. Fetch and relax structure

{"tool": "catgo_fetch", "arguments": {
  "action": "crystal", "formula": "Cu", "provider": "mp"
}}
{"tool": "catgo_workflow", "arguments": {
  "action": "create", "name": "Cu elastic constants"
}}
{"tool": "catgo_workflow", "arguments": {
  "action": "add_node", "workflow_id": "wf_elastic",
  "node_type": "cell_opt",
  "params": {"software": "vasp", "ENCUT": 520,
             "system_name": "Cu cell opt"}
}}

2. Apply strain series and compute stresses

For each deformation mode (6 independent strains for cubic symmetry), apply a series of strains and run single-point calculations to get stress tensors.

3. Fit elastic tensor

Use the workflow elastic_analysis node to fit the elastic tensor from the stress-strain data:

{"tool": "catgo_workflow", "arguments": {
  "action": "add_node", "workflow_id": "wf_elastic",
  "node_type": "elastic_analysis",
  "params": {"sym_reduce": true, "n_strains": 6, "strain_magnitude": 0.02}
}}

Deformation Matrix Reference

Strain TypeDeformation Matrix
Uniaxial (c)diag(1, 1, 1+e)
Biaxial (ab)diag(1+e, 1+e, 1)
Hydrostaticdiag(1+e, 1+e, 1+e)
Shear[[1, e, 0], [0, 1, 0], [0, 0, 1]]

Where e is the strain magnitude.

Common Pitfalls

  1. Strain magnitudes are fractional (0.02 = 2%). Typical values for elastic property calculations are 0.5-5%.
  2. Always relax the original structure first (cell_opt) before applying strain. Straining an unrelaxed structure gives meaningless results.
  3. For strain-activity relationships in catalysis, apply strain to the slab (not the bulk) and re-optimize adsorbate positions. The strained slab should have fixed lattice vectors during geo_opt (ISIF=2).
  4. When using n_steps > 1, structures are generated symmetrically around zero strain. This is important for elastic constant fitting (need both tensile and compressive data).
  5. Shear strain breaks symmetry. For elastic constant calculations, use the full set of 6 independent deformations for the relevant crystal system.

리뷰

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

댓글

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

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

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

이 스킬의 문제 신고